From c83061785aa5fdb25c99eedc2349e93fcb7bae45 Mon Sep 17 00:00:00 2001 From: Takagi Date: Sat, 22 Jul 2023 12:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E5=85=89?= =?UTF-8?q?=E6=A0=87=E6=A0=B7=E5=BC=8F=E4=B8=8B=EF=BC=8C=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E7=9A=84=E5=85=89=E6=A0=87=E6=A0=B7=E5=BC=8F=20(#394)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/css/variables/layout.css | 2 +- .../dist/assets/{comment-ee22d0ae.js => comment-91bbf3ac.js} | 2 +- templates/assets/dist/css/main.min.css | 2 +- templates/assets/dist/main.min.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename templates/assets/dist/assets/{comment-ee22d0ae.js => comment-91bbf3ac.js} (98%) diff --git a/src/css/variables/layout.css b/src/css/variables/layout.css index 3ce22185..bb23a039 100644 --- a/src/css/variables/layout.css +++ b/src/css/variables/layout.css @@ -11,7 +11,7 @@ --loading-image: none; /* 鼠标样式 */ - --cursor-link: inherit; + --cursor-link: pointer; --cursor-link-active: inherit; --cursor-text: inherit; --cursor-normal: inherit; diff --git a/templates/assets/dist/assets/comment-ee22d0ae.js b/templates/assets/dist/assets/comment-91bbf3ac.js similarity index 98% rename from templates/assets/dist/assets/comment-ee22d0ae.js rename to templates/assets/dist/assets/comment-91bbf3ac.js index 1ba84b0e..98c33b1b 100644 --- a/templates/assets/dist/assets/comment-ee22d0ae.js +++ b/templates/assets/dist/assets/comment-91bbf3ac.js @@ -1,2 +1,2 @@ -const o=`:root{--theme-color: orange;--theme-brightness: 1;--site-content-max-width: 780px;--loading-image: none;--cursor-link: inherit;--cursor-link-active: inherit;--cursor-text: inherit;--cursor-normal: inherit;--cursor-hover: inherit;--cd-top-image: none no-repeat center;--cd-top-display: block;--mobile-cd-top-display: none;--mobile-cd-top-bottom: 70px;--standard-post-list-border-radius: 0;--first-screen-height: 100vh;--first-screen-after: none;--first-screen-filter-images: none;--first-screen-background-blend-overlay: none;--first-screen-header-info-text-color: #eaeadf;--first-screen-header-info-background-color: rgba(0, 0, 0, .5);--header-height: 4.6875rem;--yya-header-top: 0;--header-background: #fff;--body-color: #464646;--color: #666;--background-color: #fff;--header-user-option-hover-background-color: #fff;--notice-background-color: #fbfbfb50;--home-divider-border: 1px dashed #eee;--post-list-thumb-box-shadow: 0 1px 20px -6px rgba(0, 0, 0, .5);--post-list-thumb-title-color: #504e4e;--post-list-thumb-meta-color: #505050;--post-list-thumb-abstract-color: rgba(0, 0, 0, .66);--post-list-thumb-more-color: #666;--widget-background-color: #fff;--theme-item-background-color: #fff;--mobile-nav-toggle-background-color: var(--theme-color);--mobile-menu-text-color: #333;--minicode-color: #000;--entry-content-text-color: #7d7d7d;--entry-content-heading-color: #000;--entry-content-list-color: #666;--entry-content-table-color: #000;--card-container-box-shadow: 0 -15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);--card-container-title-color: #34495e;--photo-group-change-color: #ccc;--photo-group-change-active-color: #222;--links-description-color: #999}.dark{--theme-brightness: .7;--body-color: #eee;--header-background: rgba(49, 54, 59, .85);--header-user-option-hover-background-color: #31363b;--color: #eee;--background-color: #31363b;--first-screen-background-blend-overlay: var(--background-color);--first-screen-header-info-text-color: #fff;--first-screen-header-info-background-color: rgba(0, 0, 0, .7);--notice-background-color: #222;--home-divider-border: 6px dotted #535a63;--post-list-thumb-box-shadow: 0 1px 35px -8px rgba(0, 0, 0, .8);--post-list-thumb-title-color: #b0b0b0;--post-list-thumb-meta-color: #888;--post-list-thumb-abstract-color: #b0b0b0;--post-list-thumb-more-color: #888;--widget-background-color: rgba(38, 38, 38, .8);--theme-item-background-color: #31363b;--mobile-menu-text-color: #eee;--entry-content-heading-color: #ccc;--entry-content-text-color: #999;--entry-content-list-color: #999;--entry-content-table-color: #999;--card-container-box-shadow: 0 1px 35px -8px rgba(0, 0, 0, .8);--card-container-title-color: #ccc;--photo-group-change-color: #222;--photo-group-change-active-color: #ccc;--links-description-color: #b0b0b0}.video-container{--video-play-image: none;--video-pause-image: none}.search-form{--search-form-image: none}:root{--textarea-caret-color: #000}.dark{--textarea-caret-color: #fff}.halo-comment-widget .comment-form textarea{background-color:#fff;background-color:var(--background-color);caret-color:#000;caret-color:var(--textarea-caret-color)}.halo-comment-widget .comment-form div:first-of-type>div{color:#000000a8;color:var(--post-list-thumb-abstract-color)}.halo-comment-widget .comment-form div:first-of-type input{background-color:#fff;background-color:var(--background-color);caret-color:#000;caret-color:var(--textarea-caret-color)}.halo-comment-widget .comment-form div:first-of-type .emoji-mart-anchors svg{color:#000}.halo-comment-widget .comment-timeline div:first-of-type span{color:#000000a8;color:var(--post-list-thumb-abstract-color)}.halo-comment-widget .comment-timeline .comment-content>p{color:#000000a8;color:var(--post-list-thumb-abstract-color)}.halo-comment-widget div:last-child>div{background-color:#fff;background-color:var(--background-color)}.halo-comment-widget div:last-child>div select,.halo-comment-widget div:last-child>div button{background-color:#fff;background-color:var(--background-color);color:#000000a8;color:var(--post-list-thumb-abstract-color)} +const o=`:root{--theme-color: orange;--theme-brightness: 1;--site-content-max-width: 780px;--loading-image: none;--cursor-link: pointer;--cursor-link-active: inherit;--cursor-text: inherit;--cursor-normal: inherit;--cursor-hover: inherit;--cd-top-image: none no-repeat center;--cd-top-display: block;--mobile-cd-top-display: none;--mobile-cd-top-bottom: 70px;--standard-post-list-border-radius: 0;--first-screen-height: 100vh;--first-screen-after: none;--first-screen-filter-images: none;--first-screen-background-blend-overlay: none;--first-screen-header-info-text-color: #eaeadf;--first-screen-header-info-background-color: rgba(0, 0, 0, .5);--header-height: 4.6875rem;--yya-header-top: 0;--header-background: #fff;--body-color: #464646;--color: #666;--background-color: #fff;--header-user-option-hover-background-color: #fff;--notice-background-color: #fbfbfb50;--home-divider-border: 1px dashed #eee;--post-list-thumb-box-shadow: 0 1px 20px -6px rgba(0, 0, 0, .5);--post-list-thumb-title-color: #504e4e;--post-list-thumb-meta-color: #505050;--post-list-thumb-abstract-color: rgba(0, 0, 0, .66);--post-list-thumb-more-color: #666;--widget-background-color: #fff;--theme-item-background-color: #fff;--mobile-nav-toggle-background-color: var(--theme-color);--mobile-menu-text-color: #333;--minicode-color: #000;--entry-content-text-color: #7d7d7d;--entry-content-heading-color: #000;--entry-content-list-color: #666;--entry-content-table-color: #000;--card-container-box-shadow: 0 -15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);--card-container-title-color: #34495e;--photo-group-change-color: #ccc;--photo-group-change-active-color: #222;--links-description-color: #999}.dark{--theme-brightness: .7;--body-color: #eee;--header-background: rgba(49, 54, 59, .85);--header-user-option-hover-background-color: #31363b;--color: #eee;--background-color: #31363b;--first-screen-background-blend-overlay: var(--background-color);--first-screen-header-info-text-color: #fff;--first-screen-header-info-background-color: rgba(0, 0, 0, .7);--notice-background-color: #222;--home-divider-border: 6px dotted #535a63;--post-list-thumb-box-shadow: 0 1px 35px -8px rgba(0, 0, 0, .8);--post-list-thumb-title-color: #b0b0b0;--post-list-thumb-meta-color: #888;--post-list-thumb-abstract-color: #b0b0b0;--post-list-thumb-more-color: #888;--widget-background-color: rgba(38, 38, 38, .8);--theme-item-background-color: #31363b;--mobile-menu-text-color: #eee;--entry-content-heading-color: #ccc;--entry-content-text-color: #999;--entry-content-list-color: #999;--entry-content-table-color: #999;--card-container-box-shadow: 0 1px 35px -8px rgba(0, 0, 0, .8);--card-container-title-color: #ccc;--photo-group-change-color: #222;--photo-group-change-active-color: #ccc;--links-description-color: #b0b0b0}.video-container{--video-play-image: none;--video-pause-image: none}.search-form{--search-form-image: none}:root{--textarea-caret-color: #000}.dark{--textarea-caret-color: #fff}.halo-comment-widget .comment-form textarea{background-color:#fff;background-color:var(--background-color);caret-color:#000;caret-color:var(--textarea-caret-color)}.halo-comment-widget .comment-form div:first-of-type>div{color:#000000a8;color:var(--post-list-thumb-abstract-color)}.halo-comment-widget .comment-form div:first-of-type input{background-color:#fff;background-color:var(--background-color);caret-color:#000;caret-color:var(--textarea-caret-color)}.halo-comment-widget .comment-form div:first-of-type .emoji-mart-anchors svg{color:#000}.halo-comment-widget .comment-timeline div:first-of-type span{color:#000000a8;color:var(--post-list-thumb-abstract-color)}.halo-comment-widget .comment-timeline .comment-content>p{color:#000000a8;color:var(--post-list-thumb-abstract-color)}.halo-comment-widget div:last-child>div{background-color:#fff;background-color:var(--background-color)}.halo-comment-widget div:last-child>div select,.halo-comment-widget div:last-child>div button{background-color:#fff;background-color:var(--background-color);color:#000000a8;color:var(--post-list-thumb-abstract-color)} `;export{o as default}; diff --git a/templates/assets/dist/css/main.min.css b/templates/assets/dist/css/main.min.css index bbc50b1d..c5233ca7 100644 --- a/templates/assets/dist/css/main.min.css +++ b/templates/assets/dist/css/main.min.css @@ -1 +1 @@ -:root{--theme-color: orange;--theme-brightness: 1;--site-content-max-width: 780px;--loading-image: none;--cursor-link: inherit;--cursor-link-active: inherit;--cursor-text: inherit;--cursor-normal: inherit;--cursor-hover: inherit;--cd-top-image: none no-repeat center;--cd-top-display: block;--mobile-cd-top-display: none;--mobile-cd-top-bottom: 70px;--standard-post-list-border-radius: 0;--first-screen-height: 100vh;--first-screen-after: none;--first-screen-filter-images: none;--first-screen-background-blend-overlay: none;--first-screen-header-info-text-color: #eaeadf;--first-screen-header-info-background-color: rgba(0, 0, 0, .5);--header-height: 4.6875rem;--yya-header-top: 0;--header-background: #fff;--body-color: #464646;--color: #666;--background-color: #fff;--header-user-option-hover-background-color: #fff;--notice-background-color: #fbfbfb50;--home-divider-border: 1px dashed #eee;--post-list-thumb-box-shadow: 0 1px 20px -6px rgba(0, 0, 0, .5);--post-list-thumb-title-color: #504e4e;--post-list-thumb-meta-color: #505050;--post-list-thumb-abstract-color: rgba(0, 0, 0, .66);--post-list-thumb-more-color: #666;--widget-background-color: #fff;--theme-item-background-color: #fff;--mobile-nav-toggle-background-color: var(--theme-color);--mobile-menu-text-color: #333;--minicode-color: #000;--entry-content-text-color: #7d7d7d;--entry-content-heading-color: #000;--entry-content-list-color: #666;--entry-content-table-color: #000;--card-container-box-shadow: 0 -15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);--card-container-title-color: #34495e;--photo-group-change-color: #ccc;--photo-group-change-active-color: #222;--links-description-color: #999}.dark{--theme-brightness: .7;--body-color: #eee;--header-background: rgba(49, 54, 59, .85);--header-user-option-hover-background-color: #31363b;--color: #eee;--background-color: #31363b;--first-screen-background-blend-overlay: var(--background-color);--first-screen-header-info-text-color: #fff;--first-screen-header-info-background-color: rgba(0, 0, 0, .7);--notice-background-color: #222;--home-divider-border: 6px dotted #535a63;--post-list-thumb-box-shadow: 0 1px 35px -8px rgba(0, 0, 0, .8);--post-list-thumb-title-color: #b0b0b0;--post-list-thumb-meta-color: #888;--post-list-thumb-abstract-color: #b0b0b0;--post-list-thumb-more-color: #888;--widget-background-color: rgba(38, 38, 38, .8);--theme-item-background-color: #31363b;--mobile-menu-text-color: #eee;--entry-content-heading-color: #ccc;--entry-content-text-color: #999;--entry-content-list-color: #999;--entry-content-table-color: #999;--card-container-box-shadow: 0 1px 35px -8px rgba(0, 0, 0, .8);--card-container-title-color: #ccc;--photo-group-change-color: #222;--photo-group-change-active-color: #ccc;--links-description-color: #b0b0b0}.video-container{--video-play-image: none;--video-pause-image: none}.search-form{--search-form-image: none}.moments-container{--single-bg-and-btn-color: #e6e6fa;--single-font-color: #000000;--double-bg-and-btn-color: #f0ffff;--double-font-color: #000000;--moments-content-background: #e6e6fa}.aplayer{--aplayer-color: #000;--aplayer-background-color: #fff;--aplayer-list-border: 1px solid #eee;--aplayer-list-light-background-color: #e9e9e9;--aplayer-list-top-border: 1px solid var(--aplayer-list-light-background-color);--aplayer-list-author-color: #666;--aplayer-body-miniswitcher-background-color: #e6e6e6;--aplayer-lrc-text-shadow: -1px -1px 0 #fff;--aplayer-list-hover-background-color: #efefef}.dark .aplayer{--aplayer-color: #eee;--aplayer-background-color: #232629;--aplayer-list-border: none;--aplayer-list-light-background-color: #31363b;--aplayer-list-top-border: none;--aplayer-list-author-color: eee;--aplayer-body-miniswitcher-background-color: var(--aplayer-background-color);--aplayer-lrc-text-shadow: -1px -1px 0 #989898;--aplayer-list-hover-background-color: var(--theme-color)}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}::selection{background:#464646;color:#fff}::-moz-selection{background:#464646;color:#fff}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden;word-break:break-all;box-sizing:border-box;font-size:100%}body,select,textarea{color:#464646;color:var(--body-color);font-size:1em;line-height:1.5}body{background:#fff;background:var(--background-color);background-attachment:fixed;margin:0;cursor:inherit;cursor:var(--cursor-normal);text-shadow:0px 0px 1px rgba(0,0,0,.1)}body.serif{font-family:"Noto Serif SC",Georgia,serif}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}details>summary:first-of-type{display:list-item}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;filter:brightness(1);filter:brightness(var(--theme-brightness))}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,samp{font-family:monospace;font-size:1em}optgroup,select,textarea{color:inherit;font:inherit;margin:0}select{text-transform:none;border:1px solid #ccc}fieldset{border:1px solid #b0b0b0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}td,th{padding:0}h1,h2,h3,h4,h5,h6{clear:both}p{margin-bottom:1.5em;cursor:inherit;cursor:var(--cursor-text)}dfn,cite,em,svg{font-style:italic}blockquote{margin:1em;padding:0 1em;color:#656d76;border-left:.25em solid #c6cbd1}blockquote p{margin:5px 0}address{margin:0 0 1.5em}kbd{display:inline-block;padding:3px 5px;font-size:1em;line-height:1em;color:#444d56;vertical-align:middle;background-color:#fff;border:solid 1px #c6cbd1;border-bottom-color:#959da5;border-radius:3px;box-shadow:inset 0 -1px #959da5;font-family:Source Code Pro,monospace,Helvetica,Tahoma,Arial,STXihei,STHeiti Light,Microsoft YaHei,sans-serif}code,kbd,tt,var{font-size:1em}abbr,acronym{border-bottom:1px dotted #666;cursor:help}mark,ins{background:#fefac7;text-decoration:none}big{font-size:125%}*:before,*:after{box-sizing:inherit}q:before,q:after{content:""}hr{background-color:#ccc;border:0;height:1px;margin-bottom:1.5em}ul,ol{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ul,li>ol{margin-bottom:0;margin-left:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}img{height:auto;max-width:100%}textarea{padding-left:3px;width:100%;color:#666;color:var(--color);border:1px solid #ccc;border-radius:3px}textarea:focus{color:#000}embed,iframe,object{max-width:100%}iframe{filter:brightness(1);filter:brightness(var(--theme-brightness))}.noselect{-webkit-user-select:none;-moz-user-select:none;user-select:none}.is-show{display:block!important}.is-hide{display:none}input{font-size:1rem;font:inherit;margin:0;line-height:normal}input:-webkit-autofill{-webkit-box-shadow:0 0 0px 1000px white inset}input[type=button],input[type=reset],input[type=submit]{cursor:pointer;border:1px solid;border-color:#ccc #ccc #b0b0b0;border-radius:3px;background:#ddd;box-shadow:none;color:#000c;font-size:.75rem;line-height:1;padding:.6em 1em .4em;-webkit-appearance:button}input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover{border-color:#ccc #b0b0b0 #b0b0b0;box-shadow:none}input[type=button]:focus,input[type=reset]:focus,input[type=submit]:focus,input[type=button]:active,input[type=reset]:active,input[type=submit]:active{border-color:#b0b0b0 #b0b0b0 #b0b0b0;box-shadow:none}input[disabled]{cursor:default}input::-moz-focus-inner{border:0;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input[type=text],input[type=email],input[type=url],input[type=password],input[type=search],input[type=number],input[type=tel],input[type=range],input[type=date],input[type=month],input[type=week],input[type=time],input[type=datetime],input[type=datetime-local],input[type=color]{color:#666;color:var(--color);border:1px solid #ccc;border-radius:3px;padding:3px}input[type=text]:focus,input[type=email]:focus,input[type=url]:focus,input[type=password]:focus,input[type=search]:focus,input[type=number]:focus,input[type=tel]:focus,input[type=range]:focus,input[type=date]:focus,input[type=month]:focus,input[type=week]:focus,input[type=time]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=color]:focus{color:#000}a{background-color:transparent;text-decoration:none;color:#e67474;outline:none;cursor:inherit;cursor:var(--cursor-link);transition:color,border,opacity .2s ease-out}a:focus,a:active,a:hover{outline:none;color:orange;color:var(--theme-color)}a:active{cursor:inherit;cursor:var(--cursor-link-active)}button{margin:0;overflow:visible;font:inherit;cursor:pointer;border:1px solid;border-color:#ccc #ccc #b0b0b0;border-radius:3px;background:#ddd;box-shadow:none;color:#000c;font-size:.75rem;line-height:1;padding:.6em 1em .4em;text-transform:none;-webkit-appearance:button}button:hover{border-color:#ccc #b0b0b0 #b0b0b0;box-shadow:none}button:focus{border-color:#b0b0b0 #b0b0b0 #b0b0b0;box-shadow:none}button:active{border-color:#b0b0b0 #b0b0b0 #b0b0b0;box-shadow:none}button[disabled]{cursor:default}button::-moz-focus-inner{border:0;padding:0}table{border-collapse:collapse;border-spacing:0;width:100%}::-webkit-scrollbar{width:.375rem;height:.375rem;background-color:#eee}::-webkit-scrollbar-track{background-color:#eee}::-webkit-scrollbar-thumb{background-color:orange;background-color:var(--theme-color)}.iconify{display:inline-block;position:relative;top:-.125em;vertical-align:middle;font-size:1rem;height:1em;width:1em}.iconify.iconify--small{font-size:.875rem}.iconify.iconify--large{font-size:1.25rem}.iconify.iconify--xlarge{font-size:1.5rem}.iconify.iconify--xxlarge{font-size:2rem}.site-header{position:relative;right:0;height:4.6875rem;height:var(--header-height);width:100%;z-index:10}.site-header:before,.site-header:after{content:"";display:table;table-layout:fixed}.site-header:after{clear:both}.site-header.iconsearch{font-size:1.125rem;position:relative;z-index:10}.site-header.iconsearch:hover{cursor:pointer;color:orange;color:var(--theme-color)}.site-header .header-inner{height:4.6875rem;height:var(--header-height);width:100%;display:block;margin:0 auto;position:fixed;padding:0 1.25rem;box-sizing:border-box;top:0;transition:top .3s ease-in-out}@media (max-width: 768px){.site-header,.site-header .header-inner{height:2.5rem;position:absolute}.site-header .header-inner{padding:0}}.yya .header-inner{position:fixed;top:0;top:var(--yya-header-top);background:#fff;background:var(--header-background);box-shadow:0 1px 40px -8px #00000080}.yya.sabit .header-inner{top:0}@media (max-width: 768px){.yya .header-inner{background:transparent;box-shadow:none}}.site-nav-toggle{display:none}@media (max-width: 768px){.site-nav-toggle{transition-duration:.5s;height:2.5rem;position:absolute;top:0;z-index:10;display:block;background:0 0}.site-nav-toggle.open{display:none}.site-nav-toggle .nav-toggle{background:0 0;width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center}.site-nav-toggle .nav-toggle .icon{transition-duration:.2s;width:1.875rem;height:3px;background-color:orange;background-color:var(--mobile-nav-toggle-background-color)}.site-nav-toggle .nav-toggle .icon:before,.site-nav-toggle .nav-toggle .icon:after{transition-duration:.5s;background-color:orange;background-color:var(--mobile-nav-toggle-background-color);position:absolute;content:"";width:1.875rem;height:3px}.site-nav-toggle .nav-toggle .icon:before{top:10px}.site-nav-toggle .nav-toggle .icon:after{bottom:10px}}.site-branding{float:left;position:relative;line-height:4.6875rem;line-height:var(--header-height);animation:sitetop 1s}.site-branding .site-title{margin:0}.site-branding .site-title a{color:#464646;color:var(--body-color);font-weight:400}.site-branding .site-title a:hover{color:orange;color:var(--theme-color)}.site-branding .site-title img:hover{opacity:1}.site-branding .site-title a,.site-branding .site-title img{height:2.5rem;width:2.5rem;margin-top:1rem;opacity:.75;-o-object-fit:cover;object-fit:cover;transition:color .2s ease-out,border .2s ease-out,opacity .2s ease-out}@media (max-width: 768px){.site-branding{float:right;height:2.5rem;line-height:2.5rem}.site-branding .site-title{font-size:1.25rem;margin-right:10px}.site-branding .site-title img{height:2rem;width:2rem;border-radius:100%;margin:0;vertical-align:middle}}@keyframes sitetop{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.header-user-avatar{position:relative;float:right;margin-left:1.25rem;margin-top:1.375rem;animation:fadeInRight 1s}.header-user-avatar img{border-radius:100%;cursor:pointer;height:1.875rem;-o-object-fit:cover;object-fit:cover}.header-user-avatar:hover .header-user-menu{display:block}@media (max-width: 768px){.header-user-avatar{display:none}}.header-user-menu{position:absolute;right:-11px;top:44px;display:none;overflow:hidden;animation:header-user-menu .4s;box-shadow:0 1px 40px -8px #00000080;border-radius:5px;text-align:center;background:#fff;background:var(--widget-background-color);width:-moz-max-content;width:max-content}.header-user-menu .herder-user-name{font-size:.75rem;padding:10px;border-radius:4px 4px 0 0}.header-user-menu .herder-user-name .herder-user-name-u{font-weight:700;font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-user-menu:before{content:"";position:fixed;top:46px;right:25px;margin-left:-10px;border-width:10px;border-style:solid;border-color:transparent transparent #fff;border-color:transparent transparent var(--widget-background-color)}.header-user-menu .user-menu-option{padding:5px 0;border-radius:0 0 4px 4px}.header-user-menu .user-menu-option a:hover{background-color:#fff;background-color:var(--header-user-option-hover-background-color)}.header-user-menu a{display:block;padding:6px 10px;margin:2px 0;width:6.875rem;color:#666;color:var(--color);font-size:13px}.header-user-menu .no-logged{font-size:.8125rem;padding:15px 10px;border-radius:4px;border:0}.header-user-menu .no-logged a{display:initial;font-size:.875rem;padding:0 5px;font-weight:700;text-decoration:none}@keyframes header-user-menu{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.searchbox{float:right;height:4.75rem;line-height:4.75rem;margin-left:1.25rem;animation:fadeInRight 1s}.searchbox .iconsearch{color:#464646;color:var(--body-color);cursor:pointer;font-size:1.875rem;transition:all .3s ease-in-out}@media (max-width: 768px){.searchbox{display:none}}.lower-container{text-align:center;pointer-events:none;width:100%;height:100%}.lower-container .lower{display:inline-block;margin:1rem 0 0 10px;font-size:1rem;position:relative;pointer-events:auto;animation:fadeInRight 1s}.lower-container .lower nav{position:relative;float:right;animation:fadeInRight .2s}.lower-container .lower nav ul{margin:0;padding:0;list-style:none;display:block}.lower-container .lower nav ul li{float:left;padding:0 .875rem;position:relative;transition:all 1s ease}.lower-container .lower nav ul li:hover ul{display:inline-block!important;transition:all .4s}.lower-container .lower nav ul li ul{display:none;opacity:1;position:absolute;background:#fff;background:var(--background-color);padding:.625rem;top:2.875rem;--parent-width: 100%;--current-width: min-content;width:auto;text-align:center;z-index:10;border-radius:5px;box-shadow:0 1px 40px -8px #00000080;animation:fadeInUp .3s .1s ease both}.lower-container .lower nav ul li ul:before{content:"";position:absolute;top:-20px;left:50%;margin-left:-10px;border-width:10px;border-style:solid;border-color:transparent transparent;border-bottom-color:#fff;border-bottom-color:var(--background-color)}.lower-container .lower nav ul li ul li{width:100%;padding:0}.lower-container .lower nav ul li ul li a:after{content:"";display:none}.lower-container .lower nav ul li a{padding:10px 0;display:inline-block;color:#666;color:var(--color);width:auto;white-space:nowrap}.lower-container .lower nav ul li a:hover{color:orange;color:var(--theme-color)}.lower-container .lower nav ul li a:after{content:"";display:block;position:absolute;bottom:-1rem;height:6px;background-color:orange;background-color:var(--theme-color);width:100%;max-width:0;transition:max-width .25s ease-in-out}.lower-container .lower nav ul li a:hover:after{max-width:60%}@media (max-width: 768px){.lower-container .lower{display:none}.lower-container .lower nav ul li .animated-hover svg{display:inline}}@media (max-width: 1280px){.lower-container .lower{left:15px}.lower-container .lower nav.hide{display:none}}@keyframes fadeInRight{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0)}}.main{position:relative}.wrapper{animation:fade-in;animation-duration:.5s}@media (max-width: 768px){.wrapper{transition-duration:.5s;width:100%;height:auto;position:relative}.wrapper section h1{font-weight:300;font-size:1.875rem;margin-bottom:.625rem}.wrapper section h2{font-weight:300;font-size:1.25rem;margin-bottom:2.5rem}.wrapper section p{margin-bottom:2.5rem}}@media screen and (max-width: 860px){.wrapper section .gallery-caption p{margin-bottom:0}}@keyframes fade-in{0%{opacity:0}40%{opacity:0}to{opacity:1}}.sidebar{position:absolute;height:100%;top:0;right:-20px}.sidebar .sidebar-inner .toc-container{width:12.5rem;height:100%;background-color:#fff0;transform:translate(0);position:absolute;padding-top:10px;padding-bottom:10px}.sidebar .sidebar-inner .toc-container .toc{overflow-y:auto;position:sticky;top:6.25rem;max-height:80vh;transition:background 1s}.sidebar .sidebar-inner .toc-container .toc>.toc-list{overflow:hidden;position:relative;margin:0;padding-left:10px}.sidebar .sidebar-inner .toc-container .toc>.toc-list li{list-style:none}.sidebar .sidebar-inner .toc-container .toc .toc-list{margin:0;padding-left:10px}.sidebar .sidebar-inner .toc-container .toc a.toc-link{color:#666;color:var(--entry-content-list-color);height:100%}.sidebar .sidebar-inner .toc-container .toc a.toc-link:before{background-color:#eee;content:" ";display:inline-block;height:inherit;left:0;margin-top:-1px;position:absolute;width:2px}@media (max-width: 768px){.sidebar .sidebar-inner .toc-container{display:none}}.site-content{max-width:780px;max-width:var(--site-content-max-width);margin-left:auto;margin-right:auto;background-color:transparent}.site-content:before,.site-content:after{content:"";display:table;table-layout:fixed}.site-content:after{clear:both}@media (max-width: 768px){.site-content{padding:0 4%}}.main-inner{position:relative}.site-footer{background-color:#fff;background-color:var(--background-color);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:auto auto 2%;transition:all .8s ease;position:relative}.site-footer:before,.site-footer:after{content:"";display:table;table-layout:fixed}.site-footer:after{clear:both}.site-footer .site-info{margin:2rem auto;text-align:center;font-size:.8125rem;color:#b0b0b0}.site-footer .site-info a{color:#b0b0b0}.site-footer .site-info a:hover{color:orange;color:var(--theme-color)}@media (max-width: 1024px){.site-footer{padding:30px}}.footer-logo p{width:2rem;height:2rem;opacity:.8;margin:0 auto;background-size:cover;background-position:center center;background-repeat:no-repeat;animation:poi-deg 12s infinite linear}@keyframes poi-deg{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.footer-copyright p{font-family:Ubuntu,sans-serif}.footer-copyright p span .iconify{font-size:inherit;color:#e74c3c}.footer-copyright p span a{text-decoration:none}.footer-device{display:flex;justify-content:center}.footer-device p{margin:0 4px 0 0}.site-sidebar{width:0;height:100%;position:fixed;left:0;top:0;background-color:#fff;background-color:var(--background-color);overflow:hidden;z-index:9;pointer-events:none;transition:width .5s ease-out}.site-sidebar:after,.site-sidebar:before{transition:left .5s;background:orange;background:var(--theme-color);position:fixed;content:"";width:1.875rem;height:.1875rem;top:20px;left:-100px;pointer-events:auto;opacity:0}.site-sidebar.open{width:15.625rem}.site-sidebar.open:before,.site-sidebar.open:after{left:260px;opacity:1}.site-sidebar.open:before{transform:rotate(-45deg)}.site-sidebar.open:after{transform:rotate(45deg)}.site-sidebar .sidebar-inner{height:100%;width:100%;pointer-events:auto}.mobile-sidebar{display:flex;flex-direction:column;align-items:center;overflow:hidden;height:100%}.mobile-sidebar .avatar{padding:30px 0}.mobile-sidebar .avatar img{width:5.625rem;height:5.625rem;border-radius:100%;-o-object-fit:cover;object-fit:cover}.mobile-sidebar .glitch-text{text-align:center;color:#333;color:var(--mobile-menu-text-color);font-weight:900;font-family:Ubuntu,sans-serif;letter-spacing:1.5px}.mobile-sidebar .socials{display:flex;justify-content:center}.mobile-sidebar .socials .social-item{margin:0 10px}.mobile-sidebar .search form{position:relative;width:15.625rem;max-width:15.625rem;margin:0 0 20px;padding:8px 15px;background-color:#fff}.mobile-sidebar .search form input{width:100%;border:0;padding:5px;text-align:center;border-radius:3px;outline:none}.mobile-sidebar .navbar{overflow-x:hidden;overflow-y:auto;width:100%;height:100%}.mobile-sidebar .navbar ul,.mobile-sidebar .navbar li{display:flex;flex-direction:column;align-items:center;margin:0}.mobile-sidebar .navbar ul:hover li{color:#ffffff80}.mobile-sidebar .navbar ul li{transition-duration:.25s;padding:8px 0;color:#fff;letter-spacing:.02em}.mobile-sidebar .navbar ul li a{color:#333;color:var(--mobile-menu-text-color);font-size:1rem;width:4.375rem}.mobile-sidebar .navbar ul li a:hover{cursor:pointer;color:orange;color:var(--theme-color)}.mobile-sidebar .navbar li ul{margin:0}.mobile-sidebar .navbar li ul li{padding:5px 0}.mobile-sidebar .navbar li ul li a{font-size:.875rem}.mobile-sidebar .navbar>ul{margin-left:-2.5rem}.mobile-sidebar .footer{height:3.125rem;background:#fff;background:var(--background-color);width:100%;display:flex;align-items:center;justify-content:center;position:relative;bottom:0;box-shadow:0 0 4px #000000e6,0 2px 2px #0000003d}.mobile-sidebar .footer p{text-align:center;font-size:.875rem;color:#b0b0b0;width:100%;height:1.25rem}.comment{margin-top:1em}.container{transition:background 1s}@media (max-width: 768px){.container{transition-duration:.5s;position:relative;overflow:hidden;z-index:2}.container.open:before{content:"";width:100%;height:100%;position:fixed;background-color:#0006;z-index:9}}.loading{background-position:center;background-repeat:no-repeat;color:#504e4e;border:none;background-size:auto 100%;box-shadow:none;background-color:inherit;background-image:none;background-image:var(--loading-image)}.list-pagination{width:100%;text-align:center;display:inline-block;margin:5rem 0}.list-pagination a{padding:1rem 2.5rem;border:1px solid #ccc;border-radius:3rem;color:#b0b0b0;display:inline-block}.list-pagination a:hover{border:1px solid orange;border:1px solid var(--theme-color);color:orange;color:var(--theme-color);box-shadow:0 0 4px orange;box-shadow:0 0 4px var(--theme-color)}.list-pagination span{color:#999;font-size:1rem}.list-navigator{text-align:center;margin:4rem 0;display:block}.list-navigator a{display:inline-block;height:3rem;width:3rem;padding:.625rem;border:2px solid #ddd;border-radius:50%;box-sizing:border-box}.list-navigator a:hover{color:#fff;background:orange;background:var(--theme-color);border:2px solid orange;border:2px solid var(--theme-color);transition:all .2s ease-in-out}.list-navigator .iconify{font-size:1rem;color:#ccc}@media (max-width: 768px){.list-navigator{margin:0}}.post-pagination{overflow:hidden;width:100%;margin:3rem 0;background:#000;display:flex}.post-pagination .pagination-container{position:relative;flex:1;height:10rem}.post-pagination .pagination-container a{display:inline-block;height:100%;width:100%}.post-pagination .pagination-container img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:.4;transition:opacity .15s ease-out}.post-pagination .pagination-container img:hover{opacity:.6}.post-pagination .pagination-container .label,.post-pagination .pagination-container .info{position:absolute;font-size:.875rem}.post-pagination .pagination-container .label{top:2.5em;display:block;text-transform:uppercase;color:#ffffffb3}.post-pagination .pagination-container .info{bottom:2.5em}.post-pagination .pagination-container .info h3{font-size:1rem;font-weight:400;line-height:2rem;margin:2em 0;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.post-pagination .previous .label,.post-pagination .previous .info{left:2.5em}.post-pagination .next .label,.post-pagination .next .info{right:2.5em}@media (max-width: 768px){.post-pagination{flex-direction:column}.post-pagination .pagination-container{flex:auto}}.cd-top{display:block;display:var(--cd-top-display);z-index:9;position:fixed;top:-900px;right:1.5rem;width:4.5rem;height:900px;background-size:contain;transition:all .5s ease-in-out;opacity:1;background:none no-repeat center;background:var(--cd-top-image);cursor:inherit;cursor:var(--cursor-hover)}.cd-top.cd-is-visible{top:-326px}.cd-top:hover,.cd-top.cd-fade-out,.cd-top.cd-is-visible{opacity:1}.cd-top span{display:none;color:#000;position:absolute;bottom:0;height:20px;width:50px;text-align:center}@media screen and (max-width: 860px){.cd-top{display:none;height:60px;width:50px}.cd-top span{height:10px;width:50px}}.m-cd-top{display:none;display:var(--mobile-cd-top-display);bottom:70px;bottom:var(--mobile-cd-top-bottom);opacity:0;position:fixed;font-size:1rem;right:10px;width:3rem;height:3rem;z-index:9;border:0;outline:0;background-color:#fff;background-color:var(--widget-background-color);color:orange;color:var(--theme-color);cursor:pointer;padding:1rem;border-radius:8px;box-shadow:0 0 2px #0000001f,0 2px 2px #0000003d;overflow:hidden;transition:all .3s ease}.m-cd-top.cd-is-visible{opacity:1}@media screen and (max-width: 860px){.m-cd-top{display:block}}.aplayer.aplayer-fixed{background:var(--aplayer-background-color);color:var(--aplayer-color)}.aplayer.aplayer-fixed .aplayer-list{border:var(--aplayer-list-border)!important}.aplayer.aplayer-fixed .aplayer-list ol li{border-top:var(--aplayer-list-top-border)}.aplayer.aplayer-fixed .aplayer-list ol li:hover{background:var(--aplayer-list-hover-background-color)}.aplayer.aplayer-fixed .aplayer-list ol li.aplayer-list-light{background:var(--aplayer-list-light-background-color)!important}.aplayer.aplayer-fixed .aplayer-list ol li .aplayer-list-author{color:var(--aplayer-list-author-color)}.aplayer.aplayer-fixed .aplayer-body{background:var(--aplayer-background-color)!important;color:var(--aplayer-color)}.aplayer.aplayer-fixed .aplayer-body .aplayer-info{border-top:var(--aplayer-list-top-border)}.aplayer.aplayer-fixed .aplayer-body .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover path{fill:orange;fill:var(--theme-color)}.aplayer.aplayer-fixed .aplayer-body .aplayer-miniswitcher{background:var(--aplayer-body-miniswitcher-background-color);color:var(--aplayer-color)}.aplayer.aplayer-fixed .aplayer-body .aplayer-miniswitcher:hover path{fill:orange;fill:var(--theme-color)}.aplayer.aplayer-fixed .aplayer-lrc{text-shadow:var(--aplayer-lrc-text-shadow)}.aplayer .aplayer-list ol::-webkit-scrollbar-thumb{background-color:orange!important;background-color:var(--theme-color)!important}.aplayer .aplayer-list ol::-webkit-scrollbar-thumb:hover{background-color:orange!important;background-color:var(--theme-color)!important}.aplayer .aplayer-lrc{pointer-events:none}.aplayer .aplayer-lrc:before,.aplayer .aplayer-lrc:after{background:rgba(255,255,255,0);filter:none}.aplayer .aplayer-lrc .aplayer-lrc-current{color:orange;color:var(--theme-color);font-size:15px;font-weight:700}.aplayer .aplayer-icon,.aplayer .aplayer-miniswitcher{border-radius:0 6px 6px 0!important}.aplayer-narrow .ap-hover{border-radius:0 6px 6px 0!important;left:-66px!important}.aplayer-narrow .ap-hover:hover{left:0!important}.lazyload{filter:blur(0px);transition:.3s filter linear}.lazyload[src*="#lazyload-blur"],.lazyload[style*="#lazyload-blur"]{filter:blur(10px)}.blur-up{filter:blur(5px);transition:filter .4s}.blur-up.lazyloaded{filter:blur(0)}.change-skin-gear{position:fixed;bottom:-999px;right:5px;width:auto;height:auto;z-index:9;visibility:visible;white-space:nowrap;padding:10px;cursor:pointer;border-radius:10px 10px 0 0}.change-skin-gear svg{display:inline-block}@media (max-width: 768px){.change-skin-gear{display:none!important}.change-skin-gear span:before{content:""}.change-skin-gear svg{font-size:20px}}.rotating{animation:rotating 3s linear infinite}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mobile-change-skin{display:none;position:fixed;bottom:1rem;right:10px;width:3rem;height:3rem;z-index:9;border:0;outline:0;opacity:0;background-color:#fff;background-color:var(--widget-background-color);color:orange;color:var(--theme-color);cursor:pointer;padding:1rem;border-radius:8px;box-shadow:0 0 2px #0000001f,0 2px 2px #0000003d;transition:all .3s ease}.mobile-change-skin.cd-is-visible{opacity:1}.mobile-change-skin svg{display:inline-block}@media (max-width: 768px){.mobile-change-skin{display:block}}.skin-menu{position:fixed;bottom:3rem;right:2rem;height:auto;width:14rem;border-radius:5px;background-color:#fff;background-color:var(--widget-background-color);box-shadow:0 1px 40px -8px #00000080;z-index:9;font-family:Ubuntu,sans-serif;transform:scaleX(0);transition:.5s}.skin-menu.show{transform:scaleX(1)}.skin-menu:after{content:"";position:absolute;bottom:-1rem;left:50%;margin-left:-.375rem;border-width:.5rem;border-style:solid;border-color:#fff transparent transparent;border-top-color:#fff;border-top-color:var(--widget-background-color)}.skin-menu .row-container{height:auto;margin:0;padding:0;text-align:center}.skin-menu .row-container.font-family-controls{padding:3px 12px 16px}.skin-menu .row-container .menu-list{display:block;text-align:center;padding:0;margin:10px auto}.skin-menu .menu-list li{display:inline-block;margin:6px;line-height:2.25rem;width:2.25rem;background-color:#fff;background-color:var( --theme-item-background-color);border-radius:50%;cursor:pointer}.skin-menu .menu-list li:hover{background-color:orange;background-color:var(--theme-color);color:orange;color:var(--theme-color)}.skin-menu .menu-list li:hover svg{color:#fff}@media (max-width: 768px){.skin-menu{bottom:1rem;right:70px;transform:scaleY(0)}.skin-menu.show{transform:scaleY(1)}.skin-menu:after{display:none}}.search-form.is-visible{visibility:visible;animation:search-visible .5s;background-repeat:no-repeat;background-position:bottom right}.search-form div{position:relative}.search-form svg{font-size:2rem;line-height:1;color:#ddd;position:absolute;bottom:1rem;margin-top:-1rem;left:1rem}.search-form input{font-size:1.5rem;background:#fff;background:var(--background-color);padding:.75rem 1.5rem .75rem 4rem;width:100%;outline:none;border-radius:50px;box-sizing:border-box;transition:background 1s}.search-form input::-webkit-input-placeholder,.search-form input::-moz-placeholder,.search-form input:-ms-input-placeholder{color:#ddd}.search-form .search_close{position:absolute;width:2.25rem;height:2.25rem;background:0 0;top:20px;right:15px;cursor:pointer}.search-form .search_close:before,.search-form .search_close:after{background-color:#222;position:absolute;content:"";width:1.875rem;height:.125rem;top:17px;left:2px;transform:rotate(-45deg)}.search-form-modal{transition:visibility .25s ease,opacity .25s ease;overflow:hidden;z-index:9;position:fixed;top:0;right:0;left:0;bottom:0;background:#fff;background:var(--background-color);visibility:hidden;opacity:0}.search-form-modal .search-form-inner{max-width:640px;padding:0 20px;margin:auto;text-align:left;position:absolute;width:100%;left:0;right:0;height:285px;top:0;bottom:0}.search-form-modal .search-form-inner p{padding-left:24px}@keyframes search-visible{0%{transform:scale(0)}55%{transform:scale(1)}70%{transform:scale(.98)}to{transform:scale(1)}}.centerbg{width:100%;height:100vh;height:var(--first-screen-height);margin:0;padding:0;position:relative}@media (max-width: 768px){.centerbg{height:18.75rem;background-attachment:scroll}}.centerbg .cover-bg{position:absolute;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.centerbg .blend-overlay{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.3;mix-blend-mode:hard-light;background:none;background:var(--first-screen-background-blend-overlay)}.focusinfo{position:relative;z-index:2;text-align:center;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:.4s ease all}.focusinfo img{width:8.125rem;height:8.125rem;padding:2px;border-radius:100%}@media (max-width: 768px){.focusinfo{display:none}}.header-tou img{box-shadow:inset 0 0 10px #000;padding:.3125rem;opacity:1;transform:rotate(0);transition:all ease 1s}.header-tou img:hover{transform:rotate(360deg)}.center-text{margin:0;font-family:Ubuntu,sans-serif;font-size:5rem;transition:background 1s}.glitch{position:relative;color:#fff;mix-blend-mode:lighten;overflow:hidden;white-space:nowrap}.glitch:before,.glitch:after{content:attr(data-text);position:absolute;top:0;width:100%;background:rgba(0,0,0,0);clip:rect(0,0,0,0)}.glitch:before{left:-1px;text-shadow:1px 0 #ff3b00}.glitch:after{left:1px;text-shadow:-1px 0 #00a1d6}.glitch:hover:before{text-shadow:4px 0 #ff3b00;animation:glitch-loop-1 .8s infinite ease-in-out alternate-reverse}.glitch:hover:after{text-shadow:-5px 0 #00a1d6;animation:glitch-loop-2 .8s infinite ease-in-out alternate-reverse}.glitch+.header-info:before{top:-1.875rem;content:""}@keyframes glitch-loop-1{0%{clip:rect(36px,9999px,9px,0)}25%{clip:rect(25px,9999px,99px,0)}50%{clip:rect(50px,9999px,102px,0)}75%{clip:rect(30px,9999px,92px,0)}to{clip:rect(91px,9999px,98px,0)}}@keyframes glitch-loop-2{0%{top:-1px;left:1px;clip:rect(65px,9999px,119px,0)}25%{top:-6px;left:4px;clip:rect(79px,9999px,19px,0)}50%{top:-3px;left:2px;clip:rect(68px,9999px,11px,0)}75%{top:0;left:-4px;clip:rect(95px,9999px,53px,0)}to{top:-1px;left:-1px;clip:rect(31px,9999px,149px,0)}}.header-info{max-width:30%;position:relative;margin:0;font-size:1rem;color:#eaeadf;color:var(--first-screen-header-info-text-color);background:rgba(0,0,0,.5);background:var(--first-screen-header-info-background-color);padding:1rem;letter-spacing:0;line-height:2rem;border-radius:10px;box-sizing:initial;white-space:nowrap;margin-top:1.25rem}.header-info:before{position:absolute;left:30%;border-width:15px;border-style:solid;border-color:transparent;border-bottom-color:#00000080;border-bottom-color:var(--first-screen-header-info-background-color)}.header-info p{margin:0;font-family:Ubuntu,sans-serif;font-weight:700;overflow:hidden;white-space:nowrap;transition:color .4s}.header-info .desc{overflow:hidden;white-space:normal;text-overflow:clip;word-break:keep-all;display:inline}.top-social{display:flex;justify-content:center;height:1.625rem;margin-top:1rem;list-style:none}.top-social img{height:1.75rem;width:1.75rem;padding:0;background:0 0}.top-social ul{list-style:none;margin:0;padding:0;display:flex}.top-social ul li{float:left;margin-right:10px}.top-social .flipx{transform:scaleX(-1);filter:FlipH}.top-social .wechat{height:2rem;width:2rem;position:relative}.top-social .wechat .wechatInner{width:8rem;height:8rem;padding:.625rem;background:rgba(0,0,0,.4);left:-3.5rem;opacity:0;position:absolute;border-radius:8px;transition:.7s all ease;transform:translate3d(0,3rem,0)}.top-social .wechat .wechatInner:before{content:"";position:absolute;top:-2rem;left:50%;margin-left:-1rem;border-width:1rem;border-style:solid;border-color:transparent transparent rgba(0,0,0,.4) transparent}.top-social .wechat .wechatInner img{border-radius:0;width:8rem;height:8rem;padding:0;background:0 0}.top-social .wechat:hover .wechatInner{transform:translate3d(0,16px,0);opacity:1;visibility:visible}.video-container{position:absolute;top:0;left:0;margin:0;padding:0;width:100%;height:100vh}.video-container video{z-index:0;width:100vw;height:100vh;-o-object-fit:fill;object-fit:fill}.video-container .controls{position:absolute;bottom:.625rem;right:.625rem;z-index:3}.video-container .controls .video-btn{background-position:center;background-size:cover;cursor:pointer;opacity:.8;animation:poi-face 10s linear infinite alternate;width:2rem;height:2rem}.video-container .controls .video-btn:hover{opacity:1}.video-container .controls .video-btn.video-play{background-image:var(--video-play-image)}.video-container .controls .video-btn.video-pause{background-image:var(--video-pause-image);display:none}.video-container .video-status{position:absolute;bottom:-6.25rem;left:0;right:0;margin:auto;padding:.625rem 0;text-align:center;color:#fff;width:100%;background-color:#000c;border-radius:0;font-size:1.125rem;transition:.4s ease all}@media (max-width: 768px){.video-container{display:none}}@keyframes poi-face{2%,24%,80%{transform:translateY(1.5px) rotate(1.5deg)}4%,68%,98%{transform:translateY(-1.5px) rotate(-.5deg)}38%,6%{transform:translateY(1.5px) rotate(-1.5deg)}8%,86%{transform:translateY(-1.5px) rotate(-1.5deg)}10%,72%{transform:translateY(2.5px) rotate(1.5deg)}12%,64%,78%,96%{transform:translateY(-.5px) rotate(1.5deg)}14%,54%{transform:translateY(-1.5px) rotate(1.5deg)}16%{transform:translateY(-.5px) rotate(-1.5deg)}18%,22%{transform:translateY(.5px) rotate(-1.5deg)}20%,36%,46%{transform:translateY(-1.5px) rotate(2.5deg)}26%,50%{transform:translateY(.5px) rotate(.5deg)}28%{transform:translateY(.5px) rotate(1.5deg)}30%,40%,62%,76%,88%{transform:translateY(-.5px) rotate(2.5deg)}32%,34%,66%{transform:translateY(1.5px) rotate(-.5deg)}42%{transform:translateY(2.5px) rotate(-1.5deg)}44%,70%{transform:translateY(1.5px) rotate(.5deg)}48%,74%,82%{transform:translateY(-.5px) rotate(.5deg)}52%,56%,60%{transform:translateY(2.5px) rotate(2.5deg)}58%{transform:translateY(.5px) rotate(2.5deg)}84%{transform:translateY(1.5px) rotate(2.5deg)}90%{transform:translateY(2.5px) rotate(-.5deg)}92%{transform:translateY(.5px) rotate(-.5deg)}94%{transform:translateY(2.5px) rotate(.5deg)}0%,to{transform:translate(0) rotate(0)}}.headertop-down{position:absolute;bottom:3.125rem;left:50%;cursor:pointer;z-index:3}.headertop-down .iconify{font-size:1.75rem;color:#fff;transform:scaleX(1.5)}@media (max-width: 768px){.headertop-down{display:none}}h1 a{color:#504e4e}h1 a:hover{color:orange;color:var(--theme-color)}.entry-footer{list-style:none}.hotpost{color:#ff3b00}.page-header{position:relative;text-align:center;margin-bottom:3rem;color:#999}@media (max-width: 768px){.page-header{margin-bottom:0}}.post-list{margin:0 0 4rem;position:relative;animation:main .6s}.post-list p{min-height:3.75rem;font-size:.9375em;color:#000000a8;color:var(--post-list-thumb-abstract-color);letter-spacing:0;line-height:1.875rem;transition:color 1s;margin:0;padding:0;padding-left:1.25rem;display:-webkit-box}.post-list hr{width:30%;height:1px;margin:0 auto;border:0;background:#eee;margin-top:1.25rem;transition:background 1s}.post-list:hover .entry-footer .info-meta{transform:translate3d(-130px,0,0);opacity:1;visibility:visible}.post-list .feature{margin-top:1rem;float:left}.post-list .feature:hover .overlay .overlay-inner{opacity:1}.post-list .feature .overlay-inner{display:inline-block;position:absolute;font-size:1.5625rem;color:#fff;width:6.625rem;height:6.625rem;line-height:6.625rem;text-align:center;background:#bbe2db;opacity:0;z-index:1;border-radius:0;border-radius:var(--standard-post-list-border-radius);transition:opacity .4s ease-out}.post-list .feature .overlay-inner .iconify{font-size:1.875rem;background:transparent;color:orange;color:var(--theme-color)}.post-list .feature img{width:6.25rem;height:6.25rem;padding:2px;border:1px solid #ddd;box-sizing:content-box;position:relative;-o-object-fit:cover;object-fit:cover;border-radius:0;border-radius:var(--standard-post-list-border-radius)}.post-list h1.entry-title{font-size:1.25rem;font-weight:400;line-height:3.125rem;position:relative;z-index:1;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65%;margin-left:1.25rem}.post-list h1.entry-title:hover{color:orange;color:var(--theme-color)}.post-list .entry-title a{color:#504e4e;color:var(--post-list-thumb-title-color)}.post-list .entry-footer .post-more{margin-top:.625rem;text-align:right}.post-list .entry-footer .post-more .iconify{font-size:1.875rem;color:#666;color:var(--post-list-thumb-more-color)}.post-list .entry-footer .post-more .iconify:hover{color:orange;color:var(--theme-color)}.post-list .entry-footer .info-meta{position:absolute;top:3rem;opacity:0;padding-top:.5rem;border-top:1px solid #ddd;visibility:hidden;transition:.6s all ease}.post-list .entry-footer .info-meta span{color:#999;font-size:.8125rem;vertical-align:bottom}.post-list .entry-footer .info-meta .iconify{margin-right:.625rem}.post-list .entry-footer .info-meta a{color:#999}.post-list .entry-footer .info-meta .comnum{float:left;width:100%}.post-list .entry-footer .p-time{position:absolute;right:0;top:1rem;font-size:.75rem;color:#999;letter-spacing:0}.post-list .entry-footer .p-time .iconify{scale:1.2;margin-right:5px}@media (max-width: 768px){.post-list p{font-size:.875rem;overflow:hidden}.post-list .feature img{width:3.25rem;height:3.25rem}.post-list .feature .overlay{display:none}.post-list h1.entry-title{font-size:1rem;line-height:1.875rem}.post-list .entry-footer .post-more{display:none}}@media (max-width: 1024px){.post-list .entry-footer .info-meta{display:none}}.post-list-thumb{display:flex;width:100%;height:18.75rem;position:relative;margin:1.25rem 0;border-radius:10px;background-color:#fff;background-color:var(--background-color);box-shadow:0 1px 20px -6px #00000080;box-shadow:var(--post-list-thumb-box-shadow);opacity:1;animation:main .6s;transition:box-shadow .3s ease}.post-list-thumb:hover img{transform:scale(1.1)}.post-list-thumb .post-thumb{min-width:55%}.post-list-thumb .post-thumb a{height:18.75rem;position:relative;display:block;background-repeat:no-repeat;background-size:cover;overflow:hidden;border-radius:0 10px 10px 0}.post-list-thumb .post-thumb a img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;transition:all .6s}.post-list-thumb .post-content-wrap{position:relative;display:inline-block;padding-left:0;width:100%;padding:0 1.875rem;margin-top:1.25rem}.post-list-thumb .post-content-wrap .post-date{color:#505050;color:var(--post-list-thumb-meta-color);font-size:.75rem;transition:background 1s}.post-list-thumb .post-content-wrap .post-meta,.post-list-thumb .post-content-wrap .post-meta a{color:#505050;color:var(--post-list-thumb-meta-color);font-size:.75rem}.post-list-thumb .post-content-wrap .post-meta .comments-number{margin:0 .625rem}.post-list-thumb .post-content-wrap .float-content{position:relative;width:100%;right:0;margin:0;padding:0;z-index:9;color:#000000a8;color:var(--post-list-thumb-abstract-color)}.post-list-thumb .post-content-wrap .float-content .post-text{display:inline-block;text-align:justify;font-size:.875rem}.post-list-thumb .post-content-wrap .float-content .iconify{font-size:1.875rem;color:#666;color:var(--post-list-thumb-more-color);margin-right:5px}.post-list-thumb .post-content-wrap .float-content .iconify:hover{color:orange;color:var(--theme-color)}.post-list-thumb .post-content-wrap .float-content p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;height:4.375rem;overflow:hidden;text-align:left}.post-list-thumb.post-list-thumb-right{flex-direction:row-reverse}.post-list-thumb.post-list-thumb-right .post-content-wrap,.post-list-thumb.post-list-thumb-right .post-content-wrap .float-content p{text-align:right}.post-list-thumb.post-list-thumb-right .post-thumb a{border-radius:10px 0 0 10px}.post-list-thumb .post-title{color:#504e4e;color:var(--post-list-thumb-title-color)}.post-list-thumb .post-title h1{font-size:1.17em;margin:1em 0;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-wrap:break-word}@media (max-width: 768px){.post-list-thumb{margin:0;height:auto;padding:0;border:0;margin-bottom:1.25rem}.post-list-thumb,.post-list-thumb.post-list-thumb-right{flex-direction:column-reverse}.post-list-thumb:before{content:"";width:1px;height:100px;background-color:#0000;position:absolute;left:0;right:0;margin:auto;bottom:-6.375rem;z-index:0}.post-list-thumb .post-thumb{width:100%;left:0}.post-list-thumb .post-thumb a{border-radius:10px 10px 0 0}.post-list-thumb .post-content-wrap{width:100%;left:0;text-align:left;margin:0;padding:1.25rem;float:none;box-shadow:none;box-sizing:border-box;border-top:0}.post-list-thumb .post-content-wrap .float-content{width:100%;left:0;box-shadow:none;padding:0;margin:0;transition:color 1s}.post-list-thumb .post-content-wrap .float-content p{height:auto;display:block}.post-list-thumb .post-content-wrap .float-content .post-bottom{display:none;text-align:right}.post-list-thumb.post-list-thumb-right .post-content-wrap,.post-list-thumb.post-list-thumb-right .post-content-wrap .float-content p{text-align:left}.post-list-thumb.post-list-thumb-right .post-thumb a{border-radius:10px 10px 0 0}}@media (max-width: 640px){.post-list-thumb .post-thumb a{height:13.125rem}.post-list-thumb .post-content-wrap .float-content .post-text{font-size:.8125rem;margin-bottom:1em}}.page-none-content{margin:1.5em 0 0}.page-none-content .page-header .page-title{font-size:1.25rem;font-weight:400;border:1px dashed #ddd;padding:.625rem .9375rem;color:#7d7d7d;margin-bottom:1.875rem}.meta-container{display:flex;margin:0;font-size:.875rem;padding:1.125rem 0 0}.meta-container .post-meta-item{display:flex;align-items:center}.meta-container .post-meta-item img{width:2.25rem;height:2.25rem;border-radius:100%;margin-right:.75rem;display:block;-o-object-fit:cover;object-fit:cover}.meta-container .post-meta-item:not(:last-child):after{content:"·";margin:0 .3125rem}@media (max-width: 768px){.meta-container{flex-wrap:wrap}}.entry-content{margin-top:1.25rem;position:relative}.entry-content:before,.entry-content:after{content:"";display:table;table-layout:fixed}.entry-content:after{clear:both}.entry-content .begin{float:left;font-size:3.6em;line-height:1em;margin-right:3px;margin-top:2px;font-weight:700}.entry-content h2:after{content:"¶";position:absolute;color:#ff6d6d;font-family:serif;padding-left:6px;font-size:1em}.entry-content h3{padding-bottom:.5em;border-bottom:1px dashed #ddd;color:#7d7d7d}.entry-content h3:after{content:"#"}.entry-content h4:after{content:"▌"}.entry-content h5:after{content:"♯"}.entry-content h3,.entry-content h4,.entry-content h5{padding-left:1em}.entry-content h3:after,.entry-content h4:after,.entry-content h5:after{left:0;position:absolute;color:#ff6d6d}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{color:#000;color:var(--entry-content-heading-color)}.entry-content a{color:#e67474;position:relative}.entry-content a:hover{color:orange;color:var(--theme-color);text-decoration:none}.entry-content a:hover:after{transform:scaleX(1);transform-origin:bottom left}.entry-content a:after{content:"";position:absolute;width:100%;transform:scaleX(0);height:2px;bottom:0;left:0;background-color:orange;background-color:var(--theme-color);transform-origin:bottom right;transition:transform .25s ease-out}.entry-content a img.alignleft,.entry-content a img.alignright,.entry-content a img.aligncenter{cursor:-webkit-zoom-in}.entry-content p{color:#7d7d7d;color:var(--entry-content-text-color);line-height:1.875em}.entry-content hr{margin-top:2.5em;margin-bottom:2.5em;display:block;border:0;text-align:center;background:0 0}.entry-content hr:before{content:"...";display:inline-block;margin-left:.6em;color:#000c;position:relative;top:-1.875em;font-size:1.75em;letter-spacing:.6em}.entry-content code:not(.hljs){background:#fefac7;color:#e67474;word-break:break-word;font-family:Source Code Pro,monospace;padding:2px;text-shadow:none;border-radius:5px}.entry-content ol,.entry-content ul{list-style:disc;border:1px dashed #ddd;padding:1em .625em 1em 3.125em;color:#666;color:var(--entry-content-list-color);margin-left:0;border-radius:10px}.entry-content ol li,.entry-content ul li{padding:8px 0}.entry-content p,.entry-content ul,.entry-content ol{transition:color 1s}.entry-content .post-password-form{text-align:center}.entry-content .wp-smiley{border:none;margin-bottom:0;margin-top:0;padding:0}.entry-content .table-wrapper{overflow:auto;color:#000;color:var(--entry-content-table-color)}.entry-content .table-wrapper::-webkit-scrollbar{height:4px;width:4px}.entry-content .table-wrapper::-webkit-scrollbar-track-piece{background:transparent}.entry-content .table-wrapper::-webkit-scrollbar-thumb{background:rgba(176,176,176,.4);cursor:pointer;border-radius:2px}.entry-content .table-wrapper::-webkit-scrollbar-thumb:hover{background:#b0b0b0}.entry-content .table-wrapper>table{border-collapse:collapse;overflow:auto;max-width:100%;margin-right:.5rem;vertical-align:text-top}.entry-content .table-wrapper>table th{background-color:#0000001a}.entry-content .table-wrapper>table tr{word-break:keep-all}.entry-content .table-wrapper>table tr:nth-child(2n){background-color:#fff;background-color:var(--background-color)}.entry-content .table-wrapper>table td,.entry-content .table-wrapper>table th{padding:.5em 1em;border:1px solid #ddd;line-height:1.5;font-size:.9em}.entry-content .table-wrapper>table tbody>tr{transition:all .28s ease}.entry-content .table-wrapper>table tbody>tr:hover{background-color:#0003}@media (max-width: 768px){.entry-content p{font-size:.875em}.entry-content .begin{margin-top:6px}}.serif .entry-content h2:after{font-size:1.13em}.post-footer .single-reward{position:relative;width:100%;margin:2.25rem auto;text-align:center;z-index:1}.post-footer .single-reward .reward-open{position:relative;width:2.5rem;height:2.5rem;font-size:1.125rem;color:#fff;line-height:2.5rem;display:inline-block;border-radius:100%;background:#d34836;cursor:pointer}.post-footer .single-reward .reward-open:hover .reward-main{display:block!important}.post-footer .single-reward .reward-main{position:absolute;left:-9.375rem;margin:0;padding:1rem 0 0;background:0 0;display:none;animation:main .4s}.post-footer .single-reward .reward-row{margin:0;background:#fff;display:flex;border-radius:4px;cursor:auto;padding:1rem}.post-footer .single-reward .reward-row:before{content:"";width:0;height:0;border-left:.8125rem solid transparent;border-right:.8125rem solid transparent;border-bottom:.8125rem solid #fff;position:absolute;top:.3rem;left:0;right:0;margin:0 auto}.post-footer .single-reward .reward-row li{list-style-type:none;padding:0 .75rem;display:inline-block}.post-footer .single-reward .reward-row li img{width:8.125rem;max-width:8.125rem;border-radius:3px;position:relative}.post-footer .single-reward .reward-row li .reward-name{display:block;line-height:normal;font-size:.8125rem;color:#504e4e}.post-footer .post-footer-meta{padding-top:1.25rem;padding-bottom:1.875rem;border-bottom:1px dashed #ddd;border-top:1px dashed #ddd;margin-top:1.875rem}@media (max-width: 768px){.post-footer p{font-size:.875rem}.post-footer .post-footer-meta{display:none}}.post-license{text-align:center;padding-bottom:5px;font-size:.875rem}.post-license a{color:#b0b0b0}.post-license a:hover{color:#888}.post-tags{float:left;font-size:.8125rem;color:#b0b0b0;text-transform:uppercase}.post-tags a{color:#b0b0b0;margin-right:5px}.post-tags a:hover{color:var(--threme-color)}.post-tags svg{margin-right:5px}@media (max-width: 768px){.post-tags{text-align:center;float:none;font-size:.75rem}}.author-profile{margin:3rem 0;text-align:center}.author-profile .info{overflow:hidden;text-align:center}.author-profile .info .profile{display:inline-block}.author-profile .info .profile img{width:4.375rem;height:4.375rem;padding:3px;border:1px solid #ddd;border-radius:100%;-o-object-fit:cover;object-fit:cover}.author-profile .info .meta{display:block;text-align:center}.author-profile .info .meta h3{margin:.625rem 0 0;text-transform:none}.author-profile .info .meta h3 a{display:block;font-size:1.125rem;font-weight:400;line-height:normal;letter-spacing:1px;color:#b0b0b0}.author-profile p{font-size:.815rem;margin:1rem 0 0;color:#7d8588;letter-spacing:0;display:inline-block;padding:1rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.author-profile p .iconify{color:orange;color:var(--theme-color);margin-right:.625rem}@media (max-width: 768px){.author-profile{display:none}}.word_count{margin:0}.minicode{box-shadow:0 1px 2px #0003;border-radius:5px;margin:.625em 0;display:flex;align-items:center;color:#000;color:var(--minicode-color)}.minicode a{padding:5px}.minicode .content-toast{display:block;padding:.5em .5em .5em 1em;height:1.25em;word-break:keep-all;white-space:nowrap;overflow:hidden;width:95%;transition:width,padding .5s ease;overflow-x:auto}.minicode .hide-minicode{line-height:inherit;cursor:pointer;padding-right:5px}.minicode:hover{transform:scale(1.01);transition:all .5s ease}.minicode.hide{margin:0}.minicode.hide .content-toast{height:0;padding:0}.minicode.hide .hide-minicode{display:none}@keyframes main{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.highlight-wrap{display:flex;position:relative;background:#21252b;border-radius:6px;line-height:1.6;font-size:1em;margin-bottom:1.6em;max-width:100%;text-shadow:none;color:#000;padding-top:2em;box-shadow:0 .625em 2em #0006;filter:brightness(1);filter:brightness(var(--theme-brightness))}.highlight-wrap:before{content:" ";position:absolute;border-radius:50%;background:#fc625d;width:.75em;height:.75em;left:.75em;margin-top:-1.25em;box-shadow:1.25em 0 #fdbc40,2.5em 0 #35cd4b;z-index:1}.highlight-wrap code{word-break:break-word;font-family:Source Code Pro,monospace,Helvetica,Tahoma,Arial,STXihei,STHeiti Light,Microsoft YaHei,sans-serif;text-shadow:none;border-radius:0 0 6px 6px;width:100%;cursor:inherit;cursor:var(--cursor-text)}.highlight-wrap code::-webkit-scrollbar{height:.625rem;width:.625rem;background-color:#222}.highlight-wrap code::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#21252b}.highlight-wrap code::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.5);background-color:orange;background-color:var(--theme-color)}.highlight-wrap code[data-rel]:before{color:#fff;content:attr(data-rel);height:2.25em;line-height:2.25em;background:#21252b;font-size:1rem;position:absolute;top:0;left:0;width:100%;font-family:Ubuntu,sans-serif;font-weight:700;text-indent:1rem;text-align:center;float:left;border-radius:6px 6px 0 0;pointer-events:none}:is(.highlight-wrap code .hljs-ln-line,.highlight-wrap code .hljs-ln-line span)::-moz-selection{background:#fff;background:var(--background-color);color:#21252b}:is(.highlight-wrap code .hljs-ln-line,.highlight-wrap code .hljs-ln-line span)::selection{background:#fff;background:var(--background-color);color:#21252b}.highlight-wrap code .hljs-comment,.highlight-wrap code .hljs-quote{color:#888f96;font-style:italic}.highlight-wrap code .hljs-doctag,.highlight-wrap code .hljs-formula,.highlight-wrap code .hljs-keyword{color:#c678dd}.highlight-wrap code .hljs-deletion,.highlight-wrap code .hljs-name,.highlight-wrap code .hljs-section,.highlight-wrap code .hljs-selector-tag,.highlight-wrap code .hljs-subst{color:#e06c75}.highlight-wrap code .hljs-literal{color:#56b6c2}.highlight-wrap code .hljs-addition,.highlight-wrap code .hljs-attribute,.highlight-wrap code .hljs-meta-string,.highlight-wrap code .hljs-regexp,.highlight-wrap code .hljs-string{color:#98c379}.highlight-wrap code .hljs-built_in,.highlight-wrap code .hljs-class .hljs-title{color:#e6c07b}.highlight-wrap code .hljs-attr,.highlight-wrap code .hljs-number,.highlight-wrap code .hljs-selector-attr,.highlight-wrap code .hljs-selector-class,.highlight-wrap code .hljs-selector-id,.highlight-wrap code .hljs-selector-pseudo,.highlight-wrap code .hljs-template-variable,.highlight-wrap code .hljs-type,.highlight-wrap code .hljs-variable{color:#d19a66}.highlight-wrap code .hljs-bullet,.highlight-wrap code .hljs-link,.highlight-wrap code .hljs-meta,.highlight-wrap code .hljs-selector-tag{color:#61aeee}.highlight-wrap code .hljs-emphasis{font-style:italic}.highlight-wrap code .hljs-strong{font-weight:700}.highlight-wrap code .hljs-link{text-decoration:underline}.highlight-wrap code .hljs-ln{margin:.375em 0 0}.highlight-wrap code .hljs-ln .hljs-ln-line.hljs-ln-numbers{-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:center;color:#888f96;font-family:Source Code Pro,monospace,Helvetica,Tahoma,Arial,STXihei,STHeiti Light,Microsoft YaHei,sans-serif;vertical-align:top;position:absolute;left:0;width:2em}.highlight-wrap code .hljs-ln .hljs-ln-line.hljs-ln-code{width:100vw;padding-left:1.625em}.highlight-wrap code .hljs-ln .hljs-ln-line.hljs-ln-code:hover{background-color:#ffffff1a}.code-block-fullscreen{position:fixed;top:0;left:0;width:100%;height:100%;min-width:100%;z-index:10;margin:0;animation:elastic 1s}.code-block-fullscreen code{--widthA: 100%;--widthB: calc(var(--widthA) - 30px);height:calc(100% - 30px);height:var(--widthB);min-height:99%;overflow:auto}.code-block-fullscreen-html-scroll{overflow:hidden}@keyframes elastic{0%{transform:scale(0)}55%{transform:scale(1)}70%{transform:scale(.98)}to{transform:scale(1)}}span.copy-code{color:#fff;position:absolute;right:.625em;display:inline-table;top:.375em;padding-right:.125em;font-size:1rem;z-index:1}span.copy-code:hover{color:#ffffff80}span.copy-code:after{display:none}.page-header{position:relative;display:flex;justify-content:center;align-items:center}.page-header .pattern-center{position:relative;width:100%;overflow:hidden;animation:header .5s}.page-header .pattern-center.single-center:after{display:none}.page-header .pattern-center:after{transition:background 1s}.page-header .pattern-center .pattern-attachment-img{height:400px}.page-header .pattern-center .pattern-attachment-img:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:#0000004d}.page-header .pattern-center .pattern-attachment-img img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none}@media (max-width: 768px){.page-header .pattern-center.single-center .pattern-attachment-img{height:17.5rem}.page-header .pattern-center.single-center .pattern-attachment-img:after{content:"";width:150%;height:4.375rem;background:#fff;background:var(--background-color);left:-25%;bottom:-2.875rem;border-radius:100%;position:absolute;z-index:1}.page-header .pattern-center.single-center .post-header h1{font-size:1.625rem;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.page-header .pattern-center .pattern-attachment-img img{height:17.5rem}}.page-header .pattern-title{margin-top:50px;color:#464646;color:var(--body-color)}.page-header .pattern-title h1{padding:0;border:0;margin:0;width:100%;text-align:center;font-size:1.5rem;font-weight:300}.page-header .pattern-title h1:before,.page-header .pattern-title h1:after{color:orange;color:var(--theme-color);font-size:1.5em;vertical-align:sub}.page-header .pattern-title h1:before{content:"{"}.page-header .pattern-title h1:after{content:"}"}.page-header.is-decorate .pattern-title{margin-top:0;position:absolute;text-shadow:2px 2px 10px #000}.page-header.is-decorate .pattern-title h1{font-size:2rem;color:#fff;font-weight:500}.page-header.is-decorate .pattern-title h1:before,.page-header.is-decorate .pattern-title h1:after{content:""}.page-header.is-decorate .site-content .pattern-header{position:sticky;z-index:1;text-shadow:2px 2px 10px #000}.page-header.is-decorate .site-content .post-header{margin-top:-8rem}.page-header.is-decorate .site-content .page-header{margin-top:-17.5rem;text-align:center;margin-bottom:12.5rem}.page-header.is-decorate .site-content .page-header.link-page-header{margin-top:-15.375rem}.page-header.is-decorate .site-content .page-header h1{font-size:2.5rem;color:#fff}.page-header.is-decorate .site-content .page-header h1:before,.page-header.is-decorate .site-content .page-header h1:after{content:""}.page-header.is-decorate .site-content .pattern-meta-container .entry-census,.page-header.is-decorate .site-content .pattern-meta-container .entry-census a{color:#fff}@media (max-width: 768px){.page-header.is-decorate .pattern-title h1{text-align:center!important}}@keyframes header{0%{transform:translateY(-50px)}to{transform:translateY(0)}}.post-share{float:right;list-style:none;margin-right:1.25rem}.post-share:hover .show-share,.post-share:hover .share-hidden{opacity:1;display:inline-block}.post-share img:hover{opacity:.8}.post-share ul{list-style:none;opacity:0;display:none;margin:0;vertical-align:middle;position:relative;transition:opacity .4s ease-out}.post-share ul li i{font-size:1.25rem}.post-share ul li a:hover{color:orange;color:var(--theme-color)}.post-share li{float:left;margin-right:1.875rem}.post-share li img{width:1.125rem;height:1.125rem;display:block}.post-share .social-share{opacity:0;display:none}.post-share .show-share{cursor:pointer;opacity:.6;transition:opacity .1s ease-out;color:orange;color:var(--theme-color)}@media (max-width: 768px){.post-share{display:none}}.post-share .s-wechat{position:relative}.post-share .s-wechat:hover .wechat-qrcode{display:block}.post-share .s-wechat .wechat-qrcode{display:none;border-radius:5px;border:1px solid #eee;position:absolute;top:-215px;left:-95px;width:200px;height:192px;color:#666;color:var(--color);font-size:12px;text-align:center;background-color:#fff;background-color:var(--background-color);box-shadow:0 2px 10px #b0b0b0;transition:all .2s}.post-share .s-wechat .wechat-qrcode:after{content:"";position:absolute;left:50%;margin-left:-6px;bottom:-13px;width:0;height:0;border-width:8px 6px 6px 6px;border-style:solid;border-color:#fff transparent transparent transparent}.post-share .s-wechat .wechat-qrcode h4{font-weight:400;height:26px;line-height:26px;font-size:12px;background-color:#fff;margin:0;padding:0;color:#7d7d7d}.post-share .s-wechat .wechat-qrcode img{width:auto;height:auto}.post-share .s-wechat .wechat-qrcode .qrcode{margin:1px auto}.post-share .s-wechat .wechat-qrcode .help p{font-weight:400;line-height:16px;padding:0;margin:0}.card-container{position:relative;text-align:center;border:0;border-radius:10px;color:#000000de;background:#fff;background:var(--background-color);background-size:cover;box-shadow:0 -15px 35px #32325d1a,0 5px 15px #00000012;box-shadow:var(--card-container-box-shadow)}.card-container .chip-container .card-content{padding:1.5rem;border-radius:0 0 2px 2px}.card-container .chip-container .card-content .chip{margin:.625rem;padding:1.25rem;display:inline-flex;line-height:0;font-size:1rem;font-weight:500;border-radius:5px;cursor:pointer;box-shadow:0 3px 5px #0000001f;z-index:0}.card-container .chip-container .card-content .chip:hover{color:#fff;background:linear-gradient(to right,#4cbf30 0%,#0f9d58 100%)}.card-container .chip-container .card-content .chip.chip-default{color:#34495e}.clearer{display:block;clear:both}#nprogress{pointer-events:none;z-index:10;position:absolute}#nprogress .bar{background:orange;background:var(--theme-color);position:fixed;z-index:10;top:0;left:0;width:100%;height:3px}#nprogress .bar .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px orange,0 0 5px orange;box-shadow:0 0 10px var(--theme-color),0 0 5px var(--theme-color);opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:10;top:1.625rem;right:1.5rem;left:inherit;width:auto;height:auto;margin:0}#nprogress .spinner .spinner-icon{width:1.25rem;height:1.25rem;box-sizing:border-box;border:solid 3px transparent;border-top-color:orange;border-top-color:var(--theme-color);border-left-color:orange;border-left-color:var(--theme-color);border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.is-collapsible{overflow:hidden;transition:all .3s ease-in-out}.is-collapsed{max-height:0}.is-position-fixed{position:fixed;top:0}.is-active-link{font-weight:700}.is-active-link:before{background-color:orange!important;background-color:var(--theme-color)!important}.headertop{position:relative;overflow:hidden;width:100%;animation:header 1s}.headertop:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background-attachment:fixed;background:none;background:var(--first-screen-filter-images)}.headertop:after{content:"";display:none;display:var(--first-screen-after);width:150%;height:4.375rem;background:#fff;background:var(--background-color);left:-25%;bottom:-2.875rem;border-radius:100%;position:absolute;z-index:1;transition:background 1s}@media (max-width: 768px){.headertop:after{display:block}}@keyframes header{0%{opacity:0;transform:translateY(-50px)}to{opacity:1;transform:translateY(0)}}.notice{padding:20px;border:1px dashed #ddd;color:#666;color:var(--color);position:relative;display:block;background:#fbfbfb50;background:var(--notice-background-color);border-radius:10px;animation:main .6s}.notice .notice-content{display:contents;vertical-align:middle;width:100%}.notice .iconify{top:0;color:#999;font-size:18px;padding-right:10px}@media (max-width: 768px){.notice{margin-top:40px;margin-bottom:20px}}.top-feature{width:100%;height:auto;margin-top:55px;animation:main .6s}.top-feature .fes-title{color:#666;color:var(--color);font-size:16px;font-weight:400;padding-bottom:5px;margin-bottom:30px;border-bottom:1px dashed #eee;border-bottom:var(--home-divider-border);transition:border 1s}.top-feature .top-feature-inner{display:flex}.top-feature .top-feature-inner .top-feature-item{display:inline-block;height:160px;width:100%;margin:0 2px}.top-feature .top-feature-inner .top-feature-item .feature-container{position:relative;height:100%;box-shadow:1px 1px 3px #0000004d;overflow:hidden;border-radius:10px;transition:all .35s ease-in-out}.top-feature .top-feature-inner .top-feature-item .feature-container img{height:100%;width:100%;display:block;-o-object-fit:cover;object-fit:cover;transition:all .35s ease-in-out;transform:scale(1)}.top-feature .top-feature-inner .top-feature-item .feature-container .info{position:absolute;top:0;bottom:0;left:0;right:0;text-align:center;backface-visibility:hidden;background:rgba(0,0,0,.6);visibility:hidden;opacity:0;transition:all .35s ease-in-out}.top-feature .top-feature-inner .top-feature-item .feature-container .info h3{text-transform:uppercase;color:#fff;font-size:17px;padding:10px;background:#000000;margin:30px 0 0;text-align:center;transition:all .35s ease-in-out;transform:translate(-100%)}.top-feature .top-feature-inner .top-feature-item .feature-container .info p{font-style:italic;font-size:12px;position:relative;color:#b0b0b0;padding:20px;text-align:center;transition:all .35s .1s linear;transform:translate(100%)}.top-feature .top-feature-inner .top-feature-item .feature-container a:hover .img{transform:scale(1.2)}.top-feature .top-feature-inner .top-feature-item .feature-container a:hover .info{visibility:visible;opacity:1}.top-feature .top-feature-inner .top-feature-item .feature-container a:hover .info h3,.top-feature .top-feature-inner .top-feature-item .feature-container a:hover .info p{transform:translate(0)}.top-feature .top-feature-inner .top-feature-item .feature-container,.top-feature .top-feature-inner .top-feature-item .feature-container *{box-sizing:border-box}.top-feature .top-feature-inner .top-feature-item .feature-container a{color:#333}.top-feature .top-feature-inner .top-feature-item .feature-container a:hover{text-decoration:none}@media (max-width: 768px){.top-feature{display:none}}.site-main{padding:40px 0 0}.site-main .main-title{color:#666;color:var(--color);font-size:16px;font-weight:400;padding-bottom:5px;margin-bottom:30px;border-bottom:1px dashed #eee;border-bottom:var(--home-divider-border);transition:border 1s}@media (max-width: 768px){.site-main{padding:15px 0 0}}.is-homepage .site-header{position:fixed}.is-homepage .site-header.yya .header-inner .lower-container{display:block}.is-homepage .site-header .header-inner{transition:background 1s}.is-homepage .site-header .header-inner .lower-container{display:none}.is-homepage .site-header:hover .header-inner{position:fixed;top:0;background:#fff;background:var(--header-background)}.is-homepage .site-header:hover .header-inner .lower-container{display:block}@media (max-width: 768px){.is-homepage .site-header:hover .header-inner{background:transparent}}section:not(.is-homepage) .site-header .header-inner{box-shadow:0 1px 40px -8px #00000080}@media (max-width: 768px){section:not(.is-homepage) .site-header .header-inner{box-shadow:none}}.post-header{position:relative;display:flex;justify-content:center;flex-wrap:wrap}.post-header .post-meta,.post-header .pattern-title{width:780px}.post-header .page-header{width:100%}.post-header .post-meta .meta-container{justify-content:center}.post-header .is-decorate .pattern-title{bottom:2em}.post-header .is-decorate .pattern-title h1{text-align:left}.post-header .is-decorate .post-meta .meta-container{justify-content:inherit;padding:0}.post-header .is-decorate .post-meta .meta-container .post-meta-item *,.post-header .is-decorate .post-meta .meta-container .post-meta-item:after{color:#fff}@media (max-width: 768px){.post-header .post-meta,.post-header .pattern-title{width:100%}.post-header .is-decorate .pattern-title{bottom:auto}.post-header .is-decorate .pattern-title h1{text-align:inherit}.post-header .is-decorate .post-meta .meta-container{justify-content:center}.post-header h1{font-size:26px;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;text-align:center}}.single-page-header .page-header.is-decorate .pattern-title h1{font-size:40px}.single-page-header .page-header .pattern-title h1{font-size:24px;font-weight:700;text-transform:uppercase}.link-article .links{margin-bottom:80px}.link-article .links .link-title{font-weight:400;color:orange;color:var(--theme-color);padding-left:0;border-left:none;margin:50px 0 20px;transition:color 1s}.link-article .links .link-title span.fake-title{padding-left:10px;border-left:3px solid orange;border-left:3px solid var(--theme-color)}.link-article .links .link-items{margin:0;list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr)}.link-article .links .link-items .link-item{border:1px solid #eee;padding:10px 30px;margin:4px;position:relative;overflow:hidden;transition:all .3s;border-radius:10px}.link-article .links .link-items .link-item:hover{color:var(theme-color);border:1px solid var(theme-color)}.link-article .links .link-items .link-item:hover:before{width:140%}.link-article .links .link-items .link-item:hover .link-item-inner img{transform:rotate(360deg)}.link-article .links .link-items .link-item:hover .link-item-inner .linkdes{border-top:1px dashed #fff}.link-article .links .link-items .link-item:before{content:"";background:orange;background:var(--theme-color);transform:skew(45deg);width:0;height:100%;position:absolute;top:0px;left:-50px;transition:all .5s;opacity:.2}.link-article .links .link-items .link-item .link-item-inner img{float:right;box-shadow:inset 0 0 10px #000;opacity:1;transform:rotate(0);transition:all ease 1s;margin-top:5px;width:61px;height:61px;padding:2px;border-radius:100%;-o-object-fit:cover;object-fit:cover}.link-article .links .link-items .link-item .link-item-inner .sitename{color:orange;color:var(--theme-color);padding-bottom:10px;display:block;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-article .links .link-items .link-item .link-item-inner .linkdes{color:#999;color:var(--links-description-color);font-size:13px;padding:10px 0;border-top:1px dashed #ddd;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;line-height:25px;transition:all .5s}@media (max-width: 640px){.link-article .links ul li{width:100%}}@media (max-width: 768px){.link-article .links ul li{width:48.6%}.link-article .links ul li:before{display:none}.link-article .links ul li:hover .sitename{color:--var(theme-color)}.link-article .links ul li:hover .linkdes{color:#999;border-top:1px dashed #ddd}}.archives-inner{margin-top:50px;margin-bottom:100px;position:relative}.archives-inner .archives-content:before{content:"";position:absolute;height:75%;border-left:1px dashed #fff;left:17px;top:30px}.archives-inner h2{font-weight:400;color:#666;padding-bottom:15px;border-bottom:1px dashed #fff;text-align:center}.archives-inner .archive-item.active .archive-posts{max-height:-moz-max-content;max-height:max-content;transition-timing-function:cubic-bezier(.5,0,.3,1)}.archives-inner .archive-item{margin-top:35px;position:relative;z-index:1}.archives-inner .archive-item .archive-title{display:flex;align-items:center}.archives-inner .archive-item .archive-title .archive-time svg{padding:10px;border-radius:100px;background:orange;background:var(--theme-color);color:#fff}.archives-inner .archive-item .archive-title h3{letter-spacing:2px;font-style:italic;font-size:20px;font-weight:400;color:orange;color:var(--theme-color);margin-left:10px}.archives-inner .archive-item .archive-title h3:hover{color:#ddd!important;cursor:pointer}.archives-inner .archive-item .archive-posts{max-height:0;overflow:hidden;transition:max-height .5s ease-in-out}.archives-inner .archive-item .archive-posts .archive-post-item{position:relative}.archives-inner .archive-item .archive-posts .archive-post-item .archive-post-circle{height:11px;width:11px;background:orange;background:var(--theme-color);display:inline-block;position:absolute;margin-top:22px;border-radius:100px;left:12px}.archives-inner .archive-item .archive-posts .archive-post-item .arrow-left-ar{width:0;height:0;display:block;float:left;margin-top:10px;border-left:20px solid transparent;border-bottom:20px solid #f5f5f5;margin-left:26px}.archives-inner .archive-item .archive-posts .archive-post-item .brick{margin-left:46px}.archives-inner .archive-item .archive-posts .archive-post-item .brick a{color:#7d7d7d;padding:20px;background:#f5f5f5;margin-bottom:20px;display:block;letter-spacing:0px}.archives-inner .archive-item .archive-posts .archive-post-item .brick em{font-style:normal;margin-left:5px}.archives-inner .archive-item .archive-posts .archive-post-item .brick .time{float:right;color:#ccc}.archives-inner .archive-item .archive-posts .archive-post-item .brick .time svg{margin:3px}@media (max-width: 768px){.archives-inner{margin:0 20px}}.tag-wordcloud-container{position:relative;left:calc((100% - 100vw)/2)}.tag-wordcloud-container .wordcloud{width:100vw;height:500px}.tags-content{margin:50px 0}.tags-content .tag-title{margin-bottom:10px;color:#34495e;color:var(--card-container-title-color);font-size:1.75rem;font-weight:400}.tags-content .tag-chips{margin:1rem auto .5rem;max-width:850px;text-align:center}.tags-content .tag-chips .tag-length{color:#9b8b2a;margin-top:0;margin-left:5px;margin-right:-2px;font-size:.9rem}@media (max-width: 768px){.tags-content{margin:20px 0}}.tag-header .page-header .pattern-title h1{display:inline-block;font-size:25px;font-weight:400;color:#666;color:var(--color)}.tag-header .page-header .pattern-title h1:before{content:""}.tag-header .page-header .pattern-title h1:after{content:"";padding-right:15px;border-right:1px dashed #ddd;font-size:30px;vertical-align:middle}.categories-container .card-container{margin:36px auto}.categories-container .card-container.category-show{animation:card-show 1s ease-in-out}.categories-container .card-container .categories-title{margin-bottom:10px;color:#34495e;color:var(--card-container-title-color);font-size:1.75rem;font-weight:400}.categories-container .card-container .categories-chips{margin:1rem auto .5rem;max-width:850px;text-align:center}.categories-container .card-container .categories-chips .categories-length{color:#9b8b2a;margin-top:0;margin-left:5px;margin-right:-2px;font-size:.9rem}.categories-container .card-container .category-echarts{width:100%;height:360px}@keyframes card-show{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.category-header .page-header .pattern-title{display:flex;align-items:center}.category-header .page-header .pattern-title h1{display:inline-block;font-size:25px;font-weight:400;color:#666;width:auto}.category-header .page-header .pattern-title h1:before{content:""}.category-header .page-header .pattern-title h1:after{content:"";padding-right:15px;border-right:1px dashed #ddd;font-size:30px;vertical-align:middle}.category-header .page-header .pattern-title .cat-des{display:block;text-align:center;color:#999;margin-left:10px}.moments-container{margin:20px 0;filter:brightness(1);filter:brightness(var(--theme-brightness))}.moments-container .moments-inner{padding:0;margin:0;list-style:none;display:inline;position:relative}.moments-container .moments-inner .moments-item{margin-bottom:30px}.moments-container .moments-inner .moments-item:nth-child(odd) .moment-container .moment-inner{background:var(--single-bg-and-btn-color);color:var(--single-font-color)}.moments-container .moments-inner .moments-item:nth-child(odd) .moment-container .moment-inner:after{border-right-color:var(--single-bg-and-btn-color);color:#000}.moments-container .moments-inner .moments-item .moment-container{display:flex}.moments-container .moments-inner .moments-item .moment-container .avatar{width:48px;height:48px;-o-object-fit:cover;object-fit:cover;border:1px solid #ddd;padding:2px;float:left;border-radius:100%;transition:transform .4s ease-out}.moments-container .moments-inner .moments-item .moment-container .avatar:hover{transform:rotate(360deg)}.moments-container .moments-inner .moments-item .moment-container .moment-inner{width:100%;margin:auto 15px;padding:.8em 1.2em;position:relative;background:var(--double-bg-and-btn-color);background-position:center;color:var(--double-font-color);border-radius:5px;box-shadow:0 1px 2px #00000026;transition:all .3s ease 0s}.moments-container .moments-inner .moments-item .moment-container .moment-inner:after{right:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-right-color:azure;border-width:10px;top:4px}.moments-container .moments-inner .moments-item .moment-container .moment-inner:hover{box-shadow:0 15px 32px #00000026}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-content{font-size:1.2em;font-weight:400;line-height:1.5}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-content>p{overflow:unset;word-wrap:break-word;word-break:break-all}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-content .comment-box{display:none}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer{margin-top:10px;border-top:1px dashed #fff;padding-top:5px;font-size:14px;display:flex;justify-content:space-between}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools{margin-left:15px}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .comment-js,.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .moment-like{float:right;margin-left:15px}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .comment-js,.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .moment-like{cursor:pointer}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .moment-like:hover,.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .moment-like.on{color:#00a1d6}.moments-container .moments-inner .moments-item .moment-container .moment-inner .comment-box{display:none;padding-top:10px}.moments-container .pagination{display:flex;justify-content:center}.moments-container .pagination .at_button{background-color:#e6e6fa;border:none;padding:8px 16px;text-align:center;text-decoration:none;height:20px;display:inline-block;font-size:12px;border-radius:12px;outline:none;cursor:pointer;transition:all .5s ease 0s}.moments-container .pagination .at_button:hover{background-color:azure;box-shadow:0 4px 8px #0000003d,0 8px 16px #00000030}.moments-container .pagination .at_button.loading{padding:25px}@media (max-width: 768px){.moments-container .moments-inner .moments-item .moment-container .avatar{display:none}.moments-container .moments-inner .moments-item .moment-container .moment-inner:after{display:none}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-content img{max-width:50%}}.code-block-fullscreen-html-scroll .moment-content{z-index:auto!important;transform:none!important}:host{display:inline-block;overflow:hidden;text-align:initial;white-space:nowrap}.photos-container{margin:50px 0;position:relative;z-index:1}.photos-container .photos-inner .loading{height:60px}.photos-container .photos-inner .loading .gallery{opacity:0}.photos-container .photos-inner .photos-content{display:flex;width:100%;justify-content:center}@media (max-width: 768px){.photos-container{padding-top:0;margin:30px 0}}.photos-group ul{list-style:none;padding:0;margin:0;font-size:1em;letter-spacing:.2em}.photos-group ul li{display:inline-block;vertical-align:bottom;margin:0 2em 1.5em 0}.photos-group ul li span{display:block;color:#666;color:var(--color);position:relative}.photos-group ul li span:after{content:"";display:block;border-bottom:2px solid orange;border-bottom:2px solid var(--theme-color);width:0;position:absolute;bottom:0;left:0;right:0;transform:scaleX(0);transform-origin:50% 0;transition:transform .35s}.photos-group ul li span:hover:after,.photos-group ul li span.active:after{width:100%;transform:scale(1)}.gallery{clear:both;width:100%;margin:0;opacity:1;transform:translateZ(0);transition:transform,opacity .35s}.gallery .gallery-item .gallery-caption{height:100%;background:#222;opacity:0}.gallery .gallery-item:hover .gallery-caption{height:100%;opacity:.6;transition:opacity .2s ease}.gallery .gallery-item:hover .gallery-caption .entry-summary{opacity:1}.gallery .gallery-item:hover .gallery-caption .entry-summary h3,.gallery .gallery-item:hover .gallery-caption .entry-summary p{transform:translateZ(0)}.gallery .gallery-item .gallery-caption{position:absolute;left:0;right:0;bottom:0;width:100%;z-index:10;pointer-events:none}.gallery .gallery-item .gallery-caption .entry-summary{display:inline-block;position:absolute;width:100%;opacity:0;margin:0;transition:all .2s ease;text-align:center;bottom:0;padding-bottom:1em;font-size:.8em;color:#fff}.gallery .gallery-item .gallery-caption .entry-summary h3,.gallery .gallery-item .gallery-caption .entry-summary p{transition:transform .35s;padding:0;margin:0}.gallery .gallery-item .gallery-caption .entry-summary p{font-family:Times,serif;font-style:italic;font-size:.9em;opacity:.8;transform:translate3d(0,20px,0)}.gallery .gallery-item .gallery-caption .entry-summary h3{font-weight:700;text-transform:uppercase;font-size:.9em;letter-spacing:.05em;transform:translate3d(0,-20px,0);margin-bottom:.5em}@media (max-width: 768px){.gallery .gallery-item .gallery-caption{background:#22222255;opacity:1}.gallery .gallery-item .gallery-caption .entry-summary{opacity:1}.gallery .gallery-item .gallery-caption .entry-summary h3,.gallery .gallery-item .gallery-caption .entry-summary p{transform:none}}.masonry-container{margin:auto 4vw}.masonry-container .photos-content{margin:1.5em auto}.masonry-container .photos-content .gallery .gallery-item{margin:0 0 10px}.masonry-container .photos-content .gallery .gallery-item.col-3{width:calc((100% - (3 - 1) * 10px) / 3)}.masonry-container .photos-content .gallery .gallery-item.col-4{width:calc((100% - 30px)/4)}.masonry-container .photos-content .gallery .gallery-item.col-5{width:calc((100% - 40px)/5)}.masonry-container .photos-content .gallery .gallery-item.col-6{width:calc((100% - (6 - 1) * 10px) / 6)}.masonry-container .photos-content .gallery .gallery-item.col-7{width:calc((100% - (7 - 1) * 10px) / 7)}.masonry-container .photos-content .gallery .gallery-item.col-8{width:calc((100% - 70px)/8)}.masonry-container .photos-content .gallery .gallery-item .gallery-icon{position:relative;z-index:9;transition:opacity .2s ease;text-align:center}.masonry-container .photos-content .gallery .gallery-item .gallery-icon a{display:block;width:100%;height:100%;position:relative;z-index:9}.masonry-container .photos-content .gallery .gallery-item .gallery-icon img{width:100%;height:auto;margin:0 0 -5px}@media (max-width: 768px){.masonry-container .photos-content .gallery .gallery-item{width:100%!important}}.masonry-tools{display:flex;justify-content:space-between}.masonry-tools .grid-changer{float:right}.masonry-tools .grid-changer ul{list-style:none;padding:0;margin:0;font-size:.8em}.masonry-tools .grid-changer ul li{display:inline-block;margin-left:.2em}.masonry-tools .grid-changer ul li span{display:block;width:30px;height:30px;text-align:center;color:#ccc;color:var(--photo-group-change-color);position:relative;border:2px solid #ccc;border:2px solid var(--photo-group-change-color);transition:all .2s ease}.masonry-tools .grid-changer ul li span:hover{border-color:orange;border-color:var(--theme-color);color:orange;color:var(--theme-color)}.masonry-tools .grid-changer ul li span.active,.masonry-tools .grid-changer ul li span.active:hover{border-color:#222;border-color:var(--photo-group-change-active-color);color:#222;color:var(--photo-group-change-active-color)}.masonry-tools .grid-changer ul li span svg{fill:#222;fill:var(--photo-group-change-active-color)}@media (max-width: 768px){.masonry-tools{justify-content:center}.masonry-tools .grid-changer{display:none}}.justify-tools{text-align:center}.justify-wrapper{max-width:1024px;margin:0 auto}.error-404{margin-top:-120px;margin-bottom:20px}.error-404 .error-img,.error-404 .err-button{text-align:center}.error-404 .err-button.back a{padding:10px 30px;margin:0 10px;border:1px solid orange;border:1px solid var(--theme-color);color:orange;color:var(--theme-color);border-radius:50px}.error-404 .err-button.back a:hover{box-shadow:0 0 4px orange;box-shadow:0 0 4px var(--theme-color)}.error-404 .err-button.back .gohome{background:orange;background:var(--theme-color);color:#fff}@media (max-width: 768px){.error-404{margin-top:0}} +:root{--theme-color: orange;--theme-brightness: 1;--site-content-max-width: 780px;--loading-image: none;--cursor-link: inherit;--cursor-link-active: inherit;--cursor-text: inherit;--cursor-normal: inherit;--cursor-hover: inherit;--cd-top-image: none no-repeat center;--cd-top-display: block;--mobile-cd-top-display: none;--mobile-cd-top-bottom: 70px;--standard-post-list-border-radius: 0;--first-screen-height: 100vh;--first-screen-after: none;--first-screen-filter-images: none;--first-screen-background-blend-overlay: none;--first-screen-header-info-text-color: #eaeadf;--first-screen-header-info-background-color: rgba(0, 0, 0, .5);--header-height: 4.6875rem;--yya-header-top: 0;--header-background: #fff;--body-color: #464646;--color: #666;--background-color: #fff;--header-user-option-hover-background-color: #fff;--notice-background-color: #fbfbfb50;--home-divider-border: 1px dashed #eee;--post-list-thumb-box-shadow: 0 1px 20px -6px rgba(0, 0, 0, .5);--post-list-thumb-title-color: #504e4e;--post-list-thumb-meta-color: #505050;--post-list-thumb-abstract-color: rgba(0, 0, 0, .66);--post-list-thumb-more-color: #666;--widget-background-color: #fff;--theme-item-background-color: #fff;--mobile-nav-toggle-background-color: var(--theme-color);--mobile-menu-text-color: #333;--minicode-color: #000;--entry-content-text-color: #7d7d7d;--entry-content-heading-color: #000;--entry-content-list-color: #666;--entry-content-table-color: #000;--card-container-box-shadow: 0 -15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);--card-container-title-color: #34495e;--photo-group-change-color: #ccc;--photo-group-change-active-color: #222;--links-description-color: #999}.dark{--theme-brightness: .7;--body-color: #eee;--header-background: rgba(49, 54, 59, .85);--header-user-option-hover-background-color: #31363b;--color: #eee;--background-color: #31363b;--first-screen-background-blend-overlay: var(--background-color);--first-screen-header-info-text-color: #fff;--first-screen-header-info-background-color: rgba(0, 0, 0, .7);--notice-background-color: #222;--home-divider-border: 6px dotted #535a63;--post-list-thumb-box-shadow: 0 1px 35px -8px rgba(0, 0, 0, .8);--post-list-thumb-title-color: #b0b0b0;--post-list-thumb-meta-color: #888;--post-list-thumb-abstract-color: #b0b0b0;--post-list-thumb-more-color: #888;--widget-background-color: rgba(38, 38, 38, .8);--theme-item-background-color: #31363b;--mobile-menu-text-color: #eee;--entry-content-heading-color: #ccc;--entry-content-text-color: #999;--entry-content-list-color: #999;--entry-content-table-color: #999;--card-container-box-shadow: 0 1px 35px -8px rgba(0, 0, 0, .8);--card-container-title-color: #ccc;--photo-group-change-color: #222;--photo-group-change-active-color: #ccc;--links-description-color: #b0b0b0}.video-container{--video-play-image: none;--video-pause-image: none}.search-form{--search-form-image: none}.moments-container{--single-bg-and-btn-color: #e6e6fa;--single-font-color: #000000;--double-bg-and-btn-color: #f0ffff;--double-font-color: #000000;--moments-content-background: #e6e6fa}.aplayer{--aplayer-color: #000;--aplayer-background-color: #fff;--aplayer-list-border: 1px solid #eee;--aplayer-list-light-background-color: #e9e9e9;--aplayer-list-top-border: 1px solid var(--aplayer-list-light-background-color);--aplayer-list-author-color: #666;--aplayer-body-miniswitcher-background-color: #e6e6e6;--aplayer-lrc-text-shadow: -1px -1px 0 #fff;--aplayer-list-hover-background-color: #efefef}.dark .aplayer{--aplayer-color: #eee;--aplayer-background-color: #232629;--aplayer-list-border: none;--aplayer-list-light-background-color: #31363b;--aplayer-list-top-border: none;--aplayer-list-author-color: eee;--aplayer-body-miniswitcher-background-color: var(--aplayer-background-color);--aplayer-lrc-text-shadow: -1px -1px 0 #989898;--aplayer-list-hover-background-color: var(--theme-color)}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}::selection{background:#464646;color:#fff}::-moz-selection{background:#464646;color:#fff}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden;word-break:break-all;box-sizing:border-box;font-size:100%}body,select,textarea{color:#464646;color:var(--body-color);font-size:1em;line-height:1.5}body{background:#fff;background:var(--background-color);background-attachment:fixed;margin:0;cursor:inherit;cursor:var(--cursor-normal);text-shadow:0px 0px 1px rgba(0,0,0,.1)}body.serif{font-family:"Noto Serif SC",Georgia,serif}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}details>summary:first-of-type{display:list-item}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;filter:brightness(1);filter:brightness(var(--theme-brightness))}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,samp{font-family:monospace;font-size:1em}optgroup,select,textarea{color:inherit;font:inherit;margin:0}select{text-transform:none;border:1px solid #ccc}fieldset{border:1px solid #b0b0b0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}td,th{padding:0}h1,h2,h3,h4,h5,h6{clear:both}p{margin-bottom:1.5em;cursor:inherit;cursor:var(--cursor-text)}dfn,cite,em,svg{font-style:italic}blockquote{margin:1em;padding:0 1em;color:#656d76;border-left:.25em solid #c6cbd1}blockquote p{margin:5px 0}address{margin:0 0 1.5em}kbd{display:inline-block;padding:3px 5px;font-size:1em;line-height:1em;color:#444d56;vertical-align:middle;background-color:#fff;border:solid 1px #c6cbd1;border-bottom-color:#959da5;border-radius:3px;box-shadow:inset 0 -1px #959da5;font-family:Source Code Pro,monospace,Helvetica,Tahoma,Arial,STXihei,STHeiti Light,Microsoft YaHei,sans-serif}code,kbd,tt,var{font-size:1em}abbr,acronym{border-bottom:1px dotted #666;cursor:help}mark,ins{background:#fefac7;text-decoration:none}big{font-size:125%}*:before,*:after{box-sizing:inherit}q:before,q:after{content:""}hr{background-color:#ccc;border:0;height:1px;margin-bottom:1.5em}ul,ol{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ul,li>ol{margin-bottom:0;margin-left:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}img{height:auto;max-width:100%}textarea{padding-left:3px;width:100%;color:#666;color:var(--color);border:1px solid #ccc;border-radius:3px}textarea:focus{color:#000}embed,iframe,object{max-width:100%}iframe{filter:brightness(1);filter:brightness(var(--theme-brightness))}.noselect{-webkit-user-select:none;-moz-user-select:none;user-select:none}.is-show{display:block!important}.is-hide{display:none}input{font-size:1rem;font:inherit;margin:0;line-height:normal}input:-webkit-autofill{-webkit-box-shadow:0 0 0px 1000px white inset}input[type=button],input[type=reset],input[type=submit]{cursor:pointer;border:1px solid;border-color:#ccc #ccc #b0b0b0;border-radius:3px;background:#ddd;box-shadow:none;color:#000c;font-size:.75rem;line-height:1;padding:.6em 1em .4em;-webkit-appearance:button}input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover{border-color:#ccc #b0b0b0 #b0b0b0;box-shadow:none}input[type=button]:focus,input[type=reset]:focus,input[type=submit]:focus,input[type=button]:active,input[type=reset]:active,input[type=submit]:active{border-color:#b0b0b0 #b0b0b0 #b0b0b0;box-shadow:none}input[disabled]{cursor:default}input::-moz-focus-inner{border:0;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input[type=text],input[type=email],input[type=url],input[type=password],input[type=search],input[type=number],input[type=tel],input[type=range],input[type=date],input[type=month],input[type=week],input[type=time],input[type=datetime],input[type=datetime-local],input[type=color]{color:#666;color:var(--color);border:1px solid #ccc;border-radius:3px;padding:3px}input[type=text]:focus,input[type=email]:focus,input[type=url]:focus,input[type=password]:focus,input[type=search]:focus,input[type=number]:focus,input[type=tel]:focus,input[type=range]:focus,input[type=date]:focus,input[type=month]:focus,input[type=week]:focus,input[type=time]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=color]:focus{color:#000}a{background-color:transparent;text-decoration:none;color:#e67474;outline:none;cursor:inherit;cursor:var(--cursor-link);transition:color,border,opacity .2s ease-out}a:focus,a:active,a:hover{outline:none;color:orange;color:var(--theme-color)}a:active{cursor:inherit;cursor:var(--cursor-link-active)}button{margin:0;overflow:visible;font:inherit;cursor:pointer;border:1px solid;border-color:#ccc #ccc #b0b0b0;border-radius:3px;background:#ddd;box-shadow:none;color:#000c;font-size:.75rem;line-height:1;padding:.6em 1em .4em;text-transform:none;-webkit-appearance:button}button:hover{border-color:#ccc #b0b0b0 #b0b0b0;box-shadow:none}button:focus{border-color:#b0b0b0 #b0b0b0 #b0b0b0;box-shadow:none}button:active{border-color:#b0b0b0 #b0b0b0 #b0b0b0;box-shadow:none}button[disabled]{cursor:default}button::-moz-focus-inner{border:0;padding:0}table{border-collapse:collapse;border-spacing:0;width:100%}::-webkit-scrollbar{width:.375rem;height:.375rem;background-color:#eee}::-webkit-scrollbar-track{background-color:#eee}::-webkit-scrollbar-thumb{background-color:orange;background-color:var(--theme-color)}.iconify{display:inline-block;position:relative;top:-.125em;vertical-align:middle;font-size:1rem;height:1em;width:1em}.iconify.iconify--small{font-size:.875rem}.iconify.iconify--large{font-size:1.25rem}.iconify.iconify--xlarge{font-size:1.5rem}.iconify.iconify--xxlarge{font-size:2rem}.site-header{position:relative;right:0;height:4.6875rem;height:var(--header-height);width:100%;z-index:10}.site-header:before,.site-header:after{content:"";display:table;table-layout:fixed}.site-header:after{clear:both}.site-header.iconsearch{font-size:1.125rem;position:relative;z-index:10}.site-header.iconsearch:hover{cursor:pointer;color:orange;color:var(--theme-color)}.site-header .header-inner{height:4.6875rem;height:var(--header-height);width:100%;display:block;margin:0 auto;position:fixed;padding:0 1.25rem;box-sizing:border-box;top:0;transition:top .3s ease-in-out}@media (max-width: 768px){.site-header,.site-header .header-inner{height:2.5rem;position:absolute}.site-header .header-inner{padding:0}}.yya .header-inner{position:fixed;top:0;top:var(--yya-header-top);background:#fff;background:var(--header-background);box-shadow:0 1px 40px -8px #00000080}.yya.sabit .header-inner{top:0}@media (max-width: 768px){.yya .header-inner{background:transparent;box-shadow:none}}.site-nav-toggle{display:none}@media (max-width: 768px){.site-nav-toggle{transition-duration:.5s;height:2.5rem;position:absolute;top:0;z-index:10;display:block;background:0 0}.site-nav-toggle.open{display:none}.site-nav-toggle .nav-toggle{background:0 0;width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center}.site-nav-toggle .nav-toggle .icon{transition-duration:.2s;width:1.875rem;height:3px;background-color:orange;background-color:var(--mobile-nav-toggle-background-color)}.site-nav-toggle .nav-toggle .icon:before,.site-nav-toggle .nav-toggle .icon:after{transition-duration:.5s;background-color:orange;background-color:var(--mobile-nav-toggle-background-color);position:absolute;content:"";width:1.875rem;height:3px}.site-nav-toggle .nav-toggle .icon:before{top:10px}.site-nav-toggle .nav-toggle .icon:after{bottom:10px}}.site-branding{float:left;position:relative;line-height:4.6875rem;line-height:var(--header-height);animation:sitetop 1s}.site-branding .site-title{margin:0}.site-branding .site-title a{color:#464646;color:var(--body-color);font-weight:400}.site-branding .site-title a:hover{color:orange;color:var(--theme-color)}.site-branding .site-title img:hover{opacity:1}.site-branding .site-title a,.site-branding .site-title img{height:2.5rem;width:2.5rem;margin-top:1rem;opacity:.75;-o-object-fit:cover;object-fit:cover;transition:color .2s ease-out,border .2s ease-out,opacity .2s ease-out}@media (max-width: 768px){.site-branding{float:right;height:2.5rem;line-height:2.5rem}.site-branding .site-title{font-size:1.25rem;margin-right:10px}.site-branding .site-title img{height:2rem;width:2rem;border-radius:100%;margin:0;vertical-align:middle}}@keyframes sitetop{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.header-user-avatar{position:relative;float:right;margin-left:1.25rem;margin-top:1.375rem;animation:fadeInRight 1s}.header-user-avatar img{border-radius:100%;cursor:pointer;height:1.875rem;-o-object-fit:cover;object-fit:cover}.header-user-avatar:hover .header-user-menu{display:block}@media (max-width: 768px){.header-user-avatar{display:none}}.header-user-menu{position:absolute;right:-11px;top:44px;display:none;overflow:hidden;animation:header-user-menu .4s;box-shadow:0 1px 40px -8px #00000080;border-radius:5px;text-align:center;background:#fff;background:var(--widget-background-color);width:-moz-max-content;width:max-content}.header-user-menu .herder-user-name{font-size:.75rem;padding:10px;border-radius:4px 4px 0 0}.header-user-menu .herder-user-name .herder-user-name-u{font-weight:700;font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-user-menu:before{content:"";position:fixed;top:46px;right:25px;margin-left:-10px;border-width:10px;border-style:solid;border-color:transparent transparent #fff;border-color:transparent transparent var(--widget-background-color)}.header-user-menu .user-menu-option{padding:5px 0;border-radius:0 0 4px 4px}.header-user-menu .user-menu-option a:hover{background-color:#fff;background-color:var(--header-user-option-hover-background-color)}.header-user-menu a{display:block;padding:6px 10px;margin:2px 0;width:6.875rem;color:#666;color:var(--color);font-size:13px}.header-user-menu .no-logged{font-size:.8125rem;padding:15px 10px;border-radius:4px;border:0}.header-user-menu .no-logged a{display:initial;font-size:.875rem;padding:0 5px;font-weight:700;text-decoration:none}@keyframes header-user-menu{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.searchbox{float:right;height:4.75rem;line-height:4.75rem;margin-left:1.25rem;animation:fadeInRight 1s}.searchbox .iconsearch{color:#464646;color:var(--body-color);cursor:pointer;font-size:1.875rem;transition:all .3s ease-in-out}@media (max-width: 768px){.searchbox{display:none}}.lower-container{text-align:center;pointer-events:none;width:100%;height:100%}.lower-container .lower{display:inline-block;margin:1rem 0 0 10px;font-size:1rem;position:relative;pointer-events:auto;animation:fadeInRight 1s}.lower-container .lower nav{position:relative;float:right;animation:fadeInRight .2s}.lower-container .lower nav ul{margin:0;padding:0;list-style:none;display:block}.lower-container .lower nav ul li{float:left;padding:0 .875rem;position:relative;transition:all 1s ease}.lower-container .lower nav ul li:hover ul{display:inline-block!important;transition:all .4s}.lower-container .lower nav ul li ul{display:none;opacity:1;position:absolute;background:#fff;background:var(--background-color);padding:.625rem;top:2.875rem;--parent-width: 100%;--current-width: min-content;width:auto;text-align:center;z-index:10;border-radius:5px;box-shadow:0 1px 40px -8px #00000080;animation:fadeInUp .3s .1s ease both}.lower-container .lower nav ul li ul:before{content:"";position:absolute;top:-20px;left:50%;margin-left:-10px;border-width:10px;border-style:solid;border-color:transparent transparent;border-bottom-color:#fff;border-bottom-color:var(--background-color)}.lower-container .lower nav ul li ul li{width:100%;padding:0}.lower-container .lower nav ul li ul li a:after{content:"";display:none}.lower-container .lower nav ul li a{padding:10px 0;display:inline-block;color:#666;color:var(--color);width:auto;white-space:nowrap}.lower-container .lower nav ul li a:hover{color:orange;color:var(--theme-color)}.lower-container .lower nav ul li a:after{content:"";display:block;position:absolute;bottom:-1rem;height:6px;background-color:orange;background-color:var(--theme-color);width:100%;max-width:0;transition:max-width .25s ease-in-out}.lower-container .lower nav ul li a:hover:after{max-width:60%}@media (max-width: 768px){.lower-container .lower{display:none}.lower-container .lower nav ul li .animated-hover svg{display:inline}}@media (max-width: 1280px){.lower-container .lower{left:15px}.lower-container .lower nav.hide{display:none}}@keyframes fadeInRight{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0)}}.main{position:relative}.wrapper{animation:fade-in;animation-duration:.5s}@media (max-width: 768px){.wrapper{transition-duration:.5s;width:100%;height:auto;position:relative}.wrapper section h1{font-weight:300;font-size:1.875rem;margin-bottom:.625rem}.wrapper section h2{font-weight:300;font-size:1.25rem;margin-bottom:2.5rem}.wrapper section p{margin-bottom:2.5rem}}@media screen and (max-width: 860px){.wrapper section .gallery-caption p{margin-bottom:0}}@keyframes fade-in{0%{opacity:0}40%{opacity:0}to{opacity:1}}.sidebar{position:absolute;height:100%;top:0;right:-20px}.sidebar .sidebar-inner .toc-container{width:12.5rem;height:100%;background-color:#fff0;transform:translate(0);position:absolute;padding-top:10px;padding-bottom:10px}.sidebar .sidebar-inner .toc-container .toc{overflow-y:auto;position:sticky;top:6.25rem;max-height:80vh;transition:background 1s}.sidebar .sidebar-inner .toc-container .toc>.toc-list{overflow:hidden;position:relative;margin:0;padding-left:10px}.sidebar .sidebar-inner .toc-container .toc>.toc-list li{list-style:none}.sidebar .sidebar-inner .toc-container .toc .toc-list{margin:0;padding-left:10px}.sidebar .sidebar-inner .toc-container .toc a.toc-link{color:#666;color:var(--entry-content-list-color);height:100%}.sidebar .sidebar-inner .toc-container .toc a.toc-link:before{background-color:#eee;content:" ";display:inline-block;height:inherit;left:0;margin-top:-1px;position:absolute;width:2px}@media (max-width: 768px){.sidebar .sidebar-inner .toc-container{display:none}}.site-content{max-width:780px;max-width:var(--site-content-max-width);margin-left:auto;margin-right:auto;background-color:transparent}.site-content:before,.site-content:after{content:"";display:table;table-layout:fixed}.site-content:after{clear:both}@media (max-width: 768px){.site-content{padding:0 4%}}.main-inner{position:relative}.site-footer{background-color:#fff;background-color:var(--background-color);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:auto auto 2%;transition:all .8s ease;position:relative}.site-footer:before,.site-footer:after{content:"";display:table;table-layout:fixed}.site-footer:after{clear:both}.site-footer .site-info{margin:2rem auto;text-align:center;font-size:.8125rem;color:#b0b0b0}.site-footer .site-info a{color:#b0b0b0}.site-footer .site-info a:hover{color:orange;color:var(--theme-color)}@media (max-width: 1024px){.site-footer{padding:30px}}.footer-logo p{width:2rem;height:2rem;opacity:.8;margin:0 auto;background-size:cover;background-position:center center;background-repeat:no-repeat;animation:poi-deg 12s infinite linear}@keyframes poi-deg{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.footer-copyright p{font-family:Ubuntu,sans-serif}.footer-copyright p span .iconify{font-size:inherit;color:#e74c3c}.footer-copyright p span a{text-decoration:none}.footer-device{display:flex;justify-content:center}.footer-device p{margin:0 4px 0 0}.site-sidebar{width:0;height:100%;position:fixed;left:0;top:0;background-color:#fff;background-color:var(--background-color);overflow:hidden;z-index:9;pointer-events:none;transition:width .5s ease-out}.site-sidebar:after,.site-sidebar:before{transition:left .5s;background:orange;background:var(--theme-color);position:fixed;content:"";width:1.875rem;height:.1875rem;top:20px;left:-100px;pointer-events:auto;opacity:0}.site-sidebar.open{width:15.625rem}.site-sidebar.open:before,.site-sidebar.open:after{left:260px;opacity:1}.site-sidebar.open:before{transform:rotate(-45deg)}.site-sidebar.open:after{transform:rotate(45deg)}.site-sidebar .sidebar-inner{height:100%;width:100%;pointer-events:auto}.mobile-sidebar{display:flex;flex-direction:column;align-items:center;overflow:hidden;height:100%}.mobile-sidebar .avatar{padding:30px 0}.mobile-sidebar .avatar img{width:5.625rem;height:5.625rem;border-radius:100%;-o-object-fit:cover;object-fit:cover}.mobile-sidebar .glitch-text{text-align:center;color:#333;color:var(--mobile-menu-text-color);font-weight:900;font-family:Ubuntu,sans-serif;letter-spacing:1.5px}.mobile-sidebar .socials{display:flex;justify-content:center}.mobile-sidebar .socials .social-item{margin:0 10px}.mobile-sidebar .search form{position:relative;width:15.625rem;max-width:15.625rem;margin:0 0 20px;padding:8px 15px;background-color:#fff}.mobile-sidebar .search form input{width:100%;border:0;padding:5px;text-align:center;border-radius:3px;outline:none}.mobile-sidebar .navbar{overflow-x:hidden;overflow-y:auto;width:100%;height:100%}.mobile-sidebar .navbar ul,.mobile-sidebar .navbar li{display:flex;flex-direction:column;align-items:center;margin:0}.mobile-sidebar .navbar ul:hover li{color:#ffffff80}.mobile-sidebar .navbar ul li{transition-duration:.25s;padding:8px 0;color:#fff;letter-spacing:.02em}.mobile-sidebar .navbar ul li a{color:#333;color:var(--mobile-menu-text-color);font-size:1rem;width:4.375rem}.mobile-sidebar .navbar ul li a:hover{cursor:pointer;color:orange;color:var(--theme-color)}.mobile-sidebar .navbar li ul{margin:0}.mobile-sidebar .navbar li ul li{padding:5px 0}.mobile-sidebar .navbar li ul li a{font-size:.875rem}.mobile-sidebar .navbar>ul{margin-left:-2.5rem}.mobile-sidebar .footer{height:3.125rem;background:#fff;background:var(--background-color);width:100%;display:flex;align-items:center;justify-content:center;position:relative;bottom:0;box-shadow:0 0 4px #000000e6,0 2px 2px #0000003d}.mobile-sidebar .footer p{text-align:center;font-size:.875rem;color:#b0b0b0;width:100%;height:1.25rem}.comment{margin-top:1em}.container{transition:background 1s}@media (max-width: 768px){.container{transition-duration:.5s;position:relative;overflow:hidden;z-index:2}.container.open:before{content:"";width:100%;height:100%;position:fixed;background-color:#0006;z-index:9}}.loading{background-position:center;background-repeat:no-repeat;color:#504e4e;border:none;background-size:auto 100%;box-shadow:none;background-color:inherit;background-image:none;background-image:var(--loading-image)}.list-pagination{width:100%;text-align:center;display:inline-block;margin:5rem 0}.list-pagination a{padding:1rem 2.5rem;border:1px solid #ccc;border-radius:3rem;color:#b0b0b0;display:inline-block}.list-pagination a:hover{border:1px solid orange;border:1px solid var(--theme-color);color:orange;color:var(--theme-color);box-shadow:0 0 4px orange;box-shadow:0 0 4px var(--theme-color)}.list-pagination span{color:#999;font-size:1rem}.list-navigator{text-align:center;margin:4rem 0;display:block}.list-navigator a{display:inline-block;height:3rem;width:3rem;padding:.625rem;border:2px solid #ddd;border-radius:50%;box-sizing:border-box}.list-navigator a:hover{color:#fff;background:orange;background:var(--theme-color);border:2px solid orange;border:2px solid var(--theme-color);transition:all .2s ease-in-out}.list-navigator .iconify{font-size:1rem;color:#ccc}@media (max-width: 768px){.list-navigator{margin:0}}.post-pagination{overflow:hidden;width:100%;margin:3rem 0;background:#000;display:flex}.post-pagination .pagination-container{position:relative;flex:1;height:10rem}.post-pagination .pagination-container a{display:inline-block;height:100%;width:100%}.post-pagination .pagination-container img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:.4;transition:opacity .15s ease-out}.post-pagination .pagination-container img:hover{opacity:.6}.post-pagination .pagination-container .label,.post-pagination .pagination-container .info{position:absolute;font-size:.875rem}.post-pagination .pagination-container .label{top:2.5em;display:block;text-transform:uppercase;color:#ffffffb3}.post-pagination .pagination-container .info{bottom:2.5em}.post-pagination .pagination-container .info h3{font-size:1rem;font-weight:400;line-height:2rem;margin:2em 0;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.post-pagination .previous .label,.post-pagination .previous .info{left:2.5em}.post-pagination .next .label,.post-pagination .next .info{right:2.5em}@media (max-width: 768px){.post-pagination{flex-direction:column}.post-pagination .pagination-container{flex:auto}}.cd-top{display:block;display:var(--cd-top-display);z-index:9;position:fixed;top:-900px;right:1.5rem;width:4.5rem;height:900px;background-size:contain;transition:all .5s ease-in-out;opacity:1;background:none no-repeat center;background:var(--cd-top-image);cursor:inherit;cursor:var(--cursor-hover)}.cd-top.cd-is-visible{top:-326px}.cd-top:hover,.cd-top.cd-fade-out,.cd-top.cd-is-visible{opacity:1}.cd-top span{display:none;color:#000;position:absolute;bottom:0;height:20px;width:50px;text-align:center}@media screen and (max-width: 860px){.cd-top{display:none;height:60px;width:50px}.cd-top span{height:10px;width:50px}}.m-cd-top{display:none;display:var(--mobile-cd-top-display);bottom:70px;bottom:var(--mobile-cd-top-bottom);opacity:0;position:fixed;font-size:1rem;right:10px;width:3rem;height:3rem;z-index:9;border:0;outline:0;background-color:#fff;background-color:var(--widget-background-color);color:orange;color:var(--theme-color);cursor:pointer;padding:1rem;border-radius:8px;box-shadow:0 0 2px #0000001f,0 2px 2px #0000003d;overflow:hidden;transition:all .3s ease}.m-cd-top.cd-is-visible{opacity:1}@media screen and (max-width: 860px){.m-cd-top{display:block}}.aplayer.aplayer-fixed{background:var(--aplayer-background-color);color:var(--aplayer-color)}.aplayer.aplayer-fixed .aplayer-list{border:var(--aplayer-list-border)!important}.aplayer.aplayer-fixed .aplayer-list ol li{border-top:var(--aplayer-list-top-border)}.aplayer.aplayer-fixed .aplayer-list ol li:hover{background:var(--aplayer-list-hover-background-color)}.aplayer.aplayer-fixed .aplayer-list ol li.aplayer-list-light{background:var(--aplayer-list-light-background-color)!important}.aplayer.aplayer-fixed .aplayer-list ol li .aplayer-list-author{color:var(--aplayer-list-author-color)}.aplayer.aplayer-fixed .aplayer-body{background:var(--aplayer-background-color)!important;color:var(--aplayer-color)}.aplayer.aplayer-fixed .aplayer-body .aplayer-info{border-top:var(--aplayer-list-top-border)}.aplayer.aplayer-fixed .aplayer-body .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover path{fill:orange;fill:var(--theme-color)}.aplayer.aplayer-fixed .aplayer-body .aplayer-miniswitcher{background:var(--aplayer-body-miniswitcher-background-color);color:var(--aplayer-color)}.aplayer.aplayer-fixed .aplayer-body .aplayer-miniswitcher:hover path{fill:orange;fill:var(--theme-color)}.aplayer.aplayer-fixed .aplayer-lrc{text-shadow:var(--aplayer-lrc-text-shadow)}.aplayer .aplayer-list ol::-webkit-scrollbar-thumb{background-color:orange!important;background-color:var(--theme-color)!important}.aplayer .aplayer-list ol::-webkit-scrollbar-thumb:hover{background-color:orange!important;background-color:var(--theme-color)!important}.aplayer .aplayer-lrc{pointer-events:none}.aplayer .aplayer-lrc:before,.aplayer .aplayer-lrc:after{background:rgba(255,255,255,0);filter:none}.aplayer .aplayer-lrc .aplayer-lrc-current{color:orange;color:var(--theme-color);font-size:15px;font-weight:700}.aplayer .aplayer-icon,.aplayer .aplayer-miniswitcher{border-radius:0 6px 6px 0!important}.aplayer-narrow .ap-hover{border-radius:0 6px 6px 0!important;left:-66px!important}.aplayer-narrow .ap-hover:hover{left:0!important}.lazyload{filter:blur(0px);transition:.3s filter linear}.lazyload[src*="#lazyload-blur"],.lazyload[style*="#lazyload-blur"]{filter:blur(10px)}.blur-up{filter:blur(5px);transition:filter .4s}.blur-up.lazyloaded{filter:blur(0)}.change-skin-gear{position:fixed;bottom:-999px;right:5px;width:auto;height:auto;z-index:9;visibility:visible;white-space:nowrap;padding:10px;cursor:pointer;border-radius:10px 10px 0 0}.change-skin-gear svg{display:inline-block}@media (max-width: 768px){.change-skin-gear{display:none!important}.change-skin-gear span:before{content:""}.change-skin-gear svg{font-size:20px}}.rotating{animation:rotating 3s linear infinite}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mobile-change-skin{display:none;position:fixed;bottom:1rem;right:10px;width:3rem;height:3rem;z-index:9;border:0;outline:0;opacity:0;background-color:#fff;background-color:var(--widget-background-color);color:orange;color:var(--theme-color);cursor:pointer;padding:1rem;border-radius:8px;box-shadow:0 0 2px #0000001f,0 2px 2px #0000003d;transition:all .3s ease}.mobile-change-skin.cd-is-visible{opacity:1}.mobile-change-skin svg{display:inline-block}@media (max-width: 768px){.mobile-change-skin{display:block}}.skin-menu{position:fixed;bottom:3rem;right:2rem;height:auto;width:14rem;border-radius:5px;background-color:#fff;background-color:var(--widget-background-color);box-shadow:0 1px 40px -8px #00000080;z-index:9;font-family:Ubuntu,sans-serif;transform:scaleX(0);transition:.5s}.skin-menu.show{transform:scaleX(1)}.skin-menu:after{content:"";position:absolute;bottom:-1rem;left:50%;margin-left:-.375rem;border-width:.5rem;border-style:solid;border-color:#fff transparent transparent;border-top-color:#fff;border-top-color:var(--widget-background-color)}.skin-menu .row-container{height:auto;margin:0;padding:0;text-align:center}.skin-menu .row-container.font-family-controls{padding:3px 12px 16px}.skin-menu .row-container .menu-list{display:block;text-align:center;padding:0;margin:10px auto}.skin-menu .menu-list li{display:inline-block;margin:6px;line-height:2.25rem;width:2.25rem;background-color:#fff;background-color:var( --theme-item-background-color);border-radius:50%;cursor:pointer}.skin-menu .menu-list li:hover{background-color:orange;background-color:var(--theme-color);color:orange;color:var(--theme-color)}.skin-menu .menu-list li:hover svg{color:#fff}@media (max-width: 768px){.skin-menu{bottom:1rem;right:70px;transform:scaleY(0)}.skin-menu.show{transform:scaleY(1)}.skin-menu:after{display:none}}.search-form.is-visible{visibility:visible;animation:search-visible .5s;background-repeat:no-repeat;background-position:bottom right}.search-form div{position:relative}.search-form svg{font-size:2rem;line-height:1;color:#ddd;position:absolute;bottom:1rem;margin-top:-1rem;left:1rem}.search-form input{font-size:1.5rem;background:#fff;background:var(--background-color);padding:.75rem 1.5rem .75rem 4rem;width:100%;outline:none;border-radius:50px;box-sizing:border-box;transition:background 1s}.search-form input::-webkit-input-placeholder,.search-form input::-moz-placeholder,.search-form input:-ms-input-placeholder{color:#ddd}.search-form .search_close{position:absolute;width:2.25rem;height:2.25rem;background:0 0;top:20px;right:15px;cursor:pointer}.search-form .search_close:before,.search-form .search_close:after{background-color:#222;position:absolute;content:"";width:1.875rem;height:.125rem;top:17px;left:2px;transform:rotate(-45deg)}.search-form-modal{transition:visibility .25s ease,opacity .25s ease;overflow:hidden;z-index:9;position:fixed;top:0;right:0;left:0;bottom:0;background:#fff;background:var(--background-color);visibility:hidden;opacity:0}.search-form-modal .search-form-inner{max-width:640px;padding:0 20px;margin:auto;text-align:left;position:absolute;width:100%;left:0;right:0;height:285px;top:0;bottom:0}.search-form-modal .search-form-inner p{padding-left:24px}@keyframes search-visible{0%{transform:scale(0)}55%{transform:scale(1)}70%{transform:scale(.98)}to{transform:scale(1)}}.centerbg{width:100%;height:100vh;height:var(--first-screen-height);margin:0;padding:0;position:relative}@media (max-width: 768px){.centerbg{height:18.75rem;background-attachment:scroll}}.centerbg .cover-bg{position:absolute;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.centerbg .blend-overlay{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.3;mix-blend-mode:hard-light;background:none;background:var(--first-screen-background-blend-overlay)}.focusinfo{position:relative;z-index:2;text-align:center;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:.4s ease all}.focusinfo img{width:8.125rem;height:8.125rem;padding:2px;border-radius:100%}@media (max-width: 768px){.focusinfo{display:none}}.header-tou img{box-shadow:inset 0 0 10px #000;padding:.3125rem;opacity:1;transform:rotate(0);transition:all ease 1s}.header-tou img:hover{transform:rotate(360deg)}.center-text{margin:0;font-family:Ubuntu,sans-serif;font-size:5rem;transition:background 1s}.glitch{position:relative;color:#fff;mix-blend-mode:lighten;overflow:hidden;white-space:nowrap}.glitch:before,.glitch:after{content:attr(data-text);position:absolute;top:0;width:100%;background:rgba(0,0,0,0);clip:rect(0,0,0,0)}.glitch:before{left:-1px;text-shadow:1px 0 #ff3b00}.glitch:after{left:1px;text-shadow:-1px 0 #00a1d6}.glitch:hover:before{text-shadow:4px 0 #ff3b00;animation:glitch-loop-1 .8s infinite ease-in-out alternate-reverse}.glitch:hover:after{text-shadow:-5px 0 #00a1d6;animation:glitch-loop-2 .8s infinite ease-in-out alternate-reverse}.glitch+.header-info:before{top:-1.875rem;content:""}@keyframes glitch-loop-1{0%{clip:rect(36px,9999px,9px,0)}25%{clip:rect(25px,9999px,99px,0)}50%{clip:rect(50px,9999px,102px,0)}75%{clip:rect(30px,9999px,92px,0)}to{clip:rect(91px,9999px,98px,0)}}@keyframes glitch-loop-2{0%{top:-1px;left:1px;clip:rect(65px,9999px,119px,0)}25%{top:-6px;left:4px;clip:rect(79px,9999px,19px,0)}50%{top:-3px;left:2px;clip:rect(68px,9999px,11px,0)}75%{top:0;left:-4px;clip:rect(95px,9999px,53px,0)}to{top:-1px;left:-1px;clip:rect(31px,9999px,149px,0)}}.header-info{max-width:30%;position:relative;margin:0;font-size:1rem;color:#eaeadf;color:var(--first-screen-header-info-text-color);background:rgba(0,0,0,.5);background:var(--first-screen-header-info-background-color);padding:1rem;letter-spacing:0;line-height:2rem;border-radius:10px;box-sizing:initial;white-space:nowrap;margin-top:1.25rem}.header-info:before{position:absolute;left:30%;border-width:15px;border-style:solid;border-color:transparent;border-bottom-color:#00000080;border-bottom-color:var(--first-screen-header-info-background-color)}.header-info p{margin:0;font-family:Ubuntu,sans-serif;font-weight:700;overflow:hidden;white-space:nowrap;transition:color .4s}.header-info .desc{overflow:hidden;white-space:normal;text-overflow:clip;word-break:keep-all;display:inline}.top-social{display:flex;justify-content:center;height:1.625rem;margin-top:1rem;list-style:none}.top-social img{height:1.75rem;width:1.75rem;padding:0;background:0 0}.top-social ul{list-style:none;margin:0;padding:0;display:flex}.top-social ul li{float:left;margin-right:10px}.top-social .flipx{transform:scaleX(-1);filter:FlipH}.top-social .wechat{height:2rem;width:2rem;position:relative}.top-social .wechat .wechatInner{width:8rem;height:8rem;padding:.625rem;background:rgba(0,0,0,.4);left:-3.5rem;opacity:0;position:absolute;border-radius:8px;transition:.7s all ease;transform:translate3d(0,3rem,0)}.top-social .wechat .wechatInner:before{content:"";position:absolute;top:-2rem;left:50%;margin-left:-1rem;border-width:1rem;border-style:solid;border-color:transparent transparent rgba(0,0,0,.4) transparent}.top-social .wechat .wechatInner img{border-radius:0;width:8rem;height:8rem;padding:0;background:0 0}.top-social .wechat:hover .wechatInner{transform:translate3d(0,16px,0);opacity:1;visibility:visible}.video-container{position:absolute;top:0;left:0;margin:0;padding:0;width:100%;height:100vh}.video-container video{z-index:0;width:100vw;height:100vh;-o-object-fit:fill;object-fit:fill}.video-container .controls{position:absolute;bottom:.625rem;right:.625rem;z-index:3}.video-container .controls .video-btn{background-position:center;background-size:cover;cursor:pointer;opacity:.8;animation:poi-face 10s linear infinite alternate;width:2rem;height:2rem}.video-container .controls .video-btn:hover{opacity:1}.video-container .controls .video-btn.video-play{background-image:var(--video-play-image)}.video-container .controls .video-btn.video-pause{background-image:var(--video-pause-image);display:none}.video-container .video-status{position:absolute;bottom:-6.25rem;left:0;right:0;margin:auto;padding:.625rem 0;text-align:center;color:#fff;width:100%;background-color:#000c;border-radius:0;font-size:1.125rem;transition:.4s ease all}@media (max-width: 768px){.video-container{display:none}}@keyframes poi-face{2%,24%,80%{transform:translateY(1.5px) rotate(1.5deg)}4%,68%,98%{transform:translateY(-1.5px) rotate(-.5deg)}38%,6%{transform:translateY(1.5px) rotate(-1.5deg)}8%,86%{transform:translateY(-1.5px) rotate(-1.5deg)}10%,72%{transform:translateY(2.5px) rotate(1.5deg)}12%,64%,78%,96%{transform:translateY(-.5px) rotate(1.5deg)}14%,54%{transform:translateY(-1.5px) rotate(1.5deg)}16%{transform:translateY(-.5px) rotate(-1.5deg)}18%,22%{transform:translateY(.5px) rotate(-1.5deg)}20%,36%,46%{transform:translateY(-1.5px) rotate(2.5deg)}26%,50%{transform:translateY(.5px) rotate(.5deg)}28%{transform:translateY(.5px) rotate(1.5deg)}30%,40%,62%,76%,88%{transform:translateY(-.5px) rotate(2.5deg)}32%,34%,66%{transform:translateY(1.5px) rotate(-.5deg)}42%{transform:translateY(2.5px) rotate(-1.5deg)}44%,70%{transform:translateY(1.5px) rotate(.5deg)}48%,74%,82%{transform:translateY(-.5px) rotate(.5deg)}52%,56%,60%{transform:translateY(2.5px) rotate(2.5deg)}58%{transform:translateY(.5px) rotate(2.5deg)}84%{transform:translateY(1.5px) rotate(2.5deg)}90%{transform:translateY(2.5px) rotate(-.5deg)}92%{transform:translateY(.5px) rotate(-.5deg)}94%{transform:translateY(2.5px) rotate(.5deg)}0%,to{transform:translate(0) rotate(0)}}.headertop-down{position:absolute;bottom:3.125rem;left:50%;cursor:pointer;z-index:3}.headertop-down .iconify{font-size:1.75rem;color:#fff;transform:scaleX(1.5)}@media (max-width: 768px){.headertop-down{display:none}}h1 a{color:#504e4e}h1 a:hover{color:orange;color:var(--theme-color)}.entry-footer{list-style:none}.hotpost{color:#ff3b00}.page-header{position:relative;text-align:center;margin-bottom:3rem;color:#999}@media (max-width: 768px){.page-header{margin-bottom:0}}.post-list{margin:0 0 4rem;position:relative;animation:main .6s}.post-list p{min-height:3.75rem;font-size:.9375em;color:#000000a8;color:var(--post-list-thumb-abstract-color);letter-spacing:0;line-height:1.875rem;transition:color 1s;margin:0;padding:0;padding-left:1.25rem;display:-webkit-box}.post-list hr{width:30%;height:1px;margin:0 auto;border:0;background:#eee;margin-top:1.25rem;transition:background 1s}.post-list:hover .entry-footer .info-meta{transform:translate3d(-130px,0,0);opacity:1;visibility:visible}.post-list .feature{margin-top:1rem;float:left}.post-list .feature:hover .overlay .overlay-inner{opacity:1}.post-list .feature .overlay-inner{display:inline-block;position:absolute;font-size:1.5625rem;color:#fff;width:6.625rem;height:6.625rem;line-height:6.625rem;text-align:center;background:#bbe2db;opacity:0;z-index:1;border-radius:0;border-radius:var(--standard-post-list-border-radius);transition:opacity .4s ease-out}.post-list .feature .overlay-inner .iconify{font-size:1.875rem;background:transparent;color:orange;color:var(--theme-color)}.post-list .feature img{width:6.25rem;height:6.25rem;padding:2px;border:1px solid #ddd;box-sizing:content-box;position:relative;-o-object-fit:cover;object-fit:cover;border-radius:0;border-radius:var(--standard-post-list-border-radius)}.post-list h1.entry-title{font-size:1.25rem;font-weight:400;line-height:3.125rem;position:relative;z-index:1;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65%;margin-left:1.25rem}.post-list h1.entry-title:hover{color:orange;color:var(--theme-color)}.post-list .entry-title a{color:#504e4e;color:var(--post-list-thumb-title-color)}.post-list .entry-footer .post-more{margin-top:.625rem;text-align:right}.post-list .entry-footer .post-more .iconify{font-size:1.875rem;color:#666;color:var(--post-list-thumb-more-color)}.post-list .entry-footer .post-more .iconify:hover{color:orange;color:var(--theme-color)}.post-list .entry-footer .info-meta{position:absolute;top:3rem;opacity:0;padding-top:.5rem;border-top:1px solid #ddd;visibility:hidden;transition:.6s all ease}.post-list .entry-footer .info-meta span{color:#999;font-size:.8125rem;vertical-align:bottom}.post-list .entry-footer .info-meta .iconify{margin-right:.625rem}.post-list .entry-footer .info-meta a{color:#999}.post-list .entry-footer .info-meta .comnum{float:left;width:100%}.post-list .entry-footer .p-time{position:absolute;right:0;top:1rem;font-size:.75rem;color:#999;letter-spacing:0}.post-list .entry-footer .p-time .iconify{scale:1.2;margin-right:5px}@media (max-width: 768px){.post-list p{font-size:.875rem;overflow:hidden}.post-list .feature img{width:3.25rem;height:3.25rem}.post-list .feature .overlay{display:none}.post-list h1.entry-title{font-size:1rem;line-height:1.875rem}.post-list .entry-footer .post-more{display:none}}@media (max-width: 1024px){.post-list .entry-footer .info-meta{display:none}}.post-list-thumb{display:flex;width:100%;height:18.75rem;position:relative;margin:1.25rem 0;border-radius:10px;background-color:#fff;background-color:var(--background-color);box-shadow:0 1px 20px -6px #00000080;box-shadow:var(--post-list-thumb-box-shadow);opacity:1;animation:main .6s;transition:box-shadow .3s ease}.post-list-thumb:hover img{transform:scale(1.1)}.post-list-thumb .post-thumb{min-width:55%}.post-list-thumb .post-thumb a{height:18.75rem;position:relative;display:block;background-repeat:no-repeat;background-size:cover;overflow:hidden;border-radius:0 10px 10px 0}.post-list-thumb .post-thumb a img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;transition:all .6s}.post-list-thumb .post-content-wrap{position:relative;display:inline-block;padding-left:0;width:100%;padding:0 1.875rem;margin-top:1.25rem}.post-list-thumb .post-content-wrap .post-date{color:#505050;color:var(--post-list-thumb-meta-color);font-size:.75rem;transition:background 1s}.post-list-thumb .post-content-wrap .post-meta,.post-list-thumb .post-content-wrap .post-meta a{color:#505050;color:var(--post-list-thumb-meta-color);font-size:.75rem}.post-list-thumb .post-content-wrap .post-meta .comments-number{margin:0 .625rem}.post-list-thumb .post-content-wrap .float-content{position:relative;width:100%;right:0;margin:0;padding:0;z-index:9;color:#000000a8;color:var(--post-list-thumb-abstract-color)}.post-list-thumb .post-content-wrap .float-content .post-text{display:inline-block;text-align:justify;font-size:.875rem}.post-list-thumb .post-content-wrap .float-content .iconify{font-size:1.875rem;color:#666;color:var(--post-list-thumb-more-color);margin-right:5px}.post-list-thumb .post-content-wrap .float-content .iconify:hover{color:orange;color:var(--theme-color)}.post-list-thumb .post-content-wrap .float-content p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;height:4.375rem;overflow:hidden;text-align:left}.post-list-thumb.post-list-thumb-right{flex-direction:row-reverse}.post-list-thumb.post-list-thumb-right .post-content-wrap,.post-list-thumb.post-list-thumb-right .post-content-wrap .float-content p{text-align:right}.post-list-thumb.post-list-thumb-right .post-thumb a{border-radius:10px 0 0 10px}.post-list-thumb .post-title{color:#504e4e;color:var(--post-list-thumb-title-color)}.post-list-thumb .post-title h1{font-size:1.17em;margin:1em 0;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-wrap:break-word}@media (max-width: 768px){.post-list-thumb{margin:0;height:auto;padding:0;border:0;margin-bottom:1.25rem}.post-list-thumb,.post-list-thumb.post-list-thumb-right{flex-direction:column-reverse}.post-list-thumb:before{content:"";width:1px;height:100px;background-color:#0000;position:absolute;left:0;right:0;margin:auto;bottom:-6.375rem;z-index:0}.post-list-thumb .post-thumb{width:100%;left:0}.post-list-thumb .post-thumb a{border-radius:10px 10px 0 0}.post-list-thumb .post-content-wrap{width:100%;left:0;text-align:left;margin:0;padding:1.25rem;float:none;box-shadow:none;box-sizing:border-box;border-top:0}.post-list-thumb .post-content-wrap .float-content{width:100%;left:0;box-shadow:none;padding:0;margin:0;transition:color 1s}.post-list-thumb .post-content-wrap .float-content p{height:auto;display:block}.post-list-thumb .post-content-wrap .float-content .post-bottom{display:none;text-align:right}.post-list-thumb.post-list-thumb-right .post-content-wrap,.post-list-thumb.post-list-thumb-right .post-content-wrap .float-content p{text-align:left}.post-list-thumb.post-list-thumb-right .post-thumb a{border-radius:10px 10px 0 0}}@media (max-width: 640px){.post-list-thumb .post-thumb a{height:13.125rem}.post-list-thumb .post-content-wrap .float-content .post-text{font-size:.8125rem;margin-bottom:1em}}.page-none-content{margin:1.5em 0 0}.page-none-content .page-header .page-title{font-size:1.25rem;font-weight:400;border:1px dashed #ddd;padding:.625rem .9375rem;color:#7d7d7d;margin-bottom:1.875rem}.meta-container{display:flex;margin:0;font-size:.875rem;padding:1.125rem 0 0}.meta-container .post-meta-item{display:flex;align-items:center}.meta-container .post-meta-item img{width:2.25rem;height:2.25rem;border-radius:100%;margin-right:.75rem;display:block;-o-object-fit:cover;object-fit:cover}.meta-container .post-meta-item:not(:last-child):after{content:"·";margin:0 .3125rem}@media (max-width: 768px){.meta-container{flex-wrap:wrap}}.entry-content{margin-top:1.25rem;position:relative}.entry-content:before,.entry-content:after{content:"";display:table;table-layout:fixed}.entry-content:after{clear:both}.entry-content .begin{float:left;font-size:3.6em;line-height:1em;margin-right:3px;margin-top:2px;font-weight:700}.entry-content h2:after{content:"¶";position:absolute;color:#ff6d6d;font-family:serif;padding-left:6px;font-size:1em}.entry-content h3{padding-bottom:.5em;border-bottom:1px dashed #ddd;color:#7d7d7d}.entry-content h3:after{content:"#"}.entry-content h4:after{content:"▌"}.entry-content h5:after{content:"♯"}.entry-content h3,.entry-content h4,.entry-content h5{padding-left:1em}.entry-content h3:after,.entry-content h4:after,.entry-content h5:after{left:0;position:absolute;color:#ff6d6d}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{color:#000;color:var(--entry-content-heading-color)}.entry-content a{color:#e67474;position:relative}.entry-content a:hover{color:orange;color:var(--theme-color);text-decoration:none}.entry-content a:hover:after{transform:scaleX(1);transform-origin:bottom left}.entry-content a:after{content:"";position:absolute;width:100%;transform:scaleX(0);height:2px;bottom:0;left:0;background-color:orange;background-color:var(--theme-color);transform-origin:bottom right;transition:transform .25s ease-out}.entry-content a img.alignleft,.entry-content a img.alignright,.entry-content a img.aligncenter{cursor:-webkit-zoom-in}.entry-content p{color:#7d7d7d;color:var(--entry-content-text-color);line-height:1.875em}.entry-content hr{margin-top:2.5em;margin-bottom:2.5em;display:block;border:0;text-align:center;background:0 0}.entry-content hr:before{content:"...";display:inline-block;margin-left:.6em;color:#000c;position:relative;top:-1.875em;font-size:1.75em;letter-spacing:.6em}.entry-content code:not(.hljs){background:#fefac7;color:#e67474;word-break:break-word;font-family:Source Code Pro,monospace;padding:2px;text-shadow:none;border-radius:5px}.entry-content ol,.entry-content ul{list-style:disc;border:1px dashed #ddd;padding:1em .625em 1em 3.125em;color:#666;color:var(--entry-content-list-color);margin-left:0;border-radius:10px}.entry-content ol li,.entry-content ul li{padding:8px 0}.entry-content p,.entry-content ul,.entry-content ol{transition:color 1s}.entry-content .post-password-form{text-align:center}.entry-content .wp-smiley{border:none;margin-bottom:0;margin-top:0;padding:0}.entry-content .table-wrapper{overflow:auto;color:#000;color:var(--entry-content-table-color)}.entry-content .table-wrapper::-webkit-scrollbar{height:4px;width:4px}.entry-content .table-wrapper::-webkit-scrollbar-track-piece{background:transparent}.entry-content .table-wrapper::-webkit-scrollbar-thumb{background:rgba(176,176,176,.4);cursor:pointer;border-radius:2px}.entry-content .table-wrapper::-webkit-scrollbar-thumb:hover{background:#b0b0b0}.entry-content .table-wrapper>table{border-collapse:collapse;overflow:auto;max-width:100%;margin-right:.5rem;vertical-align:text-top}.entry-content .table-wrapper>table th{background-color:#0000001a}.entry-content .table-wrapper>table tr{word-break:keep-all}.entry-content .table-wrapper>table tr:nth-child(2n){background-color:#fff;background-color:var(--background-color)}.entry-content .table-wrapper>table td,.entry-content .table-wrapper>table th{padding:.5em 1em;border:1px solid #ddd;line-height:1.5;font-size:.9em}.entry-content .table-wrapper>table tbody>tr{transition:all .28s ease}.entry-content .table-wrapper>table tbody>tr:hover{background-color:#0003}@media (max-width: 768px){.entry-content p{font-size:.875em}.entry-content .begin{margin-top:6px}}.serif .entry-content h2:after{font-size:1.13em}.post-footer .single-reward{position:relative;width:100%;margin:2.25rem auto;text-align:center;z-index:1}.post-footer .single-reward .reward-open{position:relative;width:2.5rem;height:2.5rem;font-size:1.125rem;color:#fff;line-height:2.5rem;display:inline-block;border-radius:100%;background:#d34836;cursor:pointer}.post-footer .single-reward .reward-open:hover .reward-main{display:block!important}.post-footer .single-reward .reward-main{position:absolute;left:-9.375rem;margin:0;padding:1rem 0 0;background:0 0;display:none;animation:main .4s}.post-footer .single-reward .reward-row{margin:0;background:#fff;display:flex;border-radius:4px;cursor:auto;padding:1rem}.post-footer .single-reward .reward-row:before{content:"";width:0;height:0;border-left:.8125rem solid transparent;border-right:.8125rem solid transparent;border-bottom:.8125rem solid #fff;position:absolute;top:.3rem;left:0;right:0;margin:0 auto}.post-footer .single-reward .reward-row li{list-style-type:none;padding:0 .75rem;display:inline-block}.post-footer .single-reward .reward-row li img{width:8.125rem;max-width:8.125rem;border-radius:3px;position:relative}.post-footer .single-reward .reward-row li .reward-name{display:block;line-height:normal;font-size:.8125rem;color:#504e4e}.post-footer .post-footer-meta{padding-top:1.25rem;padding-bottom:1.875rem;border-bottom:1px dashed #ddd;border-top:1px dashed #ddd;margin-top:1.875rem}@media (max-width: 768px){.post-footer p{font-size:.875rem}.post-footer .post-footer-meta{display:none}}.post-license{text-align:center;padding-bottom:5px;font-size:.875rem}.post-license a{color:#b0b0b0}.post-license a:hover{color:#888}.post-tags{float:left;font-size:.8125rem;color:#b0b0b0;text-transform:uppercase}.post-tags a{color:#b0b0b0;margin-right:5px}.post-tags a:hover{color:var(--threme-color)}.post-tags svg{margin-right:5px}@media (max-width: 768px){.post-tags{text-align:center;float:none;font-size:.75rem}}.author-profile{margin:3rem 0;text-align:center}.author-profile .info{overflow:hidden;text-align:center}.author-profile .info .profile{display:inline-block}.author-profile .info .profile img{width:4.375rem;height:4.375rem;padding:3px;border:1px solid #ddd;border-radius:100%;-o-object-fit:cover;object-fit:cover}.author-profile .info .meta{display:block;text-align:center}.author-profile .info .meta h3{margin:.625rem 0 0;text-transform:none}.author-profile .info .meta h3 a{display:block;font-size:1.125rem;font-weight:400;line-height:normal;letter-spacing:1px;color:#b0b0b0}.author-profile p{font-size:.815rem;margin:1rem 0 0;color:#7d8588;letter-spacing:0;display:inline-block;padding:1rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.author-profile p .iconify{color:orange;color:var(--theme-color);margin-right:.625rem}@media (max-width: 768px){.author-profile{display:none}}.word_count{margin:0}.minicode{box-shadow:0 1px 2px #0003;border-radius:5px;margin:.625em 0;display:flex;align-items:center;color:#000;color:var(--minicode-color)}.minicode a{padding:5px}.minicode .content-toast{display:block;padding:.5em .5em .5em 1em;height:1.25em;word-break:keep-all;white-space:nowrap;overflow:hidden;width:95%;transition:width,padding .5s ease;overflow-x:auto}.minicode .hide-minicode{line-height:inherit;cursor:pointer;padding-right:5px}.minicode:hover{transform:scale(1.01);transition:all .5s ease}.minicode.hide{margin:0}.minicode.hide .content-toast{height:0;padding:0}.minicode.hide .hide-minicode{display:none}@keyframes main{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.highlight-wrap{display:flex;position:relative;background:#21252b;border-radius:6px;line-height:1.6;font-size:1em;margin-bottom:1.6em;max-width:100%;text-shadow:none;color:#000;padding-top:2em;box-shadow:0 .625em 2em #0006;filter:brightness(1);filter:brightness(var(--theme-brightness))}.highlight-wrap:before{content:" ";position:absolute;border-radius:50%;background:#fc625d;width:.75em;height:.75em;left:.75em;margin-top:-1.25em;box-shadow:1.25em 0 #fdbc40,2.5em 0 #35cd4b;z-index:1}.highlight-wrap code{word-break:break-word;font-family:Source Code Pro,monospace,Helvetica,Tahoma,Arial,STXihei,STHeiti Light,Microsoft YaHei,sans-serif;text-shadow:none;border-radius:0 0 6px 6px;width:100%;cursor:inherit;cursor:var(--cursor-text)}.highlight-wrap code::-webkit-scrollbar{height:.625rem;width:.625rem;background-color:#222}.highlight-wrap code::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#21252b}.highlight-wrap code::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.5);background-color:orange;background-color:var(--theme-color)}.highlight-wrap code[data-rel]:before{color:#fff;content:attr(data-rel);height:2.25em;line-height:2.25em;background:#21252b;font-size:1rem;position:absolute;top:0;left:0;width:100%;font-family:Ubuntu,sans-serif;font-weight:700;text-indent:1rem;text-align:center;float:left;border-radius:6px 6px 0 0;pointer-events:none}:is(.highlight-wrap code .hljs-ln-line,.highlight-wrap code .hljs-ln-line span)::-moz-selection{background:#fff;background:var(--background-color);color:#21252b}:is(.highlight-wrap code .hljs-ln-line,.highlight-wrap code .hljs-ln-line span)::selection{background:#fff;background:var(--background-color);color:#21252b}.highlight-wrap code .hljs-comment,.highlight-wrap code .hljs-quote{color:#888f96;font-style:italic}.highlight-wrap code .hljs-doctag,.highlight-wrap code .hljs-formula,.highlight-wrap code .hljs-keyword{color:#c678dd}.highlight-wrap code .hljs-deletion,.highlight-wrap code .hljs-name,.highlight-wrap code .hljs-section,.highlight-wrap code .hljs-selector-tag,.highlight-wrap code .hljs-subst{color:#e06c75}.highlight-wrap code .hljs-literal{color:#56b6c2}.highlight-wrap code .hljs-addition,.highlight-wrap code .hljs-attribute,.highlight-wrap code .hljs-meta-string,.highlight-wrap code .hljs-regexp,.highlight-wrap code .hljs-string{color:#98c379}.highlight-wrap code .hljs-built_in,.highlight-wrap code .hljs-class .hljs-title{color:#e6c07b}.highlight-wrap code .hljs-attr,.highlight-wrap code .hljs-number,.highlight-wrap code .hljs-selector-attr,.highlight-wrap code .hljs-selector-class,.highlight-wrap code .hljs-selector-id,.highlight-wrap code .hljs-selector-pseudo,.highlight-wrap code .hljs-template-variable,.highlight-wrap code .hljs-type,.highlight-wrap code .hljs-variable{color:#d19a66}.highlight-wrap code .hljs-bullet,.highlight-wrap code .hljs-link,.highlight-wrap code .hljs-meta,.highlight-wrap code .hljs-selector-tag{color:#61aeee}.highlight-wrap code .hljs-emphasis{font-style:italic}.highlight-wrap code .hljs-strong{font-weight:700}.highlight-wrap code .hljs-link{text-decoration:underline}.highlight-wrap code .hljs-ln{margin:.375em 0 0}.highlight-wrap code .hljs-ln .hljs-ln-line.hljs-ln-numbers{-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:center;color:#888f96;font-family:Source Code Pro,monospace,Helvetica,Tahoma,Arial,STXihei,STHeiti Light,Microsoft YaHei,sans-serif;vertical-align:top;position:absolute;left:0;width:2em}.highlight-wrap code .hljs-ln .hljs-ln-line.hljs-ln-code{width:100vw;padding-left:1.625em}.highlight-wrap code .hljs-ln .hljs-ln-line.hljs-ln-code:hover{background-color:#ffffff1a}.code-block-fullscreen{position:fixed;top:0;left:0;width:100%;height:100%;min-width:100%;z-index:10;margin:0;animation:elastic 1s}.code-block-fullscreen code{--widthA: 100%;--widthB: calc(var(--widthA) - 30px);height:calc(100% - 30px);height:var(--widthB);min-height:99%;overflow:auto}.code-block-fullscreen-html-scroll{overflow:hidden}@keyframes elastic{0%{transform:scale(0)}55%{transform:scale(1)}70%{transform:scale(.98)}to{transform:scale(1)}}span.copy-code{color:#fff;position:absolute;right:.625em;display:inline-table;top:.375em;padding-right:.125em;font-size:1rem;z-index:1}span.copy-code:hover{color:#ffffff80}span.copy-code:after{display:none}.page-header{position:relative;display:flex;justify-content:center;align-items:center}.page-header .pattern-center{position:relative;width:100%;overflow:hidden;animation:header .5s}.page-header .pattern-center.single-center:after{display:none}.page-header .pattern-center:after{transition:background 1s}.page-header .pattern-center .pattern-attachment-img{height:400px}.page-header .pattern-center .pattern-attachment-img:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:#0000004d}.page-header .pattern-center .pattern-attachment-img img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none}@media (max-width: 768px){.page-header .pattern-center.single-center .pattern-attachment-img{height:17.5rem}.page-header .pattern-center.single-center .pattern-attachment-img:after{content:"";width:150%;height:4.375rem;background:#fff;background:var(--background-color);left:-25%;bottom:-2.875rem;border-radius:100%;position:absolute;z-index:1}.page-header .pattern-center.single-center .post-header h1{font-size:1.625rem;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.page-header .pattern-center .pattern-attachment-img img{height:17.5rem}}.page-header .pattern-title{margin-top:50px;color:#464646;color:var(--body-color)}.page-header .pattern-title h1{padding:0;border:0;margin:0;width:100%;text-align:center;font-size:1.5rem;font-weight:300}.page-header .pattern-title h1:before,.page-header .pattern-title h1:after{color:orange;color:var(--theme-color);font-size:1.5em;vertical-align:sub}.page-header .pattern-title h1:before{content:"{"}.page-header .pattern-title h1:after{content:"}"}.page-header.is-decorate .pattern-title{margin-top:0;position:absolute;text-shadow:2px 2px 10px #000}.page-header.is-decorate .pattern-title h1{font-size:2rem;color:#fff;font-weight:500}.page-header.is-decorate .pattern-title h1:before,.page-header.is-decorate .pattern-title h1:after{content:""}.page-header.is-decorate .site-content .pattern-header{position:sticky;z-index:1;text-shadow:2px 2px 10px #000}.page-header.is-decorate .site-content .post-header{margin-top:-8rem}.page-header.is-decorate .site-content .page-header{margin-top:-17.5rem;text-align:center;margin-bottom:12.5rem}.page-header.is-decorate .site-content .page-header.link-page-header{margin-top:-15.375rem}.page-header.is-decorate .site-content .page-header h1{font-size:2.5rem;color:#fff}.page-header.is-decorate .site-content .page-header h1:before,.page-header.is-decorate .site-content .page-header h1:after{content:""}.page-header.is-decorate .site-content .pattern-meta-container .entry-census,.page-header.is-decorate .site-content .pattern-meta-container .entry-census a{color:#fff}@media (max-width: 768px){.page-header.is-decorate .pattern-title h1{text-align:center!important}}@keyframes header{0%{transform:translateY(-50px)}to{transform:translateY(0)}}.post-share{float:right;list-style:none;margin-right:1.25rem}.post-share:hover .show-share,.post-share:hover .share-hidden{opacity:1;display:inline-block}.post-share img:hover{opacity:.8}.post-share ul{list-style:none;opacity:0;display:none;margin:0;vertical-align:middle;position:relative;transition:opacity .4s ease-out}.post-share ul li i{font-size:1.25rem}.post-share ul li a:hover{color:orange;color:var(--theme-color)}.post-share li{float:left;margin-right:1.875rem}.post-share li img{width:1.125rem;height:1.125rem;display:block}.post-share .social-share{opacity:0;display:none}.post-share .show-share{cursor:pointer;opacity:.6;transition:opacity .1s ease-out;color:orange;color:var(--theme-color)}@media (max-width: 768px){.post-share{display:none}}.post-share .s-wechat{position:relative}.post-share .s-wechat:hover .wechat-qrcode{display:block}.post-share .s-wechat .wechat-qrcode{display:none;border-radius:5px;border:1px solid #eee;position:absolute;top:-215px;left:-95px;width:200px;height:192px;color:#666;color:var(--color);font-size:12px;text-align:center;background-color:#fff;background-color:var(--background-color);box-shadow:0 2px 10px #b0b0b0;transition:all .2s}.post-share .s-wechat .wechat-qrcode:after{content:"";position:absolute;left:50%;margin-left:-6px;bottom:-13px;width:0;height:0;border-width:8px 6px 6px 6px;border-style:solid;border-color:#fff transparent transparent transparent}.post-share .s-wechat .wechat-qrcode h4{font-weight:400;height:26px;line-height:26px;font-size:12px;background-color:#fff;margin:0;padding:0;color:#7d7d7d}.post-share .s-wechat .wechat-qrcode img{width:auto;height:auto}.post-share .s-wechat .wechat-qrcode .qrcode{margin:1px auto}.post-share .s-wechat .wechat-qrcode .help p{font-weight:400;line-height:16px;padding:0;margin:0}.card-container{position:relative;text-align:center;border:0;border-radius:10px;color:#000000de;background:#fff;background:var(--background-color);background-size:cover;box-shadow:0 -15px 35px #32325d1a,0 5px 15px #00000012;box-shadow:var(--card-container-box-shadow)}.card-container .chip-container .card-content{padding:1.5rem;border-radius:0 0 2px 2px}.card-container .chip-container .card-content .chip{margin:.625rem;padding:1.25rem;display:inline-flex;line-height:0;font-size:1rem;font-weight:500;border-radius:5px;cursor:pointer;box-shadow:0 3px 5px #0000001f;z-index:0}.card-container .chip-container .card-content .chip:hover{color:#fff;background:linear-gradient(to right,#4cbf30 0%,#0f9d58 100%)}.card-container .chip-container .card-content .chip.chip-default{color:#34495e}.clearer{display:block;clear:both}#nprogress{pointer-events:none;z-index:10;position:absolute}#nprogress .bar{background:orange;background:var(--theme-color);position:fixed;z-index:10;top:0;left:0;width:100%;height:3px}#nprogress .bar .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px orange,0 0 5px orange;box-shadow:0 0 10px var(--theme-color),0 0 5px var(--theme-color);opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:10;top:1.625rem;right:1.5rem;left:inherit;width:auto;height:auto;margin:0}#nprogress .spinner .spinner-icon{width:1.25rem;height:1.25rem;box-sizing:border-box;border:solid 3px transparent;border-top-color:orange;border-top-color:var(--theme-color);border-left-color:orange;border-left-color:var(--theme-color);border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.is-collapsible{overflow:hidden;transition:all .3s ease-in-out}.is-collapsed{max-height:0}.is-position-fixed{position:fixed;top:0}.is-active-link{font-weight:700}.is-active-link:before{background-color:orange!important;background-color:var(--theme-color)!important}.headertop{position:relative;overflow:hidden;width:100%;animation:header 1s}.headertop:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background-attachment:fixed;background:none;background:var(--first-screen-filter-images)}.headertop:after{content:"";display:none;display:var(--first-screen-after);width:150%;height:4.375rem;background:#fff;background:var(--background-color);left:-25%;bottom:-2.875rem;border-radius:100%;position:absolute;z-index:1;transition:background 1s}@media (max-width: 768px){.headertop:after{display:block}}@keyframes header{0%{opacity:0;transform:translateY(-50px)}to{opacity:1;transform:translateY(0)}}.notice{padding:20px;border:1px dashed #ddd;color:#666;color:var(--color);position:relative;display:block;background:#fbfbfb50;background:var(--notice-background-color);border-radius:10px;animation:main .6s}.notice .notice-content{display:contents;vertical-align:middle;width:100%}.notice .iconify{top:0;color:#999;font-size:18px;padding-right:10px}@media (max-width: 768px){.notice{margin-top:40px;margin-bottom:20px}}.top-feature{width:100%;height:auto;margin-top:55px;animation:main .6s}.top-feature .fes-title{color:#666;color:var(--color);font-size:16px;font-weight:400;padding-bottom:5px;margin-bottom:30px;border-bottom:1px dashed #eee;border-bottom:var(--home-divider-border);transition:border 1s}.top-feature .top-feature-inner{display:flex}.top-feature .top-feature-inner .top-feature-item{display:inline-block;height:160px;width:100%;margin:0 2px}.top-feature .top-feature-inner .top-feature-item .feature-container{position:relative;height:100%;box-shadow:1px 1px 3px #0000004d;overflow:hidden;border-radius:10px;transition:all .35s ease-in-out}.top-feature .top-feature-inner .top-feature-item .feature-container img{height:100%;width:100%;display:block;-o-object-fit:cover;object-fit:cover;transition:all .35s ease-in-out;transform:scale(1)}.top-feature .top-feature-inner .top-feature-item .feature-container .info{position:absolute;top:0;bottom:0;left:0;right:0;text-align:center;backface-visibility:hidden;background:rgba(0,0,0,.6);visibility:hidden;opacity:0;transition:all .35s ease-in-out}.top-feature .top-feature-inner .top-feature-item .feature-container .info h3{text-transform:uppercase;color:#fff;font-size:17px;padding:10px;background:#000000;margin:30px 0 0;text-align:center;transition:all .35s ease-in-out;transform:translate(-100%)}.top-feature .top-feature-inner .top-feature-item .feature-container .info p{font-style:italic;font-size:12px;position:relative;color:#b0b0b0;padding:20px;text-align:center;transition:all .35s .1s linear;transform:translate(100%)}.top-feature .top-feature-inner .top-feature-item .feature-container a:hover .img{transform:scale(1.2)}.top-feature .top-feature-inner .top-feature-item .feature-container a:hover .info{visibility:visible;opacity:1}.top-feature .top-feature-inner .top-feature-item .feature-container a:hover .info h3,.top-feature .top-feature-inner .top-feature-item .feature-container a:hover .info p{transform:translate(0)}.top-feature .top-feature-inner .top-feature-item .feature-container,.top-feature .top-feature-inner .top-feature-item .feature-container *{box-sizing:border-box}.top-feature .top-feature-inner .top-feature-item .feature-container a{color:#333}.top-feature .top-feature-inner .top-feature-item .feature-container a:hover{text-decoration:none}@media (max-width: 768px){.top-feature{display:none}}.site-main{padding:40px 0 0}.site-main .main-title{color:#666;color:var(--color);font-size:16px;font-weight:400;padding-bottom:5px;margin-bottom:30px;border-bottom:1px dashed #eee;border-bottom:var(--home-divider-border);transition:border 1s}@media (max-width: 768px){.site-main{padding:15px 0 0}}.is-homepage .site-header{position:fixed}.is-homepage .site-header.yya .header-inner .lower-container{display:block}.is-homepage .site-header .header-inner{transition:background 1s}.is-homepage .site-header .header-inner .lower-container{display:none}.is-homepage .site-header:hover .header-inner{position:fixed;top:0;background:#fff;background:var(--header-background)}.is-homepage .site-header:hover .header-inner .lower-container{display:block}@media (max-width: 768px){.is-homepage .site-header:hover .header-inner{background:transparent}}section:not(.is-homepage) .site-header .header-inner{box-shadow:0 1px 40px -8px #00000080}@media (max-width: 768px){section:not(.is-homepage) .site-header .header-inner{box-shadow:none}}.post-header{position:relative;display:flex;justify-content:center;flex-wrap:wrap}.post-header .post-meta,.post-header .pattern-title{width:780px}.post-header .page-header{width:100%}.post-header .post-meta .meta-container{justify-content:center}.post-header .is-decorate .pattern-title{bottom:2em}.post-header .is-decorate .pattern-title h1{text-align:left}.post-header .is-decorate .post-meta .meta-container{justify-content:inherit;padding:0}.post-header .is-decorate .post-meta .meta-container .post-meta-item *,.post-header .is-decorate .post-meta .meta-container .post-meta-item:after{color:#fff}@media (max-width: 768px){.post-header .post-meta,.post-header .pattern-title{width:100%}.post-header .is-decorate .pattern-title{bottom:auto}.post-header .is-decorate .pattern-title h1{text-align:inherit}.post-header .is-decorate .post-meta .meta-container{justify-content:center}.post-header h1{font-size:26px;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;text-align:center}}.single-page-header .page-header.is-decorate .pattern-title h1{font-size:40px}.single-page-header .page-header .pattern-title h1{font-size:24px;font-weight:700;text-transform:uppercase}.link-article .links{margin-bottom:80px}.link-article .links .link-title{font-weight:400;color:orange;color:var(--theme-color);padding-left:0;border-left:none;margin:50px 0 20px;transition:color 1s}.link-article .links .link-title span.fake-title{padding-left:10px;border-left:3px solid orange;border-left:3px solid var(--theme-color)}.link-article .links .link-items{margin:0;list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr)}.link-article .links .link-items .link-item{border:1px solid #eee;padding:10px 30px;margin:4px;position:relative;overflow:hidden;transition:all .3s;border-radius:10px}.link-article .links .link-items .link-item:hover{color:var(theme-color);border:1px solid var(theme-color)}.link-article .links .link-items .link-item:hover:before{width:140%}.link-article .links .link-items .link-item:hover .link-item-inner img{transform:rotate(360deg)}.link-article .links .link-items .link-item:hover .link-item-inner .linkdes{border-top:1px dashed #fff}.link-article .links .link-items .link-item:before{content:"";background:orange;background:var(--theme-color);transform:skew(45deg);width:0;height:100%;position:absolute;top:0px;left:-50px;transition:all .5s;opacity:.2}.link-article .links .link-items .link-item .link-item-inner img{float:right;box-shadow:inset 0 0 10px #000;opacity:1;transform:rotate(0);transition:all ease 1s;margin-top:5px;width:61px;height:61px;padding:2px;border-radius:100%;-o-object-fit:cover;object-fit:cover}.link-article .links .link-items .link-item .link-item-inner .sitename{color:orange;color:var(--theme-color);padding-bottom:10px;display:block;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-article .links .link-items .link-item .link-item-inner .linkdes{color:#999;color:var(--links-description-color);font-size:13px;padding:10px 0;border-top:1px dashed #ddd;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;line-height:25px;transition:all .5s}@media (max-width: 640px){.link-article .links ul li{width:100%}}@media (max-width: 768px){.link-article .links ul li{width:48.6%}.link-article .links ul li:before{display:none}.link-article .links ul li:hover .sitename{color:--var(theme-color)}.link-article .links ul li:hover .linkdes{color:#999;border-top:1px dashed #ddd}}.archives-inner{margin-top:50px;margin-bottom:100px;position:relative}.archives-inner .archives-content:before{content:"";position:absolute;height:75%;border-left:1px dashed #fff;left:17px;top:30px}.archives-inner h2{font-weight:400;color:#666;padding-bottom:15px;border-bottom:1px dashed #fff;text-align:center}.archives-inner .archive-item.active .archive-posts{max-height:-moz-max-content;max-height:max-content;transition-timing-function:cubic-bezier(.5,0,.3,1)}.archives-inner .archive-item{margin-top:35px;position:relative;z-index:1}.archives-inner .archive-item .archive-title{display:flex;align-items:center}.archives-inner .archive-item .archive-title .archive-time svg{padding:10px;border-radius:100px;background:orange;background:var(--theme-color);color:#fff}.archives-inner .archive-item .archive-title h3{letter-spacing:2px;font-style:italic;font-size:20px;font-weight:400;color:orange;color:var(--theme-color);margin-left:10px}.archives-inner .archive-item .archive-title h3:hover{color:#ddd!important;cursor:pointer}.archives-inner .archive-item .archive-posts{max-height:0;overflow:hidden;transition:max-height .5s ease-in-out}.archives-inner .archive-item .archive-posts .archive-post-item{position:relative}.archives-inner .archive-item .archive-posts .archive-post-item .archive-post-circle{height:11px;width:11px;background:orange;background:var(--theme-color);display:inline-block;position:absolute;margin-top:22px;border-radius:100px;left:12px}.archives-inner .archive-item .archive-posts .archive-post-item .arrow-left-ar{width:0;height:0;display:block;float:left;margin-top:10px;border-left:20px solid transparent;border-bottom:20px solid #f5f5f5;margin-left:26px}.archives-inner .archive-item .archive-posts .archive-post-item .brick{margin-left:46px}.archives-inner .archive-item .archive-posts .archive-post-item .brick a{color:#7d7d7d;padding:20px;background:#f5f5f5;margin-bottom:20px;display:block;letter-spacing:0px}.archives-inner .archive-item .archive-posts .archive-post-item .brick em{font-style:normal;margin-left:5px}.archives-inner .archive-item .archive-posts .archive-post-item .brick .time{float:right;color:#ccc}.archives-inner .archive-item .archive-posts .archive-post-item .brick .time svg{margin:3px}@media (max-width: 768px){.archives-inner{margin:0 20px}}.tag-wordcloud-container{position:relative;left:calc((100% - 100vw)/2)}.tag-wordcloud-container .wordcloud{width:100vw;height:500px}.tags-content{margin:50px 0}.tags-content .tag-title{margin-bottom:10px;color:#34495e;color:var(--card-container-title-color);font-size:1.75rem;font-weight:400}.tags-content .tag-chips{margin:1rem auto .5rem;max-width:850px;text-align:center}.tags-content .tag-chips .tag-length{color:#9b8b2a;margin-top:0;margin-left:5px;margin-right:-2px;font-size:.9rem}@media (max-width: 768px){.tags-content{margin:20px 0}}.tag-header .page-header .pattern-title h1{display:inline-block;font-size:25px;font-weight:400;color:#666;color:var(--color)}.tag-header .page-header .pattern-title h1:before{content:""}.tag-header .page-header .pattern-title h1:after{content:"";padding-right:15px;border-right:1px dashed #ddd;font-size:30px;vertical-align:middle}.categories-container .card-container{margin:36px auto}.categories-container .card-container.category-show{animation:card-show 1s ease-in-out}.categories-container .card-container .categories-title{margin-bottom:10px;color:#34495e;color:var(--card-container-title-color);font-size:1.75rem;font-weight:400}.categories-container .card-container .categories-chips{margin:1rem auto .5rem;max-width:850px;text-align:center}.categories-container .card-container .categories-chips .categories-length{color:#9b8b2a;margin-top:0;margin-left:5px;margin-right:-2px;font-size:.9rem}.categories-container .card-container .category-echarts{width:100%;height:360px}@keyframes card-show{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.category-header .page-header .pattern-title{display:flex;align-items:center}.category-header .page-header .pattern-title h1{display:inline-block;font-size:25px;font-weight:400;color:#666;width:auto}.category-header .page-header .pattern-title h1:before{content:""}.category-header .page-header .pattern-title h1:after{content:"";padding-right:15px;border-right:1px dashed #ddd;font-size:30px;vertical-align:middle}.category-header .page-header .pattern-title .cat-des{display:block;text-align:center;color:#999;margin-left:10px}.moments-container{margin:20px 0;filter:brightness(1);filter:brightness(var(--theme-brightness))}.moments-container .moments-inner{padding:0;margin:0;list-style:none;display:inline;position:relative}.moments-container .moments-inner .moments-item{margin-bottom:30px}.moments-container .moments-inner .moments-item:nth-child(odd) .moment-container .moment-inner{background:var(--single-bg-and-btn-color);color:var(--single-font-color)}.moments-container .moments-inner .moments-item:nth-child(odd) .moment-container .moment-inner:after{border-right-color:var(--single-bg-and-btn-color);color:#000}.moments-container .moments-inner .moments-item .moment-container{display:flex}.moments-container .moments-inner .moments-item .moment-container .avatar{width:48px;height:48px;-o-object-fit:cover;object-fit:cover;border:1px solid #ddd;padding:2px;float:left;border-radius:100%;transition:transform .4s ease-out}.moments-container .moments-inner .moments-item .moment-container .avatar:hover{transform:rotate(360deg)}.moments-container .moments-inner .moments-item .moment-container .moment-inner{width:100%;margin:auto 15px;padding:.8em 1.2em;position:relative;background:var(--double-bg-and-btn-color);background-position:center;color:var(--double-font-color);border-radius:5px;box-shadow:0 1px 2px #00000026;transition:all .3s ease 0s}.moments-container .moments-inner .moments-item .moment-container .moment-inner:after{right:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-right-color:azure;border-width:10px;top:4px}.moments-container .moments-inner .moments-item .moment-container .moment-inner:hover{box-shadow:0 15px 32px #00000026}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-content{font-size:1.2em;font-weight:400;line-height:1.5}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-content>p{overflow:unset;word-wrap:break-word;word-break:break-all}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-content .comment-box{display:none}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer{margin-top:10px;border-top:1px dashed #fff;padding-top:5px;font-size:14px;display:flex;justify-content:space-between}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools{margin-left:15px}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .comment-js,.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .moment-like{float:right;margin-left:15px}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .comment-js,.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .moment-like{cursor:pointer}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .moment-like:hover,.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-footer .moment-tools .moment-like.on{color:#00a1d6}.moments-container .moments-inner .moments-item .moment-container .moment-inner .comment-box{display:none;padding-top:10px}.moments-container .pagination{display:flex;justify-content:center}.moments-container .pagination .at_button{background-color:#e6e6fa;border:none;padding:8px 16px;text-align:center;text-decoration:none;height:20px;display:inline-block;font-size:12px;border-radius:12px;outline:none;cursor:pointer;transition:all .5s ease 0s}.moments-container .pagination .at_button:hover{background-color:azure;box-shadow:0 4px 8px #0000003d,0 8px 16px #00000030}.moments-container .pagination .at_button.loading{padding:25px}@media (max-width: 768px){.moments-container .moments-inner .moments-item .moment-container .avatar{display:none}.moments-container .moments-inner .moments-item .moment-container .moment-inner:after{display:none}.moments-container .moments-inner .moments-item .moment-container .moment-inner .moment-content img{max-width:50%}}.code-block-fullscreen-html-scroll .moment-content{z-index:auto!important;transform:none!important}:host{display:inline-block;overflow:hidden;text-align:initial;white-space:nowrap}.photos-container{margin:50px 0;position:relative;z-index:1}.photos-container .photos-inner .loading{height:60px}.photos-container .photos-inner .loading .gallery{opacity:0}.photos-container .photos-inner .photos-content{display:flex;width:100%;justify-content:center}@media (max-width: 768px){.photos-container{padding-top:0;margin:30px 0}}.photos-group ul{list-style:none;padding:0;margin:0;font-size:1em;letter-spacing:.2em}.photos-group ul li{display:inline-block;vertical-align:bottom;margin:0 2em 1.5em 0}.photos-group ul li span{display:block;color:#666;color:var(--color);position:relative}.photos-group ul li span:after{content:"";display:block;border-bottom:2px solid orange;border-bottom:2px solid var(--theme-color);width:0;position:absolute;bottom:0;left:0;right:0;transform:scaleX(0);transform-origin:50% 0;transition:transform .35s}.photos-group ul li span:hover:after,.photos-group ul li span.active:after{width:100%;transform:scale(1)}.gallery{clear:both;width:100%;margin:0;opacity:1;transform:translateZ(0);transition:transform,opacity .35s}.gallery .gallery-item .gallery-caption{height:100%;background:#222;opacity:0}.gallery .gallery-item:hover .gallery-caption{height:100%;opacity:.6;transition:opacity .2s ease}.gallery .gallery-item:hover .gallery-caption .entry-summary{opacity:1}.gallery .gallery-item:hover .gallery-caption .entry-summary h3,.gallery .gallery-item:hover .gallery-caption .entry-summary p{transform:translateZ(0)}.gallery .gallery-item .gallery-caption{position:absolute;left:0;right:0;bottom:0;width:100%;z-index:10;pointer-events:none}.gallery .gallery-item .gallery-caption .entry-summary{display:inline-block;position:absolute;width:100%;opacity:0;margin:0;transition:all .2s ease;text-align:center;bottom:0;padding-bottom:1em;font-size:.8em;color:#fff}.gallery .gallery-item .gallery-caption .entry-summary h3,.gallery .gallery-item .gallery-caption .entry-summary p{transition:transform .35s;padding:0;margin:0}.gallery .gallery-item .gallery-caption .entry-summary p{font-family:Times,serif;font-style:italic;font-size:.9em;opacity:.8;transform:translate3d(0,20px,0)}.gallery .gallery-item .gallery-caption .entry-summary h3{font-weight:700;text-transform:uppercase;font-size:.9em;letter-spacing:.05em;transform:translate3d(0,-20px,0);margin-bottom:.5em}@media (max-width: 768px){.gallery .gallery-item .gallery-caption{background:#22222255;opacity:1}.gallery .gallery-item .gallery-caption .entry-summary{opacity:1}.gallery .gallery-item .gallery-caption .entry-summary h3,.gallery .gallery-item .gallery-caption .entry-summary p{transform:none}}.masonry-container{margin:auto 4vw}.masonry-container .photos-content{margin:1.5em auto}.masonry-container .photos-content .gallery .gallery-item{margin:0 0 10px}.masonry-container .photos-content .gallery .gallery-item.col-3{width:calc((100% - (3 - 1) * 10px) / 3)}.masonry-container .photos-content .gallery .gallery-item.col-4{width:calc((100% - 30px)/4)}.masonry-container .photos-content .gallery .gallery-item.col-5{width:calc((100% - 40px)/5)}.masonry-container .photos-content .gallery .gallery-item.col-6{width:calc((100% - (6 - 1) * 10px) / 6)}.masonry-container .photos-content .gallery .gallery-item.col-7{width:calc((100% - (7 - 1) * 10px) / 7)}.masonry-container .photos-content .gallery .gallery-item.col-8{width:calc((100% - 70px)/8)}.masonry-container .photos-content .gallery .gallery-item .gallery-icon{position:relative;z-index:9;transition:opacity .2s ease;text-align:center}.masonry-container .photos-content .gallery .gallery-item .gallery-icon a{display:block;width:100%;height:100%;position:relative;z-index:9}.masonry-container .photos-content .gallery .gallery-item .gallery-icon img{width:100%;height:auto;margin:0 0 -5px}@media (max-width: 768px){.masonry-container .photos-content .gallery .gallery-item{width:100%!important}}.masonry-tools{display:flex;justify-content:space-between}.masonry-tools .grid-changer{float:right}.masonry-tools .grid-changer ul{list-style:none;padding:0;margin:0;font-size:.8em}.masonry-tools .grid-changer ul li{display:inline-block;margin-left:.2em}.masonry-tools .grid-changer ul li span{display:block;width:30px;height:30px;text-align:center;color:#ccc;color:var(--photo-group-change-color);position:relative;border:2px solid #ccc;border:2px solid var(--photo-group-change-color);transition:all .2s ease}.masonry-tools .grid-changer ul li span:hover{border-color:orange;border-color:var(--theme-color);color:orange;color:var(--theme-color)}.masonry-tools .grid-changer ul li span.active,.masonry-tools .grid-changer ul li span.active:hover{border-color:#222;border-color:var(--photo-group-change-active-color);color:#222;color:var(--photo-group-change-active-color)}.masonry-tools .grid-changer ul li span svg{fill:#222;fill:var(--photo-group-change-active-color)}@media (max-width: 768px){.masonry-tools{justify-content:center}.masonry-tools .grid-changer{display:none}}.justify-tools{text-align:center}.justify-wrapper{max-width:1024px;margin:0 auto}.error-404{margin-top:-120px;margin-bottom:20px}.error-404 .error-img,.error-404 .err-button{text-align:center}.error-404 .err-button.back a{padding:10px 30px;margin:0 10px;border:1px solid orange;border:1px solid var(--theme-color);color:orange;color:var(--theme-color);border-radius:50px}.error-404 .err-button.back a:hover{box-shadow:0 0 4px orange;box-shadow:0 0 4px var(--theme-color)}.error-404 .err-button.back .gohome{background:orange;background:var(--theme-color);color:#fff}@media (max-width: 768px){.error-404{margin-top:0}} \ No newline at end of file diff --git a/templates/assets/dist/main.min.js b/templates/assets/dist/main.min.js index 3fefc813..fd8941c7 100644 --- a/templates/assets/dist/main.min.js +++ b/templates/assets/dist/main.min.js @@ -1,7 +1,7 @@ var cr=Object.defineProperty;var lr=(r,e,t)=>e in r?cr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var C=(r,e,t)=>(lr(r,typeof e!="symbol"?e+"":e,t),t);import{g as fr}from"./assets/_commonjsHelpers-042e6b4d.js";const dr="modulepreload",gr=function(r){return"/themes/theme-sakura/assets/dist/"+r},Tt={},T=function(e,t,i){if(!t||t.length===0)return e();const n=document.getElementsByTagName("link");return Promise.all(t.map(o=>{if(o=gr(o),o in Tt)return;Tt[o]=!0;const a=o.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!i)for(let c=n.length-1;c>=0;c--){const l=n[c];if(l.href===o&&(!a||l.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${s}`))return;const f=document.createElement("link");if(f.rel=a?"stylesheet":dr,a||(f.as="script",f.crossOrigin=""),f.href=o,document.head.appendChild(f),a)return new Promise((c,l)=>{f.addEventListener("load",c),f.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>e())},hr=(r,e)=>{const t=r[e];return t?typeof t=="function"?t():Promise.resolve(t):new Promise((i,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})},re=class{static async retry(e,t=3,i=1e3){try{return await e()}catch(n){if(t>0)return await new Promise(o=>setTimeout(o,i)),await re.retry(e,t-1,i);throw n}}static jsonToMap(e){try{let t=e;e instanceof String&&(t=JSON.parse(e.toString()));const i=Object.entries(t);return new Map(i)}catch(t){throw new Error(`解析 JSON 失败:${t.message}`)}}static generateColor(){const e=Math.floor(Math.random()*360),t=Math.floor(Math.random()*50)+50,i=Math.floor(Math.random()*40)+50,n=e/60,o=t/100,a=i/100,s=(1-Math.abs(2*a-1))*o,u=s*(1-Math.abs(n%2-1)),f=a-s/2;let c,l,g;0<=n&&n<1?[c,l,g]=[s,u,0]:1<=n&&n<2?[c,l,g]=[u,s,0]:2<=n&&n<3?[c,l,g]=[0,s,u]:3<=n&&n<4?[c,l,g]=[0,u,s]:4<=n&&n<5?[c,l,g]=[u,0,s]:[c,l,g]=[s,0,u],c=Math.round((c+f)*255),l=Math.round((l+f)*255),g=Math.round((g+f)*255);const d=c.toString(16).padStart(2,"0"),h=l.toString(16).padStart(2,"0"),v=g.toString(16).padStart(2,"0");return`#${d}${h}${v}`}static getWordCount(e){var t,i;return((i=(t=e.textContent)==null?void 0:t.normalize().match(re.wordPattern))==null?void 0:i.length)??0}static caclEstimateReadTime(e,t=3){t=Math.min(6,Math.max(1,t));var n=400+(t-1)*100;return Math.ceil(e/n*60)}};let ne=re;C(ne,"PatternString",{cjk:"\\p{Script=Han}|\\p{Script=Kana}|\\p{Script=Hira}|\\p{Script=Hangul}",word:"[\\p{L}|\\p{N}|._]+"}),C(ne,"wordPattern",new RegExp(`${re.PatternString.cjk}|${re.PatternString.word}`,"gu"));const wt=class{static addEventListener(e,t,i){let n=wt.throttle(t,i),o=this.eventThrottles.get(e);o||(o=new Set,this.eventThrottles.set(e,o)),o.add(n),window.addEventListener(e,n)}static throttle(e,t){let i=null;return(...n)=>{i||(e.apply(this,n),i=window.setTimeout(()=>{i=null},t))}}};let he=wt;C(he,"eventThrottles",new Map);var pr=Object.defineProperty,mr=Object.getOwnPropertyDescriptor,A=(r,e,t,i)=>{for(var n=i>1?void 0:i?mr(e,t):e,o=r.length-1,a;o>=0;o--)(a=r[o])&&(n=(i?a(e,t,n):a(n))||n);return i&&n&&pr(e,t,n),n};class N{registerScrollEvent(){var a;const e=((a=document.querySelector(".site-header"))==null?void 0:a.offsetHeight)||75,t=document.querySelector(".cd-top"),i=document.querySelector(".m-cd-top"),n=document.querySelector(".change-skin-gear"),o=document.querySelector(".mobile-change-skin");window.addEventListener("scroll",()=>{document.documentElement.scrollTop>e?(t==null||t.classList.add("cd-is-visible"),n.style.bottom="0",t.offsetHeight>window.innerHeight?t.style.top=`${window.innerHeight-t.offsetHeight-e}px`:t.style.top="0"):(t.style.top="-900px",t==null||t.classList.remove("cd-is-visible"),n.style.bottom="-100px"),document.documentElement.scrollTop>0?(i.classList.add("cd-is-visible"),o.classList.add("cd-is-visible")):(i.classList.remove("cd-is-visible"),o.classList.remove("cd-is-visible"))})}registerBackToTopEvent(){document.querySelectorAll(".cd-top, .m-cd-top").forEach(t=>{t.addEventListener("click",i=>{i.preventDefault(),window.pageYOffset>0&&window.scrollTo({top:0,behavior:"smooth"})})})}registerCopyEvent(){he.addEventListener("copy",()=>{S.$toast&&S.$toast.create(S.translate("common.events.copy","复制成功!
Copied to clipboard successfully!"),2e3)},2e3)}registerCodeBlockZoomEvent(){document.querySelectorAll("pre").forEach(t=>{t.addEventListener("dblclick",i=>{var n;i.target===t&&(t.classList.toggle("code-block-fullscreen"),(n=document.querySelector("html"))==null||n.classList.toggle("code-block-fullscreen-html-scroll"))})})}registerNavigationChangeEvent(){window.addEventListener("hashchange",e=>{if(e.oldURL.includes("#gallery-"))return;const i=location.hash.substring(1);if(!i.match(/^[A-z0-9_-]+$/))return;const n=document.getElementById(i);n&&(n.tagName.match(/^(?:a|select|input|button|textarea)$/i)||(n.tabIndex=-1),n.focus())},!1)}registerMobileNav(){var t,i;const e=document.querySelectorAll(".container, .site-nav-toggle, .site-sidebar");(t=document.querySelector(".nav-toggle"))==null||t.addEventListener("click",()=>{e.forEach(n=>{n.classList.add("open")})}),(i=document.querySelector(".site-sidebar"))==null||i.addEventListener("click",()=>{e.forEach(n=>{n.classList.remove("open")})})}registerHeaderEvent(){let t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;window.addEventListener("scroll",()=>{const i=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,n=document.querySelector(".site-header");i===0?n==null||n.classList.remove("yya"):n==null||n.classList.add("yya"),i>t?n==null||n.classList.remove("sabit"):n==null||n.classList.add("sabit"),t=i,T(()=>import("./assets/nprogress-2b5a08a9.js").then(o=>o.n),["assets/nprogress-2b5a08a9.js","assets/_commonjsHelpers-042e6b4d.js"]).then(o=>{o.default.configure({minimum:0,template:`
-
`});const a=document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i/a;o.default.set(s)})})}registerPostListPaginationEvent(){const e=document.getElementById("pagination");if(!e)return;const t=e.querySelector("a");t&&t.addEventListener("click",i=>{i.preventDefault();const n=document.getElementById("main");if(!n)return;const o=i.target,a=o.href;return o.classList.add("loading"),o.textContent="",fetch(a,{method:"GET"}).then(s=>s.text()).then(s=>{const f=new DOMParser().parseFromString(s,"text/html"),c=f.querySelectorAll("#main .post");c&&c.length>0&&c.forEach(g=>{n.appendChild(g)});const l=f.querySelector("#pagination a");l?o.href=l.href:e.innerHTML=`${S.translate("page.theend","没有更多文章了")}`}).catch(s=>{console.error(s)}).finally(()=>{o.classList.remove("loading"),o.textContent=S.translate("page.next","下一页"),S.$localize&&S.$localize(".post")}),!1})}registerThemeChangeEvent(){document.querySelectorAll(".theme-change-js").forEach(t=>{t.addEventListener("click",()=>{var i;(i=document.querySelector(".skin-menu"))==null||i.classList.toggle("show")})})}registerThemeItemClickEventAndDefaultTheme(){const e=document.querySelector(".skin-menu"),t=e==null?void 0:e.querySelectorAll(".skin-menu .menu-item");t==null||t.forEach(i=>{const n=JSON.parse(i.getAttribute("data-item")||"{}");n.bg_isdefault&&this.registerThemeRevert(n),i.addEventListener("click",()=>{this.registerThemeRevert(n),localStorage.setItem("sakuraTheme",JSON.stringify(n)),e==null||e.classList.remove("show"),localStorage.setItem("systemMode","false")})}),he.addEventListener("scroll",()=>{e==null||e.classList.remove("show")},200)}registerThemeRevert(e){if(!e){const i=localStorage.getItem("sakuraTheme");if(!i)return;e=JSON.parse(i)}const t=document.querySelector("body");switch(e!=null&&e.bg_url?t.style.backgroundImage=`url(${e==null?void 0:e.bg_url})`:t.style.backgroundImage="",e!=null&&e.bg_night?t.classList.add("dark"):t.classList.remove("dark"),e==null?void 0:e.bg_img_strategy){case"cover":t.style.backgroundSize="cover";break;case"no-repeat":case"repeat":t.style.backgroundRepeat=e.bg_img_strategy;break;default:t.style.backgroundSize="auto",t.style.backgroundRepeat="auto";break}}registerSystemDarkModeChangeEvent(){const e=document.querySelector("body"),t=localStorage.getItem("systemMode"),i=window.matchMedia("(prefers-color-scheme: dark)");(!t||t==="true")&&(i.matches?e.classList.add("dark"):e.classList.remove("dark")),window.matchMedia("(prefers-color-scheme: dark)").onchange=n=>{n.matches?e.classList.add("dark"):e.classList.remove("dark"),localStorage.setItem("systemMode","true")}}}A([L(!1)],N.prototype,"registerScrollEvent",1);A([L(!1)],N.prototype,"registerBackToTopEvent",1);A([L(!1)],N.prototype,"registerCopyEvent",1);A([L()],N.prototype,"registerCodeBlockZoomEvent",1);A([L(!1)],N.prototype,"registerNavigationChangeEvent",1);A([L(!1)],N.prototype,"registerMobileNav",1);A([L(!1)],N.prototype,"registerHeaderEvent",1);A([L()],N.prototype,"registerPostListPaginationEvent",1);A([L(!1)],N.prototype,"registerThemeChangeEvent",1);A([L(!1)],N.prototype,"registerThemeItemClickEventAndDefaultTheme",1);A([L(!1)],N.prototype,"registerThemeRevert",1);A([L(!1)],N.prototype,"registerSystemDarkModeChangeEvent",1);var vr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,F=(r,e,t,i)=>{for(var n=i>1?void 0:i?yr(e,t):e,o=r.length-1,a;o>=0;o--)(a=r[o])&&(n=(i?a(e,t,n):a(n))||n);return i&&n&&vr(e,t,n),n};class q{loadHeaderAnimationCss(){const e=document.querySelectorAll(".menu-item .animation");e&&e.length>0&&T(()=>Promise.resolve({}),["css/font-awesome-animation.min.min.css"])}openSearch(){const e=document.querySelector(".searchbox");e&&e.addEventListener("click",()=>{SearchWidget.open()})}autoCalculateSubmenuPosition(){const e=document.querySelector(".lower-container");if(!e)return;const t=e.querySelectorAll(".sub-menu");!t||t.length===0||t.forEach(i=>{const o=i.parentElement.offsetWidth;i.style.visibility="hidden",i.style.display="block";const a=i.offsetWidth;i.style.display="none",i.style.visibility="visible";const s=o/2-a/2;i.style.left=`${s}px`})}injectCommentStyle(){if(S.getPageConfig("_templateId")==="moments")return;const e=document.querySelector(".comment");e&&e.querySelectorAll("div").forEach(async t=>{if(t.shadowRoot){const i=t.shadowRoot;T(()=>import("./assets/comment-ee22d0ae.js"),[]).then(n=>{const o=new CSSStyleSheet;o.replaceSync(n.default),i.adoptedStyleSheets=[o]})}})}retryRegisterComment(){var i;if(!((i=S.getThemeConfig("others","poi_pjax",Boolean))!=null&&i.valueOf()))return;const e=document.querySelectorAll(".comment");if(!e||e.length===0)return;e.forEach(n=>{const o=n.querySelector("div");if(!o||o.querySelector("div"))return;const s=o.getAttribute("id");if(!s)return;const u=s.match(/comment-(.+)-(.+)-(.+)/);if(!u)return;const f=u[1].replaceAll("-","."),c=u[2],l=u[3];ne.retry(()=>t(s,f,c,l))});const t=(n,o,a,s)=>new Promise((u,f)=>{if(!CommentWidget)throw f("Failed to fetch data");CommentWidget.init(`#${n}`,"/plugins/PluginCommentWidget/assets/static/style.css",{group:o,kind:a,name:s,colorScheme:"light"}),this.injectCommentStyle(),u("success")})}registerFixedAPlayer(){var u,f,c,l,g;if(!((u=S.getThemeConfig("additional","aplayer_float",Boolean))==null?void 0:u.valueOf()))return;const t=(f=S.getThemeConfig("additional","aplayer_host",String))==null?void 0:f.valueOf(),i=(c=S.getThemeConfig("additional","aplayer_server",String))==null?void 0:c.valueOf(),n=(l=S.getThemeConfig("additional","aplayer_type",String))==null?void 0:l.valueOf(),o=(g=S.getThemeConfig("additional","aplayer_id",String))==null?void 0:g.valueOf(),a=`${t}?server=${i}&type=${n}&id=${o}&r=${Math.random()}`;fetch(a).then(d=>d.json()).then(d=>{T(()=>import("./assets/APlayer.min-1b5a4167.js").then(h=>h.A),["assets/APlayer.min-1b5a4167.js","assets/_commonjsHelpers-042e6b4d.js"]).then(async h=>{var p,b,w,x,O,k;await T(()=>Promise.resolve({}),["css/APlayer.min.min.css"]);const v=h.default,y=s(),m={container:y,mini:!0,fixed:!0,autoplay:((p=S.getThemeConfig("additional","aplayer_autoplay",Boolean))==null?void 0:p.valueOf())||!1,mutex:!0,lrcType:3,preload:((b=S.getThemeConfig("additional","aplayer_preload",String))==null?void 0:b.valueOf())||"auto",theme:((w=S.getThemeConfig("additional","aplayer_theme",String))==null?void 0:w.valueOf())||"#2980b9",loop:"all",order:((x=S.getThemeConfig("additional","aplayer_order",String))==null?void 0:x.valueOf())||"list",volume:((O=S.getThemeConfig("additional","aplayer_volume",Number))==null?void 0:O.valueOf())||null,listFolded:!1,listMaxHeight:"250px",customAudioType:null,storageName:"sakura",audio:{}};m.audio=d,new v(m),(k=y.querySelector(".aplayer-body"))==null||k.classList.add("ap-hover")})}).catch(d=>{console.error("APlayer API Error: ",d)});const s=()=>{if(document.querySelector("#aplayer-float"))return document.querySelector("#aplayer-float");const d=document.createElement("div");return d.id="aplayer-float",d.classList.add("aplayer"),d.classList.add("aplayer-float"),document.body.appendChild(d),d}}registerHeaderClass(){const e=document.querySelector(".container");S.getPageConfig("_templateId")==="index"?e.classList.add("is-homepage"):e.classList.remove("is-homepage")}wrapTableWithBox(){const e=document.querySelector(".entry-content"),t=e==null?void 0:e.querySelectorAll("table");t==null||t.forEach(i=>{var o,a;if((o=i.parentElement)!=null&&o.classList.contains("table-wrapper"))return;const n=document.createElement("div");n.classList.add("table-wrapper"),(a=i.parentNode)==null||a.insertBefore(n,i),n.appendChild(i)})}wrapImageWithBox(){const e=document.querySelector(".fancybox-content"),t=e==null?void 0:e.querySelectorAll("img:not(.avatar)");t&&(t.forEach(i=>{var o;if(i.classList.contains("gallery-img"))return;i.classList.add("gallery-img");const n=document.createElement("a");n.setAttribute("data-fancybox","gallery"),i.getAttribute("data-src")?n.setAttribute("href",i.getAttribute("data-src")||""):n.setAttribute("href",i.getAttribute("src")||""),n.classList.add("image-wrapper"),(o=i.parentNode)==null||o.insertBefore(n,i),n.appendChild(i)}),T(()=>import("./assets/index.esm-e5442572.js"),[]).then(async i=>{await T(()=>Promise.resolve({}),["css/fancybox.min.css"]),await i.Fancybox.bind(e,'[data-fancybox="gallery"]')}))}registerHighlight(){document.querySelectorAll("pre").forEach(t=>{t.classList.add("highlight-wrap"),t.setAttribute("autocomplete","off"),t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck","false"),t.setAttribute("contenteditable","false");const i=t.querySelector("code");T(()=>import("./assets/index-c0aec26a.js"),["assets/index-c0aec26a.js","assets/_commonjsHelpers-042e6b4d.js"]).then(async n=>{let o="";i.classList.forEach(u=>{u.startsWith("language-")&&(o=u.replace("language-",""))});let a=n.default.getLanguage(o);if(!a||!a.aliases||a.aliases.length===0){i.classList.remove(`language-${o}`);const u=n.default.highlightAuto(i.textContent||"");u.language?o=u.language:o="text",i.classList.add(`language-${o}`)}else o=a.aliases[0];i.setAttribute("data-rel",o.toUpperCase()),i.classList.add(o.toLowerCase()),n.default.highlightElement(i);const s=await T(()=>import("./libs/highlightjs-line-numbers.min.js"),[]);s.registerHljsLineNumbers(n.default),s.injectHljsLineNumbersCss(),n.default.lineNumbersBlock(i)})})}registerCopyCode(){document.querySelectorAll("pre code").forEach(t=>{const i=document.createElement("span");i.classList.add("copy-code"),i.setAttribute("title",S.translate("common.copy_code","复制代码")),i.innerHTML='',t.after(i),T(()=>import("./assets/clipboard-8ef9d310.js").then(n=>n.c),["assets/clipboard-8ef9d310.js","assets/_commonjsHelpers-042e6b4d.js"]).then(n=>{new n.default(i,{target:()=>t})})})}registerToc(){const e=document.querySelectorAll(".toc-container"),t=75;e==null||e.forEach(i=>{T(()=>import("./assets/index-5fe31283.js").then(n=>n.i),["assets/index-5fe31283.js","assets/_commonjsHelpers-042e6b4d.js"]).then(n=>{var u;const o=i.querySelector(".toc"),a=i.getBoundingClientRect().top+window.pageYOffset,s=(u=S.getThemeConfig("post","toc_depth",Number))==null?void 0:u.valueOf();o&&n.default.init({tocElement:o,contentSelector:[".entry-content",".links"],headingSelector:"h1, h2, h3, h4, h5",collapseDepth:s,scrollSmooth:!0,headingsOffset:-(a-t),scrollSmoothOffset:-t,disableTocScrollSync:!0})})})}}F([L(!1)],q.prototype,"loadHeaderAnimationCss",1);F([L(!1)],q.prototype,"openSearch",1);F([L(!1)],q.prototype,"autoCalculateSubmenuPosition",1);F([L()],q.prototype,"injectCommentStyle",1);F([L()],q.prototype,"retryRegisterComment",1);F([L(!1)],q.prototype,"registerFixedAPlayer",1);F([L()],q.prototype,"registerHeaderClass",1);F([L()],q.prototype,"wrapTableWithBox",1);F([L()],q.prototype,"wrapImageWithBox",1);F([L()],q.prototype,"registerHighlight",1);F([L()],q.prototype,"registerCopyCode",1);F([L()],q.prototype,"registerToc",1);/** + `});const a=document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i/a;o.default.set(s)})})}registerPostListPaginationEvent(){const e=document.getElementById("pagination");if(!e)return;const t=e.querySelector("a");t&&t.addEventListener("click",i=>{i.preventDefault();const n=document.getElementById("main");if(!n)return;const o=i.target,a=o.href;return o.classList.add("loading"),o.textContent="",fetch(a,{method:"GET"}).then(s=>s.text()).then(s=>{const f=new DOMParser().parseFromString(s,"text/html"),c=f.querySelectorAll("#main .post");c&&c.length>0&&c.forEach(g=>{n.appendChild(g)});const l=f.querySelector("#pagination a");l?o.href=l.href:e.innerHTML=`${S.translate("page.theend","没有更多文章了")}`}).catch(s=>{console.error(s)}).finally(()=>{o.classList.remove("loading"),o.textContent=S.translate("page.next","下一页"),S.$localize&&S.$localize(".post")}),!1})}registerThemeChangeEvent(){document.querySelectorAll(".theme-change-js").forEach(t=>{t.addEventListener("click",()=>{var i;(i=document.querySelector(".skin-menu"))==null||i.classList.toggle("show")})})}registerThemeItemClickEventAndDefaultTheme(){const e=document.querySelector(".skin-menu"),t=e==null?void 0:e.querySelectorAll(".skin-menu .menu-item");t==null||t.forEach(i=>{const n=JSON.parse(i.getAttribute("data-item")||"{}");n.bg_isdefault&&this.registerThemeRevert(n),i.addEventListener("click",()=>{this.registerThemeRevert(n),localStorage.setItem("sakuraTheme",JSON.stringify(n)),e==null||e.classList.remove("show"),localStorage.setItem("systemMode","false")})}),he.addEventListener("scroll",()=>{e==null||e.classList.remove("show")},200)}registerThemeRevert(e){if(!e){const i=localStorage.getItem("sakuraTheme");if(!i)return;e=JSON.parse(i)}const t=document.querySelector("body");switch(e!=null&&e.bg_url?t.style.backgroundImage=`url(${e==null?void 0:e.bg_url})`:t.style.backgroundImage="",e!=null&&e.bg_night?t.classList.add("dark"):t.classList.remove("dark"),e==null?void 0:e.bg_img_strategy){case"cover":t.style.backgroundSize="cover";break;case"no-repeat":case"repeat":t.style.backgroundRepeat=e.bg_img_strategy;break;default:t.style.backgroundSize="auto",t.style.backgroundRepeat="auto";break}}registerSystemDarkModeChangeEvent(){const e=document.querySelector("body"),t=localStorage.getItem("systemMode"),i=window.matchMedia("(prefers-color-scheme: dark)");(!t||t==="true")&&(i.matches?e.classList.add("dark"):e.classList.remove("dark")),window.matchMedia("(prefers-color-scheme: dark)").onchange=n=>{n.matches?e.classList.add("dark"):e.classList.remove("dark"),localStorage.setItem("systemMode","true")}}}A([L(!1)],N.prototype,"registerScrollEvent",1);A([L(!1)],N.prototype,"registerBackToTopEvent",1);A([L(!1)],N.prototype,"registerCopyEvent",1);A([L()],N.prototype,"registerCodeBlockZoomEvent",1);A([L(!1)],N.prototype,"registerNavigationChangeEvent",1);A([L(!1)],N.prototype,"registerMobileNav",1);A([L(!1)],N.prototype,"registerHeaderEvent",1);A([L()],N.prototype,"registerPostListPaginationEvent",1);A([L(!1)],N.prototype,"registerThemeChangeEvent",1);A([L(!1)],N.prototype,"registerThemeItemClickEventAndDefaultTheme",1);A([L(!1)],N.prototype,"registerThemeRevert",1);A([L(!1)],N.prototype,"registerSystemDarkModeChangeEvent",1);var vr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,F=(r,e,t,i)=>{for(var n=i>1?void 0:i?yr(e,t):e,o=r.length-1,a;o>=0;o--)(a=r[o])&&(n=(i?a(e,t,n):a(n))||n);return i&&n&&vr(e,t,n),n};class q{loadHeaderAnimationCss(){const e=document.querySelectorAll(".menu-item .animation");e&&e.length>0&&T(()=>Promise.resolve({}),["css/font-awesome-animation.min.min.css"])}openSearch(){const e=document.querySelector(".searchbox");e&&e.addEventListener("click",()=>{SearchWidget.open()})}autoCalculateSubmenuPosition(){const e=document.querySelector(".lower-container");if(!e)return;const t=e.querySelectorAll(".sub-menu");!t||t.length===0||t.forEach(i=>{const o=i.parentElement.offsetWidth;i.style.visibility="hidden",i.style.display="block";const a=i.offsetWidth;i.style.display="none",i.style.visibility="visible";const s=o/2-a/2;i.style.left=`${s}px`})}injectCommentStyle(){if(S.getPageConfig("_templateId")==="moments")return;const e=document.querySelector(".comment");e&&e.querySelectorAll("div").forEach(async t=>{if(t.shadowRoot){const i=t.shadowRoot;T(()=>import("./assets/comment-91bbf3ac.js"),[]).then(n=>{const o=new CSSStyleSheet;o.replaceSync(n.default),i.adoptedStyleSheets=[o]})}})}retryRegisterComment(){var i;if(!((i=S.getThemeConfig("others","poi_pjax",Boolean))!=null&&i.valueOf()))return;const e=document.querySelectorAll(".comment");if(!e||e.length===0)return;e.forEach(n=>{const o=n.querySelector("div");if(!o||o.querySelector("div"))return;const s=o.getAttribute("id");if(!s)return;const u=s.match(/comment-(.+)-(.+)-(.+)/);if(!u)return;const f=u[1].replaceAll("-","."),c=u[2],l=u[3];ne.retry(()=>t(s,f,c,l))});const t=(n,o,a,s)=>new Promise((u,f)=>{if(!CommentWidget)throw f("Failed to fetch data");CommentWidget.init(`#${n}`,"/plugins/PluginCommentWidget/assets/static/style.css",{group:o,kind:a,name:s,colorScheme:"light"}),this.injectCommentStyle(),u("success")})}registerFixedAPlayer(){var u,f,c,l,g;if(!((u=S.getThemeConfig("additional","aplayer_float",Boolean))==null?void 0:u.valueOf()))return;const t=(f=S.getThemeConfig("additional","aplayer_host",String))==null?void 0:f.valueOf(),i=(c=S.getThemeConfig("additional","aplayer_server",String))==null?void 0:c.valueOf(),n=(l=S.getThemeConfig("additional","aplayer_type",String))==null?void 0:l.valueOf(),o=(g=S.getThemeConfig("additional","aplayer_id",String))==null?void 0:g.valueOf(),a=`${t}?server=${i}&type=${n}&id=${o}&r=${Math.random()}`;fetch(a).then(d=>d.json()).then(d=>{T(()=>import("./assets/APlayer.min-1b5a4167.js").then(h=>h.A),["assets/APlayer.min-1b5a4167.js","assets/_commonjsHelpers-042e6b4d.js"]).then(async h=>{var p,b,w,x,O,k;await T(()=>Promise.resolve({}),["css/APlayer.min.min.css"]);const v=h.default,y=s(),m={container:y,mini:!0,fixed:!0,autoplay:((p=S.getThemeConfig("additional","aplayer_autoplay",Boolean))==null?void 0:p.valueOf())||!1,mutex:!0,lrcType:3,preload:((b=S.getThemeConfig("additional","aplayer_preload",String))==null?void 0:b.valueOf())||"auto",theme:((w=S.getThemeConfig("additional","aplayer_theme",String))==null?void 0:w.valueOf())||"#2980b9",loop:"all",order:((x=S.getThemeConfig("additional","aplayer_order",String))==null?void 0:x.valueOf())||"list",volume:((O=S.getThemeConfig("additional","aplayer_volume",Number))==null?void 0:O.valueOf())||null,listFolded:!1,listMaxHeight:"250px",customAudioType:null,storageName:"sakura",audio:{}};m.audio=d,new v(m),(k=y.querySelector(".aplayer-body"))==null||k.classList.add("ap-hover")})}).catch(d=>{console.error("APlayer API Error: ",d)});const s=()=>{if(document.querySelector("#aplayer-float"))return document.querySelector("#aplayer-float");const d=document.createElement("div");return d.id="aplayer-float",d.classList.add("aplayer"),d.classList.add("aplayer-float"),document.body.appendChild(d),d}}registerHeaderClass(){const e=document.querySelector(".container");S.getPageConfig("_templateId")==="index"?e.classList.add("is-homepage"):e.classList.remove("is-homepage")}wrapTableWithBox(){const e=document.querySelector(".entry-content"),t=e==null?void 0:e.querySelectorAll("table");t==null||t.forEach(i=>{var o,a;if((o=i.parentElement)!=null&&o.classList.contains("table-wrapper"))return;const n=document.createElement("div");n.classList.add("table-wrapper"),(a=i.parentNode)==null||a.insertBefore(n,i),n.appendChild(i)})}wrapImageWithBox(){const e=document.querySelector(".fancybox-content"),t=e==null?void 0:e.querySelectorAll("img:not(.avatar)");t&&(t.forEach(i=>{var o;if(i.classList.contains("gallery-img"))return;i.classList.add("gallery-img");const n=document.createElement("a");n.setAttribute("data-fancybox","gallery"),i.getAttribute("data-src")?n.setAttribute("href",i.getAttribute("data-src")||""):n.setAttribute("href",i.getAttribute("src")||""),n.classList.add("image-wrapper"),(o=i.parentNode)==null||o.insertBefore(n,i),n.appendChild(i)}),T(()=>import("./assets/index.esm-e5442572.js"),[]).then(async i=>{await T(()=>Promise.resolve({}),["css/fancybox.min.css"]),await i.Fancybox.bind(e,'[data-fancybox="gallery"]')}))}registerHighlight(){document.querySelectorAll("pre").forEach(t=>{t.classList.add("highlight-wrap"),t.setAttribute("autocomplete","off"),t.setAttribute("autocorrect","off"),t.setAttribute("autocapitalize","off"),t.setAttribute("spellcheck","false"),t.setAttribute("contenteditable","false");const i=t.querySelector("code");T(()=>import("./assets/index-c0aec26a.js"),["assets/index-c0aec26a.js","assets/_commonjsHelpers-042e6b4d.js"]).then(async n=>{let o="";i.classList.forEach(u=>{u.startsWith("language-")&&(o=u.replace("language-",""))});let a=n.default.getLanguage(o);if(!a||!a.aliases||a.aliases.length===0){i.classList.remove(`language-${o}`);const u=n.default.highlightAuto(i.textContent||"");u.language?o=u.language:o="text",i.classList.add(`language-${o}`)}else o=a.aliases[0];i.setAttribute("data-rel",o.toUpperCase()),i.classList.add(o.toLowerCase()),n.default.highlightElement(i);const s=await T(()=>import("./libs/highlightjs-line-numbers.min.js"),[]);s.registerHljsLineNumbers(n.default),s.injectHljsLineNumbersCss(),n.default.lineNumbersBlock(i)})})}registerCopyCode(){document.querySelectorAll("pre code").forEach(t=>{const i=document.createElement("span");i.classList.add("copy-code"),i.setAttribute("title",S.translate("common.copy_code","复制代码")),i.innerHTML='',t.after(i),T(()=>import("./assets/clipboard-8ef9d310.js").then(n=>n.c),["assets/clipboard-8ef9d310.js","assets/_commonjsHelpers-042e6b4d.js"]).then(n=>{new n.default(i,{target:()=>t})})})}registerToc(){const e=document.querySelectorAll(".toc-container"),t=75;e==null||e.forEach(i=>{T(()=>import("./assets/index-5fe31283.js").then(n=>n.i),["assets/index-5fe31283.js","assets/_commonjsHelpers-042e6b4d.js"]).then(n=>{var u;const o=i.querySelector(".toc"),a=i.getBoundingClientRect().top+window.pageYOffset,s=(u=S.getThemeConfig("post","toc_depth",Number))==null?void 0:u.valueOf();o&&n.default.init({tocElement:o,contentSelector:[".entry-content",".links"],headingSelector:"h1, h2, h3, h4, h5",collapseDepth:s,scrollSmooth:!0,headingsOffset:-(a-t),scrollSmoothOffset:-t,disableTocScrollSync:!0})})})}}F([L(!1)],q.prototype,"loadHeaderAnimationCss",1);F([L(!1)],q.prototype,"openSearch",1);F([L(!1)],q.prototype,"autoCalculateSubmenuPosition",1);F([L()],q.prototype,"injectCommentStyle",1);F([L()],q.prototype,"retryRegisterComment",1);F([L(!1)],q.prototype,"registerFixedAPlayer",1);F([L()],q.prototype,"registerHeaderClass",1);F([L()],q.prototype,"wrapTableWithBox",1);F([L()],q.prototype,"wrapImageWithBox",1);F([L()],q.prototype,"registerHighlight",1);F([L()],q.prototype,"registerCopyCode",1);F([L()],q.prototype,"registerToc",1);/** * (c) Iconify * * For the full copyright and license information, please view the license.txt or license.gpl.txt @@ -11,5 +11,5 @@ var cr=Object.defineProperty;var lr=(r,e,t)=>e in r?cr(r,e,{enumerable:!0,config * * @license MIT * @version 3.1.0 -*/const pn=Object.freeze({left:0,top:0,width:16,height:16}),Ae=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Se=Object.freeze({...pn,...Ae}),nt=Object.freeze({...Se,body:"",hidden:!1});function br(r,e){const t={};!r.hFlip!=!e.hFlip&&(t.hFlip=!0),!r.vFlip!=!e.vFlip&&(t.vFlip=!0);const i=((r.rotate||0)+(e.rotate||0))%4;return i&&(t.rotate=i),t}function _t(r,e){const t=br(r,e);for(const i in nt)i in Ae?i in r&&!(i in t)&&(t[i]=Ae[i]):i in e?t[i]=e[i]:i in r&&(t[i]=r[i]);return t}function Sr(r,e){const t=r.icons,i=r.aliases||Object.create(null),n=Object.create(null);function o(a){if(t[a])return n[a]=[];if(!(a in n)){n[a]=null;const s=i[a]&&i[a].parent,u=s&&o(s);u&&(n[a]=[s].concat(u))}return n[a]}return(e||Object.keys(t).concat(Object.keys(i))).forEach(o),n}function wr(r,e,t){const i=r.icons,n=r.aliases||Object.create(null);let o={};function a(s){o=_t(i[s]||n[s],o)}return a(e),t.forEach(a),_t(r,o)}function mn(r,e){const t=[];if(typeof r!="object"||typeof r.icons!="object")return t;r.not_found instanceof Array&&r.not_found.forEach(n=>{e(n,null),t.push(n)});const i=Sr(r);for(const n in i){const o=i[n];o&&(e(n,wr(r,n,o)),t.push(n))}return t}const pe=/^[a-z0-9]+(-[a-z0-9]+)*$/,oe=(r,e,t,i="")=>{const n=r.split(":");if(r.slice(0,1)==="@"){if(n.length<2||n.length>3)return null;i=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){const s=n.pop(),u=n.pop(),f={provider:n.length>0?n[0]:i,prefix:u,name:s};return e&&!Re(f)?null:f}const o=n[0],a=o.split("-");if(a.length>1){const s={provider:i,prefix:a.shift(),name:a.join("-")};return e&&!Re(s)?null:s}if(t&&i===""){const s={provider:i,prefix:"",name:o};return e&&!Re(s,t)?null:s}return null},Re=(r,e)=>r?!!((r.provider===""||r.provider.match(pe))&&(e&&r.prefix===""||r.prefix.match(pe))&&r.name.match(pe)):!1,Or={provider:"",aliases:{},not_found:{},...pn};function Ye(r,e){for(const t in e)if(t in r&&typeof r[t]!=typeof e[t])return!1;return!0}function vn(r){if(typeof r!="object"||r===null)return null;const e=r;if(typeof e.prefix!="string"||!r.icons||typeof r.icons!="object"||!Ye(r,Or))return null;const t=e.icons;for(const n in t){const o=t[n];if(!n.match(pe)||typeof o.body!="string"||!Ye(o,nt))return null}const i=e.aliases||Object.create(null);for(const n in i){const o=i[n],a=o.parent;if(!n.match(pe)||typeof a!="string"||!t[a]&&!i[a]||!Ye(o,nt))return null}return e}const Ne=Object.create(null);function xr(r,e){return{provider:r,prefix:e,icons:Object.create(null),missing:new Set}}function V(r,e){const t=Ne[r]||(Ne[r]=Object.create(null));return t[e]||(t[e]=xr(r,e))}function pt(r,e){return vn(e)?mn(e,(t,i)=>{i?r.icons[t]=i:r.missing.add(t)}):[]}function kr(r,e,t){try{if(typeof t.body=="string")return r.icons[e]={...t},!0}catch{}return!1}function Lr(r,e){let t=[];return(typeof r=="string"?[r]:Object.keys(Ne)).forEach(n=>{(typeof n=="string"&&typeof e=="string"?[e]:Object.keys(Ne[n]||{})).forEach(a=>{const s=V(n,a);t=t.concat(Object.keys(s.icons).map(u=>(n!==""?"@"+n+":":"")+a+":"+u))})}),t}let ye=!1;function Pr(r){return typeof r=="boolean"&&(ye=r),ye}function we(r){const e=typeof r=="string"?oe(r,!0,ye):r;if(e){const t=V(e.provider,e.prefix),i=e.name;return t.icons[i]||(t.missing.has(i)?null:void 0)}}function yn(r,e){const t=oe(r,!0,ye);if(!t)return!1;const i=V(t.provider,t.prefix);return kr(i,t.name,e)}function bn(r,e){if(typeof r!="object")return!1;if(typeof e!="string"&&(e=r.provider||""),ye&&!e&&!r.prefix){let n=!1;return vn(r)&&(r.prefix="",mn(r,(o,a)=>{a&&yn(o,a)&&(n=!0)})),n}const t=r.prefix;if(!Re({provider:e,prefix:t,name:"a"}))return!1;const i=V(e,t);return!!pt(i,r)}function Cr(r){return!!we(r)}function Er(r){const e=we(r);return e?{...Se,...e}:null}const Sn=Object.freeze({width:null,height:null}),wn=Object.freeze({...Sn,...Ae}),Tr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_r=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function rt(r,e,t){if(e===1)return r;if(t=t||100,typeof r=="number")return Math.ceil(r*e*t)/t;if(typeof r!="string")return r;const i=r.split(Tr);if(i===null||!i.length)return r;const n=[];let o=i.shift(),a=_r.test(o);for(;;){if(a){const s=parseFloat(o);isNaN(s)?n.push(o):n.push(Math.ceil(s*e*t)/t)}else n.push(o);if(o=i.shift(),o===void 0)return n.join("");a=!a}}const jr=r=>r==="unset"||r==="undefined"||r==="none";function He(r,e){const t={...Se,...r},i={...wn,...e},n={left:t.left,top:t.top,width:t.width,height:t.height};let o=t.body;[t,i].forEach(h=>{const v=[],y=h.hFlip,m=h.vFlip;let p=h.rotate;y?m?p+=2:(v.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),v.push("scale(-1 1)"),n.top=n.left=0):m&&(v.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),v.push("scale(1 -1)"),n.top=n.left=0);let b;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:b=n.height/2+n.top,v.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:v.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:b=n.width/2+n.left,v.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}p%2===1&&(n.left!==n.top&&(b=n.left,n.left=n.top,n.top=b),n.width!==n.height&&(b=n.width,n.width=n.height,n.height=b)),v.length&&(o=''+o+"")});const a=i.width,s=i.height,u=n.width,f=n.height;let c,l;a===null?(l=s===null?"1em":s==="auto"?f:s,c=rt(l,u/f)):(c=a==="auto"?u:a,l=s===null?rt(c,f/u):s==="auto"?f:s);const g={},d=(h,v)=>{jr(v)||(g[h]=v.toString())};return d("width",c),d("height",l),g.viewBox=n.left.toString()+" "+n.top.toString()+" "+u.toString()+" "+f.toString(),{attributes:g,body:o}}const Rr=/\sid="(\S+)"/g,Ir="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ar=0;function On(r,e=Ir){const t=[];let i;for(;i=Rr.exec(r);)t.push(i[1]);if(!t.length)return r;const n="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const a=typeof e=="function"?e(o):e+(Ar++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");r=r.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+n+"$3")}),r=r.replace(new RegExp(n,"g"),""),r}const G={local:!0,session:!0},xn={local:new Set,session:new Set};let mt=!1;function Nr(r){mt=r}const jt="iconify2",be="iconify",kn=be+"-count",Rt=be+"-version",Ln=36e5,Fr=168;function it(r,e){try{return r.getItem(e)}catch{}}function vt(r,e,t){try{return r.setItem(e,t),!0}catch{}}function It(r,e){try{r.removeItem(e)}catch{}}function ot(r,e){return vt(r,kn,e.toString())}function at(r){return parseInt(it(r,kn))||0}let Ee=typeof window>"u"?{}:window;function Pn(r){const e=r+"Storage";try{if(Ee&&Ee[e]&&typeof Ee[e].length=="number")return Ee[e]}catch{}G[r]=!1}function Cn(r,e){const t=Pn(r);if(!t)return;const i=it(t,Rt);if(i!==jt){if(i){const s=at(t);for(let u=0;u{const u=be+s.toString(),f=it(t,u);if(typeof f=="string"){try{const c=JSON.parse(f);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>n&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&e(c,s))return!0}catch{}It(t,u)}};let a=at(t);for(let s=a-1;s>=0;s--)o(s)||(s===a-1?(a--,ot(t,a)):xn[r].add(s))}function En(){if(!mt){Nr(!0);for(const r in G)Cn(r,e=>{const t=e.data,i=e.provider,n=t.prefix,o=V(i,n);if(!pt(o,t).length)return!1;const a=t.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,a):a,!0})}}function Tn(r,e){switch(r){case"local":case"session":G[r]=e;break;case"all":for(const t in G)G[t]=e;break}}const st=Object.create(null);function _n(r,e){st[r]=e}function ut(r){return st[r]||st[""]}function yt(r){let e;if(typeof r.resources=="string")e=[r.resources];else if(e=r.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:r.path||"/",maxURL:r.maxURL||500,rotate:r.rotate||750,timeout:r.timeout||5e3,random:r.random===!0,index:r.index||0,dataAfterTimeout:r.dataAfterTimeout!==!1}}const Be=Object.create(null),le=["https://api.simplesvg.com","https://api.unisvg.com"],Ie=[];for(;le.length>0;)le.length===1||Math.random()>.5?Ie.push(le.shift()):Ie.push(le.pop());Be[""]=yt({resources:["https://api.iconify.design"].concat(Ie)});function jn(r,e){const t=yt(e);return t===null?!1:(Be[r]=t,!0)}function Ve(r){return Be[r]}function qr(){return Object.keys(Be)}const Dr=()=>{let r;try{if(r=fetch,typeof r=="function")return r}catch{}};let Fe=Dr();function Mr(r){Fe=r}function $r(){return Fe}function Hr(r,e){const t=Ve(r);if(!t)return 0;let i;if(!t.maxURL)i=0;else{let n=0;t.resources.forEach(a=>{n=Math.max(n,a.length)});const o=e+".json?icons=";i=t.maxURL-n-t.path.length-o.length}return i}function Br(r){return r===404}const Vr=(r,e,t)=>{const i=[],n=Hr(r,e),o="icons";let a={type:o,provider:r,prefix:e,icons:[]},s=0;return t.forEach((u,f)=>{s+=u.length+1,s>=n&&f>0&&(i.push(a),a={type:o,provider:r,prefix:e,icons:[]},s=u.length),a.icons.push(u)}),i.push(a),i};function Ur(r){if(typeof r=="string"){const e=Ve(r);if(e)return e.path}return"/"}const zr=(r,e,t)=>{if(!Fe){t("abort",424);return}let i=Ur(e.provider);switch(e.type){case"icons":{const o=e.prefix,s=e.icons.join(","),u=new URLSearchParams({icons:s});i+=o+".json?"+u.toString();break}case"custom":{const o=e.uri;i+=o.slice(0,1)==="/"?o.slice(1):o;break}default:t("abort",400);return}let n=503;Fe(r+i).then(o=>{const a=o.status;if(a!==200){setTimeout(()=>{t(Br(a)?"abort":"next",a)});return}return n=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?t("abort",o):t("next",n)});return}setTimeout(()=>{t("success",o)})}).catch(()=>{t("next",n)})},Kr={prepare:Vr,send:zr};function Jr(r){const e={loaded:[],missing:[],pending:[]},t=Object.create(null);r.sort((n,o)=>n.provider!==o.provider?n.provider.localeCompare(o.provider):n.prefix!==o.prefix?n.prefix.localeCompare(o.prefix):n.name.localeCompare(o.name));let i={provider:"",prefix:"",name:""};return r.forEach(n=>{if(i.name===n.name&&i.prefix===n.prefix&&i.provider===n.provider)return;i=n;const o=n.provider,a=n.prefix,s=n.name,u=t[o]||(t[o]=Object.create(null)),f=u[a]||(u[a]=V(o,a));let c;s in f.icons?c=e.loaded:a===""||f.missing.has(s)?c=e.missing:c=e.pending;const l={provider:o,prefix:a,name:s};c.push(l)}),e}function Rn(r,e){r.forEach(t=>{const i=t.loaderCallbacks;i&&(t.loaderCallbacks=i.filter(n=>n.id!==e))})}function Wr(r){r.pendingCallbacksFlag||(r.pendingCallbacksFlag=!0,setTimeout(()=>{r.pendingCallbacksFlag=!1;const e=r.loaderCallbacks?r.loaderCallbacks.slice(0):[];if(!e.length)return;let t=!1;const i=r.provider,n=r.prefix;e.forEach(o=>{const a=o.icons,s=a.pending.length;a.pending=a.pending.filter(u=>{if(u.prefix!==n)return!0;const f=u.name;if(r.icons[f])a.loaded.push({provider:i,prefix:n,name:f});else if(r.missing.has(f))a.missing.push({provider:i,prefix:n,name:f});else return t=!0,!0;return!1}),a.pending.length!==s&&(t||Rn([r],o.id),o.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),o.abort))})}))}let Qr=0;function Gr(r,e,t){const i=Qr++,n=Rn.bind(null,t,i);if(!e.pending.length)return n;const o={id:i,icons:e,callback:r,abort:n};return t.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(o)}),n}function Yr(r,e=!0,t=!1){const i=[];return r.forEach(n=>{const o=typeof n=="string"?oe(n,e,t):n;o&&i.push(o)}),i}var Zr={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Xr(r,e,t,i){const n=r.resources.length,o=r.random?Math.floor(Math.random()*n):r.index;let a;if(r.random){let O=r.resources.slice(0);for(a=[];O.length>1;){const k=Math.floor(Math.random()*O.length);a.push(O[k]),O=O.slice(0,k).concat(O.slice(k+1))}a=a.concat(O)}else a=r.resources.slice(o).concat(r.resources.slice(0,o));const s=Date.now();let u="pending",f=0,c,l=null,g=[],d=[];typeof i=="function"&&d.push(i);function h(){l&&(clearTimeout(l),l=null)}function v(){u==="pending"&&(u="aborted"),h(),g.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),g=[]}function y(O,k){k&&(d=[]),typeof O=="function"&&d.push(O)}function m(){return{startTime:s,payload:e,status:u,queriesSent:f,queriesPending:g.length,subscribe:y,abort:v}}function p(){u="failed",d.forEach(O=>{O(void 0,c)})}function b(){g.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),g=[]}function w(O,k,D){const $=k!=="success";switch(g=g.filter(_=>_!==O),u){case"pending":break;case"failed":if($||!r.dataAfterTimeout)return;break;default:return}if(k==="abort"){c=D,p();return}if($){c=D,g.length||(a.length?x():p());return}if(h(),b(),!r.random){const _=r.resources.indexOf(O.resource);_!==-1&&_!==r.index&&(r.index=_)}u="completed",d.forEach(_=>{_(D)})}function x(){if(u!=="pending")return;h();const O=a.shift();if(O===void 0){if(g.length){l=setTimeout(()=>{h(),u==="pending"&&(b(),p())},r.timeout);return}p();return}const k={status:"pending",resource:O,callback:(D,$)=>{w(k,D,$)}};g.push(k),f++,l=setTimeout(x,r.rotate),t(O,e,k.callback)}return setTimeout(x),m}function In(r){const e={...Zr,...r};let t=[];function i(){t=t.filter(s=>s().status==="pending")}function n(s,u,f){const c=Xr(e,s,u,(l,g)=>{i(),f&&f(l,g)});return t.push(c),c}function o(s){return t.find(u=>s(u))||null}return{query:n,find:o,setIndex:s=>{e.index=s},getIndex:()=>e.index,cleanup:i}}function At(){}const Ze=Object.create(null);function ei(r){if(!Ze[r]){const e=Ve(r);if(!e)return;const t=In(e),i={config:e,redundancy:t};Ze[r]=i}return Ze[r]}function An(r,e,t){let i,n;if(typeof r=="string"){const o=ut(r);if(!o)return t(void 0,424),At;n=o.send;const a=ei(r);a&&(i=a.redundancy)}else{const o=yt(r);if(o){i=In(o);const a=r.resources?r.resources[0]:"",s=ut(a);s&&(n=s.send)}}return!i||!n?(t(void 0,424),At):i.query(e,n,t)().abort}function ti(r,e){const t=r.lastModifiedCached;if(t&&t>=e)return t===e;if(r.lastModifiedCached=e,t)for(const i in G)Cn(i,n=>{const o=n.data;return n.provider!==r.provider||o.prefix!==r.prefix||o.lastModified===e});return!0}function ni(r,e){mt||En();function t(i){let n;if(!G[i]||!(n=Pn(i)))return;const o=xn[i];let a;if(o.size)o.delete(a=Array.from(o).shift());else if(a=at(n),!ot(n,a+1))return;const s={cached:Math.floor(Date.now()/Ln),provider:r.provider,data:e};return vt(n,be+a.toString(),JSON.stringify(s))}e.lastModified&&!ti(r,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),t("local")||t("session"))}function Nt(){}function ri(r){r.iconsLoaderFlag||(r.iconsLoaderFlag=!0,setTimeout(()=>{r.iconsLoaderFlag=!1,Wr(r)}))}function ii(r,e){r.iconsToLoad?r.iconsToLoad=r.iconsToLoad.concat(e).sort():r.iconsToLoad=e,r.iconsQueueFlag||(r.iconsQueueFlag=!0,setTimeout(()=>{r.iconsQueueFlag=!1;const{provider:t,prefix:i}=r,n=r.iconsToLoad;delete r.iconsToLoad;let o;if(!n||!(o=ut(t)))return;o.prepare(t,i,n).forEach(s=>{An(t,s,u=>{if(typeof u!="object")s.icons.forEach(f=>{r.missing.add(f)});else try{const f=pt(r,u);if(!f.length)return;const c=r.pendingIcons;c&&f.forEach(l=>{c.delete(l)}),ni(r,u)}catch(f){console.error(f)}ri(r)})})}))}const oi=r=>{const t=V(r.provider,r.prefix).pendingIcons;return!!(t&&t.has(r.name))},bt=(r,e)=>{const t=Yr(r,!0,Pr()),i=Jr(t);if(!i.pending.length){let u=!0;return e&&setTimeout(()=>{u&&e(i.loaded,i.missing,i.pending,Nt)}),()=>{u=!1}}const n=Object.create(null),o=[];let a,s;return i.pending.forEach(u=>{const{provider:f,prefix:c}=u;if(c===s&&f===a)return;a=f,s=c,o.push(V(f,c));const l=n[f]||(n[f]=Object.create(null));l[c]||(l[c]=[])}),i.pending.forEach(u=>{const{provider:f,prefix:c,name:l}=u,g=V(f,c),d=g.pendingIcons||(g.pendingIcons=new Set);d.has(l)||(d.add(l),n[f][c].push(l))}),o.forEach(u=>{const{provider:f,prefix:c}=u;n[f][c].length&&ii(u,n[f][c])}),e?Gr(e,i,o):Nt},ai=r=>new Promise((e,t)=>{const i=typeof r=="string"?oe(r,!0):r;if(!i){t(r);return}bt([i||r],n=>{if(n.length&&i){const o=we(i);if(o){e({...Se,...o});return}}t(r)})});function Nn(r,e){const t={...r};for(const i in e){const n=e[i],o=typeof n;i in Sn?(n===null||n&&(o==="string"||o==="number"))&&(t[i]=n):o===typeof t[i]&&(t[i]=i==="rotate"?n%4:n)}return t}const Ue={...wn,inline:!1},Xe="iconify",ct="iconify-inline",W="iconifyData"+Date.now();let Y=[];function Oe(r){for(let e=0;edocument.documentElement})}function ui(r){Y=Y.filter(e=>r!==e&&r!==(typeof e.node=="function"?e.node():e.node))}function xe(){return Y}function ci(r){const e=document;e.readyState&&e.readyState!=="loading"?r():e.addEventListener("DOMContentLoaded",r)}let me=null;const li={childList:!0,subtree:!0,attributes:!0};function qn(r){if(!r.observer)return;const e=r.observer;e.pendingScan||(e.pendingScan=setTimeout(()=>{delete e.pendingScan,me&&me(r)}))}function fi(r,e){if(!r.observer)return;const t=r.observer;if(!t.pendingScan)for(let i=0;i0||n.type==="attributes"&&n.target[W]!==void 0){t.paused||qn(r);return}}}function Dn(r,e){r.observer.instance.observe(e,li)}function qe(r){let e=r.observer;if(e&&e.instance)return;const t=typeof r.node=="function"?r.node():r.node;!t||!window||(e||(e={paused:0},r.observer=e),e.instance=new window.MutationObserver(fi.bind(null,r)),Dn(r,t),e.paused||qn(r))}function Ft(){xe().forEach(qe)}function Mn(r){if(!r.observer)return;const e=r.observer;e.pendingScan&&(clearTimeout(e.pendingScan),delete e.pendingScan),e.instance&&(e.instance.disconnect(),delete e.instance)}function di(r){const e=me!==null;if(me!==r&&(me=r,e&&xe().forEach(Mn)),e){Ft();return}ci(Ft)}function lt(r){(r?[r]:xe()).forEach(e=>{if(!e.observer){e.observer={paused:1};return}const t=e.observer;if(t.paused++,t.paused>1||!t.instance)return;t.instance.disconnect()})}function gi(r){if(r){const e=Oe(r);e&<(e)}else lt()}function ft(r){(r?[r]:xe()).forEach(e=>{if(!e.observer){qe(e);return}const t=e.observer;if(t.paused&&(t.paused--,!t.paused)){const i=typeof e.node=="function"?e.node():e.node;if(i)t.instance?Dn(e,i):qe(e);else return}})}function hi(r){if(r){const e=Oe(r);e&&ft(e)}else ft()}function $n(r,e=!1){const t=Fn(r,e);return qe(t),t}function Hn(r){const e=Oe(r);e&&(Mn(e),ui(r))}function pi(r,e){if(r.name!==e.name||r.mode!==e.mode)return!0;const t=r.customisations,i=e.customisations;for(const n in Ue)if(t[n]!==i[n])return!0;return!1}function mi(r,e=0){const t=r.replace(/^-?[0-9.]*/,"");function i(n){for(;n<0;)n+=4;return n%4}if(t===""){const n=parseInt(r);return isNaN(n)?0:i(n)}else if(t!==r){let n=0;switch(t){case"%":n=25;break;case"deg":n=90}if(n){let o=parseFloat(r.slice(0,r.length-t.length));return isNaN(o)?0:(o=o/n,o%1===0?i(o):0)}}return e}const vi=/[\s,]+/;function yi(r,e){e.split(vi).forEach(t=>{switch(t.trim()){case"horizontal":r.hFlip=!0;break;case"vertical":r.vFlip=!0;break}})}const bi=["width","height"],Si=["inline","hFlip","vFlip"];function wi(r,e){return r===e||r==="true"?!0:r===""||r==="false"?!1:null}function Oi(r){const e=r.getAttribute("data-icon"),t=typeof e=="string"&&oe(e,!0);if(!t)return null;const i={...Ue,inline:r.classList&&r.classList.contains(ct)};bi.forEach(s=>{const u=r.getAttribute("data-"+s);u&&(i[s]=u)});const n=r.getAttribute("data-rotate");typeof n=="string"&&(i.rotate=mi(n));const o=r.getAttribute("data-flip");typeof o=="string"&&yi(i,o),Si.forEach(s=>{const u="data-"+s,f=wi(r.getAttribute(u),u);typeof f=="boolean"&&(i[s]=f)});const a=r.getAttribute("data-mode");return{name:e,icon:t,customisations:i,mode:a}}const xi="svg."+Xe+", i."+Xe+", span."+Xe+", i."+ct+", span."+ct;function ki(r){const e=[];return r.querySelectorAll(xi).forEach(t=>{const i=t[W]||t.tagName.toLowerCase()!=="svg"?Oi(t):null;i&&e.push({node:t,props:i})}),e}function Bn(r,e){let t=r.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in e)t+=" "+i+'="'+e[i]+'"';return'"+r+""}function Vn(r){const e=new Set(["iconify"]);return["provider","prefix"].forEach(t=>{r[t]&&e.add("iconify--"+r[t])}),e}function Un(r,e,t,i){const n=r.classList;if(i){const a=i.classList;Array.from(a).forEach(s=>{n.add(s)})}const o=[];return e.forEach(a=>{n.contains(a)?t.has(a)&&o.push(a):(n.add(a),o.push(a))}),t.forEach(a=>{e.has(a)||n.remove(a)}),o}function zn(r,e,t){const i=r.style;(t||[]).forEach(o=>{i.removeProperty(o)});const n=[];for(const o in e)i.getPropertyValue(o)||(n.push(o),i.setProperty(o,e[o]));return n}function Kn(r,e,t){let i;try{i=document.createElement("span")}catch{return r}const n=e.customisations,o=He(t,n),a=r[W],s=Bn(On(o.body),{"aria-hidden":"true",role:"img",...o.attributes});i.innerHTML=s;const u=i.childNodes[0],f=r.attributes;for(let h=0;h/g,"%3E").replace(/\s+/g," ")}function Pi(r){return'url("data:image/svg+xml,'+Li(r)+'")'}const Ci={display:"inline-block"},dt={"background-color":"currentColor"},Jn={"background-color":"transparent"},qt={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Dt={"-webkit-mask":dt,mask:dt,background:Jn};for(const r in Dt){const e=Dt[r];for(const t in qt)e[r+"-"+t]=qt[t]}function Mt(r){return r+(r.match(/^[-0-9.]+$/)?"px":"")}function Ei(r,e,t,i){const n=e.customisations,o=He(t,n),a=o.attributes,s=r[W],u=Bn(o.body,{...a,width:t.width+"",height:t.height+""}),f=Vn(e.icon),c=Un(r,f,new Set(s&&s.addedClasses)),g={"--svg":Pi(u),width:Mt(a.width),height:Mt(a.height),...Ci,...i?dt:Jn};n.inline&&(g["vertical-align"]="-0.125em");const d=zn(r,g,s&&s.addedStyles),h={...e,status:"loaded",addedClasses:c,addedStyles:d};return r[W]=h,r}let Te=!1;function Ti(){Te||(Te=!0,setTimeout(()=>{Te&&(Te=!1,ie())}))}function ie(r,e=!1){const t=Object.create(null);function i(n,o){const{provider:a,prefix:s,name:u}=n,f=V(a,s),c=f.icons[u];if(c)return{status:"loaded",icon:c};if(f.missing.has(u))return{status:"missing"};if(o&&!oi(n)){const l=t[a]||(t[a]=Object.create(null));(l[s]||(l[s]=new Set)).add(u)}return{status:"loading"}}(r?[r]:xe()).forEach(n=>{const o=typeof n.node=="function"?n.node():n.node;if(!o||!o.querySelectorAll)return;let a=!1,s=!1;function u(f,c,l){if(s||(s=!0,lt(n)),f.tagName.toUpperCase()!=="SVG"){const g=c.mode,d=g==="mask"||(g==="bg"?!1:g==="style"?l.body.indexOf("currentColor")!==-1:null);if(typeof d=="boolean"){Ei(f,c,{...Se,...l},d);return}}Kn(f,c,l)}ki(o).forEach(({node:f,props:c})=>{const l=f[W];if(!l){const{status:d,icon:h}=i(c.icon,!0);if(h){u(f,c,h);return}a=a||d==="loading",f[W]={...c,status:d};return}let g;if(pi(l,c)){if(g=i(c.icon,l.name!==c.name),!g.icon){a=a||g.status==="loading",Object.assign(l,{...c,status:g.status});return}}else{if(l.status!=="loading")return;if(g=i(c.icon,!1),!g.icon){l.status=g.status;return}}u(f,c,g.icon)}),n.temporary&&!a?Hn(o):e&&a?$n(o,!0):s&&n.observer&&ft(n)});for(const n in t){const o=t[n];for(const a in o){const s=o[a];bt(Array.from(s).map(u=>({provider:n,prefix:a,name:u})),Ti)}}}function _i(r){const e=Oe(r);e?ie(e):ie({node:r,temporary:!0},!0)}function Wn(r,e,t=!1){const i=we(r);if(!i)return null;const n=oe(r),o=Nn(Ue,e||{}),a=Kn(document.createElement("span"),{name:r,icon:n,customisations:o},i);return t?a.outerHTML:a}function ji(){return"3.1.0"}function Ri(r,e){return Wn(r,e,!1)}function Ii(r,e){return Wn(r,e,!0)}function Ai(r,e){const t=we(r);if(!t)return null;const i=Nn(Ue,e||{});return He(t,i)}function Ni(r){r?_i(r):ie()}if(typeof document<"u"&&typeof window<"u"){si();const r=window;if(r.IconifyPreload!==void 0){const e=r.IconifyPreload,t="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!bn(i))&&console.error(t)}catch{console.error(t)}})}setTimeout(()=>{di(ie),ie()})}function Fi(r,e){Tn(r,e!==!1)}function qi(r){Tn(r,!0)}_n("",Kr);if(typeof document<"u"&&typeof window<"u"){En();const r=window;if(r.IconifyProviders!==void 0){const e=r.IconifyProviders;if(typeof e=="object"&&e!==null)for(const t in e){const i="IconifyProviders["+t+"] is invalid.";try{const n=e[t];if(typeof n!="object"||!n||n.resources===void 0)continue;jn(t,n)||console.error(i)}catch{console.error(i)}}}}const Di={getAPIConfig:Ve,setAPIModule:_n,sendAPIQuery:An,setFetch:Mr,getFetch:$r,listAPIProviders:qr},gt={_api:Di,addAPIProvider:jn,loadIcons:bt,loadIcon:ai,iconExists:Cr,getIcon:Er,listIcons:Lr,addIcon:yn,addCollection:bn,replaceIDs:On,calculateSize:rt,buildIcon:He,getVersion:ji,renderSVG:Ri,renderHTML:Ii,renderIcon:Ai,scan:Ni,observe:$n,stopObserving:Hn,pauseObserver:gi,resumeObserver:hi,enableCache:Fi,disableCache:qi};try{self.Iconify===void 0&&(self.Iconify=gt)}catch{}const Mi=gt.default||gt,$i=JSON.parse('[{"prefix":"fa","width":1536,"height":1536,"icons":{"chevron-left":{"body":"","width":1088,"height":1664},"creative-commons":{"body":"","width":1792,"height":1792},"meetup":{"body":"","width":1856,"height":1792},"vimeo":{"body":"","width":1664,"height":1408},"chevron-right":{"body":"","width":1088,"height":1664,"hFlip":true}}},{"prefix":"akar-icons","width":24,"height":24,"icons":{"arrow-forward-thick":{"body":""},"more-horizontal-fill":{"body":""}}},{"prefix":"system-uicons","width":21,"height":21,"icons":{"tags":{"body":""}}}]');$i.forEach(r=>Mi.addCollection(r));class Hi{constructor(e){C(this,"_t",null);C(this,"_timeOut",null);C(this,"_settings",{duration:2e3,width:260,height:60,top:"top",background:"#fe9600",color:"#fff",fontSize:14});e&&(this._settings={...this._settings,...e})}create(e,t){if(this._timeOut&&(clearTimeout(this._timeOut),this._t&&(document.body.removeChild(this._t),this._t=null)),!e){console.error("提示文本不能为空");return}this._t=document.createElement("div"),this._t.className="t-toast",this._t.innerHTML=`

${e}

`,document.body.appendChild(this._t),this.setStyle(),this._timeOut=setTimeout(()=>{this._t&&(document.body.removeChild(this._t),this._t=null),this._timeOut=null},t??this._settings.duration)}setStyle(){if(!this._t){console.error("Toast元素未创建");return}this._t.style.width=`${this._settings.width}px`,this._t.style.height=`${this._settings.height}px`,this._t.style.position="fixed",this._t.style.textAlign="center",this._t.style.zIndex="99999",typeof this._settings.top=="string"&&isNaN(Number(this._settings.top))?this._settings.top==="center"?this._t.style.top=`${window.innerHeight/2}px`:this._settings.top==="top"&&(this._t.style.top="0px"):this._t.style.top=typeof this._settings.top=="number"?`${this._settings.top}px`:"",this._t.style.left="50%",this._t.style.marginLeft=`-${this._settings.width/2}px`,this._t.style.background=this._settings.background,this._t.style.color=this._settings.color,this._t.style.borderBottomLeftRadius="4px",this._t.style.borderBottomRightRadius="4px",this._t.style.fontSize=`${this._settings.fontSize}px`,this._t.style.display="flex",this._t.style.justifyContent="center",this._t.style.alignItems="center"}}function I(r){"@babel/helpers - typeof";return I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(r)}function j(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Bi(r,e){if(I(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(I(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Qn(r){var e=Bi(r,"string");return I(e)==="symbol"?e:String(e)}function $t(r,e){for(var t=0;tr.length)&&(e=r.length);for(var t=0,i=new Array(e);t{e(n,null),t.push(n)});const i=Sr(r);for(const n in i){const o=i[n];o&&(e(n,wr(r,n,o)),t.push(n))}return t}const pe=/^[a-z0-9]+(-[a-z0-9]+)*$/,oe=(r,e,t,i="")=>{const n=r.split(":");if(r.slice(0,1)==="@"){if(n.length<2||n.length>3)return null;i=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){const s=n.pop(),u=n.pop(),f={provider:n.length>0?n[0]:i,prefix:u,name:s};return e&&!Re(f)?null:f}const o=n[0],a=o.split("-");if(a.length>1){const s={provider:i,prefix:a.shift(),name:a.join("-")};return e&&!Re(s)?null:s}if(t&&i===""){const s={provider:i,prefix:"",name:o};return e&&!Re(s,t)?null:s}return null},Re=(r,e)=>r?!!((r.provider===""||r.provider.match(pe))&&(e&&r.prefix===""||r.prefix.match(pe))&&r.name.match(pe)):!1,Or={provider:"",aliases:{},not_found:{},...pn};function Ye(r,e){for(const t in e)if(t in r&&typeof r[t]!=typeof e[t])return!1;return!0}function vn(r){if(typeof r!="object"||r===null)return null;const e=r;if(typeof e.prefix!="string"||!r.icons||typeof r.icons!="object"||!Ye(r,Or))return null;const t=e.icons;for(const n in t){const o=t[n];if(!n.match(pe)||typeof o.body!="string"||!Ye(o,nt))return null}const i=e.aliases||Object.create(null);for(const n in i){const o=i[n],a=o.parent;if(!n.match(pe)||typeof a!="string"||!t[a]&&!i[a]||!Ye(o,nt))return null}return e}const Ne=Object.create(null);function xr(r,e){return{provider:r,prefix:e,icons:Object.create(null),missing:new Set}}function V(r,e){const t=Ne[r]||(Ne[r]=Object.create(null));return t[e]||(t[e]=xr(r,e))}function pt(r,e){return vn(e)?mn(e,(t,i)=>{i?r.icons[t]=i:r.missing.add(t)}):[]}function kr(r,e,t){try{if(typeof t.body=="string")return r.icons[e]={...t},!0}catch{}return!1}function Lr(r,e){let t=[];return(typeof r=="string"?[r]:Object.keys(Ne)).forEach(n=>{(typeof n=="string"&&typeof e=="string"?[e]:Object.keys(Ne[n]||{})).forEach(a=>{const s=V(n,a);t=t.concat(Object.keys(s.icons).map(u=>(n!==""?"@"+n+":":"")+a+":"+u))})}),t}let ye=!1;function Pr(r){return typeof r=="boolean"&&(ye=r),ye}function we(r){const e=typeof r=="string"?oe(r,!0,ye):r;if(e){const t=V(e.provider,e.prefix),i=e.name;return t.icons[i]||(t.missing.has(i)?null:void 0)}}function yn(r,e){const t=oe(r,!0,ye);if(!t)return!1;const i=V(t.provider,t.prefix);return kr(i,t.name,e)}function bn(r,e){if(typeof r!="object")return!1;if(typeof e!="string"&&(e=r.provider||""),ye&&!e&&!r.prefix){let n=!1;return vn(r)&&(r.prefix="",mn(r,(o,a)=>{a&&yn(o,a)&&(n=!0)})),n}const t=r.prefix;if(!Re({provider:e,prefix:t,name:"a"}))return!1;const i=V(e,t);return!!pt(i,r)}function Cr(r){return!!we(r)}function Er(r){const e=we(r);return e?{...Se,...e}:null}const Sn=Object.freeze({width:null,height:null}),wn=Object.freeze({...Sn,...Ae}),Tr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_r=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function rt(r,e,t){if(e===1)return r;if(t=t||100,typeof r=="number")return Math.ceil(r*e*t)/t;if(typeof r!="string")return r;const i=r.split(Tr);if(i===null||!i.length)return r;const n=[];let o=i.shift(),a=_r.test(o);for(;;){if(a){const s=parseFloat(o);isNaN(s)?n.push(o):n.push(Math.ceil(s*e*t)/t)}else n.push(o);if(o=i.shift(),o===void 0)return n.join("");a=!a}}const jr=r=>r==="unset"||r==="undefined"||r==="none";function He(r,e){const t={...Se,...r},i={...wn,...e},n={left:t.left,top:t.top,width:t.width,height:t.height};let o=t.body;[t,i].forEach(h=>{const v=[],y=h.hFlip,m=h.vFlip;let p=h.rotate;y?m?p+=2:(v.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),v.push("scale(-1 1)"),n.top=n.left=0):m&&(v.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),v.push("scale(1 -1)"),n.top=n.left=0);let b;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:b=n.height/2+n.top,v.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:v.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:b=n.width/2+n.left,v.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}p%2===1&&(n.left!==n.top&&(b=n.left,n.left=n.top,n.top=b),n.width!==n.height&&(b=n.width,n.width=n.height,n.height=b)),v.length&&(o=''+o+"")});const a=i.width,s=i.height,u=n.width,f=n.height;let c,l;a===null?(l=s===null?"1em":s==="auto"?f:s,c=rt(l,u/f)):(c=a==="auto"?u:a,l=s===null?rt(c,f/u):s==="auto"?f:s);const g={},d=(h,v)=>{jr(v)||(g[h]=v.toString())};return d("width",c),d("height",l),g.viewBox=n.left.toString()+" "+n.top.toString()+" "+u.toString()+" "+f.toString(),{attributes:g,body:o}}const Rr=/\sid="(\S+)"/g,Ir="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ar=0;function On(r,e=Ir){const t=[];let i;for(;i=Rr.exec(r);)t.push(i[1]);if(!t.length)return r;const n="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const a=typeof e=="function"?e(o):e+(Ar++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");r=r.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+n+"$3")}),r=r.replace(new RegExp(n,"g"),""),r}const G={local:!0,session:!0},xn={local:new Set,session:new Set};let mt=!1;function Nr(r){mt=r}const jt="iconify2",be="iconify",kn=be+"-count",Rt=be+"-version",Ln=36e5,Fr=168;function it(r,e){try{return r.getItem(e)}catch{}}function vt(r,e,t){try{return r.setItem(e,t),!0}catch{}}function It(r,e){try{r.removeItem(e)}catch{}}function ot(r,e){return vt(r,kn,e.toString())}function at(r){return parseInt(it(r,kn))||0}let Ee=typeof window>"u"?{}:window;function Pn(r){const e=r+"Storage";try{if(Ee&&Ee[e]&&typeof Ee[e].length=="number")return Ee[e]}catch{}G[r]=!1}function Cn(r,e){const t=Pn(r);if(!t)return;const i=it(t,Rt);if(i!==jt){if(i){const s=at(t);for(let u=0;u{const u=be+s.toString(),f=it(t,u);if(typeof f=="string"){try{const c=JSON.parse(f);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>n&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&e(c,s))return!0}catch{}It(t,u)}};let a=at(t);for(let s=a-1;s>=0;s--)o(s)||(s===a-1?(a--,ot(t,a)):xn[r].add(s))}function En(){if(!mt){Nr(!0);for(const r in G)Cn(r,e=>{const t=e.data,i=e.provider,n=t.prefix,o=V(i,n);if(!pt(o,t).length)return!1;const a=t.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,a):a,!0})}}function Tn(r,e){switch(r){case"local":case"session":G[r]=e;break;case"all":for(const t in G)G[t]=e;break}}const st=Object.create(null);function _n(r,e){st[r]=e}function ut(r){return st[r]||st[""]}function yt(r){let e;if(typeof r.resources=="string")e=[r.resources];else if(e=r.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:r.path||"/",maxURL:r.maxURL||500,rotate:r.rotate||750,timeout:r.timeout||5e3,random:r.random===!0,index:r.index||0,dataAfterTimeout:r.dataAfterTimeout!==!1}}const Be=Object.create(null),le=["https://api.simplesvg.com","https://api.unisvg.com"],Ie=[];for(;le.length>0;)le.length===1||Math.random()>.5?Ie.push(le.shift()):Ie.push(le.pop());Be[""]=yt({resources:["https://api.iconify.design"].concat(Ie)});function jn(r,e){const t=yt(e);return t===null?!1:(Be[r]=t,!0)}function Ve(r){return Be[r]}function qr(){return Object.keys(Be)}const Dr=()=>{let r;try{if(r=fetch,typeof r=="function")return r}catch{}};let Fe=Dr();function Mr(r){Fe=r}function $r(){return Fe}function Hr(r,e){const t=Ve(r);if(!t)return 0;let i;if(!t.maxURL)i=0;else{let n=0;t.resources.forEach(a=>{n=Math.max(n,a.length)});const o=e+".json?icons=";i=t.maxURL-n-t.path.length-o.length}return i}function Br(r){return r===404}const Vr=(r,e,t)=>{const i=[],n=Hr(r,e),o="icons";let a={type:o,provider:r,prefix:e,icons:[]},s=0;return t.forEach((u,f)=>{s+=u.length+1,s>=n&&f>0&&(i.push(a),a={type:o,provider:r,prefix:e,icons:[]},s=u.length),a.icons.push(u)}),i.push(a),i};function Ur(r){if(typeof r=="string"){const e=Ve(r);if(e)return e.path}return"/"}const zr=(r,e,t)=>{if(!Fe){t("abort",424);return}let i=Ur(e.provider);switch(e.type){case"icons":{const o=e.prefix,s=e.icons.join(","),u=new URLSearchParams({icons:s});i+=o+".json?"+u.toString();break}case"custom":{const o=e.uri;i+=o.slice(0,1)==="/"?o.slice(1):o;break}default:t("abort",400);return}let n=503;Fe(r+i).then(o=>{const a=o.status;if(a!==200){setTimeout(()=>{t(Br(a)?"abort":"next",a)});return}return n=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?t("abort",o):t("next",n)});return}setTimeout(()=>{t("success",o)})}).catch(()=>{t("next",n)})},Kr={prepare:Vr,send:zr};function Jr(r){const e={loaded:[],missing:[],pending:[]},t=Object.create(null);r.sort((n,o)=>n.provider!==o.provider?n.provider.localeCompare(o.provider):n.prefix!==o.prefix?n.prefix.localeCompare(o.prefix):n.name.localeCompare(o.name));let i={provider:"",prefix:"",name:""};return r.forEach(n=>{if(i.name===n.name&&i.prefix===n.prefix&&i.provider===n.provider)return;i=n;const o=n.provider,a=n.prefix,s=n.name,u=t[o]||(t[o]=Object.create(null)),f=u[a]||(u[a]=V(o,a));let c;s in f.icons?c=e.loaded:a===""||f.missing.has(s)?c=e.missing:c=e.pending;const l={provider:o,prefix:a,name:s};c.push(l)}),e}function Rn(r,e){r.forEach(t=>{const i=t.loaderCallbacks;i&&(t.loaderCallbacks=i.filter(n=>n.id!==e))})}function Wr(r){r.pendingCallbacksFlag||(r.pendingCallbacksFlag=!0,setTimeout(()=>{r.pendingCallbacksFlag=!1;const e=r.loaderCallbacks?r.loaderCallbacks.slice(0):[];if(!e.length)return;let t=!1;const i=r.provider,n=r.prefix;e.forEach(o=>{const a=o.icons,s=a.pending.length;a.pending=a.pending.filter(u=>{if(u.prefix!==n)return!0;const f=u.name;if(r.icons[f])a.loaded.push({provider:i,prefix:n,name:f});else if(r.missing.has(f))a.missing.push({provider:i,prefix:n,name:f});else return t=!0,!0;return!1}),a.pending.length!==s&&(t||Rn([r],o.id),o.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),o.abort))})}))}let Qr=0;function Gr(r,e,t){const i=Qr++,n=Rn.bind(null,t,i);if(!e.pending.length)return n;const o={id:i,icons:e,callback:r,abort:n};return t.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(o)}),n}function Yr(r,e=!0,t=!1){const i=[];return r.forEach(n=>{const o=typeof n=="string"?oe(n,e,t):n;o&&i.push(o)}),i}var Zr={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Xr(r,e,t,i){const n=r.resources.length,o=r.random?Math.floor(Math.random()*n):r.index;let a;if(r.random){let O=r.resources.slice(0);for(a=[];O.length>1;){const k=Math.floor(Math.random()*O.length);a.push(O[k]),O=O.slice(0,k).concat(O.slice(k+1))}a=a.concat(O)}else a=r.resources.slice(o).concat(r.resources.slice(0,o));const s=Date.now();let u="pending",f=0,c,l=null,g=[],d=[];typeof i=="function"&&d.push(i);function h(){l&&(clearTimeout(l),l=null)}function v(){u==="pending"&&(u="aborted"),h(),g.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),g=[]}function y(O,k){k&&(d=[]),typeof O=="function"&&d.push(O)}function m(){return{startTime:s,payload:e,status:u,queriesSent:f,queriesPending:g.length,subscribe:y,abort:v}}function p(){u="failed",d.forEach(O=>{O(void 0,c)})}function b(){g.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),g=[]}function w(O,k,D){const $=k!=="success";switch(g=g.filter(_=>_!==O),u){case"pending":break;case"failed":if($||!r.dataAfterTimeout)return;break;default:return}if(k==="abort"){c=D,p();return}if($){c=D,g.length||(a.length?x():p());return}if(h(),b(),!r.random){const _=r.resources.indexOf(O.resource);_!==-1&&_!==r.index&&(r.index=_)}u="completed",d.forEach(_=>{_(D)})}function x(){if(u!=="pending")return;h();const O=a.shift();if(O===void 0){if(g.length){l=setTimeout(()=>{h(),u==="pending"&&(b(),p())},r.timeout);return}p();return}const k={status:"pending",resource:O,callback:(D,$)=>{w(k,D,$)}};g.push(k),f++,l=setTimeout(x,r.rotate),t(O,e,k.callback)}return setTimeout(x),m}function In(r){const e={...Zr,...r};let t=[];function i(){t=t.filter(s=>s().status==="pending")}function n(s,u,f){const c=Xr(e,s,u,(l,g)=>{i(),f&&f(l,g)});return t.push(c),c}function o(s){return t.find(u=>s(u))||null}return{query:n,find:o,setIndex:s=>{e.index=s},getIndex:()=>e.index,cleanup:i}}function At(){}const Ze=Object.create(null);function ei(r){if(!Ze[r]){const e=Ve(r);if(!e)return;const t=In(e),i={config:e,redundancy:t};Ze[r]=i}return Ze[r]}function An(r,e,t){let i,n;if(typeof r=="string"){const o=ut(r);if(!o)return t(void 0,424),At;n=o.send;const a=ei(r);a&&(i=a.redundancy)}else{const o=yt(r);if(o){i=In(o);const a=r.resources?r.resources[0]:"",s=ut(a);s&&(n=s.send)}}return!i||!n?(t(void 0,424),At):i.query(e,n,t)().abort}function ti(r,e){const t=r.lastModifiedCached;if(t&&t>=e)return t===e;if(r.lastModifiedCached=e,t)for(const i in G)Cn(i,n=>{const o=n.data;return n.provider!==r.provider||o.prefix!==r.prefix||o.lastModified===e});return!0}function ni(r,e){mt||En();function t(i){let n;if(!G[i]||!(n=Pn(i)))return;const o=xn[i];let a;if(o.size)o.delete(a=Array.from(o).shift());else if(a=at(n),!ot(n,a+1))return;const s={cached:Math.floor(Date.now()/Ln),provider:r.provider,data:e};return vt(n,be+a.toString(),JSON.stringify(s))}e.lastModified&&!ti(r,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),t("local")||t("session"))}function Nt(){}function ri(r){r.iconsLoaderFlag||(r.iconsLoaderFlag=!0,setTimeout(()=>{r.iconsLoaderFlag=!1,Wr(r)}))}function ii(r,e){r.iconsToLoad?r.iconsToLoad=r.iconsToLoad.concat(e).sort():r.iconsToLoad=e,r.iconsQueueFlag||(r.iconsQueueFlag=!0,setTimeout(()=>{r.iconsQueueFlag=!1;const{provider:t,prefix:i}=r,n=r.iconsToLoad;delete r.iconsToLoad;let o;if(!n||!(o=ut(t)))return;o.prepare(t,i,n).forEach(s=>{An(t,s,u=>{if(typeof u!="object")s.icons.forEach(f=>{r.missing.add(f)});else try{const f=pt(r,u);if(!f.length)return;const c=r.pendingIcons;c&&f.forEach(l=>{c.delete(l)}),ni(r,u)}catch(f){console.error(f)}ri(r)})})}))}const oi=r=>{const t=V(r.provider,r.prefix).pendingIcons;return!!(t&&t.has(r.name))},bt=(r,e)=>{const t=Yr(r,!0,Pr()),i=Jr(t);if(!i.pending.length){let u=!0;return e&&setTimeout(()=>{u&&e(i.loaded,i.missing,i.pending,Nt)}),()=>{u=!1}}const n=Object.create(null),o=[];let a,s;return i.pending.forEach(u=>{const{provider:f,prefix:c}=u;if(c===s&&f===a)return;a=f,s=c,o.push(V(f,c));const l=n[f]||(n[f]=Object.create(null));l[c]||(l[c]=[])}),i.pending.forEach(u=>{const{provider:f,prefix:c,name:l}=u,g=V(f,c),d=g.pendingIcons||(g.pendingIcons=new Set);d.has(l)||(d.add(l),n[f][c].push(l))}),o.forEach(u=>{const{provider:f,prefix:c}=u;n[f][c].length&&ii(u,n[f][c])}),e?Gr(e,i,o):Nt},ai=r=>new Promise((e,t)=>{const i=typeof r=="string"?oe(r,!0):r;if(!i){t(r);return}bt([i||r],n=>{if(n.length&&i){const o=we(i);if(o){e({...Se,...o});return}}t(r)})});function Nn(r,e){const t={...r};for(const i in e){const n=e[i],o=typeof n;i in Sn?(n===null||n&&(o==="string"||o==="number"))&&(t[i]=n):o===typeof t[i]&&(t[i]=i==="rotate"?n%4:n)}return t}const Ue={...wn,inline:!1},Xe="iconify",ct="iconify-inline",W="iconifyData"+Date.now();let Y=[];function Oe(r){for(let e=0;edocument.documentElement})}function ui(r){Y=Y.filter(e=>r!==e&&r!==(typeof e.node=="function"?e.node():e.node))}function xe(){return Y}function ci(r){const e=document;e.readyState&&e.readyState!=="loading"?r():e.addEventListener("DOMContentLoaded",r)}let me=null;const li={childList:!0,subtree:!0,attributes:!0};function qn(r){if(!r.observer)return;const e=r.observer;e.pendingScan||(e.pendingScan=setTimeout(()=>{delete e.pendingScan,me&&me(r)}))}function fi(r,e){if(!r.observer)return;const t=r.observer;if(!t.pendingScan)for(let i=0;i0||n.type==="attributes"&&n.target[W]!==void 0){t.paused||qn(r);return}}}function Dn(r,e){r.observer.instance.observe(e,li)}function qe(r){let e=r.observer;if(e&&e.instance)return;const t=typeof r.node=="function"?r.node():r.node;!t||!window||(e||(e={paused:0},r.observer=e),e.instance=new window.MutationObserver(fi.bind(null,r)),Dn(r,t),e.paused||qn(r))}function Ft(){xe().forEach(qe)}function Mn(r){if(!r.observer)return;const e=r.observer;e.pendingScan&&(clearTimeout(e.pendingScan),delete e.pendingScan),e.instance&&(e.instance.disconnect(),delete e.instance)}function di(r){const e=me!==null;if(me!==r&&(me=r,e&&xe().forEach(Mn)),e){Ft();return}ci(Ft)}function lt(r){(r?[r]:xe()).forEach(e=>{if(!e.observer){e.observer={paused:1};return}const t=e.observer;if(t.paused++,t.paused>1||!t.instance)return;t.instance.disconnect()})}function gi(r){if(r){const e=Oe(r);e&<(e)}else lt()}function ft(r){(r?[r]:xe()).forEach(e=>{if(!e.observer){qe(e);return}const t=e.observer;if(t.paused&&(t.paused--,!t.paused)){const i=typeof e.node=="function"?e.node():e.node;if(i)t.instance?Dn(e,i):qe(e);else return}})}function hi(r){if(r){const e=Oe(r);e&&ft(e)}else ft()}function $n(r,e=!1){const t=Fn(r,e);return qe(t),t}function Hn(r){const e=Oe(r);e&&(Mn(e),ui(r))}function pi(r,e){if(r.name!==e.name||r.mode!==e.mode)return!0;const t=r.customisations,i=e.customisations;for(const n in Ue)if(t[n]!==i[n])return!0;return!1}function mi(r,e=0){const t=r.replace(/^-?[0-9.]*/,"");function i(n){for(;n<0;)n+=4;return n%4}if(t===""){const n=parseInt(r);return isNaN(n)?0:i(n)}else if(t!==r){let n=0;switch(t){case"%":n=25;break;case"deg":n=90}if(n){let o=parseFloat(r.slice(0,r.length-t.length));return isNaN(o)?0:(o=o/n,o%1===0?i(o):0)}}return e}const vi=/[\s,]+/;function yi(r,e){e.split(vi).forEach(t=>{switch(t.trim()){case"horizontal":r.hFlip=!0;break;case"vertical":r.vFlip=!0;break}})}const bi=["width","height"],Si=["inline","hFlip","vFlip"];function wi(r,e){return r===e||r==="true"?!0:r===""||r==="false"?!1:null}function Oi(r){const e=r.getAttribute("data-icon"),t=typeof e=="string"&&oe(e,!0);if(!t)return null;const i={...Ue,inline:r.classList&&r.classList.contains(ct)};bi.forEach(s=>{const u=r.getAttribute("data-"+s);u&&(i[s]=u)});const n=r.getAttribute("data-rotate");typeof n=="string"&&(i.rotate=mi(n));const o=r.getAttribute("data-flip");typeof o=="string"&&yi(i,o),Si.forEach(s=>{const u="data-"+s,f=wi(r.getAttribute(u),u);typeof f=="boolean"&&(i[s]=f)});const a=r.getAttribute("data-mode");return{name:e,icon:t,customisations:i,mode:a}}const xi="svg."+Xe+", i."+Xe+", span."+Xe+", i."+ct+", span."+ct;function ki(r){const e=[];return r.querySelectorAll(xi).forEach(t=>{const i=t[W]||t.tagName.toLowerCase()!=="svg"?Oi(t):null;i&&e.push({node:t,props:i})}),e}function Bn(r,e){let t=r.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in e)t+=" "+i+'="'+e[i]+'"';return'"+r+""}function Vn(r){const e=new Set(["iconify"]);return["provider","prefix"].forEach(t=>{r[t]&&e.add("iconify--"+r[t])}),e}function Un(r,e,t,i){const n=r.classList;if(i){const a=i.classList;Array.from(a).forEach(s=>{n.add(s)})}const o=[];return e.forEach(a=>{n.contains(a)?t.has(a)&&o.push(a):(n.add(a),o.push(a))}),t.forEach(a=>{e.has(a)||n.remove(a)}),o}function zn(r,e,t){const i=r.style;(t||[]).forEach(o=>{i.removeProperty(o)});const n=[];for(const o in e)i.getPropertyValue(o)||(n.push(o),i.setProperty(o,e[o]));return n}function Kn(r,e,t){let i;try{i=document.createElement("span")}catch{return r}const n=e.customisations,o=He(t,n),a=r[W],s=Bn(On(o.body),{"aria-hidden":"true",role:"img",...o.attributes});i.innerHTML=s;const u=i.childNodes[0],f=r.attributes;for(let h=0;h/g,"%3E").replace(/\s+/g," ")}function Pi(r){return'url("data:image/svg+xml,'+Li(r)+'")'}const Ci={display:"inline-block"},dt={"background-color":"currentColor"},Jn={"background-color":"transparent"},qt={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Dt={"-webkit-mask":dt,mask:dt,background:Jn};for(const r in Dt){const e=Dt[r];for(const t in qt)e[r+"-"+t]=qt[t]}function Mt(r){return r+(r.match(/^[-0-9.]+$/)?"px":"")}function Ei(r,e,t,i){const n=e.customisations,o=He(t,n),a=o.attributes,s=r[W],u=Bn(o.body,{...a,width:t.width+"",height:t.height+""}),f=Vn(e.icon),c=Un(r,f,new Set(s&&s.addedClasses)),g={"--svg":Pi(u),width:Mt(a.width),height:Mt(a.height),...Ci,...i?dt:Jn};n.inline&&(g["vertical-align"]="-0.125em");const d=zn(r,g,s&&s.addedStyles),h={...e,status:"loaded",addedClasses:c,addedStyles:d};return r[W]=h,r}let Te=!1;function Ti(){Te||(Te=!0,setTimeout(()=>{Te&&(Te=!1,ie())}))}function ie(r,e=!1){const t=Object.create(null);function i(n,o){const{provider:a,prefix:s,name:u}=n,f=V(a,s),c=f.icons[u];if(c)return{status:"loaded",icon:c};if(f.missing.has(u))return{status:"missing"};if(o&&!oi(n)){const l=t[a]||(t[a]=Object.create(null));(l[s]||(l[s]=new Set)).add(u)}return{status:"loading"}}(r?[r]:xe()).forEach(n=>{const o=typeof n.node=="function"?n.node():n.node;if(!o||!o.querySelectorAll)return;let a=!1,s=!1;function u(f,c,l){if(s||(s=!0,lt(n)),f.tagName.toUpperCase()!=="SVG"){const g=c.mode,d=g==="mask"||(g==="bg"?!1:g==="style"?l.body.indexOf("currentColor")!==-1:null);if(typeof d=="boolean"){Ei(f,c,{...Se,...l},d);return}}Kn(f,c,l)}ki(o).forEach(({node:f,props:c})=>{const l=f[W];if(!l){const{status:d,icon:h}=i(c.icon,!0);if(h){u(f,c,h);return}a=a||d==="loading",f[W]={...c,status:d};return}let g;if(pi(l,c)){if(g=i(c.icon,l.name!==c.name),!g.icon){a=a||g.status==="loading",Object.assign(l,{...c,status:g.status});return}}else{if(l.status!=="loading")return;if(g=i(c.icon,!1),!g.icon){l.status=g.status;return}}u(f,c,g.icon)}),n.temporary&&!a?Hn(o):e&&a?$n(o,!0):s&&n.observer&&ft(n)});for(const n in t){const o=t[n];for(const a in o){const s=o[a];bt(Array.from(s).map(u=>({provider:n,prefix:a,name:u})),Ti)}}}function _i(r){const e=Oe(r);e?ie(e):ie({node:r,temporary:!0},!0)}function Wn(r,e,t=!1){const i=we(r);if(!i)return null;const n=oe(r),o=Nn(Ue,e||{}),a=Kn(document.createElement("span"),{name:r,icon:n,customisations:o},i);return t?a.outerHTML:a}function ji(){return"3.1.0"}function Ri(r,e){return Wn(r,e,!1)}function Ii(r,e){return Wn(r,e,!0)}function Ai(r,e){const t=we(r);if(!t)return null;const i=Nn(Ue,e||{});return He(t,i)}function Ni(r){r?_i(r):ie()}if(typeof document<"u"&&typeof window<"u"){si();const r=window;if(r.IconifyPreload!==void 0){const e=r.IconifyPreload,t="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!bn(i))&&console.error(t)}catch{console.error(t)}})}setTimeout(()=>{di(ie),ie()})}function Fi(r,e){Tn(r,e!==!1)}function qi(r){Tn(r,!0)}_n("",Kr);if(typeof document<"u"&&typeof window<"u"){En();const r=window;if(r.IconifyProviders!==void 0){const e=r.IconifyProviders;if(typeof e=="object"&&e!==null)for(const t in e){const i="IconifyProviders["+t+"] is invalid.";try{const n=e[t];if(typeof n!="object"||!n||n.resources===void 0)continue;jn(t,n)||console.error(i)}catch{console.error(i)}}}}const Di={getAPIConfig:Ve,setAPIModule:_n,sendAPIQuery:An,setFetch:Mr,getFetch:$r,listAPIProviders:qr},gt={_api:Di,addAPIProvider:jn,loadIcons:bt,loadIcon:ai,iconExists:Cr,getIcon:Er,listIcons:Lr,addIcon:yn,addCollection:bn,replaceIDs:On,calculateSize:rt,buildIcon:He,getVersion:ji,renderSVG:Ri,renderHTML:Ii,renderIcon:Ai,scan:Ni,observe:$n,stopObserving:Hn,pauseObserver:gi,resumeObserver:hi,enableCache:Fi,disableCache:qi};try{self.Iconify===void 0&&(self.Iconify=gt)}catch{}const Mi=gt.default||gt,$i=JSON.parse('[{"prefix":"fa","width":1536,"height":1536,"icons":{"chevron-left":{"body":"","width":1088,"height":1664},"creative-commons":{"body":"","width":1792,"height":1792},"meetup":{"body":"","width":1856,"height":1792},"vimeo":{"body":"","width":1664,"height":1408},"chevron-right":{"body":"","width":1088,"height":1664,"hFlip":true}}},{"prefix":"system-uicons","width":21,"height":21,"icons":{"tags":{"body":""}}},{"prefix":"akar-icons","width":24,"height":24,"icons":{"arrow-forward-thick":{"body":""},"more-horizontal-fill":{"body":""}}}]');$i.forEach(r=>Mi.addCollection(r));class Hi{constructor(e){C(this,"_t",null);C(this,"_timeOut",null);C(this,"_settings",{duration:2e3,width:260,height:60,top:"top",background:"#fe9600",color:"#fff",fontSize:14});e&&(this._settings={...this._settings,...e})}create(e,t){if(this._timeOut&&(clearTimeout(this._timeOut),this._t&&(document.body.removeChild(this._t),this._t=null)),!e){console.error("提示文本不能为空");return}this._t=document.createElement("div"),this._t.className="t-toast",this._t.innerHTML=`

${e}

`,document.body.appendChild(this._t),this.setStyle(),this._timeOut=setTimeout(()=>{this._t&&(document.body.removeChild(this._t),this._t=null),this._timeOut=null},t??this._settings.duration)}setStyle(){if(!this._t){console.error("Toast元素未创建");return}this._t.style.width=`${this._settings.width}px`,this._t.style.height=`${this._settings.height}px`,this._t.style.position="fixed",this._t.style.textAlign="center",this._t.style.zIndex="99999",typeof this._settings.top=="string"&&isNaN(Number(this._settings.top))?this._settings.top==="center"?this._t.style.top=`${window.innerHeight/2}px`:this._settings.top==="top"&&(this._t.style.top="0px"):this._t.style.top=typeof this._settings.top=="number"?`${this._settings.top}px`:"",this._t.style.left="50%",this._t.style.marginLeft=`-${this._settings.width/2}px`,this._t.style.background=this._settings.background,this._t.style.color=this._settings.color,this._t.style.borderBottomLeftRadius="4px",this._t.style.borderBottomRightRadius="4px",this._t.style.fontSize=`${this._settings.fontSize}px`,this._t.style.display="flex",this._t.style.justifyContent="center",this._t.style.alignItems="center"}}function I(r){"@babel/helpers - typeof";return I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(r)}function j(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Bi(r,e){if(I(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e||"default");if(I(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Qn(r){var e=Bi(r,"string");return I(e)==="symbol"?e:String(e)}function $t(r,e){for(var t=0;tr.length)&&(e=r.length);for(var t=0,i=new Array(e);t1&&arguments[1]!==void 0?arguments[1]:{};j(this,r),this.init(e,t)}return R(r,[{key:"init",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=i.prefix||"i18next:",this.logger=t||Wi,this.options=i,this.debug=i.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,i=new Array(t),n=0;n1?i-1:0),o=1;o-1?s.replace(/###/g,"."):s}function n(){return!r||typeof r=="string"}for(var o=typeof e!="string"?[].concat(e):e.split(".");o.length>1;){if(n())return{};var a=i(o.shift());!r[a]&&t&&(r[a]=new t),Object.prototype.hasOwnProperty.call(r,a)?r=r[a]:r={}}return n()?{}:{obj:r,k:i(o.shift())}}function zt(r,e,t){var i=St(r,e,Object),n=i.obj,o=i.k;n[o]=t}function Yi(r,e,t,i){var n=St(r,e,Object),o=n.obj,a=n.k;o[a]=o[a]||[],i&&(o[a]=o[a].concat(t)),i||o[a].push(t)}function De(r,e){var t=St(r,e),i=t.obj,n=t.k;if(i)return i[n]}function Zi(r,e,t){var i=De(r,t);return i!==void 0?i:De(e,t)}function Gn(r,e,t){for(var i in e)i!=="__proto__"&&i!=="constructor"&&(i in r?typeof r[i]=="string"||r[i]instanceof String||typeof e[i]=="string"||e[i]instanceof String?t&&(r[i]=e[i]):Gn(r[i],e[i],t):r[i]=e[i]);return r}function ee(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Xi={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function eo(r){return typeof r=="string"?r.replace(/[&<>"'\/]/g,function(e){return Xi[e]}):r}var Ke=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,to=[" ",",","?","!",";"];function no(r,e,t){e=e||"",t=t||"";var i=to.filter(function(s){return e.indexOf(s)<0&&t.indexOf(s)<0});if(i.length===0)return!0;var n=new RegExp("(".concat(i.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!n.test(r);if(!o){var a=r.indexOf(t);a>0&&!n.test(r.substring(0,a))&&(o=!0)}return o}function Me(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(r){if(r[e])return r[e];for(var i=e.split(t),n=r,o=0;oo+a;)a++,s=i.slice(o,o+a).join(t),u=n[s];if(u===void 0)return;if(u===null)return null;if(e.endsWith(s)){if(typeof u=="string")return u;if(s&&typeof u[s]=="string")return u[s]}var f=i.slice(o+a).join(t);return f?Me(u,f,t):void 0}n=n[i[o]]}return n}}function Kt(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function _e(r){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var oo=function(r){ze(t,r);var e=ro(t);function t(i){var n,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return j(this,t),n=e.call(this),Ke&&Q.call(J(n)),n.data=i||{},n.options=o,n.options.keySeparator===void 0&&(n.options.keySeparator="."),n.options.ignoreJSONStructure===void 0&&(n.options.ignoreJSONStructure=!0),n}return R(t,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var o=this.options.ns.indexOf(n);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(n,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,f=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,c=[n,o];a&&typeof a!="string"&&(c=c.concat(a)),a&&typeof a=="string"&&(c=c.concat(u?a.split(u):a)),n.indexOf(".")>-1&&(c=n.split("."));var l=De(this.data,c);return l||!f||typeof a!="string"?l:Me(this.data&&this.data[n]&&this.data[n][o],a,u)}},{key:"addResource",value:function(n,o,a,s){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},f=u.keySeparator!==void 0?u.keySeparator:this.options.keySeparator,c=[n,o];a&&(c=c.concat(f?a.split(f):a)),n.indexOf(".")>-1&&(c=n.split("."),s=o,o=c[1]),this.addNamespaces(o),zt(this.data,c,s),u.silent||this.emit("added",n,o,a,s)}},{key:"addResources",value:function(n,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var u in a)(typeof a[u]=="string"||Object.prototype.toString.apply(a[u])==="[object Array]")&&this.addResource(n,o,u,a[u],{silent:!0});s.silent||this.emit("added",n,o,a)}},{key:"addResourceBundle",value:function(n,o,a,s,u){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},c=[n,o];n.indexOf(".")>-1&&(c=n.split("."),s=a,a=o,o=c[1]),this.addNamespaces(o);var l=De(this.data,c)||{};s?Gn(l,a,u):l=_e(_e({},l),a),zt(this.data,c,l),f.silent||this.emit("added",n,o,a)}},{key:"removeResourceBundle",value:function(n,o){this.hasResourceBundle(n,o)&&delete this.data[n][o],this.removeNamespaces(o),this.emit("removed",n,o)}},{key:"hasResourceBundle",value:function(n,o){return this.getResource(n,o)!==void 0}},{key:"getResourceBundle",value:function(n,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?_e(_e({},{}),this.getResource(n,o)):this.getResource(n,o)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"hasLanguageSomeTranslations",value:function(n){var o=this.getDataByLanguage(n),a=o&&Object.keys(o)||[];return!!a.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),t}(Q),Yn={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,i,n,o){var a=this;return e.forEach(function(s){a.processors[s]&&(t=a.processors[s].process(t,i,n,o))}),t}};function Jt(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function E(r){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Wt={},Qt=function(r){ze(t,r);var e=ao(t);function t(i){var n,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return j(this,t),n=e.call(this),Ke&&Q.call(J(n)),Gi(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i,J(n)),n.options=o,n.options.keySeparator===void 0&&(n.options.keySeparator="."),n.logger=B.create("translator"),n}return R(t,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;var a=this.resolve(n,o);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(n,o){var a=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,u=o.ns||this.options.defaultNS||[],f=a&&n.indexOf(a)>-1,c=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!no(n,a,s);if(f&&!c){var l=n.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:n,namespaces:u};var g=n.split(a);(a!==s||a===s&&this.options.ns.indexOf(g[0])>-1)&&(u=g.shift()),n=g.join(s)}return typeof u=="string"&&(u=[u]),{key:n,namespaces:u}}},{key:"translate",value:function(n,o,a){var s=this;if(I(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),I(o)==="object"&&(o=E({},o)),o||(o={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var u=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,f=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,c=this.extractFromKey(n[n.length-1],o),l=c.key,g=c.namespaces,d=g[g.length-1],h=o.lng||this.language,v=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h&&h.toLowerCase()==="cimode"){if(v){var y=o.nsSeparator||this.options.nsSeparator;return u?{res:"".concat(d).concat(y).concat(l),usedKey:l,exactUsedKey:l,usedLng:h,usedNS:d}:"".concat(d).concat(y).concat(l)}return u?{res:l,usedKey:l,exactUsedKey:l,usedLng:h,usedNS:d}:l}var m=this.resolve(n,o),p=m&&m.res,b=m&&m.usedKey||l,w=m&&m.exactUsedKey||l,x=Object.prototype.toString.apply(p),O=["[object Number]","[object Function]","[object RegExp]"],k=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,D=!this.i18nFormat||this.i18nFormat.handleAsObject,$=typeof p!="string"&&typeof p!="boolean"&&typeof p!="number";if(D&&p&&$&&O.indexOf(x)<0&&!(typeof k=="string"&&x==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var _=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,p,E(E({},o),{},{ns:g})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return u?(m.res=_,m):_}if(f){var Ot=x==="[object Array]",Le=Ot?[]:{},or=Ot?w:b;for(var Z in p)if(Object.prototype.hasOwnProperty.call(p,Z)){var xt="".concat(or).concat(f).concat(Z);Le[Z]=this.translate(xt,E(E({},o),{joinArrays:!1,ns:g})),Le[Z]===xt&&(Le[Z]=p[Z])}p=Le}}else if(D&&typeof k=="string"&&x==="[object Array]")p=p.join(k),p&&(p=this.extendTranslation(p,n,o,a));else{var Pe=!1,ae=!1,kt=o.count!==void 0&&typeof o.count!="string",Je=t.hasDefaultValue(o),ar=kt?this.pluralResolver.getSuffix(h,o.count,o):"",se=o["defaultValue".concat(ar)]||o.defaultValue;!this.isValidLookup(p)&&Je&&(Pe=!0,p=se),this.isValidLookup(p)||(ae=!0,p=l);var sr=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,ur=sr&&ae?void 0:p,ue=Je&&se!==p&&this.options.updateMissing;if(ae||Pe||ue){if(this.logger.log(ue?"updateKey":"missingKey",h,d,l,ue?se:p),f){var Lt=this.resolve(l,E(E({},o),{},{keySeparator:!1}));Lt&&Lt.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var ce=[],Ce=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ce&&Ce[0])for(var We=0;We1&&arguments[1]!==void 0?arguments[1]:{},s,u,f,c,l;return typeof n=="string"&&(n=[n]),n.forEach(function(g){if(!o.isValidLookup(s)){var d=o.extractFromKey(g,a),h=d.key;u=h;var v=d.namespaces;o.options.fallbackNS&&(v=v.concat(o.options.fallbackNS));var y=a.count!==void 0&&typeof a.count!="string",m=y&&!a.ordinal&&a.count===0&&o.pluralResolver.shouldUseIntlApi(),p=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",b=a.lngs?a.lngs:o.languageUtils.toResolveHierarchy(a.lng||o.language,a.fallbackLng);v.forEach(function(w){o.isValidLookup(s)||(l=w,!Wt["".concat(b[0],"-").concat(w)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(l)&&(Wt["".concat(b[0],"-").concat(w)]=!0,o.logger.warn('key "'.concat(u,'" for languages "').concat(b.join(", "),`" won't get resolved as namespace "`).concat(l,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(function(x){if(!o.isValidLookup(s)){c=x;var O=[h];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(O,h,x,w,a);else{var k;y&&(k=o.pluralResolver.getSuffix(x,a.count,a));var D="".concat(o.options.pluralSeparator,"zero");if(y&&(O.push(h+k),m&&O.push(h+D)),p){var $="".concat(h).concat(o.options.contextSeparator).concat(a.context);O.push($),y&&(O.push($+k),m&&O.push($+D))}}for(var _;_=O.pop();)o.isValidLookup(s)||(f=_,s=o.getResource(x,w,_,a))}}))})}}),{res:s,usedKey:u,exactUsedKey:f,usedLng:c,usedNS:l}}},{key:"isValidLookup",value:function(n){return n!==void 0&&!(!this.options.returnNull&&n===null)&&!(!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,o,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,o,a,s):this.resourceStore.getResource(n,o,a,s)}}],[{key:"hasDefaultValue",value:function(n){var o="defaultValue";for(var a in n)if(Object.prototype.hasOwnProperty.call(n,a)&&o===a.substring(0,o.length)&&n[a]!==void 0)return!0;return!1}}]),t}(Q);function et(r){return r.charAt(0).toUpperCase()+r.slice(1)}var Gt=function(){function r(e){j(this,r),this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=B.create("languageUtils")}return R(r,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var i=t.split("-");return i.length===2||(i.pop(),i[i.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(i.join("-"))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var i=t.split("-");return this.formatLanguageCode(i[0])}},{key:"formatLanguageCode",value:function(t){if(typeof t=="string"&&t.indexOf("-")>-1){var i=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map(function(o){return o.toLowerCase()}):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),i.indexOf(n[1].toLowerCase())>-1&&(n[1]=et(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!=="sgn"&&n[2].length===2&&(n[2]=n[2].toUpperCase()),i.indexOf(n[1].toLowerCase())>-1&&(n[1]=et(n[1].toLowerCase())),i.indexOf(n[2].toLowerCase())>-1&&(n[2]=et(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isSupportedCode",value:function(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var i=this;if(!t)return null;var n;return t.forEach(function(o){if(!n){var a=i.formatLanguageCode(o);(!i.options.supportedLngs||i.isSupportedCode(a))&&(n=a)}}),!n&&this.options.supportedLngs&&t.forEach(function(o){if(!n){var a=i.getLanguagePartFromCode(o);if(i.isSupportedCode(a))return n=a;n=i.options.supportedLngs.find(function(s){if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&s.indexOf(a)===0)return s})}}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}},{key:"getFallbackCodes",value:function(t,i){if(!t)return[];if(typeof t=="function"&&(t=t(i)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!i)return t.default||[];var n=t[i];return n||(n=t[this.getScriptPartFromCode(i)]),n||(n=t[this.formatLanguageCode(i)]),n||(n=t[this.getLanguagePartFromCode(i)]),n||(n=t.default),n||[]}},{key:"toResolveHierarchy",value:function(t,i){var n=this,o=this.getFallbackCodes(i||this.options.fallbackLng||[],t),a=[],s=function(f){f&&(n.isSupportedCode(f)?a.push(f):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(f)))};return typeof t=="string"&&t.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):typeof t=="string"&&s(this.formatLanguageCode(t)),o.forEach(function(u){a.indexOf(u)<0&&s(n.formatLanguageCode(u))}),a}}]),r}(),uo=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],co={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}},lo=["v1","v2","v3"],Yt={zero:0,one:1,two:2,few:3,many:4,other:5};function fo(){var r={};return uo.forEach(function(e){e.lngs.forEach(function(t){r[t]={numbers:e.nr,plurals:co[e.fc]}})}),r}var go=function(){function r(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};j(this,r),this.languageUtils=e,this.options=t,this.logger=B.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=fo()}return R(r,[{key:"addRule",value:function(t,i){this.rules[t]=i}},{key:"getRule",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(t,{type:i.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,i);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(function(o){return"".concat(i).concat(o)})}},{key:"getSuffixes",value:function(t){var i=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(t,n);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(a,s){return Yt[a]-Yt[s]}).map(function(a){return"".concat(i.options.prepend).concat(a)}):o.numbers.map(function(a){return i.getSuffix(t,a,n)}):[]}},{key:"getSuffix",value:function(t,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(t,n);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(i)):this.getSuffixRetroCompatible(o,i):(this.logger.warn("no plural rule found for: ".concat(t)),"")}},{key:"getSuffixRetroCompatible",value:function(t,i){var n=this,o=t.noAbs?t.plurals(i):t.plurals(Math.abs(i)),a=t.numbers[o];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!lo.includes(this.options.compatibilityJSON)}}]),r}();function Zt(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function M(r){for(var e=1;e3&&arguments[3]!==void 0?arguments[3]:".",n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=Zi(r,e,t);return!o&&n&&typeof t=="string"&&(o=Me(r,t,i),o===void 0&&(o=Me(e,t,i))),o}var ho=function(){function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};j(this,r),this.logger=B.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(t){return t},this.init(e)}return R(r,[{key:"init",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var i=t.interpolation;this.escape=i.escape!==void 0?i.escape:eo,this.escapeValue=i.escapeValue!==void 0?i.escapeValue:!0,this.useRawValueToEscape=i.useRawValueToEscape!==void 0?i.useRawValueToEscape:!1,this.prefix=i.prefix?ee(i.prefix):i.prefixEscaped||"{{",this.suffix=i.suffix?ee(i.suffix):i.suffixEscaped||"}}",this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||",",this.unescapePrefix=i.unescapeSuffix?"":i.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":i.unescapeSuffix||"",this.nestingPrefix=i.nestingPrefix?ee(i.nestingPrefix):i.nestingPrefixEscaped||ee("$t("),this.nestingSuffix=i.nestingSuffix?ee(i.nestingSuffix):i.nestingSuffixEscaped||ee(")"),this.nestingOptionsSeparator=i.nestingOptionsSeparator?i.nestingOptionsSeparator:i.nestingOptionsSeparator||",",this.maxReplaces=i.maxReplaces?i.maxReplaces:1e3,this.alwaysFormat=i.alwaysFormat!==void 0?i.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var i="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(i,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(t,i,n,o){var a=this,s,u,f,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(y){return y.replace(/\$/g,"$$$$")}var g=function(m){if(m.indexOf(a.formatSeparator)<0){var p=Xt(i,c,m,a.options.keySeparator,a.options.ignoreJSONStructure);return a.alwaysFormat?a.format(p,void 0,n,M(M(M({},o),i),{},{interpolationkey:m})):p}var b=m.split(a.formatSeparator),w=b.shift().trim(),x=b.join(a.formatSeparator).trim();return a.format(Xt(i,c,w,a.options.keySeparator,a.options.ignoreJSONStructure),x,n,M(M(M({},o),i),{},{interpolationkey:w}))};this.resetRegExp();var d=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,h=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,v=[{regex:this.regexpUnescape,safeValue:function(m){return l(m)}},{regex:this.regexp,safeValue:function(m){return a.escapeValue?l(a.escape(m)):l(m)}}];return v.forEach(function(y){for(f=0;s=y.regex.exec(t);){var m=s[1].trim();if(u=g(m),u===void 0)if(typeof d=="function"){var p=d(t,s,o);u=typeof p=="string"?p:""}else if(o&&Object.prototype.hasOwnProperty.call(o,m))u="";else if(h){u=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(m," for interpolating ").concat(t)),u="";else typeof u!="string"&&!a.useRawValueToEscape&&(u=Ut(u));var b=y.safeValue(u);if(t=t.replace(s[0],b),h?(y.regex.lastIndex+=u.length,y.regex.lastIndex-=s[0].length):y.regex.lastIndex=0,f++,f>=a.maxReplaces)break}}),t}},{key:"nest",value:function(t,i){var n=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,u;function f(d,h){var v=this.nestingOptionsSeparator;if(d.indexOf(v)<0)return d;var y=d.split(new RegExp("".concat(v,"[ ]*{"))),m="{".concat(y[1]);d=y[0],m=this.interpolate(m,u);var p=m.match(/'/g),b=m.match(/"/g);(p&&p.length%2===0&&!b||b.length%2!==0)&&(m=m.replace(/'/g,'"'));try{u=JSON.parse(m),h&&(u=M(M({},h),u))}catch(w){return this.logger.warn("failed parsing options string in nesting for key ".concat(d),w),"".concat(d).concat(v).concat(m)}return delete u.defaultValue,d}for(;a=this.nestingRegexp.exec(t);){var c=[];u=M({},o),u=u.replace&&typeof u.replace!="string"?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;var l=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var g=a[1].split(this.formatSeparator).map(function(d){return d.trim()});a[1]=g.shift(),c=g,l=!0}if(s=i(f.call(this,a[1].trim(),u),u),s&&a[0]===t&&typeof s!="string")return s;typeof s!="string"&&(s=Ut(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(t)),s=""),l&&(s=c.reduce(function(d,h){return n.format(d,h,o.lng,M(M({},o),{},{interpolationkey:a[1].trim()}))},s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}]),r}();function en(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function z(r){for(var e=1;e-1){var i=r.split("(");e=i[0].toLowerCase().trim();var n=i[1].substring(0,i[1].length-1);if(e==="currency"&&n.indexOf(":")<0)t.currency||(t.currency=n.trim());else if(e==="relativetime"&&n.indexOf(":")<0)t.range||(t.range=n.trim());else{var o=n.split(";");o.forEach(function(a){if(a){var s=a.split(":"),u=Ji(s),f=u[0],c=u.slice(1),l=c.join(":").trim().replace(/^'+|'+$/g,"");t[f.trim()]||(t[f.trim()]=l),l==="false"&&(t[f.trim()]=!1),l==="true"&&(t[f.trim()]=!0),isNaN(l)||(t[f.trim()]=parseInt(l,10))}})}}return{formatName:e,formatOptions:t}}function te(r){var e={};return function(i,n,o){var a=n+JSON.stringify(o),s=e[a];return s||(s=r(n,o),e[a]=s),s(i)}}var mo=function(){function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};j(this,r),this.logger=B.create("formatter"),this.options=e,this.formats={number:te(function(t,i){var n=new Intl.NumberFormat(t,z({},i));return function(o){return n.format(o)}}),currency:te(function(t,i){var n=new Intl.NumberFormat(t,z(z({},i),{},{style:"currency"}));return function(o){return n.format(o)}}),datetime:te(function(t,i){var n=new Intl.DateTimeFormat(t,z({},i));return function(o){return n.format(o)}}),relativetime:te(function(t,i){var n=new Intl.RelativeTimeFormat(t,z({},i));return function(o){return n.format(o,i.range||"day")}}),list:te(function(t,i){var n=new Intl.ListFormat(t,z({},i));return function(o){return n.format(o)}})},this.init(e)}return R(r,[{key:"init",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},n=i.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(t,i){this.formats[t.toLowerCase().trim()]=i}},{key:"addCached",value:function(t,i){this.formats[t.toLowerCase().trim()]=te(i)}},{key:"format",value:function(t,i,n){var o=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=i.split(this.formatSeparator),u=s.reduce(function(f,c){var l=po(c),g=l.formatName,d=l.formatOptions;if(o.formats[g]){var h=f;try{var v=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},y=v.locale||v.lng||a.locale||a.lng||n;h=o.formats[g](f,y,z(z(z({},d),a),v))}catch(m){o.logger.warn(m)}return h}else o.logger.warn("there was no format function for ".concat(g));return f},t);return u}}]),r}();function tn(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function nn(r){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bo(r,e){r.pending[e]!==void 0&&(delete r.pending[e],r.pendingCount--)}var So=function(r){ze(t,r);var e=vo(t);function t(i,n,o){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return j(this,t),a=e.call(this),Ke&&Q.call(J(a)),a.backend=i,a.store=n,a.services=o,a.languageUtils=o.languageUtils,a.options=s,a.logger=B.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,s.backend,s),a}return R(t,[{key:"queueLoad",value:function(n,o,a,s){var u=this,f={},c={},l={},g={};return n.forEach(function(d){var h=!0;o.forEach(function(v){var y="".concat(d,"|").concat(v);!a.reload&&u.store.hasResourceBundle(d,v)?u.state[y]=2:u.state[y]<0||(u.state[y]===1?c[y]===void 0&&(c[y]=!0):(u.state[y]=1,h=!1,c[y]===void 0&&(c[y]=!0),f[y]===void 0&&(f[y]=!0),g[v]===void 0&&(g[v]=!0)))}),h||(l[d]=!0)}),(Object.keys(f).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(f),pending:Object.keys(c),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(g)}}},{key:"loaded",value:function(n,o,a){var s=n.split("|"),u=s[0],f=s[1];o&&this.emit("failedLoading",u,f,o),a&&this.store.addResourceBundle(u,f,a),this.state[n]=o?-1:2;var c={};this.queue.forEach(function(l){Yi(l.loaded,[u],f),bo(l,n),o&&l.errors.push(o),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(function(g){c[g]||(c[g]={});var d=l.loaded[g];d.length&&d.forEach(function(h){c[g][h]===void 0&&(c[g][h]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(function(l){return!l.done})}},{key:"read",value:function(n,o,a){var s=this,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,c=arguments.length>5?arguments[5]:void 0;if(!n.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:n,ns:o,fcName:a,tried:u,wait:f,callback:c});return}this.readingCalls++;var l=function(v,y){if(s.readingCalls--,s.waitingReads.length>0){var m=s.waitingReads.shift();s.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(v&&y&&u2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),u&&u();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof o=="string"&&(o=[o]);var f=this.queueLoad(n,o,s,u);if(!f.toLoad.length)return f.pending.length||u(),null;f.toLoad.forEach(function(c){a.loadOne(c)})}},{key:"load",value:function(n,o,a){this.prepareLoading(n,o,{},a)}},{key:"reload",value:function(n,o,a){this.prepareLoading(n,o,{reload:!0},a)}},{key:"loadOne",value:function(n){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=n.split("|"),u=s[0],f=s[1];this.read(u,f,"read",void 0,void 0,function(c,l){c&&o.logger.warn("".concat(a,"loading namespace ").concat(f," for language ").concat(u," failed"),c),!c&&l&&o.logger.log("".concat(a,"loaded namespace ").concat(f," for language ").concat(u),l),o.loaded(n,c,l)})}},{key:"saveMissing",value:function(n,o,a,s,u){var f=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var l=nn(nn({},f),{},{isUpdate:u}),g=this.backend.create.bind(this.backend);if(g.length<6)try{var d;g.length===5?d=g(n,o,a,s,l):d=g(n,o,a,s),d&&typeof d.then=="function"?d.then(function(h){return c(null,h)}).catch(c):c(null,d)}catch(h){c(h)}else g(n,o,a,s,c,l)}!n||!n[0]||this.store.addResource(n[0],o,a,s)}}}]),t}(Q);function rn(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if(I(e[1])==="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),I(e[2])==="object"||I(e[3])==="object"){var i=e[3]||e[2];Object.keys(i).forEach(function(n){t[n]=i[n]})}return t},interpolation:{escapeValue:!0,format:function(e,t,i,n){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function on(r){return typeof r.ns=="string"&&(r.ns=[r.ns]),typeof r.fallbackLng=="string"&&(r.fallbackLng=[r.fallbackLng]),typeof r.fallbackNS=="string"&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs&&r.supportedLngs.indexOf("cimode")<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),r}function an(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function H(r){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function je(){}function xo(r){var e=Object.getOwnPropertyNames(Object.getPrototypeOf(r));e.forEach(function(t){typeof r[t]=="function"&&(r[t]=r[t].bind(r))})}var $e=function(r){ze(t,r);var e=wo(t);function t(){var i,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(j(this,t),i=e.call(this),Ke&&Q.call(J(i)),i.options=on(n),i.services={},i.logger=B,i.modules={external:[]},xo(J(i)),o&&!i.isInitialized&&!n.isClone){if(!i.options.initImmediate)return i.init(n,o),ke(i,J(i));setTimeout(function(){i.init(n,o)},0)}return i}return R(t,[{key:"init",value:function(){var n=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(a=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=rn();this.options=H(H(H({},s),this.options),on(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=H(H({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function u(m){return m?typeof m=="function"?new m:m:null}if(!this.options.isClone){this.modules.logger?B.init(u(this.modules.logger),this.options):B.init(null,this.options);var f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=mo);var c=new Gt(this.options);this.store=new oo(this.options.resources,this.options);var l=this.services;l.logger=B,l.resourceStore=this.store,l.languageUtils=c,l.pluralResolver=new go(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(l.formatter=u(f),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new ho(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new So(u(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",function(m){for(var p=arguments.length,b=new Array(p>1?p-1:0),w=1;w1?p-1:0),w=1;w0&&g[0]!=="dev"&&(this.options.lng=g[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var d=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];d.forEach(function(m){n[m]=function(){var p;return(p=n.store)[m].apply(p,arguments)}});var h=["addResource","addResources","addResourceBundle","removeResourceBundle"];h.forEach(function(m){n[m]=function(){var p;return(p=n.store)[m].apply(p,arguments),n}});var v=fe(),y=function(){var p=function(w,x){n.isInitialized&&!n.initializedStoreOnce&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),v.resolve(x),a(w,x)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return p(null,n.t.bind(n));n.changeLanguage(n.options.lng,p)};return this.options.resources||!this.options.initImmediate?y():setTimeout(y,0),v}},{key:"loadResources",value:function(n){var o=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je,s=a,u=typeof n=="string"?n:this.language;if(typeof n=="function"&&(s=n),!this.options.resources||this.options.partialBundledLanguages){if(u&&u.toLowerCase()==="cimode")return s();var f=[],c=function(d){if(d){var h=o.services.languageUtils.toResolveHierarchy(d);h.forEach(function(v){f.indexOf(v)<0&&f.push(v)})}};if(u)c(u);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach(function(g){return c(g)})}this.options.preload&&this.options.preload.forEach(function(g){return c(g)}),this.services.backendConnector.load(f,this.options.ns,function(g){!g&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(g)})}else s(null)}},{key:"reloadResources",value:function(n,o,a){var s=fe();return n||(n=this.languages),o||(o=this.options.ns),a||(a=je),this.services.backendConnector.reload(n,o,function(u){s.resolve(),a(u)}),s}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&Yn.addPostProcessor(n),n.type==="formatter"&&(this.modules.formatter=n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"setResolvedLanguage",value:function(n){if(!(!n||!this.languages)&&!(["cimode","dev"].indexOf(n)>-1))for(var o=0;o-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(n,o){var a=this;this.isLanguageChangingTo=n;var s=fe();this.emit("languageChanging",n);var u=function(g){a.language=g,a.languages=a.services.languageUtils.toResolveHierarchy(g),a.resolvedLanguage=void 0,a.setResolvedLanguage(g)},f=function(g,d){d?(u(d),a.translator.changeLanguage(d),a.isLanguageChangingTo=void 0,a.emit("languageChanged",d),a.logger.log("languageChanged",d)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),o&&o(g,function(){return a.t.apply(a,arguments)})},c=function(g){!n&&!g&&a.services.languageDetector&&(g=[]);var d=typeof g=="string"?g:a.services.languageUtils.getBestMatchFromCodes(g);d&&(a.language||u(d),a.translator.language||a.translator.changeLanguage(d),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(d)),a.loadResources(d,function(h){f(h,d)})};return!n&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(n),s}},{key:"getFixedT",value:function(n,o,a){var s=this,u=function f(c,l){var g;if(I(l)!=="object"){for(var d=arguments.length,h=new Array(d>2?d-2:0),v=2;v1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=a.lng||this.resolvedLanguage||this.languages[0],u=this.options?this.options.fallbackLng:!1,f=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var c=function(d,h){var v=o.services.backendConnector.state["".concat(d,"|").concat(h)];return v===-1||v===2};if(a.precheck){var l=a.precheck(this,c);if(l!==void 0)return l}return!!(this.hasResourceBundle(s,n)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(s,n)&&(!u||c(f,n)))}},{key:"loadNamespaces",value:function(n,o){var a=this,s=fe();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(u){a.options.ns.indexOf(u)<0&&a.options.ns.push(u)}),this.loadResources(function(u){s.resolve(),o&&o(u)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(n,o){var a=fe();typeof n=="string"&&(n=[n]);var s=this.options.preload||[],u=n.filter(function(f){return s.indexOf(f)<0});return u.length?(this.options.preload=s.concat(u),this.loadResources(function(f){a.resolve(),o&&o(f)}),a):(o&&o(),Promise.resolve())}},{key:"dir",value:function(n){if(n||(n=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!n)return"rtl";var o=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new Gt(rn());return o.indexOf(a.getLanguagePartFromCode(n))>-1||n.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var n=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je,s=H(H(H({},this.options),o),{isClone:!0}),u=new t(s);(o.debug!==void 0||o.prefix!==void 0)&&(u.logger=u.logger.clone(o));var f=["store","services","language"];return f.forEach(function(c){u[c]=n[c]}),u.services=H({},this.services),u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u.translator=new Qt(u.services,u.options),u.translator.on("*",function(c){for(var l=arguments.length,g=new Array(l>1?l-1:0),d=1;d0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new $e(r,e)});var P=$e.createInstance();P.createInstance=$e.createInstance;P.createInstance;P.dir;P.init;P.loadResources;P.reloadResources;P.use;P.changeLanguage;P.getFixedT;P.t;P.exists;P.setDefaultNamespace;P.hasLoadedNamespace;P.loadNamespaces;P.loadLanguages;var Zn=[],ko=Zn.forEach,Lo=Zn.slice;function Po(r){return ko.call(Lo.call(arguments,1),function(e){if(e)for(var t in e)r[t]===void 0&&(r[t]=e[t])}),r}var sn=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Co=function(e,t,i){var n=i||{};n.path=n.path||"/";var o=encodeURIComponent(t),a="".concat(e,"=").concat(o);if(n.maxAge>0){var s=n.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(n.domain){if(!sn.test(n.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(n.domain)}if(n.path){if(!sn.test(n.path))throw new TypeError("option path is invalid");a+="; Path=".concat(n.path)}if(n.expires){if(typeof n.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.sameSite){var u=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(u){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},un={create:function(e,t,i,n){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};i&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+i*60*1e3)),n&&(o.domain=n),document.cookie=Co(e,encodeURIComponent(t),o)},read:function(e){for(var t="".concat(e,"="),i=document.cookie.split(";"),n=0;n-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=i.substring(1),o=n.split("&"),a=0;a0){var u=o[a].substring(0,s);u===e.lookupQuerystring&&(t=o[a].substring(s+1))}}}return t}},de=null,cn=function(){if(de!==null)return de;try{de=window!=="undefined"&&window.localStorage!==null;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{de=!1}return de},_o={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&cn()){var i=window.localStorage.getItem(e.lookupLocalStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&cn()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},ge=null,ln=function(){if(ge!==null)return ge;try{ge=window!=="undefined"&&window.sessionStorage!==null;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{ge=!1}return ge},jo={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&ln()){var i=window.sessionStorage.getItem(e.lookupSessionStorage);i&&(t=i)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&ln()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},Ro={name:"navigator",lookup:function(e){var t=[];if(typeof navigator<"u"){if(navigator.languages)for(var i=0;i0?t:void 0}},Io={name:"htmlTag",lookup:function(e){var t,i=e.htmlTag||(typeof document<"u"?document.documentElement:null);return i&&typeof i.getAttribute=="function"&&(t=i.getAttribute("lang")),t}},Ao={name:"path",lookup:function(e){var t;if(typeof window<"u"){var i=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(i instanceof Array)if(typeof e.lookupFromPathIndex=="number"){if(typeof i[e.lookupFromPathIndex]!="string")return;t=i[e.lookupFromPathIndex].replace("/","")}else t=i[0].replace("/","")}return t}},No={name:"subdomain",lookup:function(e){var t=typeof e.lookupFromSubdomainIndex=="number"?e.lookupFromSubdomainIndex+1:1,i=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(i)return i[t]}};function Fo(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var Xn=function(){function r(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};j(this,r),this.type="languageDetector",this.detectors={},this.init(e,t)}return R(r,[{key:"init",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=Po(i,this.options||{},Fo()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(Eo),this.addDetector(To),this.addDetector(_o),this.addDetector(jo),this.addDetector(Ro),this.addDetector(Io),this.addDetector(Ao),this.addDetector(No)}},{key:"addDetector",value:function(t){this.detectors[t.name]=t}},{key:"detect",value:function(t){var i=this;t||(t=this.options.order);var n=[];return t.forEach(function(o){if(i.detectors[o]){var a=i.detectors[o].lookup(i.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(t,i){var n=this;i||(i=this.options.caches),i&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||i.forEach(function(o){n.detectors[o]&&n.detectors[o].cacheUserLanguage(t,n.options)}))}}]),r}();Xn.type="languageDetector";var er=[],qo=er.forEach,Do=er.slice;function Mo(r){return qo.call(Do.call(arguments,1),function(e){if(e)for(var t in e)r[t]===void 0&&(r[t]=e[t])}),r}function $o(r){return r?typeof r=="function"?new r:r:null}function Ho(){return{handleEmptyResourcesAsFailed:!0,cacheHitMode:"none"}}function fn(r,e,t,i){var n=r.read.bind(r);if(n.length===2){try{var o=n(e,t);o&&typeof o.then=="function"?o.then(function(a){return i(null,a)}).catch(i):i(null,o)}catch(a){i(a)}return}n(e,t,i)}var tr=function(){function r(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};j(this,r),this.backends=[],this.type="backend",this.init(e,t)}return R(r,[{key:"init",value:function(t){var i=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;this.services=t,this.options=Mo(n,this.options||{},Ho()),this.options.backends&&this.options.backends.forEach(function(a,s){i.backends[s]=i.backends[s]||$o(a),i.backends[s].init(t,i.options.backendOptions&&i.options.backendOptions[s]||{},o)})}},{key:"read",value:function(t,i,n){var o=this,a=this.backends.length,s=function f(c){if(c>=a)return n(new Error("non of the backend loaded data",!0));var l=c===a-1,g=o.options.handleEmptyResourcesAsFailed&&!l?0:-1,d=o.backends[c];d.read?fn(d,t,i,function(h,v){if(!h&&v&&Object.keys(v).length>g){if(n(null,v,c),u(c-1,v),d.save&&o.options.cacheHitMode&&["refresh","refreshAndUpdateStore"].indexOf(o.options.cacheHitMode)>-1){var y=o.backends[c+1];y&&y.read&&fn(y,t,i,function(m,p){m||p&&(Object.keys(p).length<=g||(u(c,p),o.options.cacheHitMode==="refreshAndUpdateStore"&&o.services&&o.services.resourceStore&&o.services.resourceStore.addResourceBundle(t,i,p)))})}}else f(c+1)}):f(c+1)},u=function f(c,l){if(!(c<0)){var g=o.backends[c];g.save&&g.save(t,i,l),f(c-1,l)}};s(0)}},{key:"create",value:function(t,i,n,o){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){},s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.backends.forEach(function(u){if(u.create){var f=u.create.bind(u);if(f.length<6){try{var c;f.length===5?c=f(t,i,n,o,s):c=f(t,i,n,o),c&&typeof c.then=="function"?c.then(function(l){return a(null,l)}).catch(a):a(null,c)}catch(l){a(l)}return}f(t,i,n,o,a,s)}})}}]),r}();tr.type="backend";function dn(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i)}return t}function tt(r){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{};j(this,r),this.init(e,t),this.type="backend"}return R(r,[{key:"init",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.services=t,this.options=tt(tt(tt({},Vo()),this.options),i),this.storage=new Bo(this.options)}},{key:"read",value:function(t,i,n){var o=new Date().getTime();if(!this.storage.store)return n(null,null);var a=this.storage.getItem("".concat(this.options.prefix).concat(t,"-").concat(i));if(a){a=JSON.parse(a);var s=this.getVersion(t);if(a.i18nStamp&&a.i18nStamp+this.options.expirationTime>o&&s===a.i18nVersion)return delete a.i18nVersion,delete a.i18nStamp,n(null,a)}return n(null,null)}},{key:"save",value:function(t,i,n){if(this.storage.store){n.i18nStamp=new Date().getTime();var o=this.getVersion(t);o&&(n.i18nVersion=o),this.storage.setItem("".concat(this.options.prefix).concat(t,"-").concat(i),JSON.stringify(n))}}},{key:"getVersion",value:function(t){return this.options.versions[t]||this.options.defaultVersion}}]),r}();nr.type="backend";var rr={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;function e(a){for(var s=1;s1&&arguments[1]!==void 0?arguments[1]:{};s=e({},i,s);var u=function(h,v){return s.parseDefaultValueFromContent?e({},h,{defaultValue:v}):h};function f(d,h,v){var y="text";if(h.indexOf("[")==0){var m=h.split("]");h=m[1],y=m[0].substr(1,m[0].length-1)}if(h=h.indexOf(";")==h.length-1?h.substr(0,h.length-2):h,y==="html")d.innerHTML=a.t(h,u(v,d.innerHTML));else if(y==="text")d.textContent=a.t(h,u(v,d.textContent));else if(y==="prepend"){var p=d.innerHTML.indexOf(""),b=d.innerHTML.indexOf("")+11;p>-1&&b>6&&(d.innerHTML=[d.innerHTML.substring(0,p),d.innerHTML.slice(b)].join("")),d.innerHTML=["",a.t(h,u(v,d.innerHTML)),"",d.innerHTML].join("")}else if(y==="append"){var w=d.innerHTML.indexOf(""),x=d.innerHTML.indexOf("")+11;w>-1&&x>6&&(d.innerHTML=[d.innerHTML.substring(0,w),d.innerHTML.slice(x)].join("")),d.innerHTML=[d.innerHTML,"",a.t(h,u(v,d.innerHTML),"")].join("")}else if(y.indexOf("data-")===0){var O=y.substr(5),k=a.t(h,u(v,d.getAttribute(O)));d.setAttribute(O,k),d.setAttribute(y,k)}else d.setAttribute(y,a.t(h,u(v,d.getAttribute(y))))}function c(d){return JSON.parse(d.replace(/:\s*"([^"]*)"/g,function(h,v){return': "'+v.replace(/:/g,"@colon@")+'"'}).replace(/:\s*'([^']*)'/g,function(h,v){return': "'+v.replace(/:/g,"@colon@")+'"'}).replace(/(['"])?([a-z0-9A-Z_]+)(['"])?\s*:/g,'"$2": ').replace(/@colon@/g,":"))}function l(d,h){var v=d.getAttribute(s.selectorAttr);if(v){var y=d,m=d.getAttribute(s.targetAttr);if(m!=null&&(y=d.querySelector(m)||d),!h&&s.useOptionsAttr===!0&&(h=c(d.getAttribute(s.optionsAttr)||"{}")),h=h||{},v.indexOf(";")>=0)for(var p=v.split(";"),b=0,w=p.length;b-1;w--)l(b[w],h);l(p,h)}}return g}var o={init:n};r.default=o})(rr);var Uo=rr.default;const zo=fr(Uo);class gn{static DateTimeFormat(e,t=P.language,i,n){const o=new Date(e);return n?new Intl.DateTimeFormat(t,i).format(o).replace(/\//g,n):new Intl.DateTimeFormat(t,i).format(o)}static RelativeTimeFormat(e,t=P.language){const n=new Date().getTime()-e,o=Math.round(n/1e3),a=new Intl.RelativeTimeFormat(t,{style:"long"});return o<60?a.format(-o,"second"):o<3600?a.format(-Math.floor(o/60),"minute"):o<86400?a.format(-Math.floor(o/3600),"hour"):o<2592e3?a.format(-Math.floor(o/86400),"day"):o<31104e3?a.format(-Math.floor(o/2592e3),"month"):a.format(-Math.floor(o/31104e3),"year")}static secondToTimeString(e){let t=Math.floor(e/60),i=e%60,n=Math.floor(t/60);t%=60;let o=Math.floor(n/24);n%=24;let a="";return o>0&&(a+=P.t("common.days",{count:o,defaultValue:"{{ count }} 天"})+" "),n>0&&(a+=P.t("common.hours",{count:n,defaultValue:"{{ count }} 小时"})+" "),t>0&&(a+=P.t("common.minutes",{count:t,defaultValue:"{{ count }} 分钟"})+" "),i>0&&(a+=P.t("common.seconds",{count:i,defaultValue:"{{ count }} 秒"})+" "),a.trim()}}class Ko{constructor(e){C(this,"schemas");this.schemas=e}isEmpty(){return!this.schemas}getValue(e,t){if(!this.isEmpty()&&e.toString()in this.schemas)return new t(this.schemas[e.toString()])}}class ir{constructor(e,t,i,n){C(this,"isRefresh");C(this,"target");C(this,"name");C(this,"method");C(this,"execCount",0);this.target=e,this.name=t,this.method=i,this.isRefresh=n}execute(){!this.isRefresh&&this.execCount.valueOf()>0||(this.method.call(this.target),this.execCount=this.execCount.valueOf()+1)}}class hn{constructor(){C(this,"documentFunctions");this.documentFunctions=new Set}geDocumentFunctionCount(){return this.documentFunctions.size}getDocumentFunctions(){return this.documentFunctions}registerDocumentFunction(e){this.documentFunctions.add(e)}getDocumentFunction(e){if(!(!e||!this.documentFunctions)){for(const t of this.documentFunctions)if(t.name===e)return t}}}class Jo{constructor(e){C(this,"config");C(this,"themeconfigs");C(this,"currPageData",new Map);C(this,"documentFunctionFactory",new hn);C(this,"events",new Map);C(this,"REFRESH_EVENT_NAME","sakura:refresh");this.config=e,this.themeconfigs=new Map,this.refreshThemeConfig()}translate(e,t,i){return S.$t?S.$t(e,{defaultValue:t,...i}):t}refreshThemeConfig(){if(this.config)try{Object.keys(this.config).forEach(e=>{let t=new Ko(this.config[e]);this.themeconfigs.set(e,t)})}catch(e){console.error("解析 themeConfig 失败:",e)}}getThemeConfig(e,t,i){let n=this.themeconfigs.get(e);if(n)return n.getValue(t,i)}getPageConfig(e){if(this.currPageData.has(e))return this.currPageData.get(e)}refresh(){this.prepareRefresh(),this.initEventMulticaster(),this.mountGlobalFunction(),this.registerRoute(),this.obtainFunctionFactory(),this.registerDomProcessors(),this.finishDocumentFunction(),this.finishRefresh()}mountGlobalProperty(e,t){Object.getOwnPropertyDescriptor(S,`$${e}`)||Object.defineProperty(S,`$${e}`,{value:t,writable:!1,enumerable:!1,configurable:!1})}mountGlobalFunction(){var t,i,n,o,a,s,u;((t=S.getThemeConfig("toast","open_toast",Boolean))==null?void 0:t.valueOf())&&!Object.getOwnPropertyDescriptor(S,"$toast")&&Object.defineProperty(S,"$toast",{value:new Hi({width:(i=S.getThemeConfig("toast","toast_width",Number))==null?void 0:i.valueOf(),height:(n=S.getThemeConfig("toast","toast_height",Number))==null?void 0:n.valueOf(),top:(o=S.getThemeConfig("toast","toast_top",String))==null?void 0:o.valueOf(),background:(a=S.getThemeConfig("general","theme_skin",String))==null?void 0:a.valueOf(),color:(s=S.getThemeConfig("toast","toast_color",String))==null?void 0:s.valueOf(),fontSize:(u=S.getThemeConfig("toast","toast_font_size",Number))==null?void 0:u.valueOf()}),writable:!0,configurable:!0,enumerable:!1}),Object.getOwnPropertyDescriptor(S,"$t")?S.$localize("[data-i18n]"):P.use(Xn).use(tr).init({backend:{backends:[nr,{type:"backend",read(f,c,l){hr(Object.assign({"./languages/en.json":()=>T(()=>import("./assets/en-d12c2ca6.js"),[]),"./languages/ja.json":()=>T(()=>import("./assets/ja-3c0ce0b5.js"),[]),"./languages/zh.json":()=>T(()=>import("./assets/zh-1614e2f8.js"),[])}),`./languages/${f}.json`).then(g=>{l(null,g.default)}).catch(g=>{l(g,null)})},init:()=>{}}],backendOptions:[{prefix:"i18next_sakura_",defaultVersion:S.getPageConfig("version")}]},debug:!1,lowerCaseLng:!0,cleanCode:!0,interpolation:{format:function(f,c,l,g){var h,v;const d=g==null?void 0:g.params;switch(c){case"datetimeFormat":let y=d==null?void 0:d.options;if(!y){switch((h=S.getThemeConfig("general","date_format",String))==null?void 0:h.valueOf()){case"time":y={hour:"numeric",minute:"numeric",second:"numeric"};break;case"datetime":y={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric"};break;case"date":default:y={year:"numeric",month:"2-digit",day:"2-digit"};break}(v=S.getThemeConfig("general","hour12",Boolean))!=null&&v.valueOf()&&(y.hour12=!0)}return gn.DateTimeFormat(f,l,y,d==null?void 0:d.separator);case"relativeTimeFormat":return gn.RelativeTimeFormat(f,l);default:return f}},escapeValue:!1}}).then(f=>{let c=this.events.get("sakura:i18n");c||(c=new CustomEvent("sakura:i18n"),this.events.set("sakura:i18n",c)),window.dispatchEvent(c),Object.defineProperty(S,"$t",{value:f,writable:!1,configurable:!1,enumerable:!1});const l=zo.init(P,{selectorAttr:"data-i18n",targetAttr:"i18n-target",optionsAttr:"i18n-options",useOptionsAttr:!0,parseDefaultValueFromContent:!0,document:window.document});l("[data-i18n]"),Object.defineProperty(S,"$localize",{value:l,writable:!1,configurable:!1,enumerable:!1})})}registerDocumentFunction(e){this.obtainFunctionFactory(),this.documentFunctionFactory.registerDocumentFunction(e),e.execute()}finishDocumentFunction(){const e=this.documentFunctionFactory.getDocumentFunctions();for(const t of e)t.execute()}registerDomProcessors(){var t;let e=Wo();for(const i of e){const n=i;this.documentFunctionFactory.registerDocumentFunction(new ir(n.target,n.propertyKey,n.method,n.isRefresh))}e.clear(),(t=this.getThemeConfig("advanced","log",Boolean))!=null&&t.valueOf()&&console.log("共获取预设 documentFunction "+ve.size+" 个")}obtainFunctionFactory(){return this.documentFunctionFactory||(this.documentFunctionFactory=new hn),this.documentFunctionFactory}prepareRefresh(){var e;this.refreshMetadata(),(e=this.getThemeConfig("advanced","log",Boolean))!=null&&e.valueOf()&&console.log("Sakura Refreshing")}refreshMetadata(){try{this.currPageData=ne.jsonToMap(pageData)}catch(e){console.error("解析 pageData 失败:",e)}}async registerRoute(){const e=this.currPageData.get("_templateId");if(!e)return;const t=`./page/${e}.min.js`;await T(()=>import(t),[])}initEventMulticaster(){let e=this.events.get(this.REFRESH_EVENT_NAME);e||(e=new CustomEvent(this.REFRESH_EVENT_NAME.toString(),{detail:{pageData:this.currPageData}}),this.events.set(this.REFRESH_EVENT_NAME,e))}finishRefresh(){var t;let e=this.events.get(this.REFRESH_EVENT_NAME);window.dispatchEvent(e),(t=this.getThemeConfig("advanced","log",Boolean))!=null&&t.valueOf()&&console.log("finish Refreshing"),console.log("%c Github %c","background:#24272A; color:#ffffff","","https://github.com/LIlGG/halo-theme-Sakura")}}var S=new Jo(config);S.refresh();var ve;function Wo(){return ve}function L(r=!0){return function(e,t,i){if(!S){ve||(ve=new Set);const n={target:e,propertyKey:t,method:i.value,isRefresh:r};ve.add(n);return}S.registerDocumentFunction(new ir(e,t,i.value,r))}}export{gn as I,ne as U,T as _,L as d,S as s};