// ==UserScript== // @name OIso++ - OIer的好帮手 // @namespace http://tampermonkey.net/ // @homepage https://www.oiso.cf/ // @version 2.4.1-pre // @description 在洛谷、Codeforces 等网站上提供 OI 检索服务 // @author OIso 开发团队 // @match https://www.luogu.com.cn/* // @match https://www.oiso.cf/* // @match https:///lgse-settings // @include https://fastly.jsdelivr.net/ // @connect oiso.cf // @connect jsdelivr.net // @connect oiso.run-eu-central1.goorm.site // @connect c.amzcd.top // @connect gpt-reverse-api.zeabur.app // @connect lab.magiconch.com // @connect ai.oisou.link // @require https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js // @require https://lab.magiconch.com/vue.2.6.11.min.js // @resource css https://unpkg.com/@waline/client@v2/dist/waline.css // @icon https://www.oiso.cf/img/favicon.svg // @grant GM_addStyle // @grant GM_getValue // @grant GM.cookie // @grant GM_setValue // @grant GM_deleteValue // @grant GM_listValues // @grant GM_setClipboard // @grant GM_xmlhttpRequest // @grant GM_getResourceText // @grant unsafeWindow // ==/UserScript==
(()=>{var zi=Object.defineProperty;var ji=(e,t,n)=>t in e?zi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Gr=(e,t,n)=>(ji(e,typeof t!=“symbol”?t+"":t,n),n);function Vr(e,t){localStorage.setItem(e,JSON.stringify(t))}function Wr(e){return JSON.parse(localStorage.getItem(e))}function Bi(){let e={\u7CFB\u7EDF\u8BBE\u7F6E:{enabled:!0,desc:“\u5728\u8FD9\u91CC\u8FDB\u884C\u5168\u5C40\u7CFB\u7EDF\u8BBE\u7F6E”,config:{refreshCache:{type:“button”,desc:“\u6E05\u9664\u7F13\u5B58\u26A0\uFE0F\u8FD9\u4E5F\u4F1A\u6E05\u9664\u5F53\u524D\u6240\u6709\u8BBE\u7F6E”,value:“\u6E05\u9664”,script:“localStorage.clear();window.location.reload();”},checkUpdate:{type:“button”,desc:“\u5F53\u524D\u7248\u672C\uFF1Av2.4.1-pre\uFF0C\u6784\u5EFA\u65F6\u95F4\uFF1A8/18/2023, 10:59:55 AM”,value:“\u68C0\u67E5\u66F4\u65B0\uFF08\u6682\u4E0D\u53EF\u7528\uFF09”,script:""},about:{type:“text”,desc:“\u5173\u4E8E”,value:“\uFF08\u9E23\u8C22\u540D\u5355\uFF09”}}},aHelper:{enabled:!0,desc:“\u4F7F\u7528 AI \u670D\u52A1\uFF0C\u5E2E\u60A8\u7FFB\u8BD1\u3001\u5206\u6790\u9898\u76EE\uFF01”,config:{uuid:{type:“text”,desc:“\u7CFB\u7EDF\u5206\u914D\u7684GPT\u63A5\u53E3\u4FE1\u606F”,value:“\u6682\u65E0\u4FE1\u606F”},refresh:{type:“button”,desc:“\u5982\u679CAI\u670D\u52A1\u4E0D\u7A33\u5B9A\uFF0C\u53EF\u5C1D\u8BD5\u6E05\u9664\u5F53\u524D\u5206\u914D”,value:“\u6E05\u9664\u5F53\u524D\u5206\u914D”,script:‘localStorage.removeItem(“chatID”);let nowCfg = localStorage.getItem(“exOIsoCFG”);nowCfg = JSON.parse(nowCfg);nowCfg.aHelper.config.uuid.value = “\u5C1A\u672A\u5206\u914D\u3002\u4F7F\u7528AI\u670D\u52A1\u81EA\u52A8\u5206\u914D\u3002”;localStorage.setItem(“exOIsoCFG”, JSON.stringify(nowCfg));window.location.reload();’}}},bbsTools:{enabled:!0,desc:“\u8BBA\u575B\u5DE5\u5177\u7BB1\uFF0C\u5C3D\u60C5\u6295\u7968\u3001\u5907\u4EFD\u3001\u67E5\u770B\uFF01
\u540E\u7AEF\u7531\u5F00\u6E90\u5E16\u5B50\u4FDD\u5B58\u5DE5\u5177\u4E8C\u6B21\u5F00\u53D1\u3002\u611F\u8C22\u539F\u4F5C\u8005 OwO \u4E0E Yemaster \uFF01”,config:{voteShow:{type:“bool”,desc:“\u663E\u793A\u6295\u7968\u529F\u80FD”,value:!0},toolShow:{type:“bool”,desc:“\u663E\u793A\u5907\u4EFD\u6309\u94AE”,value:!0},btnShow:{type:“bool”,desc:“\u201C\u5F15\u7528\u56DE\u590D\u201D\u201C\u590D\u5236Md\u201D\u529F\u80FD”,value:!0},autoSave:{type:“bool”,desc:“\u5F53\u60A8\u5728\u5237\u5E16\u5B50\u65F6\uFF0C\u81EA\u52A8\u4FDD\u5B58\u5E16\u5B50”,value:!0},waline:{type:“bool”,desc:“\u542F\u7528 Waline \u8BC4\u8BBA\u7CFB\u7EDF\uFF0C\u6765\u533F\u540D\u8BC4\u8BBA\uFF08\u4E0Elg.oiso.cf\u540C\u6B65\uFF09\uFF01”,value:!0}}},easyCaptcha:{enabled:!0,desc:“\u597D\u7528\u7684\u9A8C\u8BC1\u7801\u81EA\u52A8\u586B\u5145\uFF01”,config:{}},easyMarkdown:{enabled:!0,desc:“\u968F\u5904\u590D\u5236 Markdown \u6E90\u7801\uFF01\u5982\u4E2A\u4EBA\u4E3B\u9875\u3001\u7287\u7287\u7B49\uFF01”,config:{}},eloNameColor:{enabled:!0,desc:“\u540D\u5B57\u989C\u8272\u589E\u5F3A\uFF0C\u6839\u636E Elo \u503C\u53D8\u8272\uFF0C\u67E5\u770B\u7528\u6237\u540D\u5B57\u672A\u6765\u98CE\u5411\uFF01”,config:{}},LGSE:{enabled:!0,desc:“LGSE \u52A0\u5165\u5566\uFF01QQ\u8868\u60C5\u66FF\u6362\u4E0E\u67E5\u8BE2\uFF01\u6280\u672F\u652F\u6301\uFF1A@hycJuRuo
\u8BF7\u6CE8\u610F\uFF1A\u76EE\u524D\u6682\u65F6\u65E0\u6CD5\u963B\u6B62 LGSE \u5728\u8BBE\u7F6E\u9875\u52A0\u8F7D\u3002\u5982\u679C\u9700\u8981\u963B\u6B62\u5176\u52A0\u8F7D\uFF0C\u9700\u8981\u5173\u95ED\u6574\u4E2A\u7528\u6237\u811A\u672C\uFF01”,config:{}},msgMarkdown:{enabled:!0,desc:“\u5728\u79C1\u4FE1\u9875\u9762\u652F\u6301\u57FA\u7840 Markdown \u6E32\u67D3\uFF0C\u81EA\u52A8\u8BC6\u522B\u94FE\u63A5\u3001\u663E\u793A\u94FE\u63A5\u4E2D\u7684\u56FE\u7247\uFF01”,config:{}},nbnhhsh:{enabled:!0,desc:“\u300C\u80FD\u4E0D\u80FD\u597D\u597D\u8BF4\u8BDD\uFF1F\u300D \u62FC\u97F3\u9996\u5B57\u6BCD\u7F29\u5199\u7FFB\u8BD1\u5DE5\u5177\u3002\u8BE5\u9879\u76EE\u5F00\u6E90\u5730\u5740\uFF1Ahttps://github.com/itorr/nbnhhsh\u3002\u5728\u4EFB\u4F55\u5730\u65B9\u9009\u4E2D\u6587\u672C\uFF0C\u5C31\u80FD\u770B\u5230\u8BE6\u7EC6\u89E3\u91CA\u3002”,config:{}},onlineReport:{enabled:!1,desc:“\u5728\u7EBF\u72B6\u6001\u62A5\u544A\uFF0C\u6BCF\u9694\u4E00\u5206\u949F\u81EA\u52A8\u66F4\u65B0\u5728\u7EBF\u65F6\u95F4\u81F3\u60A8\u7684\u4E2A\u4EBA\u7B7E\u540D\uFF01
\u6CE8\u610F\uFF1A\u60A8\u5F53\u524D\u7684\u7B7E\u540D\u4F1A\u88AB\u8986\u76D6\u4E14\u65E0\u4ECE\u627E\u56DE\uFF01”,config:{text:{type:“string”,desc:“\u6A21\u7248\uFF0C{time}\u53EF\u6307\u4EE3\u5F53\u524D\u65F6\u95F4”,value:”> \u6700\u540E\u5728\u7EBF\u65F6\u95F4\uFF1A{time} < \u7531 exOIso \u53D1\u9001\u6FC0\u5149”},duration:{type:“number”,desc:“\u66F4\u65B0\u95F4\u9694\uFF08\u5206\u949F\uFF09”,value:1}}},quickSearch:{enabled:!0,desc:“\u6309\u4E0B Ctrl + Alt \uFF08Control + Option\uFF09 \uFF0C\u5524\u8D77\u5FEB\u901F\u641C\u7D22\uFF0C\u652F\u6301\u667A\u80FD\u62FC\u97F3\u8054\u60F3\uFF01”,config:{backgroundBlur:{type:“number”,desc:“\u80CC\u666F\u6BDB\u73BB\u7483\u6A21\u7CCA\u5EA6\uFF08 0 \u8868\u793A\u5173\u95ED\uFF0C\u53D6\u51B3\u4E8E\u60A8\u7684\u7535\u8111\u6027\u80FD\uFF09”,value:1}}}};if(!Wr(“exOIsoCFG”))Vr(“exOIsoCFG”,e);else{let t=Wr(“exOIsoCFG”);for(let n in e)if(t[n]===void 0)t[n]=e[n];else{t[n].desc=e[n].desc;for(let o in e[n].config)t[n].config[o]===void 0?t[n].config[o]=e[n].config[o]:t[n].config[o].desc=e[n].config[o].desc}for(let n in t)e[n]===void 0&&delete t[n];Vr(“exOIsoCFG”,t)}}Bi();var Ni=unsafeWindow;var Jr=e=>[e.ctrlKey?”Ctrl”:"",e.shiftKey?”Shift”:"",e.altKey?”Alt”:"",e.key.toInitialCase()].join(""),Pi=jQuery.extend({double:(e,t,n)=>[e(t),e(n)]});jQuery.fn.extend({whenKey(e,t){typeof e==“object”?this.on(“keydown”,n=>{let o=e[Jr(n)];o&&o(n)}):this.on(“keydown”,n=>{Jr(n)===e&&t(n)})}});var Ce=(e,…t)=>Ni.console.log(%c[OIso++] ${e},“color: #008080;”,…t);var qn=(e,t)=>{let n=JSON.parse(localStorage.getItem(“cache”));n==null&&(n={}),n[e]!==null&&n[e]&&n[e].updateTime&&new Date().getTime()-n[e].updateTime<1e3606024&&t(n[e]),GM_xmlhttpRequest({method:“GET”,url:e,onload(o){let r={responseText:o.responseText,status:o.status,updateTime:new Date().getTime()};n[e]=r,localStorage.setItem(“cache”,JSON.stringify(n)),t(r)}})},zt=(e,t)=>{let n=JSON.parse(localStorage.getItem(“pendantCache”));if(n!==null&&n.updateTime!==null&&new Date().getTime()-n.updateTime<1e3606024){if(n[e]===void 0||n[e]==null){t({responseText:“False”});return}t({responseText:n[e]});return}GM_xmlhttpRequest({method:“GET”,url:“https://online.oiso.cf/pendant/getall”,onload:o=>{if(n=JSON.parse(o.responseText),n.updateTime=new Date().getTime(),localStorage.setItem(“pendantCache”,JSON.stringify(n)),n[e]===void 0||n[e]==null){t({responseText:“False”});return}t({responseText:n[e]})}})},Zr=e=>new Promise((t,n)=>{let o=JSON.parse(localStorage.getItem(“eloCache”));if(o!==null&&o.updateTime!==null&&new Date().getTime()-o.updateTime<1e3606024&&o[e]!==void 0){if(o[e]===void 0||o[e]==null){t({responseText:“Null”});return}t({responseText:o[e]});return}Pi.ajax({url:https://www.luogu.com.cn/user/${e}?_contentOnly=1,type:“GET”,success:r=>{let l;try{l=r.currentData.user.elo.rating}catch{l=null}if(o===null&&(o={}),o[e]=l,o.updateTime=new Date().getTime(),localStorage.setItem(“eloCache”,JSON.stringify(o)),o[e]===void 0||o[e]==null){t({responseText:“Null”});return}t({responseText:o[e]})},error:r=>{n(r)}})}),Kr=(e,t,n)=>{let r=document.querySelector(‘meta[name=“csrf-token”]‘).getAttribute(“content”);unsafeWindow.window.goPost=function(){let s=new XMLHttpRequest;s.open(“POST”,e),s.setRequestHeader(“x-csrf-token”,r),s.setRequestHeader(“x-requested-with”,“XMLHttpRequest”),s.setRequestHeader(“content-type”,“application/json”),s.onload=function(){typeof window.callback==“function”&&n(s.responseText)},s.send(JSON.stringify(t))};let l=document.createElement(“script”),i=“setTimeout(() => { window.goPost() }, 100);“;unsafeWindow.window.document.body.appendChild(l),l.innerText=i},No=e=>{let t=JSON.parse(localStorage.getItem(“exOIsoCFG”));return!!(t[e]===void 0||t[e].enabled===void 0||t[e].enabled)},lt=e=>JSON.parse(localStorage.getItem(“exOIsoCFG”))[e];var Hi={reg:(e,t,n)=>{let o=window.location.href;e=https://www.luogu.com.cn${e},o.search(e)===0&&(No(t)||t===“controlPanel”||t===“pendantRender”?(Ce((\u7CFB\u7EDF) \u6B63\u5728\u8FD0\u884C "${t}" \u6A21\u5757\u3002),n()):Ce((\u7CFB\u7EDF) "${t}" \u6A21\u5757\u5DF2\u7981\u7528\u3002))},regInAll:(e,t,n)=>{window.location.href.search(e)===0&&(No(t)||t===“controlPanel”||t===“pendantRender”?(Ce((\u7CFB\u7EDF) \u6B63\u5728\u8FD0\u884C "${t}" \u6A21\u5757\u3002),n()):Ce((\u7CFB\u7EDF) "${t}" \u6A21\u5757\u5DF2\u7981\u7528\u3002))}},ue=Hi;ue.reg(”/”,“voteShow”,()=>{if(lt(“bbsTools”).config.voteShow.value===!1)return;let e=lt(“bbsTools”).config,t=document.querySelectorAll(“a[href^=‘/discuss/show?postid=’]”),n=[];for(let o=0;o<t.length;o++){let r=t[o].getAttribute(“href”).split(”=”)[1];if(n.push(r),e.autoSave.value){let l=https://lgbbs.oiso.cf/save.php?url=https://www.luogu.com.cn/discuss/${r}?page=1;GM_xmlhttpRequest({method:“GET”,url:l,onload:()=>{}})}}GM_xmlhttpRequest({method:“POST”,url:“https://online.oiso.cf/lgbbs/getlist”,data:JSON.stringify(n),headers:{“Content-Type”:“application/json”},onload:o=>{if(JSON.parse(o.responseText).code===200){let r=JSON.parse(o.responseText);for(let l=0;l<t.length;l++){let i=t[l].getAttribute(“href”).split(”=”)[1],s=r[i],a=t[l].innerHTML;t[l].innerHTML=${a} <div style="float:right;">[↑${s.for} ↓${s.against}]</div>}}}})});(function(){“use strict”;function e(f){if(typeof f!=“string”&&(f=""+f),/[^a-z0-9-#%&'*+.\^_`|~]/i.test(f))throw new TypeError("Invalid character in header field name");return f.toLowerCase()}function t(f){return typeof f!="string"&&(f=""+f),f}function n(f){this.map={},f instanceof n?f.forEach(function(v,w){this.append(w,v)},this):f&&Object.getOwnPropertyNames(f).forEach(function(v){this.append(v,f[v])},this)}function o(f){return f.bodyUsed?y.reject(new TypeError("Already read")):void(f.bodyUsed=!0)}function r(f){return new y(function(v,w){f.onload=function(){v(f.result)},f.onerror=function(){w(f.error)}})}function l(f){var v=new FileReader;return v.readAsArrayBuffer(f),r(v)}function i(f){var v=new FileReader;return v.readAsText(f),r(v)}function s(){return this.bodyUsed=!1,this._initBody=function(f){if(this._bodyInit=f,typeof f=="string")this._bodyText=f;else if(b.blob&&Blob.prototype.isPrototypeOf(f))this._bodyBlob=f;else if(b.formData&&FormData.prototype.isPrototypeOf(f))this._bodyFormData=f;else{if(f)throw Error("unsupported BodyInit type");this._bodyText=""}},b.blob?(this.blob=function(){var f=o(this);if(f)return f;if(this._bodyBlob)return y.resolve(this._bodyBlob);if(this._bodyFormData)throw Error("could not read FormData body as blob");return y.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(l)},this.text=function(){var f=o(this);if(f)return f;if(this._bodyBlob)return i(this._bodyBlob);if(this._bodyFormData)throw Error("could not read FormData body as text");return y.resolve(this._bodyText)}):this.text=function(){var f=o(this);return f||y.resolve(this._bodyText)},b.formData&&(this.formData=function(){return this.text().then(u)}),this.json=function(){return this.text().then(JSON.parse)},this}function a(f){var v=f.toUpperCase();return m.indexOf(v)>-1?v:f}function c(f,v){if(v=v||{},this.url=f,this.credentials=v.credentials||"omit",this.headers=new n(v.headers),this.method=a(v.method||"GET"),this.mode=v.mode||null,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&v.body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(v.body)}function u(f){var v=new FormData;return f.trim().split("&").forEach(function(w){if(w){var T=w.split("="),L=T.shift().replace(/\+/g," "),M=T.join("=").replace(/\+/g," ");v.append(decodeURIComponent(L),decodeURIComponent(M))}}),v}function p(f){var v=new n,w=f.trim().split(`
`);return w.forEach(function(T){var L=T.trim().split(":"),M=L.shift().trim(),q=L.join(":").trim();v.append(M,q)}),v}function h(f,v){v||(v={}),this._initBody(f),this.type="default",this.url=null,this.status=v.status,this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText,this.headers=v.headers instanceof n?v.headers:new n(v.headers),this.url=v.url||""}var y=window.Bluebird||window.Promise;if(!self.GM_fetch){n.prototype.append=function(f,v){f=e(f),v=t(v);var w=this.map[f];w||(w=[],this.map[f]=w),w.push(v)},n.prototype.delete=function(f){delete this.map[e(f)]},n.prototype.get=function(f){var v=this.map[e(f)];return v?v[0]:null},n.prototype.getAll=function(f){return this.map[e(f)]||[]},n.prototype.has=function(f){return this.map.hasOwnProperty(e(f))},n.prototype.set=function(f,v){this.map[e(f)]=[t(v)]},n.prototype.forEach=function(f,v){Object.getOwnPropertyNames(this.map).forEach(function(w){this.map[w].forEach(function(T){f.call(v,T,w,this)},this)},this)};var b={blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in self},m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];s.call(c.prototype),s.call(h.prototype),self.Headers=n,self.Request=c,self.Response=h,self.GM_fetch=function(f,v){var w;return w=c.prototype.isPrototypeOf(f)&&!v?f:new c(f,v),new y(function(T,L){function M(D,pe,Be){return D||(/^X-Request-URL:/m.test(pe)?Be.get("X-Request-URL"):void 0)}var q,V={};V.method=w.method,V.url=w.url,V.synchronous=!1,V.onload=function(D){var pe=D.status;if(100>pe||pe>599)return void L(new TypeError("Network request failed"));var Be=D.responseHeaders;q=p(Be);var Ze={status:pe,statusText:D.statusText,headers:q,url:M(D.finalUrl,Be,q)},J=D.responseText;T(new h(J,Ze))},V.onerror=function(){L(new TypeError("Network request failed"))},V.headers={},w.headers.forEach(function(D,pe){V.headers[pe]=D}),w._bodyInit!==void 0&&(V.data=w._bodyInit),GM_xmlhttpRequest(V)})},self.GM_fetch.polyfill=!0}})();var Ui=["nick","mail","link"],Xr=e=>e.filter(t=>Ui.includes(t)),Qr=["//unpkg.com/@waline/emojis@1.1.0/weibo"],qi="en-US",Fi=["//unpkg.com/@waline/emojis/tieba/tieba_agree.png","//unpkg.com/@waline/emojis/tieba/tieba_look_down.png","//unpkg.com/@waline/emojis/tieba/tieba_sunglasses.png","//unpkg.com/@waline/emojis/tieba/tieba_pick_nose.png","//unpkg.com/@waline/emojis/tieba/tieba_awkward.png","//unpkg.com/@waline/emojis/tieba/tieba_sleep.png"],Di=e=>new Promise((t,n)=>{if(e.size>128e3)return n(new Error("File too large! File size limit 128KB"));let o=new FileReader;o.readAsDataURL(e),o.onload=()=>t(o.result?.toString()||""),o.onerror=n}),Gi=e=>e===!0?'<p class="wl-tex">Tex is not available in preview</p>':'<span class="wl-tex">Tex is not available in preview</span>',Vi=e=>{let t=async(n,o={})=>GM_fetch(`https://api.giphy.com/v1/gifs/{n}?{new URLSearchParams({lang:e,limit:"20",rating:"g",api_key:"6CIMLkNMMOhRcXPoMCPkFy4Ybk2XUiMp",...o}).toString()}`).then(r=>r.json()).then(({data:r})=>r.map(l=>({title:l.title,src:l.images.downsized_medium.url})));return{search:n=>t("search",{q:n,offset:"0"}),default:()=>t("trending",{}),more:(n,o=0)=>t("search",{q:n,offset:o.toString()})}},Wi=new RegExp(`({/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/.source}|{/(?:^|\s)//(.+?)/gm.source})|(?:{//*([\S\s]?)*//gm.source})),"gmi"),Yr=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"],Po={},Ji=e=>{let t=0;return e.replace(Wi,(n,o,r)=>{if(r)return{r}</span>`;if(o==="<")return"<";let l;Po[o]?l=Po[o]:(l=Yr[t],Po[o]=l);let i=`<span style="color: #{l}“>0 and 2,"Anonymous","Dwarves","Hobbits","Ents","Wizards","Elves","Maiar","GIF","Search GIF","Profile","Approved","Waiting","Spam","Unsticky","Oldest","Latest","Hottest","What do you think?"]),Fn=rn(["\u30CB\u30C3\u30AF\u30CD\u30FC\u30E0","3\u30D0\u30A4\u30C8\u4EE5\u4E0A\u306E\u30CB\u30C3\u30AF\u30CD\u30FC\u30E0\u3092\u3054\u5165\u529B\u304F\u3060\u3055\u3044.","\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u3054\u78BA\u8A8D\u304F\u3060\u3055\u3044.","\u30B5\u30A4\u30C8","\u30AA\u30D7\u30B7\u30E7\u30F3","\u3053\u3053\u306B\u30B3\u30E1\u30F3\u30C8","\u30B3\u30E1\u30F3\u30C8\u3057\u307E\u3057\u3087\u3046~","\u63D0\u51FA\u3059\u308B","Like","Cancel like","\u8FD4\u4FE1\u3059\u308B","\u30AD\u30E3\u30F3\u30BB\u30EB","\u30B3\u30E1\u30F3\u30C8","\u66F4\u65B0","\u3055\u3089\u306B\u8AAD\u307F\u8FBC\u3080","\u30D7\u30EC\u30D3\u30E5\u30FC","\u7D75\u6587\u5B57","\u753B\u50CF\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9","\u79D2\u524D","\u5206\u524D","\u6642\u9593\u524D","\u65E5\u524D","\u305F\u3063\u3060\u4ECA","\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9","\u30ED\u30B0\u30A4\u30F3\u3059\u308B","\u30ED\u30B0\u30A2\u30A6\u30C8","\u7BA1\u7406\u8005","\u30C8\u30C3\u30D7\u306B\u7F6E\u304F","\u30EF\u30FC\u30C9",\u30B3\u30E1\u30F3\u30C8\u306F 1 \u30EF\u30FC\u30C9\u306E\u9593\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093!
\u73FE\u5728\u306E\u5358\u8A9E\u756A\u53F7: 0 a 2,"An\xF4nimo","Dwarves","Hobbits","Ents","Wizards","Elves","Maiar","GIF","Pesquisar GIF","informa\xE7\xE3o pessoal","Aprovado","Espera","Spam","Unsticky","Mais velho","Mais recentes","Mais quente","O que voc\xEA acha?"]),Uo=rn(["\u041F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C","\u041D\u0438\u043A\u043D\u0435\u0439\u043C \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043C\u0435\u043D\u044C\u0448\u0435 3 \u0431\u0430\u0439\u0442.","\u042D\u043B. \u0430\u0434\u0440\u0435\u0441","\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0432\u0430\u0448\u0435\u0439 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B.","\u0412\u0435\u0431-\u0441\u0430\u0439\u0442","\u041D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439","\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0439 \u0437\u0434\u0435\u0441\u044C...","\u041F\u043E\u043A\u0430 \u043D\u0435\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0435\u0432.","\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C","Like","Cancel like","\u041E\u0442\u0432\u0435\u0447\u0430\u0442\u044C","\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043E\u0442\u0432\u0435\u0442","\u041A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438","\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C","\u0417\u0430\u0433\u0440\u0443\u0437\u0438 \u0431\u043E\u043B\u044C\u0448\u0435...","\u041F\u0440\u0435\u0432\u044C\u044E","\u044D\u043C\u043E\u0434\u0437\u0438","\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435","\u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434","\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0438\u043D\u0443\u0442 \u043D\u0430\u0437\u0430\u0434","\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0447\u0430\u0441\u043E\u0432 \u043D\u0430\u0437\u0430\u0434","\u0434\u043D\u0435\u0439 \u043D\u0430\u0437\u0430\u0434","\u043F\u0440\u044F\u043C\u043E \u0441\u0435\u0439\u0447\u0430\u0441","\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F","\u0412\u044B\u0445\u043E\u0434 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043C\u044B","\u0410\u0434\u043C\u0438\u043D","\u041B\u0438\u043F\u043A\u0438\u0439","\u0421\u043B\u043E\u0432\u0430",\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438 \u043E\u0442 1 \u0441\u043B\u043E\u0432!
\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u0441\u043B\u043E\u0432\u0430: 0 \u5230 2,"\u533F\u540D","\u6F5C\u6C34","\u5192\u6CE1","\u5410\u69FD","\u6D3B\u8DC3","\u8BDD\u75E8","\u4F20\u8BF4","\u8868\u60C5\u5305","\u641C\u7D22\u8868\u60C5\u5305","\u4E2A\u4EBA\u8D44\u6599","\u901A\u8FC7","\u5F85\u5BA1\u6838","\u5783\u573E","\u53D6\u6D88\u7F6E\u9876","\u6309\u5012\u5E8F","\u6309\u6B63\u5E8F","\u6309\u70ED\u5EA6","\u4F60\u8BA4\u4E3A\u8FD9\u7BC7\u6587\u7AE0\u600E\u4E48\u6837\uFF1F"]),ts=rn(["\u66B1\u7A31","\u66B1\u7A31\u4E0D\u80FD\u5C11\u65BC3\u500B\u5B57\u5143","\u90F5\u7BB1","\u8ACB\u586B\u5BEB\u6B63\u78BA\u7684\u90F5\u4EF6\u5730\u5740","\u7DB2\u5740","\u53EF\u9078","\u6B61\u8FCE\u7559\u8A00","\u4F86\u767C\u7559\u8A00\u5427~","\u9001\u51FA","\u559C\u6B61","\u53D6\u6D88\u559C\u6B61","\u56DE\u8986","\u53D6\u6D88\u56DE\u8986","\u7559\u8A00","\u91CD\u6574","\u8F09\u5165\u66F4\u591A...","\u9810\u89BD","\u8868\u60C5","\u4E0A\u50B3\u5716\u7247","\u79D2\u524D","\u5206\u9418\u524D","\u5C0F\u6642\u524D","\u5929\u524D","\u525B\u525B","\u6B63\u5728\u4E0A\u50B3","\u767B\u5165","\u767B\u51FA","\u7BA1\u7406\u8005","\u7F6E\u9802","\u5B57",\u7559\u8A00\u5B57\u6578\u61C9\u5728 1 \u5B57\u4E4B\u9593\uFF01
\u76EE\u524D\u5B57\u6578\uFF1A2`,"\u533F\u540D","\u6F5B\u6C34","\u5192\u6CE1","\u5410\u69FD","\u6D3B\u8E8D","\u591A\u8A71","\u50B3\u8AAA","\u8868\u60C5\u5305","\u641C\u5C0B\u8868\u60C5\u5305","\u500B\u4EBA\u8CC7\u6599","\u901A\u904E","\u5F85\u5BE9\u6838","\u5783\u573E","\u53D6\u6D88\u7F6E\u9802","\u6700\u65E9","\u6700\u65B0","\u71B1\u9580","\u4F60\u8A8D\u70BA\u9019\u7BC7\u6587\u7AE0\u600E\u9EBC\u6A23\uFF1F"]),Fo={zh:qo,"zh-cn":qo,"zh-CN":qo,"zh-tw":ts,"zh-TW":ts,en:Ho,"en-US":Ho,"en-us":Ho,jp:Fn,ja:Fn,"jp-jp":Fn,"jp-JP":Fn,"pt-br":es,"pt-BR":es,ru:Uo,"ru-ru":Uo,"ru-RU":Uo},fl={"Content-Type":"application/json"},Yo=(e,t="")=>{if(typeof e=="object"&&e.errno)throw new TypeError(`{t} failed with {e.errmsg});return e},gl=({serverURL:e,lang:t,paths:n,type:o,signal:r})=>GM_fetch({encodeURIComponent(n.join(”,”))}&type={encodeURIComponent(o.join(","))}&lang={t},{signal:r}).then(l=>l.json()),er=({serverURL:e,lang:t,path:n,type:o,action:r})=>GM_fetch({t},{method:"POST",headers:fl,body:JSON.stringify({path:n,type:o,action:r})}).then(l=>l.json()),to=({serverURL:e,lang:t,token:n,objectId:o,comment:r})=>GM_fetch({o}?lang={t}`,{method:"PUT",headers:{...fl,Authorization:`Bearer {n}},body:JSON.stringify(r)}).then(l=>l.json()).then(l=>Yo(l,"Update comment")),ml=e=>{try{e=decodeURI(e)}catch{}return e},yl=(e="")=>e.replace(/\/$/u,""),vl=e=>/^(https?:)?\/\//.test(e),io=e=>{let t=yl(e);return vl(t)?t:https://{t}`},Ki=e=>Array.isArray(e)?e:!!e&&[0,e],Do=(e,t)=>typeof e=="function"?e:e!==!1&&t,Go="{--waline-white:#000;--waline-light-grey:#666;--waline-dark-grey:#999;--waline-color:#888;--waline-bgcolor:#1e1e1e;--waline-bgcolor-light:#272727;--waline-bgcolor-hover: #444;--waline-border-color:#333;--waline-disable-bgcolor:#444;--waline-disable-color:#272727;--waline-bq-color:#272727;--waline-info-bgcolor:#272727;--waline-info-color:#666}",Vo=(e,t)=>{let n=e.toString();for(;n.length<t;)n="0"+n;return n},Xi=(e,t,n)=>{if(!e)return"";let o=typeof e=="string"?new Date(e.indexOf(" ")!==-1?e.replace(/-/g,"/"):e):e,r=t.getTime()-o.getTime(),l=Math.floor(r/864e5);if(l===0){let i=r%864e5,s=Math.floor(i/36e5);if(s===0){let a=i%36e5,c=Math.floor(a/6e4);if(c===0){let u=a%6e4;return`{Math.round(u/1e3)} {n.seconds}`}return`{c} {n.minutes}`}return`{s} {n.hours}`}return l<0?n.now:l<8?`{l} {n.days}`:(i=>{let s=Vo(i.getDate(),2),a=Vo(i.getMonth()+1,2);return`{Vo(i.getFullYear(),2)}-{s}})(o)},Qi=/^[a-zA-Z0-9.!#$%&'*+/=?^_{|}~-]+@a-zA-Z0-9?(?:.a-zA-Z0-9?)/;function mr(e,t){let n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}var ve={},Jt=[],Ut=()=>{},Yi=()=>!1,ea=/^on[^a-z]/,Co=e=>ea.test(e),yr=e=>e.startsWith("onUpdate:"),je=Object.assign,bl=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},ta=Object.prototype.hasOwnProperty,se=(e,t)=>ta.call(e,t),Q=Array.isArray,Zt=e=>zn(e)==="[object Map]",sn=e=>zn(e)==="[object Set]",ns=e=>zn(e)==="[object Date]",fe=e=>typeof e=="function",Re=e=>typeof e=="string",bn=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",wl=e=>we(e)&&fe(e.then)&&fe(e.catch),xl=Object.prototype.toString,zn=e=>xl.call(e),na=e=>zn(e).slice(8,-1),kl=e=>zn(e)==="[object Object]",vr=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,no=mr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),o=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},oa=/-(\w)/g,pt=o(e=>e.replace(ra,“-o(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wo={So(e)}:""),wn=(e,t)=>!Object.is(e,t),oo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ao=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},co=e=>{let t=parseFloat(e);return isNaN(t)?e:t},os,tr=()=>os||(os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xn(e){if(Q(e)){let t={};for(let n=0;n<e.length;n++){let o=e[n],r=Re(o)?aa(o):xn(o);if(r)for(let l in r)t[l]=r[l]}return t}return Re(e)||we(e)?e:void 0}var sa=/;(?![^(]*\))/g,la=/:([^]+)/,ia=new RegExp("\\/\\*.*?\\*\\/","gs");function aa(e){let t={};return e.replace(ia,"").split(sa).forEach(n=>{if(n){let o=n.split(la);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Se(e){let t="";if(Re(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){let o=Se(e[n]);o&&(t+=o+" ")}else if(we(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}var ca=mr("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function rs(e){return!!e||e===""}function Ft(e,t){if(e===t)return!0;let n=ns(e),o=ns(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=bn(e),o=bn(t),n||o)return e===t;if(n=Q(e),o=Q(t),n||o)return!(!n||!o)&&function(r,l){if(r.length!==l.length)return!1;let i=!0;for(let s=0;i&&s<r.length;s++)i=Ft(r[s],l[s]);return i}(e,t);if(n=we(e),o=we(t),n||o){if(!n||!o||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let l=e.hasOwnProperty(r),i=t.hasOwnProperty(r);if(l&&!i||!l&&i||!Ft(e[r],t[r]))return!1}}return String(e)===String(t)}function br(e,t){return e.findIndex(n=>Ft(n,t))}var le=e=>Re(e)?e:e==null?"":Q(e)||we(e)&&(e.toString===xl||!fe(e.toString))?JSON.stringify(e,_l,2):String(e),_l=(e,t)=>t&&t.__v_isRef?_l(e,t.value):Zt(t)?{[Map({o} =>]=r,n),{})}:sn(t)?{[Set({t.size})`]:[...t.values()]}:!we(t)||Q(t)||kl(t)?t:String(t),We,nr=class{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=We,!t&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){let n=We;try{return We=this,t()}finally{We=n}}}on(){We=this}off(){We=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){let r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}};function Cl(){return We}var wr=e=>{let t=new Set(e);return t.w=0,t.n=0,t},l=e=>(e.w&It)>0,Sl=e=>(e.n&It)>0,or=new WeakMap,dn=0,It=1,rr=30,tt,qt=Symbol(""),sr=Symbol(""),kn=class{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,function(r,l=We){l&&l.active&&l.effects.push(r)}(this,o)}run(){if(!this.active)return this.fn();let t=tt,n=Rt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=tt,tt=this,Rt=!0,It=1<<++dn,dn<=rr?(({deps:o})=>{if(o.length)for(let r=0;r<o.length;r++)o[r].w|=It})(this):ss(this),this.fn()}finally{dn<=rr&&(o=>{let{deps:r}=o;if(r.length){let l=0;for(let i=0;i<r.length;i++){let s=r[i];l(s)&&!Sl(s)?s.delete(o):r[l++]=s,s.w&=~It,s.n&=~It}r.length=l}})(this),It=1<<--dn,tt=this.parent,Rt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){tt===this?this.deferStop=!0:this.active&&(ss(this),this.onStop&&this.onStop(),this.active=!1)}};function ss(e){let{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var Rt=!0,El=[];function _n(){El.push(Rt),Rt=!1}function Cn(){let e=El.pop();Rt=e===void 0||e}function Ge(e,t,n){if(Rt&&tt){let o=or.get(e);o||or.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=wr()),Tl(r)}}function Tl(e,t){let n=!1;dn<=rr?Sl(e)||(e.n|=It,n=!l(e)):n=!e.has(tt),n&&(e.add(tt),tt.deps.push(e))}function xt(e,t,n,o,r,l){let i=or.get(e);if(!i)return;let s=[];if(t===“clear”)s=[…i.values()];else if(n===“length”&&Q(e)){let a=Number(o);i.forEach((c,u)=>{(u===“length”||u>=a)&&s.push(c)})}else switch(n!==void 0&&s.push(i.get(n)),t){case”add”:Q(e)?vr(n)&&s.push(i.get(“length”)):(s.push(i.get(qt)),Zt(e)&&s.push(i.get(sr)));break;case”delete”:Q(e)||(s.push(i.get(qt)),Zt(e)&&s.push(i.get(sr)));break;case”set”:Zt(e)&&s.push(i.get(qt))}if(s.length===1)s[0]&&lr(s[0]);else{let a=[];for(let c of s)c&&a.push(…c);lr(wr(a))}}function lr(e,t){let n=Q(e)?e:[…e];for(let o of n)o.computed&&ls(o);for(let o of n)o.computed||ls(o)}function ls(e,t){(e!==tt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var ua=mr(“proto,__v_isRef,__isVue”),Il=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==“arguments”&&e!==“caller”).map(e=>Symbol[e]).filter(bn)),pa=xr(),da=xr(!1,!0),ha=xr(!0),is=fa();function fa(){let e={};return[“includes”,“indexOf”,“lastIndexOf”].forEach(t=>{e[t]=function(…n){let o=ie(this);for(let l=0,i=this.length;l<i;l++)Ge(o,0,l+"");let r=ot;return r===-1||r===!1?ot:r}}),[“push”,“pop”,“shift”,“unshift”,“splice”].forEach(t=>{e[t]=function(…n){_n();let o=ie(this)[t].apply(this,n);return Cn(),o}}),e}function ga(e){let t=ie(this);return Ge(t,0,e),t.hasOwnProperty(e)}function xr(e=!1,t=!1){return function(n,o,r){if(o===“__v_isReactive”)return!e;if(o===“__v_isReadonly”)return e;if(o===“__v_isShallow”)return t;if(o===“__v_raw”&&r===(e?t?Sa:Ml:t?Ol:Al).get(n))return n;let l=Q(n);if(!e){if(l&&se(is,o))return Reflect.get(is,o,r);if(o===“hasOwnProperty”)return ga}let i=Reflect.get(n,o,r);return(bn(o)?Il.has(o):ua(o))?i:(e||Ge(n,0,o),t?i:Le(i)?l&&vr(o)?i:i.value:we(i)?e?jn(i):n(i):i)}}function Ll(e=!1){return function(t,n,o,r){let l=t[n];if(en(l)&&Le(l)&&!Le(o))return!1;if(!e&&(uo(o)||en(o)||(l=ie(l),o=ie(o)),!Q(t)&&Le(l)&&!Le(o)))return l.value=o,!0;let i=Q(t)&&vr(n)?Number(n)<t.length:se(t,n),s=Reflect.set(t,n,o,r);return t===ie(r)&&(i?wn(o,l)&&xt(t,"set",n,o):xt(t,"add",n,o)),s}}var Rl={get:pa,set:Ll(),deleteProperty:function(e,t){let n=se(e,t),o=Reflect.deleteProperty(e,t);return o&&n&&xt(e,"delete",t,void 0),o},has:function(e,t){let n=Reflect.has(e,t);return bn(t)&&Il.has(t)||Ge(e,0,t),n},ownKeys:function(e){return Ge(e,0,Q(e)?"length":qt),Reflect.ownKeys(e)}},ma={get:ha,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},ya=je({},Rl,{get:da,set:Ll(!0)}),kr=e=>e,Eo=e=>Reflect.getPrototypeOf(e);function Dn(e,t,n=!1,o=!1){let r=ie(e=e.__v_raw),l=ie(t);n||(t!==l&&Ge(r,0,t),Ge(r,0,l));let{has:i}=Eo(r),s=o?kr:n?r:Sn;return i.call(r,t)?s(e.get(t)):i.call(r,l)?s(e.get(l)):void(e!==r&&e.get(t))}function Gn(e,t=!1){let n=this.__v_raw,o=ie(n),r=ie(e);return t||(e!==r&&Ge(o,0,e),Ge(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function Vn(e,t=!1){return e=e.__v_raw,!t&&Ge(ie(e),0,qt),Reflect.get(e,“size”,e)}function as(e){e=ie(e);let t=ie(this);return Eo(t).has.call(t,e)||(t.add(e),xt(t,“add”,e,e)),this}function cs(e,t){t=ie(t);let n=ie(this),{has:o,get:r}=Eo(n),l=o.call(n,e);l||(e=ie(e),l=o.call(n,e));let i=r.call(n,e);return n.set(e,t),l?wn(t,i)&&xt(n,“set”,e,t):xt(n,“add”,e,t),this}function us(e){let t=ie(this),{has:n,get:o}=Eo(t),r=n.call(t,e);r||(e=ie(e),r=n.call(t,e)),o&&o.call(t,e);let l=t.delete(e);return r&&xt(t,“delete”,e,void 0),l}function ps(){let e=ie(this),t=e.size!==0,n=e.clear();return t&&xt(e,“clear”,void 0,void 0),n}function Wn(e,t){return function(n,o){let r=this,l=r.__v_raw,i=ie(l),s=t?kr:e?r:Sn;return!e&&Ge(i,0,qt),l.forEach((a,c)=>n.call(o,s(a),s(c),r))}}function Jn(e,t,n){return function(...o){let r=this.__v_raw,l=ie(r),i=Zt(l),s=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...o),u=n?kr:t?r:Sn;return!t&&Ge(l,0,a?sr:qt),{next(){let{value:p,done:h}=c.next();return h?{value:p,done:h}:{value:s?[u(p[0]),u(p[1])]:u(p),done:h}},Symbol.iterator{return this}}}}function St(e){return function(…t){return e!==“delete”&&this}}function va(){let e={get(r){return Dn(this,r)},get size(){return Vn(this)},has:Gn,add:as,set:cs,delete:us,clear:ps,forEach:Wn(!1,!1)},t={get(r){return Dn(this,r,!1,!0)},get size(){return Vn(this)},has:Gn,add:as,set:cs,delete:us,clear:ps,forEach:Wn(!1,!0)},n={get(r){return Dn(this,r,!0)},get size(){return Vn(this,!0)},has(r){return Gn.call(this,r,!0)},add:St(“add”),set:St(“set”),delete:St(“delete”),clear:St(“clear”),forEach:Wn(!0,!1)},o={get(r){return Dn(this,r,!0,!0)},get size(){return Vn(this,!0)},has(r){return Gn.call(this,r,!0)},add:St(“add”),set:St(“set”),delete:St(“delete”),clear:St(“clear”),forEach:Wn(!0,!0)};return[“keys”,“values”,“entries”,Symbol.iterator].forEach(r=>{e[r]=Jn(r,!1,!1),n[r]=Jn(r,!0,!1),t[r]=Jn(r,!1,!0),o[r]=Jn(r,!0,!0)}),[e,n,t,o]}var[ba,wa,xa,ka]=va();function _r(e,t){let n=t?e?ka:xa:e?wa:ba;return(o,r,l)=>r===“__v_isReactive”?!e:r===“__v_isReadonly”?e:r===“__v_raw”?o:Reflect.get(se(n,r)&&r in o?n:o,r,l)}var _a={get:_r(!1,!1)},Ca={get:_r(!1,!0)},n(e){return en(e)?e:Cr(e,!1,Rl,_a,Al)}function jn(e){return Cr(e,!0,ma,a,Ml)}function Cr(e,t,n,o,r){if(!we(e)||e.__v_raw&&(!t||!e.__v_isReactive))return e;let l=r.get(e);if(l)return l;let i=(s=e).__v_skip||!Object.isExtensible(s)?0:function(c){switch(c){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(na(s));var s;if(i===0)return e;let a=new Proxy(e,i===2?o:n);return r.set(e,a),a}function Kt(e){return en(e)?Kt(e.__v_raw):!(!e||!e.__v_isReactive)}function en(e){return!(!e||!e.__v_isReadonly)}function uo(e){return!(!e||!e.__v_isShallow)}function ds(e){return Kt(e)||en(e)}function ie(e){let t=e&&e.__v_raw;return t?ie(t):e}function zl(e){return ao(e,"__v_skip",!0),e}var Sn=e=>we(e)?n(e):e,r=e=>we(e)?jn(e):e;function jl(e){Rt&&tt&&Tl((e=ie(e)).dep||(e.dep=wr()))}function Bl(e,t){let n=(e=ie(e)).dep;n&&lr(n)}function Le(e){return!(!e||e.__v_isRef!==!0)}function te(e){return Nl(e,!1)}function Ea(e){return Nl(e,!0)}function Nl(e,t){return Le(e)?e:new ir(e,t)}var ir=class{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ie(t),this._value=n?t:Sn(t)}get value(){return jl(this),this._value}set value(t){let n=this.__v_isShallow||uo(t)||en(t);t=n?t:ie(t),wn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Sn(t),Bl(this))}};function ne(e){return Le(e)?e.value:e}var Ta={get:(e,t,n)=>ne(Reflect.get(e,t,n)),set:(e,t,n,o)=>{let r=e[t];return Le(r)&&!Le(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Pl(e){return Kt(e)?e:new Proxy(e,Ta)}var ar=class{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new kn(t,()=>{this._dirty||(this._dirty=!0,Bl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){let t=ie(this);return jl(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}};function At(e,t,n,o){let r;try{r=o?e(...o):e()}catch(l){To(l,t,n)}return r}function ut(e,t,n,o){if(fe(e)){let l=At(e,t,n,o);return l&&wl(l)&&l.catch(i=>{To(i,t,n)}),l}let r=[];for(let l=0;l<e.length;l++)r.push(ut(e[l],t,n,o));return r}function To(e,t,n,o=!0){if(t&&t.vnode,t){let r=t.parent,l=t.proxy,i=n;for(;r;){let a=r.ec;if(a){for(let c=0;c<a.length;c++)if(a[c](e,l,i)===!1)return}r=r.parent}let s=t.appContext.config.errorHandler;if(s)return void At(s,null,10,[e,l,i])}(function(r,l,i,s=!0){console.error(r)})(e,0,0,o)}var En=!1,cr=!1,ze=[],ct=0,Xt=[],mt=null,Nt=0,Hl=Promise.resolve(),Sr=null;function Io(e){let t=Sr||Hl;return e?t.then(this?e.bind(this):e):t}function Er(e){ze.length&&ze.includes(e,En&&e.allowRecurse?ct+1:ct)||(e.id==null?ze.push(e):ze.splice(function(t){let n=ct+1,o=ze.length;for(;n<o;){let r=n+o>>>1;Tn(ze[r])<t?n=r+1:o=r}return n}(e.id),0,e),Ul())}function Ul(){En||cr||(cr=!0,Sr=Hl.then(Fl))}function hs(e,t=En?ct+1:0){for(;t<ze.length;t++){let n=ze[t];n&&n.pre&&(ze.splice(t,1),t--,n())}}function ql(e){if(Xt.length){let t=[...new Set(Xt)];if(Xt.length=0,mt)return void mt.push(...t);for(mt=t,mt.sort((n,o)=>Tn(n)-Tn(o)),Nt=0;Nt<mt.length;Nt++)mt[Nt]();mt=null,Nt=0}}var Tn=e=>e.id==null?1/0:e.id,Ia=(e,t)=>{let n=Tn(e)-Tn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fl(e){cr=!1,En=!0,ze.sort(Ia);try{for(ct=0;ct<ze.length;ct++){let t=ze[ct];t&&t.active!==!1&&At(t,null,14)}}finally{ct=0,ze.length=0,ql(),En=!1,Sr=null,(ze.length||Xt.length)&&Fl()}}function La(e,t,...n){if(e.isUnmounted)return;let o=e.vnode.props||ve,r=n,l=t.startsWith("update:"),i=l&&t.slice(7);if(i&&i in o){let u=`{i===“modelValue”?“model”:i}Modifiers,{number:p,trim:h}=o[u]||ve;h&&(r=n.map(y=>Re(y)?y.trim():y)),p&&(r=n.map(co))}let s,a=o[s=Wo(t)]||o[s=Wo(pt(t))];!a&&l&&(a=o[s=Wo(ln(t))]),a&&ut(a,e,6,r);let c=o[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,ut(c,e,6,r)}}function Ra(e,t,n=!1){let o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;let l=e.emits,i={};return l?(Q(l)?l.forEach(s=>i[s]=null):je(i,l),we(e)&&o.set(e,i),i):(we(e)&&o.set(e,null),null)}function po(e,t){return!(!e||!Co(t))&&(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,ln(t))||se(e,t))}var Je=null,Dl=null;function ho(e){let t=Je;return Je=e,Dl=e&&e.type.__scopeId||null,t}function Jo(e){let{type:t,vnode:n,proxy:o,withProxy:r,props:l,propsOptions:[i],slots:s,attrs:a,emit:c,render:u,renderCache:p,data:h,setupState:y,ctx:b,inheritAttrs:m}=e,f,v,w=ho(e);try{if(4&n.shapeFlag){let L=r||o;f=at(u.call(L,L,p,l,y,h,b)),v=a}else{let L=t;f=at(L.length>1?L(l,{attrs:a,slots:s,emit:c}):L(l,null)),v=t.props?a:Aa(a)}}catch(L){gn.length=0,To(L,e,1),f=he(Dt)}let T=f;if(v&&m!==!1){let L=Object.keys(v),{shapeFlag:M}=T;L.length&&7&M&&(i&&L.some(yr)&&(v=Oa(v,i)),T=tn(T,v))}return n.dirs&&(T=tn(T),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&(T.transition=n.transition),f=T,ho(w),f}var Aa=e=>{let t;for(let n in e)(n==="class"||n==="style"||Co(n))&&((t||(t={}))[n]=e[n]);return t},Oa=(e,t)=>{let n={};for(let o in e)yr(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function fs(e,t,n){let o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){let l=o[r];if(t[l]!==e[l]&&!po(n,l))return!0}return!1}function gs(e,t){return Gl(e,null,t)}var Zn={};function Qe(e,t,n){return Gl(e,t,n)}function Gl(e,t,{immediate:n,deep:o,flush:r,onTrack:l,onTrigger:i}=ve){var s;let a=Cl()===((s=qe)==null?void 0:s.scope)?qe:null,c,u,p=!1,h=!1;if(Le(e)?(c=()=>e.value,p=uo(e)):Kt(e)?(c=()=>e,o=!0):Q(e)?(h=!0,p=e.some(L=>Kt(L)||uo(L)),c=()=>e.map(L=>Le(L)?L.value:Kt(L)?Ht(L):fe(L)?At(L,a,2):void 0)):c=fe(e)?t?()=>At(e,a,2):()=>{if(!a||!a.isUnmounted)return u&&u(),ut(e,a,3,[b])}:Ut,t&&o){let L=c;c=()=>Ht(L())}let y,b=L=>{u=w.onStop=()=>{At(L,a,4)}};if(Ln){if(b=Ut,t?n&&ut(t,a,3,[c(),h?[]:void 0,b]):c(),r!=="sync")return Ut;{let L=Xa();y=L.__watcherHandles||(L.__watcherHandles=[])}}let m=h?new Array(e.length).fill(Zn):Zn,f=()=>{if(w.active)if(t){let L=w.run();(o||p||(h?L.some((M,q)=>wn(M,m[q])):wn(L,m)))&&(u&&u(),ut(t,a,3,[L,m===Zn?void 0:h&&m[0]===Zn?[]:m,b]),m=L)}else w.run()},v;f.allowRecurse=!!t,r==="sync"?v=f:r==="post"?v=()=>De(f,a&&a.suspense):(f.pre=!0,a&&(f.id=a.uid),v=()=>Er(f));let w=new kn(c,v);t?n?f():m=w.run():r==="post"?De(w.run.bind(w),a&&a.suspense):w.run();let T=()=>{w.stop(),a&&a.scope&&bl(a.scope.effects,w)};return y&&y.push(T),T}function Ht(e,t){if(!we(e)||e.__v_skip||(t=t||new Set).has(e))return e;if(t.add(e),Le(e))Ht(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)Ht(e[n],t);else if(sn(e)||Zt(e))e.forEach(n=>{Ht(n,t)});else if(kl(e))for(let n in e)Ht(e[n],t);return e}function Kn(e,t){let n=Je;if(n===null)return e;let o=Mo(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let l=0;l<t.length;l++){let[i,s,a,c=ve]=t[l];i&&(fe(i)&&(i={mounted:i,updated:i}),i.deep&&Ht(s),r.push({dir:i,instance:o,value:s,oldValue:void 0,arg:a,modifiers:c}))}return e}function jt(e,t,n,o){let r=e.dirs,l=t&&t.dirs;for(let i=0;i<r.length;i++){let s=r[i];l&&(s.oldValue=l[i].value);let a=s.dir[o];a&&(_n(),ut(a,n,8,[e.el,s,e,t]),Cn())}}function Bn(e,t){return fe(e)?(()=>je({name:e.name},t,{setup:e}))():e}var ro=e=>!!e.type.__asyncLoader,Ma=e=>e.type.__isKeepAlive,Tr=e=>(t,n=qe)=>(!Ln||e==="sp")&&function(o,r,l=qe,i=!1){if(l){let s=l[o]||(l[o]=[]),a=r.__weh||(r.__weh=(...c)=>{if(l.isUnmounted)return;_n(),Ar(l);let u=ut(r,l,o,c);return mn(),Cn(),u});return i?s.unshift(a):s.push(a),a}}(e,(...o)=>t(...o),n),Nn=Tr("m"),za=Tr("bum"),Lo=Tr("um"),ms="components";function ja(e,t){return function(n,o,r=!0,l=!1){let i=Je||qe;if(i){let s=i.type;if(n===ms){let c=function(u,p=!0){return fe(u)?u.displayName||u.name:u.name||p&&u.__name}(s,!1);if(c&&(c===o||c===pt(o)||c===So(pt(o))))return s}let a=ys(i[n]||s[n],o)||ys(i.appContext[n],o);return!a&&l?s:a}}(ms,e,!0,t)||e}var Ba=Symbol.for("v-ndc");function ys(e,t){return e&&(e[t]||e[pt(t)]||e[So(pt(t))])}function nt(e,t,n,o){let r,l=n&&n[o];if(Q(e)||Re(e)){r=new Array(e.length);for(let i=0,s=e.length;i<s;i++)r[i]=t(e[i],i,void 0,l&&l[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,l&&l[i])}else if(we(e))if(e[Symbol.iterator])r=Array.from(e,(i,s)=>t(i,s,void 0,l&&l[s]));else{let i=Object.keys(e);r=new Array(i.length);for(let s=0,a=i.length;s<a;s++){let c=i[s];r[s]=t(e[c],c,s,l&&l[s])}}else r=[];return n&&(n[o]=r),r}var ur=e=>e?ti(e)?Mo(e)||e.proxy:ur(e.parent):null,fn=je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ur(e.parent),$root:e=>ur(e.root),$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>e.f||(e.f=()=>Er(e.update)),$nextTick:e=>e.n||(e.n=Io.bind(e.proxy)),$watch:e=>Ut}),Zo=(e,t)=>e!==ve&&!e.__isScriptSetup&&se(e,t),Na={get({_:e},t){let{ctx:n,setupState:o,data:r,props:l,accessCache:i,type:s,appContext:a}=e,c;if(t[0]!=="$"){let y=i[t];if(y!==void 0)switch(y){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return l[t]}else{if(Zo(o,t))return i[t]=1,o[t];if(r!==ve&&se(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&se(c,t))return i[t]=3,l[t];if(n!==ve&&se(n,t))return i[t]=4,n[t];i[t]=0}}let u=fn[t],p,h;return u?(t==="$attrs"&&Ge(e,0,t),u(e)):(p=s.__cssModules)&&(p=p[t])?p:n!==ve&&se(n,t)?(i[t]=4,n[t]):(h=a.config.globalProperties,se(h,t)?h[t]:void 0)},set({_:e},t,n){let{data:o,setupState:r,ctx:l}=e;return Zo(r,t)?(r[t]=n,!0):o!==ve&&se(o,t)?(o[t]=n,!0):!se(e.props,t)&&(t[0]!=="$"||!(t.slice(1)in e))&&(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:l}},i){let s;return!!n[i]||e!==ve&&se(e,i)||Zo(t,i)||(s=l[0])&&se(s,i)||se(o,i)||se(fn,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vs(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function fo(e,t,n,o=!1){let{mixins:r,extends:l}=t;l&&fo(e,l,n,!0),r&&r.forEach(i=>fo(e,i,n,!0));for(let i in t)if(!(o&&i==="expose")){let s=Pa[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}var Pa={data:bs,props:xs,emits:xs,methods:cn,computed:cn,beforeCreate:Ue,created:Ue,beforeMount:Ue,mounted:Ue,beforeUpdate:Ue,updated:Ue,beforeDestroy:Ue,beforeUnmount:Ue,destroyed:Ue,unmounted:Ue,activated:Ue,deactivated:Ue,errorCaptured:Ue,serverPrefetch:Ue,components:cn,directives:cn,watch:function(e,t){if(!e)return t;if(!t)return e;let n=je(Object.create(null),e);for(let o in t)n[o]=Ue(e[o],t[o]);return n},provide:bs,inject:function(e,t){return cn(ws(e),ws(t))}};function bs(e,t){return t?e?function(){return je(fe(e)?e.call(this,this):e,fe(t)?t.call(this,this):t)}:t:e}function ws(e){if(Q(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ue(e,t){return e?[...new Set([].concat(e,t))]:t}function cn(e,t){return e?je(Object.create(null),e,t):t}function xs(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:je(Object.create(null),vs(e),vs(t??{})):t}function Vl(){return{app:null,config:{isNativeTag:Yi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Ha=0;function Ua(e,t){return function(n,o=null){fe(n)||(n=je({},n)),o==null||we(o)||(o=null);let r=Vl(),l=new Set,i=!1,s=r.app={_uid:Ha++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Qa,get config(){return r.config},set config(a){},use:(a,...c)=>(l.has(a)||(a&&fe(a.install)?(l.add(a),a.install(s,...c)):fe(a)&&(l.add(a),a(s,...c))),s),mixin:a=>s,component:(a,c)=>c?(r.components[a]=c,s):r.components[a],directive:(a,c)=>c?(r.directives[a]=c,s):r.directives[a],mount(a,c,u){if(!i){let p=he(n,o);return p.appContext=r,c&&t?t(p,a):e(p,a,u),i=!0,s._container=a,a.__vue_app__=s,Mo(p.component)||p.component.proxy}},unmount(){i&&(e(null,s._container),delete s._container.__vue_app__)},provide:(a,c)=>(r.provides[a]=c,s),runWithContext(a){go=s;try{return a()}finally{go=null}}};return s}}var go=null;function Ro(e,t,n=!1){let o=qe||Je;if(o||go){let r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:go._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&fe(t)?t.call(o&&o.proxy):t}}function qa(e,t,n,o=!1){let r={},l={};ao(l,Oo,1),e.propsDefaults=Object.create(null),Wl(e,t,r,l);for(let i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:Cr(r,!1,ya,Ca,Ol):e.type.props?e.props=r:e.props=l,e.attrs=l}function Wl(e,t,n,o){let[r,l]=e.propsOptions,i,s=!1;if(t)for(let a in t){if(no(a))continue;let c=t[a],u;r&&se(r,u=pt(a))?l&&l.includes(u)?(i||(i={}))[u]=c:n[u]=c:po(e.emitsOptions,a)||a in o&&c===o[a]||(o[a]=c,s=!0)}if(l){let a=ie(n),c=i||ve;for(let u=0;u<l.length;u++){let p=l[u];n[p]=pr(r,a,p,c[p],e,!se(c,p))}}return s}function pr(e,t,n,o,r,l){let i=e[n];if(i!=null){let s=se(i,"default");if(s&&o===void 0){let a=i.default;if(i.type!==Function&&!i.skipFactory&&fe(a)){let{propsDefaults:c}=r;n in c?o=c[n]:(Ar(r),o=c[n]=a.call(null,t),mn())}else o=a}i[0]&&(l&&!s?o=!1:!i[1]||o!==""&&o!==ln(n)||(o=!0))}return o}function Fa(e,t,n=!1){let o=t.propsCache,r=o.get(e);if(r)return r;let l=e.props,i={},s=[];if(!l)return we(e)&&o.set(e,Jt),Jt;if(Q(l))for(let c=0;c<l.length;c++){let u=pt(l[c]);ks(u)&&(i[u]=ve)}else if(l)for(let c in l){let u=pt(c);if(ks(u)){let p=l[c],h=i[u]=Q(p)||fe(p)?{type:p}:je({},p);if(h){let y=$s(Boolean,h.type),b=$s(String,h.type);h[0]=y>-1,h[1]=b<0||y<b,(y>-1||se(h,"default"))&&s.push(u)}}}let a=[i,s];return we(e)&&o.set(e,a),a}function ks(e){return e[0]!=="$"}function _s(e){let t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Cs(e,t){return _s(e)===_s(t)}function $s(e,t){return Q(t)?t.findIndex(n=>Cs(n,e)):fe(t)&&Cs(t,e)?0:-1}var Jl=e=>e[0]==="_"||e==="$stable",Ir=e=>Q(e)?e.map(at):[at(e)],Da=(e,t,n)=>{if(t._n)return t;let o=function(r,l=Je,i){if(!l||r._n)return r;let s=(...a)=>{s._d&&Ss(-1);let c=ho(l),u;try{u=r(...a)}finally{ho(c),s._d&&Ss(1)}return u};return s._n=!0,s._c=!0,s._d=!0,s}((...r)=>Ir(t(...r)),n);return o._c=!1,o},Zl=(e,t,n)=>{let o=e._ctx;for(let r in e){if(Jl(r))continue;let l=e[r];if(fe(l))t[r]=Da(0,l,o);else if(l!=null){let i=Ir(l);t[r]=()=>i}}},Kl=(e,t)=>{let n=Ir(t);e.slots.default=()=>n},Ga=(e,t)=>{if(32&e.vnode.shapeFlag){let n=t._;n?(e.slots=ie(t),ao(t,"_",n)):Zl(t,e.slots={})}else e.slots={},t&&Kl(e,t);ao(e.slots,Oo,1)},Va=(e,t,n)=>{let{vnode:o,slots:r}=e,l=!0,i=ve;if(32&o.shapeFlag){let s=t._;s?n&&s===1?l=!1:(je(r,t),n||s!==1||delete r._):(l=!t.$stable,Zl(t,r)),i=t}else t&&(Kl(e,t),i={default:1});if(l)for(let s in r)Jl(s)||s in i||delete r[s]};function dr(e,t,n,o,r=!1){if(Q(e))return void e.forEach((h,y)=>dr(h,t&&(Q(t)?t[y]:t),n,o,r));if(ro(o)&&!r)return;let l=4&o.shapeFlag?Mo(o.component)||o.component.proxy:o.el,i=r?null:l,{i:s,r:a}=e,c=t&&t.r,u=s.refs===ve?s.refs={}:s.refs,p=s.setupState;if(c!=null&&c!==a&&(Re(c)?(u[c]=null,se(p,c)&&(p[c]=null)):Le(c)&&(c.value=null)),fe(a))At(a,s,12,[i,u]);else{let h=Re(a),y=Le(a);if(h||y){let b=()=>{if(e.f){let m=h?se(p,a)?p[a]:u[a]:a.value;r?Q(m)&&bl(m,l):Q(m)?m.includes(l)||m.push(l):h?(u[a]=[l],se(p,a)&&(p[a]=u[a])):(a.value=[l],e.k&&(u[e.k]=a.value))}else h?(u[a]=i,se(p,a)&&(p[a]=i)):y&&(a.value=i,e.k&&(u[e.k]=i))};i?(b.id=-1,De(b,n)):b()}}}var De=function(e,t){var n;t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):(Q(n=e)?Xt.push(...n):mt&&mt.includes(n,n.allowRecurse?Nt+1:Nt)||Xt.push(n),Ul())};function Wa(e){return function(t,n){tr().__VUE__=!0;let{insert:o,remove:r,patchProp:l,createElement:i,createText:s,createComment:a,setText:c,setElementText:u,parentNode:p,nextSibling:h,setScopeId:y=Ut,insertStaticContent:b}=t,m=(d,g,x,C=null,_=null,E=null,R=!1,I=null,S=!!g.dynamicChildren)=>{if(d===g)return;d&&!un(d,g)&&(C=et(d),Ee(d,_,E,!0),d=null),g.patchFlag===-2&&(S=!1,g.dynamicChildren=null);let{type:k,ref:O,shapeFlag:A}=g;switch(k){case Ao:f(d,g,x,C);break;case Dt:v(d,g,x,C);break;case Ko:d==null&&w(g,x,C,R);break;case be:J(d,g,x,C,_,E,R,I,S);break;default:1&A?M(d,g,x,C,_,E,R,I,S):6&A?K(d,g,x,C,_,E,R,I,S):(64&A||128&A)&&k.process(d,g,x,C,_,E,R,I,S,st)}O!=null&&_&&dr(O,d&&d.ref,E,g||d,!g)},f=(d,g,x,C)=>{if(d==null)o(g.el=s(g.children),x,C);else{let _=g.el=d.el;g.children!==d.children&&c(_,g.children)}},v=(d,g,x,C)=>{d==null?o(g.el=a(g.children||""),x,C):g.el=d.el},w=(d,g,x,C)=>{[d.el,d.anchor]=b(d.children,g,x,C,d.el,d.anchor)},T=({el:d,anchor:g},x,C)=>{let _;for(;d&&d!==g;)_=h(d),o(d,x,C),d=_;o(g,x,C)},L=({el:d,anchor:g})=>{let x;for(;d&&d!==g;)x=h(d),r(d),d=x;r(g)},M=(d,g,x,C,_,E,R,I,S)=>{R=R||g.type==="svg",d==null?q(g,x,C,_,E,R,I,S):pe(d,g,_,E,R,I,S)},q=(d,g,x,C,_,E,R,I)=>{let S,k,{type:O,props:A,shapeFlag:z,transition:j,dirs:U}=d;if(S=d.el=i(d.type,E,A&&A.is,A),8&z?u(S,d.children):16&z&&D(d.children,S,null,C,_,E&&O!=="foreignObject",R,I),U&&jt(d,null,C,"created"),V(S,d,d.scopeId,R,C),A){for(let ee in A)ee==="value"||no(ee)||l(S,ee,null,A[ee],E,d.children,C,_,$e);"value"in A&&l(S,"value",null,A.value),(k=A.onVnodeBeforeMount)&&it(k,C,d)}U&&jt(d,null,C,"beforeMount");let G=(!_||_&&!_.pendingBranch)&&j&&!j.persisted;G&&j.beforeEnter(S),o(S,g,x),((k=A&&A.onVnodeMounted)||G||U)&&De(()=>{k&&it(k,C,d),G&&j.enter(S),U&&jt(d,null,C,"mounted")},_)},V=(d,g,x,C,_)=>{if(x&&y(d,x),C)for(let E=0;E<C.length;E++)y(d,C[E]);if(_&&g===_.subTree){let E=_.vnode;V(d,E,E.scopeId,E.slotScopeIds,_.parent)}},D=(d,g,x,C,_,E,R,I,S=0)=>{for(let k=S;k<d.length;k++){let O=d[k]=I?Et(d[k]):at(d[k]);m(null,O,g,x,C,_,E,R,I)}},pe=(d,g,x,C,_,E,R)=>{let I=g.el=d.el,{patchFlag:S,dynamicChildren:k,dirs:O}=g;S|=16&d.patchFlag;let A=d.props||ve,z=g.props||ve,j;x&&Bt(x,!1),(j=z.onVnodeBeforeUpdate)&&it(j,x,g,d),O&&jt(g,d,x,"beforeUpdate"),x&&Bt(x,!0);let U=_&&g.type!=="foreignObject";if(k?Be(d.dynamicChildren,k,I,x,C,U,E):R||ke(d,g,I,null,x,C,U,E,!1),S>0){if(16&S)Ze(I,g,A,z,x,C,_);else if(2&S&&A.class!==z.class&&l(I,"class",null,z.class,_),4&S&&l(I,"style",A.style,z.style,_),8&S){let G=g.dynamicProps;for(let ee=0;ee<G.length;ee++){let ae=G[ee],Ae=A[ae],Pe=z[ae];Pe===Ae&&ae!=="value"||l(I,ae,Ae,Pe,_,d.children,x,C,$e)}}1&S&&d.children!==g.children&&u(I,g.children)}else R||k!=null||Ze(I,g,A,z,x,C,_);((j=z.onVnodeUpdated)||O)&&De(()=>{j&&it(j,x,g,d),O&&jt(g,d,x,"updated")},C)},Be=(d,g,x,C,_,E,R)=>{for(let I=0;I<g.length;I++){let S=d[I],k=g[I],O=S.el&&(S.type===be||!un(S,k)||70&S.shapeFlag)?p(S.el):x;m(S,k,O,null,C,_,E,R,!0)}},Ze=(d,g,x,C,_,E,R)=>{if(x!==C){if(x!==ve)for(let I in x)no(I)||I in C||l(d,I,x[I],null,R,g.children,_,E,$e);for(let I in C){if(no(I))continue;let S=C[I],k=x[I];S!==k&&I!=="value"&&l(d,I,k,S,R,g.children,_,E,$e)}"value"in C&&l(d,"value",x.value,C.value)}},J=(d,g,x,C,_,E,R,I,S)=>{let k=g.el=d?d.el:s(""),O=g.anchor=d?d.anchor:s(""),{patchFlag:A,dynamicChildren:z,slotScopeIds:j}=g;j&&(I=I?I.concat(j):j),d==null?(o(k,x,C),o(O,x,C),D(g.children,x,O,_,E,R,I,S)):A>0&&64&A&&z&&d.dynamicChildren?(Be(d.dynamicChildren,z,x,_,E,R,I),(g.key!=null||_&&g===_.subTree)&&Xl(d,g,!0)):ke(d,g,x,O,_,E,R,I,S)},K=(d,g,x,C,_,E,R,I,S)=>{g.slotScopeIds=I,d==null?512&g.shapeFlag?_.ctx.activate(g,x,C,R,S):Y(g,x,C,_,E,R,S):oe(d,g,S)},Y=(d,g,x,C,_,E,R)=>{let I=d.component=function(S,k,O){let A=S.type,z=(k?k.appContext:S.appContext)||Ja,j={uid:Za++,vnode:S,type:A,parent:k,appContext:z,root:null,next:null,subTree:null,effect:null,update:null,scope:new nr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:k?k.provides:Object.create(z.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fa(A,z),emitsOptions:Ra(A,z),emit:null,emitted:null,propsDefaults:ve,inheritAttrs:A.inheritAttrs,ctx:ve,data:ve,props:ve,attrs:ve,slots:ve,refs:ve,setupState:ve,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:O,suspenseId:O?O.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return j.ctx={_:j},j.root=k?k.root:j,j.emit=La.bind(null,j),S.ce&&S.ce(j),j}(d,C,_);if(Ma(d)&&(I.ctx.renderer=st),function(S,k=!1){Ln=k;let{props:O,children:A}=S.vnode,z=ti(S);qa(S,O,z,k),Ga(S,A);let j=z?function(U,G){let ee=U.type;U.accessCache=Object.create(null),U.proxy=zl(new Proxy(U.ctx,Na));let{setup:ae}=ee;if(ae){let Ae=U.setupContext=ae.length>1?function(Te){let ft=gt=>{Te.exposed=gt||{}};return{get attrs(){return function(gt){return gt.attrsProxy||(gt.attrsProxy=new Proxy(gt.attrs,{get:(xe,Oe)=>(Ge(gt,0,"$attrs"),xe[Oe])}))}(Te)},slots:Te.slots,emit:Te.emit,expose:ft}}(U):null;Ar(U),_n();let Pe=At(ae,U,0,[U.props,Ae]);if(Cn(),mn(),wl(Pe)){if(Pe.then(mn,mn),G)return Pe.then(Te=>{Is(U,Te,G)}).catch(Te=>{To(Te,U,0)});U.asyncDep=Pe}else Is(U,Pe,G)}else ni(U,G)}(S,k):void 0;Ln=!1}(I),I.asyncDep){if(_&&_.registerDep(I,de),!d.el){let S=I.subTree=he(Dt);v(null,S,g,x)}}else de(I,d,g,x,_,E,R)},oe=(d,g,x)=>{let C=g.component=d.component;if(function(_,E,R){let{props:I,children:S,component:k}=_,{props:O,children:A,patchFlag:z}=E,j=k.emitsOptions;if(E.dirs||E.transition)return!0;if(!(R&&z>=0))return!(!S&&!A||A&&A.$stable)||I!==O&&(I?!O||fs(I,O,j):!!O);if(1024&z)return!0;if(16&z)return I?fs(I,O,j):!!O;if(8&z){let U=E.dynamicProps;for(let G=0;G<U.length;G++){let ee=U[G];if(O[ee]!==I[ee]&&!po(j,ee))return!0}}return!1}(d,g,x)){if(C.asyncDep&&!C.asyncResolved)return void ye(C,g,x);C.next=g,function(_){let E=ze.indexOf(_);E>ct&&ze.splice(E,1)}(C.update),C.update()}else g.el=d.el,C.vnode=g},de=(d,g,x,C,_,E,R)=>{let I=()=>{if(d.isMounted){let O,{next:A,bu:z,u:j,parent:U,vnode:G}=d,ee=A;Bt(d,!1),A?(A.el=G.el,ye(d,A,R)):A=G,z&&oo(z),(O=A.props&&A.props.onVnodeBeforeUpdate)&&it(O,U,A,G),Bt(d,!0);let ae=Jo(d),Ae=d.subTree;d.subTree=ae,m(Ae,ae,p(Ae.el),et(Ae),d,_,E),A.el=ae.el,ee===null&&function({vnode:Pe,parent:Te},ft){for(;Te&&Te.subTree===Pe;)(Pe=Te.vnode).el=ft,Te=Te.parent}(d,ae.el),j&&De(j,_),(O=A.props&&A.props.onVnodeUpdated)&&De(()=>it(O,U,A,G),_)}else{let O,{el:A,props:z}=g,{bm:j,m:U,parent:G}=d,ee=ro(g);if(Bt(d,!1),j&&oo(j),!ee&&(O=z&&z.onVnodeBeforeMount)&&it(O,G,g),Bt(d,!0),A&&N){let ae=()=>{d.subTree=Jo(d),N(A,d.subTree,d,_,null)};ee?g.type.__asyncLoader().then(()=>!d.isUnmounted&&ae()):ae()}else{let ae=d.subTree=Jo(d);m(null,ae,x,C,d,_,E),g.el=ae.el}if(U&&De(U,_),!ee&&(O=z&&z.onVnodeMounted)){let ae=g;De(()=>it(O,G,ae),_)}(256&g.shapeFlag||G&&ro(G.vnode)&&256&G.vnode.shapeFlag)&&d.a&&De(d.a,_),d.isMounted=!0,g=x=C=null}},S=d.effect=new kn(I,()=>Er(k),d.scope),k=d.update=()=>S.run();k.id=d.uid,Bt(d,!0),k()},ye=(d,g,x)=>{g.component=d;let C=d.vnode.props;d.vnode=g,d.next=null,function(_,E,R,I){let{props:S,attrs:k,vnode:{patchFlag:O}}=_,A=ie(S),[z]=_.propsOptions,j=!1;if(!(I||O>0)||16&O){let U;Wl(_,E,S,k)&&(j=!0);for(let G in A)E&&(se(E,G)||(U=ln(G))!==G&&se(E,U))||(z?!R||R[G]===void 0&&R[U]===void 0||(S[G]=pr(z,A,G,void 0,_,!0)):delete S[G]);if(k!==A)for(let G in k)E&&se(E,G)||(delete k[G],j=!0)}else if(8&O){let U=_.vnode.dynamicProps;for(let G=0;G<U.length;G++){let ee=U[G];if(po(_.emitsOptions,ee))continue;let ae=E[ee];if(z)if(se(k,ee))ae!==k[ee]&&(k[ee]=ae,j=!0);else{let Ae=pt(ee);S[Ae]=pr(z,A,Ae,ae,_,!1)}else ae!==k[ee]&&(k[ee]=ae,j=!0)}}j&&xt(_,"set","$attrs")}(d,g.props,C,x),Va(d,g.children,x),_n(),hs(),Cn()},ke=(d,g,x,C,_,E,R,I,S=!1)=>{let k=d&&d.children,O=d?d.shapeFlag:0,A=g.children,{patchFlag:z,shapeFlag:j}=g;if(z>0){if(128&z)return void Ve(k,A,x,C,_,E,R,I,S);if(256&z)return void Fe(k,A,x,C,_,E,R,I,S)}8&j?(16&O&&$e(k,_,E),A!==k&&u(x,A)):16&O?16&j?Ve(k,A,x,C,_,E,R,I,S):$e(k,_,E,!0):(8&O&&u(x,""),16&j&&D(A,x,C,_,E,R,I,S))},Fe=(d,g,x,C,_,E,R,I,S)=>{g=g||Jt;let k=(d=d||Jt).length,O=g.length,A=Math.min(k,O),z;for(z=0;z<A;z++){let j=g[z]=S?Et(g[z]):at(g[z]);m(d[z],j,x,null,_,E,R,I,S)}k>O?$e(d,_,E,!0,!1,A):D(g,x,C,_,E,R,I,S,A)},Ve=(d,g,x,C,_,E,R,I,S)=>{let k=0,O=g.length,A=d.length-1,z=O-1;for(;k<=A&&k<=z;){let j=d[k],U=g[k]=S?Et(g[k]):at(g[k]);if(!un(j,U))break;m(j,U,x,null,_,E,R,I,S),k++}for(;k<=A&&k<=z;){let j=d[A],U=g[z]=S?Et(g[z]):at(g[z]);if(!un(j,U))break;m(j,U,x,null,_,E,R,I,S),A--,z--}if(k>A){if(k<=z){let j=z+1,U=j<O?g[j].el:C;for(;k<=z;)m(null,g[k]=S?Et(g[k]):at(g[k]),x,U,_,E,R,I,S),k++}}else if(k>z)for(;k<=A;)Ee(d[k],_,E,!0),k++;else{let j=k,U=k,G=new Map;for(k=U;k<=z;k++){let xe=g[k]=S?Et(g[k]):at(g[k]);xe.key!=null&&G.set(xe.key,k)}let ee,ae=0,Ae=z-U+1,Pe=!1,Te=0,ft=new Array(Ae);for(k=0;k<Ae;k++)ft[k]=0;for(k=j;k<=A;k++){let xe=d[k];if(ae>=Ae){Ee(xe,_,E,!0);continue}let Oe;if(xe.key!=null)Oe=G.get(xe.key);else for(ee=U;ee<=z;ee++)if(ft[ee-U]===0&&un(xe,g[ee])){Oe=ee;break}Oe===void 0?Ee(xe,_,E,!0):(ft[Oe-U]=k+1,Oe>=Te?Te=Oe:Pe=!0,m(xe,g[Oe],x,null,_,E,R,I,S),ae++)}let gt=Pe?function(xe){let Oe=xe.slice(),He=[0],Ct,Bo,Xe,$t,Hn,Mi=xe.length;for(Ct=0;Ct<Mi;Ct++){let Un=xe[Ct];if(Un!==0){if(Bo=He[He.length-1],xe[Bo]<Un){Oe[Ct]=Bo,He.push(Ct);continue}for(Xe=0,$t=He.length-1;Xe<$t;)Hn=Xe+$t>>1,xe[He[Hn]]<Un?Xe=Hn+1:$t=Hn;Un<xe[He[Xe]]&&(Xe>0&&(Oe[Ct]=He[Xe-1]),He[Xe]=Ct)}}for(Xe=He.length,$t=He[Xe-1];Xe-- >0;)He[Xe]=$t,$t=Oe[$t];return He}(ft):Jt;for(ee=gt.length-1,k=Ae-1;k>=0;k--){let xe=U+k,Oe=g[xe],He=xe+1<O?g[xe+1].el:C;ft[k]===0?m(null,Oe,x,He,_,E,R,I,S):Pe&&(ee<0||k!==gt[ee]?Ke(Oe,x,He,2):ee--)}}},Ke=(d,g,x,C,_=null)=>{let{el:E,type:R,transition:I,children:S,shapeFlag:k}=d;if(6&k)return void Ke(d.component.subTree,g,x,C);if(128&k)return void d.suspense.move(g,x,C);if(64&k)return void R.move(d,g,x,st);if(R===be){o(E,g,x);for(let O=0;O<S.length;O++)Ke(S[O],g,x,C);return void o(d.anchor,g,x)}if(R===Ko)return void T(d,g,x);if(C!==2&&1&k&&I)if(C===0)I.beforeEnter(E),o(E,g,x),De(()=>I.enter(E),_);else{let{leave:O,delayLeave:A,afterLeave:z}=I,j=()=>o(E,g,x),U=()=>{O(E,()=>{j(),z&&z()})};A?A(E,j,U):U()}else o(E,g,x)},Ee=(d,g,x,C=!1,_=!1)=>{let{type:E,props:R,ref:I,children:S,dynamicChildren:k,shapeFlag:O,patchFlag:A,dirs:z}=d;if(I!=null&&dr(I,null,x,d,!0),256&O)return void g.ctx.deactivate(d);let j=1&O&&z,U=!ro(d),G;if(U&&(G=R&&R.onVnodeBeforeUnmount)&&it(G,g,d),6&O)dt(d.component,x,C);else{if(128&O)return void d.suspense.unmount(x,C);j&&jt(d,null,g,"beforeUnmount"),64&O?d.type.remove(d,g,x,_,st,C):k&&(E!==be||A>0&&64&A)?$e(k,g,x,!1,!0):(E===be&&384&A||!_&&16&O)&&$e(S,g,x),C&&Ne(d)}(U&&(G=R&&R.onVnodeUnmounted)||j)&&De(()=>{G&&it(G,g,d),j&&jt(d,null,g,"unmounted")},x)},Ne=d=>{let{type:g,el:x,anchor:C,transition:_}=d;if(g===be)return void rt(x,C);if(g===Ko)return void L(d);let E=()=>{r(x),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(1&d.shapeFlag&&_&&!_.persisted){let{leave:R,delayLeave:I}=_,S=()=>R(x,E);I?I(d.el,E,S):S()}else E()},rt=(d,g)=>{let x;for(;d!==g;)x=h(d),r(d),d=x;r(g)},dt=(d,g,x)=>{let{bum:C,scope:_,update:E,subTree:R,um:I}=d;C&&oo(C),_.stop(),E&&(E.active=!1,Ee(R,d,g,x)),I&&De(I,g),De(()=>{d.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},$e=(d,g,x,C=!1,_=!1,E=0)=>{for(let R=E;R<d.length;R++)Ee(d[R],g,x,C,_)},et=d=>6&d.shapeFlag?et(d.component.subTree):128&d.shapeFlag?d.suspense.next():h(d.anchor||d.el),ht=(d,g,x)=>{d==null?g._vnode&&Ee(g._vnode,null,null,!0):m(g._vnode||null,d,g,null,null,null,x),hs(),ql(),g._vnode=d},st={p:m,um:Ee,m:Ke,r:Ne,mt:Y,mc:D,pc:ke,pbc:Be,n:et,o:t},P,N;return n&&([P,N]=n(st)),{render:ht,hydrate:P,createApp:Ua(ht,P)}}(e)}function Bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Xl(e,t,n=!1){let o=e.children,r=t.children;if(Q(o)&&Q(r))for(let l=0;l<o.length;l++){let i=o[l],s=r[l];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=r[l]=Et(r[l]),s.el=i.el),n||Xl(i,s)),s.type===Ao&&(s.el=i.el)}}var be=Symbol.for("v-fgt"),Ao=Symbol.for("v-txt"),Dt=Symbol.for("v-cmt"),Ko=Symbol.for("v-stc"),gn=[],ot=null;function B(e=!1){gn.push(ot=e?null:[])}var In=1;function Ss(e){In+=e}function Ql(e){return e.dynamicChildren=In>0?ot||Jt:null,gn.pop(),ot=gn[gn.length-1]||null,In>0&&ot&&ot.push(e),e}function F(e,t,n,o,r,l){return Ql(W(e,t,n,o,r,l,!0))}function kt(e,t,n,o,r){return Ql(he(e,t,n,o,r,!0))}function hr(e){return!!e&&e.__v_isVNode===!0}function un(e,t){return e.type===t.type&&e.key===t.key}var Oo="__vInternal",Yl=({key:e})=>e??null,so=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Le(e)||fe(e)?{i:Je,r:e,k:t,f:!!n}:e:null);function W(e,t=null,n=null,o=0,r=null,l=e===be?0:1,i=!1,s=!1){let a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yl(t),ref:t&&so(t),scopeId:Dl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Je};return s?(Lr(a,n),128&l&&e.normalize(a)):n&&(a.shapeFlag|=Re(n)?8:16),In>0&&!i&&ot&&(a.patchFlag>0||6&l)&&a.patchFlag!==32&&ot.push(a),a}var he=function(e,t=null,n=null,o=0,r=null,l=!1){if(e&&e!==Ba||(e=Dt),hr(e)){let a=tn(e,t,!0);return n&&Lr(a,n),In>0&&!l&&ot&&(6&a.shapeFlag?ot[ot.indexOf(e)]=a:ot.push(a)),a.patchFlag|=-2,a}i=e,fe(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=function(u){return u?ds(u)||Oo in u?je({},u):u:null}(t);let{class:a,style:c}=t;a&&!Re(a)&&(t.class=Se(a)),we(c)&&(ds(c)&&!Q(c)&&(c=je({},c)),t.style=xn(c))}let s=Re(e)?1:(a=>a.__isSuspense)(e)?128:(a=>a.__isTeleport)(e)?64:we(e)?4:fe(e)?2:0;return W(e,t,n,o,r,s,l,!0)};function tn(e,t,n=!1){let{props:o,ref:r,patchFlag:l,children:i}=e,s=t?function(...a){let c={};for(let u=0;u<a.length;u++){let p=a[u];for(let h in p)if(h==="class")c.class!==p.class&&(c.class=Se([c.class,p.class]));else if(h==="style")c.style=xn([c.style,p.style]);else if(Co(h)){let y=c[h],b=p[h];!b||y===b||Q(y)&&y.includes(b)||(c[h]=y?[].concat(y,b):b)}else h!==""&&(c[h]=p[h])}return c}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Yl(s),ref:t&&t.ref?n&&r?Q(r)?r.concat(so(t)):[r,so(t)]:so(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==be?l===-1?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tn(e.ssContent),ssFallback:e.ssFallback&&tn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Lt(e=" ",t=0){return he(Ao,null,e,t)}function re(e="",t=!1){return t?(B(),kt(Dt,null,e)):he(Dt,null,e)}function at(e){return e==null||typeof e=="boolean"?he(Dt):Q(e)?he(be,null,e.slice()):typeof e=="object"?Et(e):he(Ao,null,String(e))}function Et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tn(e)}function Lr(e,t){let n=0,{shapeFlag:o}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object"){if(65&o){let r=t.default;return void(r&&(r._c&&(r._d=!1),Lr(e,r()),r._c&&(r._d=!0)))}{n=32;let r=t._;r||Oo in t?r===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Je}}else fe(t)?(t={default:t,_ctx:Je},n=32):(t=String(t),64&o?(n=16,t=[Lt(t)]):n=8);e.children=t,e.shapeFlag|=n}function it(e,t,n,o=null){ut(e,t,7,[n,o])}var Ja=Vl(),Za=0,qe=null,ei=()=>qe||Je,Rr,Wt,Es="__VUE_INSTANCE_SETTERS__";(Wt=tr()[Es])||(Wt=tr()[Es]=[]),Wt.push(e=>qe=e),Rr=e=>{Wt.length>1?Wt.forEach(t=>t(e)):Wt[0](e)};var Ar=e=>{Rr(e),e.scope.on()},mn=()=>{qe&&qe.scope.off(),Rr(null)};function ti(e){return 4&e.vnode.shapeFlag}var Ts,Ln=!1;function Is(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Pl(t)),ni(e,n)}function ni(e,t,n){let o=e.type;if(!e.render){if(!t&&Ts&&!o.render){let r=o.template||function(l){let i=l.type,{mixins:s,extends:a}=i,{mixins:c,optionsCache:u,config:{optionMergeStrategies:p}}=l.appContext,h=u.get(i),y;return h?y=h:c.length||s||a?(y={},c.length&&c.forEach(b=>fo(y,b,p,!0)),fo(y,i,p)):y=i,we(i)&&u.set(i,y),y}(e).template;if(r){let{isCustomElement:l,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:a}=o,c=je(je({isCustomElement:l,delimiters:s},i),a);o.render=Ts(r,c)}}e.render=o.render||Ut}}function Mo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Pl(zl(e.exposed)),{get:(t,n)=>n in t?t[n]:n in fn?fn[n](e):void 0,has:(t,n)=>n in t||n in fn}))}var Ie=(e,t)=>function(n,o,r=!1){let l,i,s=fe(n);return s?(l=n,i=Ut):(l=n.get,i=n.set),new ar(l,i,s||!i,r)}(e,0,Ln);function ce(e,t,n){let o=arguments.length;return o===2?we(t)&&!Q(t)?hr(t)?he(e,null,[t]):he(e,t):he(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&hr(n)&&(n=[n]),he(e,t,n))}var Ka=Symbol.for("v-scx"),Xa=()=>Ro(Ka),Qa="3.3.2",Pt=typeof document<"u"?document:null,Ls=Pt&&Pt.createElement("template"),Ya={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{let r=t?Pt.createElementNS("http://www.w3.org/2000/svg",e):Pt.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Pt.createTextNode(e),createComment:e=>Pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,l){let i=n?n.previousSibling:t.lastChild;if(r&&(r===l||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==l&&(r=r.nextSibling););else{Ls.innerHTML=o?{e}</svg>`:e;let s=Ls.content;if(o){let a=s.firstChild;for(;a.firstChild;)s.appendChild(a.firstChild);s.removeChild(a)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rs=/\s*!important/;function fr(e,t,n){if(Q(n))n.forEach(o=>fr(e,t,o));else if(n==null&&(n=""),t.startsWith(”—“))e.setProperty(t,n);else{let o=function(r,l){let i=Xo[l];if(i)return i;let s=pt(l);if(s!==“filter”&&s in r)return Xo[l]=s;s=So(s);for(let a=0;a<As.length;a++){let c=As[a]+s;if(c in r)return Xo[l]=c}return l}(e,t);Rs.test(n)?e.setProperty(ln(o),n.replace(Rs,""),“important”):e[o]=n}}var As=[“Webkit”,“Moz”,“ms”],Xo={},Os=“http://www.w3.org/1999/xlink”;function yt(e,t,n,o){e.addEventListener(t,n,o)}function ec(e,t,n,o,r=null){let l=e._vei||(e._vei={}),i=l[t];if(o&&i)i.value=o;else{let[s,a]=function(c){let u;if(Ms.test(c)){let h;for(u={};h=c.match(Ms);)c=c.slice(0,c.length-h[0].length),u[h[0].toLowerCase()]=!0}return[c[2]===”:“?c.slice(3):ln(c.slice(2)),u]}(t);if(o){let c=l[t]=function(u,p){let h=y=>{if(y._vts){if(y._vts<=h.attached)return}else y._vts=Date.now();ut(function(b,m){if(Q(m)){let f=b.stopImmediatePropagation;return b.stopImmediatePropagation=()=>{f.call(b),b._stopped=!0},m.map(v=>w=>!w._stopped&&v&&v(w))}return m}(y,h.value),p,5,[y])};return h.value=u,h.attached=nc(),h}(o,r);yt(e,s,c,a)}else i&&(function(c,u,p,h){c.removeEventListener(u,p,h)}(e,s,i,a),l[t]=void 0)}}var Ms=/(?:Once|Passive|Capture)/,Qo=0,tc=Promise.resolve(),nc=()=>Qo||(tc.then(()=>Qo=0),Qo=Date.now()),zs=/^on[a-z]/,Ot=e=>{let t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>oo(t,n):t};function oc(e){e.target.composing=!0}function js(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}var gr={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Ot(r);let l=o||r.props&&r.props.type==="number";yt(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;n&&(s=s.trim()),l&&(s=co(s)),e._assign(s)}),n&&yt(e,"change",()=>{e.value=e.value.trim()}),t||(yt(e,"compositionstart",oc),yt(e,"compositionend",js),yt(e,"change",js))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},l){if(e._assign=Ot(l),e.composing||document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===t||(r||e.type==="number")&&co(e.value)===t))return;let i=t??"";e.value!==i&&(e.value=i)}},rc={deep:!0,created(e,t,n){e._assign=Ot(n),yt(e,"change",()=>{let o=e._modelValue,r=nn(e),l=e.checked,i=e._assign;if(Q(o)){let s=br(o,r),a=s!==-1;if(l&&!a)i(o.concat(r));else if(!l&&a){let c=[...o];c.splice(s,1),i(c)}}else if(sn(o)){let s=new Set(o);l?s.add(r):s.delete(r),i(s)}else i(oi(e,l))})},mounted:Bs,beforeUpdate(e,t,n){e._assign=Ot(n),Bs(e,t,n)}};function Bs(e,{value:t,oldValue:n},o){e._modelValue=t,Q(t)?e.checked=br(t,o.props.value)>-1:sn(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Ft(t,oi(e,!0)))}var sc={created(e,{value:t},n){e.checked=Ft(t,n.props.value),e._assign=Ot(n),yt(e,"change",()=>{e._assign(nn(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Ot(o),t!==n&&(e.checked=Ft(t,o.props.value))}},lc={deep:!0,created(e,{value:t,modifiers:{number:n}},o){let r=sn(t);yt(e,"change",()=>{let l=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?co(nn(i)):nn(i));e._assign(e.multiple?r?new Set(l):l:l[0])}),e._assign=Ot(o)},mounted(e,{value:t}){Ns(e,t)},beforeUpdate(e,t,n){e._assign=Ot(n)},updated(e,{value:t}){Ns(e,t)}};function Ns(e,t){let n=e.multiple;if(!n||Q(t)||sn(t)){for(let o=0,r=e.options.length;o<r;o++){let l=e.options[o],i=nn(l);if(n)Q(t)?l.selected=br(t,i)>-1:l.selected=t.has(i);else if(Ft(nn(l),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||e.selectedIndex===-1||(e.selectedIndex=-1)}}function nn(e){return"_value"in e?e._value:e.value}function oi(e,t){let n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}var ic={created(e,t,n){Xn(e,t,n,null,"created")},mounted(e,t,n){Xn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Xn(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Xn(e,t,n,o,"updated")}};function Xn(e,t,n,o,r){let l=function(i,s){switch(i){case"SELECT":return lc;case"TEXTAREA":return gr;default:switch(s){case"checkbox":return rc;case"radio":return sc;default:return gr}}}(e.tagName,n.props&&n.props.type)[r];l&&l(e,t,n,o)}var Ps={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):pn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),pn(e,!0),o.enter(e)):o.leave(e,()=>{pn(e,!1)}):pn(e,t))},beforeUnmount(e,{value:t}){pn(e,t)}};function pn(e,t){e.style.display=t?e._vod:"none"}var ac=je({patchProp:(e,t,n,o,r=!1,l,i,s,a)=>{t==="class"?function(c,u,p){let h=c._vtc;h&&(u=(u?[u,...h]:[...h]).join(" ")),u==null?c.removeAttribute("class"):p?c.setAttribute("class",u):c.className=u}(e,o,r):t==="style"?function(c,u,p){let h=c.style,y=Re(p);if(p&&!y){if(u&&!Re(u))for(let b in u)p[b]==null&&fr(h,b,"");for(let b in p)fr(h,b,p[b])}else{let b=h.display;y?u!==p&&(h.cssText=p):u&&c.removeAttribute("style"),"_vod"in c&&(h.display=b)}}(e,n,o):Co(t)?yr(t)||ec(e,t,0,o,i):(t[0]==="."?(t=t.slice(1),1):t[0]==="^"?(t=t.slice(1),0):function(c,u,p,h){return h?u==="innerHTML"||u==="textContent"||!!(u in c&&zs.test(u)&&fe(p)):u==="spellcheck"||u==="draggable"||u==="translate"||u==="form"||u==="list"&&c.tagName==="INPUT"||u==="type"&&c.tagName==="TEXTAREA"||zs.test(u)&&Re(p)?!1:u in c}(e,t,o,r))?function(c,u,p,h,y,b,m){if(u==="innerHTML"||u==="textContent")return h&&m(h,y,b),void(c[u]=p??"");let f=c.tagName;if(u==="value"&&f!=="PROGRESS"&&!f.includes("-")){c._value=p;let w=p??"";return(f==="OPTION"?c.getAttribute("value"):c.value)!==w&&(c.value=w),void(p==null&&c.removeAttribute(u))}let v=!1;if(p===""||p==null){let w=typeof c[u];w==="boolean"?p=rs(p):p==null&&w==="string"?(p="",v=!0):w==="number"&&(p=0,v=!0)}try{c[u]=p}catch{}v&&c.removeAttribute(u)}(e,t,o,l,i,s,a):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),function(c,u,p,h,y){if(h&&u.startsWith("xlink:"))p==null?c.removeAttributeNS(Os,u.slice(6,u.length)):c.setAttributeNS(Os,u,p);else{let b=ca(u);p==null||b&&!rs(p)?c.removeAttribute(u):c.setAttribute(u,b?"":p)}}(e,t,o,r))}},Ya),Hs,cc=(...e)=>{let t=(Hs||(Hs=Wa(ac))).createApp(...e),{mount:n}=t;return t.mount=o=>{let r=function(s){return Re(s)?document.querySelector(s):s}(o);if(!r)return;let l=t._component;fe(l)||l.render||l.template||(l.template=r.innerHTML),r.innerHTML="";let i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function yn(e){return!!Cl()&&(function(t){We&&We.cleanups.push(t)}(e),!0)}function vt(e){return typeof e=="function"?e():ne(e)}var mo=typeof window<"u",yo=()=>{};function ri(e,t){return function(...n){return new Promise((o,r)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(r)})}}var Us=e=>e();function uc(e,t=200,n={}){return ri(function(o,r={}){let l,i,s=yo,a=c=>{clearTimeout(c),s(),s=yo};return c=>{let u=vt(o),p=vt(r.maxWait);return l&&a(l),u<=0||p!==void 0&&p<=0?(i&&(a(i),i=null),Promise.resolve(c())):new Promise((h,y)=>{s=r.rejectOnCancel?y:h,p&&!i&&(i=setTimeout(()=>{l&&a(l),i=null,h(c())},p)),l=setTimeout(()=>{i&&a(i),i=null,h(c())},u)})}}(t,n),e)}function si(e,t=!0){ei()?Nn(e):t?e():Io(e)}var qs=Object.getOwnPropertySymbols,pc=Object.prototype.hasOwnProperty,dc=Object.prototype.propertyIsEnumerable,hc=(e,t)=>{var n={};for(var o in e)pc.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&qs)for(var o of qs(e))t.indexOf(o)<0&&dc.call(e,o)&&(n[o]=e[o]);return n},fc=Object.defineProperty,gc=Object.defineProperties,mc=Object.getOwnPropertyDescriptors,vo=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,ii=Object.prototype.propertyIsEnumerable,Fs=(e,t,n)=>t in e?fc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yc=(e,t)=>{for(var n in t||(t={}))li.call(t,n)&&Fs(e,n,t[n]);if(vo)for(var n of vo(t))ii.call(t,n)&&Fs(e,n,t[n]);return e},vc=(e,t)=>gc(e,mc(t)),bc=(e,t)=>{var n={};for(var o in e)li.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&vo)for(var o of vo(e))t.indexOf(o)<0&&ii.call(e,o)&&(n[o]=e[o]);return n};function wc(e,t,n={}){let o=n,{eventFilter:r}=o,l=bc(o,["eventFilter"]),{eventFilter:i,pause:s,resume:a,isActive:c}=function(p=Us){let h=te(!0);return{isActive:jn(h),pause:function(){h.value=!1},resume:function(){h.value=!0},eventFilter:(...y)=>{h.value&&p(...y)}}}(r);return{stop:function(p,h,y={}){let b=y,{eventFilter:m=Us}=b,f=hc(b,["eventFilter"]);return Qe(p,ri(m,h),f)}(e,t,vc(yc({},l),{eventFilter:i})),pause:s,resume:a,isActive:c}}function xc(e){var t;let n=vt(e);return(t=n?.el)!=null?t:n}var bo=mo?window:void 0,ai=mo?window.document:void 0;function Ds(…e){let t,n,o,r;if(typeof e[0]==“string”||Array.isArray(e[0])?([n,o,r]=e,t=bo):[t,n,o,r]=e,!t)return yo;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);let l=[],i=()=>{l.forEach(c=>c()),l.length=0},s=Qe(()=>[xc(t),vt(r)],([c,u])=>{i(),c&&l.push(…n.flatMap(p=>o.map(h=>((y,b,m,f)=>(y.addEventListener(b,m,f),()=>y.removeEventListener(b,m,f)))(c,p,h,u))))},{immediate:!0,flush:“post”}),a=()=>{s(),i()};return yn(a),a}var Qn=typeof globalThis<“u”?globalThis:typeof window<“u”?window:typeof global<“u”?global:typeof self<“u”?self:{},Yn=“vueuse_ssr_handlers”,kc=_c();function _c(){return Yn in Qn||(Qn[Yn]=Qn[Yn]||{}),Qn[Yn]}var Cc=Object.defineProperty,Gs=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,Sc=Object.prototype.propertyIsEnumerable,Vs=(e,t,n)=>t in e?Cc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ws=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&Vs(e,n,t[n]);if(Gs)for(var n of Gs(t))Sc.call(t,n)&&Vs(e,n,t[n]);return e},Ec={boolean:{read:e=>e===“true”,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Js=“vueuse-storage”;function on(e,t,n,o={}){var r;let{flush:l=“pre”,deep:i=!0,listenToStorageChanges:s=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:p=bo,eventFilter:h,onError:y=M=>{console.error(M)}}=o,b=(u?Ea:te)(t);if(!n)try{n=function(M,q){return kc[M]||q}(“getDefaultStorage”,()=>{var M;return(M=bo)==null?void 0:M.localStorage})()}catch(M){y(M)}if(!n)return b;let m=vt(t),f=function(M){return M==null?“any”:M instanceof Set?“set”:M instanceof Map?“map”:M instanceof Date?“date”:typeof M==“boolean”?“boolean”:typeof M==“string”?“string”:typeof M==“object”?“object”:Number.isNaN(M)?“any”:“number”}(m),v=(r=o.serializer)!=null?r:Ec[f],{pause:w,resume:T}=wc(b,()=>function(M){try{if(M==null)n.removeItem(e);else{let q=v.write(M),V=n.getItem(e);V!==q&&(n.setItem(e,q),p&&p.dispatchEvent(new CustomEvent(Js,{detail:{key:e,oldValue:V,newValue:q,storageArea:n}})))}}catch(q){y(q)}}(b.value),{flush:l,deep:i,eventFilter:h});return p&&s&&(Ds(p,“storage”,L),Ds(p,Js,function(M){L(M.detail)})),L(),b;function L(M){if(!M||M.storageArea===n){if(M&&M.key==null)b.value=m;else if(!M||M.key===e){w();try{b.value=function(q){let V=q?q.newValue:n.getItem(e);if(V==null)return a&&m!==null&&n.setItem(e,v.write(m)),m;if(!q&&c){let D=v.read(V);return typeof c==“function”?c(D,m):f!==“object”||Array.isArray(D)?D:Ws(Ws({},m),D)}return typeof V!=“string”?V:v.read(V)}(M)}catch(q){y(q)}finally{M?Io(T):T()}}}}}var Tc=Object.defineProperty,Zs=Object.getOwnPropertySymbols,Ic=Object.prototype.hasOwnProperty,Lc=Object.prototype.propertyIsEnumerable,Ks=(e,t,n)=>t in e?Tc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function Rc(e={}){let{controls:t=!1,interval:n=“requestAnimationFrame”}=e,o=te(new Date),r=()=>o.value=new Date,l=n===“requestAnimationFrame”?function(i,s={}){let{immediate:a=!0,window:c=bo}=s,u=te(!1),p=0,h=null;function y(f){u.value&&c&&(i({delta:f-p,timestamp:f}),p=f,h=c.requestAnimationFrame(y))}function b(){!u.value&&c&&(u.value=!0,h=c.requestAnimationFrame(y))}function m(){u.value=!1,h!=null&&c&&(c.cancelAnimationFrame(h),h=null)}return a&&b(),yn(m),{isActive:jn(u),pause:m,resume:b}}(r,{immediate:!0}):function(i,s=1e3,a={}){let{immediate:c=!0,immediateCallback:u=!1}=a,p=null,h=te(!1);function y(){p&&(clearInterval(p),p=null)}function b(){h.value=!1,y()}function m(){let f=vt(s);f<=0||(h.value=!0,u&&i(),y(),p=setInterval(i,f))}return c&&mo&&m(),(Le(s)||typeof s==“function”)&&yn(Qe(s,()=>{h.value&&mo&&m()})),yn(b),{isActive:h,pause:b,resume:m}}(r,n,{immediate:!0});return t?((i,s)=>{for(var a in s||(s={}))Ic.call(s,a)&&Ks(i,a,s[a]);if(Zs)for(var a of Zs(s))Lc.call(s,a)&&Ks(i,a,s[a]);return i})({now:o},l):o}function Ac(e,t=yo,n={}){let{immediate:o=!0,manual:r=!1,type:l=“text/javascript”,async:i=!0,crossOrigin:s,referrerPolicy:a,noModule:c,defer:u,document:p=ai,attrs:h={}}=n,y=te(null),b=null,m=(w=!0)=>(b||(b=(T=>new Promise((L,M)=>{let q=pe=>(y.value=pe,L(pe),pe);if(!p)return void L(!1);let V=!1,D=p.querySelector(script[src="${vt(e)}"]);D?D.hasAttribute(“data-loaded”)&&q(D):(D=p.createElement(“script”),D.type=l,D.async=i,D.src=vt(e),u&&(D.defer=u),s&&(D.crossOrigin=s),c&&(D.noModule=c),a&&(D.referrerPolicy=a),Object.entries(h).forEach(([pe,Be])=>D?.setAttribute(pe,Be)),V=!0),D.addEventListener(“error”,pe=>M(pe)),D.addEventListener(“abort”,pe=>M(pe)),D.addEventListener(“load”,()=>{D.setAttribute(“data-loaded”,“true”),t(D),q(D)}),V&&(D=p.head.appendChild(D)),T||q(D)}))(w)),b),f=()=>{if(!p)return;b=null,y.value&&(y.value=null);let w=p.querySelector(script[src="${vt(e)}"]);w&&p.head.removeChild(w)};var v;return o&&!r&&si(m),r||(v=f,ei()&&Lo(v)),{scriptTag:y,load:m,unload:f}}var Oc=0,Mc=e=>{let t=on(“WALINE_EMOJI”,{}),n=Boolean(/@[0-9]+.[0-9]+.[0-9]+/.test(e));if(n){let o=t.value[e];if(o)return Promise.resolve(o)}return GM_fetch(${e}/info.json).then(o=>o.json()).then(o=>{let r={folder:e,…o};return n&&(t.value[e]=r),r})},Xs=(e,t="",n="",o="")=>${t?{t}/`:""}{n}{o?.${o}:""},ci=e=>{e.name!=="AbortError"&&console.error(e.message)},zc=e=>e instanceof HTMLElement?e:typeof e=="string"?document.querySelector(e):null,jc=e=>e.type.includes("image"),Qs=e=>{let t=Array.from(e).find(jc);return t?t.getAsFile():null};function Bc(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}var Gt={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},ui=/[&<>"']/,Nc=new RegExp(ui.source,"g"),pi=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Pc=new RegExp(pi.source,"g"),Hc={"&":"&","<":"<",">":">",'"':""","'":"'"},Ys=e=>Hc[e];function Me(e,t){if(t){if(ui.test(e))return e.replace(Nc,Ys)}else if(pi.test(e))return e.replace(Pc,Ys);return e}var Uc=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function di(e){return e.replace(Uc,(t,n)=>(n=n.toLowerCase())==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):"")}var qc=/(^|[^\[])\^/g;function me(e,t){e=typeof e=="string"?e:e.source,t=t||"";let n={replace:(o,r)=>(r=(r=r.source||r).replace(qc,"$1"),e=e.replace(o,r),n),getRegex:()=>new RegExp(e,t)};return n}var Fc=/[^\w:]/g,Dc=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function el(e,t,n){if(e){let o;try{o=decodeURIComponent(di(n)).replace(Fc,"").toLowerCase()}catch{return null}if(o.indexOf("javascript:")===0||o.indexOf("vbscript:")===0||o.indexOf("data:")===0)return null}t&&!Dc.test(n)&&(n=function(o,r){eo[" "+o]||(Gc.test(o)?eo[" "+o]=o+"/":eo[" "+o]=lo(o,"/",!0)),o=eo[" "+o];let l=o.indexOf(":")===-1;return r.substring(0,2)==="//"?l?r:o.replace(Vc,"$1")+r:r.charAt(0)==="/"?l?r:o.replace(Wc,"$1")+r:o+r}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}var eo={},Gc=/^[^:]+:\/*[^/]*$/,Vc=/^([^:]+:)[\s\S]*$/,Wc=/^([^:]+:\/*[^/]*)[\s\S]*$/,wo={exec:function(){}};function tl(e,t){let n=e.replace(/\|/g,(r,l,i)=>{let s=!1,a=l;for(;--a>=0&&i[a]==="\\";)s=!s;return s?"|":" |"}).split(/ \|/),o=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;o<n.length;o++)n[o]=n[o].trim().replace(/\\\|/g,"|");return n}function lo(e,t,n){let o=e.length;if(o===0)return"";let r=0;for(;r<o;){let l=e.charAt(o-r-1);if(l!==t||n){if(l===t||!n)break;r++}else r++}return e.slice(0,o-r)}function nl(e,t){if(t<1)return"";let n="";for(;t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function ol(e,t,n,o){let r=t.href,l=t.title?Me(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){o.state.inLink=!0;let s={type:"link",raw:n,href:r,title:l,text:i,tokens:o.inlineTokens(i)};return o.state.inLink=!1,s}return{type:"image",raw:n,href:r,title:l,text:Me(i)}}var Rn=class{constructor(t){this.options=t||Gt}space(t){let n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){let n=this.rules.block.code.exec(t);if(n){let o=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?o:lo(o,
)}}}fences(t){let n=this.rules.block.fences.exec(t);if(n){let o=n[0],r=function(l,i){let s=l.match(/^(\s+)(?:```)/);if(s===null)return i;let a=s[1];return i.split(
).map(c=>{let u=c.match(/^\s+/);if(u===null)return c;let[p]=u;return p.length>=a.length?c.slice(a.length):c}).join(
)}(o,n[3]||"");return{type:"code",raw:o,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:r}}}heading(t){let n=this.rules.block.heading.exec(t);if(n){let o=n[2].trim();if(/#$/.test(o)){let r=lo(o,"#");this.options.pedantic?o=r.trim():r&&!/ $/.test(r)||(o=r.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:o,tokens:this.lexer.inline(o)}}}hr(t){let n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){let n=this.rules.block.blockquote.exec(t);if(n){let o=n[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;let l=this.lexer.blockTokens(o);return this.lexer.state.top=r,{type:"blockquote",raw:n[0],tokens:l,text:o}}}list(t){let n=this.rules.block.list.exec(t);if(n){let o,r,l,i,s,a,c,u,p,h,y,b,m=n[1].trim(),f=m.length>1,v={type:"list",raw:"",ordered:f,start:f?+m.slice(0,-1):"",loose:!1,items:[]};m=f?\d{1,9}\{m},this.options.pedantic&&(m=f?m:"[*+-]");let w=new RegExp(^( {0,3}{m})((?:[ ][^\\n]*)?(?:\\n|)));for(;t&&(b=!1,n=w.exec(t))&&!this.rules.block.hr.test(t);){if(o=n[0],t=t.substring(o.length),u=n[2].split(
,1)[0].replace(/^\t+/,L=>" ".repeat(3*L.length)),p=t.split(
,1)[0],this.options.pedantic?(i=2,y=u.trimLeft()):(i=n[2].search(/[^ ]/),i=i>4?1:i,y=u.slice(i),i+=n[1].length),a=!1,!u&&/^ *$/.test(p)&&(o+=p+
,t=t.substring(p.length+1),b=!0),!b){let L=new RegExp(^ {0,{Math.min(3,i-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|))),M=new RegExp(^ {0,{Math.min(3,i-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|)),q=new RegExp(^ {0,{Math.min(3,i-1)}}(?:\`\`\`|~~~)`),V=new RegExp(`^ {0,{Math.min(3,i-1)}}#);for(;t&&(h=t.split(
,1)[0],p=h,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!q.test(p))&&!V.test(p)&&!L.test(p)&&!M.test(t);){if(p.search(/[^ ]/)>=i||!p.trim())y+=
+p.slice(i);else{if(a||u.search(/[^ ]/)>=4||q.test(u)||V.test(u)||M.test(u))break;y+=
+p}a||p.trim()||(a=!0),o+=h+
,t=t.substring(h.length+1),u=p.slice(i)}}v.loose||(c?v.loose=!0:/\n *\n *$/.test(o)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(y),r&&(l=r[0]!=="[ ] ",y=y.replace(/^\[[ xX]\] +/,""))),v.items.push({type:"list_item",raw:o,task:!!r,checked:l,loose:!1,text:y}),v.raw+=o}v.items[v.items.length-1].raw=o.trimRight(),v.items[v.items.length-1].text=y.trimRight(),v.raw=v.raw.trimRight();let T=v.items.length;for(s=0;s<T;s++)if(this.lexer.state.top=!1,v.items[s].tokens=this.lexer.blockTokens(v.items[s].text,[]),!v.loose){let L=v.items[s].tokens.filter(q=>q.type==="space"),M=L.length>0&&L.some(q=>/\n.*\n/.test(q.raw));v.loose=M}if(v.loose)for(s=0;s<T;s++)v.items[s].loose=!0;return v}}html(t){let n=this.rules.block.html.exec(t);if(n){let o={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};if(this.options.sanitize){let r=this.options.sanitizer?this.options.sanitizer(n[0]):Me(n[0]);o.type="paragraph",o.text=r,o.tokens=this.lexer.inline(r)}return o}}def(t){let n=this.rules.block.def.exec(t);if(n){let o=n[1].toLowerCase().replace(/\s+/g," "),r=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",l=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:o,raw:n[0],href:r,title:l}}}table(t){let n=this.rules.block.table.exec(t);if(n){let o={type:"table",header:tl(n[1]).map(r=>({text:r})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(
):[]};if(o.header.length===o.align.length){o.raw=n[0];let r,l,i,s,a=o.align.length;for(r=0;r<a;r++)/^ *-+: *$/.test(o.align[r])?o.align[r]="right":/^ *:-+: *$/.test(o.align[r])?o.align[r]="center":/^ *:-+ *$/.test(o.align[r])?o.align[r]="left":o.align[r]=null;for(a=o.rows.length,r=0;r<a;r++)o.rows[r]=tl(o.rows[r],o.header.length).map(c=>({text:c}));for(a=o.header.length,l=0;l<a;l++)o.header[l].tokens=this.lexer.inline(o.header[l].text);for(a=o.rows.length,l=0;l<a;l++)for(s=o.rows[l],i=0;i<s.length;i++)s[i].tokens=this.lexer.inline(s[i].text);return o}}}lheading(t){let n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){let n=this.rules.block.paragraph.exec(t);if(n){let o=n[1].charAt(n[1].length-1)===
?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:o,tokens:this.lexer.inline(o)}}}text(t){let n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){let n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:Me(n[1])}}tag(t){let n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):Me(n[0]):n[0]}}link(t){let n=this.rules.inline.link.exec(t);if(n){let o=n[2].trim();if(!this.options.pedantic&&/^</.test(o)){if(!/>$/.test(o))return;let i=lo(o.slice(0,-1),"\\");if((o.length-i.length)%2==0)return}else{let i=function(s,a){if(s.indexOf(a[1])===-1)return-1;let c=s.length,u=0,p=0;for(;p<c;p++)if(s[p]==="\\")p++;else if(s[p]===a[0])u++;else if(s[p]===a[1]&&(u--,u<0))return p;return-1}(n[2],"()");if(i>-1){let s=(n[0].indexOf("!")===0?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,s).trim(),n[3]=""}}let r=n[2],l="";if(this.options.pedantic){let i=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);i&&(r=i[1],l=i[3])}else l=n[3]?n[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(o)?r.slice(1):r.slice(1,-1)),ol(n,{href:r&&r.replace(this.rules.inline._escapes,"$1"),title:l&&l.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(t,n){let o;if((o=this.rules.inline.reflink.exec(t))||(o=this.rules.inline.nolink.exec(t))){let r=(o[2]||o[1]).replace(/\s+/g," ");if(r=n[r.toLowerCase()],!r){let l=o[0].charAt(0);return{type:"text",raw:l,text:l}}return ol(o,r,o[0],this.lexer)}}emStrong(t,n,o=""){let r=this.rules.inline.emStrong.lDelim.exec(t);if(!r||r[3]&&o.match(/[\p{L}\p{N}]/u))return;let l=r[1]||r[2]||"";if(!l||l&&(o===""||this.rules.inline.punctuation.exec(o))){let i=r[0].length-1,s,a,c=i,u=0,p=r[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(p.lastIndex=0,n=n.slice(-1*t.length+i);(r=p.exec(n))!=null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(a=s.length,r[3]||r[4]){c+=a;continue}if((r[5]||r[6])&&i%3&&!((i+a)%3)){u+=a;continue}if(c-=a,c>0)continue;a=Math.min(a,a+c+u);let h=t.slice(0,i+r.index+(r[0].length-s.length)+a);if(Math.min(i,a)%2){let b=h.slice(1,-1);return{type:"em",raw:h,text:b,tokens:this.lexer.inlineTokens(b)}}let y=h.slice(2,-2);return{type:"strong",raw:h,text:y,tokens:this.lexer.inlineTokens(y)}}}}codespan(t){let n=this.rules.inline.code.exec(t);if(n){let o=n[2].replace(/\n/g," "),r=/[^ ]/.test(o),l=/^ /.test(o)&&/ $/.test(o);return r&&l&&(o=o.substring(1,o.length-1)),o=Me(o,!0),{type:"codespan",raw:n[0],text:o}}}br(t){let n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){let n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t,n){let o=this.rules.inline.autolink.exec(t);if(o){let r,l;return o[2]==="@"?(r=Me(this.options.mangle?n(o[1]):o[1]),l="mailto:"+r):(r=Me(o[1]),l=r),{type:"link",raw:o[0],text:r,href:l,tokens:[{type:"text",raw:r,text:r}]}}}url(t,n){let o;if(o=this.rules.inline.url.exec(t)){let r,l;if(o[2]==="@")r=Me(this.options.mangle?n(o[0]):o[0]),l="mailto:"+r;else{let i;do i=o[0],o[0]=this.rules.inline._backpedal.exec(o[0])[0];while(i!==o[0]);r=Me(o[0]),l=o[1]==="www."?"http://"+o[0]:o[0]}return{type:"link",raw:o[0],text:r,href:l,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t,n){let o=this.rules.inline.text.exec(t);if(o){let r;return r=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):Me(o[0]):o[0]:Me(this.options.smartypants?n(o[0]):o[0]),{type:"text",raw:o[0],text:r}}}},Z={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}({3,}(?=[^\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~] (?=\n|)/,hr:/^ {0,3}((?:-[\t ]){3,}|(?:[ \t]){3,}|(?:*[ \t]){3,})(?:\n+|)/,heading:/^ {0,3}(#{1,6})(?=\s|)(.)(?:\n+|))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|)|comment[^\n](\n+|)|<![A-Z][\s\S]?(?:>\n|)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|)|</?(tag)(?: +|\n|/?>)[\s\S]?(?:(?:\n )+\n|))[\s\S]?(?:(?:\n )+\n|))[\s\S]?(?:(?:\n )+\n|))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|)/,table:wo,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) (?:\n+|)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Z.def=me(Z.def).replace("label",Z._label).replace("title",Z._title).getRegex(),Z.bullet=/(?:[*+-]|\d{1,9}[.)])/,Z.listItemStart=me(/^( *)(bull) */).replace("bull",Z.bullet).getRegex(),Z.list=me(Z.list).replace(/bull/g,Z.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|))“).replace(“def”,“\n+(?=“+Z.def.source+”)“).getRegex(),Z._tag=“address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul”,Z._comment=/|)/,Z.html=me(Z.html,"i").replace("comment",Z._comment).replace("tag",Z._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Z.paragraph=me(Z._paragraph).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex(),Z.blockquote=me(Z.blockquote).replace("paragraph",Z.paragraph).getRegex(),Z.normal={...Z},Z.gfm={...Z.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|)))\n|)"},Z.gfm.table=me(Z.gfm.table).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex(),Z.gfm.paragraph=me(Z._paragraph).replace("hr",Z.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Z.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Z._tag).getRegex(),Z.pedantic={...Z.normal,html:me(`^ *(?:comment *(?:\\n|\\s*)|<(tag)[\s\S]+?</\1> (?:\n{2,}|\s)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*))).replace("comment",Z._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:wo,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:me(Z.normal._paragraph).replace("hr",Z.hr).replace("heading", #{1,6} [^
]).replace("lheading",Z.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};var H={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]|email)>/,url:wo,tag:“^comment|^</[a-zA-Z][\w:-]\s>|^<[a-zA-Z][\w-](?:attribute)?\s*/?>|^<\?[\s\S]?\?>|^<![a-zA-Z]+\s[\s\S]?>|^<!\[CDATA\[[\s\S]?\]\]>“,link:/^!?[(label)](\s(href)(?:\s+(title))?\s*)/,reflink:/^!?[(label)][(ref)]/,nolink:/^!?[(ref)](?:[])?/,reflinkSearch:“reflink|nolink(?!\()“,emStrong:{lDelim:/^(?:*+(?:([punct])|[^\s*]))|^+(?:([punct*])|([^\s]))/,rDelimAst:/^(?:[^\]|\.)?__(?:[^\]|\.)?*(?:[^\]|\.)?(?=__)|(?:[^\]|\.)+(?=[^])|punct_(?=[\s]|)|punct_\s(?=[^punct*\s])|\s(?=[punct_])|punct_(?=[punct_])|(?:[^punct*\s\]|\.)(*+)(?=[^punct*\s])/,rDelimUnd:/^(?:[^\]|\.)?**(?:[^\]|\.)?_(?:[^\]|\.)?(?=**)|(?:[^\]|\.)+(?=[^])|punct*(?=[\s]|)|punct*\s(?=[^punct*\s])|\s(?=[punct*])|punct*(?=[punct*])/},code:/^(+)([^]|[^][\s\S]*?[^])\1(?!)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:wo,text:/^(+|[^])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[]|\b|)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function Jc(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"1\u2018”).replace(/‘/g,“\u2019”).replace(/(^|[-\u2014/([{\u2018\s])“/g,”1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function rl(e){let t,n,o="",r=e.length;for(t=0;t<r;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),o+="&#"+n+";";return o}H._punctuation="!\"#%&’()+\-.,/:;<=>?@\[\]^{|}~",H.punctuation=me(H.punctuation).replace(/punctuation/g,H._punctuation).getRegex(),H.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|[^]*?|<[^>]?>/g,H.escapedEmSt=/(?:^|[^\])(?:\\)\[_]/g,H.comment=me(Z.comment).replace(”(?:—>|)","-->").getRegex(),H.emStrong.lDelim=me(H.emStrong.lDelim).replace(/punct/g,H._punctuation).getRegex(),H.emStrong.rDelimAst=me(H.emStrong.rDelimAst,"g").replace(/punct/g,H._punctuation).getRegex(),H.emStrong.rDelimUnd=me(H.emStrong.rDelimUnd,"g").replace(/punct/g,H._punctuation).getRegex(),H._escapes=/\\([!"#%&’()*+,-./:;<=>?@[]\^{|}~])/g,H._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,H._email=/[a-zA-Z0-9.!#$%&'*+/=?^_{|}~-]+(@)a-zA-Z0-9?(?:.a-zA-Z0-9?)+(?![-])/,H.autolink=me(H.autolink).replace(“scheme”,H.scheme).replace(“email”,H.email).getRegex(),H.attribute=/\s+[a-zA-Z:][\w.:-](?:\s=\s*”[^”]”|\s=\s*’[^’]’|\s=\s*[^\s”’=<>]+)?/,H.tag=me(H.tag).replace("comment",H._comment).replace("attribute",H._attribute).getRegex(),H._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|[^]*|[^[]\])*?/,H._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,H._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,H.link=me(H.link).replace("label",H._label).replace("href",H._href).replace("title",H._title).getRegex(),H.reflink=me(H.reflink).replace("label",H._label).replace("ref",Z._label).getRegex(),H.nolink=me(H.nolink).replace("ref",Z._label).getRegex(),H.reflinkSearch=me(H.reflinkSearch,"g").replace("reflink",H.reflink).replace("nolink",H.nolink).getRegex(),H.normal={...H},H.pedantic={...H.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:me(/^!?\[(label)\]\((.*?)\)/).replace("label",H._label).getRegex(),reflink:me(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",H._label).getRegex()},H.gfm={...H.normal,escape:me(H.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([]+|[^-]+@)|[\s\S]?(?:(?=\<![~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_{|}*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_{|}~-))/},H.gfm.url=me(H.gfm.url,“i”).replace(“email”,H.gfm._extended_email).getRegex(),H.breaks={…H.gfm,br:me(H.br).replace(“{2,}”,"").getRegex(),text:me(H.gfm.text).replace(“\b”,“\b| {2,}\n”).replace(/{2,}/g,”*“).getRegex()};var bt=class{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Gt,this.options.tokenizer=this.options.tokenizer||new Rn,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={block:Z.normal,inline:H.normal};this.options.pedantic?(n.block=Z.pedantic,n.inline=H.pedantic):this.options.gfm&&(n.block=Z.gfm,this.options.breaks?n.inline=H.breaks:n.inline=H.gfm),this.tokenizer.rules=n}static get rules(){return{block:Z,inline:H}}static lex(t,n){return new bt(n).lex(t)}static lexInline(t,n){return new bt(n).inlineTokens(t)}lex(t){let n;for(t=t.replace(/\r\n|\r/g, ),this.blockTokens(t,this.tokens);n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(t,n=[]){let o,r,l,i;for(t=this.options.pedantic?t.replace(/\t/g,” “).replace(/^ +/gm,""):t.replace(/^( *)(\t+)/gm,(s,a,c)=>a+" ".repeat(c.length));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>!!(o=s.call({lexer:this},t,n))&&(t=t.substring(o.raw.length),n.push(o),!0))))if(o=this.tokenizer.space(t))t=t.substring(o.raw.length),o.raw.length===1&&n.length>0?n[n.length-1].raw+=`
`:n.push(o);else if(o=this.tokenizer.code(t))t=t.substring(o.raw.length),r=n[n.length-1],!r||r.type!=="paragraph"&&r.type!=="text"?n.push(o):(r.raw+=`
`+o.raw,r.text+=`
`+o.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(o=this.tokenizer.fences(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.heading(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.hr(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.blockquote(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.list(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.html(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.def(t))t=t.substring(o.raw.length),r=n[n.length-1],!r||r.type!=="paragraph"&&r.type!=="text"?this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title}):(r.raw+=`
`+o.raw,r.text+=`
`+o.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(o=this.tokenizer.table(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.lheading(t))t=t.substring(o.raw.length),n.push(o);else{if(l=t,this.options.extensions&&this.options.extensions.startBlock){let s=1/0,a=t.slice(1),c;this.options.extensions.startBlock.forEach(function(u){c=u.call({lexer:this},a),typeof c=="number"&&c>=0&&(s=Math.min(s,c))}),s<1/0&&s>=0&&(l=t.substring(0,s+1))}if(this.state.top&&(o=this.tokenizer.paragraph(l)))r=n[n.length-1],i&&r.type==="paragraph"?(r.raw+=`
`+o.raw,r.text+=`
`+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):n.push(o),i=l.length!==t.length,t=t.substring(o.raw.length);else if(o=this.tokenizer.text(t))t=t.substring(o.raw.length),r=n[n.length-1],r&&r.type==="text"?(r.raw+=`
`+o.raw,r.text+=`
`+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):n.push(o);else if(t){let s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let o,r,l,i,s,a,c=t;if(this.tokens.links){let u=Object.keys(this.tokens.links);if(u.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(c))!=null;)u.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,i.index)+"["+nl("a",i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(c))!=null;)c=c.slice(0,i.index)+"["+nl("a",i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.escapedEmSt.exec(c))!=null;)c=c.slice(0,i.index+i[0].length-2)+"++"+c.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>!!(o=u.call({lexer:this},t,n))&&(t=t.substring(o.raw.length),n.push(o),!0))))if(o=this.tokenizer.escape(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.tag(t))t=t.substring(o.raw.length),r=n[n.length-1],r&&o.type==="text"&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);else if(o=this.tokenizer.link(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(o.raw.length),r=n[n.length-1],r&&o.type==="text"&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);else if(o=this.tokenizer.emStrong(t,c,a))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.codespan(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.br(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.del(t))t=t.substring(o.raw.length),n.push(o);else if(o=this.tokenizer.autolink(t,rl))t=t.substring(o.raw.length),n.push(o);else if(this.state.inLink||!(o=this.tokenizer.url(t,rl))){if(l=t,this.options.extensions&&this.options.extensions.startInline){let u=1/0,p=t.slice(1),h;this.options.extensions.startInline.forEach(function(y){h=y.call({lexer:this},p),typeof h=="number"&&h>=0&&(u=Math.min(u,h))}),u<1/0&&u>=0&&(l=t.substring(0,u+1))}if(o=this.tokenizer.inlineText(l,Jc))t=t.substring(o.raw.length),o.raw.slice(-1)!=="_"&&(a=o.raw.slice(-1)),s=!0,r=n[n.length-1],r&&r.type==="text"?(r.raw+=o.raw,r.text+=o.text):n.push(o);else if(t){let u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}else t=t.substring(o.raw.length),n.push(o);return n}},An=class{constructor(t){this.options=t||Gt}code(t,n,o){let r=(n||"").match(/\S*/)[0];if(this.options.highlight){let l=this.options.highlight(t,r);l!=null&&l!==t&&(o=!0,t=l)}return t=t.replace(/\n/,"")+ ,r?'
'+(o?t:Me(t,!0))+</code></pre> :""+(o?t:Me(t,!0))+</code></pre> }blockquote(t){return<blockquote> ${t}</blockquote> }html(t){return t}heading(t,n,o,r){return this.options.headerIds?<h${n} id="${this.options.headerPrefix+r.slug(o)}">${t}</h${n}> :<h${n}>${t}</h${n}> }hr(){return this.options.xhtml?<hr/> :<hr> }list(t,n,o){let r=n?“ol”:“ul”;return”<“+r+(n&&o!==1?’ start=”‘+o+’”’:"")+> +t+”</“+r+> }listitem(t){return<li>${t}</li> }checkbox(t){return”<input ”+(t?‘checked="" ’:"")+‘disabled="" type=“checkbox”’+(this.options.xhtml?” /”:"")+”> “}paragraph(t){return<p>${t}</p> }table(t,n){return n&&(n=<tbody>${n}</tbody>),`
`+t+`
`+n+`
`}tablerow(t){return`
${t}
`}tablecell(t,n){let o=n.header?"th":"td";return(n.align?`<${o} align="${n.align}">`:`<${o}>`)+t+`
`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return this.options.xhtml?"":""}del(t){return`${t}`}link(t,n,o){if((t=el(this.options.sanitize,this.options.baseUrl,t))===null)return o;let r='",r}image(t,n,o){if((t=el(this.options.sanitize,this.options.baseUrl,t))===null)return o;let r=`":">",r}text(t){return t}},xo=class{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,o){return""+o}image(t,n,o){return""+o}br(){return""}},ko=class{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,n){let o=t,r=0;if(this.seen.hasOwnProperty(o)){r=this.seen[t];do r++,o=t+"-"+r;while(this.seen.hasOwnProperty(o))}return n||(this.seen[t]=r,this.seen[o]=0),o}slug(t,n={}){let o=this.serialize(t);return this.getNextSafeSlug(o,n.dryrun)}},wt=class{constructor(t){this.options=t||Gt,this.options.renderer=this.options.renderer||new An,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new xo,this.slugger=new ko}static parse(t,n){return new wt(n).parse(t)}static parseInline(t,n){return new wt(n).parseInline(t)}parse(t,n=!0){let o,r,l,i,s,a,c,u,p,h,y,b,m,f,v,w,T,L,M,q="",V=t.length;for(o=0;o0&&v.tokens[0].type==="paragraph"?(v.tokens[0].text=L+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&v.tokens[0].tokens[0].type==="text"&&(v.tokens[0].tokens[0].text=L+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:L}):f+=L),f+=this.parse(v.tokens,m),p+=this.renderer.listitem(f,T,w);q+=this.renderer.list(p,y,b);continue;case"html":q+=this.renderer.html(h.text);continue;case"paragraph":q+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(p=h.tokens?this.parseInline(h.tokens):h.text;o+1{typeof o=="function"&&(r=o,o=null);let l={...o},i=function(s,a,c){return u=>{if(u.message+=`
Please report this to https://github.com/markedjs/marked.`,s){let p="An error occurred:"+Me(u.message+"",!0)+"";return a?Promise.resolve(p):c?void c(null,p):p}if(a)return Promise.reject(u);if(!c)throw u;c(u)}}((o={...X.defaults,...l}).silent,o.async,r);if(n==null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(function(s){s&&s.sanitize&&!s.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(o),o.hooks&&(o.hooks.options=o),r){let s=o.highlight,a;try{o.hooks&&(n=o.hooks.preprocess(n)),a=e(n,o)}catch(p){return i(p)}let c=function(p){let h;if(!p)try{o.walkTokens&&X.walkTokens(a,o.walkTokens),h=t(a,o),o.hooks&&(h=o.hooks.postprocess(h))}catch(y){p=y}return o.highlight=s,p?i(p):r(null,h)};if(!s||s.length<3||(delete o.highlight,!a.length))return c();let u=0;return X.walkTokens(a,function(p){p.type==="code"&&(u++,setTimeout(()=>{s(p.text,p.lang,function(h,y){if(h)return c(h);y!=null&&y!==p.text&&(p.text=y,p.escaped=!0),u--,u===0&&c()})},0))}),void(u===0&&c())}if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(s=>e(s,o)).then(s=>o.walkTokens?Promise.all(X.walkTokens(s,o.walkTokens)).then(()=>s):s).then(s=>t(s,o)).then(s=>o.hooks?o.hooks.postprocess(s):s).catch(i);try{o.hooks&&(n=o.hooks.preprocess(n));let s=e(n,o);o.walkTokens&&X.walkTokens(s,o.walkTokens);let a=t(s,o);return o.hooks&&(a=o.hooks.postprocess(a)),a}catch(s){return i(s)}}}function X(e,t,n){return hi(bt.lex,wt.parse)(e,t,n)}X.options=X.setOptions=function(e){var t;return X.defaults={...X.defaults,...e},t=X.defaults,Gt=t,X},X.getDefaults=Bc,X.defaults=Gt,X.use=function(...e){let t=X.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(n=>{let o={...n};if(o.async=X.defaults.async||o.async||!1,n.extensions&&(n.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if(r.renderer){let l=t.renderers[r.name];t.renderers[r.name]=l?function(...i){let s=r.renderer.apply(this,i);return s===!1&&(s=l.apply(this,i)),s}:r.renderer}if(r.tokenizer){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[r.level]?t[r.level].unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&(r.level==="block"?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:r.level==="inline"&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),o.extensions=t),n.renderer){let r=X.defaults.renderer||new An;for(let l in n.renderer){let i=r[l];r[l]=(...s)=>{let a=n.renderer[l].apply(r,s);return a===!1&&(a=i.apply(r,s)),a}}o.renderer=r}if(n.tokenizer){let r=X.defaults.tokenizer||new Rn;for(let l in n.tokenizer){let i=r[l];r[l]=(...s)=>{let a=n.tokenizer[l].apply(r,s);return a===!1&&(a=i.apply(r,s)),a}}o.tokenizer=r}if(n.hooks){let r=X.defaults.hooks||new Qt;for(let l in n.hooks){let i=r[l];Qt.passThroughHooks.has(l)?r[l]=s=>{if(X.defaults.async)return Promise.resolve(n.hooks[l].call(r,s)).then(c=>i.call(r,c));let a=n.hooks[l].call(r,s);return i.call(r,a)}:r[l]=(...s)=>{let a=n.hooks[l].apply(r,s);return a===!1&&(a=i.apply(r,s)),a}}o.hooks=r}if(n.walkTokens){let r=X.defaults.walkTokens;o.walkTokens=function(l){let i=[];return i.push(n.walkTokens.call(this,l)),r&&(i=i.concat(r.call(this,l))),i}}X.setOptions(o)})},X.walkTokens=function(e,t){let n=[];for(let o of e)switch(n=n.concat(t.call(X,o)),o.type){case"table":for(let r of o.header)n=n.concat(X.walkTokens(r.tokens,t));for(let r of o.rows)for(let l of r)n=n.concat(X.walkTokens(l.tokens,t));break;case"list":n=n.concat(X.walkTokens(o.items,t));break;default:X.defaults.extensions&&X.defaults.extensions.childTokens&&X.defaults.extensions.childTokens[o.type]?X.defaults.extensions.childTokens[o.type].forEach(function(r){n=n.concat(X.walkTokens(o[r],t))}):o.tokens&&(n=n.concat(X.walkTokens(o.tokens,t)))}return n},X.parseInline=hi(bt.lexInline,wt.parseInline),X.Parser=wt,X.parser=wt.parse,X.Renderer=An,X.TextRenderer=xo,X.Lexer=bt,X.lexer=bt.lex,X.Tokenizer=Rn,X.Slugger=ko,X.Hooks=Qt,X.parse=X;var Zc=/\$.*?\$/,Kc=/^\$(.*?)\$/,Xc=/^(?:\s{0,3})\$\$((?:[^\n]|\n[^\n])+?)\n{0,1}\$\$/,fi=(e="",t={})=>e.replace(/:(.+?):/g,(n,o)=>t[o]?``:n),Qc=(e,{emojiMap:t,highlighter:n,texRenderer:o})=>{if(X.setOptions({highlight:n||void 0,breaks:!0,smartLists:!0,smartypants:!0}),o){let r=(l=>[{name:"blockMath",level:"block",tokenizer(i){let s=Xc.exec(i);if(s!==null)return{type:"html",raw:s[0],text:l(!0,s[1])}}},{name:"inlineMath",level:"inline",start(i){let s=i.search(Zc);return s!==-1?s:i.length},tokenizer(i){let s=Kc.exec(i);if(s!==null)return{type:"html",raw:s[0],text:l(!1,s[1])}}}])(o);X.use({extensions:r})}return X.parse(fi(e,t))},sl=e=>e.dataset.path||e.getAttribute("id"),Yc=({serverURL:e,path:t=window.location.pathname,selector:n=".waline-comment-count",lang:o=navigator.language})=>{let r=new AbortController,l=document.querySelectorAll(n);return l.length&&(({serverURL:i,lang:s,paths:a,signal:c})=>GM_fetch(`${i}/comment?type=count&url=${encodeURIComponent(a.join(","))}&lang=${s}`,{signal:c}).then(u=>u.json()).then(u=>Array.isArray(u)?u:[u]))({serverURL:io(e),paths:Array.from(l).map(i=>ml(i.dataset.path||i.getAttribute("id")||t)),lang:o,signal:r.signal}).then(i=>{l.forEach((s,a)=>{s.innerText=i[a].toString()})}).catch(ci),r.abort.bind(r)},ll=({size:e})=>ce("svg",{class:"wl-close-icon",viewBox:"0 0 1024 1024",width:e,height:e},[ce("path",{d:"M697.173 85.333h-369.92c-144.64 0-241.92 101.547-241.92 252.587v348.587c0 150.613 97.28 252.16 241.92 252.16h369.92c144.64 0 241.494-101.547 241.494-252.16V337.92c0-151.04-96.854-252.587-241.494-252.587z",fill:"currentColor"}),ce("path",{d:"m640.683 587.52-75.947-75.861 75.904-75.862a37.29 37.29 0 0 0 0-52.778 37.205 37.205 0 0 0-52.779 0l-75.946 75.818-75.862-75.946a37.419 37.419 0 0 0-52.821 0 37.419 37.419 0 0 0 0 52.821l75.947 75.947-75.776 75.733a37.29 37.29 0 1 0 52.778 52.821l75.776-75.776 75.947 75.947a37.376 37.376 0 0 0 52.779-52.821z",fill:"#888"})]),eu=()=>ce("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},ce("path",{d:"m341.013 394.667 27.755 393.45h271.83l27.733-393.45h64.106l-28.01 397.952a64 64 0 0 1-63.83 59.498H368.768a64 64 0 0 1-63.83-59.52l-28.053-397.93h64.128zm139.307 19.818v298.667h-64V414.485h64zm117.013 0v298.667h-64V414.485h64zM181.333 288h640v64h-640v-64zm453.483-106.667v64h-256v-64h256z",fill:"red"})),tu=()=>ce("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},ce("path",{d:"M563.2 463.3 677 540c1.7 1.2 3.7 1.8 5.8 1.8.7 0 1.4-.1 2-.2 2.7-.5 5.1-2.1 6.6-4.4l25.3-37.8c1.5-2.3 2.1-5.1 1.6-7.8s-2.1-5.1-4.4-6.6l-73.6-49.1 73.6-49.1c2.3-1.5 3.9-3.9 4.4-6.6.5-2.7 0-5.5-1.6-7.8l-25.3-37.8a10.1 10.1 0 0 0-6.6-4.4c-.7-.1-1.3-.2-2-.2-2.1 0-4.1.6-5.8 1.8l-113.8 76.6c-9.2 6.2-14.7 16.4-14.7 27.5.1 11 5.5 21.3 14.7 27.4zM387 348.8h-45.5c-5.7 0-10.4 4.7-10.4 10.4v153.3c0 5.7 4.7 10.4 10.4 10.4H387c5.7 0 10.4-4.7 10.4-10.4V359.2c0-5.7-4.7-10.4-10.4-10.4zm333.8 241.3-41-20a10.3 10.3 0 0 0-8.1-.5c-2.6.9-4.8 2.9-5.9 5.4-30.1 64.9-93.1 109.1-164.4 115.2-5.7.5-9.9 5.5-9.5 11.2l3.9 45.5c.5 5.3 5 9.5 10.3 9.5h.9c94.8-8 178.5-66.5 218.6-152.7 2.4-5 .3-11.2-4.8-13.6zm186-186.1c-11.9-42-30.5-81.4-55.2-117.1-24.1-34.9-53.5-65.6-87.5-91.2-33.9-25.6-71.5-45.5-111.6-59.2-41.2-14-84.1-21.1-127.8-21.1h-1.2c-75.4 0-148.8 21.4-212.5 61.7-63.7 40.3-114.3 97.6-146.5 165.8-32.2 68.1-44.3 143.6-35.1 218.4 9.3 74.8 39.4 145 87.3 203.3.1.2.3.3.4.5l36.2 38.4c1.1 1.2 2.5 2.1 3.9 2.6 73.3 66.7 168.2 103.5 267.5 103.5 73.3 0 145.2-20.3 207.7-58.7 37.3-22.9 70.3-51.5 98.1-85 27.1-32.7 48.7-69.5 64.2-109.1 15.5-39.7 24.4-81.3 26.6-123.8 2.4-43.6-2.5-87-14.5-129zm-60.5 181.1c-8.3 37-22.8 72-43 104-19.7 31.1-44.3 58.6-73.1 81.7-28.8 23.1-61 41-95.7 53.4-35.6 12.7-72.9 19.1-110.9 19.1-82.6 0-161.7-30.6-222.8-86.2l-34.1-35.8c-23.9-29.3-42.4-62.2-55.1-97.7-12.4-34.7-18.8-71-19.2-107.9-.4-36.9 5.4-73.3 17.1-108.2 12-35.8 30-69.2 53.4-99.1 31.7-40.4 71.1-72 117.2-94.1 44.5-21.3 94-32.6 143.4-32.6 49.3 0 97 10.8 141.8 32 34.3 16.3 65.3 38.1 92 64.8 26.1 26 47.5 56 63.6 89.2 16.2 33.2 26.6 68.5 31 105.1 4.6 37.5 2.7 75.3-5.6 112.3z",fill:"currentColor"})),nu=()=>ce("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[ce("path",{d:"M784 112H240c-88 0-160 72-160 160v480c0 88 72 160 160 160h544c88 0 160-72 160-160V272c0-88-72-160-160-160zm96 640c0 52.8-43.2 96-96 96H240c-52.8 0-96-43.2-96-96V272c0-52.8 43.2-96 96-96h544c52.8 0 96 43.2 96 96v480z",fill:"currentColor"}),ce("path",{d:"M352 480c52.8 0 96-43.2 96-96s-43.2-96-96-96-96 43.2-96 96 43.2 96 96 96zm0-128c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32zm462.4 379.2-3.2-3.2-177.6-177.6c-25.6-25.6-65.6-25.6-91.2 0l-80 80-36.8-36.8c-25.6-25.6-65.6-25.6-91.2 0L200 728c-4.8 6.4-8 14.4-8 24 0 17.6 14.4 32 32 32 9.6 0 16-3.2 22.4-9.6L380.8 640l134.4 134.4c6.4 6.4 14.4 9.6 24 9.6 17.6 0 32-14.4 32-32 0-9.6-4.8-17.6-9.6-24l-52.8-52.8 80-80L769.6 776c6.4 4.8 12.8 8 20.8 8 17.6 0 32-14.4 32-32 0-8-3.2-16-8-20.8z",fill:"currentColor"})]),ou=({active:e=!1})=>ce("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[ce("path",{d:"M850.654 323.804c-11.042-25.625-26.862-48.532-46.885-68.225-20.022-19.61-43.258-34.936-69.213-45.73-26.78-11.124-55.124-16.727-84.375-16.727-40.622 0-80.256 11.123-114.698 32.135A214.79 214.79 0 0 0 512 241.819a214.79 214.79 0 0 0-23.483-16.562c-34.442-21.012-74.076-32.135-114.698-32.135-29.25 0-57.595 5.603-84.375 16.727-25.872 10.711-49.19 26.12-69.213 45.73-20.105 19.693-35.843 42.6-46.885 68.225-11.453 26.615-17.303 54.877-17.303 83.963 0 27.439 5.603 56.03 16.727 85.117 9.31 24.307 22.659 49.52 39.715 74.981 27.027 40.293 64.188 82.316 110.33 124.915 76.465 70.615 152.189 119.394 155.402 121.371l19.528 12.525c8.652 5.52 19.776 5.52 28.427 0l19.529-12.525c3.213-2.06 78.854-50.756 155.401-121.371 46.143-42.6 83.304-84.622 110.33-124.915 17.057-25.46 30.487-50.674 39.716-74.981 11.124-29.087 16.727-57.678 16.727-85.117.082-29.086-5.768-57.348-17.221-83.963z"+(e?"":"M512 761.5S218.665 573.55 218.665 407.767c0-83.963 69.461-152.023 155.154-152.023 60.233 0 112.473 33.618 138.181 82.727 25.708-49.109 77.948-82.727 138.18-82.727 85.694 0 155.155 68.06 155.155 152.023C805.335 573.551 512 761.5 512 761.5z"),fill:e?"red":"currentColor"})]),ru=()=>ce("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},[ce("path",{d:"M710.816 654.301c70.323-96.639 61.084-230.578-23.705-314.843-46.098-46.098-107.183-71.109-172.28-71.109-65.008 0-126.092 25.444-172.28 71.109-45.227 46.098-70.756 107.183-70.756 172.106 0 64.923 25.444 126.007 71.194 172.106 46.099 46.098 107.184 71.109 172.28 71.109 51.414 0 100.648-16.212 142.824-47.404l126.53 126.006c7.058 7.06 16.297 10.979 26.406 10.979 10.105 0 19.343-3.919 26.402-10.979 14.467-14.467 14.467-38.172 0-52.723L710.816 654.301zm-315.107-23.265c-65.88-65.88-65.88-172.54 0-238.42 32.069-32.07 74.245-49.149 119.471-49.149 45.227 0 87.407 17.603 119.472 49.149 65.88 65.879 65.88 172.539 0 238.42-63.612 63.178-175.242 63.178-238.943 0zm0 0",fill:"currentColor"}),ce("path",{d:"M703.319 121.603H321.03c-109.8 0-199.469 89.146-199.469 199.38v382.034c0 109.796 89.236 199.38 199.469 199.38h207.397c20.653 0 37.384-16.645 37.384-37.299 0-20.649-16.731-37.296-37.384-37.296H321.03c-68.582 0-124.352-55.77-124.352-124.267V321.421c0-68.496 55.77-124.267 124.352-124.267h382.289c68.582 0 124.352 55.771 124.352 124.267V524.72c0 20.654 16.736 37.299 37.385 37.299 20.654 0 37.384-16.645 37.384-37.299V320.549c-.085-109.8-89.321-198.946-199.121-198.946zm0 0",fill:"currentColor"})]),su=()=>ce("svg",{width:"16",height:"16",ariaHidden:"true"},ce("path",{d:"M14.85 3H1.15C.52 3 0 3.52 0 4.15v7.69C0 12.48.52 13 1.15 13h13.69c.64 0 1.15-.52 1.15-1.15v-7.7C16 3.52 15.48 3 14.85 3zM9 11H7V8L5.5 9.92 4 8v3H2V5h2l1.5 2L7 5h2v6zm2.99.5L9.5 8H11V5h2v3h1.5l-2.51 3.5z",fill:"currentColor"})),lu=()=>ce("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},ce("path",{d:"M810.667 213.333a64 64 0 0 1 64 64V704a64 64 0 0 1-64 64H478.336l-146.645 96.107a21.333 21.333 0 0 1-33.024-17.856V768h-85.334a64 64 0 0 1-64-64V277.333a64 64 0 0 1 64-64h597.334zm0 64H213.333V704h149.334v63.296L459.243 704h351.424V277.333zm-271.36 213.334v64h-176.64v-64h176.64zm122.026-128v64H362.667v-64h298.666z",fill:"currentColor"})),iu=()=>ce("svg",{viewBox:"0 0 1024 1024",width:"24",height:"24"},ce("path",{d:"M813.039 318.772L480.53 651.278H360.718V531.463L693.227 198.961C697.904 194.284 704.027 192 710.157 192C716.302 192 722.436 194.284 727.114 198.961L813.039 284.88C817.72 289.561 820 295.684 820 301.825C820 307.95 817.72 314.093 813.039 318.772ZM710.172 261.888L420.624 551.431V591.376H460.561L750.109 301.825L710.172 261.888ZM490.517 291.845H240.906V771.09H720.156V521.479C720.156 504.947 733.559 491.529 750.109 491.529C766.653 491.529 780.063 504.947 780.063 521.479V791.059C780.063 813.118 762.18 831 740.125 831H220.937C198.882 831 181 813.118 181 791.059V271.872C181 249.817 198.882 231.935 220.937 231.935H490.517C507.06 231.935 520.47 245.352 520.47 261.888C520.47 278.424 507.06 291.845 490.517 291.845Z",fill:"currentColor"})),au=()=>ce("svg",{class:"verified-icon",viewBox:"0 0 1024 1024",width:"14",height:"14"},ce("path",{d:"m894.4 461.56-54.4-63.2c-10.4-12-18.8-34.4-18.8-50.4v-68c0-42.4-34.8-77.2-77.2-77.2h-68c-15.6 0-38.4-8.4-50.4-18.8l-63.2-54.4c-27.6-23.6-72.8-23.6-100.8 0l-62.8 54.8c-12 10-34.8 18.4-50.4 18.4h-69.2c-42.4 0-77.2 34.8-77.2 77.2v68.4c0 15.6-8.4 38-18.4 50l-54 63.6c-23.2 27.6-23.2 72.4 0 100l54 63.6c10 12 18.4 34.4 18.4 50v68.4c0 42.4 34.8 77.2 77.2 77.2h69.2c15.6 0 38.4 8.4 50.4 18.8l63.2 54.4c27.6 23.6 72.8 23.6 100.8 0l63.2-54.4c12-10.4 34.4-18.8 50.4-18.8h68c42.4 0 77.2-34.8 77.2-77.2v-68c0-15.6 8.4-38.4 18.8-50.4l54.4-63.2c23.2-27.6 23.2-73.2-.4-100.8zm-216-25.2-193.2 193.2a30 30 0 0 1-42.4 0l-96.8-96.8a30.16 30.16 0 0 1 0-42.4c11.6-11.6 30.8-11.6 42.4 0l75.6 75.6 172-172c11.6-11.6 30.8-11.6 42.4 0 11.6 11.6 11.6 30.8 0 42.4z",fill:"#27ae60"})),On=({size:e=100})=>ce("svg",{width:e,height:e,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},ce("circle",{cx:50,cy:50,fill:"none",stroke:"currentColor",strokeWidth:"4",r:"40","stroke-dasharray":"85 30"},ce("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1s",values:"0 50 50;360 50 50",keyTimes:"0;1"}))),cu=()=>ce("svg",{width:24,height:24,fill:"currentcolor",viewBox:"0 0 24 24"},[ce("path",{style:"transform: translateY(0.5px)",d:"M18.968 10.5H15.968V11.484H17.984V12.984H15.968V15H14.468V9H18.968V10.5V10.5ZM8.984 9C9.26533 9 9.49967 9.09367 9.687 9.281C9.87433 9.46833 9.968 9.70267 9.968 9.984V10.5H6.499V13.5H8.468V12H9.968V14.016C9.968 14.2973 9.87433 14.5317 9.687 14.719C9.49967 14.9063 9.26533 15 8.984 15H5.984C5.70267 15 5.46833 14.9063 5.281 14.719C5.09367 14.5317 5 14.2973 5 14.016V9.985C5 9.70367 5.09367 9.46933 5.281 9.282C5.46833 9.09467 5.70267 9.001 5.984 9.001H8.984V9ZM11.468 9H12.968V15H11.468V9V9Z"}),ce("path",{d:"M18.5 3H5.75C3.6875 3 2 4.6875 2 6.75V18C2 20.0625 3.6875 21.75 5.75 21.75H18.5C20.5625 21.75 22.25 20.0625 22.25 18V6.75C22.25 4.6875 20.5625 3 18.5 3ZM20.75 18C20.75 19.2375 19.7375 20.25 18.5 20.25H5.75C4.5125 20.25 3.5 19.2375 3.5 18V6.75C3.5 5.5125 4.5125 4.5 5.75 4.5H18.5C19.7375 4.5 20.75 5.5125 20.75 6.75V18Z"})]),il=null,gi=()=>il||(il=on("WALINE_LIKE",[])),al=null,uu=()=>al??(al=on("WALINE_REACTION",{})),_o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mi={},Yt={},Mn={},pu=_o&&_o.__awaiter||function(e,t,n,o){return new(n||(n=Promise))(function(r,l){function i(c){try{a(o.next(c))}catch(u){l(u)}}function s(c){try{a(o.throw(c))}catch(u){l(u)}}function a(c){var u;c.done?r(c.value):(u=c.value,u instanceof n?u:new n(function(p){p(u)})).then(i,s)}a((o=o.apply(e,t||[])).next())})},du=_o&&_o.__generator||function(e,t){var n,o,r,l,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(a){return function(c){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,o&&(r=2&u[0]?o.return:u[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;switch(o=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,o=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!((r=r.length>0&&r[r.length-1])||u[0]!==6&&u[0]!==2)){i=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]"u")return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===Tt.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===Tt.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(r,l){e.successfulLoadingConsumers.push(function(i){return r(i)}),e.errorLoadingRunnable.push(function(i){return l(i)})});e.instanceSiteKey=t,e.setLoadingState(Tt.LOADING);var o=new e;return new Promise(function(r,l){o.loadScript(t,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(Tt.LOADED);var i=o.doExplicitRender(grecaptcha,t,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),s=new fu.ReCaptchaInstance(t,i,grecaptcha);e.successfulLoadingConsumers.forEach(function(a){return a(s)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&s.hideBadge(),e.instance=s,r(s)}).catch(function(i){e.errorLoadingRunnable.forEach(function(s){return s(i)}),e.errorLoadingRunnable=[],l(i)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return e.loadingState===null?Tt.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,o,r,l){var i=this;n===void 0&&(n=!1),o===void 0&&(o=!1),r===void 0&&(r={}),l===void 0&&(l="");var s=document.createElement("script");s.setAttribute("recaptcha-v3-script","");var a="https://www.google.com/recaptcha/api.js";n&&(a=o?"https://recaptcha.net/recaptcha/enterprise.js":"https://recaptcha.net/recaptcha/api.js"),o&&(a="https://www.google.com/recaptcha/enterprise.js"),l&&(a=l),r.render&&(r.render=void 0);var c=this.buildQueryString(r);return s.src=a+"?render=explicit"+c,new Promise(function(u,p){s.addEventListener("load",i.waitForScriptToLoad(function(){u(s)},o),!1),s.onerror=function(h){e.setLoadingState(Tt.NOT_LOADED),p(h)},document.head.appendChild(s)})},e.prototype.buildQueryString=function(t){return Object.keys(t).length<1?"":"&"+Object.keys(t).filter(function(n){return!!t[n]}).map(function(n){return n+"="+t[n]}).join("&")},e.prototype.waitForScriptToLoad=function(t,n){var o=this;return function(){window.grecaptcha===void 0?setTimeout(function(){o.waitForScriptToLoad(t,n)},e.SCRIPT_LOAD_DELAY):n?window.grecaptcha.enterprise.ready(function(){t()}):window.grecaptcha.ready(function(){t()})}},e.prototype.doExplicitRender=function(t,n,o,r){var l={sitekey:n,badge:o.badge,size:o.size,tabindex:o.tabindex};return o.container?r?t.enterprise.render(o.container,l):t.render(o.container,l):r?t.enterprise.render(l):t.render(l)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();Yt.load=cl.load,Yt.getInstance=cl.getInstance,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=e.getInstance=e.load=void 0;var t=Yt;Object.defineProperty(e,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(e,"getInstance",{enumerable:!0,get:function(){return t.getInstance}});var n=Mn;Object.defineProperty(e,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})}(mi);var ul={},pl=null,Or=()=>pl??(pl=on("WALINE_USER",{})),gu={key:0,class:"wl-reaction"},mu=["textContent"],yu={class:"wl-reaction-list"},vu=["onClick"],bu={class:"wl-reaction-img"},wu=["src","alt"],xu=["textContent"],ku=["textContent"],_u=Bn({__name:"ArticleReaction",setup(e,{expose:t}){t();let n=uu(),o=Ro("config"),r=te(-1),l=te([]),i=Ie(()=>o.value.locale),s=Ie(()=>o.value.reaction.length>0),a=Ie(()=>{let{reaction:u,path:p}=o.value;return u.map((h,y)=>({icon:h,desc:i.value[`reaction${y}`],active:n.value[p]===y}))}),c;return Nn(()=>{Qe(()=>[o.value.serverURL,o.value.path],()=>{(async()=>{if(s.value){let{serverURL:u,lang:p,path:h,reaction:y}=o.value,b=new AbortController;c=b.abort.bind(b);let m=await gl({serverURL:u,lang:p,paths:[h],type:y.map((f,v)=>`reaction${v}`),signal:b.signal});if(Array.isArray(m)||typeof m=="number")return;l.value=y.map((f,v)=>m[`reaction${v}`])}})()},{immediate:!0})}),Lo(()=>c?.()),(u,p)=>a.value.length?(B(),F("div",gu,[W("div",{class:"wl-reaction-title",textContent:le(i.value.reactionTitle)},null,8,mu),W("ul",yu,[(B(!0),F(be,null,nt(a.value,({active:h,icon:y,desc:b},m)=>(B(),F("li",{key:m,class:Se(["wl-reaction-item",{active:h}]),onClick:f=>(async v=>{if(r.value===-1){let{serverURL:w,lang:T,path:L}=o.value,M=n.value[L];r.value=v,M!==void 0&&(await er({serverURL:w,lang:T,path:L,type:`reaction${M}`,action:"desc"}),l.value[M]=Math.max(l.value[M]-1,0)),M!==v&&(await er({serverURL:w,lang:T,path:L,type:`reaction${v}`}),l.value[v]=(l.value[v]||0)+1),M===v?delete n.value[L]:n.value[L]=v,r.value=-1}})(m)},[W("div",bu,[W("img",{src:y,alt:b},null,8,wu),r.value===m?(B(),kt(ne(On),{key:0,class:"wl-reaction-loading"})):(B(),F("div",{key:1,class:"wl-reaction-votes",textContent:le(l.value[m]||0)},null,8,xu))]),W("div",{class:"wl-reaction-text",textContent:le(b)},null,8,ku)],10,vu))),128))])])):re("v-if",!0)}}),Pn=(e,t)=>{let n=e.__vccOpts||e;for(let[o,r]of t)n[o]=r;return n},Cu=Pn(_u,[["__file","ArticleReaction.vue"]]),vn=new Map;function $u(e){var t=vn.get(e);t&&t.destroy()}function Su(e){var t=vn.get(e);t&&t.update()}var hn=null;typeof window>"u"?((hn=function(e){return e}).destroy=function(e){return e},hn.update=function(e){return e}):((hn=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(n){return function(o){if(o&&o.nodeName&&o.nodeName==="TEXTAREA"&&!vn.has(o)){var r,l=null,i=window.getComputedStyle(o),s=(r=o.value,function(){c({testForHeightReduction:r===""||!o.value.startsWith(r),restoreTextAlign:null}),r=o.value}),a=function(p){o.removeEventListener("autosize:destroy",a),o.removeEventListener("autosize:update",u),o.removeEventListener("input",s),window.removeEventListener("resize",u),Object.keys(p).forEach(function(h){return o.style[h]=p[h]}),vn.delete(o)}.bind(o,{height:o.style.height,resize:o.style.resize,textAlign:o.style.textAlign,overflowY:o.style.overflowY,overflowX:o.style.overflowX,wordWrap:o.style.wordWrap});o.addEventListener("autosize:destroy",a),o.addEventListener("autosize:update",u),o.addEventListener("input",s),window.addEventListener("resize",u),o.style.overflowX="hidden",o.style.wordWrap="break-word",vn.set(o,{destroy:a,update:u}),u()}function c(p){var h,y,b=p.restoreTextAlign,m=b===void 0?null:b,f=p.testForHeightReduction,v=f===void 0||f,w=i.overflowY;if(o.scrollHeight!==0&&(i.resize==="vertical"?o.style.resize="none":i.resize==="both"&&(o.style.resize="horizontal"),v&&(h=function(L){for(var M=[];L&&L.parentNode&&L.parentNode instanceof Element;)L.parentNode.scrollTop&&M.push([L.parentNode,L.parentNode.scrollTop]),L=L.parentNode;return function(){return M.forEach(function(q){var V=q[0],D=q[1];V.style.scrollBehavior="auto",V.scrollTop=D,V.style.scrollBehavior=null})}}(o),o.style.height=""),y=i.boxSizing==="content-box"?o.scrollHeight-(parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)):o.scrollHeight+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),i.maxHeight!=="none"&&y>parseFloat(i.maxHeight)?(i.overflowY==="hidden"&&(o.style.overflow="scroll"),y=parseFloat(i.maxHeight)):i.overflowY!=="hidden"&&(o.style.overflow="hidden"),o.style.height=y+"px",m&&(o.style.textAlign=m),h&&h(),l!==y&&(o.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),l=y),w!==i.overflow&&!m)){var T=i.textAlign;i.overflow==="hidden"&&(o.style.textAlign=T==="start"?"end":"start"),c({restoreTextAlign:T,testForHeightReduction:!0})}}function u(){c({testForHeightReduction:!0,restoreTextAlign:null})}}(n)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],$u),e},hn.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],Su),e});var dl=hn,Eu=["data-index"],Tu=["src","title","onClick"],Iu=Bn({__name:"ImageWall",props:{items:{default:()=>[]},columnWidth:{default:300},gap:{default:0}},emits:["insert"],setup(e,{expose:t}){let n=e;t();let o=null,r=te(null),l=te({}),i=te([]),s=()=>{let p=Math.floor((r.value.getBoundingClientRect().width+n.gap)/(n.columnWidth+n.gap));return p>0?p:1},a=async p=>{if(p>=n.items.length)return;await Io();let h=Array.from(r.value?.children||[]).reduce((y,b)=>b.getBoundingClientRect().height{if(i.value.length===s()&&!p)return;var h;i.value=(h=s(),new Array(h).fill(null).map(()=>[]));let y=window.scrollY;await a(0),window.scrollTo({top:y})},u=p=>{l.value[p.target.src]=!0};return Nn(()=>{c(!0),o=new ResizeObserver(()=>{c()}),o.observe(r.value),Qe(()=>[n.items],()=>{l.value={},c(!0)}),Qe(()=>[n.columnWidth,n.gap],()=>{c()})}),za(()=>o.unobserve(r.value)),(p,h)=>(B(),F("div",{ref_key:"wall",ref:r,class:"wl-gallery",style:xn({gap:`${p.gap}px`})},[(B(!0),F(be,null,nt(i.value,(y,b)=>(B(),F("div",{key:b,class:"wl-gallery-column","data-index":b,style:xn({gap:`${p.gap}px`})},[(B(!0),F(be,null,nt(y,m=>(B(),F(be,{key:m},[l.value[p.items[m].src]?re("v-if",!0):(B(),kt(ne(On),{key:0,size:36,style:{margin:"20px auto"}})),W("img",{class:"wl-gallery-item",src:p.items[m].src,title:p.items[m].title,loading:"lazy",onLoad:u,onClick:f=>p.$emit("insert",``)},null,40,Tu)],64))),128))],12,Eu))),128))],4))}}),Lu=Pn(Iu,[["__file","ImageWall.vue"]]),Ru={class:"wl-comment"},Au={key:0,class:"wl-login-info"},Ou={class:"wl-avatar"},Mu=["title"],zu=["title"],ju=["src"],Bu=["title","textContent"],Nu={class:"wl-panel"},Pu=["for","textContent"],Hu=["id","onUpdate:modelValue","name","type"],Uu=["placeholder"],qu={class:"wl-preview"},Fu=W("hr",null,null,-1),Du=["innerHTML"],Gu={class:"wl-footer"},Vu={class:"wl-actions"},Wu={href:"https://guides.github.com/features/mastering-markdown/",title:"Markdown Guide","aria-label":"Markdown is supported",class:"wl-action",target:"_blank",rel:"noopener noreferrer"},Ju=["title"],Zu=["title"],Ku=["title"],Xu=["title"],Qu={class:"wl-info"},Yu=W("div",{class:"wl-captcha-container"},null,-1),ep={class:"wl-text-number"},tp={key:0},np=["textContent"],op=["textContent"],rp=["disabled"],sp=["placeholder"],lp={key:1,class:"wl-loading"},ip={key:0,class:"wl-tab-wrapper"},ap=["title","onClick"],cp=["src","alt"],up={key:0,class:"wl-tabs"},pp=["onClick"],dp=["src","alt","title"],hp=["title"],fp=Bn({__name:"CommentBox",props:{edit:{default:null},rootId:{default:""},replyId:{default:""},replyUser:{default:""}},emits:["log","cancelEdit","cancelReply","submit"],setup(e,{expose:t,emit:n}){let o=e;t();let r=Ro("config"),l=on("WALINE_COMMENT_BOX_EDITOR",""),i=on("WALINE_USER_META",{nick:"",mail:"",link:""}),s=Or(),a=te({}),c=te(null),u=te(null),p=te(null),h=te(null),y=te(null),b=te(null),m=te(null),f=te({tabs:[],map:{}}),v=te(0),w=te(!1),T=te(!1),L=te(!1),M=te(""),q=te(0),V=$n({loading:!0,list:[]}),D=te(0),pe=te(!1),Be=te(""),Ze=te(!1),J=te(!1),K=Ie(()=>r.value.locale),Y=Ie(()=>Boolean(s.value?.token)),oe=Ie(()=>r.value.imageUploader!==!1),de=P=>{let N=c.value,d=N.selectionStart,g=N.selectionEnd||0,x=N.scrollTop;l.value=N.value.substring(0,d)+P+N.value.substring(g,N.value.length),N.focus(),N.selectionStart=d+P.length,N.selectionEnd=d+P.length,N.scrollTop=x},ye=P=>{let N=P.key;(P.ctrlKey||P.metaKey)&&N==="Enter"&&Ee()},ke=P=>{let N=`![${r.value.locale.uploading} ${P.name}]()`;return de(N),Promise.resolve().then(()=>r.value.imageUploader(P)).then(d=>{l.value=l.value.replace(N,`\r
`)}).catch(d=>{alert(d.message),l.value=l.value.replace(N,"")})},Fe=P=>{if(P.dataTransfer?.items){let N=Qs(P.dataTransfer.items);N&&oe.value&&(ke(N),P.preventDefault())}},Ve=P=>{if(P.clipboardData){let N=Qs(P.clipboardData.items);N&&oe.value&&ke(N)}},Ke=()=>{let P=u.value;P.files&&oe.value&&ke(P.files[0]).then(()=>{P.value=""})},Ee=async()=>{let{serverURL:P,lang:N,login:d,wordLimit:g,requiredMeta:x,recaptchaV3Key:C,turnstileKey:_}=r.value,E=await(async()=>{if(!navigator)return"";let{userAgentData:k}=navigator,O=navigator.userAgent;if(!k||k.platform!=="Windows")return O;let{platformVersion:A}=await k.getHighEntropyValues(["platformVersion"]);return A&&parseInt(A.split(".")[0])>=13&&(O=O.replace("Windows NT 10.0","Windows NT 11.0")),O})(),R={comment:Be.value,nick:i.value.nick,mail:i.value.mail,link:i.value.link,url:r.value.path,ua:E};if(s.value?.token)R.nick=s.value.display_name,R.mail=s.value.email,R.link=s.value.url;else{if(d==="force")return;if(x.indexOf("nick")>-1&&!R.nick)return a.value.nick?.focus(),alert(K.value.nickError);if(x.indexOf("mail")>-1&&!R.mail||R.mail&&(I=R.mail,!Qi.test(I)))return a.value.mail?.focus(),alert(K.value.mailError);R.nick||(R.nick=K.value.anonymous)}var I;if(R.comment){if(!pe.value)return alert(K.value.wordHint.replace("$0",g[0].toString()).replace("$1",g[1].toString()).replace("$2",q.value.toString()));R.comment=fi(R.comment,f.value.map),o.replyId&&o.rootId&&(R.pid=o.replyId,R.rid=o.rootId,R.at=o.replyUser),Ze.value=!0;try{C&&(R.recaptchaV3=await(A=>{let z=ul[A]??(ul[A]=mi.load(A,{useRecaptchaNet:!0,autoHideBadge:!0}));return{execute:j=>z.then(U=>U.execute(j))}})(C).execute("social")),_&&(R.turnstile=await(S=_,{execute:A=>new Promise(z=>{Ac("https://challenges.cloudflare.com/turnstile/v0/api.js",()=>{let j=window?.turnstile,U={sitekey:S,action:A,size:"compact",callback(G){z(G)}};j?.ready(()=>j?.render(".wl-captcha-container",U))},{async:!1})})}).execute("social"));let k={serverURL:P,lang:N,token:s.value?.token,comment:R},O=await(o.edit?to({objectId:o.edit.objectId,...k}):(({serverURL:A,lang:z,token:j,comment:U})=>{let G={"Content-Type":"application/json"};return j&&(G.Authorization=`Bearer ${j}`),GM_fetch(`${A}/comment?lang=${z}`,{method:"POST",headers:G,body:JSON.stringify(U)}).then(ee=>ee.json())})(k));if(Ze.value=!1,O.errmsg)return alert(O.errmsg);n("submit",O.data),l.value="",M.value="",o.replyId&&n("cancelReply"),o.edit?.objectId&&n("cancelEdit")}catch(k){Ze.value=!1,alert(k.message)}var S}else c.value?.focus()},Ne=P=>{P.preventDefault();let{lang:N,serverURL:d}=r.value;(({lang:g,serverURL:x})=>{let C=(window.innerWidth-450)/2,_=(window.innerHeight-450)/2,E=window.open(`${x}/ui/login?lng=${encodeURIComponent(g)}`,"_blank",`width=450,height=450,left=${C},top=${_},scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no`);return E?.postMessage({type:"TOKEN",data:null},"*"),new Promise(R=>{let I=({data:S})=>{S&&typeof S=="object"&&S.type==="userInfo"&&S.data.token&&(E?.close(),window.removeEventListener("message",I),R(S.data))};window.addEventListener("message",I)})})({serverURL:d,lang:N}).then(g=>{s.value=g,(g.remember?localStorage:sessionStorage).setItem("WALINE_USER",JSON.stringify(g)),n("log")})},rt=()=>{s.value={},localStorage.setItem("WALINE_USER","null"),sessionStorage.setItem("WALINE_USER","null"),n("log")},dt=P=>{P.preventDefault();let{lang:N,serverURL:d}=r.value,g=(window.innerWidth-800)/2,x=(window.innerHeight-800)/2,C=new URLSearchParams({lng:N,token:s.value.token});window.open(`${d}/ui/profile?${C.toString()}`,"_blank",`width=800,height=800,left=${g},top=${x},scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no`)?.postMessage({type:"TOKEN",data:s.value.token},"*")},$e=P=>{p.value?.contains(P.target)||h.value?.contains(P.target)||(w.value=!1),y.value?.contains(P.target)||b.value?.contains(P.target)||(T.value=!1)},et=async P=>{let{scrollTop:N,clientHeight:d,scrollHeight:g}=P.target,x=(d+N)/g,C=r.value.search,_=m.value?.value||"";x<.9||V.loading||J.value||(V.loading=!0,(C.more&&V.list.length?await C.more(_,V.list.length):await C.search(_)).length?V.list=[...V.list,...C.more&&V.list.length?await C.more(_,V.list.length):await C.search(_)]:J.value=!0,V.loading=!1,setTimeout(()=>{P.target.scrollTop=N},50))},ht=uc(P=>{V.list=[],J.value=!1,et(P)},300);Qe([r,q],([P,N])=>{let{wordLimit:d}=P;d?Nd[1]?(D.value=d[1],pe.value=!1):(D.value=d[1],pe.value=!0):(D.value=0,pe.value=!0)},{immediate:!0});let st=({data:P})=>{P&&P.type==="profile"&&(s.value={...s.value,...P.data},[localStorage,sessionStorage].filter(N=>N.getItem("WALINE_USER")).forEach(N=>N.setItem("WALINE_USER",JSON.stringify(s))))};return Nn(()=>{document.body.addEventListener("click",$e),window.addEventListener("message",st),o.edit?.objectId&&(l.value=o.edit.orig),Qe(T,async P=>{if(!P)return;let N=r.value.search;m.value&&(m.value.value=""),V.loading=!0,V.list=N.default?await N.default():await N.search(""),V.loading=!1}),Qe(()=>l.value,P=>{let{highlighter:N,texRenderer:d}=r.value;Be.value=P,M.value=Qc(P,{emojiMap:f.value.map,highlighter:N,texRenderer:d}),q.value=(g=>((x=>x.match(/[\w\d\s,.\u00C0-\u024F\u0400-\u04FF]+/giu))(g)?.reduce((x,C)=>x+(C.trim()===""?0:C.trim().split(/\s+/u).length),0)||0)+((x=>x.match(/[\u4E00-\u9FD5]/gu))(g)?.length||0))(P),P?dl(c.value):dl.destroy(c.value)},{immediate:!0}),Qe(()=>r.value.emoji,P=>{return(N=P,Promise.all(N.map(d=>typeof d=="string"?Mc(yl(d)):Promise.resolve(d))).then(d=>{let g={tabs:[],map:{}};return d.forEach(x=>{let{name:C,folder:_,icon:E,prefix:R,type:I,items:S}=x;g.tabs.push({name:C,icon:Xs(E,_,R,I),items:S.map(k=>{let O=`${R||""}${k}`;return g.map[O]=Xs(k,_,R,I),O})})}),g})).then(d=>{f.value=d});var N},{immediate:!0})}),Lo(()=>{document.body.removeEventListener("click",$e),window.removeEventListener("message",st)}),(P,N)=>(B(),F("div",Ru,[ne(r).login!=="disable"&&Y.value&&!P.edit?.objectId?(B(),F("div",Au,[W("div",Ou,[W("button",{type:"submit",class:"wl-logout-btn",title:K.value.logout,onClick:rt},[he(ne(ll),{size:14})],8,Mu),W("a",{href:"#",class:"wl-login-nick","aria-label":"Profile",title:K.value.profile,onClick:dt},[W("img",{src:ne(s).avatar,alt:"avatar"},null,8,ju)],8,zu)]),W("a",{href:"#",class:"wl-login-nick","aria-label":"Profile",title:K.value.profile,onClick:dt,textContent:le(ne(s).display_name)},null,8,Bu)])):re("v-if",!0),W("div",Nu,[ne(r).login!=="force"&&ne(r).meta.length&&!Y.value?(B(),F("div",{key:0,class:Se(["wl-header",`item${ne(r).meta.length}`])},[(B(!0),F(be,null,nt(ne(r).meta,d=>(B(),F("div",{key:d,class:"wl-header-item"},[W("label",{for:`wl-${d}`,textContent:le(K.value[d]+(ne(r).requiredMeta.includes(d)||!ne(r).requiredMeta.length?"":`(${K.value.optional})`))},null,8,Pu),Kn(W("input",{id:`wl-${d}`,ref_for:!0,ref:g=>{g&&(a.value[d]=g)},"onUpdate:modelValue":g=>ne(i)[d]=g,class:Se(["wl-input",`wl-${d}`]),name:d,type:d==="mail"?"email":"text"},null,10,Hu),[[ic,ne(i)[d]]])]))),128))],2)):re("v-if",!0),Kn(W("textarea",{id:"wl-edit",ref_key:"editorRef",ref:c,"onUpdate:modelValue":N[0]||(N[0]=d=>Le(l)?l.value=d:null),class:"wl-editor",placeholder:P.replyUser?`@${P.replyUser}`:K.value.placeholder,onKeydown:ye,onDrop:Fe,onPaste:Ve},null,40,Uu),[[gr,ne(l)]]),Kn(W("div",qu,[Fu,W("h4",null,le(K.value.preview)+":",1),W("div",{class:"wl-content",innerHTML:M.value},null,8,Du)],512),[[Ps,L.value]]),W("div",Gu,[W("div",Vu,[W("a",Wu,[he(ne(su))]),Kn(W("button",{ref_key:"emojiButtonRef",ref:p,type:"button",class:Se(["wl-action",{active:w.value}]),title:K.value.emoji,onClick:N[1]||(N[1]=d=>w.value=!w.value)},[he(ne(tu))],10,Ju),[[Ps,f.value.tabs.length]]),ne(r).search?(B(),F("button",{key:0,ref_key:"gifButtonRef",ref:y,type:"button",class:Se(["wl-action",{active:T.value}]),title:K.value.gif,onClick:N[2]||(N[2]=d=>T.value=!T.value)},[he(ne(cu))],10,Zu)):re("v-if",!0),W("input",{id:"wl-image-upload",ref_key:"imageUploadRef",ref:u,class:"upload",type:"file",accept:".png,.jpg,.jpeg,.webp,.bmp,.gif",onChange:Ke},null,544),oe.value?(B(),F("label",{key:1,for:"wl-image-upload",class:"wl-action",title:K.value.uploadImage},[he(ne(nu))],8,Ku)):re("v-if",!0),W("button",{type:"button",class:Se(["wl-action",{active:L.value}]),title:K.value.preview,onClick:N[3]||(N[3]=d=>L.value=!L.value)},[he(ne(ru))],10,Xu)]),W("div",Qu,[Yu,W("div",ep,[Lt(le(q.value)+" ",1),ne(r).wordLimit?(B(),F("span",tp,[Lt(" / "),W("span",{class:Se({illegal:!pe.value}),textContent:le(D.value)},null,10,np)])):re("v-if",!0),Lt(" "+le(K.value.word),1)]),ne(r).login==="disable"||Y.value?re("v-if",!0):(B(),F("button",{key:0,type:"button",class:"wl-btn",onClick:Ne,textContent:le(K.value.login)},null,8,op)),ne(r).login!=="force"||Y.value?(B(),F("button",{key:1,type:"submit",class:"primary wl-btn",title:"Cmd|Ctrl + Enter",disabled:Ze.value,onClick:Ee},[Ze.value?(B(),kt(ne(On),{key:0,size:16})):(B(),F(be,{key:1},[Lt(le(K.value.submit),1)],64))],8,rp)):re("v-if",!0)]),W("div",{ref_key:"gifPopupRef",ref:b,class:Se(["wl-gif-popup",{display:T.value}])},[W("input",{ref_key:"gifSearchInputRef",ref:m,type:"text",placeholder:K.value.gifSearchPlaceholder,onInput:N[4]||(N[4]=(...d)=>ne(ht)&&ne(ht)(...d))},null,40,sp),V.list.length?(B(),kt(Lu,{key:0,items:V.list,"column-width":200,gap:6,onInsert:N[5]||(N[5]=d=>de(d)),onScroll:et},null,8,["items"])):re("v-if",!0),V.loading?(B(),F("div",lp,[he(ne(On),{size:30})])):re("v-if",!0)],2),W("div",{ref_key:"emojiPopupRef",ref:h,class:Se(["wl-emoji-popup",{display:w.value}])},[(B(!0),F(be,null,nt(f.value.tabs,(d,g)=>(B(),F(be,{key:d.name},[g===v.value?(B(),F("div",ip,[(B(!0),F(be,null,nt(d.items,x=>(B(),F("button",{key:x,type:"button",title:x,onClick:C=>de(`:${x}:`)},[w.value?(B(),F("img",{key:0,class:"wl-emoji",src:f.value.map[x],alt:x,loading:"lazy",referrerPolicy:"no-referrer"},null,8,cp)):re("v-if",!0)],8,ap))),128))])):re("v-if",!0)],64))),128)),f.value.tabs.length>1?(B(),F("div",up,[(B(!0),F(be,null,nt(f.value.tabs,(d,g)=>(B(),F("button",{key:d.name,type:"button",class:Se(["wl-tab",{active:v.value===g}]),onClick:x=>v.value=g},[W("img",{class:"wl-emoji",src:d.icon,alt:d.name,title:d.name,loading:"lazy",referrerPolicy:"no-referrer"},null,8,dp)],10,pp))),128))])):re("v-if",!0)],2)])]),P.replyId||P.edit?.objectId?(B(),F("button",{key:1,type:"button",class:"wl-close",title:K.value.cancelReply,onClick:N[6]||(N[6]=d=>P.$emit(P.replyId?"cancelReply":"cancelEdit"))},[he(ne(ll),{size:24})],8,hp)):re("v-if",!0)]))}}),yi=Pn(fp,[["__file","CommentBox.vue"]]),gp=["id"],mp={class:"wl-user","aria-hidden":"true"},yp=["src"],vp={class:"wl-card"},bp={class:"wl-head"},wp=["href"],xp={key:1,class:"wl-nick"},kp=["textContent"],_p=["textContent"],Cp=["textContent"],$p=["textContent"],Sp=["textContent"],Ep={class:"wl-comment-actions"},Tp=["title"],Ip=["textContent"],Lp=["title"],Rp={class:"wl-meta","aria-hidden":"true"},Ap=["data-value","textContent"],Op=["data-value","textContent"],Mp=["data-value","textContent"],zp=["innerHTML"],jp={key:1,class:"wl-admin-actions"},Bp={class:"wl-comment-status"},Np=["disabled","onClick","textContent"],Pp={key:3,class:"wl-quote"},Hp=Pn(Bn({__name:"CommentCard",props:{comment:{},edit:{default:null},rootId:{},reply:{default:null}},emits:["log","submit","delete","edit","like","status","sticky","reply"],setup(e){let t=e,n=["approved","waiting","spam"],o=Ro("config"),r=gi(),l=Rc(),i=Or(),s=Ie(()=>o.value.locale),a=Ie(()=>{let{link:m}=t.comment;return m?vl(m)?m:`https://${m}`:""}),c=Ie(()=>r.value.includes(t.comment.objectId)),u=Ie(()=>Xi(t.comment.insertedAt,l.value,s.value)),p=Ie(()=>i.value.type==="administrator"),h=Ie(()=>t.comment.user_id&&i.value.objectId===t.comment.user_id),y=Ie(()=>t.comment.objectId===t.reply?.objectId),b=Ie(()=>t.comment.objectId===t.edit?.objectId);return(m,f)=>{let v=ja("CommentCard",!0);return B(),F("div",{id:m.comment.objectId,class:"wl-card-item"},[W("div",mp,[m.comment.avatar?(B(),F("img",{key:0,src:m.comment.avatar},null,8,yp)):re("v-if",!0),m.comment.type?(B(),kt(ne(au),{key:1})):re("v-if",!0)]),W("div",vp,[W("div",bp,[a.value?(B(),F("a",{key:0,class:"wl-nick",href:a.value,target:"_blank",rel:"nofollow noopener noreferrer"},le(m.comment.nick),9,wp)):(B(),F("span",xp,le(m.comment.nick),1)),m.comment.type==="administrator"?(B(),F("span",{key:2,class:"wl-badge",textContent:le(s.value.admin)},null,8,kp)):re("v-if",!0),m.comment.label?(B(),F("span",{key:3,class:"wl-badge",textContent:le(m.comment.label)},null,8,_p)):re("v-if",!0),m.comment.sticky?(B(),F("span",{key:4,class:"wl-badge",textContent:le(s.value.sticky)},null,8,Cp)):re("v-if",!0),m.comment.level!==void 0&&m.comment.level>=0?(B(),F("span",{key:5,class:Se(`wl-badge level${m.comment.level}`),textContent:le(s.value[`level${m.comment.level}`]||`Level ${m.comment.level}`)},null,10,$p)):re("v-if",!0),W("span",{class:"wl-time",textContent:le(u.value)},null,8,Sp),W("div",Ep,[p.value||h.value?(B(),F("button",{key:0,type:"button",class:"wl-edit",onClick:f[0]||(f[0]=()=>m.$emit("edit",m.comment))},[he(ne(iu))])):re("v-if",!0),p.value||h.value?(B(),F("button",{key:1,type:"button",class:"wl-delete",onClick:f[1]||(f[1]=w=>m.$emit("delete",m.comment))},[he(ne(eu))])):re("v-if",!0),W("button",{type:"button",class:"wl-like",title:c.value?s.value.cancelLike:s.value.like,onClick:f[2]||(f[2]=w=>m.$emit("like",m.comment))},[he(ne(ou),{active:c.value},null,8,["active"]),"like"in m.comment?(B(),F("span",{key:0,textContent:le(m.comment.like)},null,8,Ip)):re("v-if",!0)],8,Tp),W("button",{type:"button",class:Se(["wl-reply",{active:y.value}]),title:y.value?s.value.cancelReply:s.value.reply,onClick:f[3]||(f[3]=w=>m.$emit("reply",y.value?null:m.comment))},[he(ne(lu))],10,Lp)])]),W("div",Rp,[m.comment.addr?(B(),F("span",{key:0,class:"wl-addr","data-value":m.comment.addr,textContent:le(m.comment.addr)},null,8,Ap)):re("v-if",!0),m.comment.browser?(B(),F("span",{key:1,class:"wl-browser","data-value":m.comment.browser,textContent:le(m.comment.browser)},null,8,Op)):re("v-if",!0),m.comment.os?(B(),F("span",{key:2,class:"wl-os","data-value":m.comment.os,textContent:le(m.comment.os)},null,8,Mp)):re("v-if",!0)]),b.value?re("v-if",!0):(B(),F("div",{key:0,class:"wl-content",innerHTML:m.comment.comment},null,8,zp)),p.value&&!b.value?(B(),F("div",jp,[W("span",Bp,[(B(),F(be,null,nt(n,w=>W("button",{key:w,type:"submit",class:Se(`wl-btn wl-${w}`),disabled:m.comment.status===w,onClick:T=>m.$emit("status",{status:w,comment:m.comment}),textContent:le(s.value[w])},null,10,Np)),64))]),p.value&&!m.comment.rid?(B(),F("button",{key:0,type:"submit",class:"wl-btn wl-sticky",onClick:f[4]||(f[4]=w=>m.$emit("sticky",m.comment))},le(m.comment.sticky?s.value.unsticky:s.value.sticky),1)):re("v-if",!0)])):re("v-if",!0),y.value||b.value?(B(),F("div",{key:2,class:Se({"wl-reply-wrapper":y.value,"wl-edit-wrapper":b.value})},[he(yi,{edit:m.edit,"reply-id":m.reply?.objectId,"reply-user":m.comment.nick,"root-id":m.rootId,onLog:f[5]||(f[5]=w=>m.$emit("log")),onCancelReply:f[6]||(f[6]=w=>m.$emit("reply",null)),onCancelEdit:f[7]||(f[7]=w=>m.$emit("edit",null)),onSubmit:f[8]||(f[8]=w=>m.$emit("submit",w))},null,8,["edit","reply-id","reply-user","root-id"])],2)):re("v-if",!0),m.comment.children?(B(),F("div",Pp,[(B(!0),F(be,null,nt(m.comment.children,w=>(B(),kt(v,{key:w.objectId,comment:w,reply:m.reply,edit:m.edit,"root-id":m.rootId,onLog:f[9]||(f[9]=T=>m.$emit("log")),onDelete:f[10]||(f[10]=T=>m.$emit("delete",T)),onEdit:f[11]||(f[11]=T=>m.$emit("edit",T)),onLike:f[12]||(f[12]=T=>m.$emit("like",T)),onReply:f[13]||(f[13]=T=>m.$emit("reply",T)),onStatus:f[14]||(f[14]=T=>m.$emit("status",T)),onSticky:f[15]||(f[15]=T=>m.$emit("sticky",T)),onSubmit:f[16]||(f[16]=T=>m.$emit("submit",T))},null,8,["comment","reply","edit","root-id"]))),128))])):re("v-if",!0)])],8,gp)}}}),[["__file","CommentCard.vue"]]),Up="2.15.5",qp={"data-waline":""},Fp={class:"wl-meta-head"},Dp={class:"wl-count"},Gp=["textContent"],Vp={class:"wl-sort"},Wp=["onClick"],Jp={class:"wl-cards"},Zp={key:1,class:"wl-operation"},Kp=["textContent"],Xp={key:0,class:"wl-loading"},Qp=["textContent"],Yp={key:2,class:"wl-operation"},ed=["textContent"],td={key:3,class:"wl-power"},nd=W("a",{href:"https://github.com/walinejs/waline",target:"_blank",rel:"noopener noreferrer"}," Waline ",-1),od=Bn({__name:"WalineComment",props:["serverURL","path","meta","requiredMeta","dark","commentSorting","lang","locale","pageSize","wordLimit","emoji","login","highlighter","texRenderer","imageUploader","search","copyright","recaptchaV3Key","turnstileKey","reaction"],setup(e){let t=e,n={latest:"insertedAt_desc",oldest:"insertedAt_asc",hottest:"like_desc"},o=Object.keys(n),r=Or(),l=gi(),i=te("loading"),s=te(0),a=te(1),c=te(0),u=Ie(()=>(({serverURL:J,path:K=location.pathname,lang:Y=typeof navigator>"u"?"en-US":navigator.language,locale:oe,emoji:de=Qr,meta:ye=["nick","mail","link"],requiredMeta:ke=[],dark:Fe=!1,pageSize:Ve=10,wordLimit:Ke,imageUploader:Ee,highlighter:Ne,texRenderer:rt,copyright:dt=!0,login:$e="enable",search:et,reaction:ht,recaptchaV3Key:st="",turnstileKey:P="",commentSorting:N="latest",...d})=>({serverURL:io(J),path:ml(K),locale:{...Fo[Y]||Fo[qi],...typeof oe=="object"?oe:{}},wordLimit:Ki(Ke),meta:Xr(ye),requiredMeta:Xr(ke),imageUploader:Do(Ee,Di),highlighter:Do(Ne,Ji),texRenderer:Do(rt,Gi),lang:Object.keys(Fo).includes(Y)?Y:"en-US",dark:Fe,emoji:typeof de=="boolean"?de?Qr:[]:de,pageSize:Ve,login:$e,copyright:dt,search:et!==!1&&(typeof et=="object"?et:Vi(Y)),recaptchaV3Key:st,turnstileKey:P,reaction:Array.isArray(ht)?ht:ht===!0?Fi:[],commentSorting:N,...d}))(t)),p=te(u.value.commentSorting),h=te([]),y=te(null),b=te(null),m=Ie(()=>{return typeof(J=u.value.dark)=="string"?J==="auto"?`@media(prefers-color-scheme:dark){body${Go}}`:`${J}${Go}`:J===!0?`:root${Go}`:"";var J}),f=Ie(()=>u.value.locale),v;(function(J,K={}){let Y=te(!1),{document:oe=ai,immediate:de=!0,manual:ye=!1,id:ke="vueuse_styletag_"+ ++Oc}=K,Fe=te(J),Ve=()=>{},Ke=()=>{if(!oe)return;let Ne=oe.getElementById(ke)||oe.createElement("style");Ne.isConnected||(Ne.type="text/css",Ne.id=ke,K.media&&(Ne.media=K.media),oe.head.appendChild(Ne)),Y.value||(Ve=Qe(Fe,rt=>{Ne.textContent=rt},{immediate:!0}),Y.value=!0)},Ee=()=>{oe&&Y.value&&(Ve(),oe.head.removeChild(oe.getElementById(ke)),Y.value=!1)};de&&!ye&&si(Ke),ye||yn(Ee),jn(Y)})(m,{id:"waline-darkmode"});let w=J=>{let{serverURL:K,path:Y,pageSize:oe}=u.value,de=new AbortController;i.value="loading",v?.(),(({serverURL:ye,lang:ke,path:Fe,page:Ve,pageSize:Ke,sortBy:Ee,signal:Ne,token:rt})=>{let dt={};return rt&&(dt.Authorization=`Bearer ${rt}`),GM_fetch(`${ye}/comment?path=${encodeURIComponent(Fe)}&pageSize=${Ke}&page=${Ve}&lang=${ke}&sortBy=${Ee}`,{signal:Ne,headers:dt}).then($e=>$e.json()).then($e=>Yo($e,"Get comment data"))})({serverURL:K,lang:u.value.lang,path:Y,pageSize:oe,sortBy:n[p.value],page:J,signal:de.signal,token:r.value?.token}).then(ye=>{i.value="success",s.value=ye.count,h.value.push(...ye.data),a.value=J,c.value=ye.totalPages}).catch(ye=>{ye.name!=="AbortError"&&(console.error(ye.message),i.value="error")}),v=de.abort.bind(de)},T=()=>w(a.value+1),L=()=>{s.value=0,h.value=[],w(1)},M=J=>{y.value=J},q=J=>{b.value=J},V=J=>{if(b.value)b.value.comment=J.comment,b.value.orig=J.orig;else if(J.rid){let K=h.value.find(({objectId:Y})=>Y===J.rid);if(!K)return;Array.isArray(K.children)||(K.children=[]),K.children.push(J)}else h.value.unshift(J),s.value+=1},D=async({comment:J,status:K})=>{if(J.status===K)return;let{serverURL:Y,lang:oe}=u.value;await to({serverURL:Y,lang:oe,token:r.value?.token,objectId:J.objectId,comment:{status:K}}),J.status=K},pe=async J=>{if(J.rid)return;let{serverURL:K,lang:Y}=u.value;await to({serverURL:K,lang:Y,token:r.value?.token,objectId:J.objectId,comment:{sticky:J.sticky?0:1}}),J.sticky=!J.sticky},Be=async({objectId:J})=>{if(!confirm("Are you sure you want to delete this comment?"))return;let{serverURL:K,lang:Y}=u.value;await(({serverURL:oe,lang:de,token:ye,objectId:ke})=>GM_fetch(`${oe}/comment/${ke}?lang=${de}`,{method:"DELETE",headers:{Authorization:`Bearer ${ye}`}}).then(Fe=>Fe.json()).then(Fe=>Yo(Fe,"Delete comment")))({serverURL:K,lang:Y,token:r.value?.token,objectId:J}),h.value.some((oe,de)=>oe.objectId===J?(h.value=h.value.filter((ye,ke)=>ke!==de),!0):oe.children.some((ye,ke)=>ye.objectId===J&&(h.value[de].children=oe.children.filter((Fe,Ve)=>Ve!==ke),!0)))},Ze=async J=>{let{serverURL:K,lang:Y}=u.value,{objectId:oe}=J,de=l.value.includes(oe);await to({serverURL:K,lang:Y,objectId:oe,token:r.value?.token,comment:{like:!de}}),de?l.value=l.value.filter(ye=>ye!==oe):(l.value=[...l.value,oe],l.value.length>50&&(l.value=l.value.slice(-50))),J.like=(J.like||0)+(de?-1:1)};return function(J,K){if(qe){let Y=qe.provides,oe=qe.parent&&qe.parent.provides;oe===Y&&(Y=qe.provides=Object.create(oe)),Y[J]=K}}("config",u),Nn(()=>{Qe(()=>[t.serverURL,t.path],()=>L(),{immediate:!0})}),Lo(()=>v?.()),(J,K)=>(B(),F("div",qp,[he(Cu),y.value?re("v-if",!0):(B(),kt(yi,{key:0,onLog:L,onSubmit:V})),W("div",Fp,[W("div",Dp,[s.value?(B(),F("span",{key:0,class:"wl-num",textContent:le(s.value)},null,8,Gp)):re("v-if",!0),Lt(" "+le(f.value.comment),1)]),W("ul",Vp,[(B(!0),F(be,null,nt(ne(o),Y=>(B(),F("li",{key:Y,class:Se([Y===p.value?"active":""]),onClick:oe=>(de=>{p.value!==de&&(p.value=de,L())})(Y)},le(f.value[Y]),11,Wp))),128))])]),W("div",Jp,[(B(!0),F(be,null,nt(h.value,Y=>(B(),kt(Hp,{key:Y.objectId,"root-id":Y.objectId,comment:Y,reply:y.value,edit:b.value,onLog:L,onReply:M,onEdit:q,onSubmit:V,onStatus:D,onDelete:Be,onSticky:pe,onLike:Ze},null,8,["root-id","comment","reply","edit"]))),128))]),i.value==="error"?(B(),F("div",Zp,[W("button",{type:"button",class:"wl-btn",onClick:L,textContent:le(f.value.refresh)},null,8,Kp)])):(B(),F(be,{key:2},[i.value==="loading"?(B(),F("div",Xp,[he(ne(On),{size:30})])):h.value.length?a.value{t.forEach((n,o)=>{n.innerText=e[o].toString()})},sd=({serverURL:e,path:t=window.location.pathname,selector:n=".waline-pageview-count",update:o=!0,lang:r=navigator.language})=>{let l=new AbortController,i=Array.from(document.querySelectorAll(n)),s=u=>{let p=sl(u);return p!==null&&t!==p},a=u=>(({serverURL:p,lang:h,paths:y,signal:b})=>gl({serverURL:p,lang:h,paths:y,type:["time"],signal:b}).then(m=>Array.isArray(m)?m:[m]))({serverURL:io(e),paths:u.map(p=>sl(p)||t),lang:r,signal:l.signal}).then(p=>hl(p,u)).catch(ci);if(o){let u=i.filter(h=>!s(h)),p=i.filter(s);(c={serverURL:io(e),path:t,lang:r},er({...c,type:"time",action:"inc"})).then(h=>hl(new Array(u.length).fill(h),u)),p.length&&a(p)}else a(i);var c;return l.abort.bind(l)},vi=({el:e="#waline",path:t=window.location.pathname,comment:n=!1,pageview:o=!1,...r})=>{let l=e?zc(e):null;if(e&&!l)throw new Error("Option 'el' do not match any domElement!");if(!r.serverURL)throw new Error("Option 'serverURL' is missing!");let i=$n({...r}),s=$n({comment:n,pageview:o,path:t}),a=l?cc(()=>ce(rd,{path:s.path,...i})):null;a&&a.mount(l);let c=gs(()=>{s.comment&&Yc({serverURL:i.serverURL,path:s.path,selector:typeof s.comment=="string"?s.comment:void 0})}),u=gs(()=>{s.pageview&&sd({serverURL:i.serverURL,path:s.path,selector:typeof s.pageview=="string"?s.pageview:void 0})});return{el:l,update:({comment:p,pageview:h,path:y=window.location.pathname,...b}={})=>{Object.entries(b).forEach(([m,f])=>{i[m]=f}),s.path=y,p!==void 0&&(s.comment=p),h!==void 0&&(s.pageview=h)},destroy:()=>{a?.unmount(),c(),u()}}};function ld(e){codeContent=new Array,preContent=new Array,tableContent=new Array,olContent=new Array,imgContent=new Array,aContent=new Array;let t=e;function n(s=""){return s.replace(/\<[\s\S]*?\>/g,"")}function o(s=""){let a=s,c=s.match(/\/ig).length;for(let u=1;u<=c;u++){let p="[~wrap]";u===1&&(p="[~wrap][~wrap]"),a=a.replace(/\/i,`${p+u}. `)}return a=a.replace(/\<\/li\>/,""),a}function r(s=""){let a,c,u,p;return a=s.match(/(?<=src=['"])[\s\S]*?(?=['"])/i),c=s.match(/(?<=title=['"])[\s\S]*?(?=['"])/i),u=s.match(/(?<=alt=['"])[\s\S]*?(?=['"])/i),c=c!=null?` "${c}"`:" ",u=u!="null"?u:" ",p=``,p}function l(s=""){let a=""+s.match(/(?<=href=['"])[\s\S]*?(?=['"])/i),c=""+s.match(/(?<=title=['"])[\s\S]*?(?=['"])/i),u=""+s.match(/(?<=\]*?\>)[\s\S]*?(?=<\/a>)/i),p=s.match(/]*?\>[^]*?(<\/img>)?/i),h,y,b;c=c!="null"?` "${c}"`:" ",u=n(u);let m=`[${u}](${a}${c})`;return p!=null&&(h=p[0].match(/(?<=src=['"])[\s\S]*?(?=['"])/i),y=p[0].match(/(?<=title=['"])[\s\S]*?(?=['"])/i),b=p[0].match(/(?<=alt=['"])[\s\S]*?(?=['"])/i),y=y!=null?` "${y}"`:" ",b=b!="null"?b:" ",m=`[](${a}${c})`),m}function i(s=null){if(s[0]==null){let u="",p=s[1].length;for(let h=0;h]*?\>[^]*?<\/style>/ig,"").replace(/]*?\>[^]*?<\/script>/ig,""),preContent=t.match(/]*?\>[^]*?<\/pre>/ig),t=t.replace(/(?<=\]*?\>)[\s\S]*?(?=<\/pre>)/ig,"`#preContent#`"),codeContent=t.match(/(?<=\]*?\>)[\s\S]*?(?=<\/code>)/ig),t=t.replace(/(?<=\]*?\>)[\s\S]*?(?=<\/code>)/ig,"`#codeContent#`"),aContent=t.match(/]*?\>[^]*?<\/a>/ig),t=t.replace(/]*?\>[^]*?<\/a>/ig,"`#aContent#`"),imgContent=t.match(/]*?\>[^]*?(<\/img>)?/ig),t=t.replace(/]*?\>[^]*?(<\/img>)?/ig,"`#imgContent#`"),t=t.replace(/(?<=\<[a-zA-Z0-9]*)\s.*?(?=\>)/g,""),t=t.replace(//ig,"[~wrap]# ").replace(/<\/h1>/ig,"[~wrap][~wrap]").replace(//ig,"[~wrap]## ").replace(/<\/h2>/ig,"[~wrap][~wrap]").replace(//ig,"[~wrap]### ").replace(/<\/h3>/ig,"[~wrap][~wrap]").replace(//ig,"[~wrap]#### ").replace(/<\/h4>/ig,"[~wrap][~wrap]").replace(//ig,"[~wrap]##### ").replace(/<\/h5>/ig,"[~wrap][~wrap]").replace(//ig,"[~wrap]###### ").replace(/<\/h6>/ig,"[~wrap][~wrap]"),t=t.replace(/()/ig,"[~wrap]").replace(/(<\/p>)|()|(<\/div>)/ig,"[~wrap][~wrap]").replace(/()|()|()|()/ig,"").replace(/<\/span>/ig,""),t=t.replace(/()|()/ig,"**").replace(/(<\/b>)|(<\/strong>)/ig,"**"),t=t.replace(/()|()|()|()|()|()/ig,"*").replace(/(<\/i>)|(<\/em>)|(<\/abbr>)|(<\/dfn>)|(<\/cite>)|(<\/address>)/ig,"*"),t=t.replace(/\/ig,"~~").replace(/\<\/del\>/ig,"~~"),t=t.replace(/\/ig,"[~wrap][~wrap]> ").replace(/\<\/blockquote\>/ig,"[~wrap][~wrap]"),t=t.replace(/\/ig,"[~wrap][~wrap]------[~wrap][~wrap]"),tableContent=t.match(/(?<=\]*?\>)[\s\S]*?(?=<\/table>)/ig),t=t.replace(/]*?\>[^]*?<\/table>/ig,"`#tableContent#`"),tableContent!==null){tbodyContent=new Array;for(let s=0;s)[\s\S]*?(?=<\/th?>)/ig)),tbodyContent[s].push(tableContent[s].match(/(?<=\)[\s\S]*?(?=<\/td?>)/ig))}if(typeof tbodyContent<"u")for(let s=0;s]*?\>)[\s\S]*?(?=<\/ol>)/ig),t=t.replace(/(?<=\]*?\>)[\s\S]*?(?=<\/ol>)/ig,"`#olContent#`"),olContent!==null)for(let s=0;s)|()/ig,"[~wrap] - ").replace(/(<\/li>)|(<\/dd>)/ig,"[~wrap][~wrap]"),t=t.replace(/()|()/ig,"").replace(/(<\/ul>)|(<\/ol>)/ig,"[~wrap][~wrap]"),imgContent!==null)for(let s=0;s
),codeContent!==null)for(let s=0;s<codeContent.length;s++)t=t.replace(/\#codeContent#`/i,n(codeContent[s]));if(t=t.replace(/<code>/ig,” ").replace(/\<\/code\>/ig," ”),preContent!==null)for(let s=0;s<preContent.length;s++){let a=preContent[s].match(/(?<=language-).?(?=[\s’”])/i),c=n(preContent[s]);c=c.replace(/^1\n2\n(\d+\n)/,""),a=a!=null&&a[0]!=“undefined”?a[0]+ : ,t=t.replace(/`#preContent#`/i,a+c)}return t=t.replace(/<pre>/ig,“").replace(/\<\/pre\>/ig,"\n\n”),t=n(t),t=t.replace(/</ig,”<“).replace(/>/ig,”>”),t=t.replace(/^\n{1,}/i,""),t}ue.reg(“/discuss”,“pannelTool”,()=>{if(location.href.indexOf(“list”)!=-1)return;let e=lt(“bbsTools”).config,t;try{t=window.location.href.match(/[0-9]+/)[0]}catch{return}if(e.btnShow.value){let n=document.querySelectorAll(“a[data-fd-username]”);for(let o=0;o<n.length;o+=1){let r=n[o].getAttribute(“data-fd-username”),l=n[o].parentElement.parentElement.parentElement.children[1].innerText,i=n[o].parentElement.parentElement.parentElement.children[1].innerHTML,s=l.replace(/\n/g,"");s.length>100&&(s=${s.substring(0,100)}\u2026\u2026);let a=document.createElement(“a”);a.setAttribute(“href”,“javascript: scrollToId(‘replyarea’);”),a.onclick=()=>{setEditorVal(`@${r}
${s}
)},a.innerText="\u5F15\u7528\u56DE\u590D",n[o].parentElement.appendChild(a);let c=document.createElement("a");c.setAttribute("href","javascript: void(0);"),c.onclick=()=>{let u=i;for(;u[0]===
;)u=u.substring(1);for(;u[0]===" ";)u=u.substring(1);for(;u[u.length-1]===" ";)u=u.substring(0,u.length-1);for(;u[u.length-1]===
;)u=u.substring(0,u.length-1);let p=ld(u);GM_setClipboard(p)},c.innerText="\u590D\u5236Md",n[o].parentElement.appendChild(c);for(let u=0;u<n[o].parentElement.children.length;u+=1)n[o].parentElement.children[u].innerText==="\u56DE\u590D"&&(n[o].parentElement.children[u].innerText="@TA")}}if(e.toolShow.value&&setTimeout(()=>{let n=document.getElementsByClassName("am-panel")[0];n.children[0].innerHTML+=
\u{1F44D}\u6B21\u70B9\u8D5E \u{1F44E}\u6B21\u8E29
\u70B9\u51FB\u4FDD\u5B58 \u524D\u5F80\u5907\u4EFD
,document.getElementById("savebbsbutton").addEventListener("click",()=>{document.getElementById("savebbsbutton").innerHTML="\u4FDD\u5B58\u4E2D\u2026\u2026";let o=https://lgbbs.oiso.cf/save.php?url=https://www.luogu.com.cn/discuss/{t}?page=1`;GM_xmlhttpRequest({method:"GET",url:o,onload:r=>{r.responseText==="success"?(document.getElementById("savebbsbutton").innerHTML="\u4FDD\u5B58\u6210\u529F\uFF01",setTimeout(()=>{document.getElementById("savebbsbutton").innerHTML="\u518D\u6B21\u4FDD\u5B58"},1e3)):(document.getElementById("savebbsbutton").innerHTML="\u4FDD\u5B58\u5931\u8D25qwq",setTimeout(()=>{document.getElementById("savebbsbutton").innerHTML="\u91CD\u65B0\u4FDD\u5B58"},1e3))}})}),document.getElementById("forbutton").addEventListener("click",()=>{document.getElementById("forbutton").innerHTML="\u8D5E\u6210\u4E2D\u2026\u2026";let o=`https://online.oiso.cf/lgbbs/for?id={t};GM_xmlhttpRequest({method:"GET",url:o,onload:r=>{JSON.parse(r.responseText).code===200?(document.getElementById("forbutton").innerHTML="\u70B9\u8D5E\u6210\u529F\uFF01",setTimeout(()=>{let l=document.getElementById("forbutton").getAttribute("num");document.getElementById("forbutton").setAttribute("num",parseInt(l,10)+1),document.getElementById("forbutton").innerHTML=\u{1F44D}{parseInt(l,10)+1}\u6B21\u70B9\u8D5E`},1e3)):(document.getElementById("forbutton").innerHTML="\u8D5E\u6210\u5931\u8D25qwq",setTimeout(()=>{let l=document.getElementById("forbutton").getAttribute("num");document.getElementById("forbutton").innerHTML=`\u{1F44D}{l}\u6B21\u70B9\u8D5E},1e3))}})}),document.getElementById("againstbutton").addEventListener("click",()=>{document.getElementById("againstbutton").innerHTML="\u53CD\u5BF9\u4E2D\u2026\u2026";let o=https://online.oiso.cf/lgbbs/against?id={t}`;GM_xmlhttpRequest({method:"GET",url:o,onload:r=>{JSON.parse(r.responseText).code===200?(document.getElementById("againstbutton").innerHTML="\u8E29\u6210\u529F\uFF01",setTimeout(()=>{let l=document.getElementById("againstbutton").getAttribute("num");document.getElementById("againstbutton").setAttribute("num",parseInt(l,10)+1),document.getElementById("againstbutton").innerHTML=`\u{1F44E}{parseInt(l,10)+1}\u6B21\u8E29},1e3)):(document.getElementById("againstbutton").innerHTML="\u53CD\u5BF9\u5931\u8D25qwq",setTimeout(()=>{let l=document.getElementById("againstbutton").getAttribute("num");document.getElementById("againstbutton").innerHTML=\u{1F44E}{l}\u6B21\u8E29`},1e3))}})}),GM_xmlhttpRequest({method:"GET",url:`https://online.oiso.cf/lgbbs/get?id={t},onload:o=>{if(JSON.parse(o.responseText).code===200){let r=JSON.parse(o.responseText);document.getElementById("forbutton").setAttribute("num",r.for),document.getElementById("forbutton").innerHTML=\u{1F44D}{r.for}\u6B21\u70B9\u8D5E`,document.getElementById("againstbutton").setAttribute("num",r.against),document.getElementById("againstbutton").innerHTML=`\u{1F44E}{r.against}\u6B21\u8E29}}})},50),e.autoSave.value){let n=https://lgbbs.oiso.cf/save.php?url={location.href}`;GM_xmlhttpRequest({method:"GET",url:n,onload:()=>{}})}if(e.waline.value){GM_addStyle(GM_getResourceText("css"));let n=document.getElementsByClassName("am-panel am-panel-default lg-summary")[0],o=document.createElement("div");o.setAttribute("id","waline"),o.setAttribute("class","am-panel am-panel-default lg-summary"),n.parentNode.appendChild(o);let r=location.href.split("/")[4].split("?")[0];vi({el:"#waline",serverURL:"https://waline.oiso.cf",path:"/show/"+r,dark:"auto",reaction:!0})}});ue.reg("/","pendantRender",()=>{function e(){let n=document.getElementsByClassName("am-comment-avatar");for(let l=0;l<n.length;l++){let i=n[l],s=i.src.split("/")[5].split(".")[0],a=document.createElement("img");zt(s,c=>{c.responseText!=="False"&&(a.src=c.responseText,a.className="am-comment-avatar-pendant",a.style.top="0",a.style.left="0",a.style.height=`{i.clientHeight}px,a.style.transform="scale(1.35)",a.style.marginLeft=-{i.clientWidth}px`,a.style.borderRadius="5%",a.style.opacity="0.75",i.parentNode.insertBefore(a,i.nextSibling))})}let o=document.getElementsByClassName("avatar")[0];if(o){let l=o.src.split("/")[5].split(".")[0];zt(l,i=>{if(i.responseText!=="False"){let s=document.createElement("img");s.src=i.responseText,s.className="am-comment-avatar-pendant",s.style.height=`{o.clientHeight}px,s.style.marginLeft=-{o.clientWidth}px`,s.style.transform="scale(1.35)",s.style.borderRadius="5%",s.style.opacity="0.75",s.style.position="absolute",o.parentNode.insertBefore(s,o.nextSibling)}})}let r=window.innerWidth<=576;if(location.href.indexOf("https://www.luogu.com.cn/user/")!==-1){let l;if(document.getElementsByClassName("avatar")[1+r]){let i=document.getElementsByClassName("avatar")[1+r];l=i.src.split("/")[5].split(".")[0],zt(l,s=>{if(s.responseText!=="False"){let a=document.createElement("img");a.src=s.responseText,a.className="am-comment-avatar-pendant",r?(a.style.bottom="-36px",a.style.left=".75em"):(a.style.bottom="24px",a.style.left="24px"),a.style.height=`{i.clientHeight}px,a.style.width=${i.clientWidth}px,a.style.transform="scale(1.35)",a.style.borderRadius="5%",a.style.opacity="0.75",a.style.position="absolute",i.parentNode.insertBefore(a,i.nextSibling)}})}if(document.getElementsByClassName("avatar")[2+r])for(let i=2+r;i<document.getElementsByClassName("avatar").length;i++)zt(l,s=>{if(s.responseText!=="False"){let a=document.getElementsByClassName("avatar")[i],c=document.createElement("img");c.src=s.responseText,c.className="am-comment-avatar-pendant",c.style.top="10px",c.style.left="0px",c.style.height="60px",c.style.transform="scale(1.35)",c.style.borderRadius="5%",c.style.opacity="0.75",c.style.position="absolute",a.parentNode.insertBefore(c,a.nextSibling)}})}else if(location.href.indexOf("https://www.luogu.com.cn/record/list")!==-1)for(let l=1;l<document.getElementsByClassName("avatar").length;l++){let i=document.getElementsByClassName("avatar")[l],s=i.children[0].src.split("/")[5].split(".")[0];zt(s,a=>{if(a.responseText!=="False"){let c=document.createElement("img");c.src=a.responseText,c.className="am-comment-avatar-pendant",c.style.marginLeft="-40px",c.style.marginTop="12px",c.style.height=c.style.width="35px",c.style.transform="scale(1.35)",c.style.borderRadius="5%",c.style.opacity="0.75",i.parentNode.insertBefore(c,i.nextSibling)}})}else if(location.href.indexOf("https://www.luogu.com.cn/problem/solution/")!==-1)for(let l=1;l<document.getElementsByClassName("avatar").length;l++){let i=document.getElementsByClassName("avatar")[l],s=document.getElementsByClassName("avatar")[l].src.split("/")[5].split(".")[0];zt(s,a=>{if(a.responseText!=="False"){let c=document.createElement("img");c.src=a.responseText,c.className="am-comment-avatar-pendant",c.style.marginLeft="-3em",c.style.marginTop="0px",c.style.height=c.style.width="2em",c.style.transform="scale(1.35)",c.style.borderRadius="5%",c.style.opacity="0.75",i.parentNode.insertBefore(c,i.nextSibling)}})}}function t(){let n=document.querySelectorAll("img.am-comment-avatar-pendant");for(let o=0;o<n.length;o++)n[o].remove();e()}window.addEventListener("click",()=>{setTimeout(t,750)}),window.addEventListener("resize",()=>{setTimeout(t,750)}),setTimeout(()=>{e()},750)});function Mr(e,t){localStorage.setItem(e,JSON.stringify(t))}function id(e){return JSON.parse(localStorage.getItem(e))}function ad(){try{let l=document.getElementById("waifu");l.style.transition="all 0.5s",l.style.top=screen.height-550+"px",l.style.left="100px"}catch{}let e=document.createElement("div");e.style.left="calc(100px + 550px)",e.style.top=screen.height-500+"px",e.style.position="fixed",e.style.width="30%",e.style.height="50%",e.style.backgroundColor="rgba(255,255,255,0)",e.id="exOIsoPanel",e.classList.add("noScrollBar");let t=
.noScrollBar::-webkit-scrollbar {
display: none;
},n=document.createElement("style");n.type="text/css",n.appendChild(document.createTextNode(t)),document.head.appendChild(n),window.matchMedia("(prefers-color-scheme: dark)").matches&&(e.style.backgroundColor="rgba(50,50,50,0)",e.style.color="white"),e.style.zIndex="1001",e.style.paddingTop="10px",e.style.paddingBottom="10px",e.style.overflow="auto",e.style.transition="all 0.5s",e.style.opacity="0",e.style.transform="translate(-50%, -50%) scale(0.5)",document.body.appendChild(e),setTimeout(()=>{e.style.opacity="1",e.style.transform="translate(-50%, -50%) scale(1)"},0);let o=id("exOIsoCFG"),r=document.createElement("style");r.innerHTML=
.target {
position: relative;
margin: 10px;
padding: 10px;
border-radius: 5px;
margin-left: 20px;
margin-right: 20px;
background-color: rgba(255, 255, 255, 0.95);
transition: all 0.3s;
z-index: 999003;
}
/*
.target:hover {
transform: translate(-3px, -3px) !important;
box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.5) !important;
border-image: linear-gradient(to bottom right, red, orange, yellow, green, cyan, blue, purple, red) 3 3 3 3 !important;
border-style: solid;
border-width: 3px;
position: relative;
transition: all 0.3s;
}
.target:hover::after {
opacity: 0;
}
*/
.panelTitle {
letter-spacing: 3px;
font-family: cursive;
}
input[type=checkbox].switch{
outline: none;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
position: relative;
width: 3.5rem;
height: 1.8rem;
border-radius: 50px;
border: 1px solid #ccc;
background-color: #ccc;
}
input[type=checkbox].switch::after{
content: '';
display: inline-block;
width: 1.7rem;
height: 1.7rem;
border-radius: 50%;
background-color: #fff;
box-shadow: 0 0 2px #999;
transition: left 0.1s linear;
position: absolute;
top: 0;
left: 0;
}
input[type=checkbox].switch:checked{
background-color: #1ab394;
}
input[type=checkbox].switch:checked::after{
position: absolute;
top: 0;
left: 50%;
}
`,document.head.appendChild(r);for(let l in o){let i=o[l],s=document.createElement("div");s.className="target",window.matchMedia("(prefers-color-scheme: dark)").matches&&(s.style.backgroundColor="rgba(50,50,50,0.95)"),s.onmouseenter=()=>{s.style.transform="translate(-3px,-3px)",s.style.boxShadow="3px 3px 10px rgba(0,0,0,0.5)",s.style.transition="all 0.3s"},s.onmouseleave=()=>{s.style.transform="translate(1.5px,1.5px)",s.style.boxShadow="none",s.style.transition="all 0.35s",setTimeout(()=>{s.style.transform="translate(0,0)",s.style.boxShadow="none",s.style.transition="all 0.1s"},350)};let a=document.createElement("div");a.style.marginBottom="10px",a.style.display="flex",a.style.justifyContent="space-between",a.style.alignItems="center";let c=document.createElement("span");if(c.innerHTML=`${l}`,c.style.marginRight="10px",c.style.fontWeight="bold",c.style.fontSize="2rem",a.appendChild(c),a.className="panelTitle",l!=="\u7CFB\u7EDF\u8BBE\u7F6E"){let y=document.createElement("input");y.type="checkbox",y.className="switch",y.checked=i.enabled,y.style.marginRight="10px",y.onchange=()=>{i.enabled=y.checked,Mr("exOIsoCFG",o)},a.appendChild(y)}s.appendChild(a);let u=document.createElement("hr");u.style.marginBottom="10px",s.appendChild(u);let p=document.createElement("div");p.style.marginBottom="10px",p.innerHTML=i.desc,p.style.fontSize="small",p.style.opacity="0.8",s.appendChild(p);let h=document.createElement("div");h.style.marginBottom="10px";for(let y in i.config){let b=i.config[y],m=document.createElement("div");m.style.marginBottom="5px";let f=document.createElement("span");f.style.marginRight="5px",f.innerHTML=`[${y}]`,f.style.fontWeight="bold",f.style.fontSize="smaller",m.appendChild(f);let v=document.createElement("span");if(v.style.marginRight="5px",v.innerHTML=b.desc,v.style.fontSize="small",v.style.opacity="0.8",m.appendChild(v),b.type==="bool"){let w=document.createElement("input");w.type="checkbox",w.className="switch",w.checked=b.value,w.style.marginRight="5px",w.onchange=()=>{b.value=w.checked,Mr("exOIsoCFG",o)},m.appendChild(w)}else if(b.type==="string"||b.type==="number"){let w=document.createElement("input");w.style.marginRight="5px",w.style.border="1px solid #ccc",w.style.borderRadius="5px",w.style.padding="5px",w.value=b.value,m.appendChild(w);let T=document.createElement("button");T.style.marginRight="5px",T.style.border="1px solid #ccc",T.style.borderRadius="5px",T.style.padding="5px",T.innerHTML="\u4FDD\u5B58",T.onclick=()=>{b.value=w.value,Mr("exOIsoCFG",o),T.innerHTML="\u5DF2\u4FDD\u5B58",T.disabled=!0,setTimeout(()=>{T.innerHTML="\u4FDD\u5B58",T.disabled=!1},1e3)},m.appendChild(T)}else if(b.type==="button"){if(y!=="checkUpdate"){let w=document.createElement("button");w.style.marginRight="5px",w.style.border="1px solid #ccc",w.style.borderRadius="5px",w.style.padding="5px",w.innerHTML=b.value,w.setAttribute("onclick",b.script),m.appendChild(w),w.addEventListener("click",()=>{w.innerHTML="\u6210\u529F",w.disabled=!0,setTimeout(()=>{w.innerHTML=b.value,w.disabled=!1},1e3)})}}else if(b.type==="text"){let w=document.createElement("span");w.style.marginRight="5px",w.innerHTML=b.value,m.appendChild(w)}h.appendChild(m)}s.appendChild(h),e.appendChild(s),e.addEventListener("scroll",()=>{let y=s.getBoundingClientRect(),b=e.getBoundingClientRect();y.top>b.bottom?(s.style.transition="all 0.5s ease-out",s.style.transform="translateX(-100px)",s.style.opacity="0"):(s.style.transition="all 0.5s ease-in",s.style.transform="translateX(0px)",s.style.opacity="1")})}}function bi(){document.getElementById("exOIsoPanel").style.opacity="0",setTimeout(()=>{document.body.removeChild(document.getElementById("exOIsoPanel"))},500);try{let n=document.getElementById("waifu");var e=GM_getValue("waifu_left",screen.width-350),t=GM_getValue("waifu_top",screen.height-400);n.style.left=e+"px",n.style.top=t+"px",n.style.transition="all 0.5s",setTimeout(()=>{n.style.transition="none"},500)}catch{}}ue.reg("/","quickSearch",()=>{document.addEventListener("keydown",e=>{if(e.altKey&&e.ctrlKey){let a=function(){t.style.opacity="0",n.style.opacity="0",window.searchBoxOpened=!1,bi(),setTimeout(()=>{document.body.removeChild(t),document.body.removeChild(n)},500)},p=function(){if(window.sugStatus===!0)return;let h=`https://online.oiso.cf/suggestion?q=${o.value}`;window.sugStatus=!0,qn(h,y=>{let b=JSON.parse(y.responseText),{hits:m}=b.hits;$("#suggestionContainer").empty();let f=$("#suggestionContainer");for(let v in m)f.append(`<div style="height:35px;" onclick="gosug(\`${m[v]._source.name}\`)">${m[v]._source.name}</div>`);window.sugStatus=!1})};if(window.searchBoxOpened===!0){window.searchBoxOpened=!1,bi(),document.getElementById("mask").style.opacity="0",document.getElementById("searchBox").style.opacity="0",setTimeout(()=>{document.body.removeChild(document.getElementById("mask")),document.body.removeChild(document.getElementById("searchBox"))},500);return}ad(),window.searchBoxOpened=!0;let t=document.createElement("div");t.id="mask",t.style.position="fixed",t.style.top="0",t.style.left="0",t.style.width="100%",t.style.height="100%",t.style.background="rgba(0, 0, 0, 0.5)",t.style.backdropFilter=`blur(${lt("quickSearch").config.backgroundBlur.value}px)`,t.style.transition="opacity 0.5s",t.style.opacity="0",t.style.zIndex="1000",setTimeout(()=>{t.style.opacity="1"},0),document.body.appendChild(t);let n=document.createElement("div");n.id="searchBox",n.style.position="fixed",n.style.top="15%",n.style.left="50%",n.style.transform="translate(-50%, -50%)",n.style.width="620px",n.style.height="50px",n.style.borderRadius="20px",n.style.background="#fff",n.style.boxShadow="0 0 10px rgba(0, 0, 0, 0.2)",n.style.transition="opacity 0.5s",n.style.opacity="0",n.style.zIndex="1001",window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(n.style.background="#333"),setTimeout(()=>{n.style.opacity="1"},0),document.body.appendChild(n);let o=document.createElement("input");if(o.id="searchBoxInput",o.style.position="absolute",o.style.top="0",o.style.left="0",o.style.width="550px",o.style.height="50px",o.style.lineHeight="50px",o.style.paddingLeft="20px",o.style.fontSize="20px",o.style.border="none",o.style.outline="none",o.style.backgroundColor="transparent",o.style.borderRadius="5px 0 0 5px",o.style.cursor="text",o.style.zIndex="1002",o.placeholder="\u641C\u7D22\u9898\u76EE\u3001\u5E16\u5B50\u3001\u9898\u89E3\u3001\u535A\u5BA2\u3001\u7528\u6237",o.autofocus=!0,window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches){let h=`#searchBoxInput::placeholder {
color: white;
}
`,y=document.createElement("style");y.type="text/css",y.appendChild(document.createTextNode(h)),document.getElementsByTagName("head")[0].appendChild(y),o.style.color="#fff"}n.appendChild(o),o.addEventListener("keydown",h=>{h.keyCode===13&&window.open(`https://www.oiso.cf/search?q=${o.value}`)}),o.addEventListener("input",()=>{p(o.value)});let r=document.createElement("div");r.style.position="absolute",r.style.top="0",r.style.right="0",r.style.width="50px",r.style.height="50px",r.style.lineHeight="50px",r.style.textAlign="center",r.style.fontSize="20px",r.style.fontWeight="bold",r.style.cursor="pointer",r.style.fill="currentColor",r.style.zIndex="1002",r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>',window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(r.style.color="#fff"),r.style.transform="translateY(5px)",r.onclick=function(){window.open(`https://www.oiso.cf/search?q=${o.value}`)},n.appendChild(r);let l=`#suggestionContainer div {
/* border-radius: 15px; */
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
clear: both;
height: 30px;
padding-left: 20px;
line-height: 30px;
cursor: pointer;
background: rgba(0, 0, 0, 0.09);
color: rgba(255, 255, 255, .8);
transition: .25s;
}
#suggestionContainer {
overflow: hidden;
z-index: 1145141919810;
border-radius: 15px;
transition: .25s;
-webkit-backdrop-filter: blur(30px) saturate(1.25);
backdrop-filter: blur(30px) saturate(1.25);
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
#suggestionContainer div:hover {
background: rgba(0, 0, 0, 0.27);
color: rgba(255, 255, 255, .8);
transition: .25s;
}`,i=document.createElement("style");i.type="text/css",i.innerHTML=l,document.getElementsByTagName("head")[0].appendChild(i);let s=document.createElement("div");s.id="suggestionContainer",s.style.height="auto",s.style.opacity="1",s.style.display="block",s.style.position="absolute",s.style.top="50px",s.style.transform="translateX(-50%);",s.style.width="620px",window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(s.style.backgroundColor="#333"),n.appendChild(s),t.addEventListener("click",()=>{a()}),document.addEventListener("keydown",h=>{h.keyCode===27&&a()});let c=`function gosug(name) {
document.getElementById("searchBoxInput").value = (name);
window.open("https://www.oiso.cf/search?q=" + name);
}`,u=document.createElement("script");u.type="text/javascript",u.innerHTML=c,document.getElementsByTagName("body")[0].appendChild(u)}})});function wi(){let e="https://www.luogu.com.cn/api/user/updateSlogan",t=new Date,n=t.getFullYear(),o=t.getMonth()+1,r=t.getDate(),l=t.getHours(),i=t.getMinutes(),s=`${n}\u5E74${o}\u6708${r}\u65E5${l}\u65F6${i}\u5206`,a=lt("onlineReport").config.text.value;a=a.replace("{time}",s),Kr(e,{slogan:a},()=>{})}ue.reg("/","onlineReport",()=>{wi(),setInterval(()=>{wi()},Number(lt("onlineReport").config.duration.value)*60*1e3)});function cd(e){return e.includes("<img")||e.includes("<code")||e.includes("<a")||e.includes("<b")||e.includes("<i")||e.includes("<del")||e.includes("<blockquote")||e.includes("<li")||e.includes("<hr")||e.includes("<pre")||(e=e.replace(/!\[(.+?)\]\((.+?)\)/g,"<img src='$2' alt='$1' />"),e=e.replace(/`(.+?)`/g,"<code>$1</code>"),e=e.replace(/\[(.+?)\]\((.+?)\)/g,"<a href='$2'>$1</a>"),e=e.replace(/\*\*(.+?)\*\*/g,"<b>$1</b>"),e=e.replace(/\*(.+?)\*/g,"<i>$1</i>"),e=e.replace(/~~(.+?)~~/g,"<del>$1</del>"),e=e.replace(/\n>(.+?)\n/g,"<blockquote>$1</blockquote>"),e=e.replace(/\n\* (.+?)\n/g,"<li>$1</li>"),e=e.replace(/\n---\n/g,"<hr />"),e=e.replace(/\n```(.+?)\n(.+?)\n```/g,"<pre><code class='$1'>$2</code></pre>"),e=e.replace(/(http|https):\/\/[^\s\u4e00-\u9fa5]*/g,t=>t.endsWith(".jpg")||t.endsWith(".png")||t.endsWith(".jpeg")?`<img src="${t}" style="max-width:100%;" />`:`<a href="${t}">${t}</a>`)),e}function xi(){let e=document.querySelectorAll(".message");for(let t in e){let n=e[t];n.innerHTML=cd(n.innerHTML)}}ue.reg("/chat","msgMarkdown",()=>{setTimeout(()=>{xi()},1e3),document.addEventListener("click",()=>{setTimeout(()=>{xi()},500)})});function ki(e){let t="https://oiso.run-eu-central1.goorm.site/api/ocr",n=new FormData;n.append("image",e.replace("data:image/png;base64,","")),GM_xmlhttpRequest({method:"POST",url:t,data:n,onload:o=>{let r=JSON.parse(o.responseText),l=document.querySelector("input[name='captcha']");if(r.result.length!==4||!/^[0-9a-zA-Z]+$/.test(r.result)){document.querySelector(".captcha").click(),l.value="\u5931\u8D25\u91CD\u8BD5\u4E2D...";return}l.value=r.result}})}function ud(e){let t="https://oiso.run-eu-central1.goorm.site/api/ocr",n=new FormData;n.append("image",e.replace("data:image/png;base64,","")),GM_xmlhttpRequest({method:"POST",url:t,data:n,onload:o=>{let r=JSON.parse(o.responseText),l=document.querySelector(".swal2-input");Ce("easyCaptcha",r.result),l.value=r.result,document.querySelector(".swal2-confirm").click(),setTimeout(()=>{window.is_solving_captcha=!1},3e3)}})}function pd(){let e=document.querySelector("#--swal-image-hosting-upload-captcha");!e||window.is_solving_captcha===!0||setTimeout(()=>{window.is_solving_captcha=!0;let t=document.createElement("canvas"),n=t.getContext("2d");t.width=e.width,t.height=e.height,n.drawImage(e,0,0);let o=t.toDataURL("image/png"),r=document.querySelector(".swal2-input");r.value="OIso++ \u6B63\u5728\u586B\u5145\u9A8C\u8BC1\u7801...",ud(o)},1500)}ue.reg("/","easyCaptcha",()=>{location.pathname.startsWith("/image")?setInterval(pd,300):setTimeout(()=>{let e=document.querySelector(".captcha");if(e){let t=document.createElement("canvas"),n=t.getContext("2d");t.width=e.width,t.height=e.height,n.drawImage(e,0,0);let o=t.toDataURL("image/png");ki(o)}e.addEventListener("load",()=>{setTimeout(()=>{let t=document.createElement("canvas"),n=t.getContext("2d");t.width=e.width,t.height=e.height,n.drawImage(e,0,0);let o=t.toDataURL("image/png");ki(o)},0)})},1e3)});ue.reg("/","eloNameColor",()=>{Ce("eloNameColor","eloNameColor loaded");let e=n=>n==="Null"?"#bdb7af":(n=parseInt(n,10),n>=2600?"#a561c1":n>=1700?"#e95849":n>=1500?"#e88a36":n>=1300?"#ffcc88":n>=1e3?"#6bbf6b":"#bdb7af"),t=async()=>{let n=$(".am-comment-meta");Ce("eloNameColor",n);for(let o=0;o<n.length;o++){let r=n[o],l=r.childNodes[2].text,i=$(r.childNodes[2]).attr("href"),s=/\/\d+$/,a=i.match(s)[0].slice(1);Ce("eloNameColor",l,a);let c=await Zr(a);Ce("eloNameColor",c.responseText),$(r).append(c.responseText);let u=r.childNodes[2];u.text=l.substring(2),$(u).prepend(`<span style="color: ${e(c.responseText)} !important">${l.substring(0,2)}</span>`)}Ce("eloNameColor",n)};setTimeout(()=>{t()},750)});var Mt=!1;function ge(e){Ce("lgse",e)}function zr(){ge("Clearing cache"),GM_setValue("cache/expired",new Date().getTime().toString())}function _i(){return parseInt(GM_getValue("cache/expired","0"),10)}function jr(e,t){ge(`Finding cache: ${e}`);let n=new Date,o=new Date().getTime();n.setTime(parseInt(GM_getValue(`cache/time_${e}`,"0"),10));let r={};o-n>864e5?(ge("Cache miss"),GM_xmlhttpRequest({method:"GET",url:e,onload(l){ge(`Request success: HTTP ${l.status}, Content: ${l.responseText}`),r={error:!1,status:l.status,content:l.responseText},l.status===200&&(GM_setValue(`cache/content_${e}`,JSON.stringify(r)),GM_setValue(`cache/time_${e}`,new Date().getTime().toString())),t(r)},onerror(l){ge(`Request failed: HTTP ${l.status}`),r={error:!0,status:l.status},t(r)}})):(ge("Cache hit"),r=JSON.parse(GM_getValue(`cache/content_${e}`)),t(r))}function Ci(e,t){ue.reg("/","LGSE",e),ue.regInAll("https://.*/.*lgse-settings.*","LGSE",t)}var _t="{{version}}",dd="2.2.0",_e,Vt=[[".am-comment-bd",[/^\/$/,/^\/discuss\/.*$/]],[".content",[/^\/user\/.*$/]],[".message",[/^\/chat.*$/]]];function hd(){for(let e=0;e<Vt.length;e++)for(let t=0;t<Vt[e][1].length;t++)if(Vt[e][1][t].test(document.location.pathname))return!0;return!1}function fd(){let e=[];for(let t=0;t<Vt.length;t++)for(let n=0;n<Vt[t][1].length;n++)Vt[t][1][n].test(document.location.pathname)&&(e[e.length]=document.querySelectorAll(Vt[t][0]));return e}var Ye=[["aini","\u7231\u4F60"],["aiq","\u7231\u60C5"],["am","\u50B2\u6162"],["azgc","\u6697\u4E2D\u89C2\u5BDF"],["baiy","\u767D\u773C"],["bangbangt","\u68D2\u68D2\u7CD6"],["banzz","\u642C\u7816\u4E2D"],["baojin","\u7206\u7B4B"],["bb","\u4FBF\u4FBF"],["bkx","\u4E0D\u5F00\u5FC3"],["bl","\u98D9\u6CEA"],["bp","\u97AD\u70AE"],["bq","\u62B1\u62F3"],["bs","\u9119\u89C6"],["bt","\u62DC\u6258"],["bu","\u4E0D"],["bz","\u95ED\u5634"],["cd","\u83DC\u5200"],["cg","\u5403\u74DC"],["ch","\u64E6\u6C57"],["cha","\u8336"],["chi","\u5403"],["cj","\u5DEE\u52B2"],["cp","\u949E\u7968"],["cs","\u6CA7\u6851"],["cy","\u5472\u7259"],["dan","\u86CB"],["dao","\u5200"],["dax","\u5927\u7B11"],["db","\u60A0\u95F2"],["dg","\u86CB\u7CD5"],["dk","\u5927\u54ED"],["dl","\u706F\u7B3C"],["doge","\u72D7\u5934"],["dx","\u51CB\u8C22"],["dy","\u5F97\u610F"],["dz","\u70B9\u8D5E"],["ee","\u5443"],["emm","\u55EF..."],["fad","\u53D1\u6296"],["fan","\u996D"],["fd","\u53D1\u5446"],["fendou","\u594B\u6597"],["fj","\u98DE\u673A"],["fn","\u6124\u6012"],["fw","\u98DE\u543B"],["gg","\u5C34\u5C2C"],["gy","\u52FE\u5F15"],["gz","\u9F13\u638C"],["hanx","\u61A8\u7B11"],["haob","\u597D\u68D2"],["hb","\u7EA2\u5305"],["hc","\u82B1\u75F4"],["hd","\u597D\u7684"],["hec","\u559D\u5F69"],["hhd","\u5475\u5475\u54D2"],["hn","\u559D\u5976"],["hp","\u5BB3\u6015"],["hq","\u54C8\u6B20"],["hsh","\u6325\u624B"],["ht","\u56DE\u5934"],["huaix","\u574F\u7B11"],["hx","\u5BB3\u7F9E"],["jd","\u6FC0\u52A8"],["jh","\u83CA\u82B1"],["jiaybb","\u52A0\u6CB9\u62B1\u62B1"],["jiaybs","\u52A0\u6CB9\u5FC5\u80DC"],["jie","\u9965\u997F"],["jk","\u60CA\u6050"],["jw","\u8857\u821E"],["jx","\u60CA\u559C"],["jy","\u60CA\u8BB6"],["ka","\u53EF\u7231"],["kb","\u62A0\u9F3B"],["kel","\u53EF\u601C"],["kf","\u5496\u5561"],["kg","K\u6B4C"],["kk","\u5FEB\u54ED\u4E86"],["kl","\u9AB7\u9AC5"],["kt","\u78D5\u5934"],["kuk","\u9177"],["kun","\u56F0"],["kzht","\u53E3\u7F69\u62A4\u4F53"],["lb","\u6CEA\u5954"],["lengh","\u51B7\u6C57"],["lh","\u6D41\u6C57"],["ll","\u6D41\u6CEA"],["lm","\u51B7\u6F20"],["lq","\u7BEE\u7403"],["lw","\u793C\u7269"],["lyj","\u8FA3\u773C\u775B"],["mdfq","\u5FD9\u5230\u98DE\u8D77"],["mg","\u73AB\u7470"],["mm","\u5356\u840C"],["ng","\u96BE\u8FC7"],["nkt","\u8111\u58F3\u75BC"],["oh","\u6004\u706B"],["oy","\u5662\u54DF"],["pch","\u74E2\u866B"],["pj","\u5564\u9152"],["pp","\u4E52\u4E53"],["px","\u55B7\u8840"],["pz","\u6487\u5634"],["qd","\u7CD7\u5927\u4E86"],["qiang","\u5F3A"],["qiao","\u6572"],["qidao","\u7948\u7977"],["qq","\u4EB2\u4EB2"],["qt","\u62F3\u5934"],["ruo","\u8E29"],["sa","\u793A\u7231"],["se","\u8272"],["sh","\u9001\u82B1"],["shd","\u95EA\u7535"],["shl","\u80DC\u5229"],["shq","\u624B\u67AA"],["shuai","\u8870"],["shui","\u7761"],["shxi","\u53CC\u559C"],["sr","\u9A9A\u6270"],["tiao","\u8DF3\u8DF3"],["tl","\u6258\u8138"],["tnl","\u592A\u96BE\u4E86"],["tp","\u8C03\u76AE"],["ts","\u6258\u816E"],["tsh","\u8DF3\u7EF3"],["tt","\u5934\u79C3"],["tuu","\u5410"],["tx","\u5077\u7B11"],["ty","\u592A\u9633"],["wbk","\u6211\u4E0D\u770B"],["whl","\u95EE\u53F7\u8138"],["wl","\u65E0\u804A"],["wn","\u65E0\u5948"],["wosl","\u6211\u9178\u4E86"],["wq","\u59D4\u5C48"],["ws","\u63E1\u624B"],["wul","\u6342\u8138"],["wx","\u5FAE\u7B11"],["wzm","\u6211\u6700\u7F8E"],["xhx","\u5C0F\u6CB3\u87F9"],["xia","\u5413"],["xig","\u897F\u74DC"],["xin","\u7231\u5FC3"],["xjj","\u5C0F\u7EA0\u7ED3"],["xk","\u7B11\u54ED"],["xs","\u5FC3\u788E"],["xu","\u5618"],["xw","\u732E\u543B"],["xy","\u5C0F\u6837"],["xyx","\u659C\u773C\u7B11"],["yao","\u836F"],["yb","\u62E5\u62B1"],["yhh","\u53F3\u54FC\u54FC"],["yiw","\u7591\u95EE"],["yl","\u6708\u4EAE"],["youl","\u5E7D\u7075"],["youtj","\u53F3\u592A\u6781"],["yt","\u7F8A\u9A7C"],["yun","\u6655"],["yx","\u9634\u9669"],["zhd","\u70B8\u5F39"],["zhem","\u6298\u78E8"],["zhh","\u5DE6\u54FC\u54FC"],["zhm","\u5492\u9A82"],["zhq","\u8F6C\u5708"],["zj","\u518D\u89C1"],["zk","\u6293\u72C2"],["zq","\u8DB3\u7403"],["zt","\u732A\u5934"],["zuotj","\u5DE6\u592A\u6781"],["zyj","\u7728\u773C\u775B"]],gd="/%EMOJI%([^A-Za-z])",Pr='<span style="color: #c8c8c8; font-size: 0.3em;">/%EMOJI%</span><img src="%SOURCE%" alt="%NAME%" title="%NAME%" width="28px" height="28px">$1';function Ei(e){if(e.nodeType===1){if(e.tagName==="A"||e.tagName==="CODE")return[!1,e.outerHTML];let t=e.childNodes,n=!1,o="";for(let r=0;r<t.length;r++){let l=Ei(t[r]);n=n||l[0],o+=l[1]}return n&&(e.innerHTML=o),[n,e.outerHTML]}if(e.nodeType===3){let t=!1,n=`${e.data} `;for(let o=0;o<Ye.length;o++){let r=new RegExp(gd.replaceAll(/%EMOJI%/g,Ye[o][0]),"g");if(r.test(n)){let l=Pr.replaceAll(/%EMOJI%/g,Ye[o][0]).replaceAll(/%NAME%/g,Ye[o][1]);n=n.replaceAll(r,l),t=!0}}return[t,n.substring(0,n.length-1)]}return[!1,""]}function Ti(){let e=fd(),t=!1;for(let n=0;n<e.length;n++)for(let o=0;o<e[n].length;o++)if(e[n][o].lgse_replaced!=="true"){let r=Ei(e[n][o]);t=t||r[0],e[n][o].lgse_replaced="true"}t&&ge("Replaced"),setTimeout(Ti,1e3)}var Hr=`<style>
.se-ent {
z-index: 100;
position: fixed;
left: 30px;
bottom: 30px;
border-radius: 5px;
background-color: #fff;
padding: 11px;
width: auto;
height: auto;
cursor: pointer;
}
.se-ent:hover {
background-color: #ccc;
}
.se-mnu {
z-index: 999;
position: fixed;
top: 30px;
left: 30px;
border-radius: 5px;
background-color: #fff;
padding: 5px;
display: none;
width: max(35%, 300px);
height: calc(100% - 130px);
border: 1px solid #0e90d2;
}
.se-emj {
float: left;
background-color: #eee;
width: calc(28px + 7em);
height: auto;
border-radius: 2px;
margin: 5px;
}
.se-emj:hover {
background-color: #ccc;
}
.se-ipt {
width: calc(100% - 10px);
height: 1.5em;
margin-top: 0.25em;
margin-bottom: 0.25em;
}
.se-dsp {
width: auto;
height: auto;
overflow: auto;
}
.se-hlt {
color: #e67e22;
}
),codeContent!==null)for(let s=0;s<codeContent.length;s++)t=t.replace(/\#codeContent#`/i,n(codeContent[s]));if(t=t.replace(/<code>/ig,” ").replace(/\<\/code\>/ig," ”),preContent!==null)for(let s=0;s<preContent.length;s++){let a=preContent[s].match(/(?<=language-).?(?=[\s’”])/i),c=n(preContent[s]);c=c.replace(/^1\n2\n(\d+\n)/,""),a=a!=null&&a[0]!=“undefined”?a[0]+ : ,t=t.replace(/`#preContent#`/i,a+c)}return t=t.replace(/<pre>/ig,“").replace(/\<\/pre\>/ig,"\n\n”),t=n(t),t=t.replace(/</ig,”<“).replace(/>/ig,”>”),t=t.replace(/^\n{1,}/i,""),t}ue.reg(”/”,“easyMarkdown”,()=>{if(window.location.pathname===”/”){let e=setInterval(()=>{if(document.querySelector(“a[name=‘feed-reply’]”)){clearInterval(e);let n=document.querySelectorAll(“a[name=‘feed-reply’]”);for(let o=0;o<n.length;o++){let r=n[o],i=r.parentElement.parentElement.parentElement.children[1].innerHTML;for(;i[0]=== ;)i=i.substring(1);for(;i[0]===” ”;)i=i.substring(1);for(;i[i.length-1]===” ”;)i=i.substring(0,i.length-1);for(;i[i.length-1]=== ;)i=i.substring(0,i.length-1);let s=document.createElement(“a”);s.innerHTML=“\u590D\u5236Md”,s.onclick=()=>{GM_setClipboard(zd(i))},r.parentElement.appendChild(s)}}})}else if(window.location.pathname.startsWith(“/user”)){let t=https://www.luogu.com.cn/user/${window.location.pathname.substring(6)}?_contentOnly;fetch(t).then(n=>n.text()).then(n=>{let o=JSON.parse(n).currentData.user.introduction==null?”\u8FD9\u4E2A\u4EBA\u5F88\u61D2\uFF0C\u4EC0\u4E48\u90FD\u6CA1\u5199”:JSON.parse(n).currentData.user.introduction,r=<div id="copyMdBt" data-v-36d4a8df="" data-v-f9624136="" style="float: right;"><!----> <button data-v-7ade990c="" data-v-36d4a8df="" type="button" class="lfe-form-sz-small" data-v-f9624136="" style="border-color: rgb(52, 152, 219); color: rgb(52, 152, 219); background-color: rgba(52, 152, 219, 0);"> \u590D\u5236Md </button></div>,l=document.createElement(“div”);l.innerHTML=r,l.onclick=()=>{GM_setClipboard(o)};let i=document.querySelectorAll(“.card.padding-default”)[document.querySelectorAll(“.card.padding-default”).length-1];i.insertBefore(l,i.children[0])})}});ue.reg(”/”,“nbnhhsh”,()=>{let e=((t,n)=>{let o=“https://lab.magiconch.com/api/nbnhhsh/“,r=(v,w,T,L)=>GM_xmlhttpRequest({method:v,url:w,data:JSON.stringify(T),headers:{“content-type”:“application/json”},onload:M=>L(M.responseText?JSON.parse(M.responseText):null)}),l={},i=(v,w)=>{if(v=v.match(/[a-z0-9]{2,}/ig).join(”,”),l[v])return w(l[v]);i._request&&i._request.abort(),f.loading=!0,i._request=r(“POST”,o+“guess”,{text:v},T=>{l[v]=T,w(T),f.loading=!1})},s=v=>{let w=prompt(“\u8F93\u5165\u7F29\u5199\u5BF9\u5E94\u6587\u5B57 \u672B\u5C3E\u53EF\u901A\u8FC7\u62EC\u53F7\u5305\u88F9\uFF08\u7B80\u7565\u6CE8\u660E\u6765\u6E90\uFF09”,"");!w||!w.trim||!w.trim()||r(“POST”,o+“translation/“+v,{text:w},()=>{alert(“\u611F\u8C22\u5BF9\u597D\u597D\u8BF4\u8BDD\u9879\u76EE\u7684\u652F\u6301\uFF01\u5BA1\u6838\u901A\u8FC7\u540E\u8FD9\u6761\u5BF9\u5E94\u5C06\u4F1A\u751F\u6548”)})},a=v=>v.map(w=>{let T=w.match(/^(.+?)((([))])?/);return T.length===4?{text:T[1],sub:T[3]}:{text:w}}),c=v=>{let w=getSelection().toString().trim();return w&&/[a-z0-9]/i.test(w)?w:null},u=v=>{let w=getSelection().getRangeAt(0).getBoundingClientRect(),T=document.activeElement;["TEXTAREA","INPUT"].includes(T.tagName)&&(w=T.getBoundingClientRect());let L=document.documentElement.scrollTop||document.body.scrollTop,M=Math.floor(L+w.top+w.height),q=Math.floor(w.left);M===0&&q===0&&(f.show=!1),f.top=M,f.left=q},p=v=>{c()?setTimeout(p,300):f.show=!1},h=v=>{let w=c();f.show=!!w&&/[a-z0-9]/i.test(w),f.show&&(u(),i(w,T=>{T.length?f.tags=T:f.show=!1}),setTimeout(p,300))},y=v=>{setTimeout(h,1)};document.body.addEventListener("mouseup",y),document.body.addEventListener("keyup",y);let b=v=>{b._el.innerHTML=v;let w=b._el.children[0];return document.body.appendChild(w),w};b._el=document.createElement("div"),b(`<style>{n});let m=b(t),f=new Vue({el:m,data:{tags:[],show:!1,loading:!1,top:0,left:0},methods:{submitTran:s,transArrange:a}});return{guess:i,submitTran:s,transArrange:a}})(
\u52A0\u8F7D\u4E2D\u2026
{{tag.name}}
{{tran.text}}{{tran.sub}}
\u65E0\u5BF9\u5E94\u6587\u5B57
\u6709\u53EF\u80FD\u662F
{{input}}
\u5C1A\u672A\u5F55\u5165\uFF0C\u6211\u6765\u63D0\u4EA4\u5BF9\u5E94\u6587\u5B57
`,`
.nbnhhsh-box{
font:400 14px/1.4 sans-serif;
color:#333;
}
.nbnhhsh-box-pop{
position: absolute;
z-index:99999999999;
width: 340px;
background:#FFF;
box-shadow: 0 3px 30px -4px rgba(0,0,0,.3);
margin: 10px 0 100px 0;
}
.nbnhhsh-box-pop::before{
content: '';
position: absolute;
top:-7px;
left:8px;
width: 0;
height: 0;
border:7px solid transparent;
border-top:1px;
border-bottom-color:#FFF;
}
.nbnhhsh-box sub{
vertical-align: middle;
background: rgba(0,0,0,.07);
color: #777;
font-size: 12px;
line-height:16px;
display: inline-block;
padding: 0 3px;
margin:-2px 0 0 2px;
border-radius: 2px;
letter-spacing: -0.6px;
bottom:0;
}
.nbnhhsh-tag-list{
/padding:4px 0;/
}
.nbnhhsh-tag-item{
padding:4px 14px;
position: relative;
}
.nbnhhsh-tag-item:nth-child(even){
background: rgba(0, 99, 255, 0.06);
}
.nbnhhsh-tag-item h4{
font-weight:bold;
font-size:20px;
line-height:28px;
letter-spacing: 1.5px;
margin:0;
}
.nbnhhsh-tran-list{
color:#444;
padding: 0 0 4px 0;
line-height:18px;
}
.nbnhhsh-tran-item{
display: inline-block;
padding: 2px 15px 2px 0;
}
.nbnhhsh-inputting-list{
color:#222;
padding: 0 0 4px 0;
}
.nbnhhsh-inputting-list h5{
font-size:12px;
line-height:24px;
color:#999;
margin:0;
}
.nbnhhsh-inputting-item{
margin-right:14px;
display:inline-block;
}
.nbnhhsh-notran-box{
padding:4px 0;
color:#999;
cursor: pointer;
}
.nbnhhsh-add-btn{
position: absolute;
top:0;
right:0;
width: 30px;
line-height: 30px;
text-align: center;
color: #0059ff;
font-size: 16px;
font-weight: bold;
cursor: pointer;
}
.nbnhhsh-add-btn:after{
content: ’+’;
}
.nbnhhsh-loading{
text-align: center;
color:#999;
padding:20px 0;
}
)});Ce("OIso++ \u5DF2\u542F\u52A8\u3002");if(GM_getValue("firTime","true")==="true"){GM_setValue("firTime","false");let e=document.createElement("div");e.id="welcome",e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.width="100%",e.style.height="100%",e.style.background="rgba(0, 0, 0, 0.5)",e.style.backdropFilter="blur(5px)",e.style.transition="opacity 0.5s",e.style.opacity="0",e.style.zIndex="1000",setTimeout(()=>{e.style.opacity="1"},0),document.body.appendChild(e);let t=document.createElement("div");t.id="welcomeBox",t.style.position="fixed",t.style.top="30%",t.style.left="50%",t.style.transform="translate(-50%, -50%)",t.style.width="620px",t.style.height="400px",t.style.background="white",t.style.borderRadius="10px",t.style.boxShadow="0 0 10px rgba(0, 0, 0, 0.5)",t.style.transition="opacity 0.5s",t.style.opacity="0",t.style.zIndex="1001",setTimeout(()=>{t.style.opacity="1"},0),document.body.appendChild(t);let n=document.createElement("div");n.id="welcomeBoxTitle",n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",n.style.height="50px",n.style.lineHeight="50px",n.style.textAlign="center",n.style.fontSize="20px",n.style.fontWeight="bold",n.style.color="white",n.style.background="linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3)",n.style.backgroundSize="600%",n.style.animation="gradient 15s ease infinite",n.innerHTML="\u6B22\u8FCE\u4F7F\u7528 OIso++ \uFF01",t.appendChild(n);let o=document.createElement("div");o.id="welcomeBoxContent",o.style.position="absolute",o.style.top="50px",o.style.left="0",o.style.width="100%",o.style.height="350px",o.style.padding="20px",o.style.boxSizing="border-box",o.style.fontSize="16px",o.style.color="black",o.innerHTML='OIso++ \u662F\u4E00\u4E2AOIer\u7684\u597D\u5E2E\u624B\uFF0C\u5B83\u53EF\u4EE5\u5728\u6D1B\u8C37\u7B49\u7F51\u7AD9\u4E0A\u63D0\u4F9BOI\u68C0\u7D22\u7B49\u66F4\u591A\u670D\u52A1\u3002<br/>\u5B83\u53EF\u4EE5\u8BA9\u60A8\u67E5\u770B\u5E76\u53C2\u4E0E\u5E16\u5B50\u6295\u7968\u3001\u5728\u4EFB\u4F55\u5730\u65B9\u6309\u4E0B Ctrl + Alt \u6765\u5524\u8D77\u8D85\u7EA7\u9762\u677F\uFF0C\u8FD8\u80FD\u652F\u6301\u663E\u793A\u5934\u50CF\u6302\u4EF6\u3002<br/>\u6B64\u754C\u9762\u5C06\u4E0D\u4F1A\u518D\u663E\u793A\u3002\u5F3A\u70C8\u5EFA\u8BAE\u65B0\u624B\u67E5\u770B\u6216\u6536\u85CF<a style="color:blue" href="https://www.amzcd.top/posts/ex-OIso-guide/">\u65B0\u624B\u6307\u5357</a>\uFF0C\u91CC\u9762\u5305\u542B\u4E86\u66F4\u591A\u5173\u4E8EOIso++\u7684\u7528\u6CD5\u8BF4\u660E\u3002',t.appendChild(o);let r=document.createElement("div");r.id="welcomeBoxButton",r.style.position="absolute",r.style.bottom="20px",r.style.right="20px",r.style.width="80px",r.style.height="40px",r.style.lineHeight="40px",r.style.textAlign="center",r.style.fontSize="16px",r.style.fontWeight="bold",r.style.color="white",r.style.background="linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3)",r.style.backgroundSize="600%",r.style.animation="gradient 15s ease infinite",r.style.borderRadius="10px",r.style.cursor="pointer",r.innerHTML="\u786E\u5B9A",r.onclick=function(){e.style.opacity="0",t.style.opacity="0",setTimeout(()=>{document.body.removeChild(e),document.body.removeChild(t)},500)},t.appendChild(r);let i=https://online.oiso.cf/rewards/tamper/report/${document.querySelector(“.avatar”).src.match(//(\d+)./)[1]}`;qn(i,s=>{s.code===200?o.innerHTML+=“\u8FD9\u662F\u60A8\u7B2C\u4E00\u6B21\u4F7F\u7528 OIso++ \uFF0C\u611F\u8C22\u60A8\u7684\u652F\u6301\uFF015 \u79EF\u5206\u5DF2\u7ECF\u53D1\u653E\u5230\u60A8\u7684\u8D26\u6237\u4E2D\u3002”:o.innerHTML+=“\u611F\u8C22\u60A8\u7EE7\u7EED\u9009\u62E9\u4F7F\u7528 OIso++ \uFF01”})}})();