twikoo 1.7.7 → 1.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see twikoo.all.min.js.LICENSE.txt */
2
- var e,t;e=this,t=function(){return function(){var e={37:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n(78);r.marked.setOptions({renderer:new r.marked.Renderer,gfm:!0,tables:!0,breaks:!0,pedantic:!1,smartLists:!0,smartypants:!0}),t["default"]=r.marked},58:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M131.5 217.5L55.1 100.1c47.6-59.2 119-91.8 192-92.1 42.3-.3 85.5 10.5 124.8 33.2 43.4 25.2 76.4 61.4 97.4 103L264 133.4c-58.1-3.4-113.4 29.3-132.5 84.1zm32.9 38.5c0 46.2 37.4 83.6 83.6 83.6s83.6-37.4 83.6-83.6-37.4-83.6-83.6-83.6-83.6 37.3-83.6 83.6zm314.9-89.2L339.6 174c37.9 44.3 38.5 108.2 6.6 157.2L234.1 503.6c46.5 2.5 94.4-7.7 137.8-32.9 107.4-62 150.9-192 107.4-303.9zM133.7 303.6L40.4 120.1C14.9 159.1 0 205.9 0 256c0 124 90.8 226.7 209.5 244.9l63.7-124.8c-57.6 10.8-113.2-20.8-139.5-72.5z"></path></svg>'},78:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Lexer",{enumerable:!0,get:function(){return r.Lexer}}),Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return i.Parser}}),Object.defineProperty(t,"Renderer",{enumerable:!0,get:function(){return a.Renderer}}),Object.defineProperty(t,"Slugger",{enumerable:!0,get:function(){return u.Slugger}}),Object.defineProperty(t,"TextRenderer",{enumerable:!0,get:function(){return s.TextRenderer}}),Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return o.Tokenizer}}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return l.defaults}}),Object.defineProperty(t,"getDefaults",{enumerable:!0,get:function(){return l.getDefaults}}),t.lexer=void 0,t.marked=p,t.walkTokens=t.use=t.setOptions=t.parser=t.parseInline=t.parse=t.options=void 0;var r=n(3774),i=n(2817),o=n(4001),a=n(7565),s=n(1674),u=n(2123),c=n(9105),l=n(4008);function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),t=(0,c.merge)({},p.defaults,t||{}),(0,c.checkSanitizeDeprecation)(t),n){var o,a=t.highlight;try{o=r.Lexer.lex(e,t)}catch(d){return n(d)}var s=function(e){var r;if(!e)try{t.walkTokens&&p.walkTokens(o,t.walkTokens),r=i.Parser.parse(o,t)}catch(d){e=d}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return s();if(delete t.highlight,!o.length)return s();var u=0;return p.walkTokens(o,function(e){"code"===e.type&&(u++,setTimeout(function(){a(e.text,e.lang,function(t,n){if(t)return s(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0===--u&&s()})},0))}),void(0===u&&s())}try{var l=r.Lexer.lex(e,t);return t.walkTokens&&p.walkTokens(l,t.walkTokens),i.Parser.parse(l,t)}catch(d){if(d.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+(0,c.escape)(d.message+"",!0)+"</pre>";throw d}}p.options=p.setOptions=function(e){return(0,c.merge)(p.defaults,e),(0,l.changeDefaults)(p.defaults),p},p.getDefaults=l.getDefaults,p.defaults=l.defaults,p.use=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=c.merge.apply(void 0,[{}].concat(t)),s=p.defaults.extensions||{renderers:{},childTokens:{}};t.forEach(function(e){if(e.extensions&&(r=!0,e.extensions.forEach(function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=s.renderers?s.renderers[e.name]:null;s.renderers[e.name]=t?function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=e.renderer.apply(this,r);return!1===o&&(o=t.apply(this,r)),o}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");s[e.level]?s[e.level].unshift(e.tokenizer):s[e.level]=[e.tokenizer],e.start&&("block"===e.level?s.startBlock?s.startBlock.push(e.start):s.startBlock=[e.start]:"inline"===e.level&&(s.startInline?s.startInline.push(e.start):s.startInline=[e.start]))}e.childTokens&&(s.childTokens[e.name]=e.childTokens)})),e.renderer){var t=p.defaults.renderer||new a.Renderer,n=function(n){var r=t[n];t[n]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.renderer[n].apply(t,o);return!1===s&&(s=r.apply(t,o)),s}};for(var u in e.renderer)n(u);i.renderer=t}if(e.tokenizer){var c=p.defaults.tokenizer||new o.Tokenizer,l=function(t){var n=c[t];c[t]=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=e.tokenizer[t].apply(c,i);return!1===a&&(a=n.apply(c,i)),a}};for(var d in e.tokenizer)l(d);i.tokenizer=c}if(e.walkTokens){var f=p.defaults.walkTokens;i.walkTokens=function(t){e.walkTokens.call(this,t),f&&f.call(this,t)}}r&&(i.extensions=s),p.setOptions(i)})},p.walkTokens=function(e,t){var n,r=d(e);try{var i=function(){var e=n.value;switch(t.call(p,e),e.type){case"table":var r,i=d(e.header);try{for(i.s();!(r=i.n()).done;){var o=r.value;p.walkTokens(o.tokens,t)}}catch(f){i.e(f)}finally{i.f()}var a,s=d(e.rows);try{for(s.s();!(a=s.n()).done;){var u,c=d(a.value);try{for(c.s();!(u=c.n()).done;){var l=u.value;p.walkTokens(l.tokens,t)}}catch(f){c.e(f)}finally{c.f()}}}catch(f){s.e(f)}finally{s.f()}break;case"list":p.walkTokens(e.items,t);break;default:p.defaults.extensions&&p.defaults.extensions.childTokens&&p.defaults.extensions.childTokens[e.type]?p.defaults.extensions.childTokens[e.type].forEach(function(n){p.walkTokens(e[n],t)}):e.tokens&&p.walkTokens(e.tokens,t)}};for(r.s();!(n=r.n()).done;)i()}catch(o){r.e(o)}finally{r.f()}},p.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=(0,c.merge)({},p.defaults,t||{}),(0,c.checkSanitizeDeprecation)(t);try{var n=r.Lexer.lexInline(e,t);return t.walkTokens&&p.walkTokens(n,t.walkTokens),i.Parser.parseInline(n,t)}catch(o){if(o.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+(0,c.escape)(o.message+"",!0)+"</pre>";throw o}},p.Parser=i.Parser,p.parser=i.Parser.parse,p.Renderer=a.Renderer,p.TextRenderer=s.TextRenderer,p.Lexer=r.Lexer,p.lexer=r.Lexer.lex,p.Tokenizer=o.Tokenizer,p.Slugger=u.Slugger,p.parse=p,t.options=p.options,t.setOptions=p.setOptions,t.use=p.use,t.walkTokens=p.walkTokens,t.parseInline=p.parseInline,t.parse=p,t.parser=i.Parser.parse,t.lexer=r.Lexer.lex},147:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=r(n(1423)),s=r(n(5171)),u=r(n(6639)),c=r(n(2573)),l=r(n(1628)),d=n(8129),f=r(n(4785)),p=r(n(5062)),h=["apng","bmp","gif","jpeg","jpg","png","svg","tif","tiff","webp"];t.A={components:{TkAvatar:f["default"],TkMetaInput:p["default"]},directives:{Clickoutside:c["default"]},props:{replyId:String,pid:String,config:Object},data:function(){return{isSending:!1,isPreviewing:!1,isMetaValid:!1,errorMessage:"",owo:null,comment:"",commentHtml:"",nick:"",mail:"",link:"",turnstileLoad:null,geeTestLoad:null,geeTestCaptchaObj:null,capLoad:null,iconMarkdown:a["default"],iconEmotion:u["default"],iconImage:s["default"]}},computed:{captchaProvider:function(){return"undefined"!=typeof this.config.CAPTCHA_PROVIDER?this.config.CAPTCHA_PROVIDER:this.config.TURNSTILE_SITE_KEY?"Turnstile":this.config.GEETEST_CAPTCHA_ID?"Geetest":this.config.CAP_API_ENDPOINT?"Cap":""},showImage:function(){return!!this.config.IMAGE_CDN},canSend:function(){return!this.isSending&&!!this.isMetaValid&&!!this.comment.trim()},textarea:function(){return this.$refs.textarea?this.$refs.textarea.$refs.textarea:null},commentPlaceholder:function(){var e=this.$twikoo.placeholder||this.config.COMMENT_PLACEHOLDER||"";return e=e.replace(/<br>/g,"\n")},maxLength:function(){var e=parseInt(this.config.LIMIT_LENGTH);return Number.isNaN(e)&&(e=500),e>0?e:null}},methods:{t:d.t,initDraft:function(){var e=localStorage.getItem("twikoo-draft");!this.comment&&e&&(this.comment=e)},saveDraft:function(){localStorage.setItem("twikoo-draft",this.comment)},initOwo:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("true"!==e.config.SHOW_EMOTION){t.next=6;break}return t.next=3,(0,d.initOwoEmotions)(e.config.EMOTION_CDN||"https://owo.imaegoo.com/owo.json");case 3:n=t.sent,e.owo=new l["default"]({logo:u["default"],container:e.$refs.owo,target:e.textarea,odata:n,position:"down",maxHeight:"250px"}),d.marked.setOptions({odata:(0,d.initMarkedOwo)(n)});case 6:case"end":return t.stop()}},t)}))()},initTurnstile:function(){var e=this;"Turnstile"===this.captchaProvider&&this.config.TURNSTILE_SITE_KEY&&(window.turnstile?this.turnstileLoad=Promise.resolve():this.turnstileLoad=new Promise(function(t,n){var r=document.createElement("script");r.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",r.onload=t,r.onerror=n,e.$refs["turnstile-container"].appendChild(r)}))},getTurnstileToken:function(){var e=this;return new Promise(function(t,n){e.turnstileLoad.then(function(){var r=window.turnstile.render(e.$refs.turnstile,{sitekey:e.config.TURNSTILE_SITE_KEY,callback:function(e){t(e),setTimeout(function(){window.turnstile.remove(r)},1e3)},"error-callback":n,"expired-callback":function(){n(new Error("验证码已过期,请重试"))},"timeout-callback":function(){n(new Error("验证码超时,请重试"))}})})})},initGeeTest:function(){var e=this;"Geetest"===this.captchaProvider&&this.config.GEETEST_CAPTCHA_ID&&(window.initGeetest4?this.geeTestLoad=Promise.resolve():this.geeTestLoad=new Promise(function(t,n){var r=document.createElement("script");r.src="https://static.geetest.com/v4/gt4.js",r.onload=t,r.onerror=n,e.$refs["geetest-container"].appendChild(r)}))},getGeeTestToken:function(){var e=this;return new Promise(function(t,n){e.geeTestLoad.then(function(){window.initGeetest4({captchaId:e.config.GEETEST_CAPTCHA_ID,product:"bind",language:"zho"},function(r){e.geeTestCaptchaObj=r,r.onReady(function(){r.showCaptcha()}).onSuccess(function(){var e=r.getValidate();t({geeTestLotNumber:e.lot_number,geeTestCaptchaOutput:e.captcha_output,geeTestPassToken:e.pass_token,geeTestGenTime:e.gen_time})}).onError(function(e){n(e)}).onClose(function(){n(new Error("验证已取消"))})})})})},initCap:function(){var e=this;"Cap"===this.captchaProvider&&this.config.CAP_API_ENDPOINT&&(window.Cap?this.capLoad=Promise.resolve():this.capLoad=new Promise(function(t,n){var r=document.createElement("script");r.src="https://cdn.jsdmirror.com/npm/@cap.js/widget",r.onload=t,r.onerror=n,e.$refs["cap-container"].appendChild(r)}))},getCapToken:function(){var e=this;return new Promise(function(t,n){e.capLoad.then(function(){var r=document.createElement("cap-widget");r.setAttribute("id","cap-widget"),r.setAttribute("data-cap-api-endpoint",e.config.CAP_API_ENDPOINT),e.$refs["cap-container"].appendChild(r);var i=function(){r&&r.parentNode&&r.parentNode.removeChild(r)};r.solve().then(function(e){i(),e.success?t(e.token):n(new Error("Cap验证失败"))})["catch"](function(e){i(),n(e)})})})},onMetaUpdate:function(e){this.nick=e.meta.nick,this.mail=e.meta.mail,this.link=e.meta.link,this.isMetaValid=e.valid},cancel:function(){this.$emit("cancel")},onCommentInput:function(){this.saveDraft(),this.updatePreview()},preview:function(){this.isPreviewing=!this.isPreviewing,this.updatePreview()},updatePreview:function(){var e=this;this.isPreviewing&&(this.commentHtml=(0,d.marked)(this.comment),this.$nextTick(function(){(0,d.renderLinks)(e.$refs["comment-preview"]),(0,d.renderMath)(e.$refs["comment-preview"],e.$twikoo.katex),"true"===e.config.HIGHLIGHT&&(0,d.renderCode)(e.$refs["comment-preview"],e.config.HIGHLIGHT_THEME,e.config.HIGHLIGHT_PLUGIN)}))},send:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n,r,o;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.isSending=!0,t.prev=1,!e.comment.match(new RegExp("!\\[".concat((0,d.t)("IMAGE_UPLOAD_PLACEHOLDER"),".+\\]\\(\\)")))){t.next=4;break}throw new Error((0,d.t)("IMAGE_UPLOAD_PLEASE_WAIT"));case 4:return t.t0=e.nick,t.t1=e.mail,t.t2=e.link,t.next=9,(0,d.getUserAgent)();case 9:if(t.t3=t.sent,t.t4=(0,d.getUrl)(e.$twikoo.path),t.t5=(0,d.getHref)(e.$twikoo.href),t.t6=(0,d.marked)(e.comment),t.t7=e.pid?e.pid:e.replyId,t.t8=e.replyId,n={nick:t.t0,mail:t.t1,link:t.t2,ua:t.t3,url:t.t4,href:t.t5,comment:t.t6,pid:t.t7,rid:t.t8},"Turnstile"!==e.captchaProvider||!e.config.TURNSTILE_SITE_KEY){t.next=20;break}return t.next=19,e.getTurnstileToken();case 19:n.turnstileToken=t.sent;case 20:if("Geetest"!==e.captchaProvider||!e.config.GEETEST_CAPTCHA_ID){t.next=28;break}return t.next=23,e.getGeeTestToken();case 23:r=t.sent,n.geeTestLotNumber=r.geeTestLotNumber,n.geeTestCaptchaOutput=r.geeTestCaptchaOutput,n.geeTestPassToken=r.geeTestPassToken,n.geeTestGenTime=r.geeTestGenTime;case 28:if("Cap"!==e.captchaProvider||!e.config.CAP_API_ENDPOINT){t.next=32;break}return t.next=31,e.getCapToken();case 31:n.capToken=t.sent;case 32:return t.next=34,(0,d.call)(e.$tcb,"COMMENT_SUBMIT",n);case 34:if(!((o=t.sent)&&o.result&&o.result.id)){t.next=42;break}e.comment="",e.errorMessage="",e.$emit("load"),e.saveDraft(),t.next=43;break;case 42:throw new Error(o.result.message);case 43:t.next=49;break;case 45:t.prev=45,t.t9=t["catch"](1),d.logger.error("评论失败",t.t9),e.errorMessage="".concat((0,d.t)("COMMENT_FAILED"),": ").concat(t.t9&&t.t9.message);case 49:return t.prev=49,e.isSending=!1,t.finish(49);case 52:case"end":return t.stop()}},t,null,[[1,45,49,52]])}))()},addEventListener:function(){this.textarea&&this.textarea.addEventListener("paste",this.onPaste)},onBgImgChange:function(){this.config.COMMENT_BG_IMG&&this.textarea&&(this.textarea.style["background-image"]='url("'.concat(this.config.COMMENT_BG_IMG,'")'))},onEnterKeyUp:function(e){(e.ctrlKey||e.metaKey)&&this.canSend&&(this.send(),e.preventDefault())},closeOwo:function(){this.owo&&this.owo.container.classList.contains("OwO-open")&&this.owo.toggle()},openSelectImage:function(){this.$refs.inputFile.click()},onSelectImage:function(){var e=this.$refs.inputFile.files[0];this.parseAndUploadPhoto(e)},onPaste:function(e){var t;e.clipboardData&&(e.clipboardData.files[0]?t=e.clipboardData.files[0]:e.clipboardData.items[0]&&e.clipboardData.items[0].getAsFile()&&(t=e.clipboardData.items[0].getAsFile()),this.parseAndUploadPhoto(t))},parseAndUploadPhoto:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){var r,o,a,s,u,c,l,f,p,m;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e&&t.showImage){n.next=2;break}return n.abrupt("return");case 2:if(r=e.name.split("."),o=r.length>1?r.pop():"",-1!==h.indexOf(o.toLowerCase())){n.next=6;break}return n.abrupt("return");case 6:return a=t.getUserId(),s="".concat(Date.now(),"-").concat(a),u=r.join("."),c="image/gif"===e.type,l=c?u:u+".webp",f=c?o:"webp",t.paste(t.getImagePlaceholder(s,f)),p=t.config.IMAGE_CDN,n.next=16,t.compressImage(e);case 16:m=n.sent,!t.$tcb||p&&"qcloud"!==p?p?t.uploadPhotoToThirdParty(s,l,f,m):t.uploadFailed(s,f,(0,d.t)("IMAGE_UPLOAD_FAILED_NO_CONF")):t.uploadPhotoToQcloud(s,l,f,m);case 18:case"end":return n.stop()}},n)}))()},getUserId:function(){return this.$tcb?this.$tcb.auth.currentUser.uid:localStorage.getItem("twikoo-access-token")},compressImage:function(e){return(0,o["default"])(i["default"].mark(function t(){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("image/gif"!==e.type){t.next=2;break}return t.abrupt("return",e);case 2:return t.abrupt("return",new Promise(function(t){var n=new FileReader;n.onload=function(n){var r=new Image;r.onload=function(){var n=document.createElement("canvas"),i=r.width,o=r.height,a=1920;(i>a||o>a)&&(i>o?(o=o*a/i,i=a):(i=i*a/o,o=a)),n.width=i,n.height=o,n.getContext("2d").drawImage(r,0,0,i,o);var s="image/webp",u=e.name.replace(/\.[^.]+$/,".webp");n.toBlob(function(e){t(new File([e],u,{type:s}))},s,.85)},r.src=n.target.result},n.readAsDataURL(e)}));case 3:case"end":return t.stop()}},t)}))()},uploadPhotoToQcloud:function(e,t,n,r){var a=this;return(0,o["default"])(i["default"].mark(function s(){var o,u,c;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,a.$tcb.app.uploadFile({cloudPath:"tk-img/".concat(e,".").concat(n),filePath:r});case 3:if(!(o=i.sent).fileID){i.next=10;break}return i.next=7,a.$tcb.app.getTempFileURL({fileList:[o.fileID]});case 7:u=i.sent,c=u.fileList[0].tempFileURL,a.uploadCompleted(e,t,n,c);case 10:i.next=16;break;case 12:i.prev=12,i.t0=i["catch"](0),console.error(i.t0),a.uploadFailed(e,n,i.t0.message);case 16:case"end":return i.stop()}},s,null,[[0,12]])}))()},uploadPhotoToThirdParty:function(e,t,n,r){var a=this;return(0,o["default"])(i["default"].mark(function s(){var o,u;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.t0=d.call,i.t1=a.$tcb,i.t2=t,i.next=6,(0,d.blobToDataURL)(r);case 6:return i.t3=i.sent,i.t4={fileName:i.t2,photo:i.t3},i.next=10,(0,i.t0)(i.t1,"UPLOAD_IMAGE",i.t4);case 10:o=i.sent,(u=o.result).data?a.uploadCompleted(e,t,n,u.data.url):1041===u.code?a.uploadFailed(e,n,(0,d.t)("IMAGE_UPLOAD_NSFW")):(console.error(u),a.uploadFailed(e,n,u.err)),i.next=19;break;case 15:i.prev=15,i.t5=i["catch"](0),console.error(i.t5),a.uploadFailed(e,n,i.t5.message);case 19:case"end":return i.stop()}},s,null,[[0,15]])}))()},uploadCompleted:function(e,t,n,r){t=t.replace(/[[\]]/g,"_"),this.comment=this.comment.replace(this.getImagePlaceholder(e,n),"![".concat(t,"](").concat(r,")")),this.$refs.inputFile.value=""},uploadFailed:function(e,t,n){this.comment=this.comment.replace(this.getImagePlaceholder(e,t),"_".concat((0,d.t)("IMAGE_UPLOAD_FAILED"),": ").concat(n,"_")),this.$refs.inputFile.value=""},paste:function(e){if(document.selection)document.selection.createRange().text=e;else if(this.textarea.selectionStart||0===this.textarea.selectionStart){var t=this.textarea.selectionStart,n=this.textarea.selectionEnd;this.comment=this.comment.substring(0,t)+e+this.comment.substring(n,this.comment.length),this.textarea.selectionStart=t+e.length,this.textarea.selectionEnd=t+e.length}else this.comment+=e},getImagePlaceholder:function(e,t){return"![".concat((0,d.t)("IMAGE_UPLOAD_PLACEHOLDER")," ").concat(e,".").concat(t,"]()")}},mounted:function(){this.pid&&this.$refs["tk-submit"].scrollIntoView({behavior:"instant",block:"center"}),this.initDraft(),this.initOwo(),this.addEventListener(),this.onBgImgChange(),this.initTurnstile(),this.initGeeTest(),this.initCap()},watch:{"config.SHOW_EMOTION":function(){this.initOwo()},"config.COMMENT_BG_IMG":function(){this.onBgImgChange()},"config.TURNSTILE_SITE_KEY":function(){this.initTurnstile()},"config.GEETEST_CAPTCHA_ID":function(){this.initGeeTest()},"config.CAP_API_ENDPOINT":function(){this.initCap()},captchaProvider:function(){this.initTurnstile(),this.initGeeTest(),this.initCap()}}}},210:function(){"use strict";!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e={javascript:"clike",actionscript:"javascript",apex:["clike","sql"],arduino:"cpp",aspnet:["markup","csharp"],birb:"clike",bison:"c",c:"clike",csharp:"clike",cpp:"c",cfscript:"clike",chaiscript:["clike","cpp"],cilkc:"c",cilkcpp:"cpp",coffeescript:"javascript",crystal:"ruby","css-extras":"css",d:"clike",dart:"clike",django:"markup-templating",ejs:["javascript","markup-templating"],etlua:["lua","markup-templating"],erb:["ruby","markup-templating"],fsharp:"clike","firestore-security-rules":"clike",flow:"javascript",ftl:"markup-templating",gml:"clike",glsl:"c",go:"clike",gradle:"clike",groovy:"clike",haml:"ruby",handlebars:"markup-templating",haxe:"clike",hlsl:"c",idris:"haskell",java:"clike",javadoc:["markup","java","javadoclike"],jolie:"clike",jsdoc:["javascript","javadoclike","typescript"],"js-extras":"javascript",json5:"json",jsonp:"json","js-templates":"javascript",kotlin:"clike",latte:["clike","markup-templating","php"],less:"css",lilypond:"scheme",liquid:"markup-templating",markdown:"markup","markup-templating":"markup",mongodb:"javascript",n4js:"javascript",objectivec:"c",opencl:"c",parser:"markup",php:"markup-templating",phpdoc:["php","javadoclike"],"php-extras":"php",plsql:"sql",processing:"clike",protobuf:"clike",pug:["markup","javascript"],purebasic:"clike",purescript:"haskell",qsharp:"clike",qml:"javascript",qore:"clike",racket:"scheme",cshtml:["markup","csharp"],jsx:["markup","javascript"],tsx:["jsx","typescript"],reason:"clike",ruby:"clike",sass:"css",scss:"css",scala:"java","shell-session":"bash",smarty:"markup-templating",solidity:"clike",soy:"markup-templating",sparql:"turtle",sqf:"clike",squirrel:"clike",stata:["mata","java","python"],"t4-cs":["t4-templating","csharp"],"t4-vb":["t4-templating","vbnet"],tap:"yaml",tt2:["clike","markup-templating"],textile:"markup",twig:"markup-templating",typescript:"javascript",v:"clike",vala:"clike",vbnet:"basic",velocity:"markup",wiki:"markup",xeora:"markup","xml-doc":"markup",xquery:"markup"},t={html:"markup",xml:"markup",svg:"markup",mathml:"markup",ssml:"markup",atom:"markup",rss:"markup",js:"javascript",g4:"antlr4",ino:"arduino","arm-asm":"armasm",art:"arturo",adoc:"asciidoc",avs:"avisynth",avdl:"avro-idl",gawk:"awk",sh:"bash",shell:"bash",shortcode:"bbcode",rbnf:"bnf",oscript:"bsl",cs:"csharp",dotnet:"csharp",cfc:"cfscript","cilk-c":"cilkc","cilk-cpp":"cilkcpp",cilk:"cilkcpp",coffee:"coffeescript",conc:"concurnas",jinja2:"django","dns-zone":"dns-zone-file",dockerfile:"docker",gv:"dot",eta:"ejs",xlsx:"excel-formula",xls:"excel-formula",gamemakerlanguage:"gml",po:"gettext",gni:"gn",ld:"linker-script","go-mod":"go-module",hbs:"handlebars",mustache:"handlebars",hs:"haskell",idr:"idris",gitignore:"ignore",hgignore:"ignore",npmignore:"ignore",webmanifest:"json",kt:"kotlin",kts:"kotlin",kum:"kumir",tex:"latex",context:"latex",ly:"lilypond",emacs:"lisp",elisp:"lisp","emacs-lisp":"lisp",md:"markdown",moon:"moonscript",n4jsd:"n4js",nani:"naniscript",objc:"objectivec",qasm:"openqasm",objectpascal:"pascal",px:"pcaxis",pcode:"peoplecode",plantuml:"plant-uml",pq:"powerquery",mscript:"powerquery",pbfasm:"purebasic",purs:"purescript",py:"python",qs:"qsharp",rkt:"racket",razor:"cshtml",rpy:"renpy",res:"rescript",robot:"robotframework",rb:"ruby","sh-session":"shell-session",shellsession:"shell-session",smlnj:"sml",sol:"solidity",sln:"solution-file",rq:"sparql",sclang:"supercollider",t4:"t4-cs",trickle:"tremor",troy:"tremor",trig:"turtle",ts:"typescript",tsconfig:"typoscript",uscript:"unrealscript",uc:"unrealscript",url:"uri",vb:"visual-basic",vba:"visual-basic",webidl:"web-idl",mathematica:"wolfram",nb:"wolfram",wl:"wolfram",xeoracube:"xeora",yml:"yaml"},n={},r="components/",i=Prism.util.currentScript();if(i){var o=/\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,a=/(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,s=i.getAttribute("data-autoloader-path");if(null!=s)r=s.trim().replace(/\/?$/,"/");else{var u=i.src;o.test(u)?r=u.replace(o,"components/"):a.test(u)&&(r=u.replace(a,"$1components/"))}}var c=Prism.plugins.autoloader={languages_path:r,use_minified:!0,loadLanguages:d};Prism.hooks.add("complete",function(e){var t=e.element,n=e.language;if(t&&n&&"none"!==n){var r=function(e){var t=(e.getAttribute("data-dependencies")||"").trim();if(!t){var n=e.parentElement;n&&"pre"===n.tagName.toLowerCase()&&(t=(n.getAttribute("data-dependencies")||"").trim())}return t?t.split(/\s*,\s*/g):[]}(t);/^diff-./i.test(n)?(r.push("diff"),r.push(n.substr(5))):r.push(n),r.every(l)||d(r,function(){Prism.highlightElement(t)})}})}function l(e){if(e.indexOf("!")>=0)return!1;if((e=t[e]||e)in Prism.languages)return!0;var r=n[e];return r&&!r.error&&!1===r.loading}function d(r,i,o){"string"==typeof r&&(r=[r]);var a=r.length,s=0,u=!1;function p(){u||++s===a&&i&&i(r)}0!==a?r.forEach(function(r){!function(r,i,o){var a=r.indexOf("!")>=0;function s(){var e=n[r];e||(e=n[r]={callbacks:[]}),e.callbacks.push({success:i,error:o}),!a&&l(r)?f(r,"success"):!a&&e.error?f(r,"error"):!a&&e.loading||(e.loading=!0,e.error=!1,function(e,t,n){var r=document.createElement("script");r.src=e,r.async=!0,r.onload=function(){document.body.removeChild(r),t&&t()},r.onerror=function(){document.body.removeChild(r),n&&n()},document.body.appendChild(r)}(function(e){return c.languages_path+"prism-"+e+(c.use_minified?".min":"")+".js"}(r),function(){e.loading=!1,f(r,"success")},function(){e.loading=!1,e.error=!0,f(r,"error")}))}r=r.replace("!","");var u=e[r=t[r]||r];u&&u.length?d(u,s,o):s()}(r,p,function(){u||(u=!0,o&&o(r))})}):i&&setTimeout(i,0)}function f(e,t){if(n[e]){for(var r=n[e].callbacks,i=0,o=r.length;i<o;i++){var a=r[i][t];a&&setTimeout(a,0)}r.length=0}}}()},269:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-avatar {\n flex-shrink: 0;\n height: 2.5rem;\n width: 2.5rem;\n overflow: hidden;\n text-align: center;\n border-radius: 5px;\n margin-right: 1rem;\n}\n.tk-comment .tk-submit .tk-avatar,\n.tk-replies .tk-avatar {\n height: 1.6rem;\n width: 1.6rem;\n}\n.tk-avatar.tk-has-avatar {\n background-color: rgba(144,147,153,0.13);\n}\n.tk-avatar.tk-clickable {\n cursor: pointer;\n}\n.tk-avatar .tk-avatar-img {\n height: 2.5rem;\n color: #c0c4cc;\n}\n.tk-comment .tk-submit .tk-avatar .tk-avatar-img,\n.tk-replies .tk-avatar .tk-avatar-img {\n height: 1.6rem;\n}\n",""]),t["default"]=a},292:function(e,t,n){var r=n(6785);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("88983344",r,!0,{})},323:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-action {\n display: flex;\n align-items: center;\n}\n.tk-action-link {\n appearance: none;\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n margin: 0;\n margin-left: 0.5rem;\n color: #409eff;\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n.tk-action-link .tk-action-icon-solid {\n display: none;\n}\n.tk-action-link.tk-liked .tk-action-icon,\n.tk-action-link:hover .tk-action-icon {\n display: none;\n}\n.tk-action-link.tk-liked .tk-action-icon-solid,\n.tk-action-link:hover .tk-action-icon-solid {\n display: block;\n}\n.tk-action-link.tk-disliked .tk-action-icon,\n.tk-action-link.tk-disliked:hover .tk-action-icon {\n display: none;\n}\n.tk-action-link.tk-disliked .tk-action-icon-solid,\n.tk-action-link.tk-disliked:hover .tk-action-icon-solid {\n display: block;\n}\n.tk-action-count {\n margin-left: 0.25rem;\n font-size: 0.75rem;\n height: 1.5rem;\n line-height: 1.5rem;\n}\n.tk-action-icon {\n display: inline-block;\n height: 1em;\n width: 1em;\n line-height: 0;\n color: #409eff;\n}\n",""]),t["default"]=a},418:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=n(2199),s=n(8129);t.A={data:function(){return{version:a.version,counter:{}}},methods:{getCounter:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n,r,o,a;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=document.getElementById("twikoo_visitors")){t.next=3;break}return t.abrupt("return");case 3:if(-1===["localhost","127.0.0.1","0.0.0.0"].indexOf(window.location.hostname)){t.next=5;break}return t.abrupt("return");case 5:return r=(0,s.getUrl)(e.$twikoo.path),o=(0,s.getHref)(e.$twikoo.href),t.next=9,(0,s.call)(e.$tcb,"COUNTER_GET",{url:r,href:o,title:document.title});case 9:a=t.sent,e.counter=a.result,(e.counter.time||0===e.counter.time)&&(n.innerHTML=e.counter.time);case 12:case"end":return t.stop()}},t)}))()}},mounted:function(){this.getCounter()}}},477:function(e){"use strict";e.exports=function(e){return e&&e.__esModule?e:{"default":e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},479:function(e,t,n){"use strict";var r=n(477)(n(9367)),i=n(7120)();e.exports=i;try{regeneratorRuntime=i}catch(o){"object"===("undefined"==typeof globalThis?"undefined":(0,r["default"])(globalThis))?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},489:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-meta-input"},e._l(e.displayedInputs,function(n){return t("el-input",{key:n.key,attrs:{name:n.name,type:n.type,placeholder:e.requiredFields[n.key]?e.t("META_INPUT_REQUIRED"):e.t("META_INPUT_NOT_REQUIRED"),size:"small"},on:{change:e.onMetaChange},model:{value:e.metaData[n.key],callback:function(t){e.$set(e.metaData,n.key,t)},expression:"metaData[metaInput.key]"}},[t("template",{slot:"prepend"},[e._v(e._s(n.locale))])],2)}),1)},t.Yp=[]},504:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"></path></svg>'},585:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.isUrl=t.call=void 0;var i=r(n(479)),o=r(n(3852)),a=r(n(4964)),s=n(1085);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){(0,o["default"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l=t.isUrl=function(e){return/^http(s)?:\/\//.test(e)};t.call=function(){var e=(0,a["default"])(i["default"].mark(function t(e,n){var r,o,a,u,d,f=arguments;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=f.length>2&&f[2]!==undefined?f[2]:{},o=e||(s.app?s.app.$tcb:null),a=r.envId||s.app.$twikoo.envId,u=r.funcName||(null===s.app||void 0===s.app?void 0:s.app.$twikoo.funcName)||"twikoo",!o){t.next=33;break}return t.prev=5,t.next=8,o.app.callFunction({name:u,data:c({event:n},r)});case 8:case 27:case 36:return t.abrupt("return",t.sent);case 11:t.prev=11,t.t0=t["catch"](5),t.t1=n,t.next="COMMENT_LIKE"===t.t1?16:"COMMENT_GET"===t.t1?18:"COMMENT_SUBMIT"===t.t1?20:"COUNTER_GET"===t.t1?22:24;break;case 16:return d="comment-like",t.abrupt("break",24);case 18:return d="comment-get",t.abrupt("break",24);case 20:return d="comment-submit",t.abrupt("break",24);case 22:return d="counter-get",t.abrupt("break",24);case 24:if(!d){t.next=30;break}return t.next=27,o.app.callFunction({name:d,data:r});case 30:throw new Error("请升级 Twikoo 云函数版本再试,如果仍无法解决,请删除并重新创建 Twikoo 云函数 - https://twikoo.js.org");case 31:t.next=40;break;case 33:if(!l(a)){t.next=39;break}return t.next=36,new Promise(function(e,t){try{var i=localStorage.getItem("twikoo-access-token"),o=new XMLHttpRequest;o.onreadystatechange=function(){if(4===o.readyState)if(200===o.status){var n=JSON.parse(o.responseText);n.accessToken&&localStorage.setItem("twikoo-access-token",n.accessToken),e({result:n})}else t(o.status)},o.open("POST",a),o.setRequestHeader("Content-Type","application/json"),o.send(JSON.stringify(c({event:n,accessToken:i},r)))}catch(s){t(s)}});case 39:throw new Error("缺少 envId 配置 - https://twikoo.js.org");case 40:case"end":return t.stop()}},t,null,[[5,11]])}));return function(t,n){return e.apply(this,arguments)}}()},622:function(e,t,n){var r=n(3723);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("0e5ef982",r,!0,{})},740:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M274.69,274.69l-37.38-37.38L166,346ZM256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8ZM411.85,182.79l14.78-6.13A8,8,0,0,1,437.08,181h0a8,8,0,0,1-4.33,10.46L418,197.57a8,8,0,0,1-10.45-4.33h0A8,8,0,0,1,411.85,182.79ZM314.43,94l6.12-14.78A8,8,0,0,1,331,74.92h0a8,8,0,0,1,4.33,10.45l-6.13,14.78a8,8,0,0,1-10.45,4.33h0A8,8,0,0,1,314.43,94ZM256,60h0a8,8,0,0,1,8,8V84a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V68A8,8,0,0,1,256,60ZM181,74.92a8,8,0,0,1,10.46,4.33L197.57,94a8,8,0,1,1-14.78,6.12l-6.13-14.78A8,8,0,0,1,181,74.92Zm-63.58,42.49h0a8,8,0,0,1,11.31,0L140,128.72A8,8,0,0,1,140,140h0a8,8,0,0,1-11.31,0l-11.31-11.31A8,8,0,0,1,117.41,117.41ZM60,256h0a8,8,0,0,1,8-8H84a8,8,0,0,1,8,8h0a8,8,0,0,1-8,8H68A8,8,0,0,1,60,256Zm40.15,73.21-14.78,6.13A8,8,0,0,1,74.92,331h0a8,8,0,0,1,4.33-10.46L94,314.43a8,8,0,0,1,10.45,4.33h0A8,8,0,0,1,100.15,329.21Zm4.33-136h0A8,8,0,0,1,94,197.57l-14.78-6.12A8,8,0,0,1,74.92,181h0a8,8,0,0,1,10.45-4.33l14.78,6.13A8,8,0,0,1,104.48,193.24ZM197.57,418l-6.12,14.78a8,8,0,0,1-14.79-6.12l6.13-14.78A8,8,0,1,1,197.57,418ZM264,444a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V428a8,8,0,0,1,8-8h0a8,8,0,0,1,8,8Zm67-6.92h0a8,8,0,0,1-10.46-4.33L314.43,418a8,8,0,0,1,4.33-10.45h0a8,8,0,0,1,10.45,4.33l6.13,14.78A8,8,0,0,1,331,437.08Zm63.58-42.49h0a8,8,0,0,1-11.31,0L372,383.28A8,8,0,0,1,372,372h0a8,8,0,0,1,11.31,0l11.31,11.31A8,8,0,0,1,394.59,394.59ZM286.25,286.25,110.34,401.66,225.75,225.75,401.66,110.34ZM437.08,331h0a8,8,0,0,1-10.45,4.33l-14.78-6.13a8,8,0,0,1-4.33-10.45h0A8,8,0,0,1,418,314.43l14.78,6.12A8,8,0,0,1,437.08,331ZM444,264H428a8,8,0,0,1-8-8h0a8,8,0,0,1,8-8h16a8,8,0,0,1,8,8h0A8,8,0,0,1,444,264Z"></path></svg>'},823:function(e,t,n){"use strict";var r;e=n.nmd(e);var i=n(477)(n(9367));!function(){var t="input is invalid type",o="object"===("undefined"==typeof window?"undefined":(0,i["default"])(window)),a=o?window:{};a.JS_SHA256_NO_WINDOW&&(o=!1);var s=!o&&"object"===("undefined"==typeof self?"undefined":(0,i["default"])(self)),u=!a.JS_SHA256_NO_NODE_JS&&"object"===("undefined"==typeof process?"undefined":(0,i["default"])(process))&&process.versions&&process.versions.node;u?a=n.g:s&&(a=self);var c=!a.JS_SHA256_NO_COMMON_JS&&"object"===(0,i["default"])(e)&&e.exports,l=n.amdO,d=!a.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,f="0123456789abcdef".split(""),p=[-2147483648,8388608,32768,128],h=[24,16,8,0],m=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],g=["hex","array","digest","arrayBuffer"],v=[];!a.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!d||!a.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===(0,i["default"])(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});var _=function(e,t){return function(n){return new E(t,!0).update(n)[e]()}},y=function(e){var t=_("hex",e);u&&(t=b(t,e)),t.create=function(){return new E(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<g.length;++n){var r=g[n];t[r]=_(r,e)}return t},b=function(e,r){var i,o=n(4394),s=n(1903).Buffer,u=r?"sha224":"sha256";return i=s.from&&!a.JS_SHA256_NO_BUFFER_FROM?s.from:function(e){return new s(e)},function(n){if("string"==typeof n)return o.createHash(u).update(n,"utf8").digest("hex");if(null===n||n===undefined)throw new Error(t);return n.constructor===ArrayBuffer&&(n=new Uint8Array(n)),Array.isArray(n)||ArrayBuffer.isView(n)||n.constructor===s?o.createHash(u).update(i(n)).digest("hex"):e(n)}},k=function(e,t){return function(n,r){return new A(n,t,!0).update(r)[e]()}},w=function(e){var t=k("hex",e);t.create=function(t){return new A(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<g.length;++n){var r=g[n];t[r]=k(r,e)}return t};function E(e,t){t?(v[0]=v[16]=v[1]=v[2]=v[3]=v[4]=v[5]=v[6]=v[7]=v[8]=v[9]=v[10]=v[11]=v[12]=v[13]=v[14]=v[15]=0,this.blocks=v):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function A(e,n,r){var o,a=(0,i["default"])(e);if("string"===a){var s,u=[],c=e.length,l=0;for(o=0;o<c;++o)(s=e.charCodeAt(o))<128?u[l++]=s:s<2048?(u[l++]=192|s>>>6,u[l++]=128|63&s):s<55296||s>=57344?(u[l++]=224|s>>>12,u[l++]=128|s>>>6&63,u[l++]=128|63&s):(s=65536+((1023&s)<<10|1023&e.charCodeAt(++o)),u[l++]=240|s>>>18,u[l++]=128|s>>>12&63,u[l++]=128|s>>>6&63,u[l++]=128|63&s);e=u}else{if("object"!==a)throw new Error(t);if(null===e)throw new Error(t);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(t)}e.length>64&&(e=new E(n,!0).update(e).array());var f=[],p=[];for(o=0;o<64;++o){var h=e[o]||0;f[o]=92^h,p[o]=54^h}E.call(this,n,r),this.update(p),this.oKeyPad=f,this.inner=!0,this.sharedMemory=r}E.prototype.update=function(e){if(!this.finalized){var n,r=(0,i["default"])(e);if("string"!==r){if("object"!==r)throw new Error(t);if(null===e)throw new Error(t);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(t);n=!0}for(var o,a,s=0,u=e.length,c=this.blocks;s<u;){if(this.hashed&&(this.hashed=!1,c[0]=this.block,this.block=c[16]=c[1]=c[2]=c[3]=c[4]=c[5]=c[6]=c[7]=c[8]=c[9]=c[10]=c[11]=c[12]=c[13]=c[14]=c[15]=0),n)for(a=this.start;s<u&&a<64;++s)c[a>>>2]|=e[s]<<h[3&a++];else for(a=this.start;s<u&&a<64;++s)(o=e.charCodeAt(s))<128?c[a>>>2]|=o<<h[3&a++]:o<2048?(c[a>>>2]|=(192|o>>>6)<<h[3&a++],c[a>>>2]|=(128|63&o)<<h[3&a++]):o<55296||o>=57344?(c[a>>>2]|=(224|o>>>12)<<h[3&a++],c[a>>>2]|=(128|o>>>6&63)<<h[3&a++],c[a>>>2]|=(128|63&o)<<h[3&a++]):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++s)),c[a>>>2]|=(240|o>>>18)<<h[3&a++],c[a>>>2]|=(128|o>>>12&63)<<h[3&a++],c[a>>>2]|=(128|o>>>6&63)<<h[3&a++],c[a>>>2]|=(128|63&o)<<h[3&a++]);this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.block=c[16],this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},E.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=p[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},E.prototype.hash=function(){var e,t,n,r,i,o,a,s,u,c=this.h0,l=this.h1,d=this.h2,f=this.h3,p=this.h4,h=this.h5,g=this.h6,v=this.h7,_=this.blocks;for(e=16;e<64;++e)t=((i=_[e-15])>>>7|i<<25)^(i>>>18|i<<14)^i>>>3,n=((i=_[e-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10,_[e]=_[e-16]+t+_[e-7]+n|0;for(u=l&d,e=0;e<64;e+=4)this.first?(this.is224?(o=300032,v=(i=_[0]-1413257819)-150054599|0,f=i+24177077|0):(o=704751109,v=(i=_[0]-210244248)-1521486534|0,f=i+143694565|0),this.first=!1):(t=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),r=(o=c&l)^c&d^u,v=f+(i=v+(n=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&h^~p&g)+m[e]+_[e])|0,f=i+(t+r)|0),t=(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),r=(a=f&c)^f&l^o,g=d+(i=g+(n=(v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))+(v&p^~v&h)+m[e+1]+_[e+1])|0,t=((d=i+(t+r)|0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(s=d&f)^d&c^a,h=l+(i=h+(n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&v^~g&p)+m[e+2]+_[e+2])|0,t=((l=i+(t+r)|0)>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10),r=(u=l&d)^l&f^s,p=c+(i=p+(n=(h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&g^~h&v)+m[e+3]+_[e+3])|0,c=i+(t+r)|0,this.chromeBugWorkAround=!0;this.h0=this.h0+c|0,this.h1=this.h1+l|0,this.h2=this.h2+d|0,this.h3=this.h3+f|0,this.h4=this.h4+p|0,this.h5=this.h5+h|0,this.h6=this.h6+g|0,this.h7=this.h7+v|0},E.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,o=this.h5,a=this.h6,s=this.h7,u=f[e>>>28&15]+f[e>>>24&15]+f[e>>>20&15]+f[e>>>16&15]+f[e>>>12&15]+f[e>>>8&15]+f[e>>>4&15]+f[15&e]+f[t>>>28&15]+f[t>>>24&15]+f[t>>>20&15]+f[t>>>16&15]+f[t>>>12&15]+f[t>>>8&15]+f[t>>>4&15]+f[15&t]+f[n>>>28&15]+f[n>>>24&15]+f[n>>>20&15]+f[n>>>16&15]+f[n>>>12&15]+f[n>>>8&15]+f[n>>>4&15]+f[15&n]+f[r>>>28&15]+f[r>>>24&15]+f[r>>>20&15]+f[r>>>16&15]+f[r>>>12&15]+f[r>>>8&15]+f[r>>>4&15]+f[15&r]+f[i>>>28&15]+f[i>>>24&15]+f[i>>>20&15]+f[i>>>16&15]+f[i>>>12&15]+f[i>>>8&15]+f[i>>>4&15]+f[15&i]+f[o>>>28&15]+f[o>>>24&15]+f[o>>>20&15]+f[o>>>16&15]+f[o>>>12&15]+f[o>>>8&15]+f[o>>>4&15]+f[15&o]+f[a>>>28&15]+f[a>>>24&15]+f[a>>>20&15]+f[a>>>16&15]+f[a>>>12&15]+f[a>>>8&15]+f[a>>>4&15]+f[15&a];return this.is224||(u+=f[s>>>28&15]+f[s>>>24&15]+f[s>>>20&15]+f[s>>>16&15]+f[s>>>12&15]+f[s>>>8&15]+f[s>>>4&15]+f[15&s]),u},E.prototype.toString=E.prototype.hex,E.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,o=this.h5,a=this.h6,s=this.h7,u=[e>>>24&255,e>>>16&255,e>>>8&255,255&e,t>>>24&255,t>>>16&255,t>>>8&255,255&t,n>>>24&255,n>>>16&255,n>>>8&255,255&n,r>>>24&255,r>>>16&255,r>>>8&255,255&r,i>>>24&255,i>>>16&255,i>>>8&255,255&i,o>>>24&255,o>>>16&255,o>>>8&255,255&o,a>>>24&255,a>>>16&255,a>>>8&255,255&a];return this.is224||u.push(s>>>24&255,s>>>16&255,s>>>8&255,255&s),u},E.prototype.array=E.prototype.digest,E.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},A.prototype=new E,A.prototype.finalize=function(){if(E.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();E.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),E.prototype.finalize.call(this)}};var C=y();C.sha256=C,C.sha224=y(!0),C.sha256.hmac=w(),C.sha224.hmac=w(!0),c?e.exports=C:(a.sha256=C.sha256,a.sha224=C.sha224,l&&((r=function(){return C}.call(C,n,C,e))===undefined||(e.exports=r)))}()},824:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.install=function(e){return d.apply(this,arguments)},t.tcb=void 0;var i=r(n(479)),o=r(n(4964)),a=n(8129);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=[{key:"envId",required:!0}],l=t.tcb={sdk:null,app:null,auth:null};function d(){return d=(0,o["default"])(i["default"].mark(function e(t){var n,r=arguments;return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&r[1]!==undefined?r[1]:{},l.sdk=t,f(n),e.next=5,p(n);case 5:return e.abrupt("return",l);case 6:case"end":return e.stop()}},e)})),d.apply(this,arguments)}function f(e){var t,n=[],r=s(c);try{for(r.s();!(t=r.n()).done;){var i=t.value;i["default"]&&(0,a.isNotSet)(e[i.key])?e[i.key]=i["default"]:i.required&&(0,a.isNotSet)(e[i.key])&&n.push(i.key)}}catch(d){r.e(d)}finally{r.f()}if(n.length>0){var o,u=s(n);try{for(u.s();!(o=u.n()).done;){var l=o.value;a.logger.warn("".concat(l," is required"))}}catch(d){u.e(d)}finally{u.f()}throw new Error("Twikoo: failed to init")}}function p(e){return h.apply(this,arguments)}function h(){return(h=(0,o["default"])(i["default"].mark(function e(t){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return m(t),e.next=3,g();case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function m(e){l.app=l.sdk.init({env:e.envId,region:e.region})}function g(){return v.apply(this,arguments)}function v(){return(v=(0,o["default"])(i["default"].mark(function e(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e,t){l.auth=l.app.auth({persistence:"local"}),l.auth.hasLoginState()?e():l.auth.anonymousAuthProvider().signIn().then(e)["catch"](t)}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}},872:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-admin-import"},[t("div",{staticClass:"tk-admin-warn tk-admin-import-warn"},[t("p",[e._v(e._s(e.t("ADMIN_IMPORT_WARN")))]),e._v(" "),t("p",[e._v(e._s(e.warnText[e.source]))])]),e._v(" "),t("div",{staticClass:"tk-admin-import-label"},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT_SOURCE")))]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.source,expression:"source"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.source=t.target.multiple?n:n[0]}}},[t("option",{attrs:{disabled:"",value:""}},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT")))]),e._v(" "),t("option",{attrs:{value:"valine"}},[e._v("Valine (JSON)")]),e._v(" "),t("option",{attrs:{value:"disqus"}},[e._v("Disqus (XML)")]),e._v(" "),t("option",{attrs:{value:"artalk"}},[e._v("Artalk v1 (JSON)")]),e._v(" "),t("option",{attrs:{value:"artalk2"}},[e._v("Artalk v2 (Artrans)")]),e._v(" "),t("option",{attrs:{value:"twikoo"}},[e._v("Twikoo (JSON)")])]),e._v(" "),t("div",{staticClass:"tk-admin-import-label"},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT_FILE")))]),e._v(" "),t("input",{ref:"inputFile",attrs:{type:"file",value:""}}),e._v(" "),t("el-button",{attrs:{size:"small",disabled:e.loading},on:{click:e.uploadFile}},[e._v(e._s(e.t("ADMIN_IMPORT_START")))]),e._v(" "),t("el-input",{ref:"logTextArea",attrs:{type:"textarea",rows:10,placeholder:e.t("ADMIN_IMPORT_LOG"),readonly:""},model:{value:e.logText,callback:function(t){e.logText=t},expression:"logText"}})],1)},t.Yp=[]},1008:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(8220),t)},1085:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.render=t.app=void 0;var i=r(n(4478)),o=r(n(1463)),a=r(n(5735)),s=r(n(4511));n(622),n(8848),n(6756),n(4707);var u=r(n(6768));i["default"].use(o["default"]),i["default"].use(a["default"]),i["default"].use(s["default"]);var c=t.app=null;t.render=function(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return i["default"].prototype.$tcb=e,i["default"].prototype.$twikoo=n,t.app=c=new i["default"]({render:function(e){return e(u["default"])}}),c.$mount(n.el||"#twikoo"),c}},1235:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LOGINTYPE=void 0,function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL",e.PHONE="PHONE"}(n||(t.LOGINTYPE=n={}))},1259:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useDefaultAdapter=t.useAdapters=t.RUNTIME=void 0;var a,s=o(n(9882)),u=n(5939);!function(e){e.WEB="web",e.WX_MP="wx_mp"}(a=t.RUNTIME||(t.RUNTIME={})),t.useAdapters=function(e){for(var t=0,n=u.isArray(e)?e:[e];t<n.length;t++){var r=n[t],i=r.isMatch,o=r.genAdapter,a=r.runtime;if(i())return{adapter:o(),runtime:a}}},t.useDefaultAdapter=function(){return{adapter:s.genAdapter(),runtime:a.WEB}}},1288:function(e,t,n){var r=n(9737);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("5049e71b",r,!0,{})},1315:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,".el-input__inner,.el-textarea__inner{background-image:none;-webkit-box-sizing:border-box;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:14px}.el-textarea__inner{display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;color:#606266;background-color:#FFF;border:1px solid #DCDFE6;border-radius:4px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner::-webkit-input-placeholder{color:#C0C4CC}.el-textarea__inner:-ms-input-placeholder{color:#C0C4CC}.el-textarea__inner::-ms-input-placeholder{color:#C0C4CC}.el-textarea__inner::placeholder{color:#C0C4CC}.el-textarea__inner:hover{border-color:#C0C4CC}.el-textarea__inner:focus{outline:0;border-color:#409EFF}.el-textarea .el-input__count{color:#909399;background:#FFF;position:absolute;font-size:12px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:#F5F7FA;border-color:#E4E7ED;color:#C0C4CC;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#C0C4CC}.el-textarea.is-exceed .el-textarea__inner{border-color:#F56C6C}.el-textarea.is-exceed .el-input__count{color:#F56C6C}.el-input{position:relative;font-size:14px;display:inline-block;width:100%}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#b4bccc}.el-input::-webkit-scrollbar-corner{background:#fff}.el-input::-webkit-scrollbar-track{background:#fff}.el-input::-webkit-scrollbar-track-piece{background:#fff;width:6px}.el-input .el-input__clear{color:#C0C4CC;font-size:14px;cursor:pointer;-webkit-transition:color .2s cubic-bezier(.645,.045,.355,1);transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-input .el-input__clear:hover{color:#909399}.el-input .el-input__count{height:100%;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#909399;font-size:12px}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input,.el-input__inner{font-size:inherit}.el-input .el-input__count .el-input__count-inner{background:#FFF;line-height:initial;display:inline-block;padding:0 5px}.el-input__inner{-webkit-appearance:none;background-color:#FFF;border-radius:4px;border:1px solid #DCDFE6;box-sizing:border-box;color:#606266;display:inline-block;height:40px;line-height:40px;outline:0;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__prefix,.el-input__suffix{position:absolute;top:0;-webkit-transition:all .3s;text-align:center;height:100%;color:#C0C4CC}.el-input__inner::-ms-reveal{display:none}.el-input__inner::-webkit-input-placeholder{color:#C0C4CC}.el-input__inner:-ms-input-placeholder{color:#C0C4CC}.el-input__inner::-ms-input-placeholder{color:#C0C4CC}.el-input__inner::placeholder{color:#C0C4CC}.el-input__inner:hover{border-color:#C0C4CC}.el-input.is-active .el-input__inner,.el-input__inner:focus{border-color:#409EFF;outline:0}.el-input__suffix{right:5px;transition:all .3s;pointer-events:none}.el-input__suffix-inner{pointer-events:all}.el-input__prefix{left:5px;transition:all .3s}.el-input__icon{height:100%;width:25px;text-align:center;-webkit-transition:all .3s;transition:all .3s;line-height:40px}.el-input__icon:after{content:'';height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__validateIcon{pointer-events:none}.el-input.is-disabled .el-input__inner{background-color:#F5F7FA;border-color:#E4E7ED;color:#C0C4CC;cursor:not-allowed}.el-input.is-disabled .el-input__inner::-webkit-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner::-ms-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner::placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__inner{border-color:#F56C6C}.el-input.is-exceed .el-input__suffix .el-input__count{color:#F56C6C}.el-input--suffix .el-input__inner{padding-right:30px}.el-input--prefix .el-input__inner{padding-left:30px}.el-input--medium{font-size:14px}.el-input--medium .el-input__inner{height:36px;line-height:36px}.el-input--medium .el-input__icon{line-height:36px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:32px;line-height:32px}.el-input--small .el-input__icon{line-height:32px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:28px;line-height:28px}.el-input--mini .el-input__icon{line-height:28px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#F5F7FA;color:#909399;vertical-align:middle;display:table-cell;position:relative;border:1px solid #DCDFE6;border-radius:4px;padding:0 20px;width:1px;white-space:nowrap}.el-input-group--prepend .el-input__inner,.el-input-group__append{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--append .el-input__inner,.el-input-group__prepend{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:-10px -20px}.el-input-group__append button.el-button,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__prepend{border-right:0}.el-input-group__append{border-left:0}.el-input-group--append .el-select .el-input.is-focus .el-input__inner,.el-input-group--prepend .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input__inner::-ms-clear{display:none;width:0;height:0}",""]),t["default"]=a},1332:function(e,t,n){"use strict";var r=n(3987);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports["default"]=e.exports},1423:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M593.8 59.1H46.2C20.7 59.1 0 79.8 0 105.2v301.5c0 25.5 20.7 46.2 46.2 46.2h547.7c25.5 0 46.2-20.7 46.1-46.1V105.2c0-25.4-20.7-46.1-46.2-46.1zM338.5 360.6H277v-120l-61.5 76.9-61.5-76.9v120H92.3V151.4h61.5l61.5 76.9 61.5-76.9h61.5v209.2zm135.3 3.1L381.5 256H443V151.4h61.5V256H566z"></path></svg>'},1452:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(2080),i=n(418),o=i.A,a=(n(3457),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},1463:function(e,t,n){"use strict";var r=n(477)(n(9367));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=96)}({0:function(e,t,n){function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},96:function(e,t,n){n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button","class":[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{"class":e.icon}):e._e(),e.$slots["default"]?n("span",[e._t("default")],2):e._e()])};r._withStripped=!0;var i={name:"ElButton",inject:{elForm:{"default":""},elFormItem:{"default":""}},props:{type:{type:String,"default":"default"},size:String,icon:{type:String,"default":""},nativeType:{type:String,"default":"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},o=n(0),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="packages/button/src/button.vue";var s=a.exports;s.install=function(e){e.component(s.name,s)},t["default"]=s}})},1479:function(e){"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27%3E%3Cpath fill=%27%23ffffff%27 d=%27M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z%27/%3E%3C/svg%3E"},1573:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"twikoo",attrs:{id:"twikoo"}},[t("tk-comments",{attrs:{"show-admin-entry":e.showAdminEntry},on:{admin:function(t){e.showAdmin=!0}}}),e._v(" "),t("tk-footer"),e._v(" "),t("tk-admin",{attrs:{show:e.showAdmin},on:{close:function(t){e.showAdmin=!1}}})],1)},t.Yp=[]},1628:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n(8850)),o=r(n(1332));t["default"]=function(){function e(t){var n=this;(0,i["default"])(this,e);var r={logo:"OwO表情",container:document.getElementsByClassName("OwO")[0],target:document.getElementsByTagName("textarea")[0],position:"down",maxHeight:"250px",odata:{}};for(var o in r)r[o]&&!t[o]&&(t[o]=r[o]);this.container=t.container,this.target=t.target,"up"===t.position&&this.container.classList.add("OwO-up"),this.odata=t.odata,setTimeout(function(){n.init(t)})}return(0,o["default"])(e,[{key:"init",value:function(e){var t=this;this.area=e.target,this.packages=Object.keys(this.odata);for(var n='<div class="OwO-logo">'.concat(e.logo,"</div>")+'<div class="OwO-body">',r=0;r<this.packages.length;r++){n+='<ul class="OwO-items OwO-items-'.concat(this.odata[this.packages[r]].type,'" style="max-height: ').concat(parseInt(e.maxHeight)-53+"px",';">');for(var i=this.odata[this.packages[r]].container,o=0;o<i.length;o++){var a=i[o].icon.replace("<img",'<img loading="lazy"');n+='<li class="OwO-item" title="'.concat(i[o].text,'">').concat(a,"</li>")}n+="</ul>"}n+='<div class="OwO-bar"><ul class="OwO-packages">';for(var s=0;s<this.packages.length;s++)n+="<li><span>".concat(this.packages[s],"</span></li>");n+="</ul></div></div>",this.container.innerHTML=n,this.logo=this.container.getElementsByClassName("OwO-logo")[0],this.logo.addEventListener("click",function(){t.toggle()}),this.container.getElementsByClassName("OwO-body")[0].addEventListener("click",function(e){var n=null;if(e.target.classList.contains("OwO-item")?n=e.target:e.target.parentNode.classList.contains("OwO-item")&&(n=e.target.parentNode),n){var r=t.area.selectionEnd,i=t.area.value,o=n.innerHTML;if(-1!==o.indexOf("<img"))if(n.title)o=":"+n.title+": ";else{var a=o.indexOf('src="')+5,s=o.indexOf('"',a);-1!==a&&-1!==s&&(o="![".concat(n.title||"","](").concat(o.substring(a,s),")"))}t.area.value=i.slice(0,r)+o+i.slice(r),t.area.dispatchEvent(new InputEvent("input")),t.area.focus(),t.toggle()}}),this.packagesEle=this.container.getElementsByClassName("OwO-packages")[0];for(var u=function(e){var n;n=e,t.packagesEle.children[e].addEventListener("click",function(){t.tab(n)})},c=0;c<this.packagesEle.children.length;c++)u(c);this.tab(0)}},{key:"toggle",value:function(){this.container.classList.contains("OwO-open")?this.container.classList.remove("OwO-open"):this.container.classList.add("OwO-open")}},{key:"tab",value:function(e){var t=this.container.getElementsByClassName("OwO-items-show")[0];t&&t.classList.remove("OwO-items-show"),this.container.getElementsByClassName("OwO-items")[e].classList.add("OwO-items-show");var n=this.container.getElementsByClassName("OwO-package-active")[0];n&&n.classList.remove("OwO-package-active"),this.packagesEle.getElementsByTagName("li")[e].classList.add("OwO-package-active")}}]),e}()},1674:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderer=void 0;var i=r(n(8850)),o=r(n(1332));t.TextRenderer=function(){function e(){(0,i["default"])(this,e)}return(0,o["default"])(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}()},1706:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheByEnvId=function(e){return f[e]},t.getLocalCache=function(e){return p[e]},t.initCache=function(e){var t=e.env,n=e.persistence,r=e.platformInfo,h={accessTokenKey:o+"_"+t,accessTokenExpireKey:a+"_"+t,refreshTokenKey:s+"_"+t,anonymousUuidKey:u+"_"+t,loginTypeKey:c+"_"+t,userInfoKey:l+"_"+t};f[t]?f[t].updatePersistence(n):f[t]=new d(i(i({},e),{keys:h,platformInfo:r,alwaysLocalKeys:["anonymousUuidKey"]})),p[t]=p[t]||new d(i(i({},e),{keys:h,platformInfo:r,persistence:"local"}))};var r=n(2566),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o="access_token",a="access_token_expire",s="refresh_token",u="anonymous_uuid",c="login_type",l="user_info",d=r.cache.CloudbaseCache,f={},p={}},1717:function(e,t,n){"use strict";var r,i,o,a,s=n(477)(n(9367));a=function(e){return e.enc.Utf8},"object"===(0,s["default"])(t)?e.exports=t=a(n(4794)):(i=[n(4794)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},1721:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-comments"},[t("tk-submit",{attrs:{config:e.config},on:{load:e.initComments}}),e._v(" "),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-comments-container"},[t("div",{staticClass:"tk-comments-title"},[t("span",{staticClass:"tk-comments-count","class":{__hidden:!e.comments.length}},[t("span",[e._v(e._s(e.count))]),e._v(" "),t("span",[e._v(e._s(e.t("COMMENTS_COUNT_SUFFIX")))])]),e._v(" "),t("span",{staticClass:"tk-comments-actions"},[!e.loading&&e.comments.length&&"false"!==e.config.SHOW_ORDER?t("span",{staticClass:"tk-comments-sort"},[t("button",{staticClass:"tk-sort-item","class":{__active:"newest"===e.currentSort},attrs:{type:"button"},on:{click:function(t){return e.setSort("newest")}}},[e._v(e._s(e.t("COMMENTS_SORT_NEWEST")))]),e._v(" "),t("button",{staticClass:"tk-sort-item","class":{__active:"oldest"===e.currentSort},attrs:{type:"button"},on:{click:function(t){return e.setSort("oldest")}}},[e._v(e._s(e.t("COMMENTS_SORT_OLDEST")))]),e._v(" "),t("button",{staticClass:"tk-sort-item","class":{__active:"popular"===e.currentSort},attrs:{type:"button"},on:{click:function(t){return e.setSort("popular")}}},[e._v(e._s(e.t("COMMENTS_SORT_POPULAR")))])]):e._e(),e._v(" "),e.loading||e.loadingMore?e._e():t("span",{staticClass:"tk-icon __comments",domProps:{innerHTML:e._s(e.iconRefresh)},on:{click:e.refresh}}),e.showAdminEntry?t("span",{staticClass:"tk-icon __comments",domProps:{innerHTML:e._s(e.iconSetting)},on:{click:e.openAdmin}}):e._e()])]),e._v(" "),e.loading||e.comments.length?e._e():t("div",{staticClass:"tk-comments-no"},[e.errorMessage?e._e():t("span",[e._v(e._s(e.t("COMMENTS_NO_COMMENTS")))]),e._v(" "),e.errorMessage?t("span",{staticClass:"tk-comments-error"},[e._v(e._s(e.errorMessage))]):e._e()]),e._v(" "),e._l(e.comments,function(n){return t("tk-comment",{key:n.id,attrs:{comment:n,replying:e.replyId===n.id,config:e.config},on:{reply:e.onReply,load:e.initComments}})}),e._v(" "),e.showExpand&&!e.loading?t("div",{staticClass:"tk-expand-wrap"},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loadingMore,expression:"loadingMore"}],staticClass:"tk-expand",on:{click:e.onExpand}},[e._v(e._s(e.t("COMMENTS_EXPAND")))])]):e._e()],2)],1)},t.Yp=[]},1778:function(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e["default"]:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},1819:function(e,t,n){"use strict";var r=n(8198),i=n(6884),o=n(2075),a=n(5838);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},1846:function(e,t,n){var r=n(7317);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("16722b25",r,!0,{})},1903:function(){},1914:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(1721),i=n(4333),o=i.A,a=(n(2630),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},1965:function(e,t,n){"use strict";var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function h(e){return e instanceof o?new o(e.type,h(e.content),e.alias):Array.isArray(e)?e.map(h):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function m(e,t){var n,r;switch(t=t||{},i.util.type(e)){case"Object":if(r=i.util.objId(e),t[r])return t[r];for(var o in n={},t[r]=n,e)e.hasOwnProperty(o)&&(n[o]=m(e[o],t));return n;case"Array":return r=i.util.objId(e),t[r]?t[r]:(n=[],t[r]=n,e.forEach(function(e,r){n[r]=m(e,t)}),n);default:return e}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var u in n)n.hasOwnProperty(u)&&(a[u]=n[u]);n.hasOwnProperty(s)||(a[s]=o[s])}var c=r[e];return r[e]=a,i.languages.DFS(i.languages,function(t,n){n===c&&t!=e&&(this[t]=a)}),a},DFS:function g(e,t,n,r){r=r||{};var o=i.util.objId;for(var a in e)if(e.hasOwnProperty(a)){t.call(e,a,e[a],n||a);var s=e[a],u=i.util.type(s);"Object"!==u||r[o(s)]?"Array"!==u||r[o(s)]||(r[o(s)]=!0,g(s,t,a,r)):(r[o(s)]=!0,g(s,t,null,r))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),a=i.languages[o];i.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var u={element:t,language:o,grammar:a,code:t.textContent};function c(e){u.highlightedCode=e,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),r&&r.call(u.element)}if(i.hooks.run("before-sanity-check",u),(s=u.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!u.code)return i.hooks.run("complete",u),void(r&&r.call(u.element));if(i.hooks.run("before-highlight",u),u.grammar)if(n&&e.Worker){var l=new Worker(i.filename);l.onmessage=function(e){c(e.data)},l.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language));else c(i.util.encode(u.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new u;return c(i,i.head,e),s(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(e,t,n,r,u,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var m=p[h],g=m.inside,v=!!m.lookbehind,_=!!m.greedy,y=m.alias;if(_&&!m.pattern.global){var b=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,b+"g")}for(var k=m.pattern||m,w=r.next,E=u;w!==t.tail&&!(d&&E>=d.reach);E+=w.value.length,w=w.next){var A=w.value;if(t.length>e.length)return;if(!(A instanceof o)){var C,I=1;if(_){if(!(C=a(k,E,e,v))||C.index>=e.length)break;var x=C.index,S=C.index+C[0].length,D=E;for(D+=w.value.length;x>=D;)D+=(w=w.next).value.length;if(E=D-=w.value.length,w.value instanceof o)continue;for(var O=w;O!==t.tail&&(D<S||"string"==typeof O.value);O=O.next)I++,D+=O.value.length;I--,A=e.slice(E,D),C.index-=E}else if(!(C=a(k,0,A,v)))continue;x=C.index;var T=C[0],N=A.slice(0,x),M=A.slice(x+T.length),P=E+A.length;d&&P>d.reach&&(d.reach=P);var F=w.prev;if(N&&(F=c(t,F,N),E+=N.length),l(t,F,I),w=c(t,F,new o(f,g?i.tokenize(T,g):T,y,T)),M&&c(t,w,M),I>1){var L={cause:f+","+h,reach:P};s(e,t,n,w.prev,E,L),d&&L.reach>d.reach&&(d.reach=L.reach)}}}}}}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function l(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,o.stringify=function v(e,t){if("string"==typeof e)return e;if(Array.isArray(e)){var n="";return e.forEach(function(e){n+=v(e,t)}),n}var r={type:e.type,content:v(e.content,t),tag:"span",classes:["token",e.type],attributes:{},language:t},o=e.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(r.classes,o):r.classes.push(o)),i.hooks.run("wrap",r);var a="";for(var s in r.attributes)a+=" "+s+'="'+(r.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+a+">"+r.content+"</"+r.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()},!1),i):i;var d=i.util.currentScript();function f(){i.manual||i.highlightAll()}if(d&&(i.filename=d.src,d.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var p=document.readyState;"loading"===p||"interactive"===p&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),"undefined"!=typeof n.g&&(n.g.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:i},r.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(e,t){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:r.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{"function":/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,"function":{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,"function":/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],"function":/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(void 0!==r&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",i="loaded",o="pre[data-src]:not(["+t+'="'+i+'"]):not(['+t+'="'+n+'"])';r.hooks.add("before-highlightall",function(e){e.selector+=", "+o}),r.hooks.add("before-sanity-check",function(a){var s=a.element;if(s.matches(o)){a.code="",s.setAttribute(t,n);var u=s.appendChild(document.createElement("CODE"));u.textContent="Loading…";var c=s.getAttribute("data-src"),l=a.language;if("none"===l){var d=(/\.(\w+)$/.exec(c)||[,"none"])[1];l=e[d]||d}r.util.setLanguage(u,l),r.util.setLanguage(s,l);var f=r.plugins.autoloader;f&&f.loadLanguages(l),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?t(r.responseText):r.status>=400?n("✖ Error "+r.status+" while fetching file: "+r.statusText):n("✖ Error: File does not exist or is empty"))},r.send(null)}(c,function(e){s.setAttribute(t,i);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,undefined]:[n,n]}return undefined}(s.getAttribute("data-range"));if(n){var o=e.split(/\r\n?|\n/g),a=n[0],c=null==n[1]?o.length:n[1];a<0&&(a+=o.length),a=Math.max(0,Math.min(a-1,o.length)),c<0&&(c+=o.length),c=Math.max(0,Math.min(c,o.length)),e=o.slice(a,c).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}u.textContent=e,r.highlightElement(u)},function(e){s.setAttribute(t,"failed"),u.textContent=e})}}),r.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(o),i=0;t=n[i++];)r.highlightElement(t)}};var a=!1;r.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},2007:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.CustomAuthProvider=void 0;var i,o=r(n(9367)),a=n(2566),s=n(4522),u=n(1235),c=n(3442),l=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},m=a.constants.ERRORS,g=a.constants.COMMUNITY_SITE_URL,v=a.utils.isString,_=a.helpers.catchErrorsDecorator;t.CustomAuthProvider=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.signIn=function(e){return p(this,void 0,void 0,function(){var t,n,r,i,o,a,s;return h(this,function(l){switch(l.label){case 0:if(!v(e))throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"ticket must be a string"}));return t=this._cache.keys.refreshTokenKey,i=(r=this._request).send,o=["auth.signInWithTicket"],a={ticket:e},[4,this._cache.getStoreAsync(t)];case 1:return[4,i.apply(r,o.concat([(a.refresh_token=l.sent()||"",a)]))];case 2:return(n=l.sent()).refresh_token?[4,this.setRefreshToken(n.refresh_token)]:[3,7];case 3:return l.sent(),[4,this._request.refreshAccessToken()];case 4:return l.sent(),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.CUSTOM,persistence:this._config.persistence}),c.eventBus.fire(c.EVENTS.LOGIN_STATE_CHANGED),[4,this.refreshUserInfo()];case 5:return l.sent(),[4,(s=new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()];case 6:return l.sent(),[2,s];case 7:throw new Error(JSON.stringify({code:m.OPERATION_FAIL,msg:"custom signIn failed"}))}})})},d([_({title:"自定义登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了自定义登录"," 2 - 调用 auth().customAuthProvider().signIn() 的语法或参数是否正确"," 3 - ticket 是否归属于当前环境"," 4 - 创建 ticket 的自定义登录私钥是否过期","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+g]}),f("design:type",Function),f("design:paramtypes",[String]),f("design:returntype",Promise)],t.prototype,"signIn",null),t}(s.AuthProvider)},2036:function(e,t,n){"use strict";t.__esModule=!0,n(2417),t["default"]={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},2043:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin-config"},[e.clientVersion!==e.serverVersion?t("div",{staticClass:"tk-admin-warn"},[t("span",[e._v(e._s(e.t("ADMIN_CLIENT_VERSION"))+e._s(e.clientVersion)+",")]),e._v(" "),t("span",[e._v(e._s(e.t("ADMIN_SERVER_VERSION"))+e._s(e.serverVersion)+",")]),e._v(" "),e._m(0)]):e._e(),e._v(" "),t("div",{staticClass:"tk-admin-config-groups"},[e._l(e.settings,function(n){return t("details",{key:n.name,staticClass:"tk-admin-config-group"},[t("summary",{staticClass:"tk-admin-config-group-title"},[e._v(e._s(n.name))]),e._v(" "),e._l(n.items,function(n){return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showSetting(n),expression:"showSetting(setting)"}],key:n.key,staticClass:"tk-admin-config-item"},[t("div",{staticClass:"tk-admin-config-title",attrs:{title:n.key}},[e._v(e._s(n.key))]),e._v(" "),t("div",{staticClass:"tk-admin-config-input"},[n.options?t("select",{directives:[{name:"model",rawName:"v-model",value:n.value,expression:"setting.value"}],staticClass:"tk-admin-config-select",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(n,"value",t.target.multiple?r:r[0])}}},e._l(n.options,function(n){return t("option",{key:n.value,domProps:{value:n.value}},[e._v(e._s(n.label))])}),0):t("el-input",{attrs:{placeholder:n.ph,size:"small","show-password":n.secret},model:{value:n.value,callback:function(t){e.$set(n,"value",t)},expression:"setting.value"}})],1),e._v(" "),t("div"),e._v(" "),t("div",{staticClass:"tk-admin-config-desc"},[e._v(e._s(n.desc))])])})],2)}),e._v(" "),t("details",{staticClass:"tk-admin-config-group"},[t("summary",{staticClass:"tk-admin-config-group-title"},[e._v(e._s(e.t("ADMIN_CONFIG_EMAIL_TEST")))]),e._v(" "),t("div",{staticClass:"tk-admin-config-email-test"},[t("div",{staticClass:"tk-admin-config-email-test-desc"},[e._v(e._s(e.t("ADMIN_CONFIG_EMAIL_TEST_HELP")))]),e._v(" "),t("div",{staticClass:"tk-admin-config-input"},[t("el-input",{attrs:{size:"small"},model:{value:e.emailTestAddress,callback:function(t){e.emailTestAddress=t},expression:"emailTestAddress"}},[t("el-button",{attrs:{slot:"append",type:"info"},on:{click:e.testEmail},slot:"append"},[e._v(e._s(e.t("ADMIN_CONFIG_EMAIL_TEST_BTN")))])],1)],1),e._v(" "),t("div",{staticClass:"tk-admin-config-email-test-desc"},[e._v(e._s(e.t("ADMIN_CONFIG_EMAIL_TEST_RESULT"))+e._s(e.emailTestResult))])])])],2),e._v(" "),t("div",{staticClass:"tk-admin-config-actions"},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveConfig}},[e._v(e._s(e.t("ADMIN_CONFIG_SAVE")))]),e._v(" "),t("el-button",{attrs:{size:"small",type:"info"},on:{click:e.resetConfig}},[e._v(e._s(e.t("ADMIN_CONFIG_RESET")))])],1),e._v(" "),t("div",{staticClass:"tk-admin-config-message"},[e._v(e._s(e.message))])])},t.Yp=[function(){var e=this,t=e._self._c;return t("span",[e._v("请参考 "),t("a",{attrs:{href:"https://twikoo.js.org/update.html",target:"_blank"}},[e._v("版本更新")]),e._v(" 进行升级")])}]},2075:function(e,t,n){"use strict";var r=n(6530);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},2080:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-footer"},[e._v("\n Powered by "),t("a",{attrs:{href:"https://twikoo.js.org",target:"_blank"}},[e._v("Twikoo")]),e._v("\n v"+e._s(e.version)+"\n")])},t.Yp=[]},2107:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(3459),i=n(147),o=i.A,a=(n(8084),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},2123:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Slugger=void 0;var i=r(n(8850)),o=r(n(1332));t.Slugger=function(){function e(){(0,i["default"])(this,e),this.seen={}}return(0,o["default"])(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}},{key:"slug",value:function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}]),e}()},2199:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="1.7.7"},2362:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=n(1085),s=n(8129),u=n(585),c=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;t.A={props:{nick:String,mail:String,link:String,config:Object},data:function(){return{metaInputs:[{key:"nick",locale:(0,s.t)("META_INPUT_NICK"),name:"nick",type:"text"},{key:"mail",locale:(0,s.t)("META_INPUT_MAIL"),name:"mail",type:"email"},{key:"link",locale:(0,s.t)("META_INPUT_LINK"),name:"link",type:"text"}],metaData:{nick:"",mail:"",link:""}}},computed:{displayedFields:function(){var e=this.config.DISPLAYED_FIELDS;return{nick:!e||-1!==e.indexOf("nick"),mail:!e||-1!==e.indexOf("mail"),link:!e||-1!==e.indexOf("link")}},displayedInputs:function(){var e=this;return this.metaInputs.filter(function(t){return!!e.displayedFields[t.key]})},requiredFields:function(){var e=this.config.REQUIRED_FIELDS;return{nick:!e||-1!==e.indexOf("nick"),mail:!e||-1!==e.indexOf("mail"),link:!!e&&-1!==e.indexOf("link")}}},methods:{t:s.t,initMeta:function(){var e=localStorage.getItem("twikoo");if(e){var t=JSON.parse(e);this.metaData.nick=t.nick,this.metaData.mail=t.mail,this.metaData.link=t.link}this.updateMeta()},updateMeta:function(){localStorage.setItem("twikoo",JSON.stringify(this.metaData)),this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},checkValid:function(){var e=c.test(this.metaData.mail);return(this.metaData.nick||!this.requiredFields.nick)&&(e||!this.requiredFields.mail)&&(this.metaData.link||!this.requiredFields.link)},checkQQ:function(){if((0,s.isQQ)(this.metaData.nick)){var e=this.metaData.nick.replace(/@qq.com/gi,""),t="".concat(e,"@qq.com");this.metaData.mail=t,this.getQQNick(e)}},getQQNick:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){var r,o;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,u.call)(null,"GET_QQ_NICK",{qq:e});case 3:r=n.sent,(o=r.result)&&o.nick&&(t.metaData.nick=o.nick,t.updateMeta()),n.next=11;break;case 8:n.prev=8,n.t0=n["catch"](0),console.warn("获取 QQ 昵称失败:",n.t0);case 11:case"end":return n.stop()}},n,null,[[0,8]])}))()},checkAdminCrypt:function(){var e=this.$root.$children[0],t=!this.config.HIDE_ADMIN_CRYPT||this.config.HIDE_ADMIN_CRYPT===this.metaData.nick;e.onShowAdminEntry(t)},onMetaChange:function(){this.checkQQ(),this.updateMeta(),this.checkAdminCrypt()}},watch:{nick:function(e){this.metaData.nick=e},mail:function(e){this.metaData.mail=e},link:function(e){this.metaData.link=e},requiredFields:{handler:function(e,t){this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},deep:!0},"config.VERSION":function(){this.checkAdminCrypt()}},mounted:function(){a.app.$on("initMeta",this.initMeta),this.initMeta()}}},2417:function(e,t,n){"use strict";var r=n(477)(n(9367));t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=undefined;var i="function"==typeof Symbol&&"symbol"===(0,r["default"])(Symbol.iterator)?function(e){return(0,r["default"])(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r["default"])(e)};t.noop=function(){},t.hasOwn=function(e,t){return c.call(e,t)},t.toObject=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&l(t,e[n]);return t},t.getPropByPath=function(e,t,n){for(var r=e,i=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),o=0,a=i.length;o<a-1&&(r||n);++o){var s=i[o];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:i[o],v:r?r[i[o]]:null}},t.rafThrottle=function(e){var t=!1;return function(){for(var n=this,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];t||(t=!0,window.requestAnimationFrame(function(r){e.apply(n,i),t=!1}))}},t.objToArray=function(e){return Array.isArray(e)?e:h(e)?[]:[e]};var o,a=n(4478),s=(o=a)&&o.__esModule?o:{"default":o},u=n(6200),c=Object.prototype.hasOwnProperty;function l(e,t){for(var n in t)e[n]=t[n];return e}t.getValueByPath=function(e,t){for(var n=(t=t||"").split("."),r=e,i=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!r)break;if(o===a-1){i=r[s];break}r=r[s]}return i},t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var d=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},f=(t.arrayFind=function(e,t){var n=d(e,t);return-1!==n?e[n]:undefined},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!s["default"].prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!s["default"].prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!s["default"].prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==(void 0===e?"undefined":i(e)))return e;var t=["ms-","webkit-"];return["transform","transition","animation"].forEach(function(n){var r=e[n];n&&r&&t.forEach(function(t){e[t+n]=r})}),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,u.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,u.isObject)(e),r=(0,u.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),p=t.arrayEquals=function(e,t){if(t=t||[],(e=e||[]).length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!f(e[n],t[n]))return!1;return!0},h=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?p(e,t):f(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});t.isMac=function(){return!s["default"].prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},2424:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.SIGN_METHOD=t.PhoneAuthProvider=void 0;var i,o=r(n(9367)),a=n(2566),s=n(4522),u=n(1235),c=n(3442),l=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},m=a.utils.throwError,g=a.utils.isString,v=a.utils.transformPhone,_=a.constants.ERRORS,y=a.constants.COMMUNITY_SITE_URL,b=a.helpers.catchErrorsDecorator,k=t.SIGN_METHOD={SIGNIN:"SIGNIN",SIGNUP:"SIGNUP",FORCERESETPWD:"FORCERESETPWD"};t.PhoneAuthProvider=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.signIn=function(e){return p(this,void 0,void 0,function(){var t,n,r,i,o,a,s,l,d;return h(this,function(f){switch(f.label){case 0:return t=e.phoneNumber,n=e.phoneCode,r=e.password,i=e.signMethod,g(t)||m(_.INVALID_PARAMS,"phoneNumber must be a string"),g(n)||g(r)||m(_.INVALID_PARAMS,"phoneCode or password must be a string"),i||(i=k.SIGNIN),o=this._cache.keys.refreshTokenKey,[4,this._request.send("auth.signIn",{loginType:u.LOGINTYPE.PHONE,phoneNumber:v(t),phoneCode:n,password:r,refresh_token:this._cache.getStore(o)||"",signMethod:i})];case 1:return a=f.sent(),s=a.refresh_token,l=a.access_token,d=a.access_token_expire,s?[4,this.setRefreshToken(s)]:[3,8];case 2:return f.sent(),l&&d?[4,this.setAccessToken(l,d)]:[3,4];case 3:return f.sent(),[3,6];case 4:return[4,this._request.refreshAccessToken()];case 5:f.sent(),f.label=6;case 6:return[4,this.refreshUserInfo()];case 7:return f.sent(),c.eventBus.fire(c.EVENTS.LOGIN_STATE_CHANGED),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.PHONE,persistence:this._config.persistence}),[2,new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})];case 8:a.code?m(_.OPERATION_FAIL,"Phone login fail["+a.code+"] "+a.message):m(_.OPERATION_FAIL,"Phone login fail"),f.label=9;case 9:return[2]}})})},t.prototype.signUp=function(e,t,n){return p(this,void 0,void 0,function(){return h(this,function(r){return[2,this.signIn({phoneNumber:e,phoneCode:t,password:n,signMethod:k.SIGNUP})]})})},t.prototype.forceResetPwd=function(e,t,n){return p(this,void 0,void 0,function(){return h(this,function(r){return[2,this.signIn({phoneNumber:e,phoneCode:t,password:n,signMethod:k.FORCERESETPWD})]})})},d([b({title:"手机号登录失败",messages:["请确认以下各项:"," 1 - 调用 auth().SmsAuthProvider() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录"," 3 - 短信验证码/密码是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+y]}),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Promise)],t.prototype,"signIn",null),d([b({title:"手机短信注册失败",messages:["请确认以下各项:"," 1 - 调用 auth().signUpWithPhoneCode() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+y]}),f("design:type",Function),f("design:paramtypes",[String,String,String]),f("design:returntype",Promise)],t.prototype,"signUp",null),d([b({title:"手机密码重置失败",messages:["请确认以下各项:"," 1 - 调用 auth().forceResetPwd() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+y]}),f("design:type",Function),f("design:paramtypes",[String,String,String]),f("design:returntype",Promise)],t.prototype,"forceResetPwd",null),t}(s.AuthProvider)},2473:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wxMpStorage=t["default"]=t.WxRequest=t.WxMpWebSocket=void 0;var r,i=n(6885),o=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)},s=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},u=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},c=t.WxRequest=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this,r=t.timeout,i=t.timeoutMsg,o=t.restrictedMethods;return n._timeout=r||0,n._timeoutMsg=i||"请求超时",n._restrictedMethods=o||["get","post","upload","download"],n}return o(t,e),t.prototype.post=function(e){var t=this;return new Promise(function(n,r){var o=e.url,a=e.data,s=e.headers,u=wx.request({url:(0,i.formatUrl)("https:",o),data:a,timeout:t._timeout,method:"POST",header:s,success:function(e){n(e)},fail:function(e){r(e)},complete:function(e){if(e&&e.errMsg&&t._timeout&&-1!==t._restrictedMethods.indexOf("post")&&"request:fail timeout"===e.errMsg){console.warn(t._timeoutMsg);try{u.abort()}catch(n){}}}})})},t.prototype.upload=function(e){var t=this,n=this;return new Promise(function(r){return s(t,void 0,void 0,function(){var t,i,o,s,c,l;return u(this,function(u){return t=e.url,i=e.file,o=e.data,s=e.headers,c=e.onUploadProgress,l=wx.uploadFile({url:t,filePath:i,name:"file",formData:a({},o),header:s,timeout:this._timeout,success:function(e){var t={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&o.success_action_status&&(t.statusCode=parseInt(o.success_action_status,10)),r(t)},fail:function(e){r(e)},complete:function(e){if(e&&e.errMsg&&n._timeout&&-1!==n._restrictedMethods.indexOf("upload")&&"request:fail timeout"===e.errMsg){console.warn(n._timeoutMsg);try{l.abort()}catch(t){}}}}),c&&l.onProgressUpdate(function(e){c(e)}),[2]})})})},t.prototype.download=function(e){var t=this,n=this;return new Promise(function(r,o){var a=e.url,s=e.headers,u=wx.downloadFile({url:(0,i.formatUrl)("https:",a),header:s,timeout:t._timeout,success:function(e){200===e.statusCode&&e.tempFilePath?r({statusCode:200,tempFilePath:e.tempFilePath}):r(e)},fail:function(e){o(e)},complete:function(e){if(e&&e.errMsg&&n._timeout&&-1!==n._restrictedMethods.indexOf("download")&&"request:fail timeout"===e.errMsg){console.warn(n._timeoutMsg);try{u.abort()}catch(t){}}}})})},t}(i.AbstractSDKRequest),l=t.wxMpStorage={setItem:function(e,t){wx.setStorageSync(e,t)},getItem:function(e){return wx.getStorageSync(e)},removeItem:function(e){wx.removeStorageSync(e)},clear:function(){wx.clearStorageSync()}},d=t.WxMpWebSocket=function(e,t){void 0===t&&(t={});var n=wx.connectSocket(a({url:e},t));return{set onopen(e){n.onOpen(e)},set onmessage(e){n.onMessage(e)},set onclose(e){n.onClose(e)},set onerror(e){n.onError(e)},send:function(e){return n.send({data:e})},close:function(e,t){return n.close({code:e,reason:t})},get readyState(){return n.readyState},CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3}},f={genAdapter:function(){return{root:{},reqClass:c,wsClass:d,localStorage:l,primaryStorage:i.StorageType.local,getAppSign:function(){var e=wx.getAccountInfoSync();return"undefined"!=typeof App||"undefined"!=typeof getApp||wx.onAppHide||wx.offAppHide||wx.onAppShow||wx.offAppShow?e&&e.miniProgram?e.miniProgram.appId:"":e&&e.plugin?e.plugin.appId:""}}},isMatch:function(){if("undefined"==typeof wx)return!1;if("undefined"==typeof Page)return!1;if(!wx.getSystemInfoSync)return!1;if(!wx.getStorageSync)return!1;if(!wx.setStorageSync)return!1;if(!wx.connectSocket)return!1;if(!wx.request)return!1;try{if(!wx.getSystemInfoSync())return!1;if("qq"===wx.getSystemInfoSync().AppPlatform)return!1}catch(e){return!1}return!0},runtime:"wx_mp"};t["default"]=f},2531:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z"></path></svg>'},2566:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.helpers=t.utils=t.events=t.cache=t.adapters=t.constants=void 0;var a=o(n(3440));t.constants=a;var s=o(n(1259));t.adapters=s;var u=o(n(5861));t.cache=u;var c=o(n(9978));t.events=c;var l=o(n(5939));t.utils=l;var d=o(n(1008));t.helpers=d},2573:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i,o=r(n(4478)),a=n(8784),s=[],u="@@clickoutsideContext",c=0;function l(e,t,n){return function(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[u].methodName&&n.context[e[u].methodName]?n.context[e[u].methodName]():e[u].bindingFn&&e[u].bindingFn())}}!o["default"].prototype.$isServer&&(0,a.on)(document,"mousedown",function(e){return i=e}),!o["default"].prototype.$isServer&&(0,a.on)(document,"mouseup",function(e){s.forEach(function(t){return t[u].documentHandler(e,i)})}),t["default"]={bind:function(e,t,n){s.push(e);var r=c++;e[u]={id:r,documentHandler:l(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[u].documentHandler=l(e,t,n),e[u].methodName=t.expression,e[u].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n<t;n++)if(s[n][u].id===e[u].id){s.splice(n,1);break}delete e[u]}}},2630:function(e,t,n){var r=n(6727);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("2f96e18e",r,!0,{})},2817:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=r(n(8850)),o=r(n(1332)),a=n(7565),s=n(1674),u=n(2123),c=n(4008),l=n(9105);t.Parser=function(){function e(t){(0,i["default"])(this,e),this.options=t||c.defaults,this.options.renderer=this.options.renderer||new a.Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new s.TextRenderer,this.slugger=new u.Slugger}return(0,o["default"])(e,[{key:"parse",value:function(e){var t,n,r,i,o,a,s,u,c,d,f,p,h,m,g,v,_,y,b,k=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],w="",E=e.length;for(t=0;t<E;t++)if(d=e[t],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type])||!1===(b=this.options.extensions.renderers[d.type].call({parser:this},d))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type))switch(d.type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(d.tokens),d.depth,(0,l.unescape)(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(u="",s="",i=d.header.length,n=0;n<i;n++)s+=this.renderer.tablecell(this.parseInline(d.header[n].tokens),{header:!0,align:d.align[n]});for(u+=this.renderer.tablerow(s),c="",i=d.rows.length,n=0;n<i;n++){for(s="",o=(a=d.rows[n]).length,r=0;r<o;r++)s+=this.renderer.tablecell(this.parseInline(a[r].tokens),{header:!1,align:d.align[r]});c+=this.renderer.tablerow(s)}w+=this.renderer.table(u,c);continue;case"blockquote":c=this.parse(d.tokens),w+=this.renderer.blockquote(c);continue;case"list":for(f=d.ordered,p=d.start,h=d.loose,i=d.items.length,c="",n=0;n<i;n++)v=(g=d.items[n]).checked,_=g.task,m="",g.task&&(y=this.renderer.checkbox(v),h?g.tokens.length>0&&"paragraph"===g.tokens[0].type?(g.tokens[0].text=y+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=y+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:y}):m+=y),m+=this.parse(g.tokens,h),c+=this.renderer.listitem(m,_,v);w+=this.renderer.list(c,f,p);continue;case"html":w+=this.renderer.html(d.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(c=d.tokens?this.parseInline(d.tokens):d.text;t+1<E&&"text"===e[t+1].type;)c+="\n"+((d=e[++t]).tokens?this.parseInline(d.tokens):d.text);w+=k?this.renderer.paragraph(c):c;continue;default:var A='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(A);throw new Error(A)}else w+=b||"";return w}},{key:"parseInline",value:function(e,t){t=t||this.renderer;var n,r,i,o="",a=e.length;for(n=0;n<a;n++)if(r=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type])||!1===(i=this.options.extensions.renderers[r.type].call({parser:this},r))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))switch(r.type){case"owo":o+=t.owo(r.text);break;case"escape":case"text":o+=t.text(r.text);break;case"html":o+=t.html(r.text);break;case"link":o+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":o+=t.image(r.href,r.title,r.text);break;case"strong":o+=t.strong(this.parseInline(r.tokens,t));break;case"em":o+=t.em(this.parseInline(r.tokens,t));break;case"codespan":o+=t.codespan(r.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(r.tokens,t));break;default:var s='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(s);throw new Error(s)}else o+=i||"";return o}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}]),e}()},2838:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-admin-comment {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.tk-admin-comment a {\n color: currentColor;\n text-decoration: underline;\n}\n.tk-admin-warn {\n margin-bottom: 1em;\n}\n.tk-admin-security-alert {\n position: relative;\n padding-right: 2.5rem;\n margin-bottom: 0;\n}\n.tk-admin-security-alert .tk-admin-close {\n position: absolute;\n top: 0;\n right: 0;\n float: none;\n width: 1rem;\n height: 1rem;\n padding: 0.5rem;\n margin: 0;\n}\n.tk-admin-security-alert-message {\n margin-bottom: 0.5em;\n}\n.tk-admin-security-alert-url {\n word-break: break-all;\n background: rgba(0,0,0,0.2);\n padding: 0.5em;\n border-radius: 4px;\n margin-bottom: 0.5em;\n}\n.tk-admin-comment-filter {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n.tk-admin-comment-filter-keyword {\n flex: 1;\n}\n.tk-admin-comment-filter-type {\n height: 32px;\n margin: 0 0.5em;\n padding: 0 0.5em;\n color: #ffffff;\n background: none;\n border: 1px solid rgba(144,147,153,0.31);\n border-radius: 4px;\n position: relative;\n -moz-appearance: none;\n -webkit-appearance: none;\n}\n.tk-admin-comment-filter-type:focus {\n border-color: #409eff;\n}\n.tk-admin-comment-filter-type option {\n color: initial;\n}\n.tk-admin-comment-list {\n margin-top: 1em;\n}\n.tk-admin-comment-list,\n.tk-admin-comment-item {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: stretch;\n}\n.tk-admin-comment-meta {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n margin-bottom: 0.5em;\n}\n.tk-admin-comment .tk-avatar {\n margin-right: 0.5em;\n}\n.tk-admin-comment .tk-content {\n max-height: none;\n}\n.tk-admin-actions {\n display: flex;\n margin-bottom: 1em;\n border-bottom: 1px solid rgba(255,255,255,0.5);\n}\n",""]),t["default"]=a},2865:function(e,t,n){"use strict";var r=n(477)(n(9367));t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=undefined;var i="function"==typeof Symbol&&"symbol"===(0,r["default"])(Symbol.iterator)?function(e){return(0,r["default"])(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r["default"])(e)};t.hasClass=m,t.addClass=function(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),i=0,o=r.length;i<o;i++){var a=r[i];a&&(e.classList?e.classList.add(a):m(e,a)||(n+=" "+a))}e.classList||e.setAttribute("class",n)}},t.removeClass=function(e,t){if(e&&t){for(var n=t.split(" "),r=" "+e.className+" ",i=0,o=n.length;i<o;i++){var a=n[i];a&&(e.classList?e.classList.remove(a):m(e,a)&&(r=r.replace(" "+a+" "," ")))}e.classList||e.setAttribute("class",d(r))}},t.setStyle=function _(e,t,n){if(e&&t)if("object"===(void 0===t?"undefined":i(t)))for(var r in t)t.hasOwnProperty(r)&&_(e,r,t[r]);else"opacity"===(t=f(t))&&l<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};var o,a=n(4478),s=((o=a)&&o.__esModule?o:{"default":o})["default"].prototype.$isServer,u=/([\:\-\_]+(.))/g,c=/^moz([A-Z])/,l=s?0:Number(document.documentMode),d=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},f=function(e){return e.replace(u,function(e,t,n,r){return r?n.toUpperCase():n}).replace(c,"Moz$1")},p=t.on=!s&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)},h=t.off=!s&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)};function m(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}t.once=function(e,t,n){p(e,t,function r(){n&&n.apply(this,arguments),h(e,t,r)})};var g=t.getStyle=l<9?function(e,t){if(!s){if(!e||!t)return null;"float"===(t=f(t))&&(t="styleFloat");try{if("opacity"===t)try{return e.filters.item("alpha").opacity/100}catch(n){return 1}return e.style[t]||e.currentStyle?e.currentStyle[t]:null}catch(n){return e.style[t]}}}:function(e,t){if(!s){if(!e||!t)return null;"float"===(t=f(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(r){return e.style[t]}}},v=t.isScroll=function(e,t){if(!s){var n=null!==t&&t!==undefined;return g(e,n?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)}};t.getScrollContainer=function(e,t){if(!s){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(v(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(s||!e||!t)return!1;var n=e.getBoundingClientRect(),r=void 0;return r=[window,document,document.documentElement,null,undefined].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right}},2889:function(e,t,n){"use strict";var r;n(477)(n(9367)),function(){function i(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function o(e,t,n,r,o,a){return i((s=i(i(t,e),i(r,a)))<<(u=o)|s>>>32-u,n);var s,u}function a(e,t,n,r,i,a,s){return o(t&n|~t&r,e,t,i,a,s)}function s(e,t,n,r,i,a,s){return o(t&r|n&~r,e,t,i,a,s)}function u(e,t,n,r,i,a,s){return o(t^n^r,e,t,i,a,s)}function c(e,t,n,r,i,a,s){return o(n^(t|~r),e,t,i,a,s)}function l(e,t){var n,r,o,l,d;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var f=1732584193,p=-271733879,h=-1732584194,m=271733878;for(n=0;n<e.length;n+=16)r=f,o=p,l=h,d=m,f=a(f,p,h,m,e[n],7,-680876936),m=a(m,f,p,h,e[n+1],12,-389564586),h=a(h,m,f,p,e[n+2],17,606105819),p=a(p,h,m,f,e[n+3],22,-1044525330),f=a(f,p,h,m,e[n+4],7,-176418897),m=a(m,f,p,h,e[n+5],12,1200080426),h=a(h,m,f,p,e[n+6],17,-1473231341),p=a(p,h,m,f,e[n+7],22,-45705983),f=a(f,p,h,m,e[n+8],7,1770035416),m=a(m,f,p,h,e[n+9],12,-1958414417),h=a(h,m,f,p,e[n+10],17,-42063),p=a(p,h,m,f,e[n+11],22,-1990404162),f=a(f,p,h,m,e[n+12],7,1804603682),m=a(m,f,p,h,e[n+13],12,-40341101),h=a(h,m,f,p,e[n+14],17,-1502002290),f=s(f,p=a(p,h,m,f,e[n+15],22,1236535329),h,m,e[n+1],5,-165796510),m=s(m,f,p,h,e[n+6],9,-1069501632),h=s(h,m,f,p,e[n+11],14,643717713),p=s(p,h,m,f,e[n],20,-373897302),f=s(f,p,h,m,e[n+5],5,-701558691),m=s(m,f,p,h,e[n+10],9,38016083),h=s(h,m,f,p,e[n+15],14,-660478335),p=s(p,h,m,f,e[n+4],20,-405537848),f=s(f,p,h,m,e[n+9],5,568446438),m=s(m,f,p,h,e[n+14],9,-1019803690),h=s(h,m,f,p,e[n+3],14,-187363961),p=s(p,h,m,f,e[n+8],20,1163531501),f=s(f,p,h,m,e[n+13],5,-1444681467),m=s(m,f,p,h,e[n+2],9,-51403784),h=s(h,m,f,p,e[n+7],14,1735328473),f=u(f,p=s(p,h,m,f,e[n+12],20,-1926607734),h,m,e[n+5],4,-378558),m=u(m,f,p,h,e[n+8],11,-2022574463),h=u(h,m,f,p,e[n+11],16,1839030562),p=u(p,h,m,f,e[n+14],23,-35309556),f=u(f,p,h,m,e[n+1],4,-1530992060),m=u(m,f,p,h,e[n+4],11,1272893353),h=u(h,m,f,p,e[n+7],16,-155497632),p=u(p,h,m,f,e[n+10],23,-1094730640),f=u(f,p,h,m,e[n+13],4,681279174),m=u(m,f,p,h,e[n],11,-358537222),h=u(h,m,f,p,e[n+3],16,-722521979),p=u(p,h,m,f,e[n+6],23,76029189),f=u(f,p,h,m,e[n+9],4,-640364487),m=u(m,f,p,h,e[n+12],11,-421815835),h=u(h,m,f,p,e[n+15],16,530742520),f=c(f,p=u(p,h,m,f,e[n+2],23,-995338651),h,m,e[n],6,-198630844),m=c(m,f,p,h,e[n+7],10,1126891415),h=c(h,m,f,p,e[n+14],15,-1416354905),p=c(p,h,m,f,e[n+5],21,-57434055),f=c(f,p,h,m,e[n+12],6,1700485571),m=c(m,f,p,h,e[n+3],10,-1894986606),h=c(h,m,f,p,e[n+10],15,-1051523),p=c(p,h,m,f,e[n+1],21,-2054922799),f=c(f,p,h,m,e[n+8],6,1873313359),m=c(m,f,p,h,e[n+15],10,-30611744),h=c(h,m,f,p,e[n+6],15,-1560198380),p=c(p,h,m,f,e[n+13],21,1309151649),f=c(f,p,h,m,e[n+4],6,-145523070),m=c(m,f,p,h,e[n+11],10,-1120210379),h=c(h,m,f,p,e[n+2],15,718787259),p=c(p,h,m,f,e[n+9],21,-343485551),f=i(f,r),p=i(p,o),h=i(h,l),m=i(m,d);return[f,p,h,m]}function d(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=undefined,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function p(e){var t,n,r="0123456789abcdef",i="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),i+=r.charAt(t>>>4&15)+r.charAt(15&t);return i}function h(e){return unescape(encodeURIComponent(e))}function m(e){return function(e){return d(l(f(e),8*e.length))}(h(e))}function g(e,t){return function(e,t){var n,r,i=f(e),o=[],a=[];for(o[15]=a[15]=undefined,i.length>16&&(i=l(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=l(o.concat(f(t)),512+8*t.length),d(l(a.concat(r),640))}(h(e),h(t))}function v(e,t,n){return t?n?g(t,e):p(g(t,e)):n?m(e):p(m(e))}(r=function(){return v}.call(t,n,t,e))===undefined||(e.exports=r)}()},2910:function(e,t,n){"use strict";var r,i,o,a,s=n(477)(n(9367));a=function(e){var t,n,r;n=(t=e).lib.Base,r=t.enc.Utf8,t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),s=o.words,u=a.words,c=0;c<n;c++)s[c]^=1549556828,u[c]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})},"object"===(0,s["default"])(t)?e.exports=t=a(n(4794)):(i=[n(4794)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},2912:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),i="";for(var o in n)""===i?!r&&(t+="?"):i+="&",i+=o+"="+encodeURIComponent(n[o]);return/^http(s)?\:\/\//.test(t+=i)?t:""+e+t}},2971:function(e){"use strict";e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},3052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOGINTYPE=t.DATA_VERSION=void 0,t.getEndPoint=function(){return{BASE_URL:l,PROTOCOL:c}},t.getSdkName=function(){return s},t.getSdkVersion=function(){return a},t.setEndPoint=d,t.setRegionLevelEndpoint=function(e,t,n){d(t?"//"+e+"."+t+".tcb-api.tencentcloudapi.com/web":"//"+e+".ap-shanghai.tcb-api.tencentcloudapi.com/web",n)},t.setSdkName=function(e){s=e,i(e)},t.setSdkVersion=function(e){a=e};var r=n(2566),i=r.constants.setSdkName,o=r.constants.setProtocol,a="",s="@cloudbase/js-sdk";t.DATA_VERSION="2020-01-10";var u,c="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:",l="//tcb-api.tencentcloudapi.com/web";function d(e,t){l=e,t&&(c=t,o(t))}!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.CUSTOM="CUSTOM",e.NULL="NULL"}(u||(t.LOGINTYPE=u={}))},3203:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-meta-input {\n display: flex;\n}\n.tk-meta-input .el-input {\n width: auto;\n width: calc((100% - 1rem) / 3); /* Fix Safari */\n flex: 1;\n}\n.tk-meta-input .el-input + .el-input {\n margin-left: 0.5rem;\n}\n.tk-meta-input .el-input .el-input-group__prepend {\n padding: 0 1rem;\n}\n.tk-meta-input .el-input input:invalid {\n border: 1px solid #f56c6c;\n box-shadow: none;\n}\n@media screen and (max-width: 767px) {\n.tk-meta-input {\n flex-direction: column;\n}\n.tk-meta-input .el-input {\n width: auto;\n}\n.tk-meta-input .el-input + .el-input {\n margin-left: 0;\n margin-top: 0.5rem;\n}\n}\n",""]),t["default"]=a},3219:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerComponent=function(e,t){var n=t.name,r=t.namespace,u=t.entity,c=t.injectEvents,l=t.IIFE,d=void 0!==l&&l;if(a[n]||r&&e[r])throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"Duplicate component "+n}));if(d){if(!u||"function"!=typeof u)throw new Error(JSON.stringify({code:o.INVALID_PARAMS,msg:"IIFE component's entity must be a function"}));u.call(e)}if(a[n]=t,r?e.prototype[r]=u:s(e.prototype,u),c){var f=c.bus,p=c.events;if(!f||!p||0===p.length)return;var h=e.prototype.fire||function(){};e.prototype.events||(e.prototype.events={}),(e.prototype.events||{})[n]?e.prototype.events[n].events=i(e.prototype.events[n].events,p):e.prototype.events[n]={bus:f,events:p},e.prototype.fire=function(e,t){for(var n in h(e,t),this.events){var r=this.events[n],i=r.bus;if(r.events.includes(e)){i.fire(e,t);break}}}}},t.registerHook=function(e,t){var n=t.entity,r=t.target;if(!e.prototype.hasOwnProperty(r))throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"target:"+r+" is not exist"}));var a=e.prototype[r];if("function"!=typeof a)throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"target:"+r+" is not a function which is the only type supports hook"}));e.prototype[r]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.call.apply(n,i([this],e)),a.call.apply(a,i([this],e))}};var r=n(2566),i=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},o=r.constants.ERRORS,a={};function s(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:e===undefined&&(e={});break;case Array:e=[];break;default:return t}for(var n in t)t.hasOwnProperty(n)&&(e[n]=s(e[n],t[n]));return e}},3396:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=n(8129);t.A={data:function(){return{loading:!1}},methods:{t:a.t,doExport:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){var r;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,(0,a.call)(t.$tcb,"COMMENT_EXPORT_FOR_ADMIN",{collection:e});case 4:(r=n.sent).result.data&&t.downloadJson("twikoo-".concat(e,".json"),r.result.data);case 6:return n.prev=6,t.loading=!1,n.finish(6);case 9:case"end":return n.stop()}},n,null,[[1,,6,9]])}))()},downloadJson:function(e,t){var n=t instanceof Object?JSON.stringify(t,null,2):t,r=window.URL||window.webkitURL||window,i=new Blob([n]),o=document.createElementNS("http://www.w3.org/1999/xhtml","a");o.href=r.createObjectURL(i),o.download=e,o.click()}}}},3397:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(3491)),o=r(n(6370)),a=r(n(6359)),s=r(n(5910)),u=r(n(6412)),c=r(n(9801));t.A={data:function(){return{iconComment:i["default"],iconCommentSolid:o["default"],iconLike:a["default"],iconLikeSolid:s["default"],iconDislike:u["default"],iconDislikeSolid:c["default"]}},props:{liked:Boolean,disliked:Boolean,likeCount:Number,dislikeCount:Number,repliesCount:Number,showDislike:Boolean},computed:{likeCountStr:function(){return this.likeCount>0?"".concat(this.likeCount):""},dislikeCountStr:function(){return this.dislikeCount>0?"".concat(this.dislikeCount):""},repliesCountStr:function(){return this.repliesCount>0?"".concat(this.repliesCount):""}},methods:{onLike:function(){this.$emit("like")},onDislike:function(){this.$emit("dislike")},onReply:function(){this.$emit("reply")}}}},3440:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(6531),t),i(n(4769),t)},3442:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Auth=void 0,Object.defineProperty(t,"AuthProvider",{enumerable:!0,get:function(){return l.AuthProvider}}),t.eventBus=t.LoginState=t.EVENTS=void 0,t.registerAuth=function(e){try{e.registerComponent(N)}catch(t){console.warn(t)}},t.registerProvider=function(e,t){O.prototype[e]=function(n){var r="_"+e;return this[r]||(this[r]=new t(h(h({},n),this._config))),this[r]}};var i=r(n(9367)),o=n(2566),a=n(9250),s=n(4325),u=n(2007),c=n(1235),l=n(4522),d=n(7036),f=n(9676),p=n(2424),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},h.apply(this,arguments)},m=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},g=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},_=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},y=o.events.CloudbaseEventEmitter,b=o.adapters.RUNTIME,k=o.utils.printWarn,w=o.utils.throwError,E=o.utils.transformPhone,A=o.constants.ERRORS,C=o.constants.COMMUNITY_SITE_URL,I=o.helpers.catchErrorsDecorator,x=t.eventBus=new y,S=function(){function e(e){var t=e.cache,n=e.request;this._cache=t,this._request=n,this._setUserInfo()}return e.prototype.checkLocalInfo=function(){return v(this,void 0,void 0,function(){return _(this,function(e){return this.uid=this._getLocalUserInfo("uid"),this.loginType=this._getLocalUserInfo("loginType"),this.openid=this._getLocalUserInfo("wxOpenId"),this.wxOpenId=this._getLocalUserInfo("wxOpenId"),this.wxPublicId=this._getLocalUserInfo("wxPublicId"),this.unionId=this._getLocalUserInfo("wxUnionId"),this.qqMiniOpenId=this._getLocalUserInfo("qqMiniOpenId"),this.customUserId=this._getLocalUserInfo("customUserId"),this.nickName=this._getLocalUserInfo("nickName"),this.gender=this._getLocalUserInfo("gender"),this.avatarUrl=this._getLocalUserInfo("avatarUrl"),this.email=this._getLocalUserInfo("email"),this.hasPassword=Boolean(this._getLocalUserInfo("hasPassword")),this.phone=this._getLocalUserInfo("phone"),this.username=this._getLocalUserInfo("username"),this.location={country:this._getLocalUserInfo("country"),province:this._getLocalUserInfo("province"),city:this._getLocalUserInfo("city")},[2]})})},e.prototype.checkLocalInfoAsync=function(){return v(this,void 0,void 0,function(){var e,t,n,r,i,o,a,s,u,c,l,d,f,p,h,m,g,v;return _(this,function(_){switch(_.label){case 0:return e=this,[4,this._getLocalUserInfoAsync("uid")];case 1:return e.uid=_.sent(),t=this,[4,this._getLocalUserInfoAsync("loginType")];case 2:return t.loginType=_.sent(),n=this,[4,this._getLocalUserInfoAsync("wxOpenId")];case 3:return n.openid=_.sent(),r=this,[4,this._getLocalUserInfoAsync("wxOpenId")];case 4:return r.wxOpenId=_.sent(),i=this,[4,this._getLocalUserInfoAsync("wxPublicId")];case 5:return i.wxPublicId=_.sent(),o=this,[4,this._getLocalUserInfoAsync("wxUnionId")];case 6:return o.unionId=_.sent(),a=this,[4,this._getLocalUserInfoAsync("qqMiniOpenId")];case 7:return a.qqMiniOpenId=_.sent(),s=this,[4,this._getLocalUserInfoAsync("customUserId")];case 8:return s.customUserId=_.sent(),u=this,[4,this._getLocalUserInfoAsync("nickName")];case 9:return u.nickName=_.sent(),c=this,[4,this._getLocalUserInfoAsync("gender")];case 10:return c.gender=_.sent(),l=this,[4,this._getLocalUserInfoAsync("avatarUrl")];case 11:return l.avatarUrl=_.sent(),d=this,[4,this._getLocalUserInfoAsync("email")];case 12:return d.email=_.sent(),f=this,p=Boolean,[4,this._getLocalUserInfoAsync("hasPassword")];case 13:return f.hasPassword=p.apply(void 0,[_.sent()]),h=this,[4,this._getLocalUserInfoAsync("phone")];case 14:return h.phone=_.sent(),m=this,[4,this._getLocalUserInfoAsync("username")];case 15:return m.username=_.sent(),g=this,v={},[4,this._getLocalUserInfoAsync("country")];case 16:return v.country=_.sent(),[4,this._getLocalUserInfoAsync("province")];case 17:return v.province=_.sent(),[4,this._getLocalUserInfoAsync("city")];case 18:return g.location=(v.city=_.sent(),v),[2]}})})},e.prototype.linkWithTicket=function(e){if("string"!=typeof e)throw new Error("ticket must be string");return this._request.send("auth.linkWithTicket",{ticket:e})},e.prototype.linkWithRedirect=function(e){e.signInWithRedirect()},e.prototype.getLinkedUidList=function(){return v(this,void 0,void 0,function(){var e,t,n,r,i,o;return _(this,function(a){switch(a.label){case 0:return[4,this._request.send("auth.getLinkedUidList",{})];case 1:for(e=a.sent().data,t=!1,n=e.users,r=0,i=n;r<i.length;r++)if((o=i[r]).wxOpenId&&o.wxPublicId){t=!0;break}return[2,{users:n,hasPrimaryUid:t}]}})})},e.prototype.setPrimaryUid=function(e){return this._request.send("auth.setPrimaryUid",{uid:e})},e.prototype.unlink=function(e){return this._request.send("auth.unlink",{platform:e})},e.prototype.update=function(e){return v(this,void 0,void 0,function(){var t,n,r,i,o,a,s;return _(this,function(u){switch(u.label){case 0:return t=e.nickName,n=e.gender,r=e.avatarUrl,i=e.province,o=e.country,a=e.city,[4,this._request.send("auth.updateUserInfo",{nickName:t,gender:n,avatarUrl:r,province:i,country:o,city:a})];case 1:return s=u.sent().data,this._setLocalUserInfo(s),[2]}})})},e.prototype.updatePassword=function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})},e.prototype.updateEmail=function(e,t){return this._request.send("auth.updateEmail",{newEmail:e,password:t})},e.prototype.updateUsername=function(e){return"string"!=typeof e&&w(A.INVALID_PARAMS,"username must be a string"),this._request.send("auth.updateUsername",{username:e})},e.prototype.refresh=function(){return v(this,void 0,void 0,function(){var e;return _(this,function(t){switch(t.label){case 0:return[4,this._request.send("auth.getUserInfo",{})];case 1:return e=t.sent().data,this._setLocalUserInfo(e),[2,e]}})})},e.prototype.linkWithPhoneNumber=function(e,t){return v(this,void 0,void 0,function(){return _(this,function(n){return[2,this._request.send("auth.linkOrUpdatePhoneNumber",{phoneNumber:E(e),phoneCode:t})]})})},e.prototype.updatePhoneNumber=function(e,t){return v(this,void 0,void 0,function(){return _(this,function(n){return[2,this._request.send("auth.linkOrUpdatePhoneNumber",{phoneNumber:E(e),phoneCode:t})]})})},e.prototype._getLocalUserInfo=function(e){var t=this._cache.keys.userInfoKey;return this._cache.getStore(t)[e]},e.prototype._getLocalUserInfoAsync=function(e){return v(this,void 0,void 0,function(){var t;return _(this,function(n){switch(n.label){case 0:return t=this._cache.keys.userInfoKey,[4,this._cache.getStoreAsync(t)];case 1:return[2,n.sent()[e]]}})})},e.prototype._setUserInfo=function(){var e=this,t=this._cache.keys.userInfoKey,n=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl","phone","username"].forEach(function(t){e[t]=n[t]}),this.location={country:n.country,province:n.province,city:n.city}},e.prototype._setLocalUserInfo=function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this._setUserInfo()},m([I({title:"绑定自定义登录失败",messages:["请确认以下各项:"," 1 - 调用 User.linkWithTicket() 的语法或参数是否正确"," 2 - 此账户是否已经绑定自定义登录"," 3 - ticket 参数是否归属当前环境"," 4 - 创建 ticket 的自定义登录私钥是否过期","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",Promise)],e.prototype,"linkWithTicket",null),m([I({title:"绑定第三方登录方式失败",messages:["请确认以下各项:"," 1 - 调用 User.linkWithRedirect() 的语法或参数是否正确"," 2 - 此账户是否已经绑定此第三方"," 3 - 此第三方是否已经授权","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[Object]),g("design:returntype",void 0)],e.prototype,"linkWithRedirect",null),m([I({title:"获取账户列表失败",messages:["请确认以下各项:"," 1 - 调用 User.getLinkedUidList() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"getLinkedUidList",null),m([I({title:"设置微信主账号失败",messages:["请确认以下各项:"," 1 - 调用 User.setPrimaryUid() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",void 0)],e.prototype,"setPrimaryUid",null),m([I({title:"接触绑定失败",messages:["请确认以下各项:"," 1 - 调用 User.unlink() 的语法或参数是否正确"," 2 - 当前账户是否已经与此登录方式解绑","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",void 0)],e.prototype,"unlink",null),m([I({title:"更新用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.update() 的语法或参数是否正确"," 2 - 用户信息中是否包含非法值","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[Object]),g("design:returntype",Promise)],e.prototype,"update",null),m([I({title:"更新密码失败",messages:["请确认以下各项:"," 1 - 调用 User.updatePassword() 的语法或参数是否正确"," 3 - 新密码中是否包含非法字符","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String,String]),g("design:returntype",void 0)],e.prototype,"updatePassword",null),m([I({title:"更新邮箱地址失败",messages:["请确认以下各项:"," 1 - 调用 User.updateEmail() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String,String]),g("design:returntype",void 0)],e.prototype,"updateEmail",null),m([I({title:"更新用户名失败",messages:["请确认以下各项:"," 1 - 调用 User.updateUsername() 的语法或参数是否正确"," 2 - 当前环境是否开通了用户名密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",void 0)],e.prototype,"updateUsername",null),m([I({title:"刷新本地用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.refresh() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"refresh",null),m([I({title:"绑定手机号失败",messages:["请确认以下各项:"," 1 - 调用 auth().linkWithPhoneNumber() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String,String]),g("design:returntype",Promise)],e.prototype,"linkWithPhoneNumber",null),m([I({title:"更新手机号失败",messages:["请确认以下各项:"," 1 - 调用语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String,String]),g("design:returntype",Promise)],e.prototype,"updatePhoneNumber",null),e}(),D=t.LoginState=function(){function e(e){var t=e.envId,n=e.cache,r=e.request;t||w(A.INVALID_PARAMS,"envId is not defined"),this._cache=n,this.user=new S({cache:n,request:r})}return e.prototype.checkLocalState=function(){return v(this,void 0,void 0,function(){var e,t,n,r,i,o,a;return _(this,function(s){return e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=e.accessTokenExpireKey,i=this._cache.getStore(t),o=this._cache.getStore(n),a=this._cache.getStore(r),this.credential={refreshToken:i,accessToken:o,accessTokenExpire:a},this._loginType=this._cache.getStore(this._cache.keys.loginTypeKey),this.user.checkLocalInfo(),[2]})})},e.prototype.checkLocalStateAsync=function(){return v(this,void 0,void 0,function(){var e,t,n,r,i,o,a,s;return _(this,function(u){switch(u.label){case 0:return e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=e.accessTokenExpireKey,[4,this._cache.getStoreAsync(t)];case 1:return i=u.sent(),[4,this._cache.getStoreAsync(n)];case 2:return o=u.sent(),[4,this._cache.getStoreAsync(r)];case 3:return a=u.sent(),this.credential={refreshToken:i,accessToken:o,accessTokenExpire:a},s=this,[4,this._cache.getStoreAsync(this._cache.keys.loginTypeKey)];case 4:return s._loginType=u.sent(),[4,this.user.checkLocalInfoAsync()];case 5:return u.sent(),[2]}})})},Object.defineProperty(e.prototype,"isAnonymousAuth",{get:function(){return this.loginType===c.LOGINTYPE.ANONYMOUS},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCustomAuth",{get:function(){return this.loginType===c.LOGINTYPE.CUSTOM},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isWeixinAuth",{get:function(){return this.loginType===c.LOGINTYPE.WECHAT||this.loginType===c.LOGINTYPE.WECHAT_OPEN||this.loginType===c.LOGINTYPE.WECHAT_PUBLIC},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isUsernameAuth",{get:function(){return this.loginType===c.LOGINTYPE.USERNAME},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loginType",{get:function(){return this._loginType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPhoneAuth",{get:function(){return this.loginType===c.LOGINTYPE.PHONE},enumerable:!1,configurable:!0}),e}(),O=t.Auth=function(){function e(e){this._config=e,this._cache=e.cache,this._request=e.request,this._runtime=e.runtime||b.WEB,x.on(T.LOGIN_TYPE_CHANGED,this._onLoginTypeChanged.bind(this))}return Object.defineProperty(e.prototype,"currentUser",{get:function(){if("async"!==this._cache.mode){var e=this.hasLoginState();return e&&e.user||null}k(A.INVALID_OPERATION,"current platform's storage is asynchronous, please use getCurrenUser insteed")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loginType",{get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)},enumerable:!1,configurable:!0}),e.prototype.getCurrenUser=function(){return v(this,void 0,void 0,function(){var e;return _(this,function(t){switch(t.label){case 0:return[4,this.getLoginState()];case 1:return(e=t.sent())?[4,e.user.checkLocalInfoAsync()]:[3,3];case 2:return t.sent(),[2,e.user||null];case 3:return[2,null]}})})},e.prototype.getLoginType=function(){return v(this,void 0,void 0,function(){return _(this,function(e){switch(e.label){case 0:return[4,this._cache.getStoreAsync(this._cache.keys.loginTypeKey)];case 1:return[2,e.sent()]}})})},e.prototype.getAccessToken=function(){return v(this,void 0,void 0,function(){var e;return _(this,function(t){switch(t.label){case 0:return e={},[4,this._request.getAccessToken()];case 1:return[2,(e.accessToken=t.sent().accessToken,e.env=this._config.env,e)]}})})},e.prototype.weixinAuthProvider=function(e){var t=e.appid,n=e.scope,r=e.state;return this._weixinAuthProvider||(this._weixinAuthProvider=new a.WeixinAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request,runtime:this._runtime}),t,n,r)),this._weixinAuthProvider},e.prototype.anonymousAuthProvider=function(){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new s.AnonymousAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._anonymousAuthProvider},e.prototype.customAuthProvider=function(){return this._customAuthProvider||(this._customAuthProvider=new u.CustomAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._customAuthProvider},e.prototype.emailAuthProvider=function(){return this._emailAuthProvider||(this._emailAuthProvider=new d.EmailAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._emailAuthProvider},e.prototype.usernameAuthProvider=function(){return this._usernameAuthProvider||(this._usernameAuthProvider=new f.UsernameAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._usernameAuthProvider},e.prototype.phoneAuthProvider=function(){return this._phoneAuthProvider||(this._phoneAuthProvider=new p.PhoneAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._phoneAuthProvider},e.prototype.signInWithUsernameAndPassword=function(e,t){return v(this,void 0,void 0,function(){return _(this,function(n){return[2,this.usernameAuthProvider().signIn(e,t)]})})},e.prototype.isUsernameRegistered=function(e){return v(this,void 0,void 0,function(){var t;return _(this,function(n){switch(n.label){case 0:return"string"!=typeof e&&w(A.INVALID_PARAMS,"username must be a string"),[4,this._request.send("auth.isUsernameRegistered",{username:e})];case 1:return[2,null==(t=n.sent().data)?void 0:t.isRegistered]}})})},e.prototype.signInWithEmailAndPassword=function(e,t){return v(this,void 0,void 0,function(){return _(this,function(n){return[2,this.emailAuthProvider().signIn(e,t)]})})},e.prototype.signUpWithEmailAndPassword=function(e,t){return v(this,void 0,void 0,function(){return _(this,function(n){return[2,this.emailAuthProvider().signUp(e,t)]})})},e.prototype.sendPasswordResetEmail=function(e){return v(this,void 0,void 0,function(){return _(this,function(t){return[2,this.emailAuthProvider().resetPassword(e)]})})},e.prototype.signOut=function(){return v(this,void 0,void 0,function(){var e,t,n,r,i,o,a;return _(this,function(s){switch(s.label){case 0:return e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=e.accessTokenExpireKey,i="auth.logout",[4,this._cache.getStoreAsync(t)];case 1:return(o=s.sent())?[4,this._request.send(i,{refresh_token:o})]:[2];case 2:return a=s.sent(),this._cache.removeStoreAsync(t),this._cache.removeStoreAsync(n),this._cache.removeStoreAsync(r),x.fire(T.LOGIN_STATE_CHANGED),x.fire(T.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:c.LOGINTYPE.NULL,persistence:this._config.persistence}),[2,a]}})})},e.prototype.onLoginStateChanged=function(e){return v(this,void 0,void 0,function(){var t,n=this;return _(this,function(r){switch(r.label){case 0:return x.on(T.LOGIN_STATE_CHANGED,function(){return v(n,void 0,void 0,function(){var t;return _(this,function(n){switch(n.label){case 0:return[4,this.getLoginState()];case 1:return t=n.sent(),e.call(this,t),[2]}})})}),[4,this.getLoginState()];case 1:return t=r.sent(),e.call(this,t),[2]}})})},e.prototype.onLoginStateExpired=function(e){x.on(T.LOGIN_STATE_EXPIRED,e.bind(this))},e.prototype.onAccessTokenRefreshed=function(e){x.on(T.ACCESS_TOKEN_REFRESHD,e.bind(this))},e.prototype.onAnonymousConverted=function(e){x.on(T.ANONYMOUS_CONVERTED,e.bind(this))},e.prototype.onLoginTypeChanged=function(e){var t=this;x.on(T.LOGIN_TYPE_CHANGED,function(){return v(t,void 0,void 0,function(){var t;return _(this,function(n){switch(n.label){case 0:return[4,this.getLoginState()];case 1:return t=n.sent(),e.call(this,t),[2]}})})})},e.prototype.hasLoginState=function(){if("async"!==this._cache.mode){var e=this._cache.keys.refreshTokenKey;if(this._cache.getStore(e)){var t=new D({envId:this._config.env,cache:this._cache,request:this._request});return t.checkLocalState(),t}return null}k(A.INVALID_OPERATION,"current platform's storage is asynchronous, please use getLoginState insteed")},e.prototype.getLoginState=function(){return v(this,void 0,void 0,function(){var e,t;return _(this,function(n){switch(n.label){case 0:return e=this._cache.keys.refreshTokenKey,[4,this._cache.getStoreAsync(e)];case 1:return n.sent()?[4,(t=new D({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()]:[3,3];case 2:return n.sent(),[2,t];case 3:return[2,null]}})})},e.prototype.shouldRefreshAccessToken=function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)},e.prototype.getUserInfo=function(){return v(this,void 0,void 0,function(){var e;return _(this,function(t){switch(t.label){case 0:return[4,this._request.send("auth.getUserInfo",{})];case 1:return(e=t.sent()).code?[2,e]:[2,h(h({},e.data),{requestId:e.seqId})]}})})},e.prototype.getAuthHeader=function(){var e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(n)+"/@@/"+r}},e.prototype.getAuthHeaderAsync=function(){return v(this,void 0,void 0,function(){var e,t,n,r;return _(this,function(i){switch(i.label){case 0:return[4,this._request.refreshAccessToken()];case 1:return i.sent(),e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,[4,this._cache.getStoreAsync(t)];case 2:return r=i.sent(),[4,this._cache.getStoreAsync(n)];case 3:return[2,{"x-cloudbase-credentials":i.sent()+"/@@/"+r}]}})})},e.prototype.sendPhoneCode=function(e){return v(this,void 0,void 0,function(){return _(this,function(t){switch(t.label){case 0:return[4,this._request.send("auth.sendPhoneCode",{phoneNumber:E(e)})];case 1:return[2,"Ok"===t.sent().data.SendStatus]}})})},e.prototype.signUpWithPhoneCode=function(e,t,n){return v(this,void 0,void 0,function(){return _(this,function(r){return[2,this.phoneAuthProvider().signUp(e,t,n)]})})},e.prototype.signInWithPhoneCodeOrPassword=function(e){return v(this,void 0,void 0,function(){return _(this,function(t){return[2,this.phoneAuthProvider().signIn(e)]})})},e.prototype.forceResetPwdByPhoneCode=function(e){return v(this,void 0,void 0,function(){return _(this,function(t){return[2,this.phoneAuthProvider().signIn(h(h({},e),{signMethod:p.SIGN_METHOD.FORCERESETPWD}))]})})},e.prototype._onLoginTypeChanged=function(e){return v(this,void 0,void 0,function(){var t,n,r;return _(this,function(i){switch(i.label){case 0:return t=e.data,n=t.loginType,r=t.persistence,t.env!==this._config.env?[2]:[4,this._cache.updatePersistenceAsync(r)];case 1:return i.sent(),[4,this._cache.setStoreAsync(this._cache.keys.loginTypeKey,n)];case 2:return i.sent(),[2]}})})},m([I({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 调用 auth().getCurrenUser() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"getCurrenUser",null),m([I({title:"获取用户是否被占用失败",messages:["请确认以下各项:"," 1 - 调用 auth().isUsernameRegistered() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",Promise)],e.prototype,"isUsernameRegistered",null),m([I({title:"用户登出失败",messages:["请确认以下各项:"," 1 - 调用 auth().signOut() 的语法或参数是否正确"," 2 - 当前用户是否为匿名登录(匿名登录不支持signOut)","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"signOut",null),m([I({title:"获取本地登录态失败",messages:["请确认以下各项:"," 1 - 调用 auth().getLoginState() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"getLoginState",null),m([I({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 是否已登录"," 2 - 调用 auth().getUserInfo() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"getUserInfo",null),m([I({title:"发送短信验证码失败",messages:["请确认以下各项:"," 1 - 调用语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+C]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",Promise)],e.prototype,"sendPhoneCode",null),e}(),T=t.EVENTS={LOGIN_STATE_CHANGED:"loginStateChanged",LOGIN_STATE_EXPIRED:"loginStateExpire",LOGIN_TYPE_CHANGED:"loginTypeChanged",ANONYMOUS_CONVERTED:"anonymousConverted",ACCESS_TOKEN_REFRESHD:"refreshAccessToken"},N={name:"auth",namespace:"auth",injectEvents:{bus:x,events:[T.LOGIN_TYPE_CHANGED,T.LOGIN_STATE_EXPIRED,T.LOGIN_STATE_CHANGED,T.ACCESS_TOKEN_REFRESHD,T.ANONYMOUS_CONVERTED]},entity:function(e){if(void 0===e&&(e={region:"",persistence:"local"}),this.authInstance)return k(A.INVALID_OPERATION,"every cloudbase instance should has only one auth object"),this.authInstance;var t=this.platform,n=t.adapter,r=t.runtime,i=e.persistence||n.primaryStorage;i&&i!==this.config.persistence&&this.updateConfig({persistence:i});var o=this.config,a=o.env,s=o.persistence,u=o.debug;return this.authInstance=new O({env:a,region:e.region,persistence:s,debug:u,cache:this.cache,request:this.request,runtime:r}),this.authInstance}};try{cloudbase.registerComponent(N)}catch(M){}},3457:function(e,t,n){var r=n(8440);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("042e8a68",r,!0,{})},3459:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{ref:"tk-submit",staticClass:"tk-submit tk-fade-in"},[t("div",{staticClass:"tk-row"},[t("tk-avatar",{attrs:{config:e.config,mail:e.mail,nick:e.nick}}),e._v(" "),t("div",{staticClass:"tk-col"},[t("tk-meta-input",{attrs:{nick:e.nick,mail:e.mail,link:e.link,config:e.config},on:{update:e.onMetaUpdate}}),e._v(" "),t("el-input",{ref:"textarea",staticClass:"tk-input",attrs:{type:"textarea","show-word-limit":"",placeholder:e.commentPlaceholder,autosize:{minRows:3},maxlength:e.maxLength},on:{input:e.onCommentInput},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onEnterKeyUp(t)}},model:{value:e.comment,callback:function(t){e.comment=t},expression:"comment"}})],1)],1),e._v(" "),t("div",{staticClass:"tk-row actions"},[t("div",{staticClass:"tk-row-actions-start"},[t("div",{directives:[{name:"show",rawName:"v-show",value:"true"===e.config.SHOW_EMOTION,expression:"config.SHOW_EMOTION === 'true'"},{name:"clickoutside",rawName:"v-clickoutside",value:e.closeOwo,expression:"closeOwo"}],ref:"owo",staticClass:"tk-submit-action-icon OwO",domProps:{innerHTML:e._s(e.iconEmotion)}}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showImage,expression:"showImage"}],staticClass:"tk-submit-action-icon",domProps:{innerHTML:e._s(e.iconImage)},on:{click:e.openSelectImage}}),e._v(" "),t("input",{ref:"inputFile",staticClass:"tk-input-image",attrs:{type:"file",accept:"image/*",value:""},on:{change:e.onSelectImage}}),e._v(" "),t("div",{staticClass:"tk-error-message"},[e._v(e._s(e.errorMessage))])]),e._v(" "),t("a",{staticClass:"tk-submit-action-icon __markdown",attrs:{alt:"Markdown is supported",href:"https://guides.github.com/features/mastering-markdown/",target:"_blank",rel:"noopener noreferrer"},domProps:{innerHTML:e._s(e.iconMarkdown)}}),e._v(" "),e.replyId?t("el-button",{staticClass:"tk-cancel",attrs:{size:"small"},on:{click:e.cancel}},[e._v(e._s(e.t("SUBMIT_CANCEL")))]):e._e(),e._v(" "),t("el-button",{staticClass:"tk-preview",attrs:{size:"small"},on:{click:e.preview}},[e._v(e._s(e.t("SUBMIT_PREVIEW")))]),e._v(" "),t("el-button",{staticClass:"tk-send",attrs:{type:"primary",size:"small",disabled:!e.canSend},on:{click:e.send}},[e._v(e._s(e.isSending?e.t("SUBMIT_SENDING"):e.t("SUBMIT_SEND")))]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:"Turnstile"===e.captchaProvider,expression:"captchaProvider === 'Turnstile'"}],ref:"turnstile-container",staticClass:"tk-turnstile-container"},[t("div",{ref:"turnstile",staticClass:"tk-turnstile"})]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:"Geetest"===e.captchaProvider,expression:"captchaProvider === 'Geetest'"}],ref:"geetest-container",staticClass:"tk-geetest-container"}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:"Cap"===e.captchaProvider,expression:"captchaProvider === 'Cap'"}],ref:"cap-container",staticClass:"tk-cap-container"})],1),e._v(" "),e.isPreviewing?t("div",{ref:"comment-preview",staticClass:"tk-preview-container",domProps:{innerHTML:e._s(e.commentHtml)}}):e._e()])},t.Yp=[]},3491:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"></path></svg>'},3525:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-action"},[t("button",{staticClass:"tk-action-link","class":{"tk-liked":e.liked},on:{click:e.onLike}},[t("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconLike)}}),e._v(" "),t("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconLikeSolid)}}),e._v(" "),t("span",{staticClass:"tk-action-count"},[e._v(e._s(e.likeCountStr))])]),e._v(" "),e.showDislike?t("button",{staticClass:"tk-action-link","class":{"tk-disliked":e.disliked},on:{click:e.onDislike}},[t("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconDislike)}}),e._v(" "),t("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconDislikeSolid)}}),e._v(" "),t("span",{staticClass:"tk-action-count"},[e._v(e._s(e.dislikeCountStr))])]):e._e(),e._v(" "),t("button",{staticClass:"tk-action-link",on:{click:e.onReply}},[t("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconComment)}}),e._v(" "),t("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconCommentSolid)}}),e._v(" "),t("span",{staticClass:"tk-action-count"},[e._v(e._s(e.repliesCountStr))])])])},t.Yp=[]},3572:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=n(8129),s=r(n(6674)),u=r(n(4785)),c=r(n(2107)),l=r(n(2531)),d=r(n(9396)),f=r(n(6937)),p=r(n(8974)),h=r(n(7397)),m=r(n(58)),g=r(n(8443)),v=r(n(740)),_=r(n(3793)),y=r(n(7051)),b=r(n(9039)),k=r(n(3982)),w={win:l["default"],mac:d["default"],ipad:d["default"],iphone:d["default"],ios:d["default"],android:f["default"],ubuntu:h["default"],linux:p["default"]},E={edge:y["default"],chrome:m["default"],firefox:g["default"],safari:v["default"],explorer:_["default"],ie:_["default"]};t.A={name:"tk-comment",components:{TkAction:s["default"],TkAvatar:u["default"],TkSubmit:c["default"]},data:function(){return{pid:"",like:0,liked:!1,disliked:!1,ups:0,downs:0,likeLoading:!1,isExpanded:!1,hasExpand:!1,isContentExpanded:!1,hasContentExpand:!1,isLogin:!1}},props:{comment:Object,replyId:String,replying:Boolean,config:Object},computed:{displayCreated:function(){return(0,a.timeago)(this.comment.created)},jsonTimestamp:function(){return new Date(this.comment.created).toJSON()},localeTime:function(){return new Date(this.comment.created).toLocaleString()},iconOs:function(){return this.getIconBy(this.comment.os,w)},iconBrowser:function(){return this.getIconBy(this.comment.browser,E)},iconLocation:function(){return k["default"]},showExpand:function(){return this.hasExpand&&!this.isExpanded},showCollapse:function(){return this.hasExpand&&this.isExpanded},showContentExpand:function(){return this.hasContentExpand&&!this.isContentExpanded},showContentCollapse:function(){return this.hasContentExpand&&this.isContentExpanded},convertedLink:function(){return(0,a.convertLink)(this.comment.link)}},methods:{t:a.t,getIconBy:function(e,t){var n=e.toLowerCase();for(var r in t)if(-1!==n.indexOf(r))return t[r];return b["default"]},showExpandIfNeed:function(){this.comment.replies&&this.comment.replies.length>0&&this.$refs["tk-replies"]&&(this.hasExpand=this.$refs["tk-replies"].scrollHeight>236)},showContentExpandIfNeed:function(){this.hasContentExpand=this.hasContentExpand||this.$refs["tk-content"].scrollHeight>500},showContentExpandIfNeedAfterImagesLoaded:function(){var e=this;this.$refs["tk-content"].querySelectorAll("img").forEach(function(t){t.onload=e.showContentExpandIfNeed})},scrollToComment:function(){-1!==window.location.hash.indexOf(this.comment.id)&&(this.$refs["tk-comment"].scrollIntoView({behavior:"smooth"}),this.$emit("expand"))},onLike:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.likeLoading){t.next=2;break}return t.abrupt("return");case 2:return e.likeLoading=!0,t.next=5,(0,a.call)(e.$tcb,"COMMENT_LIKE",{id:e.comment.id,type:"up"});case 5:e.liked?e.ups--:(e.ups++,e.disliked&&e.downs--),e.liked=!e.liked,e.disliked=!1,e.likeLoading=!1;case 9:case"end":return t.stop()}},t)}))()},onDislike:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.likeLoading){t.next=2;break}return t.abrupt("return");case 2:return e.likeLoading=!0,t.next=5,(0,a.call)(e.$tcb,"COMMENT_LIKE",{id:e.comment.id,type:"down"});case 5:e.disliked?e.downs--:(e.downs++,e.liked&&e.ups--),e.disliked=!e.disliked,e.liked=!1,e.likeLoading=!1;case 9:case"end":return t.stop()}},t)}))()},onReply:function(e){this.pid=e,this.$emit("reply",this.comment.id)},onReplyReply:function(e){this.pid=e,e?this.$emit("reply",this.comment.id):this.$emit("reply","")},onCancel:function(){this.pid="",this.$emit("reply","")},onLoad:function(){this.comment.replies.length>0&&this.$refs["tk-replies"].lastElementChild.scrollIntoView({behavior:"smooth",block:"center"}),this.pid="",this.$emit("reply",""),this.$emit("load"),this.onExpand()},onExpand:function(){this.isExpanded=!0},onCollapse:function(){this.isExpanded=!1},onContentExpand:function(){this.isContentExpanded=!0},onContentCollapse:function(){this.isContentExpanded=!1},checkAuth:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$tcb){t.next=7;break}return t.next=3,e.$tcb.auth.getCurrenUser();case 3:n=t.sent,e.isLogin="CUSTOM"===n.loginType,t.next=8;break;case 7:e.isLogin=e.$twikoo.serverConfig&&e.$twikoo.serverConfig.IS_ADMIN;case 8:case"end":return t.stop()}},t)}))()},handleSpam:function(e){this.setComment({isSpam:e})},handleTop:function(e){this.setComment({top:e})},popupLightbox:function(e){if("true"===this.$twikoo.serverConfig.LIGHTBOX){var t=e.target;if("IMG"===t.tagName&&!t.classList.contains("tk-owo-emotion")){var n=document.createElement("div");n.className="tk-lightbox";var r=document.createElement("img");r.className="tk-lightbox-image",r.src=t.src,n.appendChild(r),n.addEventListener("click",function(){document.body.removeChild(n)}),document.body.appendChild(n)}}},setComment:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,n.next=3,(0,a.call)(t.$tcb,"COMMENT_SET_FOR_ADMIN",{id:t.comment.id,set:e});case 3:t.loading=!1,t.$emit("load");case 5:case"end":return n.stop()}},n)}))()}},mounted:function(){var e=this;this.$nextTick(this.showContentExpandIfNeed),this.$nextTick(this.showContentExpandIfNeedAfterImagesLoaded),this.$nextTick(this.showExpandIfNeed),this.$nextTick(this.scrollToComment),this.$nextTick(function(){(0,a.renderLinks)(e.$refs.comment),(0,a.renderMath)(e.$refs.comment,e.$twikoo.katex)}),this.checkAuth()},watch:{"comment.like":{handler:function(e){this.like=this.comment.like},immediate:!0},"comment.ups":{handler:function(e){this.ups=this.comment.ups,this.liked=this.comment.liked},immediate:!0},"comment.downs":{handler:function(e){this.downs=this.comment.downs,this.disliked=this.comment.disliked},immediate:!0},"config.HIGHLIGHT":{handler:function(e){var t=this;"true"===e&&this.$nextTick(function(){(0,a.renderCode)(t.$refs.comment,t.config.HIGHLIGHT_THEME,t.config.HIGHLIGHT_PLUGIN)})},immediate:!0}}}},3692:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StorageType=t.AbstractStorage=t.AbstractSDKRequest=void 0,function(e){e.local="local",e.none="none",e.session="session"}(n||(t.StorageType=n={})),t.AbstractSDKRequest=function(){},t.AbstractStorage=function(){}},3723:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,".el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#FFF;border:1px solid #DCDFE6;color:#606266;-webkit-appearance:none;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;margin:0;-webkit-transition:.1s;transition:.1s;font-weight:500;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button:focus,.el-button:hover{color:#409EFF;border-color:#c6e2ff;background-color:#ecf5ff}.el-button:active{color:#3a8ee6;border-color:#3a8ee6;outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#FFF;border-color:#409EFF;color:#409EFF}.el-button.is-active,.el-button.is-plain:active{color:#3a8ee6;border-color:#3a8ee6}.el-button.is-plain:active{background:#FFF;outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#C0C4CC;cursor:not-allowed;background-image:none;background-color:#FFF;border-color:#EBEEF5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#FFF;border-color:#EBEEF5;color:#C0C4CC}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:rgba(255,255,255,.35)}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{color:#FFF;background-color:#409EFF;border-color:#409EFF}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#FFF}.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF;outline:0}.el-button--primary.is-active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{color:#FFF;background-color:#a0cfff;border-color:#a0cfff}.el-button--primary.is-plain{color:#409EFF;background:#ecf5ff;border-color:#b3d8ff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#409EFF;border-color:#409EFF;color:#FFF}.el-button--primary.is-plain:active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF;outline:0}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:#8cc5ff;background-color:#ecf5ff;border-color:#d9ecff}.el-button--success{color:#FFF;background-color:#67C23A;border-color:#67C23A}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#FFF}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#FFF}.el-button--success:active{outline:0}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{color:#FFF;background-color:#b3e19d;border-color:#b3e19d}.el-button--success.is-plain{color:#67C23A;background:#f0f9eb;border-color:#c2e7b0}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#67C23A;border-color:#67C23A;color:#FFF}.el-button--success.is-plain:active{background:#5daf34;border-color:#5daf34;color:#FFF;outline:0}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:#a4da89;background-color:#f0f9eb;border-color:#e1f3d8}.el-button--warning{color:#FFF;background-color:#E6A23C;border-color:#E6A23C}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#FFF}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#FFF}.el-button--warning:active{outline:0}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{color:#FFF;background-color:#f3d19e;border-color:#f3d19e}.el-button--warning.is-plain{color:#E6A23C;background:#fdf6ec;border-color:#f5dab1}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#E6A23C;border-color:#E6A23C;color:#FFF}.el-button--warning.is-plain:active{background:#cf9236;border-color:#cf9236;color:#FFF;outline:0}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:#f0c78a;background-color:#fdf6ec;border-color:#faecd8}.el-button--danger{color:#FFF;background-color:#F56C6C;border-color:#F56C6C}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#FFF}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#FFF}.el-button--danger:active{outline:0}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{color:#FFF;background-color:#fab6b6;border-color:#fab6b6}.el-button--danger.is-plain{color:#F56C6C;background:#fef0f0;border-color:#fbc4c4}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#F56C6C;border-color:#F56C6C;color:#FFF}.el-button--danger.is-plain:active{background:#dd6161;border-color:#dd6161;color:#FFF;outline:0}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:#f9a7a7;background-color:#fef0f0;border-color:#fde2e2}.el-button--info{color:#FFF;background-color:#909399;border-color:#909399}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#FFF}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#FFF}.el-button--info:active{outline:0}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{color:#FFF;background-color:#c8c9cc;border-color:#c8c9cc}.el-button--info.is-plain{color:#909399;background:#f4f4f5;border-color:#d3d4d6}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#909399;border-color:#909399;color:#FFF}.el-button--info.is-plain:active{background:#82848a;border-color:#82848a;color:#FFF;outline:0}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:#bcbec2;background-color:#f4f4f5;border-color:#e9e9eb}.el-button--medium{padding:10px 20px;font-size:14px;border-radius:4px}.el-button--mini,.el-button--small{font-size:12px;border-radius:3px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small,.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini,.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{border-color:transparent;color:#409EFF;background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#66b1ff;border-color:transparent;background-color:transparent}.el-button--text:active{color:#3a8ee6;border-color:transparent;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover{border-color:transparent}.el-button-group .el-button--danger:last-child,.el-button-group .el-button--danger:not(:first-child):not(:last-child),.el-button-group .el-button--info:last-child,.el-button-group .el-button--info:not(:first-child):not(:last-child),.el-button-group .el-button--primary:last-child,.el-button-group .el-button--primary:not(:first-child):not(:last-child),.el-button-group .el-button--success:last-child,.el-button-group .el-button--success:not(:first-child):not(:last-child),.el-button-group .el-button--warning:last-child,.el-button-group .el-button--warning:not(:first-child):not(:last-child),.el-button-group>.el-dropdown>.el-button{border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--danger:first-child,.el-button-group .el-button--danger:not(:first-child):not(:last-child),.el-button-group .el-button--info:first-child,.el-button-group .el-button--info:not(:first-child):not(:last-child),.el-button-group .el-button--primary:first-child,.el-button-group .el-button--primary:not(:first-child):not(:last-child),.el-button-group .el-button--success:first-child,.el-button-group .el-button--success:not(:first-child):not(:last-child),.el-button-group .el-button--warning:first-child,.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-right-color:rgba(255,255,255,.5)}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group::after,.el-button-group::before{display:table;content:\"\"}.el-button-group::after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button.is-disabled{z-index:1}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-radius:4px}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:20px}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0}",""]),t["default"]=a},3725:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:300,r=arguments.length>3&&arguments[3]!==undefined&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var i=!1,o=function(){i||(i=!0,t&&t.apply(null,arguments))};r?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout(function(){o()},n+100)}},3774:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0;var i=r(n(8850)),o=r(n(1332)),a=n(4001),s=n(4008),u=n(5779),c=n(9105);function l(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function d(e){var t,n,r="",i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}t.Lexer=function(){function e(t){(0,i["default"])(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||s.defaults,this.options.tokenizer=this.options.tokenizer||new a.Tokenizer,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var n={block:u.block.normal,inline:u.inline.normal};this.options.pedantic?(n.block=u.block.pedantic,n.inline=u.inline.pedantic):this.options.gfm&&(n.block=u.block.gfm,this.options.breaks?n.inline=u.inline.breaks:n.inline=u.inline.gfm),this.tokenizer.rules=n}return(0,o["default"])(e,[{key:"lex",value:function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}},{key:"blockTokens",value:function(e){var t,n,r,i,o=this,a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];this.options.pedantic&&(e=e.replace(/^ +$/gm,""));for(var s,u=function(){if(o.options.extensions&&o.options.extensions.block&&o.options.extensions.block.some(function(n){return!!(t=n.call({lexer:o},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0)}))return 0;if(t=o.tokenizer.space(e))return e=e.substring(t.raw.length),1===t.raw.length&&a.length>0?a[a.length-1].raw+="\n":a.push(t),0;if(t=o.tokenizer.code(e))return e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?a.push(t):(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue[o.inlineQueue.length-1].src=n.text),0;if(t=o.tokenizer.fences(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.heading(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.hr(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.blockquote(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.list(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.html(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.def(e))return e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?o.tokens.links[t.tag]||(o.tokens.links[t.tag]={href:t.href,title:t.title}):(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,o.inlineQueue[o.inlineQueue.length-1].src=n.text),0;if(t=o.tokenizer.table(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=o.tokenizer.lheading(e))return e=e.substring(t.raw.length),a.push(t),0;if(r=e,o.options.extensions&&o.options.extensions.startBlock){var s,u=Infinity,c=e.slice(1);o.options.extensions.startBlock.forEach(function(e){"number"==typeof(s=e.call({lexer:this},c))&&s>=0&&(u=Math.min(u,s))}),u<Infinity&&u>=0&&(r=e.substring(0,u+1))}if(o.state.top&&(t=o.tokenizer.paragraph(r)))return n=a[a.length-1],i&&"paragraph"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=n.text):a.push(t),i=r.length!==e.length,e=e.substring(t.raw.length),0;if(t=o.tokenizer.text(e))return e=e.substring(t.raw.length),(n=a[a.length-1])&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=n.text):a.push(t),0;if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(o.options.silent)return console.error(l),1;throw new Error(l)}};e&&(0===(s=u())||1!==s););return this.state.top=!0,a}},{key:"inline",value:function(e,t){this.inlineQueue.push({src:e,tokens:t})}},{key:"inlineTokens",value:function(e){var t,n,r,i,o,a,s=this,u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[],f=e;if(this.tokens.links){var p=Object.keys(this.tokens.links);if(p.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(f));)p.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(f=f.slice(0,i.index)+"["+(0,c.repeatString)("a",i[0].length-2)+"]"+f.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(f));)f=f.slice(0,i.index)+"["+(0,c.repeatString)("a",i[0].length-2)+"]"+f.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(f));)f=f.slice(0,i.index)+"++"+f.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(var h,m=function(){if(o||(a=""),o=!1,t=s.tokenizer.owo(e))return e=e.substring(t.raw.length),t.type&&u.push(t),0;if(s.options.extensions&&s.options.extensions.inline&&s.options.extensions.inline.some(function(n){return!!(t=n.call({lexer:s},e,u))&&(e=e.substring(t.raw.length),u.push(t),!0)}))return 0;if(t=s.tokenizer.escape(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.tag(e))return e=e.substring(t.raw.length),(n=u[u.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):u.push(t),0;if(t=s.tokenizer.link(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.reflink(e,s.tokens.links))return e=e.substring(t.raw.length),(n=u[u.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):u.push(t),0;if(t=s.tokenizer.emStrong(e,f,a))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.codespan(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.br(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.del(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.autolink(e,d))return e=e.substring(t.raw.length),u.push(t),0;if(!s.state.inLink&&(t=s.tokenizer.url(e,d)))return e=e.substring(t.raw.length),u.push(t),0;if(r=e,s.options.extensions&&s.options.extensions.startInline){var i,c=Infinity,p=e.slice(1);s.options.extensions.startInline.forEach(function(e){"number"==typeof(i=e.call({lexer:this},p))&&i>=0&&(c=Math.min(c,i))}),c<Infinity&&c>=0&&(r=e.substring(0,c+1))}if(t=s.tokenizer.inlineText(r,l))return e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(a=t.raw.slice(-1)),o=!0,(n=u[u.length-1])&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):u.push(t),0;if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(s.options.silent)return console.error(h),1;throw new Error(h)}};e&&(0===(h=m())||1!==h););return u}}],[{key:"rules",get:function(){return{block:u.block,inline:u.inline}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}]),e}()},3793:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M483.049 159.706c10.855-24.575 21.424-60.438 21.424-87.871 0-72.722-79.641-98.371-209.673-38.577-107.632-7.181-211.221 73.67-237.098 186.457 30.852-34.862 78.271-82.298 121.977-101.158C125.404 166.85 79.128 228.002 43.992 291.725 23.246 329.651 0 390.94 0 436.747c0 98.575 92.854 86.5 180.251 42.006 31.423 15.43 66.559 15.573 101.695 15.573 97.124 0 184.249-54.294 216.814-146.022H377.927c-52.509 88.593-196.819 52.996-196.819-47.436H509.9c6.407-43.581-1.655-95.715-26.851-141.162zM64.559 346.877c17.711 51.15 53.703 95.871 100.266 123.304-88.741 48.94-173.267 29.096-100.266-123.304zm115.977-108.873c2-55.151 50.276-94.871 103.98-94.871 53.418 0 101.981 39.72 103.981 94.871H180.536zm184.536-187.6c21.425-10.287 48.563-22.003 72.558-22.003 31.422 0 54.274 21.717 54.274 53.722 0 20.003-7.427 49.007-14.569 67.867-26.28-42.292-65.986-81.584-112.263-99.586z"></path></svg>'},3852:function(e,t,n){"use strict";var r=n(3987);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},3982:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M444.52 3.52L28.74 195.42c-47.97 22.39-31.98 92.75 19.19 92.75h175.91v175.91c0 51.17 70.36 67.17 92.75 19.19l191.9-415.78c15.99-38.39-25.59-79.97-63.97-63.97z"></path></svg>'},3987:function(e,t,n){"use strict";var r=n(9367)["default"],i=n(7278);e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:String(t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},4001:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Tokenizer=void 0;var i=r(n(8850)),o=r(n(1332)),a=r(n(9272)),s=n(4008),u=n(9105);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t,n,r){var i=t.href,o=t.title?(0,u.escape)(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var s={type:"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a,[])};return r.state.inLink=!1,s}return{type:"image",raw:n,href:i,title:o,text:(0,u.escape)(a)}}t.Tokenizer=function(){function e(t){(0,i["default"])(this,e),this.options=t||s.defaults}return(0,o["default"])(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:(0,u.rtrim)(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:(0,a["default"])(t,1)[0].length>=r.length?e.slice(r.length):e}).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=(0,u.rtrim)(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}var i={type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:[]};return this.lexer.inline(i.text,i.tokens),i}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,a,s,u,l,d,f,p,h,m=t[1].trim(),g=m.length>1,v={type:"list",raw:"",ordered:g,start:g?+m.slice(0,-1):"",loose:!1,items:[]};m=g?"\\d{1,9}\\".concat(m.slice(-1)):"\\".concat(m),this.options.pedantic&&(m=g?m:"[*+-]");for(var _=new RegExp("^( {0,3}".concat(m,")((?: [^\\n]*)?(?:\\n|$))"));e&&(h=!1,t=_.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),l=t[2].split("\n",1)[0],d=e.split("\n",1)[0],this.options.pedantic?(o=2,p=l.trimLeft()):(o=(o=t[2].search(/[^ ]/))>4?1:o,p=l.slice(o),o+=t[1].length),s=!1,!l&&/^ *$/.test(d)&&(n+=d+"\n",e=e.substring(d.length+1),h=!0),!h)for(var y=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:[*+-]|\\d{1,9}[.)])"));e&&(l=f=e.split("\n",1)[0],this.options.pedantic&&(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!y.test(l));){if(l.search(/[^ ]/)>=o||!l.trim())p+="\n"+l.slice(o);else{if(s)break;p+="\n"+l}s||l.trim()||(s=!0),n+=f+"\n",e=e.substring(f.length+1)}v.loose||(u?v.loose=!0:/\n *\n *$/.test(n)&&(u=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p))&&(i="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,"")),v.items.push({type:"list_item",raw:n,task:!!r,checked:i,loose:!1,text:p}),v.raw+=n}v.items[v.items.length-1].raw=n.trimRight(),v.items[v.items.length-1].text=p.trimRight(),v.raw=v.raw.trimRight();var b=v.items.length;for(a=0;a<b;a++){this.lexer.state.top=!1,v.items[a].tokens=this.lexer.blockTokens(v.items[a].text,[]);var k=v.items[a].tokens.filter(function(e){return"space"===e.type}),w=k.every(function(e){var t,n=0,r=c(e.raw.split(""));try{for(r.s();!(t=r.n()).done;)if("\n"===t.value&&(n+=1),n>1)return!0}catch(i){r.e(i)}finally{r.f()}return!1});!v.loose&&k.length&&w&&(v.loose=!0,v.items[a].loose=!0)}return v}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(n.type="paragraph",n.text=this.options.sanitizer?this.options.sanitizer(t[0]):(0,u.escape)(t[0]),n.tokens=[],this.lexer.inline(n.text,n.tokens)),n}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:(0,u.splitCells)(t[1]).map(function(e){return{text:e}}),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i,o,a,s=n.align.length;for(r=0;r<s;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(s=n.rows.length,r=0;r<s;r++)n.rows[r]=(0,u.splitCells)(n.rows[r],n.header.length).map(function(e){return{text:e}});for(s=n.header.length,i=0;i<s;i++)n.header[i].tokens=[],this.lexer.inlineTokens(n.header[i].text,n.header[i].tokens);for(s=n.rows.length,i=0;i<s;i++)for(a=n.rows[i],o=0;o<a.length;o++)a[o].tokens=[],this.lexer.inlineTokens(a[o].text,a[o].tokens);return n}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t){var n={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t){var n={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:(0,u.escape)(t[1])}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):(0,u.escape)(t[0]):t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=(0,u.rtrim)(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var i=(0,u.findClosingBracket)(t[2],"()");if(i>-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var a=t[2],s="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);c&&(a=c[1],s=c[3])}else s=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),d(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return d(n,r,n[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))){var i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){var o,a,s=r[0].length-1,u=s,c=0,l="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+s);null!=(r=l.exec(t));)if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(a=o.length,r[3]||r[4])u+=a;else if(!((r[5]||r[6])&&s%3)||(s+a)%3){if(!((u-=a)>0)){if(a=Math.min(a,a+u+c),Math.min(s,a)%2){var d=e.slice(1,s+r.index+a);return{type:"em",raw:e.slice(0,s+r.index+a+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}var f=e.slice(2,s+r.index+a-1);return{type:"strong",raw:e.slice(0,s+r.index+a+1),text:f,tokens:this.lexer.inlineTokens(f,[])}}}else c+=a}}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=(0,u.escape)(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}},{key:"owo",value:function(e){var t=this.rules.inline.owo.exec(e);if(t&&t[0].length>1)return{type:"owo",raw:t[0],text:t[1]}}},{key:"autolink",value:function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return r="@"===i[2]?"mailto:"+(n=(0,u.escape)(this.options.mangle?t(i[1]):i[1])):n=(0,u.escape)(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},{key:"url",value:function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])i="mailto:"+(r=(0,u.escape)(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=(0,u.escape)(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,t){var n,r=this.rules.inline.text.exec(e);if(r)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):(0,u.escape)(r[0]):r[0]:(0,u.escape)(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:n}}}]),e}()},4008:function(e,t){"use strict";function n(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.changeDefaults=function(e){t.defaults=e},t.defaults=void 0,t.getDefaults=n,t.defaults={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},4064:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(2889)),o=n(823),a=n(8129),s=r(n(9587));t.A={props:{config:Object,avatar:String,nick:String,mail:String,mailMd5:String,link:String},data:function(){return{iconUser:s["default"]}},computed:{gravatarCdn:function(){return this.config&&this.config.GRAVATAR_CDN?this.config.GRAVATAR_CDN:"weavatar.com"},defaultGravatar:function(){return this.config&&this.config.DEFAULT_GRAVATAR?this.config.DEFAULT_GRAVATAR:"initials&name=".concat(this.nick)},avatarInner:function(){if(this.avatar)return this.avatar;if(this.mailMd5)return"https://".concat(this.gravatarCdn,"/avatar/").concat(this.mailMd5,"?d=").concat(this.defaultGravatar);if(this.mail&&(0,a.isQQ)(this.mail))return(0,a.getQQAvatar)(this.mail);if(this.mail){var e="cravatar.cn"===this.gravatarCdn?i["default"]:o.sha256;return"https://".concat(this.gravatarCdn,"/avatar/").concat(e((0,a.normalizeMail)(this.mail)),"?d=").concat(this.defaultGravatar)}return""}},methods:{onClick:function(){this.$emit("click"),this.link&&(window.open((0,a.convertLink)(this.link),"_blank").opener=null)}}}},4161:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r,i,o=n(1085),a=function(e,t){var n=document.getElementById("twikoo");i&&n.contains(i)||!e||"none"===e||((i=document.createElement("link")).href="default"===e?"".concat(t,"/themes/prism.min.css"):"".concat(t,"/themes/prism-").concat(e,".min.css"),i.rel="stylesheet",i.type="text/css",n.appendChild(i))};t["default"]=function(e,t,i){var s=o.app&&o.app.$twikoo.prismCdn?o.app.$twikoo.prismCdn:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0";window.Prism=window.Prism||{},window.Prism.manual=!0,r||(r=n(1965),n(210),r.plugins.autoloader.languages_path="".concat(s,"/components/"),i&&(n(8072),i.split(",").map(function(e){return e.trim()}).forEach(function(e){"showLanguage"===e?n(4296):"copyButton"===e&&n(5472)}))),a(t,s),r.highlightAllUnder(e)}},4180:function(e,t,n){"use strict";var r,i,o,a,s=n(477)(n(9367));a=function(e){return e.HmacSHA256},"object"===(0,s["default"])(t)?e.exports=t=a(n(4794),n(5794),n(2910)):(i=[n(4794),n(5794),n(2910)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},4238:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=r(n(2889)),s=r(n(7945)),u=r(n(7111)),c=r(n(9985)),l=r(n(9097)),d=n(8129),f=r(n(9671));t.A={components:{TkAdminComment:s["default"],TkAdminConfig:u["default"],TkAdminImport:c["default"],TkAdminExport:l["default"]},props:{show:Boolean},data:function(){return{iconClose:f["default"],loading:!0,version:"",needUpdate:!1,isLogin:!1,isSetPassword:!0,isSetCredentials:!1,credentials:"",password:"",passwordConfirm:"",loginErrorMessage:"",activeTabName:"comment"}},computed:{canRegist:function(){return!this.isSetPassword&&!!this.password&&this.password===this.passwordConfirm&&(this.isSetCredentials||this.credentials)}},methods:{t:d.t,onLogin:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n,r;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.password){t.next=3;break}return e.loginErrorMessage=(0,d.t)("ADMIN_PASSWORD_REQUIRED"),t.abrupt("return");case 3:return e.loading=!0,e.loginErrorMessage="",n=(0,a["default"])(e.password),t.next=8,(0,d.call)(e.$tcb,"LOGIN",{password:n});case 8:if(!(r=t.sent).result.message){t.next=13;break}e.loginErrorMessage=r.result.message,t.next=28;break;case 13:if(!r.result.ticket){t.next=27;break}return t.prev=14,t.next=17,e.$tcb.auth.customAuthProvider().signIn(r.result.ticket);case 17:d.logger.log("登录成功"),e.password="",e.checkAuth(),t.next=25;break;case 22:t.prev=22,t.t0=t["catch"](14),d.logger.error("登录失败",t.t0);case 25:t.next=28;break;case 27:0===r.result.code&&(d.logger.log("登录成功"),localStorage.setItem("twikoo-access-token",n),e.password="",e.checkAuth());case 28:e.loading=!1;case 29:case"end":return t.stop()}},t,null,[[14,22]])}))()},onLogout:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e.preventDefault(),t.loading=!0,!t.$tcb){n.next=9;break}return n.next=5,t.$tcb.auth.signOut();case 5:return n.next=7,t.$tcb.auth.anonymousAuthProvider().signIn();case 7:n.next=10;break;case 9:localStorage.removeItem("twikoo-access-token");case 10:t.isLogin=!1,t.loading=!1;case 12:case"end":return n.stop()}},n)}))()},onRegist:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n,r;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,n=(0,a["default"])(e.password),t.next=4,(0,d.call)(e.$tcb,"SET_PASSWORD",{password:n,credentials:e.credentials});case 4:(r=t.sent).result.code?(e.loginErrorMessage=(0,d.t)("ADMIN_REGIST_FAILED"),r.result.message&&(e.loginErrorMessage+=","+r.result.message),d.logger.warn("Twikoo 注册失败",r)):(e.passwordMd5="",e.isSetPassword=!0,e.onLogin()),e.loading=!1;case 7:case"end":return t.stop()}},t)}))()},onShow:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.checkAuth();case 3:if(e.isLogin){t.next=7;break}return t.next=6,e.checkIfPasswordSet();case 6:e.focusPassword();case 7:e.loading=!1;case 8:case"end":return t.stop()}},t)}))()},focusPassword:function(){var e=this;setTimeout(function(){e.$refs.focusme&&e.$refs.focusme.focus()},500)},checkAuth:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n,r;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$tcb){t.next=7;break}return t.next=3,e.$tcb.auth.getCurrenUser();case 3:n=t.sent,e.isLogin="CUSTOM"===n.loginType,t.next=11;break;case 7:return t.next=9,(0,d.call)(e.$tcb,"GET_CONFIG");case 9:(r=t.sent)&&r.result&&r.result.config&&(e.isLogin=r.result.config.IS_ADMIN);case 11:case"end":return t.stop()}},t)}))()},checkIfPasswordSet:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,d.call)(e.$tcb,"GET_PASSWORD_STATUS");case 3:n=t.sent,e.version=n.result.version,e.isSetPassword=n.result.status,e.isSetCredentials=!e.$tcb,t.next=14;break;case 9:throw t.prev=9,t.t0=t["catch"](0),e.needUpdate=!0,e.loading=!1,t.t0;case 14:case"end":return t.stop()}},t,null,[[0,9]])}))()},onClose:function(){this.$emit("close")}},watch:{show:function(e){e&&this.onShow()}}}},4283:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.cloudbase=void 0;var i=r(n(9367)),o=n(2566),a=r(n(2473)),s=n(3219),u=n(4319),c=n(1706),l=n(6153),d=n(3052),f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},f.apply(this,arguments)},p=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},h=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},m=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},g=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},v=o.adapters.useAdapters,_=o.adapters.useDefaultAdapter,y=o.adapters.RUNTIME,b=o.constants.ERRORS,k=o.constants.COMMUNITY_SITE_URL,w=o.utils.printWarn,E=o.helpers.catchErrorsDecorator,A={timeout:15e3,persistence:"local"},C=6e5,I={},x=function(){function e(e){this._config=e||this._config,this.authInstance=null}return Object.defineProperty(e.prototype,"config",{get:function(){return this._config},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"platform",{get:function(){return u.Platform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cache",{get:function(){return(0,c.getCacheByEnvId)(this._config.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localCache",{get:function(){return(0,c.getLocalCache)(this._config.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"request",{get:function(){return(0,l.getRequestByEnvId)(this._config.env)},enumerable:!1,configurable:!0}),e.prototype.init=function(t){if(!t.env)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"env must not be specified"}));if(u.Platform.adapter||this._useDefaultAdapter(),this.requestClient=new u.Platform.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"["+(0,d.getSdkName)()+"][REQUEST TIMEOUT] request had been abort since didn't finished within"+t.timeout/1e3+"s"}),u.Platform.runtime!==y.WEB){if(!t.appSecret)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"invalid appSecret"}));var n=u.Platform.adapter.getAppSign?u.Platform.adapter.getAppSign():"";if(t.appSign&&n&&t.appSign!==n)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"invalid appSign"}));if(n&&(t.appSign=n),!t.appSign)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"invalid appSign"}))}this._config=f(f({},A),t),this._config.timeout=this._formatTimeout(this._config.timeout);var r=this._config,i=r.env,o=r.persistence,a=r.debug,s=r.timeout,p=r.appSecret,h=r.appSign;(0,c.initCache)({env:i,persistence:o,debug:a,platformInfo:this.platform}),(0,l.initRequest)({env:i,region:t.region||"",timeout:s,appSecret:p,appSign:h}),t.region&&(0,d.setRegionLevelEndpoint)(i,t.region||"");var m=new e(this._config);return m.requestClient=this.requestClient,m},e.prototype.updateConfig=function(e){var t=e.persistence,n=e.debug;this._config.persistence=t,this._config.debug=n,(0,c.initCache)({env:this._config.env,persistence:t,debug:n,platformInfo:this.platform})},e.prototype.registerExtension=function(e){I[e.name]=e},e.prototype.invokeExtension=function(e,t){return m(this,void 0,void 0,function(){var n;return g(this,function(r){switch(r.label){case 0:if(!(n=I[e]))throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"extension:"+e+" must be registered before invoke"}));return[4,n.invoke(t,this)];case 1:return[2,r.sent()]}})})},e.prototype.useAdapters=function(e){var t=v(e)||{},n=t.adapter,r=t.runtime;n&&(u.Platform.adapter=n),r&&(u.Platform.runtime=r)},e.prototype.registerHook=function(t){(0,s.registerHook)(e,t)},e.prototype.registerComponent=function(t){(0,s.registerComponent)(e,t)},e.prototype.registerVersion=function(e){(0,d.setSdkVersion)(e)},e.prototype.registerSdkName=function(e){(0,d.setSdkName)(e)},e.prototype.registerEndPoint=function(e,t){(0,d.setEndPoint)(e,t)},e.prototype._useDefaultAdapter=function(){var e=_(),t=e.adapter,n=e.runtime;u.Platform.adapter=t,u.Platform.runtime=n},e.prototype._formatTimeout=function(e){switch(!0){case e>C:return w(b.INVALID_PARAMS,"timeout is greater than maximum value[10min]"),C;case e<100:return w(b.INVALID_PARAMS,"timeout is less than maximum value[100ms]"),100;default:return e}},p([E({mode:"sync",title:"Cloudbase 初始化失败",messages:["请确认以下各项:"," 1 - 调用 cloudbase.init() 的语法或参数是否正确"," 2 - 如果是非浏览器环境,是否配置了安全应用来源(https://docs.cloudbase.net/api-reference/webv2/adapter.html#jie-ru-liu-cheng)","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+k]}),h("design:type",Function),h("design:paramtypes",[Object]),h("design:returntype",e)],e.prototype,"init",null),p([E({title:"调用扩展能力失败",messages:["请确认以下各项:"," 1 - 调用 invokeExtension() 的语法或参数是否正确"," 2 - 被调用的扩展能力是否已经安装并通过 registerExtension() 注册","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+k]}),h("design:type",Function),h("design:paramtypes",[String,Object]),h("design:returntype",Promise)],e.prototype,"invokeExtension",null),e}(),S=t.cloudbase=new x;S.useAdapters(a["default"]),t["default"]=S},4296:function(){"use strict";!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document)if(Prism.plugins.toolbar){var e={none:"Plain text",plain:"Plain text",plaintext:"Plain text",text:"Plain text",txt:"Plain text",html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",rss:"RSS",css:"CSS",clike:"C-like",js:"JavaScript",abap:"ABAP",abnf:"ABNF",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",ino:"Arduino",arff:"ARFF",armasm:"ARM Assembly","arm-asm":"ARM Assembly",art:"Arturo",asciidoc:"AsciiDoc",adoc:"AsciiDoc",aspnet:"ASP.NET (C#)",asm6502:"6502 Assembly",asmatmel:"Atmel AVR Assembly",autohotkey:"AutoHotkey",autoit:"AutoIt",avisynth:"AviSynth",avs:"AviSynth","avro-idl":"Avro IDL",avdl:"Avro IDL",awk:"AWK",gawk:"GAWK",sh:"Shell",basic:"BASIC",bbcode:"BBcode",bbj:"BBj",bnf:"BNF",rbnf:"RBNF",bqn:"BQN",bsl:"BSL (1C:Enterprise)",oscript:"OneScript",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cfscript:"CFScript",cfc:"CFScript",cil:"CIL",cilkc:"Cilk/C","cilk-c":"Cilk/C",cilkcpp:"Cilk/C++","cilk-cpp":"Cilk/C++",cilk:"Cilk/C++",cmake:"CMake",cobol:"COBOL",coffee:"CoffeeScript",conc:"Concurnas",csp:"Content-Security-Policy","css-extras":"CSS Extras",csv:"CSV",cue:"CUE",dataweave:"DataWeave",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",dot:"DOT (Graphviz)",gv:"DOT (Graphviz)",ebnf:"EBNF",editorconfig:"EditorConfig",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",gap:"GAP (CAS)",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",gettext:"gettext",po:"gettext",glsl:"GLSL",gn:"GN",gni:"GN","linker-script":"GNU Linker Script",ld:"GNU Linker Script","go-module":"Go module","go-mod":"Go module",graphql:"GraphQL",hbs:"Handlebars",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam","icu-message-format":"ICU Message Format",idr:"Idris",ignore:".ignore",gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras",json:"JSON",webmanifest:"Web App Manifest",json5:"JSON5",jsonp:"JSONP",jsstacktrace:"JS stack trace","js-templates":"JS Templates",keepalived:"Keepalived Configure",kts:"Kotlin Script",kt:"Kotlin",kumir:"KuMir (КуМир)",kum:"KuMir (КуМир)",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",log:"Log file",lolcode:"LOLCODE",magma:"Magma (CAS)",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",maxscript:"MAXScript",mel:"MEL",metafont:"METAFONT",mongodb:"MongoDB",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",naniscript:"Naninovel Script",nani:"Naninovel Script",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",openqasm:"OpenQasm",qasm:"OpenQasm",parigp:"PARI/GP",objectpascal:"Object Pascal",psl:"PATROL Scripting Language",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras","plant-uml":"PlantUML",plantuml:"PlantUML",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",promql:"PromQL",properties:".properties",protobuf:"Protocol Buffers",purebasic:"PureBasic",pbfasm:"PureBasic",purs:"PureScript",py:"Python",qsharp:"Q#",qs:"Q#",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",cshtml:"Razor C#",razor:"Razor C#",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rpy:"Ren'py",res:"ReScript",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (SCSS)","shell-session":"Shell session","sh-session":"Shell session",shellsession:"Shell session",sml:"SML",smlnj:"SML/NJ",solidity:"Solidity (Ethereum)",sol:"Solidity (Ethereum)","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",stata:"Stata Ado",iecst:"Structured Text (IEC 61131-3)",supercollider:"SuperCollider",sclang:"SuperCollider",systemd:"Systemd configuration file","t4-templating":"T4 templating","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)",tap:"TAP",tt2:"Template Toolkit 2",toml:"TOML",trickle:"trickle",troy:"troy",trig:"TriG",ts:"TypeScript",tsconfig:"TSConfig",uscript:"UnrealScript",uc:"UnrealScript",uorazor:"UO Razor Script",uri:"URI",url:"URL",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vba:"VBA",vb:"Visual Basic",wasm:"WebAssembly","web-idl":"Web IDL",webidl:"Web IDL",wgsl:"WGSL",wiki:"Wiki markup",wolfram:"Wolfram language",nb:"Mathematica Notebook",wl:"Wolfram language",xeoracube:"XeoraCube","xml-doc":"XML doc (.net)",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML",yang:"YANG"};Prism.plugins.toolbar.registerButton("show-language",function(t){var n=t.element.parentNode;if(n&&/pre/i.test(n.nodeName)){var r,i=n.getAttribute("data-language")||e[t.language]||((r=t.language)?(r.substring(0,1).toUpperCase()+r.substring(1)).replace(/s(?=cript)/,"S"):r);if(i){var o=document.createElement("span");return o.textContent=i,o}}})}else console.warn("Show Languages plugin loaded before Toolbar plugin.")}()},4319:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Platform=void 0,t.Platform={}},4325:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousAuthProvider=void 0;var i,o=r(n(9367)),a=n(4522),s=n(2566),u=n(1235),c=n(3442),l=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},m=s.constants.ERRORS,g=s.constants.COMMUNITY_SITE_URL,v=s.utils.throwError,_=s.utils.isString,y=s.events.addEventListener,b=s.helpers.catchErrorsDecorator;t.AnonymousAuthProvider=function(e){function t(t){var n=e.call(this,t)||this;return n._onConverted=n._onConverted.bind(n),y(c.EVENTS.ANONYMOUS_CONVERTED,n._onConverted),n}return l(t,e),t.prototype.signIn=function(){return p(this,void 0,void 0,function(){var e,t,n,r,i,o,a;return h(this,function(s){switch(s.label){case 0:return[4,this._cache.updatePersistenceAsync("local")];case 1:return s.sent(),e=this._cache.keys,t=e.anonymousUuidKey,n=e.refreshTokenKey,[4,this._cache.getStoreAsync(t)];case 2:return r=s.sent(),[4,this._cache.getStoreAsync(n)];case 3:return i=s.sent(),[4,this._request.send("auth.signInAnonymously",{anonymous_uuid:r,refresh_token:i})];case 4:return(o=s.sent()).uuid&&o.refresh_token?[4,this._setAnonymousUUID(o.uuid)]:[3,10];case 5:return s.sent(),[4,this.setRefreshToken(o.refresh_token)];case 6:return s.sent(),[4,this._request.refreshAccessToken()];case 7:return s.sent(),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.ANONYMOUS,persistence:"local"}),c.eventBus.fire(c.EVENTS.LOGIN_STATE_CHANGED),[4,(a=new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()];case 8:return s.sent(),[4,a.user.refresh()];case 9:return s.sent(),[2,a];case 10:throw new Error(JSON.stringify({code:m.OPERATION_FAIL,msg:JSON.stringify(o)||"anonymous signIn failed"}))}})})},t.prototype.linkAndRetrieveDataWithTicket=function(e){return p(this,void 0,void 0,function(){var t,n,r,i,o,a,s;return h(this,function(l){switch(l.label){case 0:return _(e)||v(m.INVALID_PARAMS,"ticket must be a string"),t=this._cache.keys,n=t.anonymousUuidKey,r=t.refreshTokenKey,[4,this._cache.getStoreAsync(n)];case 1:return i=l.sent(),[4,this._cache.getStoreAsync(r)];case 2:return o=l.sent(),[4,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:o,ticket:e})];case 3:return(a=l.sent()).refresh_token?[4,this._clearAnonymousUUID()]:[3,8];case 4:return l.sent(),[4,this.setRefreshToken(a.refresh_token)];case 5:return l.sent(),[4,this._request.refreshAccessToken()];case 6:return l.sent(),c.eventBus.fire(c.EVENTS.ANONYMOUS_CONVERTED,{env:this._config.env}),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{loginType:u.LOGINTYPE.CUSTOM,persistence:"local"}),[4,(s=new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()];case 7:return l.sent(),[2,s];case 8:v(m.OPERATION_FAIL,JSON.stringify(a)||"linkAndRetrieveDataWithTicket failed"),l.label=9;case 9:return[2]}})})},t.prototype._setAnonymousUUID=function(e){return p(this,void 0,void 0,function(){var t,n,r;return h(this,function(i){switch(i.label){case 0:return t=this._cache.keys,n=t.anonymousUuidKey,r=t.loginTypeKey,[4,this._cache.removeStoreAsync(n)];case 1:return i.sent(),[4,this._cache.setStoreAsync(n,e)];case 2:return i.sent(),[4,this._cache.setStoreAsync(r,u.LOGINTYPE.ANONYMOUS)];case 3:return i.sent(),[2]}})})},t.prototype._clearAnonymousUUID=function(){return p(this,void 0,void 0,function(){return h(this,function(e){switch(e.label){case 0:return[4,this._cache.removeStoreAsync(this._cache.keys.anonymousUuidKey)];case 1:return e.sent(),[2]}})})},t.prototype._onConverted=function(e){return p(this,void 0,void 0,function(){return h(this,function(t){switch(t.label){case 0:return e.data.env!==this._config.env?[2]:[4,this._cache.updatePersistenceAsync(this._config.persistence)];case 1:return t.sent(),[2]}})})},d([b({title:"匿名登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了匿名登录"," 2 - 调用 auth().anonymouseProvider().signIn() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+g]}),f("design:type",Function),f("design:paramtypes",[]),f("design:returntype",Promise)],t.prototype,"signIn",null),t}(a.AuthProvider)},4333:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=r(n(504)),s=r(n(9966)),u=r(n(4478)),c=n(8129),l=n(1085),d=r(n(9629)),f=r(n(2107));t.A={components:{TkSubmit:f["default"],TkComment:d["default"]},props:{showAdminEntry:Boolean},data:function(){return{loading:!0,loadingMore:!1,errorMessage:"",config:{},comments:[],showExpand:!0,count:0,replyId:"",currentSort:"newest",iconSetting:a["default"],iconRefresh:s["default"]}},methods:{t:c.t,initConfig:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.call)(e.$tcb,"GET_CONFIG");case 2:(n=t.sent)&&n.result&&n.result.config&&(e.config=n.result.config,u["default"].prototype.$twikoo.serverConfig=n.result.config);case 4:case"end":return t.stop()}},t)}))()},initComments:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,n=(0,c.getUrl)(e.$twikoo.path),t.next=4,e.getComments({url:n,sort:e.currentSort});case 4:e.loading=!1;case 5:case"end":return t.stop()}},t)}))()},refresh:function(){this.comments=[],this.initComments()},setSort:function(e){this.currentSort!==e&&(this.currentSort=e,this.comments=[],this.initComments())},onExpand:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n,r;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.loadingMore){t.next=2;break}return t.abrupt("return");case 2:return e.loadingMore=!0,n=(0,c.getUrl)(e.$twikoo.path),r=e.comments.filter(function(e){return!e.top}).map(function(e){return e.created}).sort(function(e,t){return e-t})[0],t.next=7,e.getComments({url:n,before:r,sort:e.currentSort});case 7:e.loadingMore=!1;case 8:case"end":return t.stop()}},t)}))()},onCommentLoaded:function(){"function"==typeof this.$twikoo.onCommentLoaded&&this.$twikoo.onCommentLoaded()},getComments:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){var r;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,c.call)(t.$tcb,"COMMENT_GET",e);case 3:(r=n.sent)&&r.result&&r.result.data&&(t.comments=e.before?t.comments.concat(r.result.data):r.result.data,t.showExpand=r.result.more,t.count=r.result.count||t.comments.length||0,t.$nextTick(t.onCommentLoaded)),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](0),t.errorMessage=n.t0.message;case 10:case"end":return n.stop()}},n,null,[[0,7]])}))()},onReply:function(e){this.replyId=e},openAdmin:function(){this.$emit("admin")}},mounted:function(){this.initConfig(),this.initComments(),l.app.$on("configUpdated",this.initConfig)}}},4394:function(){},4478:function(e,t,n){"use strict";e.exports=n(6615)},4486:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,{A:function(){return r}})},4511:function(e,t,n){"use strict";var r=n(477)(n(9367));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=73)}({0:function(e,t,n){function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},13:function(e,t){e.exports=n(9668)},2:function(e,t){e.exports=n(2865)},42:function(e,t){e.exports=n(3725)},7:function(e,t){e.exports=n(4478)},73:function(e,t,n){n.r(t);var r=n(7),i=n.n(r),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask","class":[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[n("div",{staticClass:"el-loading-spinner"},[e.spinner?n("i",{"class":e.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?n("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])};o._withStripped=!0;var a={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}},s=n(0),u=Object(s.a)(a,o,[],!1,null,null,null);u.options.__file="packages/loading/src/loading.vue";var c=u.exports,l=n(2),d=n(13),f=n(42),p=n.n(f),h=i.a.extend(c),m={install:function(e){if(!e.prototype.$isServer){var t=function(t,r){r.value?e.nextTick(function(){r.modifiers.fullscreen?(t.originalPosition=Object(l.getStyle)(document.body,"position"),t.originalOverflow=Object(l.getStyle)(document.body,"overflow"),t.maskStyle.zIndex=d.PopupManager.nextZIndex(),Object(l.addClass)(t.mask,"is-fullscreen"),n(document.body,t,r)):(Object(l.removeClass)(t.mask,"is-fullscreen"),r.modifiers.body?(t.originalPosition=Object(l.getStyle)(document.body,"position"),["top","left"].forEach(function(e){var n="top"===e?"scrollTop":"scrollLeft";t.maskStyle[e]=t.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]-parseInt(Object(l.getStyle)(document.body,"margin-"+e),10)+"px"}),["height","width"].forEach(function(e){t.maskStyle[e]=t.getBoundingClientRect()[e]+"px"}),n(document.body,t,r)):(t.originalPosition=Object(l.getStyle)(t,"position"),n(t,t,r)))}):(p()(t.instance,function(e){if(t.instance.hiding){t.domVisible=!1;var n=r.modifiers.fullscreen||r.modifiers.body?document.body:t;Object(l.removeClass)(n,"el-loading-parent--relative"),Object(l.removeClass)(n,"el-loading-parent--hidden"),t.instance.hiding=!1}},300,!0),t.instance.visible=!1,t.instance.hiding=!0)},n=function(t,n,r){n.domVisible||"none"===Object(l.getStyle)(n,"display")||"hidden"===Object(l.getStyle)(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach(function(e){n.mask.style[e]=n.maskStyle[e]}),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object(l.addClass)(t,"el-loading-parent--relative"),r.modifiers.fullscreen&&r.modifiers.lock&&Object(l.addClass)(t,"el-loading-parent--hidden"),n.domVisible=!0,t.appendChild(n.mask),e.nextTick(function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0}),n.domInserted=!0)};e.directive("loading",{bind:function(e,n,r){var i=e.getAttribute("element-loading-text"),o=e.getAttribute("element-loading-spinner"),a=e.getAttribute("element-loading-background"),s=e.getAttribute("element-loading-custom-class"),u=r.context,c=new h({el:document.createElement("div"),data:{text:u&&u[i]||i,spinner:u&&u[o]||o,background:u&&u[a]||a,customClass:u&&u[s]||s,fullscreen:!!n.modifiers.fullscreen}});e.instance=c,e.mask=c.$el,e.maskStyle={},n.value&&t(e,n)},update:function(e,n){e.instance.setText(e.getAttribute("element-loading-text")),n.oldValue!==n.value&&t(e,n)},unbind:function(e,n){e.domInserted&&(e.mask&&e.mask.parentNode&&e.mask.parentNode.removeChild(e.mask),t(e,{value:!1,modifiers:n.modifiers})),e.instance&&e.instance.$destroy()}})}}},g=m,v=n(9),_=n.n(v),y=i.a.extend(c),b={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},k=void 0;y.prototype.originalPosition="",y.prototype.originalOverflow="",y.prototype.close=function(){var e=this;this.fullscreen&&(k=undefined),p()(this,function(t){var n=e.fullscreen||e.body?document.body:e.target;Object(l.removeClass)(n,"el-loading-parent--relative"),Object(l.removeClass)(n,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()},300),this.visible=!1};var w=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(!i.a.prototype.$isServer){if("string"==typeof(e=_()({},b,e)).target&&(e.target=document.querySelector(e.target)),e.target=e.target||document.body,e.target!==document.body?e.fullscreen=!1:e.body=!0,e.fullscreen&&k)return k;var t=e.body?document.body:e.target,n=new y({el:document.createElement("div"),data:e});return function(e,t,n){var r={};e.fullscreen?(n.originalPosition=Object(l.getStyle)(document.body,"position"),n.originalOverflow=Object(l.getStyle)(document.body,"overflow"),r.zIndex=d.PopupManager.nextZIndex()):e.body?(n.originalPosition=Object(l.getStyle)(document.body,"position"),["top","left"].forEach(function(t){var n="top"===t?"scrollTop":"scrollLeft";r[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]+"px"}),["height","width"].forEach(function(t){r[t]=e.target.getBoundingClientRect()[t]+"px"})):n.originalPosition=Object(l.getStyle)(t,"position"),Object.keys(r).forEach(function(e){n.$el.style[e]=r[e]})}(e,t,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object(l.addClass)(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object(l.addClass)(t,"el-loading-parent--hidden"),t.appendChild(n.$el),i.a.nextTick(function(){n.visible=!0}),e.fullscreen&&(k=n),n}};t["default"]={install:function(e){e.use(g),e.prototype.$loading=w},directive:g,service:w}},9:function(e,t){e.exports=n(8589)}})},4522:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthProvider=void 0;var r=n(3442),i=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};t.AuthProvider=function(){function e(e){this._config=e,this._cache=e.cache,this._request=e.request}return e.prototype.checkLocalLoginState=function(){return i(this,void 0,void 0,function(){var e,t,n,i,a,s;return o(this,function(o){switch(o.label){case 0:return e=this._cache.keys,t=e.accessTokenKey,n=e.accessTokenExpireKey,[4,this._cache.getStoreAsync(t)];case 1:return i=o.sent(),[4,this._cache.getStoreAsync(n)];case 2:return a=o.sent(),i?a&&a>Date.now()?[4,(s=new r.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()]:[3,4]:[3,7];case 3:return o.sent(),[2,s];case 4:return[4,this._cache.removeStoreAsync(t)];case 5:return o.sent(),[4,this._cache.removeStoreAsync(n)];case 6:o.sent(),o.label=7;case 7:return[2]}})})},e.prototype.setRefreshToken=function(e){return i(this,void 0,void 0,function(){var t,n,r,i;return o(this,function(o){switch(o.label){case 0:return t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,[4,this._cache.removeStoreAsync(n)];case 1:return o.sent(),[4,this._cache.removeStoreAsync(r)];case 2:return o.sent(),[4,this._cache.setStoreAsync(i,e)];case 3:return o.sent(),[2]}})})},e.prototype.setAccessToken=function(e,t){return i(this,void 0,void 0,function(){var n,r,i;return o(this,function(o){switch(o.label){case 0:return n=this._cache.keys,r=n.accessTokenKey,i=n.accessTokenExpireKey,[4,this._cache.setStoreAsync(r,e)];case 1:return o.sent(),[4,this._cache.setStoreAsync(i,t)];case 2:return o.sent(),[2]}})})},e.prototype.refreshUserInfo=function(){return i(this,void 0,void 0,function(){var e;return o(this,function(t){switch(t.label){case 0:return[4,this._request.send("auth.getUserInfo",{})];case 1:return e=t.sent().data,[4,this.setLocalUserInfo(e)];case 2:return t.sent(),[2,e]}})})},e.prototype.setLocalUserInfo=function(e){return i(this,void 0,void 0,function(){var t;return o(this,function(n){switch(n.label){case 0:return t=this._cache.keys.userInfoKey,[4,this._cache.setStoreAsync(t,e)];case 1:return n.sent(),[2]}})})},e}()},4524:function(e,t){"use strict";t.__esModule=!0,t.isDef=function(e){return e!==undefined&&null!==e},t.isKorean=function(e){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e)}},4555:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=n(1085),s=n(8129),u=n(2199),c=r(n(4785)),l=r(n(6431)),d=r(n(9671));t.A={components:{TkAvatar:c["default"],TkPagination:l["default"]},data:function(){return{loading:!0,comments:[],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:u.version,count:0,pageSize:5,currentPage:1,filter:{keyword:"",type:""},securityAlert:null,iconClose:d["default"]}},methods:{t:s.t,displayCreated:function(e){return(0,s.timeago)(e.created)},convertLink:function(e){return(0,s.convertLink)(e)},getComments:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,(0,s.call)(e.$tcb,"COMMENT_GET_FOR_ADMIN",{per:e.pageSize,page:e.currentPage,keyword:e.filter.keyword,type:e.filter.type});case 3:(n=t.sent).result&&!n.result.code&&(e.count=n.result.count,e.comments=n.result.data),e.$nextTick(function(){(0,s.renderLinks)(e.$refs.comments),(0,s.renderMath)(e.$refs["comment-list"],e.$twikoo.katex),e.highlightCode()}),e.loading=!1;case 7:case"end":return t.stop()}},t)}))()},getConfig:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,s.call)(e.$tcb,"GET_CONFIG_FOR_ADMIN");case 2:(n=t.sent).result&&!n.result.code&&(e.serverConfig=n.result.config,e.checkConfig());case 4:case"end":return t.stop()}},t)}))()},checkConfig:function(){var e=this;this.serverConfig.HIGHLIGHT||(this.serverConfig.HIGHLIGHT="true");var t={},n=localStorage.getItem("twikoo");n&&(t=JSON.parse(n)),["nick","mail","avatar"].forEach(function(n){t[n]?e.serverConfig[n]=t[n]:e.serverConfig[n]=""}),!t.nick&&this.serverConfig.BLOGGER_NICK&&(t.nick=this.serverConfig.BLOGGER_NICK),!t.mail&&this.serverConfig.BLOGGER_EMAIL&&(t.mail=this.serverConfig.BLOGGER_EMAIL),!t.link&&this.serverConfig.SITE_URL&&(t.link=this.serverConfig.SITE_URL),localStorage.setItem("twikoo",JSON.stringify(t)),a.app.$emit("initMeta")},onPageSizeChange:function(e){this.pageSize=e,this.getComments()},switchPage:function(e){this.currentPage=e,this.getComments()},handleView:function(e){var t="".concat(e.url,"#").concat(e._id);try{if(new URL(t).hostname!==window.location.hostname)return void(this.securityAlert={commentId:e._id,message:(0,s.t)("ADMIN_COMMENT_SECURITY_ALERT"),url:t});window.open(t)}catch(n){try{new URL(t,window.location.origin),window.open(t)}catch(r){this.securityAlert={commentId:e._id,message:(0,s.t)("ADMIN_COMMENT_PARSE_ERROR"),url:e.url}}}},handleDelete:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(confirm((0,s.t)("ADMIN_COMMENT_DELETE_CONFIRM"))){n.next=2;break}return n.abrupt("return");case 2:return t.loading=!0,n.next=5,(0,s.call)(t.$tcb,"COMMENT_DELETE_FOR_ADMIN",{id:e._id});case 5:return n.next=7,t.getComments();case 7:t.loading=!1;case 8:case"end":return n.stop()}},n)}))()},handleSpam:function(e,t){this.setComment(e,{isSpam:t})},handleTop:function(e,t){this.setComment(e,{top:t})},setComment:function(e,t){var n=this;return(0,o["default"])(i["default"].mark(function r(){return i["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n.loading=!0,r.next=3,(0,s.call)(n.$tcb,"COMMENT_SET_FOR_ADMIN",{id:e._id,set:t});case 3:return r.next=5,n.getComments();case 5:n.loading=!1;case 6:case"end":return r.stop()}},r)}))()},highlightCode:function(){"true"===this.serverConfig.HIGHLIGHT&&(0,s.renderCode)(this.$refs["comment-list"],this.serverConfig.HIGHLIGHT_THEME,this.serverConfig.HIGHLIGHT_PLUGIN)}},mounted:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.getConfig(),e.getComments()]);case 2:e.highlightCode();case 3:case"end":return t.stop()}},t)}))()}}},4591:function(e,t,n){var r=n(7400);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("08630572",r,!0,{})},4624:function(e,t,n){var r=n(269);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("5a1fa943",r,!0,{})},4707:function(e,t,n){var r=n(6810);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("8be46386",r,!0,{})},4769:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERRORS=void 0,t.ERRORS={INVALID_PARAMS:"INVALID_PARAMS",INVALID_SYNTAX:"INVALID_SYNTAX",INVALID_OPERATION:"INVALID_OPERATION",OPERATION_FAIL:"OPERATION_FAIL",NETWORK_ERROR:"NETWORK_ERROR",UNKOWN_ERROR:"UNKOWN_ERROR"}},4785:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(5897),i=n(4064),o=i.A,a=(n(4624),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},4794:function(e,t,n){"use strict";var r,i,o,a,s=n(477)(n(9367));a=function(){var e=e||function(e){var t=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),n={},r=n.lib={},i=r.Base={extend:function(e){var n=t(this);return e&&n.mixIn(e),n.hasOwnProperty("init")&&this.init!==n.init||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},o=r.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||s).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],i=function(t){var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},a=0;a<t;a+=4){var s=i(4294967296*(n||e.random()));n=987654071*s(),r.push(4294967296*s()|0)}return new o.init(r,t)}}),a=n.enc={},s=a.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new o.init(n,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new o.init(n,t)}},c=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},l=r.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*u,i);if(u){for(var l=0;l<u;l+=a)this._doProcessBlock(r,l);var d=r.splice(0,u);n.sigBytes-=c}return new o.init(d,c)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),d=(r.Hasher=l.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new d.HMAC.init(e,n).finalize(t)}}}),n.algo={});return n}(Math);return e},"object"===(0,s["default"])(t)?e.exports=t=a():(i=[],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},4805:function(e){"use strict";e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,i=e}finally{try{if(!u&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(c)throw i}}return s}},e.exports.__esModule=!0,e.exports["default"]=e.exports},4868:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=n(8129),s=n(2199),u=n(1085);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.A={data:function(){return{loading:!0,settings:[{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_COMMON"),items:[{key:"SITE_NAME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SITE_NAME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站"),value:""},{key:"SITE_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SITE_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://www.imaegoo.com"),value:""},{key:"CORS_ALLOW_ORIGIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_CORS_ALLOW_ORIGIN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://www.imaegoo.com"),value:""},{key:"BLOGGER_NICK",desc:(0,a.t)("ADMIN_CONFIG_ITEM_BLOGGER_NICK"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"iMaeGoo"),value:""},{key:"BLOGGER_EMAIL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_BLOGGER_EMAIL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"12345@qq.com"),value:""},{key:"COMMENT_PAGE_SIZE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_PAGE_SIZE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"8"),value:""},{key:"MASTER_TAG",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MASTER_TAG"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"站长"),value:""},{key:"COMMENT_BG_IMG",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_BG_IMG"),ph:"",value:""},{key:"GRAVATAR_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_GRAVATAR_CDN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"sdn.geekzu.org"),value:""},{key:"DEFAULT_GRAVATAR",desc:(0,a.t)("ADMIN_CONFIG_ITEM_DEFAULT_GRAVATAR"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"mp"),value:""},{key:"COMMENT_PLACEHOLDER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_PLACEHOLDER"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE")),value:""},{key:"SHOW_ORDER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_ORDER"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""},{key:"SHOW_DISLIKE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_DISLIKE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""},{key:"DISPLAYED_FIELDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_DISPLAYED_FIELDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"nick,mail,link"),value:""},{key:"REQUIRED_FIELDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_REQUIRED_FIELDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"nick,mail,link"),value:""},{key:"HIDE_ADMIN_CRYPT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIDE_ADMIN_CRYPT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"admin"),value:""},{key:"QQ_API_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QQ_API_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"your_api_key"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_PLUGIN"),items:[{key:"IMAGE_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN"),options:[{value:"",label:(0,a.t)("ADMIN_CONFIG_IMAGE_CDN_NONE")},{value:"qcloud",label:"qcloud"},{value:"7bu",label:"7bu (https://7bu.top)"},{value:"see",label:"see (https://s.ee)"},{value:"lskypro",label:"lskypro"},{value:"piclist",label:"piclist"},{value:"easyimage",label:"easyimage"},{value:"chevereto",label:"chevereto"},{value:"s3",label:"S3 / R2 / MinIO"}],value:""},{key:"IMAGE_CDN_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://piclist.example.com"),value:"",showIf:function(e){return["lskypro","piclist","easyimage"].includes(e("IMAGE_CDN"))}},{key:"IMAGE_CDN_TOKEN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN_TOKEN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"example"),value:"",showIf:function(e){return e("IMAGE_CDN")&&"s3"!==e("IMAGE_CDN")}},{key:"S3_REGION",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_REGION"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"us-east-1"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_BUCKET",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_BUCKET"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"my-bucket"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_ACCESS_KEY_ID",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_ACCESS_KEY_ID"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"AKIAIOSFODNN7EXAMPLE"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_SECRET_ACCESS_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_SECRET_ACCESS_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"),value:"",secret:!0,showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_ENDPOINT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_ENDPOINT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://xxx.r2.cloudflarestorage.com"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_CDN_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_CDN_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://cdn.example.com"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_PATH_PREFIX",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_PATH_PREFIX"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"images/twikoo"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"NSFW_API_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_NSFW_API_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://nsfw.example.com"),value:""},{key:"NSFW_THRESHOLD",desc:(0,a.t)("ADMIN_CONFIG_ITEM_NSFW_THRESHOLD"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"0.5"),value:""},{key:"SHOW_EMOTION",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_EMOTION"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"EMOTION_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_EMOTION_CDN"),ph:"",value:""},{key:"HIGHLIGHT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"HIGHLIGHT_THEME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_THEME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"tomorrow"),value:""},{key:"HIGHLIGHT_PLUGIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_PLUGIN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"showLanguage"),value:""},{key:"LIGHTBOX",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIGHTBOX"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_PRIVACY"),items:[{key:"SHOW_UA",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_UA"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"SHOW_REGION",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_REGION"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_SPAM"),items:[{key:"AKISMET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_AKISMET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"8651783edxxx"),value:""},{key:"QCLOUD_SECRET_ID",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_ID"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"AKI******************************IHw"),value:""},{key:"QCLOUD_SECRET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"Xrk**************************3D7"),value:"",secret:!0},{key:"QCLOUD_CMS_BIZTYPE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QCLOUD_CMS_BIZTYPE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"1787728329856520192"),value:""},{key:"LIMIT_PER_MINUTE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"5"),value:""},{key:"LIMIT_PER_MINUTE_ALL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE_ALL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"5"),value:""},{key:"LIMIT_LENGTH",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIMIT_LENGTH"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"100"),value:""},{key:"FORBIDDEN_WORDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_FORBIDDEN_WORDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"快递,空包"),value:""},{key:"BLOCKED_WORDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_BLOCKED_WORDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"快递,空包"),value:""},{key:"NOTIFY_SPAM",desc:(0,a.t)("ADMIN_CONFIG_ITEM_NOTIFY_SPAM"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_CAPTCHA"),items:[{key:"CAPTCHA_PROVIDER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_CAPTCHA_PROVIDER"),options:[{value:"",label:(0,a.t)("ADMIN_CONFIG_CAPTCHA_NONE")},{value:"Turnstile",label:(0,a.t)("ADMIN_CONFIG_CAPTCHA_TURNSTILE")},{value:"Geetest",label:(0,a.t)("ADMIN_CONFIG_CAPTCHA_GEETEST")},{value:"Cap",label:(0,a.t)("ADMIN_CONFIG_CAPTCHA_CAP")}],value:""},{key:"TURNSTILE_SITE_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_TURNSTILE_SITE_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"0x4AAAAAAAPLTtpBr_T12345"),value:"",showIf:function(e){return"Turnstile"===e("CAPTCHA_PROVIDER")}},{key:"TURNSTILE_SECRET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_TURNSTILE_SECRET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"0x4AAAAAAAPLTmBm6gHmOnOqC1iwmU12345"),value:"",secret:!0,showIf:function(e){return"Turnstile"===e("CAPTCHA_PROVIDER")}},{key:"GEETEST_CAPTCHA_ID",desc:(0,a.t)("ADMIN_CONFIG_ITEM_GEETEST_CAPTCHA_ID"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"your_captcha_id"),value:"",showIf:function(e){return"Geetest"===e("CAPTCHA_PROVIDER")}},{key:"GEETEST_CAPTCHA_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_GEETEST_CAPTCHA_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"your_captcha_key"),value:"",secret:!0,showIf:function(e){return"Geetest"===e("CAPTCHA_PROVIDER")}},{key:"CAP_API_ENDPOINT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_CAP_API_ENDPOINT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://cap.example.com/d9256640cb53/"),value:"",showIf:function(e){return"Cap"===e("CAPTCHA_PROVIDER")}},{key:"CAP_SECRET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_CAP_SECRET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"your_cap_secret_key"),value:"",secret:!0,showIf:function(e){return"Cap"===e("CAPTCHA_PROVIDER")}}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_IM"),items:[{key:"PUSHOO_CHANNEL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_PUSHOO_CHANNEL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"pushdeer"),value:""},{key:"PUSHOO_TOKEN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_PUSHOO_TOKEN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"PDU431TfFHZICvR6lJrFBswSRN1cJ*****zzFvR"),value:""},{key:"SC_MAIL_NOTIFY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SC_MAIL_NOTIFY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_MAIL"),items:[{key:"SENDER_EMAIL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SENDER_EMAIL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"blog@imaegoo.com"),value:""},{key:"SENDER_NAME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SENDER_NAME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站评论提醒"),value:""},{key:"SMTP_SERVICE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_SERVICE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"QQ"),value:""},{key:"SMTP_HOST",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_HOST"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"smtp.qq.com"),value:""},{key:"SMTP_PORT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_PORT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"465"),value:""},{key:"SMTP_SECURE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_SECURE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""},{key:"SMTP_USER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_USER"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"blog@imaegoo.com"),value:""},{key:"SMTP_PASS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_PASS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"password"),value:"",secret:!0},{key:"MAIL_SUBJECT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"您在虹墨空间站上的评论收到了回复"),value:""},{key:"MAIL_TEMPLATE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE"),ph:"",value:""},{key:"MAIL_SUBJECT_ADMIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT_ADMIN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站上有新评论了"),value:""},{key:"MAIL_TEMPLATE_ADMIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE_ADMIN"),ph:"",value:""}]}],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:s.version,message:"",emailTestAddress:"",emailTestResult:""}},methods:{t:a.t,readConfig:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,(0,a.call)(e.$tcb,"GET_CONFIG_FOR_ADMIN");case 3:(n=t.sent).result&&!n.result.code&&(e.serverConfig=n.result.config,"undefined"==typeof e.serverConfig.CAPTCHA_PROVIDER&&(e.serverConfig.TURNSTILE_SITE_KEY?e.serverConfig.CAPTCHA_PROVIDER="Turnstile":e.serverConfig.GEETEST_CAPTCHA_ID&&(e.serverConfig.CAPTCHA_PROVIDER="Geetest")),"undefined"==typeof e.serverConfig.IMAGE_CDN&&(e.serverConfig.SHOW_IMAGE,e.serverConfig.IMAGE_CDN=""),e.resetConfig()),e.loading=!1;case 6:case"end":return t.stop()}},t)}))()},resetConfig:function(){var e,t=c(this.settings);try{for(t.s();!(e=t.n()).done;){var n,r=c(e.value.items);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.serverConfig[i.key]!==undefined?i.value=this.serverConfig[i.key]:i.value=""}}catch(o){r.e(o)}finally{r.f()}}}catch(o){t.e(o)}finally{t.f()}},showSetting:function(e){var t=this;return"function"!=typeof e.showIf||e.showIf(function(e){var n,r=c(t.settings);try{for(r.s();!(n=r.n()).done;){var i=n.value.items.find(function(t){return t.key===e});if(i)return i.value}}catch(o){r.e(o)}finally{r.f()}return null})},saveConfig:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n,r,o,s,l,d,f,p,h;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.loading=!0,e.message="正在保存",n={},r=c(e.settings);try{for(r.s();!(o=r.n()).done;){s=o.value,l=c(s.items);try{for(l.s();!(d=l.n()).done;)f=d.value,p=e.serverConfig[f.key],h=f.value,p!==h&&(n[f.key]=f.value)}catch(i){l.e(i)}finally{l.f()}}}catch(i){r.e(i)}finally{r.f()}return n.IMAGE_CDN!==undefined&&(n.SHOW_IMAGE=n.IMAGE_CDN?"true":"false"),a.logger.log("保存配置",n),t.next=9,(0,a.call)(e.$tcb,"SET_CONFIG",{config:n});case 9:return t.next=11,e.readConfig();case 11:u.app.$emit("configUpdated"),e.message="保存成功",e.loading=!1;case 14:case"end":return t.stop()}},t)}))()},testEmail:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,(0,a.call)(e.$tcb,"EMAIL_TEST",{mail:e.emailTestAddress});case 3:n=t.sent,a.logger.log("邮件测试",n),e.emailTestResult=JSON.stringify(n),e.loading=!1;case 7:case"end":return t.stop()}},t)}))()}},mounted:function(){this.readConfig()}}},4964:function(e){"use strict";function t(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise(function(i,o){var a=e.apply(n,r);function s(e){t(a,i,o,s,u,"next",e)}function u(e){t(a,i,o,s,u,"throw",e)}s(undefined)})}},e.exports.__esModule=!0,e.exports["default"]=e.exports},5062:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(489),i=n(2362),o=i.A,a=(n(9368),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},5083:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(5547),i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,u=0,c=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,i){c=n,d=i||{};var a=(0,r.A)(e,t);return m(a),function(t){for(var n=[],i=0;i<a.length;i++){var s=a[i];(u=o[s.id]).refs--,n.push(u)}for(t?m(a=(0,r.A)(e,t)):a=[],i=0;i<n.length;i++){var u;if(0===(u=n[i]).refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete o[u.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(v(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function v(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(c)return l;r.parentNode.removeChild(r)}if(p){var i=u++;r=s||(s=g()),t=b.bind(null,r,i,!1),n=b.bind(null,r,i,!0)}else r=g(),t=k.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var _,y=(_=[],function(e,t){return _[e]=t,_.filter(Boolean).join("\n")});function b(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function k(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},5171:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v276a6 6 0 0 1-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z"></path></svg>'},5293:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.registerFunctions=function(e){try{e.registerComponent(v)}catch(t){console.warn(t)}};var i=r(n(9367)),o=n(2566),a=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},s=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},l=o.constants.getSdkName,d=o.constants.ERRORS,f=o.constants.COMMUNITY_SITE_URL,p=o.utils.execCallback,h=o.helpers.catchErrorsDecorator,m="functions",g=new(function(){function e(){}return e.prototype.callFunction=function(e,t){return u(this,void 0,void 0,function(){var n,r,i,o,a,s,u,f,h,g,v,_;return c(this,function(c){switch(c.label){case 0:if(n=e.name,r=e.data,i=e.query,o=e.parse,a=e.search,!n)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+m+".callFunction] invalid function name"}));try{s=r?JSON.stringify(r):""}catch(y){throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+m+".callFunction] invalid data"}))}u="functions.invokeFunction",f={inQuery:i,parse:o,search:a,function_name:n,request_data:s},h=this.request,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,h.send(u,f)];case 2:if((g=c.sent()).code)return[2,p(t,null,g)];if(v=g.data.response_data,o)return[2,p(t,null,{result:v,requestId:g.requestId})];try{return v=JSON.parse(g.data.response_data),[2,p(t,null,{result:v,requestId:g.requestId})]}catch(y){p(t,new Error("["+l()+"]["+d.INVALID_PARAMS+"]["+m+".callFunction] response data must be json"))}return[3,4];case 3:return _=c.sent(),p(t,_),[3,4];case 4:return[2]}})})},a([h({customInfo:{className:"Cloudbase",methodName:"callFunction"},title:"函数调用失败",messages:["请确认以下各项:"," 1 - 调用 callFunction() 的语法或参数是否正确"," 2 - 当前环境下是否存在此函数"," 3 - 函数安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"callFunction",null),e}()),v={name:m,entity:{callFunction:g.callFunction}};try{cloudbase.registerComponent(v)}catch(_){}},5315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVENTS=void 0,t.EVENTS={LOGIN_STATE_CHANGED:"loginStateChanged",LOGIN_STATE_EXPIRED:"loginStateExpire",LOGIN_TYPE_CHANGED:"loginTypeChanged",ANONYMOUS_CONVERTED:"anonymousConverted",ACCESS_TOKEN_REFRESHD:"refreshAccessToken"}},5327:function(e,t,n){var r=n(2838);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("0bb4e246",r,!0,{})},5346:function(e){"use strict";e.exports=function(e){return e[1]}},5417:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerStorage=void 0;var r=n(9549);t.registerStorage=r.registerStorage},5472:function(){"use strict";!function(){function e(e,n){e.addEventListener("click",function(){!function(e){navigator.clipboard?navigator.clipboard.writeText(e.getText()).then(e.success,function(){t(e)}):t(e)}(n)})}function t(e){var t=document.createElement("textarea");t.value=e.getText(),t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{var n=document.execCommand("copy");setTimeout(function(){n?e.success():e.error()},1)}catch(r){setTimeout(function(){e.error(r)},1)}document.body.removeChild(t)}"undefined"!=typeof Prism&&"undefined"!=typeof document&&(Prism.plugins.toolbar?Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(t){var n=t.element,r=function(e){var t={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3};for(var n in t){for(var r="data-prismjs-"+n,i=e;i&&!i.hasAttribute(r);)i=i.parentElement;i&&(t[n]=i.getAttribute(r))}return t}(n),i=document.createElement("button");i.className="copy-to-clipboard-button",i.setAttribute("type","button");var o=document.createElement("span");return i.appendChild(o),s("copy"),e(i,{getText:function(){return n.textContent},success:function(){s("copy-success"),a()},error:function(){s("copy-error"),setTimeout(function(){!function(e){window.getSelection().selectAllChildren(e)}(n)},1),a()}}),i;function a(){setTimeout(function(){s("copy")},r["copy-timeout"])}function s(e){o.textContent=r[e],i.setAttribute("data-copy-state",e)}}):console.warn("Copy to Clipboard plugin loaded before Toolbar plugin."))}()},5547:function(e,t){"use strict";t.A=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}},5707:function(e){"use strict";e.exports=JSON.parse('{"name":"@cloudbase/js-sdk","version":"1.7.2","description":"cloudbase javascript sdk","main":"dist/index.cjs.js","module":"dist/index.esm.js","miniprogram":"miniprogram_dist","typings":"./index.d.ts","scripts":{"lint":"eslint --fix \\"./src/**/*.ts\\" \\"./database/**/*.ts\\"","build":"rm -rf dist/ && gulp build","build:cdn":"gulp cdn","build:miniapp":"gulp miniapp","build:e2e":"rm -rf dist/ && NODE_ENV=e2e gulp e2e"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/TencentCloudBase/cloudbase-js-sdk"},"keywords":["tcb","cloudbase","Cloudbase","serverless","Serverless","javascript","JavaScript"],"files":["miniprogram_dist","**/dist/","/index.d.ts","**/package.json"],"components":["app","auth","database","functions","storage"],"author":"","license":"ISC","dependencies":{"@cloudbase/analytics":"^1.1.1-alpha.0","@cloudbase/app":"^1.4.1","@cloudbase/auth":"^1.6.1","@cloudbase/database":"0.9.18-next","@cloudbase/functions":"^1.3.4","@cloudbase/realtime":"^1.1.4-alpha.0","@cloudbase/storage":"^1.3.4","@cloudbase/types":"^1.1.3-alpha.0","@cloudbase/utilities":"^1.3.4"},"devDependencies":{"@babel/core":"^7.9.0","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.9.5","@babel/preset-typescript":"^7.9.0","@typescript-eslint/eslint-plugin":"^3.8.0","@typescript-eslint/parser":"^3.8.0","awesome-typescript-loader":"^5.2.1","babel-loader":"^8.1.0","eslint":"^7.6.0","eslint-config-alloy":"^3.7.4","gulp":"^4.0.2","gulp-clean":"^0.4.0","gulp-rename":"^2.0.0","gulp-sourcemaps":"^2.6.5","gulp-typescript":"^6.0.0-alpha.1","json-loader":"^0.5.7","merge-stream":"^2.0.0","package-json-cleanup-loader":"^1.0.3","typescript":"^3.8.3","webpack":"4.41.3","webpack-cli":"^3.3.11","webpack-node-externals":"^1.7.2","webpack-stream":"^5.2.1","webpack-visualizer-plugin":"^0.1.11"},"browserslist":["last 2 version","> 1%","not dead","chrome 53"],"gitHead":"29ca0bf24318daa1fbb230910edf0b1545e17e7f"}')},5735:function(e,t,n){"use strict";var r=n(477)(n(9367));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=75)}({0:function(e,t,n){function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},11:function(e,t){e.exports=n(2036)},21:function(e,t){e.exports=n(4524)},4:function(e,t){e.exports=n(5956)},75:function(e,t,n){n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{"class":["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon","class":e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon","class":e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon","class":["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)};r._withStripped=!0;var i=n(4),o=n.n(i),a=n(11),s=n.n(a),u=void 0,c=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function l(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;u||(u=document.createElement("textarea"),document.body.appendChild(u));var r=function(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),i=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:c.map(function(e){return e+":"+t.getPropertyValue(e)}).join(";"),paddingSize:r,borderSize:i,boxSizing:n}}(e),i=r.paddingSize,o=r.borderSize,a=r.boxSizing,s=r.contextStyle;u.setAttribute("style",s+";\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n"),u.value=e.value||e.placeholder||"";var l=u.scrollHeight,d={};"border-box"===a?l+=o:"content-box"===a&&(l-=i),u.value="";var f=u.scrollHeight-i;if(null!==t){var p=f*t;"border-box"===a&&(p=p+i+o),l=Math.max(p,l),d.minHeight=p+"px"}if(null!==n){var h=f*n;"border-box"===a&&(h=h+i+o),l=Math.min(h,l)}return d.height=l+"px",u.parentNode&&u.parentNode.removeChild(u),u=null,d}var d=n(9),f=n.n(d),p=n(21),h={name:"ElInput",componentName:"ElInput",mixins:[o.a,s.a],inheritAttrs:!1,inject:{elForm:{"default":""},elFormItem:{"default":""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,"default":"text"},autosize:{type:[Boolean,Object],"default":!1},autocomplete:{type:String,"default":"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,"default":!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,"default":!1},showPassword:{type:Boolean,"default":!1},showWordLimit:{type:Boolean,"default":!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return f()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||this.value===undefined?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick(function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()})}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize;if("textarea"===this.type)if(e){var t=e.minRows,n=e.maxRows;this.textareaCalcStyle=l(this.$refs.textarea,t,n)}else this.textareaCalcStyle={minHeight:l(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(p.isKorean)(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,r=0;r<t.length;r++)if(t[r].parentNode===this.$el){n=t[r];break}if(n){var i={suffix:"append",prefix:"prepend"}[e];this.$slots[i]?n.style.transform="translateX("+("suffix"===e?"-":"")+this.$el.querySelector(".el-input-group__"+i).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){var e=this;this.passwordVisible=!this.passwordVisible,this.$nextTick(function(){e.focus()})},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},m=h,g=n(0),v=Object(g.a)(m,r,[],!1,null,null,null);v.options.__file="packages/input/src/input.vue";var _=v.exports;_.install=function(e){e.component(_.name,_)},t["default"]=_},9:function(e,t){e.exports=n(8589)}})},5779:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inline=t.block=void 0;var r=n(9105),i=t.block={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}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:r.noopTest,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};i._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,i._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,i.def=(0,r.edit)(i.def).replace("label",i._label).replace("title",i._title).getRegex(),i.bullet=/(?:[*+-]|\d{1,9}[.)])/,i.listItemStart=(0,r.edit)(/^( *)(bull) */).replace("bull",i.bullet).getRegex(),i.list=(0,r.edit)(i.list).replace(/bull/g,i.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+i.def.source+")").getRegex(),i._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",i._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,i.html=(0,r.edit)(i.html,"i").replace("comment",i._comment).replace("tag",i._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),i.paragraph=(0,r.edit)(i._paragraph).replace("hr",i.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",i._tag).getRegex(),i.blockquote=(0,r.edit)(i.blockquote).replace("paragraph",i.paragraph).getRegex(),i.normal=(0,r.merge)({},i),i.gfm=(0,r.merge)({},i.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),i.gfm.table=(0,r.edit)(i.gfm.table).replace("hr",i.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",i._tag).getRegex(),i.gfm.paragraph=(0,r.edit)(i._paragraph).replace("hr",i.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",i.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",i._tag).getRegex(),i.pedantic=(0,r.merge)({},i.normal,{html:(0,r.edit)("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",i._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:r.noopTest,paragraph:(0,r.edit)(i.normal._paragraph).replace("hr",i.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",i.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var o=t.inline={owo:/^:(\S*):/,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:r.noopTest,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]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:r.noopTest,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`:*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};o._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",o.punctuation=(0,r.edit)(o.punctuation).replace(/punctuation/g,o._punctuation).getRegex(),o.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,o.escapedEmSt=/\\\*|\\_/g,o._comment=(0,r.edit)(i._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),o.emStrong.lDelim=(0,r.edit)(o.emStrong.lDelim).replace(/punct/g,o._punctuation).getRegex(),o.emStrong.rDelimAst=(0,r.edit)(o.emStrong.rDelimAst,"g").replace(/punct/g,o._punctuation).getRegex(),o.emStrong.rDelimUnd=(0,r.edit)(o.emStrong.rDelimUnd,"g").replace(/punct/g,o._punctuation).getRegex(),o._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,o._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,o._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,o.autolink=(0,r.edit)(o.autolink).replace("scheme",o._scheme).replace("email",o._email).getRegex(),o._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,o.tag=(0,r.edit)(o.tag).replace("comment",o._comment).replace("attribute",o._attribute).getRegex(),o._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,o._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,o._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,o.link=(0,r.edit)(o.link).replace("label",o._label).replace("href",o._href).replace("title",o._title).getRegex(),o.reflink=(0,r.edit)(o.reflink).replace("label",o._label).replace("ref",i._label).getRegex(),o.nolink=(0,r.edit)(o.nolink).replace("ref",i._label).getRegex(),o.reflinkSearch=(0,r.edit)(o.reflinkSearch,"g").replace("reflink",o.reflink).replace("nolink",o.nolink).getRegex(),o.normal=(0,r.merge)({},o),o.pedantic=(0,r.merge)({},o.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:(0,r.edit)(/^!?\[(label)\]\((.*?)\)/).replace("label",o._label).getRegex(),reflink:(0,r.edit)(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",o._label).getRegex()}),o.gfm=(0,r.merge)({},o.normal,{escape:(0,r.edit)(o.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:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`:*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),o.gfm.url=(0,r.edit)(o.gfm.url,"i").replace("email",o.gfm._extended_email).getRegex(),o.breaks=(0,r.merge)({},o.gfm,{br:(0,r.edit)(o.br).replace("{2,}","*").getRegex(),text:(0,r.edit)(o.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()})},5794:function(e,t,n){"use strict";var r,i,o,a,s=n(477)(n(9367));a=function(e){return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=[],u=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)e(r)&&(i<8&&(s[i]=n(t.pow(r,.5))),u[i]=n(t.pow(r,1/3)),i++),r++}();var c=[],l=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],d=n[6],f=n[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var h=c[p-15],m=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=c[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[p]=m+c[p-7]+v+c[p-16]}var _=r&i^r&o^i&o,y=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&d)+u[p]+c[p];f=d,d=l,l=s,s=a+b|0,a=o,o=i,i=r,r=b+(y+_)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=o._createHelper(l),n.HmacSHA256=o._createHmacHelper(l)}(Math),e.SHA256},"object"===(0,s["default"])(t)?e.exports=t=a(n(4794)):(i=[n(4794)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},5838:function(e){"use strict";e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},5861:function(e,t,n){"use strict";var r,i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},a=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseCache=void 0;var s=n(6885),u=n(5939),c=n(3440),l=function(e){function t(t){var n=e.call(this)||this;return n._root=t,t.tcbCacheObject||(t.tcbCacheObject={}),n}return i(t,e),t.prototype.setItem=function(e,t){this._root.tcbCacheObject[e]=t},t.prototype.getItem=function(e){return this._root.tcbCacheObject[e]},t.prototype.removeItem=function(e){delete this._root.tcbCacheObject[e]},t.prototype.clear=function(){delete this._root.tcbCacheObject},t}(s.AbstractStorage);function d(e,t){switch(e){case"local":default:return t.localStorage?t.localStorage:(u.printWarn(c.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new l(t.root));case"none":return new l(t.root);case"session":return t.sessionStorage?t.sessionStorage:(u.printWarn(c.ERRORS.INVALID_PARAMS,"sessionStorage is not supported on current platform"),new l(t.root))}}var f=function(){function e(e){this.keys={};var t=e.persistence,n=e.platformInfo,r=void 0===n?{}:n,i=e.keys,o=void 0===i?{}:i,a=e.alwaysLocalKeys,s=void 0===a?[]:a;this._platformInfo=r,this._alwaysLocalKeys=s,this._storage||(this._persistence=r.adapter.primaryStorage||t,this._storage=d(this._persistence,r.adapter),this.keys=o)}return Object.defineProperty(e.prototype,"mode",{get:function(){return this._storage.mode||"sync"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"persistence",{get:function(){return this._persistence},enumerable:!1,configurable:!0}),e.prototype.updatePersistence=function(e){if("async"!==this.mode){if(e!==this._persistence){var t="local"===this._persistence;this._persistence=e;var n=d(e,this._platformInfo.adapter);for(var r in this.keys){var i=this.keys[r];if(!t||!this._alwaysLocalKeys.includes(r)){var o=this._storage.getItem(i);u.isUndefined(o)||u.isNull(o)||(n.setItem(i,o),this._storage.removeItem(i))}}this._storage=n}}else u.printWarn(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use updatePersistenceAsync insteed")},e.prototype.updatePersistenceAsync=function(e){return o(this,void 0,void 0,function(){var t,n,r,i,o,s,c,l;return a(this,function(a){switch(a.label){case 0:if(e===this._persistence)return[2];for(i in t="local"===this._persistence,this._persistence=e,n=d(e,this._platformInfo.adapter),r=[],this.keys)r.push(i);o=0,a.label=1;case 1:return o<r.length?(s=r[o],c=this.keys[s],t&&this._alwaysLocalKeys.includes(s)?[3,4]:[4,this._storage.getItem(c)]):[3,5];case 2:return l=a.sent(),u.isUndefined(l)||u.isNull(l)?[3,4]:(n.setItem(c,l),[4,this._storage.removeItem(c)]);case 3:a.sent(),a.label=4;case 4:return o++,[3,1];case 5:return this._storage=n,[2]}})})},e.prototype.setStore=function(e,t,n){if("async"!==this.mode){if(this._storage)try{var r={version:n||"localCachev1",content:t};this._storage.setItem(e,JSON.stringify(r))}catch(i){throw new Error(JSON.stringify({code:c.ERRORS.OPERATION_FAIL,msg:"["+c.getSdkName()+"]["+c.ERRORS.OPERATION_FAIL+"]setStore failed",info:i}))}}else u.printWarn(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use setStoreAsync insteed")},e.prototype.setStoreAsync=function(e,t,n){return o(this,void 0,void 0,function(){var r;return a(this,function(i){switch(i.label){case 0:if(!this._storage)return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),r={version:n||"localCachev1",content:t},[4,this._storage.setItem(e,JSON.stringify(r))];case 2:return i.sent(),[3,4];case 3:return i.sent(),[2];case 4:return[2]}})})},e.prototype.getStore=function(e,t){var n;if("async"!==this.mode){try{if("undefined"!=typeof process&&(null===(n=process.env)||void 0===n?void 0:n.tcb_token))return process.env.tcb_token;if(!this._storage)return""}catch(i){return""}t=t||"localCachev1";var r=this._storage.getItem(e);return r&&r.indexOf(t)>=0?JSON.parse(r).content:""}u.printWarn(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getStoreAsync insteed")},e.prototype.getStoreAsync=function(e,t){var n;return o(this,void 0,void 0,function(){var r;return a(this,function(i){switch(i.label){case 0:try{if("undefined"!=typeof process&&(null===(n=process.env)||void 0===n?void 0:n.tcb_token))return[2,process.env.tcb_token];if(!this._storage)return[2,""]}catch(o){return[2,""]}return t=t||"localCachev1",[4,this._storage.getItem(e)];case 1:return(r=i.sent())&&r.indexOf(t)>=0?[2,JSON.parse(r).content]:[2,""]}})})},e.prototype.removeStore=function(e){"async"!==this.mode?this._storage.removeItem(e):u.printWarn(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use removeStoreAsync insteed")},e.prototype.removeStoreAsync=function(e){return o(this,void 0,void 0,function(){return a(this,function(t){switch(t.label){case 0:return[4,this._storage.removeItem(e)];case 1:return t.sent(),[2]}})})},e}();t.CloudbaseCache=f},5878:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.setLanguage=t["default"]=void 0;var i=r(n(7564)),o={zh:0,"zh-cn":0,"zh-hk":1,"zh-tw":2,"en-us":3,"en-gb":3,en:3,uz:4,"uz-uz":4,ja:5,"ja-jp":5,ko:6,"ko-kr":6},a="";t.setLanguage=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};e.lang&&e.lang.toLowerCase()in o&&(a=e.lang)},t["default"]=function(e,t){var n=(t||a||navigator.language).toLowerCase();return(n&&o[n]?i["default"][e][o[n]]:i["default"][e][o["zh-cn"]])||""}},5897:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-avatar","class":{"tk-clickable":!!e.link,"tk-has-avatar":!!e.avatarInner},on:{click:e.onClick}},[e.avatarInner?e._e():t("div",{staticClass:"tk-avatar-img",domProps:{innerHTML:e._s(e.iconUser)}}),e._v(" "),e.avatarInner?t("img",{staticClass:"tk-avatar-img",attrs:{src:e.avatarInner,alt:""}}):e._e()])},t.Yp=[]},5910:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"></path></svg>'},5939:function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(t,"__esModule",{value:!0}),t.transformPhone=t.sleep=t.printGroupLog=t.throwError=t.printInfo=t.printError=t.printWarn=t.execCallback=t.createPromiseCallback=t.removeParam=t.getHash=t.getQuery=t.toQueryString=t.createSign=t.formatUrl=t.genSeqId=t.isFormData=t.isInstanceOf=t.isNull=t.isPalinObject=t.isUndefined=t.isString=t.isArray=void 0;var i=r(n(4180)),o=r(n(6253)),a=r(n(1717)),s=n(3440);function u(e){var t=o["default"].stringify(e);return t=(t=(t=t.replace(/=+$/,"")).replace(/\+/g,"-")).replace(/\//g,"_")}t.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},t.isString=function(e){return"string"==typeof e},t.isUndefined=function(e){return void 0===e},t.isPalinObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isNull=function(e){return"[object Null]"===Object.prototype.toString.call(e)},t.isInstanceOf=function(e,t){return e instanceof t},t.isFormData=function(e){return"[object FormData]"===Object.prototype.toString.call(e)},t.genSeqId=function(){return Math.random().toString(16).slice(2)},t.formatUrl=function(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),i="";for(var o in n)""===i?!r&&(t+="?"):i+="&",i+=o+"="+encodeURIComponent(n[o]);return/^http(s)?\:\/\//.test(t+=i)?t:""+e+t},t.createSign=function(e,t){var n=u(a["default"].parse(JSON.stringify({alg:"HS256",typ:"JWT"})))+"."+u(a["default"].parse(JSON.stringify(e)));return n+"."+u(i["default"](n,t))},t.toQueryString=function(e){void 0===e&&(e={});var t=[];for(var n in e)t.push(n+"="+encodeURIComponent(e[n]));return t.join("&")},t.getQuery=function(e,t){if("undefined"==typeof window)return!1;var n=t||window.location.search,r=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),i=n.substr(n.indexOf("?")+1).match(r);return null!=i?i[2]:""},t.getHash=function(e){if("undefined"==typeof window)return"";var t=window.location.hash.match(new RegExp("[#?&/]"+e+"=([^&#]*)"));return t?t[1]:""},t.removeParam=function(e,t){var n=t.split("?")[0],r=[],i=-1!==t.indexOf("?")?t.split("?")[1]:"";if(""!==i){for(var o=(r=i.split("&")).length-1;o>=0;o-=1)r[o].split("=")[0]===e&&r.splice(o,1);n=n+"?"+r.join("&")}return n},t.createPromiseCallback=function(){var e;if(!Promise){(e=function(){}).promise={};var t=function(){throw new Error('Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.')};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var n=new Promise(function(t,n){e=function(e,r){return e?n(e):t(r)}});return e.promise=n,e},t.execCallback=function(e,t,n){if(void 0===n&&(n=null),e&&"function"==typeof e)return e(t,n);if(t)throw t;return n},t.printWarn=function(e,t){console.warn("["+s.getSdkName()+"]["+e+"]:"+t)},t.printError=function(e,t){console.error({code:e,msg:"["+s.getSdkName()+"]["+e+"]:"+t})},t.printInfo=function(e,t){console.log("["+s.getSdkName()+"]["+e+"]:"+t)},t.throwError=function(e,t){throw new Error(JSON.stringify({code:e,msg:"["+s.getSdkName()+"]["+e+"]:"+t}))},t.printGroupLog=function(e){var t=e.title,n=e.subtitle,r=void 0===n?"":n,i=e.content,o=void 0===i?[]:i,a=e.printTrace,s=void 0!==a&&a,u=e.collapsed;void 0!==u&&u?console.groupCollapsed(t,r):console.group(t,r);for(var c=0,l=o;c<l.length;c++){var d=l[c],f=d.type,p=d.body;switch(f){case"info":console.log(p);break;case"warn":console.warn(p);break;case"error":console.error(p)}}s&&console.trace("stack trace:"),console.groupEnd()},t.sleep=function(e){return void 0===e&&(e=0),new Promise(function(t){return setTimeout(t,e)})},t.transformPhone=function(e){return"+86"+e}},5956:function(e,t){"use strict";function n(e,t,r){this.$children.forEach(function(i){i.$options.componentName===e?i.$emit.apply(i,[t].concat(r)):n.apply(i,[e,t].concat([r]))})}t.__esModule=!0,t["default"]={methods:{dispatch:function(e,t,n){for(var r=this.$parent||this.$root,i=r.$options.componentName;r&&(!i||i!==e);)(r=r.$parent)&&(i=r.$options.componentName);r&&r.$emit.apply(r,[t].concat(n))},broadcast:function(e,t,r){n.call(this,e,t,r)}}}},6153:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseRequest=void 0,t.getRequestByEnvId=function(e){return w[e]},t.initRequest=function(e){w[e.env]=new k(c(c({},e),{"throw":!0}))};var r=n(3052),i=n(2566),o=n(4283),a=n(1706),s=n(5315),u=n(4319),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},c.apply(this,arguments)},l=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},d=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},f=i.constants.ERRORS,p=i.utils.genSeqId,h=i.utils.isFormData,m=i.utils.formatUrl,g=i.utils.createSign,v=i.adapters.RUNTIME,_=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"];function y(e,t,n){var r=e[t];e[t]=function(t){var i={},o={};n.forEach(function(n){var r=n.call(e,t),a=r.data,s=r.headers;Object.assign(i,a),Object.assign(o,s)});var a=t.data;return a&&function(){if(h(a))for(var e in i)a.append(e,i[e]);else t.data=c(c({},a),i)}(),t.headers=c(c({},t.headers||{}),o),r.call(e,t)}}function b(){var e=p();return{data:{seqId:e},headers:{"X-SDK-Version":"@cloudbase/js-sdk/"+(0,r.getSdkVersion)(),"x-seqid":e}}}var k=t.CloudbaseRequest=function(){function e(e){this._throwWhenRequestFail=!1,this.config=e,this._reqClass=new u.Platform.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"[@cloudbase/js-sdk] 请求在"+this.config.timeout/1e3+"s内未完成,已中断",restrictedMethods:["post"]}),this._throwWhenRequestFail=e["throw"]||!1,this._cache=(0,a.getCacheByEnvId)(this.config.env),this._localCache=(0,a.getLocalCache)(this.config.env),y(this._reqClass,"post",[b]),y(this._reqClass,"upload",[b]),y(this._reqClass,"download",[b])}return e.prototype.post=function(e){return l(this,void 0,void 0,function(){return d(this,function(t){switch(t.label){case 0:return[4,this._reqClass.post(e)];case 1:return[2,t.sent()]}})})},e.prototype.upload=function(e){return l(this,void 0,void 0,function(){return d(this,function(t){switch(t.label){case 0:return[4,this._reqClass.upload(e)];case 1:return[2,t.sent()]}})})},e.prototype.download=function(e){return l(this,void 0,void 0,function(){return d(this,function(t){switch(t.label){case 0:return[4,this._reqClass.download(e)];case 1:return[2,t.sent()]}})})},e.prototype.refreshAccessToken=function(){return l(this,void 0,void 0,function(){var e,t,n;return d(this,function(r){switch(r.label){case 0:this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._refreshAccessTokenPromise];case 2:return e=r.sent(),[3,4];case 3:return n=r.sent(),t=n,[3,4];case 4:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return[2,e]}})})},e.prototype.getAccessToken=function(){return l(this,void 0,void 0,function(){var e,t,n,r,i,o,a,s,u;return d(this,function(c){switch(c.label){case 0:return e=this._cache.keys,t=e.accessTokenKey,n=e.accessTokenExpireKey,r=e.refreshTokenKey,[4,this._cache.getStoreAsync(r)];case 1:if(!c.sent())throw new Error(JSON.stringify({code:f.OPERATION_FAIL,msg:"refresh token is not exist, your local data might be messed up, please retry after clear localStorage or sessionStorage"}));return[4,this._cache.getStoreAsync(t)];case 2:return i=c.sent(),a=Number,[4,this._cache.getStoreAsync(n)];case 3:return o=a.apply(void 0,[c.sent()]),s=!0,(u=this._shouldRefreshAccessTokenHook)?[4,this._shouldRefreshAccessTokenHook(i,o)]:[3,5];case 4:u=!c.sent(),c.label=5;case 5:return u&&(s=!1),i&&o&&!(o<Date.now())||!s?[3,7]:[4,this.refreshAccessToken()];case 6:return[2,c.sent()];case 7:return[2,{accessToken:i,accessTokenExpire:o}]}})})},e.prototype.request=function(e,t,n){return l(this,void 0,void 0,function(){var i,o,a,s,l,f,p,h,y,b,k,w,E,A,C,I,x,S,D,O,T,N,M,P,F,L;return d(this,function(d){switch(d.label){case 0:return i="x-tcb-trace_"+this.config.env,o="application/x-www-form-urlencoded",a=c({action:e,dataVersion:r.DATA_VERSION,env:this.config.env},t),-1!==_.indexOf(e)?[3,3]:(s=this._cache.keys.refreshTokenKey,[4,this._cache.getStoreAsync(s)]);case 1:return d.sent()?(l=a,[4,this.getAccessToken()]):[3,3];case 2:l.access_token=d.sent().accessToken,d.label=3;case 3:if("storage.uploadFile"===e){for(p in f=new FormData)f.hasOwnProperty(p)&&f[p]!==undefined&&f.append(p,a[p]);o="multipart/form-data"}else for(p in o="application/json;charset=UTF-8",f={},a)a[p]!==undefined&&(f[p]=a[p]);return h={headers:{"content-type":o}},(null==n?void 0:n.onUploadProgress)&&(h.onUploadProgress=n.onUploadProgress),this.config.region&&(h.headers["X-TCB-Region"]=this.config.region),(y=this._localCache.getStore(i))&&(h.headers["X-TCB-Trace"]=y),u.Platform.runtime!==v.WEB&&(b=this.config,k=b.appSign,w=b.appSecret,E=Date.now(),A=w.appAccessKey,C=w.appAccessKeyId,I=g({data:{},timestamp:E,appAccessKeyId:C,appSign:k},A),h.headers["X-TCB-App-Source"]="timestamp="+E+";appAccessKeyId="+C+";appSign="+k+";sign="+I),x=t.parse,S=t.inQuery,D=t.search,O={env:this.config.env},x&&(O.parse=!0),S&&(O=c(c({},S),O)),T=(0,r.getEndPoint)(),N=T.BASE_URL,M=T.PROTOCOL,P=m(M,N,O),D&&(P+=D),[4,this.post(c({url:P,data:f},h))];case 4:if(F=d.sent(),(L=F.header&&F.header["x-tcb-trace"])&&this._localCache.setStore(i,L),200!==Number(F.status)&&200!==Number(F.statusCode)||!F.data)throw new Error("network request error");return[2,F]}})})},e.prototype.send=function(e,t){return void 0===t&&(t={}),l(this,void 0,void 0,function(){var n;return d(this,function(r){switch(r.label){case 0:return[4,this.request(e,t,{onUploadProgress:t.onUploadProgress})];case 1:return"ACCESS_TOKEN_EXPIRED"!==(n=r.sent()).data.code||-1!==_.indexOf(e)?[3,4]:[4,this.refreshAccessToken()];case 2:return r.sent(),[4,this.request(e,t,{onUploadProgress:t.onUploadProgress})];case 3:n=r.sent(),r.label=4;case 4:if(n.data.code&&this._throwWhenRequestFail)throw new Error(JSON.stringify({code:f.OPERATION_FAIL,msg:"["+n.data.code+"] "+n.data.message}));return[2,n.data]}})})},e.prototype._refreshAccessToken=function(e){return void 0===e&&(e=1),l(this,void 0,void 0,function(){var t,n,i,a,u,c,l,p,h,m,g,v,_;return d(this,function(d){switch(d.label){case 0:return t=this._cache.keys,n=t.accessTokenKey,i=t.accessTokenExpireKey,a=t.refreshTokenKey,u=t.loginTypeKey,c=t.anonymousUuidKey,[4,this._cache.removeStoreAsync(n)];case 1:return d.sent(),[4,this._cache.removeStoreAsync(i)];case 2:return d.sent(),[4,this._cache.getStoreAsync(a)];case 3:if(!(l=d.sent()))throw new Error(JSON.stringify({code:f.INVALID_OPERATION,msg:"not login"}));return p={refresh_token:l},[4,this.request("auth.fetchAccessTokenWithRefreshToken",p)];case 4:return(h=d.sent()).data.code?"SIGN_PARAM_INVALID"!==(m=h.data.code)&&"REFRESH_TOKEN_EXPIRED"!==m&&"INVALID_REFRESH_TOKEN"!==m?[3,11]:[4,this._cache.getStoreAsync(u)]:[3,12];case 5:return d.sent()===r.LOGINTYPE.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===m?[4,this._cache.getStoreAsync(c)]:[3,9];case 6:return g=d.sent(),[4,this._cache.getStoreAsync(a)];case 7:return v=d.sent(),[4,this.send("auth.signInAnonymously",{anonymous_uuid:g,refresh_token:v})];case 8:if(_=d.sent(),this._setRefreshToken(_.refresh_token),e>=1)return[2,this._refreshAccessToken(--e)];throw new Error(JSON.stringify({code:f.OPERATION_FAIL,message:"重试获取 refresh token 失败"}));case 9:return o.cloudbase.fire(s.EVENTS.LOGIN_STATE_EXPIRED),[4,this._cache.removeStoreAsync(a)];case 10:d.sent(),d.label=11;case 11:throw new Error(JSON.stringify({code:f.NETWORK_ERROR,msg:"refresh access_token failed:"+h.data.code}));case 12:return h.data.access_token?(o.cloudbase.fire(s.EVENTS.ACCESS_TOKEN_REFRESHD),[4,this._cache.setStoreAsync(n,h.data.access_token)]):[3,15];case 13:return d.sent(),[4,this._cache.setStoreAsync(i,h.data.access_token_expire+Date.now())];case 14:return d.sent(),[2,{accessToken:h.data.access_token,accessTokenExpire:h.data.access_token_expire}];case 15:return h.data.refresh_token?[4,this._cache.removeStoreAsync(a)]:[3,19];case 16:return d.sent(),[4,this._cache.setStoreAsync(a,h.data.refresh_token)];case 17:return d.sent(),[4,this._refreshAccessToken()];case 18:d.sent(),d.label=19;case 19:return[2]}})})},e.prototype._setRefreshToken=function(e){return l(this,void 0,void 0,function(){var t,n,r,i;return d(this,function(o){switch(o.label){case 0:return t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,[4,this._cache.removeStoreAsync(n)];case 1:return o.sent(),[4,this._cache.removeStoreAsync(r)];case 2:return o.sent(),[4,this._cache.setStoreAsync(i,e)];case 3:return o.sent(),[2]}})})},e}(),w={}},6200:function(e,t,n){"use strict";var r=n(477)(n(9367));t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=undefined;var i="function"==typeof Symbol&&"symbol"===(0,r["default"])(Symbol.iterator)?function(e){return(0,r["default"])(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r["default"])(e)};t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isHtmlElement=function(e){return e&&e.nodeType===Node.ELEMENT_NODE};var o,a=n(4478),s=(o=a)&&o.__esModule?o:{"default":o},u=function(e){return e&&"[object Function]"==={}.toString.call(e)};"object"===("undefined"==typeof Int8Array?"undefined":i(Int8Array))||!s["default"].prototype.$isServer&&"function"==typeof document.childNodes||(t.isFunction=u=function(e){return"function"==typeof e||!1}),t.isFunction=u,t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return e!==undefined&&null!==e}},6245:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-submit {\n display: flex;\n flex-direction: column;\n}\n.tk-row {\n display: flex;\n flex-direction: row;\n}\n.tk-col {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.tk-meta-input {\n margin-bottom: 0.5rem;\n}\n.tk-row.actions {\n position: relative;\n margin-top: 1rem;\n margin-bottom: 1rem;\n margin-left: 3.5rem;\n align-items: center;\n justify-content: flex-end;\n}\n.tk-row-actions-start {\n flex: 1;\n display: flex;\n align-items: center;\n}\n.tk-submit-action-icon {\n align-self: center;\n display: inline-block;\n width: 1.25em;\n line-height: 0;\n margin-right: 10px;\n cursor: pointer;\n flex-shrink: 0;\n}\n.tk-submit-action-icon svg:hover {\n opacity: 0.8;\n}\n.tk-submit-action-icon.__markdown {\n color: #909399;\n}\n.tk-error-message {\n word-break: break-all;\n color: #ff0000;\n font-size: 0.75em;\n flex-shrink: 1;\n}\n.tk-input-image {\n display: none;\n}\n.tk-input {\n flex: 1;\n}\n.tk-input .el-textarea__inner {\n background-position: right bottom;\n background-repeat: no-repeat;\n}\n.tk-turnstile-container {\n position: absolute;\n right: 0;\n bottom: -75px;\n z-index: 1;\n}\n.tk-turnstile {\n display: flex;\n flex-direction: column;\n}\n.tk-geetest-container {\n position: absolute;\n right: 0;\n bottom: -75px;\n z-index: 1;\n}\n.tk-cap-container {\n position: absolute;\n right: 0;\n bottom: -75px;\n z-index: 1;\n}\n.tk-preview-container {\n margin-left: 3rem;\n margin-bottom: 1rem;\n padding: 5px 15px;\n border: 1px solid rgba(128,128,128,0.31);\n border-radius: 4px;\n word-break: break-word;\n}\n.tk-fade-in {\n animation: tkFadeIn .3s;\n}\n@keyframes tkFadeIn {\n0% {\n opacity: 0\n}\nto {\n opacity: 1\n}\n}\n",""]),t["default"]=a},6253:function(e,t,n){"use strict";var r,i,o,a,s=n(477)(n(9367));a=function(e){var t,n;return n=(t=e).lib.WordArray,t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return function(e,t,r){for(var i=[],o=0,a=0;a<t;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2,u=r[e.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=(s|u)<<24-o%4*8,o++}return n.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},e.enc.Base64},"object"===(0,s["default"])(t)?e.exports=t=a(n(4794)):(i=[n(4794)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},6359:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"></path></svg>'},6370:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z"></path></svg>'},6412:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M466.27 225.31c4.674-22.647.864-44.538-8.99-62.99 2.958-23.868-4.021-48.565-17.34-66.99C438.986 39.423 404.117 0 327 0c-7 0-15 .01-22.22.01C201.195.01 168.997 40 128 40h-10.845c-5.64-4.975-13.042-8-21.155-8H32C14.327 32 0 46.327 0 64v240c0 17.673 14.327 32 32 32h64c11.842 0 22.175-6.438 27.708-16h7.052c19.146 16.953 46.013 60.653 68.76 83.4 13.667 13.667 10.153 108.6 71.76 108.6 57.58 0 95.27-31.936 95.27-104.73 0-18.41-3.93-33.73-8.85-46.54h36.48c48.602 0 85.82-41.565 85.82-85.58 0-19.15-4.96-34.99-13.73-49.84zM64 296c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm330.18 16.73H290.19c0 37.82 28.36 55.37 28.36 94.54 0 23.75 0 56.73-47.27 56.73-18.91-18.91-9.46-66.18-37.82-94.54C206.9 342.89 167.28 272 138.92 272H128V85.83c53.611 0 100.001-37.82 171.64-37.82h37.82c35.512 0 60.82 17.12 53.12 65.9 15.2 8.16 26.5 36.44 13.94 57.57 21.581 20.384 18.699 51.065 5.21 65.62 9.45 0 22.36 18.91 22.27 37.81-.09 18.91-16.71 37.82-37.82 37.82z"></path></svg>'},6431:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(8675),i=n(9171),o=i.A,a=(n(292),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},6509:function(e,t,n){var r=n(8402);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("79ae887c",r,!0,{})},6530:function(e){"use strict";e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports["default"]=e.exports},6531:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMMUNITY_SITE_URL=t.IS_DEBUG_MODE=t.getProtocol=t.setProtocol=t.getSdkName=t.setSdkName=void 0;var n="@cloudbase/js-sdk";t.setSdkName=function(e){n=e},t.getSdkName=function(){return n};var r="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";t.setProtocol=function(e){r=e},t.getProtocol=function(){return r},t.IS_DEBUG_MODE=!1,t.COMMUNITY_SITE_URL="https://support.qq.com/products/148793"},6615:function(e,t,n){"use strict";var r=n(477),i=r(n(8850)),o=r(n(1332)),a=r(n(9367)),s=Object.freeze({}),u=Array.isArray;function c(e){return null==e}function l(e){return null!=e}function d(e){return!0===e}function f(e){return"string"==typeof e||"number"==typeof e||"symbol"==(0,a["default"])(e)||"boolean"==typeof e}function p(e){return"function"==typeof e}function h(e){return null!==e&&"object"==(0,a["default"])(e)}var m=Object.prototype.toString;function g(e){return"[object Object]"===m.call(e)}function v(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function _(e){return l(e)&&"function"==typeof e.then&&"function"==typeof e["catch"]}function y(e){return null==e?"":Array.isArray(e)||g(e)&&e.toString===m?JSON.stringify(e,b,2):String(e)}function b(e,t){return t&&t.__v_isRef?t.value:t}function k(e){var t=parseFloat(e);return isNaN(t)?e:t}function w(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var E=w("key,ref,slot,slot-scope,is");function A(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var C=Object.prototype.hasOwnProperty;function I(e,t){return C.call(e,t)}function x(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var S=/-(\w)/g,D=x(function(e){return e.replace(S,function(e,t){return t?t.toUpperCase():""})}),O=x(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),T=/\B([A-Z])/g,N=x(function(e){return e.replace(T,"-$1").toLowerCase()}),M=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function P(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function F(e,t){for(var n in t)e[n]=t[n];return e}function L(e){for(var t={},n=0;n<e.length;n++)e[n]&&F(t,e[n]);return t}function R(e,t,n){}var j=function(e,t,n){return!1},$=function(e){return e};function U(e,t){if(e===t)return!0;var n=h(e),r=h(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,n){return U(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return U(e[n],t[n])})}catch(e){return!1}}function G(e,t){for(var n=0;n<e.length;n++)if(U(e[n],t))return n;return-1}function B(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function z(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}var H="data-server-rendered",q=["component","directive","filter"],V=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],W={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:R,parsePlatformTagName:$,mustUseProp:j,async:!0,_lifecycleHooks:V};function K(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function X(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Y=new RegExp("[^".concat(/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source,".$_\\d]")),Q="__proto__"in{},J="undefined"!=typeof window,Z=J&&window.navigator.userAgent.toLowerCase(),ee=Z&&/msie|trident/.test(Z),te=Z&&Z.indexOf("msie 9.0")>0,ne=Z&&Z.indexOf("edge/")>0;Z&&Z.indexOf("android");var re=Z&&/iphone|ipad|ipod|ios/.test(Z);Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z);var ie,oe=Z&&Z.match(/firefox\/(\d+)/),ae={}.watch,se=!1;if(J)try{var ue={};Object.defineProperty(ue,"passive",{get:function(){se=!0}}),window.addEventListener("test-passive",null,ue)}catch(s){}var ce=function(){return void 0===ie&&(ie=!J&&"undefined"!=typeof n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),ie},le=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function de(e){return"function"==typeof e&&/native code/.test(e.toString())}var fe,pe="undefined"!=typeof Symbol&&de(Symbol)&&"undefined"!=typeof Reflect&&de(Reflect.ownKeys);fe="undefined"!=typeof Set&&de(Set)?Set:function(){function e(){(0,i["default"])(this,e),this.set=Object.create(null)}return(0,o["default"])(e,[{key:"has",value:function(e){return!0===this.set[e]}},{key:"add",value:function(e){this.set[e]=!0}},{key:"clear",value:function(){this.set=Object.create(null)}}]),e}();var he=null;function me(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;e||he&&he._scope.off(),he=e,e&&e._scope.on()}var ge=function(){function e(t,n,r,o,a,s,u,c){(0,i["default"])(this,e),this.tag=t,this.data=n,this.children=r,this.text=o,this.elm=a,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=u,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=c,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return(0,o["default"])(e,[{key:"child",get:function(){return this.componentInstance}}]),e}(),ve=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",t=new ge;return t.text=e,t.isComment=!0,t};function _e(e){return new ge(void 0,void 0,void 0,String(e))}function ye(e){var t=new ge(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var be=0,ke=[],we=function(){function e(){(0,i["default"])(this,e),this._pending=!1,this.id=be++,this.subs=[]}return(0,o["default"])(e,[{key:"addSub",value:function(e){this.subs.push(e)}},{key:"removeSub",value:function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,ke.push(this))}},{key:"depend",value:function(t){e.target&&e.target.addDep(this)}},{key:"notify",value:function(e){for(var t=this.subs.filter(function(e){return e}),n=0,r=t.length;n<r;n++)t[n].update()}}]),e}();we.target=null;var Ee=[];function Ae(e){Ee.push(e),we.target=e}function Ce(){Ee.pop(),we.target=Ee[Ee.length-1]}var Ie=Array.prototype,xe=Object.create(Ie);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Ie[e];X(xe,e,function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o,a=t.apply(this,r),s=this.__ob__;switch(e){case"push":case"unshift":o=r;break;case"splice":o=r.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var Se=Object.getOwnPropertyNames(xe),De={},Oe=!0;function Te(e){Oe=e}var Ne={notify:R,depend:R,addSub:R,removeSub:R},Me=function(){function e(t){var n=arguments.length>1&&arguments[1]!==undefined&&arguments[1],r=arguments.length>2&&arguments[2]!==undefined&&arguments[2];if((0,i["default"])(this,e),this.value=t,this.shallow=n,this.mock=r,this.dep=r?Ne:new we,this.vmCount=0,X(t,"__ob__",this),u(t)){if(!r)if(Q)t.__proto__=xe;else for(var o=0,a=Se.length;o<a;o++){var s=Se[o];X(t,s,xe[s])}n||this.observeArray(t)}else for(var c=Object.keys(t),l=0;l<c.length;l++)Fe(t,c[l],De,void 0,n,r)}return(0,o["default"])(e,[{key:"observeArray",value:function(e){for(var t=0,n=e.length;t<n;t++)Pe(e[t],!1,this.mock)}}]),e}();function Pe(e,t,n){return e&&I(e,"__ob__")&&e.__ob__ instanceof Me?e.__ob__:!Oe||!n&&ce()||!u(e)&&!g(e)||!Object.isExtensible(e)||e.__v_skip||qe(e)||e instanceof ge?void 0:new Me(e,t,n)}function Fe(e,t,n,r,i,o){arguments.length>6&&undefined;var a=new we,s=Object.getOwnPropertyDescriptor(e,t);if(!s||!1!==s.configurable){var c=s&&s.get,l=s&&s.set;c&&!l||n!==De&&2!==arguments.length||(n=e[t]);var d=i?n&&n.__ob__:Pe(n,!1,o);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=c?c.call(e):n;return we.target&&(a.depend(),d&&(d.dep.depend(),u(t)&&je(t))),qe(t)&&!i?t.value:t},set:function(t){var r=c?c.call(e):n;if(z(r,t)){if(l)l.call(e,t);else{if(c)return;if(!i&&qe(r)&&!qe(t))return void(r.value=t);n=t}d=i?t&&t.__ob__:Pe(t,!1,o),a.notify()}}}),a}}function Le(e,t,n){if(!ze(e)){var r=e.__ob__;return u(e)&&v(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Pe(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(Fe(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function Re(e,t){if(u(e)&&v(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||ze(e)||I(e,t)&&(delete e[t],n&&n.dep.notify())}}function je(e){for(var t,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),u(t)&&je(t)}function $e(e){return Ue(e,!0),X(e,"__v_isShallow",!0),e}function Ue(e,t){ze(e)||Pe(e,t,ce())}function Ge(e){return ze(e)?Ge(e.__v_raw):!(!e||!e.__ob__)}function Be(e){return!(!e||!e.__v_isShallow)}function ze(e){return!(!e||!e.__v_isReadonly)}var He="__v_isRef";function qe(e){return!(!e||!0!==e.__v_isRef)}function Ve(e,t){if(qe(e))return e;var n={};return X(n,He,!0),X(n,"__v_isShallow",t),X(n,"dep",Fe(n,"value",e,null,t,ce())),n}function We(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];if(qe(e))return e.value;var r=e&&e.__ob__;return r&&r.dep.depend(),e},set:function(e){var r=t[n];qe(r)&&!qe(e)?r.value=e:t[n]=e}})}function Ke(e,t,n){var r=e[t];if(qe(r))return r;var i={get value(){var r=e[t];return void 0===r?n:r},set value(n){e[t]=n}};return X(i,He,!0),i}function Xe(e){return Ye(e,!1)}function Ye(e,t){if(!g(e))return e;if(ze(e))return e;var n=t?"__v_rawToShallowReadonly":"__v_rawToReadonly",r=e[n];if(r)return r;var i=Object.create(Object.getPrototypeOf(e));X(e,n,i),X(i,"__v_isReadonly",!0),X(i,"__v_raw",e),qe(e)&&X(i,He,!0),(t||Be(e))&&X(i,"__v_isShallow",!0);for(var o=Object.keys(e),a=0;a<o.length;a++)Qe(i,e,o[a],t);return i}function Qe(e,t,n,r){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];return r||!g(e)?e:Xe(e)},set:function(){}})}var Je="watcher",Ze="".concat(Je," callback"),et="".concat(Je," getter"),tt="".concat(Je," cleanup");function nt(e,t){return ot(e,null,{flush:"post"})}var rt,it={};function ot(e,t){var n,r,i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:s,o=i.immediate,a=i.deep,c=i.flush,l=void 0===c?"pre":c,d=(i.onTrack,i.onTrigger,he),f=function(e,t){var n=Xt(e,null,arguments.length>2&&arguments[2]!==undefined?arguments[2]:null,d,t);return a&&n&&n.__ob__&&n.__ob__.dep.depend(),n},h=!1,m=!1;if(qe(e)?(n=function(){return e.value},h=Be(e)):Ge(e)?(n=function(){return e.__ob__.dep.depend(),e},a=!0):u(e)?(m=!0,h=e.some(function(e){return Ge(e)||Be(e)}),n=function(){return e.map(function(e){return qe(e)?e.value:Ge(e)?(e.__ob__.dep.depend(),Cn(e)):p(e)?f(e,et):void 0})}):n=p(e)?t?function(){return f(e,et)}:function(){if(!d||!d._isDestroyed)return r&&r(),f(e,Je,[v])}:R,t&&a){var g=n;n=function(){return Cn(g())}}var v=function(e){r=_.onStop=function(){f(e,tt)}};if(ce())return v=R,t?o&&f(t,Ze,[n(),m?[]:void 0,v]):n(),R;var _=new Dn(he,n,R,{lazy:!0});_.noRecurse=!t;var y=m?[]:it;return _.run=function(){if(_.active)if(t){var e=_.get();(a||h||(m?e.some(function(e,t){return z(e,y[t])}):z(e,y)))&&(r&&r(),f(t,Ze,[e,y===it?void 0:y,v]),y=e)}else _.get()},"sync"===l?_.update=_.run:"post"===l?(_.post=!0,_.update=function(){return Qn(_)}):_.update=function(){if(d&&d===he&&!d._isMounted){var e=d._preWatchers||(d._preWatchers=[]);e.indexOf(_)<0&&e.push(_)}else Qn(_)},t?o?_.run():y=_.get():"post"===l&&d?d.$once("hook:mounted",function(){return _.get()}):_.get(),function(){_.teardown()}}var at=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined&&arguments[0];(0,i["default"])(this,e),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=rt,!t&&rt&&(this.index=(rt.scopes||(rt.scopes=[])).push(this)-1)}return(0,o["default"])(e,[{key:"run",value:function(e){if(this.active){var t=rt;try{return rt=this,e()}finally{rt=t}}}},{key:"on",value:function(){rt=this}},{key:"off",value:function(){rt=this.parent}},{key:"stop",value:function(e){if(this.active){var t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var 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}}}]),e}();function st(){return rt}function ut(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}var ct=x(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function lt(e,t){function n(){var e=n.fns;if(!u(e))return Xt(e,null,arguments,t,"v-on handler");for(var r=e.slice(),i=0;i<r.length;i++)Xt(r[i],null,arguments,t,"v-on handler")}return n.fns=e,n}function dt(e,t,n,r,i,o){var a,s,u,l;for(a in e)s=e[a],u=t[a],l=ct(a),c(s)||(c(u)?(c(s.fns)&&(s=e[a]=lt(s,o)),d(l.once)&&(s=e[a]=i(l.name,s,l.capture)),n(l.name,s,l.capture,l.passive,l.params)):s!==u&&(u.fns=s,e[a]=u));for(a in t)c(e[a])&&r((l=ct(a)).name,t[a],l.capture)}function ft(e,t,n){var r;e instanceof ge&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function o(){n.apply(this,arguments),A(r.fns,o)}c(i)?r=lt([o]):l(i.fns)&&d(i.merged)?(r=i).fns.push(o):r=lt([i,o]),r.merged=!0,e[t]=r}function pt(e,t,n,r,i){if(l(t)){if(I(t,n))return e[n]=t[n],i||delete t[n],!0;if(I(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function ht(e){return f(e)?[_e(e)]:u(e)?gt(e):void 0}function mt(e){return l(e)&&l(e.text)&&!1===e.isComment}function gt(e,t){var n,r,i,o,a=[];for(n=0;n<e.length;n++)c(r=e[n])||"boolean"==typeof r||(o=a[i=a.length-1],u(r)?r.length>0&&(mt((r=gt(r,"".concat(t||"","_").concat(n)))[0])&&mt(o)&&(a[i]=_e(o.text+r[0].text),r.shift()),a.push.apply(a,r)):f(r)?mt(o)?a[i]=_e(o.text+r):""!==r&&a.push(_e(r)):mt(r)&&mt(o)?a[i]=_e(o.text+r.text):(d(e._isVList)&&l(r.tag)&&c(r.key)&&l(t)&&(r.key="__vlist".concat(t,"_").concat(n,"__")),a.push(r)));return a}function vt(e,t){var n,r,i,o,a=null;if(u(e)||"string"==typeof e)for(a=new Array(e.length),n=0,r=e.length;n<r;n++)a[n]=t(e[n],n);else if("number"==typeof e)for(a=new Array(e),n=0;n<e;n++)a[n]=t(n+1,n);else if(h(e))if(pe&&e[Symbol.iterator]){a=[];for(var s=e[Symbol.iterator](),c=s.next();!c.done;)a.push(t(c.value,a.length)),c=s.next()}else for(i=Object.keys(e),a=new Array(i.length),n=0,r=i.length;n<r;n++)o=i[n],a[n]=t(e[o],o,n);return l(a)||(a=[]),a._isVList=!0,a}function _t(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=F(F({},r),n)),i=o(n)||(p(t)?t():t)):i=this.$slots[e]||(p(t)?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function yt(e){return mr(this.$options,"filters",e)||$}function bt(e,t){return u(e)?-1===e.indexOf(t):e!==t}function kt(e,t,n,r,i){var o=W.keyCodes[t]||n;return i&&r&&!W.keyCodes[t]?bt(i,r):o?bt(o,e):r?N(r)!==t:void 0===e}function wt(e,t,n,r,i){if(n&&h(n)){var o;u(n)&&(n=L(n));var a=function(a){if("class"===a||"style"===a||E(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||W.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var u=D(a),c=N(a);u in o||c in o||(o[a]=n[a],!i)||((e.on||(e.on={}))["update:".concat(a)]=function(e){n[a]=e})};for(var s in n)a(s)}return e}function Et(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||Ct(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),"__static__".concat(e),!1),r}function At(e,t,n){return Ct(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function Ct(e,t,n){if(u(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&It(e[r],"".concat(t,"_").concat(r),n);else It(e,t,n)}function It(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function xt(e,t){if(t&&g(t)){var n=e.on=e.on?F({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}return e}function St(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];u(o)?St(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function Dt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Ot(e,t){return"string"==typeof e?t+e:e}function Tt(e){e._o=At,e._n=k,e._s=y,e._l=vt,e._t=_t,e._q=U,e._i=G,e._m=Et,e._f=yt,e._k=kt,e._b=wt,e._v=_e,e._e=ve,e._u=St,e._g=xt,e._d=Dt,e._p=Ot}function Nt(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n["default"]||(n["default"]=[])).push(o);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var c in n)n[c].every(Mt)&&delete n[c];return n}function Mt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Pt(e){return e.isComment&&e.asyncFactory}function Ft(e,t,n,r){var i,o=Object.keys(n).length>0,a=t?!!t.$stable:!o,u=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==s&&u===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Lt(e,n,c,t[c]))}else i={};for(var l in n)l in i||(i[l]=Rt(n,l));return t&&Object.isExtensible(t)&&(t._normalized=i),X(i,"$stable",a),X(i,"$key",u),X(i,"$hasNormal",o),i}function Lt(e,t,n,r){var i=function(){var t=he;me(e);var n=arguments.length?r.apply(null,arguments):r({}),i=(n=n&&"object"==(0,a["default"])(n)&&!u(n)?[n]:ht(n))&&n[0];return me(t),n&&(!i||1===n.length&&i.isComment&&!Pt(i))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function Rt(e,t){return function(){return e[t]}}function jt(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};X(t,"_v_attr_proxy",!0),$t(t,e.$attrs,s,e,"$attrs")}return e._attrsProxy},get listeners(){return e._listenersProxy||$t(e._listenersProxy={},e.$listeners,s,e,"$listeners"),e._listenersProxy},get slots(){return function(e){return e._slotsProxy||Gt(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}(e)},emit:M(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return We(e,t,n)})}}}function $t(e,t,n,r,i){var o=!1;for(var a in t)a in e?t[a]!==n[a]&&(o=!0):(o=!0,Ut(e,a,r,i));for(var s in e)s in t||(o=!0,delete e[s]);return o}function Ut(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Gt(e,t){for(var n in t)e[n]=t[n];for(var r in e)r in t||delete e[r]}function Bt(){var e=he;return e._setupContext||(e._setupContext=jt(e))}var zt=null;function Ht(e,t){return(e.__esModule||pe&&"Module"===e[Symbol.toStringTag])&&(e=e["default"]),h(e)?t.extend(e):e}function qt(e){if(u(e))for(var t=0;t<e.length;t++){var n=e[t];if(l(n)&&(l(n.componentOptions)||Pt(n)))return n}}function Vt(e,t,n,r,i,o){return(u(n)||f(n))&&(i=r,r=n,n=void 0),d(o)&&(i=2),function(e,t,n,r,i){return l(n)&&l(n.__ob__)?ve():(l(n)&&l(n.is)&&(t=n.is),t?(u(r)&&p(r[0])&&((n=n||{}).scopedSlots={"default":r[0]},r.length=0),2===i?r=ht(r):1===i&&(r=function(e){for(var t=0;t<e.length;t++)if(u(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t?(a=e.$vnode&&e.$vnode.ns||W.getTagNamespace(t),o=W.isReservedTag(t)?new ge(W.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!l(s=mr(e.$options,"components",t))?new ge(t,n,r,void 0,void 0,e):or(s,n,e,r,t)):o=or(t,n,e,r),u(o)?o:l(o)?(l(a)&&Wt(o,a),l(n)&&function(e){h(e.style)&&Cn(e.style),h(e["class"])&&Cn(e["class"])}(n),o):ve()):ve());var o,a,s}(e,t,n,r,i)}function Wt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),l(e.children))for(var r=0,i=e.children.length;r<i;r++){var o=e.children[r];l(o.tag)&&(c(o.ns)||d(n)&&"svg"!==o.tag)&&Wt(o,t,n)}}function Kt(e,t,n){Ae();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){Yt(e,r,"errorCaptured hook")}}Yt(e,t,n)}finally{Ce()}}function Xt(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&_(o)&&!o._handled&&(o["catch"](function(e){return Kt(e,r,i+" (Promise/async)")}),o._handled=!0)}catch(e){Kt(e,r,i)}return o}function Yt(e,t,n){if(W.errorHandler)try{return W.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Qt(t)}Qt(e)}function Qt(e,t,n){if(!J||"undefined"==typeof console)throw e;console.error(e)}var Jt,Zt=!1,en=[],tn=!1;function nn(){tn=!1;var e=en.slice(0);en.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&de(Promise)){var rn=Promise.resolve();Jt=function(){rn.then(nn),re&&setTimeout(R)},Zt=!0}else if(ee||"undefined"==typeof MutationObserver||!de(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Jt="undefined"!=typeof setImmediate&&de(setImmediate)?function(){setImmediate(nn)}:function(){setTimeout(nn,0)};else{var on=1,an=new MutationObserver(nn),sn=document.createTextNode(String(on));an.observe(sn,{characterData:!0}),Jt=function(){on=(on+1)%2,sn.data=String(on)},Zt=!0}function un(e,t){var n;if(en.push(function(){if(e)try{e.call(t)}catch(e){Kt(e,t,"nextTick")}else n&&n(t)}),tn||(tn=!0,Jt()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}function cn(e){return function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:he;if(n)return function(e,t,n){var r=e.$options;r[t]=dr(r[t],n)}(n,e,t)}}var ln=cn("beforeMount"),dn=cn("mounted"),fn=cn("beforeUpdate"),pn=cn("updated"),hn=cn("beforeDestroy"),mn=cn("destroyed"),gn=cn("activated"),vn=cn("deactivated"),_n=cn("serverPrefetch"),yn=cn("renderTracked"),bn=cn("renderTriggered"),kn=cn("errorCaptured"),wn="2.7.16",En=Object.freeze({__proto__:null,version:wn,defineComponent:function(e){return e},ref:function(e){return Ve(e,!1)},shallowRef:function(e){return Ve(e,!0)},isRef:qe,toRef:Ke,toRefs:function(e){var t=u(e)?new Array(e.length):{};for(var n in e)t[n]=Ke(e,n);return t},unref:function(e){return qe(e)?e.value:e},proxyRefs:function(e){if(Ge(e))return e;for(var t={},n=Object.keys(e),r=0;r<n.length;r++)We(t,e,n[r]);return t},customRef:function(e){var t=new we,n=e(function(){t.depend()},function(){t.notify()}),r=n.get,i=n.set,o={get value(){return r()},set value(e){i(e)}};return X(o,He,!0),o},triggerRef:function(e){e.dep&&e.dep.notify()},reactive:function(e){return Ue(e,!1),e},isReactive:Ge,isReadonly:ze,isShallow:Be,isProxy:function(e){return Ge(e)||ze(e)},shallowReactive:$e,markRaw:function(e){return Object.isExtensible(e)&&X(e,"__v_skip",!0),e},toRaw:function qo(e){var t=e&&e.__v_raw;return t?qo(t):e},readonly:Xe,shallowReadonly:function(e){return Ye(e,!0)},computed:function(e,t){var n,r,i=p(e);i?(n=e,r=R):(n=e.get,r=e.set);var o=ce()?null:new Dn(he,n,R,{lazy:!0}),a={effect:o,get value(){return o?(o.dirty&&o.evaluate(),we.target&&o.depend(),o.value):n()},set value(e){r(e)}};return X(a,He,!0),X(a,"__v_isReadonly",i),a},watch:function(e,t,n){return ot(e,t,n)},watchEffect:function(e,t){return ot(e,null,t)},watchPostEffect:nt,watchSyncEffect:function(e,t){return ot(e,null,{flush:"sync"})},EffectScope:at,effectScope:function(e){return new at(e)},onScopeDispose:function(e){rt&&rt.cleanups.push(e)},getCurrentScope:st,provide:function(e,t){he&&(ut(he)[e]=t)},inject:function(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=he;if(r){var i=r.$parent&&r.$parent._provided;if(i&&e in i)return i[e];if(arguments.length>1)return n&&p(t)?t.call(r):t}},h:function(e,t,n){return Vt(he,e,t,n,2,!0)},getCurrentInstance:function(){return he&&{proxy:he}},useSlots:function(){return Bt().slots},useAttrs:function(){return Bt().attrs},useListeners:function(){return Bt().listeners},mergeDefaults:function(e,t){var n=u(e)?e.reduce(function(e,t){return e[t]={},e},{}):e;for(var r in t){var i=n[r];i?u(i)||p(i)?n[r]={type:i,"default":t[r]}:i["default"]=t[r]:null===i&&(n[r]={"default":t[r]})}return n},nextTick:un,set:Le,del:Re,useCssModule:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"$style";return he&&he[e]||s},useCssVars:function(e){if(J){var t=he;t&&nt(function(){var n=t.$el,r=e(t,t._setupProxy);if(n&&1===n.nodeType){var i=n.style;for(var o in r)i.setProperty("--".concat(o),r[o])}})}},defineAsyncComponent:function(e){p(e)&&(e={loader:e});var t=e,n=t.loader,r=t.loadingComponent,i=t.errorComponent,o=t.delay,a=void 0===o?200:o,s=t.timeout,u=(t.suspensible,t.onError),c=null,l=0,d=function f(){var e;return c||(e=c=n()["catch"](function(e){if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(function(t,n){u(e,function(){return t((l++,c=null,f()))},function(){return n(e)},l+1)});throw e}).then(function(t){return e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t["default"]),t)}))};return function(){return{component:d(),delay:a,timeout:s,error:i,loading:r}}},onBeforeMount:ln,onMounted:dn,onBeforeUpdate:fn,onUpdated:pn,onBeforeUnmount:hn,onUnmounted:mn,onActivated:gn,onDeactivated:vn,onServerPrefetch:_n,onRenderTracked:yn,onRenderTriggered:bn,onErrorCaptured:function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:he;kn(e,t)}}),An=new fe;function Cn(e){return In(e,An),An.clear(),e}function In(e,t){var n,r,i=u(e);if(!(!i&&!h(e)||e.__v_skip||Object.isFrozen(e)||e instanceof ge)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)In(e[n],t);else if(qe(e))In(e.value,t);else for(n=(r=Object.keys(e)).length;n--;)In(e[r[n]],t)}}var xn,Sn=0,Dn=function(){function e(t,n,r,o,a){(0,i["default"])(this,e),function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:rt;t&&t.active&&t.effects.push(e)}(this,rt&&!rt._vm?rt:t?t._scope:void 0),(this.vm=t)&&a&&(t._watcher=this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++Sn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fe,this.newDepIds=new fe,this.expression="",p(n)?this.getter=n:(this.getter=function(e){if(!Y.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(n),this.getter||(this.getter=R)),this.value=this.lazy?void 0:this.get()}return(0,o["default"])(e,[{key:"get",value:function(){var e;Ae(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Kt(e,t,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Cn(e),Ce(),this.cleanupDeps()}return e}},{key:"addDep",value:function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))}},{key:"cleanupDeps",value:function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0}},{key:"update",value:function(){this.lazy?this.dirty=!0:this.sync?this.run():Qn(this)}},{key:"run",value:function(){if(this.active){var e=this.get();if(e!==this.value||h(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Xt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}}},{key:"evaluate",value:function(){this.value=this.get(),this.dirty=!1}},{key:"depend",value:function(){for(var e=this.deps.length;e--;)this.deps[e].depend()}},{key:"teardown",value:function(){if(this.vm&&!this.vm._isBeingDestroyed&&A(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}}}]),e}();function On(e,t){xn.$on(e,t)}function Tn(e,t){xn.$off(e,t)}function Nn(e,t){var n=xn;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function Mn(e,t,n){xn=e,dt(t,n||{},On,Tn,Nn,e),xn=void 0}var Pn=null;function Fn(e){var t=Pn;return Pn=e,function(){Pn=t}}function Ln(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Rn(e,t){if(t){if(e._directInactive=!1,Ln(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Rn(e.$children[n]);$n(e,"activated")}}function jn(e,t){if(!(t&&(e._directInactive=!0,Ln(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)jn(e.$children[n]);$n(e,"deactivated")}}function $n(e,t,n){var r=!(arguments.length>3&&arguments[3]!==undefined)||arguments[3];Ae();var i=he,o=st();r&&me(e);var a=e.$options[t],s="".concat(t," hook");if(a)for(var u=0,c=a.length;u<c;u++)Xt(a[u],e,n||null,e,s);e._hasHookEvent&&e.$emit("hook:"+t),r&&(me(i),o&&o.on()),Ce()}var Un=[],Gn=[],Bn={},zn=!1,Hn=!1,qn=0,Vn=0,Wn=Date.now;if(J&&!ee){var Kn=window.performance;Kn&&"function"==typeof Kn.now&&Wn()>document.createEvent("Event").timeStamp&&(Wn=function(){return Kn.now()})}var Xn=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Yn(){var e,t;for(Vn=Wn(),Hn=!0,Un.sort(Xn),qn=0;qn<Un.length;qn++)(e=Un[qn]).before&&e.before(),t=e.id,Bn[t]=null,e.run();var n=Gn.slice(),r=Un.slice();qn=Un.length=Gn.length=0,Bn={},zn=Hn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Rn(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&$n(r,"updated")}}(r),function(){for(var e=0;e<ke.length;e++){var t=ke[e];t.subs=t.subs.filter(function(e){return e}),t._pending=!1}ke.length=0}(),le&&W.devtools&&le.emit("flush")}function Qn(e){var t=e.id;if(null==Bn[t]&&(e!==we.target||!e.noRecurse)){if(Bn[t]=!0,Hn){for(var n=Un.length-1;n>qn&&Un[n].id>e.id;)n--;Un.splice(n+1,0,e)}else Un.push(e);zn||(zn=!0,un(Yn))}}function Jn(e,t){if(e){for(var n=Object.create(null),r=pe?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=e[o].from;if(a in t._provided)n[o]=t._provided[a];else if("default"in e[o]){var s=e[o]["default"];n[o]=p(s)?s.call(t):s}}}return n}}function Zn(e,t,n,r,i){var o,a=this,c=i.options;I(r,"_uid")?(o=Object.create(r))._original=r:(o=r,r=r._original);var l=d(c._compiled),f=!l;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||s,this.injections=Jn(c.inject,r),this.slots=function(){return a.$slots||Ft(r,e.scopedSlots,a.$slots=Nt(n,r)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ft(r,e.scopedSlots,this.slots())}}),l&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Ft(r,e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var a=Vt(o,e,t,n,i,f);return a&&!u(a)&&(a.fnScopeId=c._scopeId,a.fnContext=r),a}:this._c=function(e,t,n,r){return Vt(o,e,t,n,r,f)}}function er(e,t,n,r,i){var o=ye(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function tr(e,t){for(var n in t)e[D(n)]=t[n]}function nr(e){return e.name||e.__name||e._componentTag}Tt(Zn.prototype);var rr={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;rr.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return l(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,Pn)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){var o=r.data.scopedSlots,a=e.$scopedSlots,u=!!(o&&!o.$stable||a!==s&&!a.$stable||o&&e.$scopedSlots.$key!==o.$key||!o&&e.$scopedSlots.$key),c=!!(i||e.$options._renderChildren||u),l=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i;var d=r.data.attrs||s;e._attrsProxy&&$t(e._attrsProxy,d,l.data&&l.data.attrs||s,e,"$attrs")&&(c=!0),e.$attrs=d,n=n||s;var f=e.$options._parentListeners;if(e._listenersProxy&&$t(e._listenersProxy,n,f||s,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,Mn(e,n,f),t&&e.$options.props){Te(!1);for(var p=e._props,h=e.$options._propKeys||[],m=0;m<h.length;m++){var g=h[m],v=e.$options.props;p[g]=gr(g,v,t,e)}Te(!0),e.$options.propsData=t}c&&(e.$slots=Nt(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,$n(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,Gn.push(t)):Rn(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?jn(t,!0):t.$destroy())}},ir=Object.keys(rr);function or(e,t,n,r,i){if(!c(e)){var o=n.$options._base;if(h(e)&&(e=o.extend(e)),"function"==typeof e){var a;if(c(e.cid)&&(e=function(e,t){if(d(e.error)&&l(e.errorComp))return e.errorComp;if(l(e.resolved))return e.resolved;var n=zt;if(n&&l(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),d(e.loading)&&l(e.loadingComp))return e.loadingComp;if(n&&!l(e.owners)){var r=e.owners=[n],i=!0,o=null,a=null;n.$on("hook:destroyed",function(){return A(r,n)});var s=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==o&&(clearTimeout(o),o=null),null!==a&&(clearTimeout(a),a=null))},u=B(function(n){e.resolved=Ht(n,t),i?r.length=0:s(!0)}),f=B(function(t){l(e.errorComp)&&(e.error=!0,s(!0))}),p=e(u,f);return h(p)&&(_(p)?c(e.resolved)&&p.then(u,f):_(p.component)&&(p.component.then(u,f),l(p.error)&&(e.errorComp=Ht(p.error,t)),l(p.loading)&&(e.loadingComp=Ht(p.loading,t),0===p.delay?e.loading=!0:o=setTimeout(function(){o=null,c(e.resolved)&&c(e.error)&&(e.loading=!0,s(!1))},p.delay||200)),l(p.timeout)&&(a=setTimeout(function(){a=null,c(e.resolved)&&f(null)},p.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}(a=e,o),void 0===e))return function(e,t,n,r,i){var o=ve();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(a,t,n,r,i);t=t||{},Or(e),l(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),o=i[r],a=t.model.callback;l(o)?(u(o)?-1===o.indexOf(a):o!==a)&&(i[r]=[a].concat(o)):i[r]=a}(e.options,t);var f=function(e,t){var n=t.options.props;if(!c(n)){var r={},i=e.attrs,o=e.props;if(l(i)||l(o))for(var a in n){var s=N(a);pt(r,o,a,s,!0)||pt(r,i,a,s,!1)}return r}}(t,e);if(d(e.options.functional))return function(e,t,n,r,i){var o=e.options,a={},c=o.props;if(l(c))for(var d in c)a[d]=gr(d,c,t||s);else l(n.attrs)&&tr(a,n.attrs),l(n.props)&&tr(a,n.props);var f=new Zn(n,a,i,r,e),p=o.render.call(null,f._c,f);if(p instanceof ge)return er(p,n,f.parent,o);if(u(p)){for(var h=ht(p)||[],m=new Array(h.length),g=0;g<h.length;g++)m[g]=er(h[g],n,f.parent,o);return m}}(e,f,t,n,r);var p=t.on;if(t.on=t.nativeOn,d(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<ir.length;n++){var r=ir[n],i=t[r],o=rr[r];i===o||i&&i._merged||(t[r]=i?ar(o,i):o)}}(t);var g=nr(e.options)||i;return new ge("vue-component-".concat(e.cid).concat(g?"-".concat(g):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:p,tag:i,children:r},a)}}}function ar(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var sr=R,ur=W.optionMergeStrategies;function cr(e,t){var n,r,i,o=!(arguments.length>2&&arguments[2]!==undefined)||arguments[2];if(!t)return e;for(var a=pe?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)"__ob__"!==(n=a[s])&&(r=e[n],i=t[n],o&&I(e,n)?r!==i&&g(r)&&g(i)&&cr(r,i):Le(e,n,i));return e}function lr(e,t,n){return n?function(){var r=p(t)?t.call(n,n):t,i=p(e)?e.call(n,n):e;return r?cr(r,i):i}:t?e?function(){return cr(p(t)?t.call(this,this):t,p(e)?e.call(this,this):e)}:t:e}function dr(e,t){var n=t?e?e.concat(t):u(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function fr(e,t,n,r){var i=Object.create(e||null);return t?F(i,t):i}ur.data=function(e,t,n){return n?lr(e,t,n):t&&"function"!=typeof t?e:lr(e,t)},V.forEach(function(e){ur[e]=dr}),q.forEach(function(e){ur[e+"s"]=fr}),ur.watch=function(e,t,n,r){if(e===ae&&(e=void 0),t===ae&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in F(i,e),t){var a=i[o],s=t[o];a&&!u(a)&&(a=[a]),i[o]=a?a.concat(s):u(s)?s:[s]}return i},ur.props=ur.methods=ur.inject=ur.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return F(i,e),t&&F(i,t),i},ur.provide=function(e,t){return e?function(){var n=Object.create(null);return cr(n,p(e)?e.call(this):e),t&&cr(n,p(t)?t.call(this):t,!1),n}:t};var pr=function(e,t){return void 0===t?e:t};function hr(e,t,n){if(p(t)&&(t=t.options),function(e){var t=e.props;if(t){var n,r,i={};if(u(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(i[D(r)]={type:null});else if(g(t))for(var o in t)r=t[o],i[D(o)]=g(r)?r:{type:r};e.props=i}}(t),function(e){var t=e.inject;if(t){var n=e.inject={};if(u(t))for(var r=0;r<t.length;r++)n[t[r]]={from:t[r]};else if(g(t))for(var i in t){var o=t[i];n[i]=g(o)?F({from:i},o):{from:o}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];p(r)&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t["extends"]&&(e=hr(e,t["extends"],n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=hr(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)I(e,o)||s(o);function s(r){var i=ur[r]||pr;a[r]=i(e[r],t[r],n,r)}return a}function mr(e,t,n,r){if("string"==typeof n){var i=e[t];if(I(i,n))return i[n];var o=D(n);if(I(i,o))return i[o];var a=O(o);return I(i,a)?i[a]:i[n]||i[o]||i[a]}}function gr(e,t,n,r){var i=t[e],o=!I(n,e),a=n[e],s=br(Boolean,i.type);if(s>-1)if(o&&!I(i,"default"))a=!1;else if(""===a||a===N(e)){var u=br(String,i.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(I(t,"default")){var r=t["default"];return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:p(r)&&"Function"!==_r(t.type)?r.call(e):r}}(r,i,e);var c=Oe;Te(!0),Pe(a),Te(c)}return a}var vr=/^\s*function (\w+)/;function _r(e){var t=e&&e.toString().match(vr);return t?t[1]:""}function yr(e,t){return _r(e)===_r(t)}function br(e,t){if(!u(t))return yr(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(yr(t[n],e))return n;return-1}var kr={enumerable:!0,configurable:!0,get:R,set:R};function wr(e,t,n){kr.get=function(){return this[t][n]},kr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,kr)}function Er(e){var t=e.$options;if(t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props=$e({}),i=e.$options._propKeys=[],o=!e.$parent;for(var a in o||Te(!1),t)i.push(a),Fe(r,a,gr(a,t,n,e),void 0,!0),a in e||wr(e,"_props",a);Te(!0)}(e,t.props),function(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=jt(e);me(e),Ae();var i=Xt(n,null,[e._props||$e({}),r],e,"setup");if(Ce(),me(),p(i))t.render=i;else if(h(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var a in i)"__sfc"!==a&&We(o,i,a)}else for(var s in i)K(s)||We(e,i,s)}}(e),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?R:M(t[n],e)}(e,t.methods),t.data)!function(e){var t=e.$options.data;g(t=e._data=p(t)?function(e,t){Ae();try{return e.call(t,t)}catch(e){return Kt(e,t,"data()"),{}}finally{Ce()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props;e.$options.methods;for(var i=n.length;i--;){var o=n[i];r&&I(r,o)||K(o)||wr(e,"_data",o)}var a=Pe(t);a&&a.vmCount++}(e);else{var n=Pe(e._data={});n&&n.vmCount++}t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ce();for(var i in t){var o=t[i],a=p(o)?o:o.get;r||(n[i]=new Dn(e,a||R,R,Ar)),i in e||Cr(e,i,o)}}(e,t.computed),t.watch&&t.watch!==ae&&function(e,t){for(var n in t){var r=t[n];if(u(r))for(var i=0;i<r.length;i++)Sr(e,n,r[i]);else Sr(e,n,r)}}(e,t.watch)}var Ar={lazy:!0};function Cr(e,t,n){var r=!ce();p(n)?(kr.get=r?Ir(t):xr(n),kr.set=R):(kr.get=n.get?r&&!1!==n.cache?Ir(t):xr(n.get):R,kr.set=n.set||R),Object.defineProperty(e,t,kr)}function Ir(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),we.target&&t.depend(),t.value}}function xr(e){return function(){return e.call(this,this)}}function Sr(e,t,n,r){return g(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var Dr=0;function Or(e){var t=e.options;if(e["super"]){var n=Or(e["super"]);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&F(e.extendOptions,r),(t=e.options=hr(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Tr(e){this._init(e)}function Nr(e){return e&&(nr(e.Ctor.options)||e.tag)}function Mr(e,t){return u(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===m.call(n)&&e.test(t));var n}function Pr(e,t){var n=e.cache,r=e.keys,i=e._vnode,o=e.$vnode;for(var a in n){var s=n[a];if(s){var u=s.name;u&&!t(u)&&Fr(n,a,r,i)}}o.componentOptions.children=void 0}function Fr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,A(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=Dr++,t._isVue=!0,t.__v_skip=!0,t._scope=new at(!0),t._scope.parent=void 0,t._scope._vm=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=hr(Or(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Mn(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=Nt(t._renderChildren,r),e.$scopedSlots=n?Ft(e.$parent,n.data.scopedSlots,e.$slots):s,e._c=function(t,n,r,i){return Vt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Vt(e,t,n,r,i,!0)};var i=n&&n.data;Fe(e,"$attrs",i&&i.attrs||s,null,!0),Fe(e,"$listeners",t._parentListeners||s,null,!0)}(t),$n(t,"beforeCreate",void 0,!1),function(e){var t=Jn(e.$options.inject,e);t&&(Te(!1),Object.keys(t).forEach(function(n){Fe(e,n,t[n])}),Te(!0))}(t),Er(t),function(e){var t=e.$options.provide;if(t){var n=p(t)?t.call(e):t;if(!h(n))return;for(var r=ut(e),i=pe?Reflect.ownKeys(n):Object.keys(n),o=0;o<i.length;o++){var a=i[o];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}(t),$n(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Tr),function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Le,e.prototype.$delete=Re,e.prototype.$watch=function(e,t,n){var r=this;if(g(t))return Sr(r,e,t,n);(n=n||{}).user=!0;var i=new Dn(r,e,t,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');Ae(),Xt(t,r,[i.value],r,o),Ce()}return function(){i.teardown()}}}(Tr),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(u(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(u(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;for(var a,s=o.length;s--;)if((a=o[s])===t||a.fn===t){o.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?P(n):n;for(var r=P(arguments,1),i='event handler for "'.concat(e,'"'),o=0,a=n.length;o<a;o++)Xt(n[o],t,r,t,i)}return t}}(Tr),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=Fn(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){$n(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||A(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),$n(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Tr),function(e){Tt(e.prototype),e.prototype.$nextTick=function(e){return un(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t._parentVnode;r&&e._isMounted&&(e.$scopedSlots=Ft(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Gt(e._slotsProxy,e.$scopedSlots)),e.$vnode=r;var i,o=he,a=zt;try{me(e),zt=e,i=n.call(e._renderProxy,e.$createElement)}catch(u){Kt(u,e,"render"),i=e._vnode}finally{zt=a,me(o)}return u(i)&&1===i.length&&(i=i[0]),i instanceof ge||(i=ve()),i.parent=r,i}}(Tr);var Lr=[String,RegExp,Array],Rr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Lr,exclude:Lr,max:[String,Number]},methods:{cacheVNode:function(){var e=this.cache,t=this.keys,n=this.vnodeToCache,r=this.keyToCache;if(n){var i=n.tag,o=n.componentInstance,a=n.componentOptions;e[r]={name:Nr(a),tag:i,componentInstance:o},t.push(r),this.max&&t.length>parseInt(this.max)&&Fr(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Fr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Pr(e,function(e){return Mr(t,e)})}),this.$watch("exclude",function(t){Pr(e,function(e){return!Mr(t,e)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots["default"],t=qt(e),n=t&&t.componentOptions;if(n){var r=Nr(n),i=this.include,o=this.exclude;if(i&&(!r||!Mr(i,r))||o&&r&&Mr(o,r))return t;var a=this.cache,s=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;a[u]?(t.componentInstance=a[u].componentInstance,A(s,u),s.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return W}};Object.defineProperty(e,"config",t),e.util={warn:sr,extend:F,mergeOptions:hr,defineReactive:Fe},e.set=Le,e["delete"]=Re,e.nextTick=un,e.observable=function(e){return Pe(e),e},e.options=Object.create(null),q.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,F(e.options.components,Rr),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=P(arguments,1);return n.unshift(this),p(e.install)?e.install.apply(e,n):p(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=hr(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=nr(e)||nr(n.options),a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=hr(n.options,e),a["super"]=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)wr(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Cr(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,q.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=F({},a.options),i[r]=a,a}}(e),function(e){q.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&g(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&p(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Tr),Object.defineProperty(Tr.prototype,"$isServer",{get:ce}),Object.defineProperty(Tr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Tr,"FunctionalRenderContext",{value:Zn}),Tr.version=wn;var jr=w("style,class"),$r=w("input,textarea,option,select,progress"),Ur=w("contenteditable,draggable,spellcheck"),Gr=w("events,caret,typing,plaintext-only"),Br=w("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),zr="http://www.w3.org/1999/xlink",Hr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qr=function(e){return Hr(e)?e.slice(6,e.length):""},Vr=function(e){return null==e||!1===e};function Wr(e,t){return{staticClass:Kr(e.staticClass,t.staticClass),"class":l(e["class"])?[e["class"],t["class"]]:t["class"]}}function Kr(e,t){return e?t?e+" "+t:e:t||""}function Xr(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)l(t=Xr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):h(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Yr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Qr=w("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Jr=w("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Zr=function(e){return Qr(e)||Jr(e)},ei=Object.create(null),ti=w("text,number,password,search,email,tel,url"),ni=Object.freeze({__proto__:null,createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Yr[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ri={create:function(e,t){ii(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ii(e,!0),ii(t))},destroy:function(e){ii(e,!0)}};function ii(e,t){var n=e.data.ref;if(l(n)){var r=e.context,i=e.componentInstance||e.elm,o=t?null:i,a=t?void 0:i;if(p(n))Xt(n,r,[o],r,"template ref function");else{var s=e.data.refInFor,c="string"==typeof n||"number"==typeof n,d=qe(n),f=r.$refs;if(c||d)if(s){var h=c?f[n]:n.value;t?u(h)&&A(h,i):u(h)?h.includes(i)||h.push(i):c?(f[n]=[i],oi(r,n,f[n])):n.value=[i]}else if(c){if(t&&f[n]!==i)return;f[n]=a,oi(r,n,o)}else if(d){if(t&&n.value!==i)return;n.value=o}}}}function oi(e,t,n){var r=e._setupState;r&&I(r,t)&&(qe(r[t])?r[t].value=n:r[t]=n)}var ai=new ge("",{},[]),si=["create","activate","update","remove","destroy"];function ui(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&l(e.data)===l(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=l(n=e.data)&&l(n=n.attrs)&&n.type,i=l(n=t.data)&&l(n=n.attrs)&&n.type;return r===i||ti(r)&&ti(i)}(e,t)||d(e.isAsyncPlaceholder)&&c(t.asyncFactory.error))}function ci(e,t,n){var r,i,o={};for(r=t;r<=n;++r)l(i=e[r].key)&&(o[i]=r);return o}var li={create:di,update:di,destroy:function(e){di(e,ai)}};function di(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,o=e===ai,a=t===ai,s=pi(e.data.directives,e.context),u=pi(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,i.oldArg=r.arg,mi(i,"update",t,e),i.def&&i.def.componentUpdated&&l.push(i)):(mi(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n<c.length;n++)mi(c[n],"inserted",t,e)};o?ft(t,"insert",d):d()}if(l.length&&ft(t,"postpatch",function(){for(var n=0;n<l.length;n++)mi(l[n],"componentUpdated",t,e)}),!o)for(n in s)u[n]||mi(s[n],"unbind",e,e,a)}(e,t)}var fi=Object.create(null);function pi(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++){if((r=e[n]).modifiers||(r.modifiers=fi),i[hi(r)]=r,t._setupState&&t._setupState.__sfc){var o=r.def||mr(t,"_setupState","v-"+r.name);r.def="function"==typeof o?{bind:o,update:o}:o}r.def=r.def||mr(t.$options,"directives",r.name)}return i}function hi(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function mi(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){Kt(r,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var gi=[ri,li];function vi(e,t){var n=t.componentOptions;if(!(l(n)&&!1===n.Ctor.options.inheritAttrs||c(e.data.attrs)&&c(t.data.attrs))){var r,i,o=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(r in(l(s.__ob__)||d(s._v_attr_proxy))&&(s=t.data.attrs=F({},s)),s)i=s[r],a[r]!==i&&_i(o,r,i,t.data.pre);for(r in(ee||ne)&&s.value!==a.value&&_i(o,"value",s.value),a)c(s[r])&&(Hr(r)?o.removeAttributeNS(zr,qr(r)):Ur(r)||o.removeAttribute(r))}}function _i(e,t,n,r){r||e.tagName.indexOf("-")>-1?yi(e,t,n):Br(t)?Vr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ur(t)?e.setAttribute(t,function(e,t){return Vr(t)||"false"===t?"false":"contenteditable"===e&&Gr(t)?t:"true"}(t,n)):Hr(t)?Vr(n)?e.removeAttributeNS(zr,qr(t)):e.setAttributeNS(zr,t,n):yi(e,t,n)}function yi(e,t,n){Vr(n)?e.removeAttribute(t):(!ee||te||"TEXTAREA"!==e.tagName||"placeholder"!==t||""===n||e.__ieph||(e.addEventListener("input",function r(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)}),e.__ieph=!0),e.setAttribute(t,n))}var bi={create:vi,update:vi};function ki(e,t){var n=t.elm,r=t.data,i=e.data;if(!(c(r.staticClass)&&c(r["class"])&&(c(i)||c(i.staticClass)&&c(i["class"])))){var o=function(e){for(var t=e.data,n=e,r=e;l(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Wr(r.data,t));for(;l(n=n.parent);)n&&n.data&&(t=Wr(t,n.data));return function(e,t){return l(e)||l(t)?Kr(e,Xr(t)):""}(t.staticClass,t["class"])}(t),a=n._transitionClasses;l(a)&&(o=Kr(o,Xr(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var wi,Ei={create:ki,update:ki},Ai="__r",Ci="__c";function Ii(e,t,n){var r=wi;return function i(){null!==t.apply(null,arguments)&&Di(e,i,n,r)}}var xi=Zt&&!(oe&&Number(oe[1])<=53);function Si(e,t,n,r){if(xi){var i=Vn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}wi.addEventListener(e,t,se?{capture:n,passive:r}:n)}function Di(e,t,n,r){(r||wi).removeEventListener(e,t._wrapper||t,n)}function Oi(e,t){if(!c(e.data.on)||!c(t.data.on)){var n=t.data.on||{},r=e.data.on||{};wi=t.elm||e.elm,function(e){if(l(e[Ai])){var t=ee?"change":"input";e[t]=[].concat(e[Ai],e[t]||[]),delete e[Ai]}l(e[Ci])&&(e.change=[].concat(e[Ci],e.change||[]),delete e[Ci])}(n),dt(n,r,Si,Di,Ii,t.context),wi=void 0}}var Ti,Ni={create:Oi,update:Oi,destroy:function(e){return Oi(e,ai)}};function Mi(e,t){if(!c(e.data.domProps)||!c(t.data.domProps)){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};for(n in(l(a.__ob__)||d(a._v_attr_proxy))&&(a=t.data.domProps=F({},a)),o)n in a||(i[n]="");for(n in a){if(r=a[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===o[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var s=c(r)?"":String(r);Pi(i,s)&&(i.value=s)}else if("innerHTML"===n&&Jr(i.tagName)&&c(i.innerHTML)){(Ti=Ti||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var u=Ti.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;u.firstChild;)i.appendChild(u.firstChild)}else if(r!==o[n])try{i[n]=r}catch(e){}}}}function Pi(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(l(r)){if(r.number)return k(n)!==k(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Fi={create:Mi,update:Mi},Li=x(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function Ri(e){var t=ji(e.style);return e.staticStyle?F(e.staticStyle,t):t}function ji(e){return Array.isArray(e)?L(e):"string"==typeof e?Li(e):e}var $i,Ui=/^--/,Gi=/\s*!important$/,Bi=function(e,t,n){if(Ui.test(t))e.style.setProperty(t,n);else if(Gi.test(n))e.style.setProperty(N(t),n.replace(Gi,""),"important");else{var r=Hi(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},zi=["Webkit","Moz","ms"],Hi=x(function(e){if($i=$i||document.createElement("div").style,"filter"!==(e=D(e))&&e in $i)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<zi.length;n++){var r=zi[n]+t;if(r in $i)return r}});function qi(e,t){var n=t.data,r=e.data;if(!(c(n.staticStyle)&&c(n.style)&&c(r.staticStyle)&&c(r.style))){var i,o,a=t.elm,s=r.staticStyle,u=r.normalizedStyle||r.style||{},d=s||u,f=ji(t.data.style)||{};t.data.normalizedStyle=l(f.__ob__)?F({},f):f;var p=function(e){for(var t,n={},r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(t=Ri(r.data))&&F(n,t);(t=Ri(e.data))&&F(n,t);for(var i=e;i=i.parent;)i.data&&(t=Ri(i.data))&&F(n,t);return n}(t);for(o in d)c(p[o])&&Bi(a,o,"");for(o in p)i=p[o],Bi(a,o,null==i?"":i)}}var Vi={create:qi,update:qi},Wi=/\s+/;function Ki(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Wi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Xi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Wi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Yi(e){if(e){if("object"==(0,a["default"])(e)){var t={};return!1!==e.css&&F(t,Qi(e.name||"v")),F(t,e),t}return"string"==typeof e?Qi(e):void 0}}var Qi=x(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Ji=J&&!te,Zi="transition",eo="animation",to="transition",no="transitionend",ro="animation",io="animationend";Ji&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(to="WebkitTransition",no="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ro="WebkitAnimation",io="webkitAnimationEnd"));var oo=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ao(e){oo(function(){oo(e)})}function so(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Ki(e,t))}function uo(e,t){e._transitionClasses&&A(e._transitionClasses,t),Xi(e,t)}function co(e,t,n){var r=fo(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Zi?no:io,u=0,c=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++u>=a&&c()};setTimeout(function(){u<a&&c()},o+1),e.addEventListener(s,l)}var lo=/\b(transform|all)(,|$)/;function fo(e,t){var n,r=window.getComputedStyle(e),i=(r[to+"Delay"]||"").split(", "),o=(r[to+"Duration"]||"").split(", "),a=po(i,o),s=(r[ro+"Delay"]||"").split(", "),u=(r[ro+"Duration"]||"").split(", "),c=po(s,u),l=0,d=0;return t===Zi?a>0&&(n=Zi,l=a,d=o.length):t===eo?c>0&&(n=eo,l=c,d=u.length):d=(n=(l=Math.max(a,c))>0?a>c?Zi:eo:null)?n===Zi?o.length:u.length:0,{type:n,timeout:l,propCount:d,hasTransform:n===Zi&&lo.test(r[to+"Property"])}}function po(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return ho(t)+ho(e[n])}))}function ho(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function mo(e,t){var n=e.elm;l(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Yi(e.data.transition);if(!c(r)&&!l(n._enterCb)&&1===n.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,s=r.enterToClass,u=r.enterActiveClass,d=r.appearClass,f=r.appearToClass,m=r.appearActiveClass,g=r.beforeEnter,v=r.enter,_=r.afterEnter,y=r.enterCancelled,b=r.beforeAppear,w=r.appear,E=r.afterAppear,A=r.appearCancelled,C=r.duration,I=Pn,x=Pn.$vnode;x&&x.parent;)I=x.context,x=x.parent;var S=!I._isMounted||!e.isRootInsert;if(!S||w||""===w){var D=S&&d?d:a,O=S&&m?m:u,T=S&&f?f:s,N=S&&b||g,M=S&&p(w)?w:v,P=S&&E||_,F=S&&A||y,L=k(h(C)?C.enter:C),R=!1!==i&&!te,j=_o(M),$=n._enterCb=B(function(){R&&(uo(n,T),uo(n,O)),$.cancelled?(R&&uo(n,D),F&&F(n)):P&&P(n),n._enterCb=null});e.data.show||ft(e,"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),M&&M(n,$)}),N&&N(n),R&&(so(n,D),so(n,O),ao(function(){uo(n,D),$.cancelled||(so(n,T),j||(vo(L)?setTimeout($,L):co(n,o,$)))})),e.data.show&&(t&&t(),M&&M(n,$)),R||j||$()}}}function go(e,t){var n=e.elm;l(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Yi(e.data.transition);if(c(r)||1!==n.nodeType)return t();if(!l(n._leaveCb)){var i=r.css,o=r.type,a=r.leaveClass,s=r.leaveToClass,u=r.leaveActiveClass,d=r.beforeLeave,f=r.leave,p=r.afterLeave,m=r.leaveCancelled,g=r.delayLeave,v=r.duration,_=!1!==i&&!te,y=_o(f),b=k(h(v)?v.leave:v),w=n._leaveCb=B(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),_&&(uo(n,s),uo(n,u)),w.cancelled?(_&&uo(n,a),m&&m(n)):(t(),p&&p(n)),n._leaveCb=null});g?g(E):E()}function E(){w.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),_&&(so(n,a),so(n,u),ao(function(){uo(n,a),w.cancelled||(so(n,s),y||(vo(b)?setTimeout(w,b):co(n,o,w)))})),f&&f(n,w),_||y||w())}}function vo(e){return"number"==typeof e&&!isNaN(e)}function _o(e){if(c(e))return!1;var t=e.fns;return l(t)?_o(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function yo(e,t){!0!==t.data.show&&mo(t)}var bo=function(e){var t,n,r={},i=e.modules,o=e.nodeOps;for(t=0;t<si.length;++t)for(r[si[t]]=[],n=0;n<i.length;++n)l(i[n][si[t]])&&r[si[t]].push(i[n][si[t]]);function a(e){var t=o.parentNode(e);l(t)&&o.removeChild(t,e)}function s(e,t,n,i,a,s,u){if(l(e.elm)&&l(s)&&(e=s[u]=ye(e)),e.isRootInsert=!a,!function(e,t,n,i){var o=e.data;if(l(o)){var a=l(e.componentInstance)&&o.keepAlive;if(l(o=o.hook)&&l(o=o.init)&&o(e,!1),l(e.componentInstance))return p(e,t),h(n,e.elm,i),d(a)&&function(e,t,n,i){for(var o,a=e;a.componentInstance;)if(l(o=(a=a.componentInstance._vnode).data)&&l(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](ai,a);t.push(a);break}h(n,e.elm,i)}(e,t,n,i),!0}}(e,t,n,i)){var c=e.data,f=e.children,g=e.tag;l(g)?(e.elm=e.ns?o.createElementNS(e.ns,g):o.createElement(g,e),_(e),m(e,f,t),l(c)&&v(e,t),h(n,e.elm,i)):d(e.isComment)?(e.elm=o.createComment(e.text),h(n,e.elm,i)):(e.elm=o.createTextNode(e.text),h(n,e.elm,i))}}function p(e,t){l(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),_(e)):(ii(e),t.push(e))}function h(e,t,n){l(e)&&(l(n)?o.parentNode(n)===e&&o.insertBefore(e,t,n):o.appendChild(e,t))}function m(e,t,n){if(u(t))for(var r=0;r<t.length;++r)s(t[r],n,e.elm,null,!0,t,r);else f(e.text)&&o.appendChild(e.elm,o.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return l(e.tag)}function v(e,n){for(var i=0;i<r.create.length;++i)r.create[i](ai,e);l(t=e.data.hook)&&(l(t.create)&&t.create(ai,e),l(t.insert)&&n.push(e))}function _(e){var t;if(l(t=e.fnScopeId))o.setStyleScope(e.elm,t);else for(var n=e;n;)l(t=n.context)&&l(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t),n=n.parent;l(t=Pn)&&t!==e.context&&t!==e.fnContext&&l(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t)}function y(e,t,n,r,i,o){for(;r<=i;++r)s(n[r],o,e,t,!1,n,r)}function b(e){var t,n,i=e.data;if(l(i))for(l(t=i.hook)&&l(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(l(t=e.children))for(n=0;n<e.children.length;++n)b(e.children[n])}function k(e,t,n){for(;t<=n;++t){var r=e[t];l(r)&&(l(r.tag)?(E(r),b(r)):a(r.elm))}}function E(e,t){if(l(t)||l(e.data)){var n,i=r.remove.length+1;for(l(t)?t.listeners+=i:t=function(e,t){function n(){0==--n.listeners&&a(e)}return n.listeners=t,n}(e.elm,i),l(n=e.componentInstance)&&l(n=n._vnode)&&l(n.data)&&E(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);l(n=e.data.hook)&&l(n=n.remove)?n(e,t):t()}else a(e.elm)}function A(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(l(o)&&ui(e,o))return i}}function C(e,t,n,i,a,u){if(e!==t){l(t.elm)&&l(i)&&(t=i[a]=ye(t));var f=t.elm=e.elm;if(d(e.isAsyncPlaceholder))l(t.asyncFactory.resolved)?S(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(d(t.isStatic)&&d(e.isStatic)&&t.key===e.key&&(d(t.isCloned)||d(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,h=t.data;l(h)&&l(p=h.hook)&&l(p=p.prepatch)&&p(e,t);var m=e.children,v=t.children;if(l(h)&&g(t)){for(p=0;p<r.update.length;++p)r.update[p](e,t);l(p=h.hook)&&l(p=p.update)&&p(e,t)}c(t.text)?l(m)&&l(v)?m!==v&&function(e,t,n,r,i){for(var a,u,d,f=0,p=0,h=t.length-1,m=t[0],g=t[h],v=n.length-1,_=n[0],b=n[v],w=!i;f<=h&&p<=v;)c(m)?m=t[++f]:c(g)?g=t[--h]:ui(m,_)?(C(m,_,r,n,p),m=t[++f],_=n[++p]):ui(g,b)?(C(g,b,r,n,v),g=t[--h],b=n[--v]):ui(m,b)?(C(m,b,r,n,v),w&&o.insertBefore(e,m.elm,o.nextSibling(g.elm)),m=t[++f],b=n[--v]):ui(g,_)?(C(g,_,r,n,p),w&&o.insertBefore(e,g.elm,m.elm),g=t[--h],_=n[++p]):(c(a)&&(a=ci(t,f,h)),c(u=l(_.key)?a[_.key]:A(_,t,f,h))?s(_,r,e,m.elm,!1,n,p):ui(d=t[u],_)?(C(d,_,r,n,p),t[u]=void 0,w&&o.insertBefore(e,d.elm,m.elm)):s(_,r,e,m.elm,!1,n,p),_=n[++p]);f>h?y(e,c(n[v+1])?null:n[v+1].elm,n,p,v,r):p>v&&k(t,f,h)}(f,m,v,n,u):l(v)?(l(e.text)&&o.setTextContent(f,""),y(f,null,v,0,v.length-1,n)):l(m)?k(m,0,m.length-1):l(e.text)&&o.setTextContent(f,""):e.text!==t.text&&o.setTextContent(f,t.text),l(h)&&l(p=h.hook)&&l(p=p.postpatch)&&p(e,t)}}}function I(e,t,n){if(d(n)&&l(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var x=w("attrs,class,staticClass,staticStyle,key");function S(e,t,n,r){var i,o=t.tag,a=t.data,s=t.children;if(r=r||a&&a.pre,t.elm=e,d(t.isComment)&&l(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(l(a)&&(l(i=a.hook)&&l(i=i.init)&&i(t,!0),l(i=t.componentInstance)))return p(t,n),!0;if(l(o)){if(l(s))if(e.hasChildNodes())if(l(i=a)&&l(i=i.domProps)&&l(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var u=!0,c=e.firstChild,f=0;f<s.length;f++){if(!c||!S(c,s[f],n,r)){u=!1;break}c=c.nextSibling}if(!u||c)return!1}else m(t,s,n);if(l(a)){var h=!1;for(var g in a)if(!x(g)){h=!0,v(t,n);break}!h&&a["class"]&&Cn(a["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,i){if(!c(t)){var a,u=!1,f=[];if(c(e))u=!0,s(t,f);else{var p=l(e.nodeType);if(!p&&ui(e,t))C(e,t,f,null,null,i);else{if(p){if(1===e.nodeType&&e.hasAttribute(H)&&(e.removeAttribute(H),n=!0),d(n)&&S(e,t,f))return I(t,f,!0),e;a=e,e=new ge(o.tagName(a).toLowerCase(),{},[],void 0,a)}var h=e.elm,m=o.parentNode(h);if(s(t,f,h._leaveCb?null:m,o.nextSibling(h)),l(t.parent))for(var v=t.parent,_=g(t);v;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](v);if(v.elm=t.elm,_){for(var w=0;w<r.create.length;++w)r.create[w](ai,v);var E=v.data.hook.insert;if(E.merged)for(var A=E.fns.slice(1),x=0;x<A.length;x++)A[x]()}else ii(v);v=v.parent}l(m)?k([e],0,0):l(e.tag)&&b(e)}}return I(t,f,u),t.elm}l(e)&&b(e)}}({nodeOps:ni,modules:[bi,Ei,Ni,Fi,Vi,J?{create:yo,activate:yo,remove:function(e,t){!0!==e.data.show?go(e,t):t()}}:{}].concat(gi)});te&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&So(e,"input")});var ko={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ft(n,"postpatch",function(){ko.componentUpdated(e,t,n)}):wo(e,t,n.context),e._vOptions=[].map.call(e.options,Co)):("textarea"===n.tag||ti(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Io),e.addEventListener("compositionend",xo),e.addEventListener("change",xo),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){wo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Co);i.some(function(e,t){return!U(e,r[t])})&&(e.multiple?t.value.some(function(e){return Ao(e,i)}):t.value!==t.oldValue&&Ao(t.value,i))&&So(e,"change")}}};function wo(e,t,n){Eo(e,t),(ee||ne)&&setTimeout(function(){Eo(e,t)},0)}function Eo(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=e.options.length;s<u;s++)if(a=e.options[s],i)o=G(r,Co(a))>-1,a.selected!==o&&(a.selected=o);else if(U(Co(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ao(e,t){return t.every(function(t){return!U(t,e)})}function Co(e){return"_value"in e?e._value:e.value}function Io(e){e.target.composing=!0}function xo(e){e.target.composing&&(e.target.composing=!1,So(e.target,"input"))}function So(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Do(e){return!e.componentInstance||e.data&&e.data.transition?e:Do(e.componentInstance._vnode)}var Oo={bind:function(e,t,n){var r=t.value,i=(n=Do(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,mo(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Do(n)).data&&n.data.transition?(n.data.show=!0,r?mo(n,function(){e.style.display=e.__vOriginalDisplay}):go(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},To={model:ko,show:Oo},No={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Mo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Mo(qt(t.children)):e}function Po(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[D(o)]=i[o];return t}function Fo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Lo=function(e){return e.tag||Pt(e)},Ro=function(e){return"show"===e.name},jo={name:"transition",props:No,abstract:!0,render:function(e){var t=this,n=this.$slots["default"];if(n&&(n=n.filter(Lo)).length){var r=this.mode,i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Mo(i);if(!o)return i;if(this._leaving)return Fo(e,i);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:f(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Po(this),u=this._vnode,c=Mo(u);if(o.data.directives&&o.data.directives.some(Ro)&&(o.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,c)&&!Pt(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var l=c.data.transition=F({},s);if("out-in"===r)return this._leaving=!0,ft(l,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Fo(e,i);if("in-out"===r){if(Pt(o))return u;var d,p=function(){d()};ft(s,"afterEnter",p),ft(s,"enterCancelled",p),ft(l,"delayLeave",function(e){d=e})}}return i}}},$o=F({tag:String,moveClass:String},No);delete $o.mode;var Uo={props:$o,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Fn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots["default"]||[],o=this.children=[],a=Po(this),s=0;s<i.length;s++){var u=i[s];u.tag&&null!=u.key&&0!==String(u.key).indexOf("__vlist")&&(o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a)}if(r){for(var c=[],l=[],d=0;d<r.length;d++){var f=r[d];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?c.push(f):l.push(f)}this.kept=e(t,null,c),this.removed=l}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Go),e.forEach(Bo),e.forEach(zo),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;so(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(no,n._moveCb=function i(e){e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener(no,i),n._moveCb=null,uo(n,t))})}}))},methods:{hasMove:function(e,t){if(!Ji)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Xi(n,e)}),Ki(n,t),n.style.display="none",this.$el.appendChild(n);var r=fo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Go(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Bo(e){e.data.newPos=e.elm.getBoundingClientRect()}function zo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var Ho={Transition:jo,TransitionGroup:Uo};Tr.config.mustUseProp=function(e,t,n){return"value"===n&&$r(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Tr.config.isReservedTag=Zr,Tr.config.isReservedAttr=jr,Tr.config.getTagNamespace=function(e){return Jr(e)?"svg":"math"===e?"math":void 0},Tr.config.isUnknownElement=function(e){if(!J)return!0;if(Zr(e))return!1;if(e=e.toLowerCase(),null!=ei[e])return ei[e];var t=document.createElement(e);return e.indexOf("-")>-1?ei[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ei[e]=/HTMLUnknownElement/.test(t.toString())},F(Tr.options.directives,To),F(Tr.options.components,Ho),Tr.prototype.__patch__=J?bo:R,Tr.prototype.$mount=function(e,t){return function(e,t,n){var r;e.$el=t,e.$options.render||(e.$options.render=ve),$n(e,"beforeMount"),r=function(){e._update(e._render(),n)},new Dn(e,r,R,{before:function(){e._isMounted&&!e._isDestroyed&&$n(e,"beforeUpdate")}},!0),n=!1;var i=e._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return null==e.$vnode&&(e._isMounted=!0,$n(e,"mounted")),e}(this,e=e&&J?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},J&&setTimeout(function(){W.devtools&&le&&le.emit("init",Tr)},0),F(Tr,En),e.exports=Tr},6639:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 224c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm-160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"></path></svg>'},6674:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(3525),i=n(3397),o=i.A,a=(n(8390),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},6727:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-comments-title {\n font-size: 1.25rem;\n font-weight: bold;\n line-height: 1;\n margin-bottom: 1rem;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 0.75rem;\n}\n.tk-comments-count.__hidden {\n visibility: hidden;\n}\n.tk-comments-count {\n flex-shrink: 0;\n white-space: nowrap;\n}\n.tk-comments-actions {\n display: flex;\n align-items: center;\n gap: 0.5em;\n white-space: nowrap;\n}\n.tk-comments-container {\n min-height: 10rem;\n display: flex;\n flex-direction: column;\n}\n.tk-comments-no {\n flex: 1;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.tk-comments-error {\n font-size: 0.75em;\n color: #ff0000;\n}\n.tk-comments-sort {\n display: flex;\n align-items: center;\n gap: 0.75em;\n margin-right: 0.5em;\n line-height: 1;\n}\n.tk-sort-item {\n display: inline-flex;\n align-items: center;\n font-size: 0.75rem;\n line-height: 1;\n padding: 0;\n border: 0;\n background: transparent;\n cursor: pointer;\n color: rgba(64, 158, 255, 0.6);\n}\n.tk-sort-item.__active {\n color: #409eff;\n}\n.tk-sort-item:focus {\n outline: none;\n color: #409eff;\n}\n.tk-icon.__comments {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n height: 0.75rem;\n width: 0.75rem;\n line-height: 0;\n flex-shrink: 0;\n cursor: pointer;\n color: #409eff;\n}\n.tk-icon.__comments svg {\n display: block;\n width: 100%;\n height: 100%;\n}\n.twikoo div.code-toolbar {\n position: relative;\n border-radius: .3em\n}\n.twikoo div.code-toolbar>.toolbar {\n position: absolute;\n right: 4px;\n top: 4px;\n font-size: .8125rem;\n font-weight: 500;\n display: flex;\n}\n.twikoo div.code-toolbar>.toolbar>.toolbar-item {\n margin-left: .3em\n}\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>a,\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>button,\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>span {\n padding: 2px 4px;\n border-radius: .3em;\n}\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>button {\n border: 1px solid rgba(128, 128, 128, 0.31);\n}\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>button:hover {\n cursor: pointer;\n}\n",""]),t["default"]=a},6756:function(e,t,n){var r=n(9211);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("e6b19834",r,!0,{})},6768:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(1573),i=n(8926),o=i.A,a=(n(1288),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},6785:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-pagination,\n.tk-pagination-pagers {\n display: flex;\n}\n.tk-pagination {\n width: 100%;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n}\n.tk-pagination-options {\n display: flex;\n align-items: center;\n}\n.tk-pagination-pager {\n width: 2em;\n height: 2em;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.tk-pagination-pager.__current {\n background-color: #409eff;\n pointer-events: none;\n}\n.tk-pagination .el-input {\n width: 50px;\n}\n.tk-pagination .el-input .el-input__inner {\n padding: 0;\n height: 28px;\n text-align: center;\n -moz-appearance: textfield;\n appearance: textfield;\n}\n.tk-pagination .el-input .el-input__inner::-webkit-inner-spin-button,\n.tk-pagination .el-input .el-input__inner::-webkit-outer-spin-button {\n -webkit-appearance: none;\n appearance: none;\n margin: 0;\n}\n",""]),t["default"]=a},6810:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,'/*!\n * OwO v1.0.2\n * Source: https://github.com/DIYgod/OwO/blob/master/dist/OwO.min.css\n * Author: DIYgod\n * Modified by: iMaeGoo\n * Released under the MIT License.\n */\n\n.OwO {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.OwO.OwO-open .OwO-body {\n display: block;\n}\n\n.OwO .OwO-logo {\n width: 1.125em;\n display: flex;\n}\n\n.OwO .OwO-body {\n display: none;\n position: absolute;\n left: 0;\n right: 0;\n max-width: 500px;\n color: #4a4a4a;\n background-color: #ffffff;\n border: 1px solid rgba(144,147,153,0.31);\n top: 2em;\n border-radius: 0 4px 4px;\n z-index: 1000;\n}\n\n.night .OwO .OwO-body,\n.darkmode .OwO .OwO-body,\n.DarkMode .OwO .OwO-body,\n[data-theme="dark"] .OwO .OwO-body,\n[data-user-color-scheme="dark"] .OwO .OwO-body {\n color: #ffffff;\n background-color: #4a4a4a;\n}\n\n.OwO .OwO-body .OwO-items {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: none;\n padding: 10px;\n padding-right: 0;\n margin: 0;\n overflow: auto;\n font-size: 0;\n}\n\n.OwO .OwO-body .OwO-items .OwO-item {\n list-style-type: none;\n padding: 5px 10px;\n border-radius: 5px;\n display: inline-block;\n font-size: 12px;\n line-height: 14px;\n cursor: pointer;\n -webkit-transition: .3s;\n transition: .3s;\n text-align: center;\n}\n\n.OwO .OwO-body .OwO-items .OwO-item:hover {\n background-color: rgba(144,147,153,0.13);\n box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);\n}\n\n.OwO .OwO-body .OwO-items-emoji .OwO-item {\n font-size: 20px;\n line-height: 19px;\n}\n\n.OwO .OwO-body .OwO-items-image .OwO-item {\n width: 14%;\n box-sizing: border-box;\n}\n\n@media screen and (max-width: 600px) {\n #twikoo .OwO-items > .OwO-item {\n width: 16%;\n }\n}\n\n@media screen and (max-width: 460px) {\n #twikoo .OwO-items > .OwO-item {\n width: 20%;\n }\n}\n\n@media screen and (max-width: 400px) {\n #twikoo .OwO-items > .OwO-item {\n width: 25%;\n }\n}\n\n@media screen and (max-width: 330px) {\n #twikoo .OwO-items > .OwO-item {\n width: 33%;\n }\n}\n\n\n.OwO .OwO-body .OwO-items-image .OwO-item img {\n max-width: 100%;\n}\n\n.OwO .OwO-body .OwO-items-show {\n display: block;\n}\n\n.OwO .OwO-body .OwO-bar {\n width: 100%;\n border-top: 1px solid rgba(144,147,153,0.31);\n border-radius: 0 0 4px 4px;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages {\n margin: 0;\n padding: 0;\n font-size: 0;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages li {\n list-style-type: none;\n display: inline-block;\n line-height: 30px;\n font-size: 14px;\n padding: 0 10px;\n cursor: pointer;\n margin-right: 3px;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages li:nth-child(1) {\n border-radius: 0 0 0 3px;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages li:hover {\n background-color: rgba(144,147,153,0.13);\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active {\n background-color: rgba(144,147,153,0.13);\n -webkit-transition: .3s;\n transition: .3s;\n}\n',""]),t["default"]=a},6884:function(e){"use strict";e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},6885:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3692);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))});var i=n(2912);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))})},6937:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55"></path></svg>'},7036:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.EmailAuthProvider=void 0;var i,o=r(n(9367)),a=n(2566),s=n(4522),u=n(1235),c=n(3442),l=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},m=a.utils.throwError,g=a.utils.isString,v=a.constants.ERRORS,_=a.constants.COMMUNITY_SITE_URL,y=a.helpers.catchErrorsDecorator;t.EmailAuthProvider=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.signIn=function(e,t){return p(this,void 0,void 0,function(){var n,r,i,o,a;return h(this,function(s){switch(s.label){case 0:return g(e)||m(v.INVALID_PARAMS,"email must be a string"),n=this._cache.keys.refreshTokenKey,[4,this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(n)||""})];case 1:return r=s.sent(),i=r.refresh_token,o=r.access_token,a=r.access_token_expire,i?[4,this.setRefreshToken(i)]:[3,8];case 2:return s.sent(),o&&a?[4,this.setAccessToken(o,a)]:[3,4];case 3:return s.sent(),[3,6];case 4:return[4,this._request.refreshAccessToken()];case 5:s.sent(),s.label=6;case 6:return[4,this.refreshUserInfo()];case 7:return s.sent(),c.eventBus.fire(c.EVENTS.LOGIN_STATE_CHANGED),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.EMAIL,persistence:this._config.persistence}),[2,new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})];case 8:r.code?m(v.OPERATION_FAIL,"Email login fail["+r.code+"] "+r.message):m(v.OPERATION_FAIL,"Email login fail"),s.label=9;case 9:return[2]}})})},t.prototype.signUp=function(e,t){return p(this,void 0,void 0,function(){return h(this,function(n){return[2,this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})]})})},t.prototype.resetPassword=function(e){return p(this,void 0,void 0,function(){return h(this,function(t){return[2,this._request.send("auth.sendPasswordResetEmail",{email:e})]})})},t.prototype.resetPasswordWithToken=function(e,t){return p(this,void 0,void 0,function(){return h(this,function(n){return[2,this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})]})})},t.prototype.activate=function(e){return p(this,void 0,void 0,function(){return h(this,function(t){return[2,this._request.send("auth.activateEndUserMail",{token:e})]})})},d([y({title:"邮箱密码登录失败",messages:["请确认以下各项:"," 1 - 调用 auth().emailAuthProvider() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录"," 3 - 邮箱地址与密码是否匹配","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+_]}),f("design:type",Function),f("design:paramtypes",[String,String]),f("design:returntype",Promise)],t.prototype,"signIn",null),d([y({title:"邮箱注册失败",messages:["请确认以下各项:"," 1 - 调用 auth().signUpWithEmailAndPassword() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录"," 3 - 此邮箱地址是否已经被其他用户占用","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+_]}),f("design:type",Function),f("design:paramtypes",[String,String]),f("design:returntype",Promise)],t.prototype,"signUp",null),d([y({title:"重置密码失败",messages:["请确认以下各项:"," 1 - 调用 auth().sendPasswordResetEmail() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录"," 3 - 此邮箱地址是否已经与当前用户绑定"," 4 - 此邮箱地址是否已经被其他用户占用","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+_]}),f("design:type",Function),f("design:paramtypes",[String]),f("design:returntype",Promise)],t.prototype,"resetPassword",null),d([y({title:"重置密码失败",messages:["请确认以下各项:"," 1 - 调用语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+_]}),f("design:type",Function),f("design:paramtypes",[String,String]),f("design:returntype",Promise)],t.prototype,"resetPasswordWithToken",null),d([y({title:"邮箱激活失败",messages:["请确认以下各项:"," 1 - 调用语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+_]}),f("design:type",Function),f("design:paramtypes",[String]),f("design:returntype",Promise)],t.prototype,"activate",null),t}(s.AuthProvider)},7051:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M481.92,134.48C440.87,54.18,352.26,8,255.91,8,137.05,8,37.51,91.68,13.47,203.66c26-46.49,86.22-79.14,149.46-79.14,79.27,0,121.09,48.93,122.25,50.18,22,23.8,33,50.39,33,83.1,0,10.4-5.31,25.82-15.11,38.57-1.57,2-6.39,4.84-6.39,11,0,5.06,3.29,9.92,9.14,14,27.86,19.37,80.37,16.81,80.51,16.81A115.39,115.39,0,0,0,444.94,322a118.92,118.92,0,0,0,58.95-102.44C504.39,176.13,488.39,147.26,481.92,134.48ZM212.77,475.67a154.88,154.88,0,0,1-46.64-45c-32.94-47.42-34.24-95.6-20.1-136A155.5,155.5,0,0,1,203,215.75c59-45.2,94.84-5.65,99.06-1a80,80,0,0,0-4.89-10.14c-9.24-15.93-24-36.41-56.56-53.51-33.72-17.69-70.59-18.59-77.64-18.59-38.71,0-77.9,13-107.53,35.69C35.68,183.3,12.77,208.72,8.6,243c-1.08,12.31-2.75,62.8,23,118.27a248,248,0,0,0,248.3,141.61C241.78,496.26,214.05,476.24,212.77,475.67Zm250.72-98.33a7.76,7.76,0,0,0-7.92-.23,181.66,181.66,0,0,1-20.41,9.12,197.54,197.54,0,0,1-69.55,12.52c-91.67,0-171.52-63.06-171.52-144A61.12,61.12,0,0,1,200.61,228,168.72,168.72,0,0,0,161.85,278c-14.92,29.37-33,88.13,13.33,151.66,6.51,8.91,23,30,56,47.67,23.57,12.65,49,19.61,71.7,19.61,35.14,0,115.43-33.44,163-108.87A7.75,7.75,0,0,0,463.49,377.34Z"></path></svg>'},7080:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQQAvatar=function(e){var t=e.replace(/@qq.com/gi,"");return"https://thirdqq.qlogo.cn/g?b=sdk&nk=".concat(t,"&s=140")},t.isQQ=function(e){return/^[1-9][0-9]{4,10}$/.test(e)||/^[1-9][0-9]{4,10}@qq.com$/i.test(e)},t.normalizeMail=function(e){return String(e).trim().toLowerCase()}},7111:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(2043),i=n(4868),o=i.A,a=(n(1846),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},7120:function(e,t,n){"use strict";var r=n(9367)["default"];function i(){e.exports=i=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,o=Object.create(i.prototype),a=new M(r||[]);return s(o,"_invoke",{value:D(e,n,a)}),o}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var m="suspendedStart",g="suspendedYield",v="executing",_="completed",y={};function b(){}function k(){}function w(){}var E={};f(E,c,function(){return this});var A=Object.getPrototypeOf,C=A&&A(A(P([])));C&&C!==o&&a.call(C,c)&&(E=C);var I=w.prototype=b.prototype=Object.create(E);function x(e){["next","throw","return"].forEach(function(t){f(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function n(i,o,s,u){var c=h(e[i],e,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,s,u)},function(e){n("throw",e,s,u)}):t.resolve(d).then(function(e){l.value=e,s(l)},function(e){return n("throw",e,s,u)})}u(c.arg)}var i;s(this,"_invoke",{value:function(e,r){function o(){return new t(function(t,i){n(e,r,t,i)})}return i=i?i.then(o,o):o()}})}function D(e,n,r){var i=m;return function(o,a){if(i===v)throw new Error("Generator is already running");if(i===_){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var u=O(s,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===m)throw i=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var c=h(e,n,r);if("normal"===c.type){if(i=r.done?_:g,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=_,r.method="throw",r.arg=c.arg)}}}function O(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=h(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function P(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(a.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return k.prototype=w,s(I,"constructor",{value:w,configurable:!0}),s(w,"constructor",{value:k,configurable:!0}),k.displayName=f(w,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,f(e,d,"GeneratorFunction")),e.prototype=Object.create(I),e},n.awrap=function(e){return{__await:e}},x(S.prototype),f(S.prototype,l,function(){return this}),n.AsyncIterator=S,n.async=function(e,t,r,i,o){void 0===o&&(o=Promise);var a=new S(p(e,t,r,i),o);return n.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},x(I),f(I,d,"Generator"),f(I,c,function(){return this}),f(I,"toString",function(){return"[object Generator]"}),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function i(){for(;n.length;){var e=n.pop();if(e in t)return i.value=e,i.done=!1,i}return i.done=!0,i}},n.values=P,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=a.call(o,"catchLoc"),c=a.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),y}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},7278:function(e,t,n){"use strict";var r=n(9367)["default"];e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},7317:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o),s=n(1778),u=n.n(s),c=new URL(n(1479),n.b),l=a()(i()),d=u()(c);l.push([e.id,"\n.tk-admin-config-groups {\n overflow-y: auto;\n padding-right: 0.5em;\n position: relative;\n}\n.tk-admin-config-groups .tk-admin-config-group,\n.tk-admin-config-groups .tk-admin-config-group-title {\n background: transparent;\n}\n.tk-admin-config-group-title {\n margin-top: 1em;\n font-size: 1.25rem;\n font-weight: bold;\n}\n.tk-admin-config-item {\n display: grid;\n align-items: center;\n grid-template-columns: 30% 70%;\n margin-top: 1em;\n position: relative;\n}\n.tk-admin-config-title {\n text-align: right;\n margin-right: 1em;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.tk-admin-config-input {\n position: relative;\n}\n.tk-admin-config-select {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background: none;\n background-image: url("+d+");\n background-repeat: no-repeat;\n background-position: right 10px center;\n border-radius: 4px;\n border: 1px solid rgba(144, 147, 153, 0.31);\n box-sizing: border-box;\n color: #ffffff;\n cursor: pointer;\n display: inline-block;\n font-size: inherit;\n height: 32px;\n line-height: 32px;\n outline: none;\n padding: 0 30px 0 10px;\n transition: border-color .2s cubic-bezier(.645,.045,.355,1);\n width: 100%;\n}\n.tk-admin-config-select:focus {\n border-color: rgba(255, 255, 255, 0.6);\n}\n.tk-admin-config-select option {\n color: #fff;\n background: #333;\n}\n.tk-admin-config-desc {\n margin-top: 0.5em;\n font-size: 0.75em;\n overflow-wrap: break-word;\n}\n.tk-admin-config-actions {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 1em;\n}\n.tk-admin-config-message {\n margin-top: 0.5em;\n text-align: center;\n}\n.tk-admin-config-email-test-desc {\n margin: 1em 0;\n}\n",""]),t["default"]=l},7397:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm52.7 93c8.8-15.2 28.3-20.5 43.5-11.7 15.3 8.8 20.5 28.3 11.7 43.6-8.8 15.2-28.3 20.5-43.5 11.7-15.3-8.9-20.5-28.4-11.7-43.6zM87.4 287.9c-17.6 0-31.9-14.3-31.9-31.9 0-17.6 14.3-31.9 31.9-31.9 17.6 0 31.9 14.3 31.9 31.9 0 17.6-14.3 31.9-31.9 31.9zm28.1 3.1c22.3-17.9 22.4-51.9 0-69.9 8.6-32.8 29.1-60.7 56.5-79.1l23.7 39.6c-51.5 36.3-51.5 112.5 0 148.8L172 370c-27.4-18.3-47.8-46.3-56.5-79zm228.7 131.7c-15.3 8.8-34.7 3.6-43.5-11.7-8.8-15.3-3.6-34.8 11.7-43.6 15.2-8.8 34.7-3.6 43.5 11.7 8.8 15.3 3.6 34.8-11.7 43.6zm.3-69.5c-26.7-10.3-56.1 6.6-60.5 35-5.2 1.4-48.9 14.3-96.7-9.4l22.5-40.3c57 26.5 123.4-11.7 128.9-74.4l46.1.7c-2.3 34.5-17.3 65.5-40.3 88.4zm-5.9-105.3c-5.4-62-71.3-101.2-128.9-74.4l-22.5-40.3c47.9-23.7 91.5-10.8 96.7-9.4 4.4 28.3 33.8 45.3 60.5 35 23.1 22.9 38 53.9 40.2 88.5l-46 .6z"></path></svg>'},7400:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-main {\n flex: 1;\n width: 0;\n}\n.tk-row {\n flex: 1;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n.tk-nick-link {\n color: inherit;\n text-decoration: none;\n}\n.tk-replies .tk-nick-link {\n font-size: .9em;\n}\n.tk-nick-link:hover {\n color: #409eff;\n}\n.tk-actions {\n display: none;\n margin-left: 1em;\n}\n.tk-actions button {\n appearance: none;\n background: none;\n border: none;\n padding: 0;\n margin: 0;\n text-decoration: none;\n display: inline;\n color: #409eff;\n cursor: pointer;\n}\n.tk-comment:hover .tk-actions {\n display: inline;\n}\n.tk-extras {\n color: #999999;\n font-size: 0.875em;\n display: flex;\n flex-wrap: wrap;\n}\n.tk-extra {\n margin-top: 0.5rem;\n margin-right: 0.75rem;\n display: flex;\n align-items: center;\n}\n.tk-icon.__comment {\n height: 1em;\n width: 1em;\n line-height: 1;\n}\n.tk-extra-text {\n line-height: 1;\n}\n.tk-tag {\n display: inline-block;\n padding: 0 0.5em;\n font-size: 0.75em;\n background-color: #f2f6fc;\n}\n.tk-tag-green {\n background-color: rgba(103,194,58,0.13);\n border: 1px solid rgba(103,194,58,0.50);\n border-radius: 2px;\n color: #67c23a;\n}\n.tk-tag-yellow {\n background-color: rgba(230,162,60,0.13);\n border: 1px solid rgba(230,162,60,0.50);\n border-radius: 2px;\n color: #e6a23c;\n}\n.tk-tag-blue {\n background-color: rgba(64,158,255,0.13);\n border: 1px solid rgba(64,158,255,0.50);\n border-radius: 2px;\n color: #409eff;\n}\n.tk-tag-red {\n background-color: rgba(245,108,108,0.13);\n border: 1px solid rgba(245,108,108,0.50);\n border-radius: 2px;\n color: #f56c6c;\n}\n.tk-comment {\n margin-top: 1rem;\n display: flex;\n flex-direction: row;\n word-break: break-all;\n}\n.tk-content {\n margin-top: 0.5rem;\n overflow: hidden;\n max-height: 500px;\n position: relative;\n}\n.tk-content-expand {\n max-height: none;\n}\n.tk-replies .tk-content {\n font-size: .9em;\n}\n.tk-comment .vemoji {\n max-height: 2em;\n vertical-align: middle;\n}\n.tk-replies {\n max-height: 200px;\n overflow: hidden;\n position: relative;\n}\n.tk-replies-expand {\n max-height: none;\n overflow: unset;\n}\n.tk-submit {\n margin-top: 1rem;\n}\n.tk-expand {\n font-size: 0.75em;\n}\n.tk-lightbox {\n display: block;\n position: fixed;\n background-color: rgba(0, 0, 0, 0.3);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 999;\n}\n.tk-lightbox-image {\n min-width: 100px;\n min-height: 30px;\n width: auto;\n height: auto;\n max-width: 95%;\n max-height: 95%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background: linear-gradient(90deg, #eeeeee 50%, #e3e3e3 0);\n background-size: 40px 100%;\n}\n",""]),t["default"]=a},7435:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n(8129),i=function(e){var t=o(e.getDate(),2),n=o(e.getMonth()+1,2),r=o(e.getFullYear(),2);return"".concat(r,"-").concat(n,"-").concat(t)},o=function(e,t){for(var n=e.toString();n.length<t;)n="0"+n;return n};t["default"]=function(e){if("number"==typeof e&&(e=new Date(e)),e)try{var t=e.getTime(),n=Date.now()-t,o=Math.floor(n/864e5);if(0===o){var a=n%864e5,s=Math.floor(a/36e5);if(0===s){var u=a%36e5,c=Math.floor(u/6e4);if(0===c){var l=u%6e4;return Math.round(l/1e3)+" ".concat((0,r.t)("TIMEAGO_SECONDS"))}return c+" ".concat((0,r.t)("TIMEAGO_MINUTES"))}return s+" ".concat((0,r.t)("TIMEAGO_HOURS"))}return o<0?(0,r.t)("TIMEAGO_NOW"):o<8?o+" ".concat((0,r.t)("TIMEAGO_DAYS")):i(e)}catch(d){r.logger.log("timeAgo 错误",d)}}},7441:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerFunctions=void 0;var r=n(5293);t.registerFunctions=r.registerFunctions},7564:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i,o=r(n(3852)),a="ADMIN_COMMENT",s="ADMIN_CONFIG_CATEGORY",u="ADMIN_CONFIG_ITEM",c="ADMIN_IMPORT",l=["qmsg","serverchan","pushplus","pushplushxtrip","dingtalk","wecom","bark","gocqhttp","atri","pushdeer","igot","telegram","feishu"].map(function(e){return'"'.concat(e,'"')}),d=["126","163","1und1","AOL","DebugMail","DynectEmail","FastMail","GandiMail","Gmail","Godaddy","GodaddyAsia","GodaddyEurope","Hotmail","Mail.ru","Maildev","Mailgun","Mailjet","Mailosaur","Mandrill","Naver","OpenMailBox","Outlook365","Postmark","QQ","QQex","SES","SES-EU-WEST-1","SES-US-EAST-1","SES-US-WEST-2","SendCloud","SendGrid","SendPulse","SendinBlue","Sparkpost","Yahoo","Yandex","Zoho","hot.ee","iCloud","mail.ee","qiye.aliyun"].map(function(e){return'"'.concat(e,'"')}),f=["default","coy","dark","funky","okaidia","solarizedlight","tomorrow","twilight"].map(function(e){return'"'.concat(e,'"')}),p=["showLanguage","copyButton"].map(function(e){return'"'.concat(e,'"')}),h=["qcloud","7bu (https://7bu.top)","see (https://s.ee)","lskypro","piclist","easyimage","chevereto","S3 / R2 / MinIO"].map(function(e){return'"'.concat(e,'"')}),m=["lskypro","piclist","easyimage","s3"].map(function(e){return'"'.concat(e,'"')}),g=["404","mp","identicon","monsterid","wavatar","retro","robohash","blank"].map(function(e){return'"'.concat(e,'"')});t["default"]=(i={ADMIN_CLIENT_VERSION:["前端版本:","前端版本:","前端版本:","Client version: ","Клиент версияси: ","クライアントバージョン:","클라이언트 버전: "],ADMIN_SERVER_VERSION:["云函数版本:","云函數版本:","雲端函式版本:","Server version: ","Сервернинг версияси: ","サーバーサイドバージョン: ","서버 버전: "]},(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,a,["评论管理","評論管理","留言管理","Comment","Изоҳ","コメント管理","댓글 관리"]),a+"_DELETE",["删除","刪除","移除","Delete","Ўчирмоқ","削除","삭제"]),a+"_DELETE_CONFIRM",["确认删除?","確認刪除?","確認移除?","Confirm deletion?","Ўчириш тасдиқлансинми?","本当に削除しますか?","정말 삭제하시겠습니까?"]),a+"_FILTER_ALL",["全部","全部","全部","All","Ҳаммаси","全部","전체"]),a+"_FILTER_VISIBLE",["只看可见","只看可見","只看可見","Visible","Кўринадиган","表示中のみ","표시 댓글"]),a+"_FILTER_HIDDEN",["只看隐藏","只看隱藏","只看隱藏","Hidden","Яширилган","非表示中のみ","숨김 댓글"]),a+"_HIDE",["隐藏","隱藏","隱藏","Hide","Яширмоқ","非表示","숨기기"]),a+"_IS_SPAM_SUFFIX",[" (已隐藏)"," (已隱藏)"," (已隱藏)"," (Hidden)"," (Яширилган)"," (非表示)"," (숨김 처리됨)"]),a+"_SEARCH",["搜索","搜索","搜尋","Search","Излаш","検索","검색"]),a+"_SEARCH_PLACEHOLDER",["搜索昵称、邮箱、网址、IP、评论正文、文章地址","搜索暱稱、郵箱、網址、IP、評論正文、文章地址","搜索暱稱、郵件、網址、IP、留言正文、文章路徑","Search by nick, mail, website, IP, comment, or article path","Тахаллус, почта, веб-сайт, ИП, шарҳ ёки мақола йўли бўйича излаш","名前、メールアドレス、ウェブサイトURL、IPアドレス、コメント内容、記事のURLを検索","닉네임, 이메일, 웹사이트, IP, 댓글 내용, 게시글 주소로 검색"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,a+"_SHOW",["显示","顯示","顯示","Show","Кўрсатиш","表示","표시"]),a+"_TOP",["置顶","置頂","置頂","Pin","Қадамоқ","固定する","고정"]),a+"_UNTOP",["取消置顶","取消置頂","取消置頂","Unpin","Қадоқни ечмоқ","固定を解除","고정 해제"]),a+"_VIEW",["查看","查看","檢視","View","Кўриниш","閲覧","보기"]),a+"_SECURITY_ALERT",["评论链接与本站不同!出于安全考虑,请手动复制以下网址访问:","評論連結與本站不同!出於安全考慮,請手動複製以下網址訪問:","留言連結與本站不同!出於安全考慮,請手動複製以下網址訪問:","The comment link is different from this site! For security reasons, please manually copy the following URL to visit:","Шарҳ ҳаволаси бу сайтдан фарқ қилади! Хавфсизлик сабабларига кўра, илтимос, қуйидаги URL манзилни қўлда нусха олинг:","コメントリンクがこのサイトと異なります!セキュリティ上の理由から、以下のURLを手動でコピーしてアクセスしてください:","댓글 링크가 이 사이트와 다릅니다! 보안상의 이유로, 다음 URL을 수동으로 복사하여 방문하세요:"]),a+"_PARSE_ERROR",["无法解析评论链接,请仔细检查链接后手动复制以下网址访问:","無法解析評論連結,請仔細檢查連結後手動複製以下網址訪問:","無法解析留言連結,請仔細檢查連結後手動複製以下網址訪問:","Unable to parse comment link. Please check and manually copy the following URL:","Шарҳ ҳаволасини таҳлил қилиб бўлмади. Илтимос, қуйидаги манзилни текширинг ва қўлда нусха олинг:","コメントリンクを解析できません。以下のURLを確認して手動でコピーしてください:","댓글 링크를 파싱할 수 없습니다. 다음 주소를 확인하고 수동으로 복사하세요:"]),"ADMIN_CONFIG",["配置管理","配置管理","設定值管理","Configuration","Конфигурация","設定管理","환경설정"]),s+"_COMMON",["通用","通用","一般","General","Умумий","一般","일반"]),s+"_IM",["即时通知","即時通知","即時通知","Instant notification","Тезкор хабарнома","即時通知","실시간 알림"]),s+"_MAIL",["邮件通知","郵件通知","郵件通知","Email notification","Электрон почта хабарномаси","メール通知","이메일 알림"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,s+"_PLUGIN",["插件","插件","擴充功能","Plugin","Плагин","プラグイン","플러그인"]),s+"_PRIVACY",["隐私","隱私","隱私權","Privacy","Шахсий қоидалар","プライバシー","개인정보"]),s+"_SPAM",["反垃圾","反垃圾","防垃圾","Spam","Спам","スパム対策","스팸 관리"]),s+"_CAPTCHA",["人机验证","人機驗證","人機驗證","CAPTCHA","CAPTCHA","CAPTCHA","CAPTCHA"]),"ADMIN_CONFIG_IMAGE_CDN_NONE",["无(不启用图片上传)","無(不啟用圖片上傳)","無(不啟用圖片上傳)","None (disable image upload)","Йўқ (расм юклашни ўчириш)","なし(画像アップロードを無効にする)","없음 (이미지 업로드 비활성화)"]),"ADMIN_CONFIG_CAPTCHA_NONE",["无","無","無","None","Йўқ","なし","없음"]),"ADMIN_CONFIG_CAPTCHA_TURNSTILE",["Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile"]),"ADMIN_CONFIG_CAPTCHA_GEETEST",["极验 Geetest","極驗 Geetest","極驗 Geetest","GeeTest","GeeTest","GeeTest","GeeTest"]),"ADMIN_CONFIG_CAPTCHA_CAP",["Cap","Cap","Cap","Cap","Cap","Cap","Cap"]),"ADMIN_CONFIG_EMAIL_TEST",["邮件通知测试","郵件通知測試","郵件通知測試","Email notification test","Электрон почта хабарномаси тести","メール通知テスト","이메일 알림 테스트"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,"ADMIN_CONFIG_EMAIL_TEST_BTN",["发送测试邮件","發送測試郵件","發送測試郵件","Send test mail","Синов хатини юбориш","テストメールを送信","테스트 메일 발송"]),"ADMIN_CONFIG_EMAIL_TEST_HELP",["输入一个邮箱地址,发送测试邮件","輸入一個郵箱位址,發送測試郵件","輸入一個郵箱帳號,發送測試郵件","Input an email address & send test mail","Э-почта манзилини киритинг ва синов хатини юборинг","メールアドレスを入力してテストメールを送信","이메일 주소를 입력하고 테스트 메일을 발송하세요"]),"ADMIN_CONFIG_EMAIL_TEST_RESULT",["测试结果:","測試結果:","測試結果:","Test result: ","Тест натижаси: ","テスト結果:","테스트 결과: "]),"ADMIN_CONFIG_EXAMPLE",["示例:","示例:","範例:","Example: ","Намуна: ","例:","예시: "]),u+"_AKISMET_KEY",['Akismet 反垃圾评论,用于垃圾评论检测,设为 "MANUAL_REVIEW" 开启人工审核,留空不使用反垃圾。注册:https://akismet.com','Akismet 反垃圾評論,用於垃圾評論檢測,設為 "MANUAL_REVIEW" 開啟人工審核,留空不使用反垃圾。註冊:https://akismet.com','Akismet 防垃圾留言,用於垃圾留言檢測,設為 "MANUAL_REVIEW" 以開啟人工審核,留空則不使用防垃圾。註冊:https://akismet.com','Akismet spam protection. Set to "MANUAL_REVIEW" to enable manual review. Leave it blank to not use anti-spam. Register Akismet: https://akismet.com','Акисмет спам ҳимояси. Қўлда кўриб чиқишни ёқиш учун "MANUAL_REVIEW" га созланг. Анти-спамдан фойдаланмаслик учун уни бўш қолдиринг. Акисметни рўйхатдан ўтказиш: https://akismet.com','Akismetは、スパムコメントの検出に使用されるアンチスパムサービスです。"MANUAL_REVIEW"に設定することで、手動レビューを有効化します。コメントのスパム対策にAkismetを使用することで、不要なコメントをブロックし、サイトのセキュリティを向上させることができます。 Akismetの詳細情報と登録は、https://akismet.com で提供されています。','Akismet 스팸 방지. 스팸 댓글 감지에 사용합니다. "MANUAL_REVIEW"를 설정하면 수동 검토를 활성화합니다. 비워두면 스팸 수동 검토를 사용하지 않습니다. Akismet 등록: https://akismet.com']),u+"_BLOGGER_NICK",["博主的昵称。","博主的昵稱。","站長的暱稱。","Admin nick name.","Админ исми.","管理者の名前。","관리자 닉네임."]),u+"_BLOGGER_EMAIL",["博主的邮箱地址,用于邮件通知、博主标识。","博主的郵箱地址,用於郵件通知、博主標識。","站長的郵箱帳號,用於郵件通知、站長認證。","Admin Email address. Used for Email notification and admin identification.","Админ электрон почта манзили. Электрон почта хабарномаси ва администратор идентификацияси учун фойдаланилади.","管理者のメールアドレス。メール通知と管理者の識別に使用されます。","관리자 이메일 주소. 이메일 알림 및 관리자 식별에 사용됩니다."]),u+"_COMMENT_BG_IMG",["评论框自定义背景图片 URL 地址。","評論框自定義背景圖片 URL 地址。","留言區塊自訂背景圖片 URL 網址。","URL for custom background image.","Махсус фон расми учун УРЛ.","コメントボックスのカスタム背景画像のURL。","댓글창 배경 이미지 URL 주소."]),u+"_COMMENT_PAGE_SIZE",["评论列表分页大小,默认为 8。","評論列表分頁大小,預設為 8。","留言列表分頁大小,預設為 8。","Comment page size. Default: 8.","Изоҳ саҳифаси ўлчами. Стандарт: 8.","コメントリストのページサイズ。デフォルトは8。","한 페이지당 표시 댓글 수. 기본값: 8."]),u+"_COMMENT_PLACEHOLDER",["评论框提示信息,可用<br>换行,默认为空","評論框提示信息,可用<br>換行,預設為空","留言區塊提示資訊,可用<br>換行,預設空白","Comment placeholder. Use <br> to start a newline. Default: empty.","Изоҳ тўлдирувчиси. Янги қаторни бошлаш учун <бр> дан фойдаланинг. Стандарт: бўш.","コメントボックスのヒントメッセージ。<br>で改行。デフォルトは空。","댓글 입력창에 표시될 기본 문구. <br> 태그로 줄바꿈 가능. 기본값: 비어 있음."]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,u+"_CORS_ALLOW_ORIGIN",["CORS 安全域名,注意:如果您不了解什么是 CORS,此项请留空,错误设置会导致无法加载,默认为空,格式为 https://blog.example.com;如需添加多域名请使用,分隔","CORS 安全域名,注意:错误设置会导致无法加載,默認為空,格式为 https://blog.example.com;如需添加多域名請使用,分隔","CORS 安全網域,注意:設定錯誤將會導致載入失敗,預設空白,格式應為 https://blog.example.com;如需添加多域名請使用,分隔","CORS allow origin, note: incorrect settings can cause loading failure. Default: blank, format: https://blog.example.com; If you need to add multiple domain names, please use, separate","Версел СОРС келиб чиқишига рухсат беради, эътибор беринг: нотўғри созламалар юклашда хатоликка олиб келиши мумкин. Стандарт: бўш, формат: https://blog.example.com; Агар сиз бир нечта домен номларини қўшмоқчи бўлсангиз, илтимос, ажратишдан фойдаланинг.","CORS セキュアドメイン。注意:誤った設定は読み込みエラーを引き起こす可能性があります。デフォルトは空、形式は https://blog.example.com です。複数のドメインを追加する場合は、コンマで区切ってください。","댓글 서버 접근 허용 웹사이트 주소. 참고: 등록된 웹사이트만 댓글 시스템과 안전하게 통신합니다. 주소 오류 시 댓글창이 사라질 수 있습니다. 기본값: 비어 있음(보안 취약), 형식: https://blog.example.com; 여러 주소는 쉼표(,)로 구분."]),u+"_DEFAULT_GRAVATAR",['默认的头像显示。默认值(留空)为 "initials",可选:'.concat(g.join("、")),'預設的頭像顯示。預設值(留空)為 "initials",可選:'.concat(g.join("、")),'預設的大頭貼照圖示。預設值(留空)為 "initials",選項:'.concat(g.join("、")),'Avatar placeholder. Default (when empty): "initials". Choose from: '.concat(g.join(", ")),"Аватар тўлдирувчиси. Стандарт (агар бўш қолдирилса): «идентификатор». Қуйидагилардан танланг: ".concat(g.join(", ")),'デフォルトのプロフィール画像表示。デフォルト(空欄時)は "initials" で、選択肢は:'.concat(g.join("、")," です"),'프로필 기본 이미지. 기본값(비워둘 경우): "initials". 사용 가능 스타일: '.concat(g.join(", "))]),u+"_EMOTION_CDN",["表情 CDN,英文逗号分隔。默认为:https://owo.imaegoo.com/owo.json","表情 CDN,英文逗號分隔。預設為:https://owo.imaegoo.com/owo.json","表情 CDN 來源,使用英文逗號分隔。預設為:https://owo.imaegoo.com/owo.json","Emoji CDN. Separate by comma. Default: https://owo.imaegoo.com/owo.json","Emoji CDN. Вергул билан ажратинг. Default: https://owo.imaegoo.com/owo.json","顔文字CDN。コンマで区切ってください。デフォルト:https://owo.imaegoo.com/owo.json","이모티콘 데이터 웹 주소. 쉼표(,)로 구분. 기본값: https://owo.imaegoo.com/owo.json"]),u+"_FORBIDDEN_WORDS",["违禁词配置,包含违禁词的内容会直接标记为垃圾评论。英文逗号分隔。","違禁詞配置,包含違禁詞的內容會直接標記為垃圾評論。英文逗號分隔。","禁用詞語設定,包含禁用詞語的內容會直接標記為垃圾留言。使用英文逗號分隔。","Configure prohibited words. Comments containing prohibited words will be auto spammed. Separate by comma.","Тақиқланган сўзларни созланг. Тақиқланган сўзларни ўз ичига олган шарҳлар автоматик равишда спамга юборилади. Вергул билан ажратинг.","禁止ワード設定。禁止ワードを含むコンテンツは直ちにスパムコメントとしてマークされます。コンマで区切ってください。","금지어 설정. 금지어 포함 댓글은 스팸으로 숨김 처리 됩니다. 쉼표로 구분."]),u+"_BLOCKED_WORDS",["屏蔽词配置,包含屏蔽词的内容会直接评论失败。英文逗号分隔。","屏蔽词配置,包含屏蔽词的内容会直接评论失败。英文逗号分隔。","屏蔽词配置,包含屏蔽词的内容会直接评论失败。英文逗号分隔。","Configure blocked words. Comments containing blocked words will fail to send. Separate by comma.","Configure blocked words. Comments containing blocked words will fail to send. Separate by comma.","ブロックワード設定。ブロックワードを含むコンテンツは送信に失敗します。コンマで区切ってください。","차단어 설정. 차단어 포함 댓글은 등록에 실패합니다. 쉼표로 구분."]),u+"_GRAVATAR_CDN",["自定义头像 CDN 地址。如:cn.gravatar.com, weavatar.com, cravatar.cn, sdn.geekzu.org, gravatar.loli.net,默认:weavatar.com","自定義頭像 CDN 地址。如:cn.gravatar.com, weavatar.com, cravatar.cn, sdn.geekzu.org, gravatar.loli.net,預設:weavatar.com","自訂大頭貼照 CDN 來源。如:cn.gravatar.com, weavatar.com, cravatar.cn, sdn.geekzu.org, gravatar.loli.net,預設:weavatar.com","Custom avator CDN. (Examples: gravatar.com) Default: weavatar.com.","Custom avator CDN. (Мисоллар: gravatar.com) Default: weavatar.com.","カスタムプロフィール画像CDNアドレス。例:cn.gravatar.com、weavatar.com、cravatar.cn、sdn.geekzu.org、gravatar.loli.net、デフォルト:weavatar.com","프로필 이미지(아바타) Gravatar 서버 주소. 더 빠르거나 안정적인 서버를 선택할 수 있습니다. (예: gravatar.com) 기본값: weavatar.com."]),u+"_HIDE_ADMIN_CRYPT",["隐藏管理面板入口。可设置一个“暗号”,只有在“昵称”一栏输入相同的“暗号”时,管理面板入口才会显示,留空则不隐藏管理入口","隱藏管理面板入口。可設定一個“暗號”,只有在“暱稱”一欄輸入相同的“暗號”時,管理面板入口才會顯示,留空則不隱藏管理入口","隱藏管理控制台入口。可設定一個“暗號”,只有在「暱稱」一欄輸入相同的「暗號」時,管理控制台入口才會顯示,留白則不隱藏管理入口","Set a cipher to hide the management panel entrance, only when the same cipher is entered in the nickname field the management panel entry will be displayed. Leave it blank to not hide the management entrance.","Бошқарув панелига киришни яшириш учун шифрни ўрнатинг, фақат тахаллус майдонига худди шу шифр киритилганда бошқарув панелидаги ёзув кўрсатилади. Бошқарув киришини яширмаслик учун уни бўш қолдиринг.",'管理パネルのログイン画面を非表示にする。 "パスワード" を設定でき、 "名前" フィールドに同じ "パスワード" を入力した場合のみ、管理パネルのログイン画面が表示されます。空白の場合、管理パネルのログイン画面は非表示にされません。',"환경설정 버튼을 숨깁니다. 암호를 설정하여, 닉네임 입력란에 동일한 암호를 입력해야만 환경설정 버튼이 표시됩니다. 비워두면 버튼을 숨기지 않습니다."]),u+"_QQ_API_KEY",["QQ昵称API密钥,用于获取QQ昵称。前往 https://api.nsuuu.com/admin/key 获取","QQ暱稱API密鑰,用於獲取QQ暱稱。前往 https://api.nsuuu.com/admin/key 獲取","QQ暱稱API密鑰,用於獲取QQ暱稱。前往 https://api.nsuuu.com/admin/key 獲取","QQ nickname API key for fetching QQ nickname. Get it from https://api.nsuuu.com/admin/key","QQ laqab API kaliti, QQ laqabni olish uchun. https://api.nsuuu.com/admin/key dan oling","QQニックネームAPIキー。QQニックネームの取得に使用します。https://api.nsuuu.com/admin/key で取得","QQ 닉네임 API 키. https://api.nsuuu.com/admin/key 에서 발급"]),u+"_HIGHLIGHT",["启用代码高亮功能。如果您的主题和代码高亮有冲突,请设为 false。默认:true","啟用代碼高亮功能。如果您的主題和代碼高亮有衝突,請設為 false。預設:true","啟用程式碼醒目顯示功能。如果您的主題和此功能發生衝突,請設定為 false。預設:true","Enable code highlighting. If your theme conflicts with code highlighting, please set it to false. Default: true.","Кодни ажратиб кўрсатишни ёқинг. Агар мавзуингиз кодни ажратиб кўрсатишга зид бўлса, уни «фалсе» га ўрнатинг. Стандарт: рост.","コードハイライト機能を有効にします。テーマとコードハイライトに競合がある場合、falseに設定してください。デフォルト:true","코드 하이라이팅 기능을 활성화합니다. 테마와 코드 하이라이팅이 충돌하면 false로 설정하세요. 기본값: true."]),u+"_HIGHLIGHT_THEME",["代码高亮主题,可选:".concat(f.join("、"),",访问 https://prismjs.com 可预览主题效果。如果您的主题和代码高亮有冲突,请设为 none。默认:none"),"代碼高亮主題,可選:".concat(f.join("、"),",訪問 https://prismjs.com 可預覽主題效果。如果您的主題和代碼高亮有衝突,請設為 none。預設:none"),"程式碼醒目顯示主題,選項:".concat(f.join("、"),",瀏覽 https://prismjs.com 可預覽主題效果。如果您的主題和此功能發生衝突,請設定為 none。預設:none"),"Code highlighting theme. Select from: ".concat(f.join(", "),". Visit https://prismjs.com for preview. If your theme conflicts with code highlighting, please set it to none. Default: none."),"Кодни таъкидлаш мавзуси. Қуйидагилардан танланг: ".concat(f.join(", "),". Олдиндан кўриш учун https://prismjs.com сайтига ташриф буюринг. Агар мавзуингиз кодни ажратиб кўрсатишга зид бўлса, уни «Ҳеч» га ўрнатинг. Стандарт: йўқ."),"コードハイライトのテーマ。選択肢:".concat(f.join("、"),"、テーマの効果をプレビューするには https://prismjs.com を訪問してください。テーマとコードハイライトに競合がある場合、noneに設定してください。デフォルト:none"),"코드 하이라이팅 테마. 사용 가능 테마: ".concat(f.join(", "),". https://prismjs.com 에서 미리보기를 확인하세요. 테마와 코드 하이라이팅이 충돌하면 none으로 설정하세요. 기본값: none.")]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,u+"_HIGHLIGHT_PLUGIN",["代码高亮插件,可选:".concat(p.join("、"),",分别表示:展示代码语言、展示代码拷贝按钮。可以同时设置多个选项,如果想要不添加任何代码高亮插件,请设为 none。默认:none。"),"代碼高亮插件,可選:".concat(p.join("、"),",分別表示:展示代碼語言、展示代碼拷貝按鈕。可以同時設置多個選項,如果想要不添加任何代碼高亮插件,請設為 none。預設:none。"),"代碼高亮外掛程式,可選:".concat(p.join("、"),",分別表示:展示代碼語言、展示代碼拷貝按鈕。 可以同時設置多個選項,如果想要不添加任何代碼高亮外掛程式,請設定為 none。預設:none。"),"Code highlight plug-in, optional: ".concat(p.join(", "),", respectively: show code language, show code copy button. Multiple options can be set at the same time, if you want to add no code highlighting plug-ins, please set it to none. Default: none. "),"Плагин подсветки кода, опционально: ".concat(p.join(","),", соответственно: показывать язык кода, показывать кнопку копирования кода. Вы можете установить несколько опций одновременно, если вы хотите не добавлять плагин подсветки кода, установите значение none. по умолчанию: none."),"コード・ハイライト・プラグイン。オプション: ".concat(p.join(","),", それぞれ: コード言語の表示、コード・コピー・ボタンの表示。複数のオプションを同時に設定できますが、コード・ハイライト・プラグインを追加したくない場合は、noneに設定してください。"),"코드 하이라이트 추가 기능. 선택 가능: ".concat(p.join(", "),". (코드 언어 표시, 복사 버튼) 여러 기능을 동시에 설정할 수 있으며, 추가하지 않으려면 none으로 설정하세요. 기본값: none.")]),u+"_IMAGE_CDN",["插入图片所使用的图床,目前支持:".concat(h.join("、")),"插入圖片所使用的圖床,目前支持:".concat(h.join("、")),"插入圖片所使用的圖床,目前支援:".concat(h.join("、")),"The image bed for image uploading. Select from: ".concat(h.join(", ")),"Расм юклаш учун расм тўшаги. Қуйидагилардан танланг: ".concat(h.join(", ")),"画像のアップロードに使用する画像ホスティングサービス。次のうちから選択してください:".concat(h.join("、")),"댓글 이미지 업로드 기능에 사용될 호스팅 서비스. 사용 가능 목록: ".concat(h.join(", "))]),u+"_IMAGE_CDN_URL",["图床的 URL,仅当 IMAGE_CDN 为 ".concat(m.join(" / ")," 时需要填写"),"圖床的 URL,僅當 IMAGE_CDN 為 ".concat(m.join(" / ")," 時需要填寫"),"圖床的 URL,僅當 IMAGE_CDN 為 ".concat(m.join(" / ")," 時需要填寫"),"The URL for the image bed. Required if your IMAGE_CDN is one of these: ".concat(m.join(", ")),"IMAGE_CDN томонидан белгиланган расм тўшаги URL. Агар сизнинг IMAGE_CDN шулардан бири бўлса: ".concat(m.join(", ")),"IMAGE_CDNで設定した画像ホスティングサービスのURL。IMAGE_CDNが以下のいずれかの場合は入力が必要です:".concat(m.join("、")),"이미지 저장소 URL. IMAGE_CDN 설정이 다음 중 하나인 경우 필요합니다: ${customImageBedServices.join(",")}"]),u+"_IMAGE_CDN_TOKEN",["图床 token。qcloud 图床无需设置","图床 token。qcloud 图床无需设置","圖床 token。qcloud 圖床不需設定","The image bed token. Unnessessary for qcloud","Тасвир токен белгиси. Қслоуд учун кераксиз","画像ホスティングトークン。qcloud画像ホスティングを利用する場合は設定の必要はありません","이미지 호스팅 토큰. qcloud은 설정 불필요."]),u+"_NSFW_API_URL",["NSFW 图片检测 API 地址。免费服务:nsfw.xnet.ren、nsfw.qixz.cn,项目:github.com/HG-ha/nsfwpy","NSFW 圖片檢測 API 地址。免費服務:nsfw.xnet.ren、nsfw.qixz.cn,項目:github.com/HG-ha/nsfwpy","NSFW 圖片檢測 API 地址。免費服務:nsfw.xnet.ren、nsfw.qixz.cn,項目:github.com/HG-ha/nsfwpy","NSFW image detection API URL. Free services: nsfw.xnet.ren, nsfw.qixz.cn, project: github.com/HG-ha/nsfwpy","NSFW расмни аниқлаш API URL. Бепул хизматлар: nsfw.xnet.ren, nsfw.qixz.cn, лойиҳа: github.com/HG-ha/nsfwpy","NSFW画像検出API URL。無料サービス:nsfw.xnet.ren、nsfw.qixz.cn、プロジェクト:github.com/HG-ha/nsfwpy","NSFW 이미지 감지 API URL. 무료 서비스: nsfw.xnet.ren, nsfw.qixz.cn, 프로젝트: github.com/HG-ha/nsfwpy"]),u+"_NSFW_THRESHOLD",["NSFW 检测阈值(0-1),当检测分数高于此值时拒绝上传。默认:0.5","NSFW 檢測閾值(0-1),當檢測分數高於此值時拒絕上傳。預設:0.5","NSFW 檢測閾值(0-1),當檢測分數高於此值時拒絕上傳。預設:0.5","NSFW detection threshold (0-1). Upload will be rejected if score exceeds this value. Default: 0.5","NSFW аниқлаш чегараси (0-1). Баҳо бу қийматдан ошса юклаш рад қилинади. Стандарт: 0.5","NSFW検出しきい値(0-1)。スコアがこの値を超えるとアップロードが拒否されます。デフォルト:0.5","NSFW 감지 임계값 (0-1). 점수가 이 값을 초과하면 업로드가 거부됩니다. 기본값: 0.5"]),u+"_S3_REGION",["S3 存储区域,例如 us-east-1。使用兼容 S3 的服务(如 Cloudflare R2、MinIO)时可填任意值","S3 儲存區域,例如 us-east-1。使用相容 S3 的服務(如 Cloudflare R2、MinIO)時可填任意值","S3 儲存區域,例如 us-east-1。使用相容 S3 的服務(如 Cloudflare R2、MinIO)時可填任意值","S3 region, e.g. us-east-1. Can be any value when using S3-compatible services (e.g. Cloudflare R2, MinIO)","S3 минтақаси, масалан us-east-1. S3 мос хизматлар учун (Cloudflare R2, MinIO) ихтиёрий қийматни киритиш мумкин","S3リージョン(例:us-east-1)。Cloudflare R2やMinIOなどのS3互換サービスを使用する場合は任意の値を入力できます","S3 리전 (예: us-east-1). Cloudflare R2, MinIO 등 S3 호환 서비스 사용 시 임의 값 입력 가능"]),u+"_S3_BUCKET",["S3 存储桶名称","S3 儲存桶名稱","S3 儲存桶名稱","S3 bucket name","S3 bucket nomi","S3バケット名","S3 버킷 이름"]),u+"_S3_ACCESS_KEY_ID",["S3 Access Key ID","S3 Access Key ID","S3 Access Key ID","S3 Access Key ID","S3 Access Key ID","S3 Access Key ID","S3 Access Key ID"]),u+"_S3_SECRET_ACCESS_KEY",["S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,u+"_S3_ENDPOINT",["S3 自定义 Endpoint,使用 Cloudflare R2、MinIO 等兼容 S3 的服务时填写","S3 自訂 Endpoint,使用 Cloudflare R2、MinIO 等相容 S3 的服務時填寫","S3 自訂 Endpoint,使用 Cloudflare R2、MinIO 等相容 S3 的服務時填寫","S3 custom endpoint. Required when using S3-compatible services like Cloudflare R2 or MinIO","S3 maxsus endpoint. Cloudflare R2 yoki MinIO kabi S3 mos xizmatlardan foydalanishda talab qilinadi","S3カスタムエンドポイント。Cloudflare R2やMinIOなどのS3互換サービスを使用する場合に必要です","S3 커스텀 엔드포인트. Cloudflare R2, MinIO 등 S3 호환 서비스 사용 시 필요"]),u+"_S3_CDN_URL",["S3 图片访问域名(CDN 域名),留空则使用默认 S3/Endpoint URL","S3 圖片存取網域(CDN 網域),留空則使用預設 S3/Endpoint URL","S3 圖片存取網域(CDN 網域),留空則使用預設 S3/Endpoint URL","S3 image access domain (CDN domain). Leave empty to use default S3/Endpoint URL","S3 rasm kirish domeni (CDN domeni). Standart S3/Endpoint URL dan foydalanish uchun bo'sh qoldiring","S3画像アクセスドメイン(CDNドメイン)。空白の場合はデフォルトのS3/Endpoint URLを使用します","S3 이미지 접근 도메인 (CDN 도메인). 비워두면 기본 S3/Endpoint URL 사용"]),u+"_S3_PATH_PREFIX",["S3 图片存储路径前缀,例如 images/twikoo,留空则存储在根目录","S3 圖片儲存路徑前綴,例如 images/twikoo,留空則儲存在根目錄","S3 圖片儲存路徑前綴,例如 images/twikoo,留空則儲存在根目錄","S3 image storage path prefix, e.g. images/twikoo. Leave empty to store in root","S3 rasm saqlash yo'l prefiksi, masalan images/twikoo. Ildizda saqlash uchun bo'sh qoldiring","S3画像保存パスプレフィックス(例:images/twikoo)。空白の場合はルートに保存されます","S3 이미지 저장 경로 접두사 (예: images/twikoo). 비워두면 루트에 저장"]),u+"_LIGHTBOX",["使用简易图片点击放大效果。默认:false","使用簡易圖片點擊放大效果。預設:false","使用簡易圖片點擊放大效果。預設:false","Use simple Lightbox effect. Default: false","Используйте простые эффекты лайтбокса. По умолчанию: false","シンプルな画像拡大機能を使用します。デフォルト:false","라이트박스 효과, 댓글 이미지 클릭 시 확대 효과 사용. 기본값: false"]),u+"_LIMIT_PER_MINUTE",["单个 IP 发言频率限制(条/10分钟),0 为无限制,默认:10","單個 IP 發言頻率限制(條/10分鐘),0 為無限制,預設:10","單個 IP 留言頻率限制(則/10分鐘),0 為無限,預設:10","How many comments can be posted by each IP every 10 minutes, 0 is unlimited, default: 10.","Ҳар бир ИП ҳар 10 дақиқада қанча шарҳ қолдириши мумкин, 0 чексиз, стандарт: 10.","同一IPにおける10分ごとの投稿回数制限。0は無制限、デフォルト:10","IP별 댓글 작성 빈도 제한 (10분당 건수), 0은 무제한. 기본값: 10."]),u+"_LIMIT_PER_MINUTE_ALL",["全站发言频率限制(条/10分钟),0 为无限制,默认:10","全站發言頻率限制(條/10分鐘),0 為無限制,預設:10","全站留言頻率限制(則/10分鐘),0 為無限,預設:10","How many comments can be posted by all IPs every 10 minutes, 0 is unlimited, default: 10.","Барча ИП-лар ҳар 10 дақиқада қанча шарҳ қўйиши мумкин, 0 чексиз, стандарт: 10.","全IPにおける10分ごとの投稿回数制限。0は無制限、デフォルト:10","10분당 사이트 전체에 작성 가능한 총 댓글 수 제한. 0은 무제한. 기본값: 10."]),u+"_LIMIT_LENGTH",["评论长度限制,0 为无限制,默认:500","評論長度限制,0 為無限制,預設:500","留言長度限制,0 為無限,預設:500","Comment length limitation, 0 is unlimited, default: 500.","Шарҳ узунлиги чеклови, 0 чексиз, стандарт: 500.","コメント長さの制限。0は無制限、デフォルト:500","댓글 길이 제한. 0은 무제한. 기본값: 500."]),u+"_MAIL_SUBJECT",["自定义通知邮件主题,留空则使用默认主题。","自定義通知郵件主題,留空則使用預設主題。","自訂通知郵件主題,留白則使用預設主題。","Custom Email notification subject. Leave it blank to use the default subject.","Махсус электрон почта хабарномаси мавзуси. Стандарт мавзуни ишлатиш учун уни бўш қолдиринг.","カスタム通知メールの件名。空白の場合はデフォルトの件名を使用します。","댓글 알림 이메일 제목 설정. 비워두면 기본 제목을 사용합니다."]),u+"_MAIL_SUBJECT_ADMIN",["自定义博主通知邮件主题,留空则使用默认主题。","自定義博主通知郵件主題,留空則使用預設主題。","自訂站長通知郵件主題,留白則使用預設主題。","Custom admin Email notification subject. Leave it blank to use the default subject.","Махсус администратор электрон почта хабарномаси мавзуси. Стандарт мавзуни ишлатиш учун уни бўш қолдиринг.","管理者へのカスタム通知メールの件名。空白の場合はデフォルトの件名を使用します。","관리자에게 발송되는 댓글 알림 이메일 제목 설정. 비워두면 기본 제목을 사용합니다."]),u+"_MAIL_TEMPLATE",["自定义通知邮件模板,留空则使用默认模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","自定義通知郵件模板,留空則使用預設模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","自訂通知郵件模板,留白則使用預設模板。可包含的欄位:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","Custom Email notification template. Leave it blank to use the default template. Fields that can be included: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","Махсус электрон почта хабарномаси шаблони. Стандарт шаблонни ишлатиш учун уни бўш қолдиринг. Қўшилиши мумкин бўлган майдонлар: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","カスタム通知メールテンプレート。空白の場合はデフォルトテンプレートを使用します。使用可能なフィールド:${SITE_URL}、${SITE_NAME}、${PARENT_NICK}、${PARENT_COMMENT}、${NICK}、${COMMENT}、${POST_URL}、${IMG}、${PARENT_IMG}","댓글 알림 이메일 템플릿 설정. 비워두면 기본 템플릿 사용. 다음 변수를 사용하면 해당 값으로 자동 치환됩니다: ${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,u+"_MAIL_TEMPLATE_ADMIN",["自定义博主通知邮件模板,留空则使用默认模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","自定義博主通知郵件模板,留空則使用預設模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","自訂站長通知郵件模板,留白則使用預設模板。可包含的欄位:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","Custom admin Email notification template. Leave it blank to use the default template. Fields that can be included: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","Махсус администратор электрон почта хабарномаси шаблони. Стандарт шаблонни ишлатиш учун уни бўш қолдиринг. Қўшилиши мумкин бўлган майдонлар: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","管理者へのカスタム通知メールテンプレート。空白の場合はデフォルトテンプレートを使用します。使用可能なフィールド:${SITE_URL}、${SITE_NAME}、${NICK}、${COMMENT}、${POST_URL}、${IP}、${MAIL}、${IMG}","관리자 알림 이메일 템플릿 설정. 비워두면 기본 템플릿 사용. 다음 변수를 사용하면 해당 값으로 자동 치환됩니다: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}"]),u+"_MASTER_TAG",["博主标识自定义文字,默认为 “博主”。","博主標識自定義文字,預設為 “博主”。","站長認證自訂文字,預設為「博主」。","Custom admin identifier.","Махсус администратор идентификатори.",'管理者を表すカスタムテキスト。デフォルト:"ブロガー"',"관리자 태그 설정. (닉네임 옆에 표시됨. 예: 관리자)"]),u+"_NOTIFY_SPAM",["垃圾评论是否发送通知,默认:true","垃圾評論是否發送通知,默認:true","垃圾留言是否發送通知,預設:true","Notifications for spam comments. Default: true.","Спам шарҳлар учун билдиришномалар. Стандарт: рост.","スパムコメントの通知を送信するかどうか。デフォルト:true","스팸 댓글 알림 발송 여부. 기본값: true."]),u+"_CAPTCHA_PROVIDER",["人机验证码提供商","人機驗證碼提供商","人機驗證碼提供商","CAPTCHA Provider","CAPTCHA Provider","CAPTCHAプロバイダー","캡차 제공자"]),u+"_TURNSTILE_SITE_KEY",["Turnstile 验证码的站点密钥。申请地址: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile 验证码的站点密钥。申请地址: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile 验证码的站点密钥。申请地址: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile CAPTCHA Site Key. Get from: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile CAPTCHA Site Key. Get from: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile CAPTCHAのサイトキー。参照: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile CAPTCHA(스팸봇 방지) 사이트 키. 발급처: https://dash.cloudflare.com/?to=/:account/turnstile"]),u+"_TURNSTILE_SECRET_KEY",["Turnstile 验证码的密钥","Turnstile 验证码的密钥","Turnstile 验证码的密钥","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHAのシークレットキー","Turnstile CAPTCHA Secret Key"]),u+"_GEETEST_CAPTCHA_ID",["极验验证码的 Captcha ID。申请地址: https://console.geetest.com/sensbot/management","极验验证码的 Captcha ID。申请地址: https://console.geetest.com/sensbot/management","极验验证码的 Captcha ID。申请地址: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. Get from: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. Get from: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. 参照: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. 발급처: https://console.geetest.com/sensbot/management"]),u+"_GEETEST_CAPTCHA_KEY",["极验验证码的 Captcha Key","极验验证码的 Captcha Key","极验验证码的 Captcha Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key"]),u+"_CAP_API_ENDPOINT",["Cap 验证码 API 端点(格式:https://<实例地址>/<site_key>/)","Cap 验证码 API 端点(格式:https://<实例地址>/<site_key>/)","Cap 验证码 API 端点(格式:https://<实例地址>/<site_key>/)","Cap CAPTCHA API Endpoint (format: https://<instance_url>/<site_key>/)","Cap CAPTCHA API Endpoint (format: https://<instance_url>/<site_key>/)","Cap CAPTCHA API Endpoint (format: https://<instance_url>/<site_key>/)","Cap CAPTCHA API Endpoint (format: https://<instance_url>/<site_key>/)"]),u+"_CAP_SECRET_KEY",["Cap 验证码的 Secret Key","Cap 验证码的 Secret Key","Cap 验证码的 Secret Key","Cap CAPTCHA Secret Key","Cap CAPTCHA Secret Key","Cap CAPTCHA Secret Key","Cap CAPTCHA Secret Key"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,u+"_QCLOUD_SECRET_ID",["腾讯云 secret id,用于垃圾评论检测。同时设置腾讯云和 Akismet 时,只有腾讯云会生效。注册:https://twikoo.js.org/cms.html","騰訊雲 secret id,用於垃圾評論檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會生效。註冊:https://twikoo.js.org/cms.html","騰訊雲 Secret ID,用於垃圾留言檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會被啟用。註冊:https://twikoo.js.org/cms.html","Tencent Cloud secret id for spam detection. When Tencent Cloud and Akismet are set at the same time, only Tencent Cloud will take effect. Register: https://twikoo.js.org/cms.html","Спамни аниқлаш учун Тенсент Слоуд махфий идентификатори. Тенсент Слоуд ва Акисмет бир вақтнинг ўзида ўрнатилганда, фақат Тенсент Слоуд кучга киради. Рўйхатдан ўтиш: https://twikoo.js.org/cms.html","Tencent CloudのシークレットID。スパムコメントの検出に使用されます。同時にTencent CloudとAkismetを設定した場合、Tencent Cloudのみが有効になります。登録:https://twikoo.js.org/cms.html","Tencent Cloud secret id (스팸 감지용). Tencent Cloud와 Akismet 동시 설정 시 Tencent Cloud만 적용. 등록: https://twikoo.js.org/cms.html"]),u+"_QCLOUD_CMS_BIZTYPE",["腾讯云内容安全 Biztype 名称,用于垃圾评论策略。可以自定义垃圾拦截规则","騰訊雲內容安全 Biztype 名稱,用於垃圾評論策略。可以自定義垃圾攔截規則","騰訊雲內容安全 Biztype 名稱,用於垃圾評論策略。可以自定義垃圾攔截規則","Tencent Cloud Content Security Biztype name for spam comment policy. Spam blocking rules can be customized","Tencent Cloud Content Security Biztype име, използвано за спам политика. Може да персонализира правилата за блокиране на спам","Tencent Cloud Content Security Biztype name スパムコメントポリシー。スパムブロックルールはカスタマイズ可能","Tencent Cloud Content Security Biztype 이름 (스팸 댓글 정책용). 스팸 차단 규칙 설정 가능."]),u+"_QCLOUD_SECRET_KEY",["腾讯云 secret key","騰訊雲 secret key","騰訊雲 Secret Key","Tencent Cloud secret key.","Тенсент Клауд махфий калити.","Tencent Cloudのシークレットキー","Tencent Cloud Secret Key."]),u+"_PUSHOO_CHANNEL",["即时消息推送平台名称,支持:".concat(l.join("、")," 等"),"即時消息推送平台名称,支持:".concat(l.join("、")," 等"),"即時訊息推送平台名稱,支援:".concat(l.join("、")," 等"),"IM notification push channel. Support: ".concat(l.join(", ")),"ИМ билдиришномаси суриш канали. Қўллаб-қувватлаш: ".concat(l.join(", ")),"即時メッセージプッシュプラットフォームの名前。".concat(l.join("、")," などに対応しています。"),"실시간 알림을 받을 서비스 설정. 지원: ".concat(l.join(", "))]),u+"_PUSHOO_TOKEN",["即时消息推送 token。请参考 https://pushoo.js.org 里的详细说明配置","即時消息推送 token。请参考 https://pushoo.js.org 里的详细说明配置","即時訊息推送 Token。請参考 https://pushoo.js.org 裡的詳細說明進行設定","IM notification push token. See https://pushoo.js.org for details","ИМ билдиришномаси пуш токени. Тафсилотлар учун https://pushoo.js.org га қаранг","即時メッセージプッシュトークン。詳細な設定については、https://pushoo.js.org の説明をご覧ください","선택한 실시간 알림 서비스 인증 토큰. 설정 방법은 https://pushoo.js.org 를 참조."]),u+"_DISPLAYED_FIELDS",["界面上展示的输入框,默认:nick,mail,link","界面上顯示的輸入框,預設:nick,mail,link","界面上顯示的輸入框,預設:nick,mail,link","Input boxes displayed on the interface. Default: nick,mail,link","Поля ввода, отображаемые на интерфейсе, Стандарт: nick,mail,link","画面に表示される入力欄。デフォルト:nick,mail,link","화면에 표시할 정보 입력란. 기본값: nick,mail,link"]),u+"_REQUIRED_FIELDS",["评论必填信息,设为 nick,mail,link 代表全必填,设为 none 代表全选填,默认:nick,mail","評論必填信息,設為 nick,mail,link 代表全必填,設為 none 代表全選填,預設:nick,mail","留言必填資訊,設為 nick,mail,link 代表全必填,設為 none 代表全選填,預設:nick,mail",'Required fields for comments. Set to "nick,mail,link" means all fields are required. Set to "none" means all fields are optional. Default: nick,mail.',"Шарҳлар учун зарур майдонлар. «Ниск,маил,линк» га ўрнатилган бўлса, барча майдонлар талаб қилинади. «Йўқ» га ўрнатилиши барча майдонлар ихтиёрий эканлигини англатади. Стандарт: ник, почта.","コメント必須項目。すべてを必須にする場合は nick,mail,link に設定、すべてを任意にする場合はnoneに設定してください。デフォルト:nick,mail",'댓글 작성 시 필수 입력 정보. "nick,mail,link"는 모두 필수, "none"은 모두 선택 압력. 기본값: nick,mail.']),u+"_SC_MAIL_NOTIFY",["是否同时通过 IM 和邮件 2 种方式通知博主,默认只通过 IM 通知博主,默认:false","是否同時通過 IM 和郵件 2 種方式通知博主,預設只通過 IM 通知博主,預設:false","是否同時透過 IM 和郵件 2 種方式通知博主,預設只透過 IM 通知博主,預設:false","Whether to notify admin via IM and email at the same time, the default is to notify admin only via IM. Default: false.","Администраторни бир вақтнинг ўзида ИМ ва электрон почта орқали хабардор қилиш керакми, сукут бўйича администраторни фақат ИМ орқали хабардор қилиш керак. Стандарт: нотўғри.","管理者にIMとメールで同時に通知するかどうか。デフォルトはIMのみで通知、デフォルト:false","실시간 알림과 이메일로 동시에 관리자에게 알릴지 여부. 기본값은 실시간 알림만 사용. 기본값: false."]),u+"_SENDER_EMAIL",["邮件通知邮箱地址。对于大多数邮箱服务商,SENDER_EMAIL 必须和 SMTP_USER 保持一致,否则无法发送邮件。","郵件通知郵箱地址。對於大多數郵箱服務商,SENDER_EMAIL 必須和 SMTP_USER 保持一致,否則無法發送郵件。","郵件通知郵箱帳號。對於大多數電郵服務提供商,SENDER_EMAIL 必須和 SMTP_USER 保持一致,否則無法傳送郵件。","Email address for Email notification. For most email service providers, SENDER_EMAIL must be consistent with SMTP_USER, otherwise emails cannot be sent.","Электрон почта хабарномаси учун электрон почта манзили. Аксарият электрон почта хизмати провайдерлари учун SENDER_EMAIL билан мос келиши керак, акс ҳолда электрон почта хабарларини юбориб бўлмайди.","メール通知のメールアドレス。 ほとんどのメールボックス・プロバイダでは、SENDER_EMAILはSMTP_USERと同じでなければなりません。","알림 이메일 발신 주소. 대부분의 이메일 서비스 제공자의 경우 SENDER_EMAIL과 SMTP_USER가 일치해야 메일 발송이 가능합니다."]),u+"_SENDER_NAME",["邮件通知标题。","郵件通知標題。","郵件通知標題。","The title for Email notification.","Электрон почта хабарномаси сарлавҳаси.","メール通知のタイトル","알림 이메일 발신자 이름."]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,u+"_SHOW_EMOTION",["启用插入表情功能,默认为:true","啟用插入表情功能,預設為:true","啟用插入表情功能,預設為:true","Enable emojis. Default: true.","Кулгичларни ёқинг. Стандарт: рост.","顔文字の挿入を有効にするかどうか。デフォルト:true","이모티콘 삽입 기능 활성화. 기본값: true."]),u+"_SHOW_IMAGE",["启用插入图片功能,默认为:true","啟用插入圖片功能,預設為:true","啟用插入圖片功能,預設為:true","Enable picture uploading. Default: true.","Расм юклашни ёқинг. Стандарт: рост.","画像のアップロードを有効にするかどうか。デフォルト:true","이미지 업로드 기능 활성화. 기본값: true."]),u+"_SHOW_ORDER",["评论排序下拉框,默认为:true","評論排序下拉框,預設為:true","評論排序下拉框,預設為:true","Show sort dropdown. Default: true.","Изоҳларни тартиблаш очиладиган менюси. Стандарт: рост.","コメントの並べ替えドロップダウンを表示するかどうか。デフォルト:true","댓글 정렬 드롭다운 메뉴 표시 여부. 기본값: true."]),u+"_SHOW_DISLIKE",["评论点踩按钮,默认为:true","評論點踩按鈕,預設為:true","評論點踩按鈕,預設為:true","Show dislike button. Default: true.","Изоҳларни ёқтирмаслик тугмаси. Стандарт: рост.","「よくないね」ボタンを表示するかどうか。デフォルト:true","댓글 싫어요 버튼 표시 여부. 기본값: true."]),u+"_SHOW_UA",["是否显示用户系统和浏览器,默认为:true","是否顯示使用者系統和瀏覽器,預設為:true","是否顯示使用者作業系統和瀏覽器,預設為:true","Show users' OS and browser. Default: true.","Фойдаланувчиларнинг ОС ва браузерини кўрсатиш. Стандарт: рост.","ユーザーのOSとブラウザーの情報を表示するかどうか。デフォルト:true","댓글 작성자의 운영체제 및 브라우저 표시 여부. 기본값: true."]),u+"_SHOW_REGION",["是否显示用户 IP 属地到省,可能不准确,不支持 IPv6,默认为:false","是否顯示使用者 IP 屬地到省,預設為:false","是否顯示使用者 IP 所屬地(精確到省),預設為:false","Show users' IP region (province). Default: false.","Фойдаланувчиларнинг ИП ҳудудини (вилоят) кўрсатиш. Стандарт: нотўғри.","ユーザーIPの所在地(省)を表示するかどうか。正確でない場合があります。IPv6はサポートされていません。デフォルト:false","사용자 IP 지역(도/시 단위) 표시 여부 (부정확할 수 있음, IPv6 미지원). 기본값: false."]),u+"_SITE_NAME",["网站名称","網站名稱","網站名稱","Website name.","Вебсайт номи.","ウェブサイト名","웹사이트 이름."]),u+"_SITE_URL",["网站地址","網站地址","網站網址","Website URL.","Вебсайт URL.","ウェブサイトのアドレス","웹사이트 주소."]),u+"_SMTP_HOST",["自定义 SMTP 服务器地址。如您已配置 SMTP_SERVICE,此项请留空。","自定義 SMTP 伺服器地址。如您已配置 SMTP_SERVICE,此項請留空。","自訂 SMTP 伺服器位址。如您已設定 SMTP_SERVICE,此項請留白。","Custom SMTP server address. If you have configured SMTP_SERVICE, please leave it empty.","Махсус СМТП сервер манзили. Агар сиз СМТП_СEРВИСE созлаган бўлсангиз, уни бўш қолдиринг.","自定义 SMTP 服务器地址。如您已配置 SMTP_SERVICE,此项请留空。","カスタムSMTPサーバのアドレス。SMTP_SERVICEを設定している場合は空白のままにします。","SMTP 서버 주소. SMTP_SERVICE를 설정한 경우 비워두세요."]),u+"_SMTP_PASS",["邮件通知邮箱密码,QQ、163邮箱请填写授权码。","郵件通知郵箱密碼,QQ、163郵箱請填寫授權碼。","郵件通知郵箱密碼,QQ、163 郵箱請填寫授權碼。","Email notification mailbox password. Enter authorization code for QQ/163 mail.","Электрон почта хабарномаси почта қутиси пароли. ҚҚ/163 почтаси учун авторизация кодини киритинг.","メール通知のメールボックスパスワード。QQ、163メールは認証コードを入力してください","알림 이메일 계정 SMTP용 비밀번호. (QQ, 163 등 대부분 별도의 앱 비밀번호/인증 코드 사용)"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,u+"_SMTP_PORT",["自定义 SMTP 端口。如您已配置 SMTP_SERVICE,此项请留空。","自定義 SMTP 端口。如您已配置 SMTP_SERVICE,此項請留空。","自訂 SMTP 連接埠。如您已設定 SMTP_SERVICE,此項請留白。","Custom SMTP port. If you have configured SMTP_SERVICE, please leave it empty.","Махсус СМТП порти. Агар сиз СМТП_СEРВИС созлаган бўлсангиз, уни бўш қолдиринг.","カスタムSMTPポート。SMTP_SERVICEを設定している場合は、空白のままにします。","SMTP 포트. SMTP_SERVICE를 설정한 경우 비워두세요."]),u+"_SMTP_SECURE",["自定义 SMTP 是否使用TLS,请填写 true 或 false。如您已配置 SMTP_SERVICE,此项请留空。","自定義 SMTP 是否使用TLS,請填寫 true 或 false。如您已配置 SMTP_SERVICE,此項請留空。","自訂 SMTP 是否使用 TLS,請填寫 true 或 false。如您已設定 SMTP_SERVICE,此項請留白。",'Custom TLS for SMTP. Enter "true" or "false". If you have configured SMTP_SERVICE, please leave it empty.',"СМТП учун махсус ТЛС. «Тўғри» ёки «нотўғри» ни киритинг. Агар сиз СМТП_СEРВИС созлаган бўлсангиз, уни бўш қолдиринг.","SMTPがTLSを使用するかどうかをカスタマイズします。trueまたはfalseを記入してください。SMTP_SERVICEを設定している場合は、この項目を空白にしてください。","SMTP TLS 사용 여부 (true 또는 false 입력). SMTP_SERVICE를 설정한 경우 비워두세요."]),u+"_SMTP_SERVICE",["邮件通知邮箱服务商。支持:".concat(d.join("、")),"郵件通知郵箱服務商。支持:".concat(d.join("、")),"郵件通知郵箱服務提供商。支援:".concat(d.join("、")),"Email service provider for Email notification. Support: ".concat(d.join(", ")),"Электрон почта хабарномаси учун электрон почта хизмати провайдери. Қўллаб-қувватлаш: ".concat(d.join(", ")),"メール通知メールボックスサービスプロバイダ。サポート: ".concat(d.join(","),"."),"알림 발송 이메일 서비스 선택. 지원 목록: ".concat(d.join(", "))]),u+"_SMTP_USER",["邮件通知邮箱用户名。","郵件通知郵箱用户名。","郵件通知郵箱使用者名稱。","Email notification mailbox username.","Электрон почта хабарномаси почта қутиси фойдаланувчи номи.","メール通知のメールボックスユーザー名。","선택한 이메일 알림 서비스 아이디"]),"ADMIN_CONFIG_RESET",["重置","重置","還原","Reset","Ресет","リセット","초기화"]),"ADMIN_CONFIG_SAVE",["保存","保存","儲存","Save","Сақлаш","保存","저장"]),"ADMIN_CREDENTIALS",["私钥文件","私鑰文件","私鑰檔案","Private key file","Shaxsiy kalit fayli","秘密鍵ファイル","개인 키 파일"]),"ADMIN_CREDENTIALS_FAQ",["如何获得私钥","如何獲得私鑰","如何獲取私鑰","How to get the private key","Shaxsiy kalitni qanday olish mumkin","秘密鍵を取得する方法","개인 키 발급 방법"]),"ADMIN_CREDENTIALS_PLACEHOLDER",["请粘贴私钥文件内容","請貼上私鑰文件內容","請貼上私鑰檔案內容","Please paste the contents of the private key file","Iltimos, shaxsiy kalit faylining mazmunini joylashtiring","秘密鍵ファイルの内容を貼り付けてください","개인 키 파일 내용을 붙여넣으세요"]),"ADMIN_FORGOT",["忘记密码","忘記密碼","忘記密碼","Forget your password","Парол унутилган","パスワードを忘れた","비밀번호 찾기"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,"ADMIN_EXPORT",["导出","匯出","匯出","Export","Экспорт","エクスポート","내보내기"]),"ADMIN_EXPORT_WARN",["将全部数据导出为 JSON 文件。如果遇到评论较多、导出失败或缺失数据,请连接数据库手动导出","將全部數據匯出為 JSON 檔。如果遇到評論較多、匯出失敗或缺失數據,請連接資料庫手動匯出","將全部數據匯出為 JSON 檔。如果遇到評論較多、匯出失敗或缺失數據,請連接資料庫手動匯出","Export all data as a JSON file. If you encounter export failures or missing data, connect to the database to export manually","Барча маълумотларни ЖСОН файли сифатида экспорт қилинг. Экспорт хатоси ёки этишмаётган маълумотларга дуч келсангиз, қўлда экспорт қилиш учун маълумотлар базасига уланинг","すべてのデータをJSONファイルとしてエクスポートします。コメントが多く、エクスポートに失敗したりデータが欠落している場合は、データベースに手動で接続してエクスポートしてください","모든 데이터를 JSON 파일로 내보냅니다. 댓글이 많아 내보내기 실패 또는 데이터 누락 발생 시, 데이터베이스에 직접 연결하여 수동으로 내보내세요."]),"ADMIN_EXPORT_COMMENT",["导出评论","匯出評論","匯出評論","Export comment","Изохни экспорт килиш","コメントをエクスポート","댓글 내보내기"]),"ADMIN_EXPORT_COUNTER",["导出访问量","匯出訪問量","匯出訪問量","Export counter","Экспорт сони","ページビューをエクスポート","통계 내보내기"]),c,["导入","匯入","匯入","Import","Импорт","インポート","가져오기"]),c+"_FILE_REQUIRED",["未选择文件","未選擇文件","未選擇檔案","No file selected","Файлни танланмади","ファイルが選択されていません","파일이 선택되지 않았습니다"]),c+"_IMPORTED",["完成导入 ","完成匯入 ","完成匯入 ","Imported ","Импорт қилинди ","インポート完了 ","가져오기 완료 "]),c+"_IMPORTING",["开始导入 ","開始匯入 ","開始匯入 ","Importing ","Импорт қилинмоқда ","インポートを開始 ","가져오는 중 "]),c+"_LOG",["日志","日誌","日誌","Log","Лог","システムログ","로그"]),c+"_SELECT",["请选择","請選擇","請選擇","Select","Танланг","選択してください","선택하세요"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,c+"_SELECT_FILE",["选择文件","選擇文件","選擇檔案","Select file","Файлни танланг","ファイルを選択","파일 선택"]),c+"_SELECT_SOURCE",["选择源系统","選擇源系統","選擇來源系統","Select source","Манба танланг","ソースを選択","가져올 댓글 데이터 선택"]),c+"_SOURCE_REQUIRED",["未选择源系统","未選擇源系統","未選擇來源系統","No source selected.","Ҳеч қандай манба танланмаган.","ソースが選択されていません","가져올 댓글 데이터가 선택되지 않았습니다."]),c+"_START",["开始导入","開始匯入","開始匯入","Start import","Импортни бошлаш","インポートを開始","가져오기 시작"]),c+"_STARTING",["开始导入","開始匯入","開始匯入","Importing","Импорт қилинмоқда","インポート中です","가져오는 중"]),c+"_TIP_ARTALK",["请上传 JSON 格式的 Artalk 导出文件,文件名通常为 comments.data.json","請上傳 JSON 格式的 Artalk 導出文件,文件名通常為 comments.data.json","請上傳 JSON 格式的 Artalk 匯出檔案,檔名通常為 comments.data.json","Please upload the Artalk export file in JSON format.The file name is usually comments.data.json","Арталк экспорт файлини ЖСОН форматида юкланг. Файл номи одатда comments.data.json бўлади.","JSON形式のArtalkエクスポートファイルをアップロードしてください。ファイル名は通常、comments.data.jsonです。","JSON 형식의 Artalk 내보내기 파일을 업로드하세요. 파일 이름은 보통 comments.data.json 입니다."]),c+"_TIP_DISQUS",["请上传 XML 格式的 Disqus 导出文件,文件名通常为 [网站名称]-[导出时间]-all.xml","請上傳 XML 格式的 Disqus 導出文件,文件名通常為 [網站名稱]-[導出時間]-all.xml","請上傳 XML 格式的 Disqus 匯出檔案,檔名通常為 [網站名稱]-[匯出時間]-all.xml","Please upload the Disqus export file in XML format. The file name is usually [website name]-[export time]-all.xml","Disqus экспорт файлини ХМЛ форматида юкланг. Файл номи одатда [веб-сайт номи]-[экспорт vaqti]-all.xml","DisqusエクスポートファイルをXML形式でアップロードしてください。ファイル名は通常、[サイト名]-[エクスポート時間]-all.xmlです。","XML 형식의 Disqus 내보내기 파일을 업로드하세요. 파일 이름은 보통 [웹사이트이름]-[내보내기시간]-all.xml 입니다."]),c+"_TIP_VALINE",["请上传 JSON 格式的 Valine 导出文件,文件名通常为 Comment.json","請上傳 JSON 格式的 Valine 導出文件,文件名通常為 Comment.json","請上傳 JSON 格式的 Valine 匯出檔案,檔名通常為 Comment.json","Please upload the Valine export file in JSON format. The file name is usually Comment.json","Илтимос, Валине экспорт файлини ЖСОН форматида юкланг. Файл номи одатда Comment.json","JSON形式のValineエクスポートファイルをアップロードしてください。ファイル名は通常、Comment.jsonです。","JSON 형식의 Valine 내보내기 파일을 업로드하세요. 파일 이름은 보통 Comment.json 입니다."]),c+"_UPLOADED",["上传完成 ","上傳完成 ","上傳完成 ","Uploaded ","Юкланди ","アップロード完了","업로드 완료 "]),c+"_UPLOADING",["已上传 ","已上傳 ","已上傳 ","Uploading ","Юкланмоқда ","アップロード中です","업로드 중 "]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,c+"_WARN",["支持从其他评论系统的备份文件导入评论。\n数据是安全的,导入功能完全在您的云环境进行。\n建议在导入前备份 comment 数据库。","支持從其他評論系統的備份文件匯入評論。\n數據是安全的,匯入功能完全在您的雲環境進行。\n建議在匯入前備份 comment 數據庫。","支援從其他留言系統的備份檔案匯入留言。\n資料是安全的,匯入功能完全在您的雲端環境進行。\n建議在匯入前備份 comment 資料庫。","Import comments from other comment systems.\nThe data is safe, and the import function is performed entirely in your cloud environment.\nPlease backup your comment database before importing.","Бошқа шарҳ тизимларидан шарҳларни импорт қилинг.\nМаълумотлар хавфсиз ва импорт функцияси тўлиқ булутли муҳитда амалга оширилади.\nИмпорт қилишдан олдин шарҳлар маълумотлар базасини захираланг.","他のコメントシステムのバックアップファイルからのインポートに対応。\nデータは安全で、インポート機能はすべてクラウド環境で実行されます。\nインポート前にコメントデータベースをバックアップすることを推奨します。","다른 댓글 시스템의 백업 파일에서 댓글을 가져올 수 있습니다.\n데이터 가져오기는 설정하신 클라우드에서만 안전하게 진행됩니다.\n가져오기 전에 댓글 데이터베이스를 백업하는 것이 좋습니다."]),"ADMIN_LOGIN",["登录","登入","登入","Sign in","Тизимга кириш","ログイン","로그인"]),"ADMIN_LOGIN_TITLE",["Twikoo 评论管理","Twikoo 評論管理","Twikoo 留言管理","Twikoo Management Panel","Twikoo Бошқарув Панели","Twikoo コメント管理","Twikoo 관리자 패널"]),"ADMIN_LOGOUT",["退出登录","退出登入","登出","Sign out","Тизимдан чиқиш","ログアウト","로그아웃"]),"ADMIN_NEED_UPDATE",["若要使用评论管理,请更新 Twikoo 云函数","若要使用評論管理,請更新 Twikoo 雲函數","若要使用留言管理功能,請更新 Twikoo 雲端函數","A new version of Twikoo is required for comment management.","Фикрларни бошқариш учун Твикоо нинг янги версияси талаб қилинади.","コメント管理を使用するには、Twikoo クラウド関数を更新してください","새 버전의 댓글 관리를 사용하려면 Twikoo Cloud Function을 업데이트하세요."]),"ADMIN_PASSWORD",["密码","密碼","密碼","Password","Пароль","パスワード","비밀번호"]),"ADMIN_PASSWORD_PLACEHOLDER",["请输入","請輸入","請輸入","Enter your password...","Паролингизни киритинг...","入力してください","비밀번호를 입력하세요..."]),"ADMIN_PASSWORD_REQUIRED",["请输入密码","請輸入密碼","請輸入密碼","Please enter your password","Илтимос, паролингизни киритинг","パスワードを入力してください","비밀번호를 입력하세요"]),"ADMIN_REGIST",["注册","註冊","註冊","Register","Рўйхатдан ўтиш","登録","관리자 등록"]),"ADMIN_REGIST_FAILED",["注册失败","註冊失敗","註冊失敗","Register failed","Рўйхатдан ўтиш амалга ошмади","登録に失敗しました","관리자 등록 실패"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,"ADMIN_SET_PASSWORD",["设置密码","設置密碼","設定密碼","Set password","Пароль қўйиш","パスワードの設定","비밀번호 설정"]),"ADMIN_SET_PASSWORD_CONFIRM",["确认密码","確認密碼","確認密碼","Confirm password","Паролни тасдиқланг","パスワードの確認","비밀번호 확인"]),"ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER",["确认密码","確認密碼","確認密碼","Confirm password...","Паролни тасдиқлаш...","パスワードの確認","비밀번호 확인..."]),"ADMIN_SET_PASSWORD_PLACEHOLDER",["密码","密碼","密碼","Password","Пароль","パスワード","비밀번호"]),"ADMIN_TITLE",["Twikoo 管理面板","Twikoo 管理面板","Twikoo 管理控制台","Twikoo Management Panel","Twikoo Бошқарув Панели","Twikoo管理パネル","Twikoo 관리 패널"]),"COMMENTS_COUNT_SUFFIX",[" 条评论"," 條評論"," 則留言"," comments"," изоҳлар"," 件のコメント","개의 댓글"]),"COMMENTS_SORT_NEWEST",["最新","最新","最新","Newest","Энг янги","最新","최신"]),"COMMENTS_SORT_OLDEST",["最早","最早","最早","Oldest","Энг эски","最古","오래됨"]),"COMMENTS_SORT_POPULAR",["热门","熱門","熱門","Popular","Машҳур","人気","인기"]),"COMMENTS_EXPAND",["查看更多","查看更多","檢視更多","Load more","Давомини юклаш","もっと見る","더 보기"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,"COMMENTS_NO_COMMENTS",["没有评论","沒有評論","沒有留言","No comment","Изоҳларсиз","コメントはありません","아직 댓글이 없습니다."]),"COMMENT_EXPAND",["展开","展開","展開","Read more","Давомини ўқиш","全文を表示","더 보기"]),"COMMENT_COLLAPSE",["收起","收起","閉合","Collapse","Очиш","折りたたむ","접기"]),"COMMENT_MASTER_TAG",["博主","博主","站長","Admin","Модератор","管理者","관리자"]),"COMMENT_REPLIED",["回复","回覆","回覆","Reply","Жавоб бериш","返信","답글"]),"COMMENT_REVIEWING_TAG",["审核中","審核中","審核中","Pending","Кутилмоқда","検討中","검토 중"]),"COMMENT_TOP_TAG",["置顶","置頂","置頂","Pinned","Қадоқланган","固定","고정됨"]),"COMMENT_FAILED",["评论失败","評論失敗","評論失敗","Comment failed","Фикр билдирилмади","コメント失敗","댓글 등록 실패"]),"META_INPUT_LINK",["网址","網址","網址","Website","Веб-сайт","ウェブサイト","웹사이트"]),"META_INPUT_MAIL",["邮箱","郵箱","郵箱","Email","Email","メールアドレス","이메일"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,"META_INPUT_NICK",["昵称","暱稱","暱稱","Nickname","Исм","名前","닉네임"]),"META_INPUT_NOT_REQUIRED",["选填","選填","選填","Optional","Ихтиёрий","任意","선택"]),"META_INPUT_REQUIRED",["必填","必填","必填","Required","Мажбурий","必須","필수"]),"PAGINATION_COUNT_PREFIX",["共 ","共 ","共 ","","","合計 ","총 "]),"PAGINATION_COUNT_SUFFIX",[" 条"," 條"," 條"," entries"," ёзувлар"," 件","개"]),"PAGINATION_GOTO_PREFIX",["前往","前往","前往","Goto page","Саҳифага ўтиш","ページに移動","이동할 페이지: "]),"PAGINATION_GOTO_SUFFIX",["页","頁","頁","","ページ",""]),"PAGINATION_PAGESIZE",["条/页","條/頁","則/頁","entries/page","ёзувлар/саҳифа","件/ページ","개/페이지"]),"SUBMIT_CANCEL",["取消","取消","取消","Cancel","Бекор қилиш","キャンセル","취소"]),"SUBMIT_PREVIEW",["预览","預覽","預覽","Preview","Кўриб чиқиш","プレビュー","미리보기"]),(0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])((0,o["default"])(i,"SUBMIT_SEND",["发送","發送","傳送","Send","Юбормоқ","送信","등록"]),"IMAGE_UPLOAD_PLACEHOLDER",["图片上传中","圖片上傳中","圖片上傳中","Uploading image","Расм юклаш","画像のアップロード中","이미지 업로드 중"]),"IMAGE_UPLOAD_FAILED",["图片上传失败","圖片上傳失敗","圖片上傳失敗","IMAGE UPLOAD FAILED","РАСМ ЮКЛАНМАДИ","画像のアップロード失敗","이미지 업로드 실패"]),"IMAGE_UPLOAD_NSFW",["图片包含不当内容,禁止上传","圖片包含不當內容,禁止上傳","圖片包含不當內容,禁止上傳","Image contains inappropriate content, upload rejected","Расм ноқулай мазмунни ўз ичига олади, юклаш рад қилинди","画像に不適切なコンテンツが含まれているため、アップロードが拒否されました","이미지에 부적절한 콘텐츠가 포함되어 있어 업로드가 거부되었습니다"]),"IMAGE_UPLOAD_FAILED_NO_CONF",["博主未配置图床服务","博主未配置圖床服務","博主未配置圖床服務","The blogger didn't configured any image bed service","Муаллиф ҳеч қандай тасвир хизматини созламаган","管理者が画像配信サービスを設定していません","블로거가 이미지 호스팅 서비스를 설정하지 않았습니다."]),"IMAGE_UPLOAD_PLEASE_WAIT",["图片上传中,请稍候再发送","圖片上傳中,請稍候再發送","圖片上傳中,請稍候再傳送","Uploading image, please try again later","Расм юкланмоқда, кейинроқ қайта уриниб кўринг","画像のアップロードが完了するまでお待ちください","이미지 업로드 중입니다. 잠시 후 다시 시도해주세요."]),"SUBMIT_SENDING",["发送中","發送中","正在傳送","Sending","Юбориш","送信中","등록 중"]),"TIMEAGO_DAYS",["天前","天前","天前","days ago","кунлар олдин","日前","일 전"]),"TIMEAGO_HOURS",["小时前","小時前","小時前","hours ago","соатлар олдин","時間前","시간 전"]),"TIMEAGO_MINUTES",["分钟前","分鐘前","分鐘前","minutes ago","дақиқалар олдин","分前","분 전"]),(0,o["default"])((0,o["default"])(i,"TIMEAGO_NOW",["刚刚","剛剛","剛剛","Just now","Ҳозиргина","たった今","방금 전"]),"TIMEAGO_SECONDS",["秒前","秒前","秒前","seconds ago","сониялар олдин","秒前","초 전"]))},7565:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var i=r(n(8850)),o=r(n(1332)),a=n(4008),s=n(9105);t.Renderer=function(){function e(t){(0,i["default"])(this,e),this.options=t||a.defaults}return(0,o["default"])(e,[{key:"owo",value:function(e){var t=this.options.odata;return t&&t[e]?'<img class="tk-owo-emotion" src="'+t[e]+'" alt=":'+e+':">':":"+e+":"}},{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+(0,s.escape)(r,!0)+'">'+(n?e:(0,s.escape)(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:(0,s.escape)(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n"+e+"</blockquote>\n"}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>"+e+"</li>\n"}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>"+e+"</p>\n"}},{key:"table",value:function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n"+e+"</tr>\n"}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}},{key:"strong",value:function(e){return"<strong>"+e+"</strong>"}},{key:"em",value:function(e){return"<em>"+e+"</em>"}},{key:"codespan",value:function(e){return"<code>"+e+"</code>"}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>"+e+"</del>"}},{key:"link",value:function(e,t,n){if(null===(e=(0,s.cleanUrl)(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+(0,s.escape)(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(null===(e=(0,s.cleanUrl)(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}()},7696:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-admin-container"},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin","class":{__show:e.show}},[t("button",{staticClass:"tk-admin-close",domProps:{innerHTML:e._s(e.iconClose)},on:{click:e.onClose}}),e._v(" "),e.needUpdate?t("div",{staticClass:"tk-login-title"},[t("div",[e._v(e._s(e.t("ADMIN_NEED_UPDATE")))]),e._v(" "),t("a",{attrs:{href:"https://twikoo.js.org/update.html",target:"_blank"}},[e._v("https://twikoo.js.org/update.html")])]):e._e(),e._v(" "),e.needUpdate?e._e():t("div",[!e.isLogin&&e.isSetPassword?t("div",{staticClass:"tk-login"},[t("div",{staticClass:"tk-login-title"},[e._v(e._s(e.t("ADMIN_LOGIN_TITLE")))]),e._v(" "),t("form",[t("input",{attrs:{type:"hidden"}}),e._v(" "),t("el-input",{ref:"focusme",staticClass:"tk-password",attrs:{placeholder:e.t("ADMIN_PASSWORD_PLACEHOLDER"),"show-password":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onLogin.apply(null,arguments)}},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}},[t("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_PASSWORD")))]),e._v(" "),t("el-button",{attrs:{slot:"append"},on:{click:e.onLogin},slot:"append"},[e._v(e._s(e.t("ADMIN_LOGIN")))])],2)],1),e._v(" "),e.loginErrorMessage?t("div",{staticClass:"tk-login-msg"},[e._v("\n "+e._s(e.loginErrorMessage)+"\n "),t("a",{attrs:{href:"https://twikoo.js.org/faq.html",rel:"noopener noreferrer",target:"_blank"}},[e._v(e._s(e.t("ADMIN_FORGOT")))])]):e._e()]):e._e(),e._v(" "),e.isLogin||e.isSetPassword?e._e():t("div",{staticClass:"tk-regist"},[t("div",{staticClass:"tk-login-title"},[e._v(e._s(e.t("ADMIN_LOGIN_TITLE")))]),e._v(" "),t("form",[e.isSetCredentials?e._e():t("el-input",{ref:"focusme",staticClass:"tk-password",attrs:{placeholder:e.t("ADMIN_CREDENTIALS_PLACEHOLDER")},model:{value:e.credentials,callback:function(t){e.credentials=t},expression:"credentials"}},[t("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_CREDENTIALS")))])],2),e._v(" "),t("el-input",{staticClass:"tk-password",attrs:{placeholder:e.t("ADMIN_SET_PASSWORD_PLACEHOLDER"),"show-password":""},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}},[t("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_SET_PASSWORD")))])],2),e._v(" "),t("el-input",{staticClass:"tk-password",attrs:{placeholder:e.t("ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER"),"show-password":""},model:{value:e.passwordConfirm,callback:function(t){e.passwordConfirm=t},expression:"passwordConfirm"}},[t("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_SET_PASSWORD_CONFIRM")))])],2)],1),e._v(" "),t("el-button",{staticClass:"tk-regist-button",attrs:{disabled:!e.canRegist},on:{click:e.onRegist}},[e._v(e._s(e.t("ADMIN_REGIST")))]),e._v(" "),e.loginErrorMessage?t("div",{staticClass:"tk-login-msg"},[e._v(e._s(e.loginErrorMessage))]):e._e(),e._v(" "),e.isSetCredentials?e._e():t("div",{staticClass:"tk-login-msg"},[t("a",{attrs:{href:"https://twikoo.js.org/faq.html",rel:"noopener noreferrer",target:"_blank"}},[e._v(e._s(e.t("ADMIN_CREDENTIALS_FAQ")))])])],1),e._v(" "),e.isLogin?t("div",{staticClass:"tk-panel"},[t("div",{staticClass:"tk-panel-title"},[t("div",[e._v(e._s(e.t("ADMIN_TITLE")))]),e._v(" "),t("a",{staticClass:"tk-panel-logout",attrs:{href:"#"},on:{click:e.onLogout}},[e._v(e._s(e.t("ADMIN_LOGOUT")))])]),e._v(" "),t("div",{staticClass:"tk-tabs"},[t("div",{staticClass:"tk-tab","class":{__active:"comment"===e.activeTabName},on:{click:function(t){e.activeTabName="comment"}}},[e._v(e._s(e.t("ADMIN_COMMENT")))]),e._v(" "),t("div",{staticClass:"tk-tab","class":{__active:"config"===e.activeTabName},on:{click:function(t){e.activeTabName="config"}}},[e._v(e._s(e.t("ADMIN_CONFIG")))]),e._v(" "),t("div",{staticClass:"tk-tab","class":{__active:"import"===e.activeTabName},on:{click:function(t){e.activeTabName="import"}}},[e._v(e._s(e.t("ADMIN_IMPORT")))]),e._v(" "),t("div",{staticClass:"tk-tab","class":{__active:"export"===e.activeTabName},on:{click:function(t){e.activeTabName="export"}}},[e._v(e._s(e.t("ADMIN_EXPORT")))])]),e._v(" "),t("tk-admin-comment",{directives:[{name:"show",rawName:"v-show",value:"comment"===e.activeTabName,expression:"activeTabName === 'comment'"}]}),e._v(" "),t("tk-admin-config",{directives:[{name:"show",rawName:"v-show",value:"config"===e.activeTabName,expression:"activeTabName === 'config'"}]}),e._v(" "),t("tk-admin-import",{directives:[{name:"show",rawName:"v-show",value:"import"===e.activeTabName,expression:"activeTabName === 'import'"}]}),e._v(" "),t("tk-admin-export",{directives:[{name:"show",rawName:"v-show",value:"export"===e.activeTabName,expression:"activeTabName === 'export'"}]})],1):e._e()])])])},t.Yp=[]},7912:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin-comment"},[e.clientVersion!==e.serverVersion?t("div",{staticClass:"tk-admin-warn"},[t("span",[e._v(e._s(e.t("ADMIN_CLIENT_VERSION"))+e._s(e.clientVersion)+",")]),e._v(" "),t("span",[e._v(e._s(e.t("ADMIN_SERVER_VERSION"))+e._s(e.serverVersion)+",")]),e._v(" "),e._m(0)]):e._e(),e._v(" "),t("div",{staticClass:"tk-admin-comment-filter"},[t("el-input",{staticClass:"tk-admin-comment-filter-keyword",attrs:{size:"small",placeholder:e.t("ADMIN_COMMENT_SEARCH_PLACEHOLDER")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getComments.apply(null,arguments)}},model:{value:e.filter.keyword,callback:function(t){e.$set(e.filter,"keyword",t)},expression:"filter.keyword"}}),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.filter.type,expression:"filter.type"}],staticClass:"tk-admin-comment-filter-type",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.filter,"type",t.target.multiple?n:n[0])}}},[t("option",{attrs:{value:""}},[e._v(e._s(e.t("ADMIN_COMMENT_FILTER_ALL")))]),e._v(" "),t("option",{attrs:{value:"VISIBLE"}},[e._v(e._s(e.t("ADMIN_COMMENT_FILTER_VISIBLE")))]),e._v(" "),t("option",{attrs:{value:"HIDDEN"}},[e._v(e._s(e.t("ADMIN_COMMENT_FILTER_HIDDEN")))])]),e._v(" "),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.getComments}},[e._v(e._s(e.t("ADMIN_COMMENT_SEARCH")))])],1),e._v(" "),t("div",{ref:"comment-list",staticClass:"tk-admin-comment-list"},e._l(e.comments,function(n){return t("div",{key:n._id,staticClass:"tk-admin-comment-item"},[t("div",{staticClass:"tk-admin-comment-meta"},[t("tk-avatar",{attrs:{config:e.serverConfig,avatar:n.avatar,nick:n.nick,mail:n.mail,link:n.link}}),e._v(" "),n.link?e._e():t("span",[e._v(e._s(n.nick)+" ")]),e._v(" "),n.link?t("a",{attrs:{href:e.convertLink(n.link),target:"_blank"}},[e._v(e._s(n.nick)+" ")]):e._e(),e._v(" "),n.mail?t("span",[e._v("("),t("a",{attrs:{href:"mailto:".concat(n.mail)}},[e._v(e._s(n.mail))]),e._v(") ")]):e._e(),e._v(" "),n.isSpam?t("span",[e._v(e._s(e.t("ADMIN_COMMENT_IS_SPAM_SUFFIX"))+" ")]):e._e(),e._v(" "),t("span",{staticClass:"tk-time"},[e._v(e._s(e.displayCreated(n))+" ")]),e._v(" "),t("span",{attrs:{title:n.ua}},[e._v(e._s(n.ipRegion))])],1),e._v(" "),t("div",{ref:"comments",refInFor:!0,staticClass:"tk-content",domProps:{innerHTML:e._s(n.comment)}}),e._v(" "),e.securityAlert&&e.securityAlert.commentId===n._id?t("div",{staticClass:"tk-admin-warn tk-admin-security-alert"},[t("a",{staticClass:"tk-admin-close",attrs:{href:"#"},domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){t.preventDefault(),e.securityAlert=null}}}),e._v(" "),t("div",{staticClass:"tk-admin-security-alert-message"},[e._v(e._s(e.securityAlert.message))]),e._v(" "),e.securityAlert.url?t("div",{staticClass:"tk-admin-security-alert-url"},[t("code",[e._v(e._s(e.securityAlert.url))])]):e._e()]):e._e(),e._v(" "),t("div",{staticClass:"tk-admin-actions"},[t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleView(n)}}},[e._v(e._s(e.t("ADMIN_COMMENT_VIEW")))]),e._v(" "),n.isSpam?t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleSpam(n,!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_SHOW")))]):e._e(),e._v(" "),n.isSpam?e._e():t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleSpam(n,!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_HIDE")))]),e._v(" "),!n.rid&&n.top?t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleTop(n,!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_UNTOP")))]):e._e(),e._v(" "),n.rid||n.top?e._e():t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleTop(n,!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_TOP")))]),e._v(" "),t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleDelete(n)}}},[e._v(e._s(e.t("ADMIN_COMMENT_DELETE")))])],1)])}),0),e._v(" "),t("tk-pagination",{attrs:{"page-size":e.pageSize,total:e.count},on:{"page-size-change":e.onPageSizeChange,"current-change":e.switchPage}})],1)},t.Yp=[function(){var e=this,t=e._self._c;return t("span",[e._v("请参考 "),t("a",{attrs:{href:"https://twikoo.js.org/update.html",target:"_blank"}},[e._v("版本更新")]),e._v(" 进行升级")])}]},7945:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(7912),i=n(4555),o=i.A,a=(n(5327),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},8072:function(){"use strict";!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e=[],t={},n=function(){};Prism.plugins.toolbar={};var r=Prism.plugins.toolbar.registerButton=function(n,r){var i;i="function"==typeof r?r:function(e){var t;return"function"==typeof r.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",function(){r.onClick.call(this,e)})):"string"==typeof r.url?(t=document.createElement("a")).href=r.url:t=document.createElement("span"),r.className&&t.classList.add(r.className),t.textContent=r.text,t},n in t?console.warn('There is a button with the key "'+n+'" registered already.'):e.push(t[n]=i)},i=Prism.plugins.toolbar.hook=function(r){var i=r.element.parentNode;if(i&&/pre/i.test(i.nodeName)&&!i.parentNode.classList.contains("code-toolbar")){var o=document.createElement("div");o.classList.add("code-toolbar"),i.parentNode.insertBefore(o,i),o.appendChild(i);var a=document.createElement("div");a.classList.add("toolbar");var s=e,u=function(e){for(;e;){var t=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(r.element);u&&(s=u.map(function(e){return t[e]||n})),s.forEach(function(e){var t=e(r);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),a.appendChild(n)}}),o.appendChild(a)}};r("label",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,r,i=t.getAttribute("data-label");try{r=document.querySelector("template#"+i)}catch(o){}return r?n=r.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=i),n}}),Prism.hooks.add("complete",i)}}()},8084:function(e,t,n){var r=n(6245);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("f6771314",r,!0,{})},8087:function(e,t,n){var r=n(8120);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("59ad6a1e",r,!0,{})},8120:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-admin-import {\n display: flex;\n flex-direction: column;\n}\n.tk-admin-import-label {\n margin-top: 1em;\n font-size: 1.25rem;\n font-weight: bold;\n}\n.tk-admin-import select,\n.tk-admin-import input,\n.tk-admin-import .el-button,\n.tk-admin-import .el-textarea {\n margin-top: 1em;\n}\n",""]),t["default"]=a},8129:function(e,t,n){"use strict";var r=n(477),i=n(9367);Object.defineProperty(t,"__esModule",{value:!0}),t.blobToDataURL=void 0,Object.defineProperty(t,"call",{enumerable:!0,get:function(){return p.call}}),t.getHref=t.getFuncVer=t.getCommentsCountApi=t.convertLink=void 0,Object.defineProperty(t,"getQQAvatar",{enumerable:!0,get:function(){return h.getQQAvatar}}),t.getUserAgent=t.getUrl=t.getRecentCommentsApi=void 0,Object.defineProperty(t,"initMarkedOwo",{enumerable:!0,get:function(){return m.initMarkedOwo}}),Object.defineProperty(t,"initOwoEmotions",{enumerable:!0,get:function(){return m.initOwoEmotions}}),t.isNotSet=void 0,Object.defineProperty(t,"isQQ",{enumerable:!0,get:function(){return h.isQQ}}),Object.defineProperty(t,"isUrl",{enumerable:!0,get:function(){return p.isUrl}}),t.logger=void 0,Object.defineProperty(t,"marked",{enumerable:!0,get:function(){return d["default"]}}),Object.defineProperty(t,"normalizeMail",{enumerable:!0,get:function(){return h.normalizeMail}}),t.readAsText=void 0,Object.defineProperty(t,"renderCode",{enumerable:!0,get:function(){return f["default"]}}),t.renderMath=t.renderLinks=void 0,Object.defineProperty(t,"setLanguage",{enumerable:!0,get:function(){return c.setLanguage}}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return c["default"]}}),Object.defineProperty(t,"timeago",{enumerable:!0,get:function(){return l["default"]}}),t.timestamp=void 0;var o,a=r(n(479)),s=r(n(1819)),u=r(n(4964)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=i(e)&&"function"!=typeof e)return{"default":e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r["default"]=e,n&&n.set(e,r),r}(n(5878)),l=r(n(7435)),d=r(n(37)),f=r(n(4161)),p=n(585),h=n(7080),m=n(9212);function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.isNotSet=function(e){return e===undefined||null===e||""===e},t.logger={log:function(e,t){console.log("Twikoo: ".concat(e),t)},info:function(e,t){console.info("Twikoo: ".concat(e),t)},warn:function(e,t){console.warn("Twikoo: ".concat(e),t)},error:function(e,t){console.error("Twikoo: ".concat(e),t)}},t.timestamp=function(){return(arguments.length>0&&arguments[0]!==undefined?arguments[0]:new Date).getTime()},t.convertLink=function(e){return e?"http"!==e.substring(0,4)?"http://".concat(e):e:""},t.getFuncVer=function(){var e=(0,u["default"])(a["default"].mark(function t(e){return a["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o){t.next=4;break}return t.next=3,(0,p.call)(e,"GET_FUNC_VERSION");case 3:o=t.sent;case 4:return t.abrupt("return",o);case 5:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),t.getCommentsCountApi=function(){var e=(0,u["default"])(a["default"].mark(function t(e,n){var r;return a["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n.urls instanceof Array){t.next=2;break}throw new Error("urls 参数有误");case 2:if(0!==n.urls.length){t.next=4;break}return t.abrupt("return",[]);case 4:return t.next=6,(0,p.call)(e,"GET_COMMENTS_COUNT",n);case 6:return r=t.sent,t.abrupt("return",r.result.data);case 8:case"end":return t.stop()}},t)}));return function(t,n){return e.apply(this,arguments)}}(),t.getRecentCommentsApi=function(){var e=(0,u["default"])(a["default"].mark(function t(e,n){var r,i,o,s;return a["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,p.call)(e,"GET_RECENT_COMMENTS",n);case 2:r=t.sent,i=v(r.result.data);try{for(i.s();!(o=i.n()).done;)(s=o.value).relativeTime=(0,l["default"])(s.created)}catch(a){i.e(a)}finally{i.f()}return t.abrupt("return",r.result.data);case 6:case"end":return t.stop()}},t)}));return function(t,n){return e.apply(this,arguments)}}(),t.getUserAgent=function(){var e=(0,u["default"])(a["default"].mark(function t(){var e,n,r,i,o,s;return a["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=window.navigator.userAgent,t.prev=1,"Windows"!==(n=navigator.userAgentData.platform)&&"macOS"!==n){t.next=10;break}return t.next=6,navigator.userAgentData.getHighEntropyValues(["platformVersion"]);case 6:r=t.sent,i=r.platformVersion,o=parseInt(i.split(".")[0]),"Windows"===n&&o>=13?e=e.replace(/Windows NT 10\.0/i,"Windows NT ".concat("11.0")):"macOS"===n&&o>=11&&(s=i.replace(/\./g,"_"),e=e.replace(/Mac OS X 10_[0-9]+_[0-9]+/i,"Mac OS X ".concat(s)));case 10:t.next=14;break;case 12:t.prev=12,t.t0=t["catch"](1);case 14:return t.abrupt("return",e);case 15:case"end":return t.stop()}},t,null,[[1,12]])}));return function(){return e.apply(this,arguments)}}(),t.getUrl=function(e){var t;if(window.TWIKOO_MAGIC_PATH)t=window.TWIKOO_MAGIC_PATH;else if(e&&"string"==typeof e)switch(e){case"location.pathname":case"window.location.pathname":t=window.location.pathname;break;case"location.href":case"window.location.href":t=window.location.href;break;default:t=e}else t=window.location.pathname;return t},t.getHref=function(e){var t,n;return null!==(t=null!==(n=window.TWIKOO_MAGIC_HREF)&&void 0!==n?n:e)&&void 0!==t?t:window.location.href},t.readAsText=function(e){return new Promise(function(t,n){var r=new FileReader;r.readAsText(e),r.onloadend=function(){r.error?n(r.error):t(r.result)}})},t.renderLinks=function(e){var t=[];e instanceof Array?e.forEach(function(e){var n;(n=t).push.apply(n,(0,s["default"])(e.getElementsByTagName("a")))}):e instanceof Element&&(t=e.getElementsByTagName("a"));var n,r=v(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.setAttribute("target","_blank"),i.setAttribute("rel","noopener noreferrer nofollow ugc")}}catch(o){r.e(o)}finally{r.f()}},t.renderMath=function(e,t){"function"==typeof renderMathInElement&&renderMathInElement(e,t||{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],throwOnError:!1})},t.blobToDataURL=function(e){return new Promise(function(t){var n=new FileReader;n.onload=function(e){var n=e.target.result;t(n)},n.readAsDataURL(e)})}},8198:function(e,t,n){"use strict";var r=n(6530);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},8220:function(e,t,n){"use strict";var r=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},i=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.catchErrorsDecorator=void 0;var o=n(5939),a=n(3440),s=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(s=-1!==navigator.userAgent.indexOf("Firefox"));var u=s?/(\.js\/)?__decorate(\$\d+)?<@.*\d$/:/(\/\w+\.js\.)?__decorate(\$\d+)?\s*\(.*\)$/,c=/https?\:\/\/.+\:\d*\/.*\.js\:\d+\:\d+/;function l(e){var t=e.err,n=e.className,r=e.methodName,i=e.sourceLink;if(!i)return null;var o,a=t.stack.split("\n"),u=s?/^catchErrorsDecorator\/<\/descriptor.value@.*\d$/:new RegExp(n+"\\.descriptor.value\\s*\\[as\\s"+r+"\\]\\s*\\(.*\\)$"),l=s?/^catchErrorsDecorator\/<\/descriptor.value/:new RegExp(n+"\\.descriptor.value\\s*\\[as\\s"+r+"\\]"),d=a.findIndex(function(e){return u.test(e)});if(-1!==d){var f=a.filter(function(e,t){return t>d});f.unshift(a[d].replace(l,n+"."+r).replace(c,i)),(o=new Error).stack=(s?"@debugger":"Error")+"\n"+f.join("\n")}return o}t.catchErrorsDecorator=function(e){var t=e.mode,n=void 0===t?"async":t,s=e.customInfo,d=void 0===s?{}:s,f=e.title,p=e.messages,h=void 0===p?[]:p;return function(e,t,s){if(a.IS_DEBUG_MODE){var p=d.className||e.constructor.name,m=d.methodName||t,g=s.value,v=function(e){var t="",n=e.stack.split("\n"),r=n.findIndex(function(e){return u.test(e)});if(-1!==r){var i=c.exec(n[r+1]||"");t=i?i[0]:""}return t}(new Error);s.value="sync"===n?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=l({err:new Error,className:p,methodName:m,sourceLink:v});try{return g.apply(this,e)}catch(u){var r=u,i=u.message,a={title:f||p+"."+m+" failed",content:[{type:"error",body:u}]};if(i&&/^\{.*\}$/.test(i)){var s=JSON.parse(i);a.subtitle=i,s.code&&(n?(n.code=s.code,n.msg=s.msg):(u.code=s.code,u.message=s.msg),r=n||u,a.content=h.map(function(e){return{type:"info",body:e}}))}throw o.printGroupLog(a),r}}:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r(this,void 0,void 0,function(){var t,n,r,a,s,u;return i(this,function(i){switch(i.label){case 0:t=l({err:new Error,className:p,methodName:m,sourceLink:v}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,g.apply(this,e)];case 2:return[2,i.sent()];case 3:throw n=i.sent(),r=n,a=n.message,s={title:f||p+"."+m+" failed",content:[{type:"error",body:n}]},a&&/^\{.*\}$/.test(a)&&(u=JSON.parse(a),s.subtitle=u,u.code&&(t?(t.code=u.code,t.message=u.msg):(n.code=u.code,n.message=u.msg),r=t||n,s.content=h.map(function(e){return{type:"info",body:e}}))),o.printGroupLog(s),r;case 4:return[2]}})})}}}}},8375:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(7696),i=n(4238),o=i.A,a=(n(6509),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},8390:function(e,t,n){var r=n(323);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("c2fef9b0",r,!0,{})},8402:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-admin-container {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n pointer-events: none;\n}\n.tk-admin {\n position: absolute;\n top: 0;\n left: 100%;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n pointer-events: all;\n color: #ffffff;\n background-color: rgba(0,0,0,0.60);\n backdrop-filter: blur(5px);\n transition: all 0.5s ease;\n visibility: hidden;\n}\n.tk-admin::-webkit-scrollbar {\n width: 5px;\n background-color: transparent;\n}\n.tk-admin::-webkit-scrollbar-track {\n background-color: transparent;\n}\n.tk-admin::-webkit-scrollbar-thumb {\n background-color: rgba(255,255,255,0.31);\n}\n.tk-admin.__show {\n left: 0;\n visibility: visible;\n}\n.tk-admin-close {\n appearance: none;\n background: none;\n border: none;\n margin: 0;\n text-decoration: none;\n cursor: pointer;\n position: sticky;\n float: right;\n display: block;\n top: 0;\n right: 0;\n width: 1rem;\n height: 1rem;\n padding: 1rem;\n box-sizing: content-box;\n color: #ffffff;\n}\n.tk-login,\n.tk-regist {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n padding: 0 2rem;\n}\n.tk-login-title {\n color: #ffffff;\n font-size: 1.25rem;\n text-align: center;\n margin-top: 10rem;\n}\n.tk-password,\n.tk-login-msg {\n color: #ffffff;\n width: 80%;\n text-align: center;\n margin-top: 1rem;\n}\n.tk-password .el-input__inner {\n min-width: 100px;\n}\n.tk-login-msg a {\n color: #ffffff;\n margin-left: 1em;\n text-decoration: underline;\n}\n.tk-regist-button {\n margin-top: 1rem;\n}\n.tk-panel {\n color: #ffffff;\n padding: 2rem;\n}\n.tk-panel-title {\n font-size: 1.5rem;\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n}\n.tk-panel-logout {\n color: #ffffff;\n font-size: 1rem;\n text-decoration: underline;\n}\n.tk-panel .tk-tabs {\n display: flex;\n margin-bottom: 1em;\n border-bottom: 2px solid #c0c4cc;\n}\n.tk-panel .tk-tab {\n color: #c0c4cc;\n cursor: pointer;\n line-height: 2em;\n margin-right: 2em;\n margin-bottom: -2px;\n}\n.tk-panel .tk-tab.__active {\n color: #ffffff;\n border-bottom: 2px solid #ffffff;\n}\n",""]),t["default"]=a},8432:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(4478),o=(r=i)&&r.__esModule?r:{"default":r},a=n(2865),s=!1,u=!1,c=void 0,l=function(){if(!o["default"].prototype.$isServer){var e=f.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),f.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(){f.doOnModalClick&&f.doOnModalClick()})),e}},d={},f={modalFade:!0,getInstance:function(e){return d[e]},register:function(e,t){e&&t&&(d[e]=t)},deregister:function(e){e&&(d[e]=null,delete d[e])},nextZIndex:function(){return f.zIndex++},modalStack:[],doOnModalClick:function(){var e=f.modalStack[f.modalStack.length-1];if(e){var t=f.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,r,i){if(!o["default"].prototype.$isServer&&e&&t!==undefined){this.modalFade=i;for(var u=this.modalStack,c=0,d=u.length;c<d;c++)if(u[c].id===e)return;var f=l();(0,a.addClass)(f,"v-modal"),this.modalFade&&!s&&(0,a.addClass)(f,"v-modal-enter"),r&&r.trim().split(/\s+/).forEach(function(e){return(0,a.addClass)(f,e)}),setTimeout(function(){(0,a.removeClass)(f,"v-modal-enter")},200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(f):document.body.appendChild(f),t&&(f.style.zIndex=t),f.tabIndex=0,f.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:r})}},closeModal:function(e){var t=this.modalStack,n=l();if(t.length>0){var r=t[t.length-1];if(r.id===e)r.modalClass&&r.modalClass.trim().split(/\s+/).forEach(function(e){return(0,a.removeClass)(n,e)}),t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex);else for(var i=t.length-1;i>=0;i--)if(t[i].id===e){t.splice(i,1);break}}0===t.length&&(this.modalFade&&(0,a.addClass)(n,"v-modal-leave"),setTimeout(function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",f.modalDom=undefined),(0,a.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(f,"zIndex",{configurable:!0,get:function(){return u||(c=c||(o["default"].prototype.$ELEMENT||{}).zIndex||2e3,u=!0),c},set:function(e){c=e}}),o["default"].prototype.$isServer||window.addEventListener("keydown",function(e){if(27===e.keyCode){var t=function(){if(!o["default"].prototype.$isServer&&f.modalStack.length>0){var e=f.modalStack[f.modalStack.length-1];if(!e)return;return f.getInstance(e.id)}}();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}}),t["default"]=f},8440:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.tk-footer {\n width: 100%;\n text-align: end;\n font-size: 0.75em;\n color: #999999;\n margin-top: 1em;\n}\n",""]),t["default"]=a},8443:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M189.37,152.86Zm-58.74-29.37C130.79,123.5,130.71,123.5,130.63,123.49Zm351.42,45.35c-10.61-25.5-32.08-53-48.94-61.73,13.72,26.89,21.67,53.88,24.7,74,0,0,0,.14.05.41-27.58-68.75-74.35-96.47-112.55-156.83-1.93-3.05-3.86-6.11-5.74-9.33-1-1.65-1.86-3.34-2.69-5.05A44.88,44.88,0,0,1,333.24.69a.63.63,0,0,0-.55-.66.9.9,0,0,0-.46,0l-.12.07-.18.1.1-.14c-54.23,31.77-76.72,87.38-82.5,122.78a130,130,0,0,0-48.33,12.33,6.25,6.25,0,0,0-3.09,7.75,6.13,6.13,0,0,0,7.79,3.79l.52-.21a117.84,117.84,0,0,1,42.11-11l1.42-.1c2-.12,4-.2,6-.22A122.61,122.61,0,0,1,291,140c.67.2,1.32.42,2,.63,1.89.57,3.76,1.2,5.62,1.87,1.36.5,2.71,1,4.05,1.58,1.09.44,2.18.88,3.25,1.35q2.52,1.13,5,2.35c.75.37,1.5.74,2.25,1.13q2.4,1.26,4.74,2.63,1.51.87,3,1.8a124.89,124.89,0,0,1,42.66,44.13c-13-9.15-36.35-18.19-58.82-14.28,87.74,43.86,64.18,194.9-57.39,189.2a108.43,108.43,0,0,1-31.74-6.12c-2.42-.91-4.8-1.89-7.16-2.93-1.38-.63-2.76-1.27-4.12-2C174.5,346,149.9,316.92,146.83,281.59c0,0,11.25-41.95,80.62-41.95,7.5,0,28.93-20.92,29.33-27-.09-2-42.54-18.87-59.09-35.18-8.85-8.71-13.05-12.91-16.77-16.06a69.58,69.58,0,0,0-6.31-4.77A113.05,113.05,0,0,1,173.92,97c-25.06,11.41-44.55,29.45-58.71,45.37h-.12c-9.67-12.25-9-52.65-8.43-61.08-.12-.53-7.22,3.68-8.15,4.31a178.54,178.54,0,0,0-23.84,20.43A214,214,0,0,0,51.9,133.36l0,0a.08.08,0,0,1,0,0,205.84,205.84,0,0,0-32.73,73.9c-.06.27-2.33,10.21-4,22.48q-.42,2.87-.78,5.74c-.57,3.69-1,7.71-1.44,14,0,.24,0,.48-.05.72-.18,2.71-.34,5.41-.49,8.12,0,.41,0,.82,0,1.24,0,134.7,109.21,243.89,243.92,243.89,120.64,0,220.82-87.58,240.43-202.62.41-3.12.74-6.26,1.11-9.41,4.85-41.83-.54-85.79-15.82-122.55Z"></path></svg>'},8554:function(e){"use strict";e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},8589:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o!==undefined&&(e[i]=o)}}return e}},8675:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-pagination"},[e.pageCount?t("div",{staticClass:"tk-pagination-options"},[t("div",[t("span",[e._v(e._s(e.t("PAGINATION_COUNT_PREFIX")))]),e._v(" "),t("span",[e._v(e._s(e.total))]),e._v(" "),t("span",[e._v(e._s(e.t("PAGINATION_COUNT_SUFFIX")))])]),e._v(" "),t("el-input",{attrs:{type:"number",min:"1",max:"100",value:e.userPageSize?e.userPageSize:e.pageSize},on:{input:e.handleInputPageSize,change:e.pageSizeChamge}}),e._v(" "),t("span",[e._v(e._s(e.t("PAGINATION_PAGESIZE")))])],1):e._e(),e._v(" "),t("div",{staticClass:"tk-pagination-pagers"},e._l(e.pagers,function(n){return t("div",{key:n.page,staticClass:"tk-pagination-pager","class":{__current:n.page===e.currentPage},on:{click:function(t){return e.currentChange(n.page)}}},[e._v(e._s(n.title))])}),0),e._v(" "),e.pageCount?t("div",{staticClass:"tk-pagination-options"},[t("span",[e._v(e._s(e.t("PAGINATION_GOTO_PREFIX")))]),e._v(" "),t("el-input",{attrs:{type:"number",min:"1",max:e.pageCount,value:e.userInput?e.userInput:e.currentPage},on:{input:e.handleInput,change:e.currentChange}}),e._v(" "),t("span",[e._v(e._s(e.t("PAGINATION_GOTO_SUFFIX")))])],1):e._e()])},t.Yp=[]},8784:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.addClass=function(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),i=0,o=r.length;i<o;i++){var a=r[i];a&&(e.classList?e.classList.add(a):p(e,a)||(n+=" "+a))}e.classList||e.setAttribute("class",n)}},t.getStyle=t.getScrollContainer=void 0,t.hasClass=p,t.once=t.on=t.off=t.isScroll=t.isInContainer=void 0,t.removeClass=function(e,t){if(e&&t){for(var n=t.split(" "),r=" "+e.className+" ",i=0,o=n.length;i<o;i++){var a=n[i];a&&(e.classList?e.classList.remove(a):p(e,a)&&(r=r.replace(" "+a+" "," ")))}e.classList||e.setAttribute("class",c(r))}},t.setStyle=function g(e,t,n){if(e&&t)if("object"===(0,i["default"])(t))for(var r in t)t.hasOwnProperty(r)&&g(e,r,t[r]);else"opacity"===(t=l(t))&&u<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};var i=r(n(9367)),o=r(n(4478))["default"].prototype.$isServer,a=/([\:\-\_]+(.))/g,s=/^moz([A-Z])/,u=o?0:Number(document.documentMode),c=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},l=function(e){return e.replace(a,function(e,t,n,r){return r?n.toUpperCase():n}).replace(s,"Moz$1")},d=t.on=!o&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)},f=t.off=!o&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)};function p(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}t.once=function(e,t,n){d(e,t,function r(){n&&n.apply(this,arguments),f(e,t,r)})};var h=t.getStyle=u<9?function(e,t){if(!o){if(!e||!t)return null;"float"===(t=l(t))&&(t="styleFloat");try{if("opacity"===t)try{return e.filters.item("alpha").opacity/100}catch(n){return 1}return e.style[t]||e.currentStyle?e.currentStyle[t]:null}catch(n){return e.style[t]}}}:function(e,t){if(!o){if(!e||!t)return null;"float"===(t=l(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(r){return e.style[t]}}},m=t.isScroll=function(e,t){if(!o){var n=null!==t&&t!==undefined;return h(e,n?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)}};t.getScrollContainer=function(e,t){if(!o){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(m(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(o||!e||!t)return!1;var n,r=e.getBoundingClientRect();return n=[window,document,document.documentElement,null,undefined].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),r.top<n.bottom&&r.bottom>n.top&&r.right>n.left&&r.left<n.right}},8848:function(e,t,n){var r=n(1315);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("1a92f302",r,!0,{})},8850:function(e){"use strict";e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports["default"]=e.exports},8926:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(1914)),o=r(n(1452)),a=r(n(8375));t.A={components:{TkComments:i["default"],TkFooter:o["default"],TkAdmin:a["default"]},data:function(){return{showAdmin:!1,showAdminEntry:!1}},methods:{onShowAdminEntry:function(e){this.showAdminEntry=e}}}},8974:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M220.8 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5.2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4.2-.8.7-.6 1.1.3 1.3 2.3 1.1 3.4 1.7zm-21.9 1.7c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6.2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5.1-1.3.6-3.4 1.5-3.2 2.9.1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72C311.1 85.4 315.7.1 234.8 0 132.4-.2 158 103.4 156.9 135.2c-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9.6 7.9 1.2 11.8 1.2 8.1 2.5 15.7.8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1.6 2.3 1.4 4.6 2.5 6.7v.1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3.4-8.2-4.4-17.3-15.5-29.7zM223.7 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4.7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4v-.2c2.4-7.6.6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7.8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4.6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1.8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7.4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6.8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1.3-.2.7-.3 1-.5.8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"></path></svg>'},9039:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V192h416v234z"></path></svg>'},9067:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r="undefined"!=typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,undefined]]);var a={};if(r)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&a[l[0]]||(void 0!==o&&("undefined"==typeof l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},9097:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(9976),i=n(3396),o=i.A,a=(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports},9105:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSanitizeDeprecation=function(e){e&&e.sanitize&&!e.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")},t.cleanUrl=function(e,t,n){if(e){var r;try{r=decodeURIComponent(c(n)).replace(d,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!f.test(n)&&(n=v(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n},t.edit=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(l,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n},t.escape=function(e,t){if(t){if(n.test(e))return e.replace(r,s)}else if(i.test(e))return e.replace(o,s);return e},t.findClosingBracket=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&--r<0)return i;return-1},t.merge=function(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.noopTest=void 0,t.repeatString=function(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e},t.resolveUrl=v,t.rtrim=_,t.splitCells=function(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=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(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},t.unescape=c;var n=/[&<>"']/,r=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=function(e){return a[e]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function c(e){return e.replace(u,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var l=/(^|[^\[])\^/g,d=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,p={},h=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,g=/^([^:]+:\/*[^/]*)[\s\S]*$/;function v(e,t){p[" "+e]||(h.test(e)?p[" "+e]=e+"/":p[" "+e]=_(e,"/",!0));var n=-1===(e=p[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(m,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(g,"$1")+t:e+t}function _(e,t,n){var r=e.length;if(0===r)return"";for(var i=0;i<r;){var o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,r-i)}t.noopTest={exec:function(){}}},9171:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(8129);t.A={props:{pageSize:{type:Number,"default":10},total:{type:Number,"default":0}},data:function(){return{currentPage:1,userInput:0,userPageSize:0,pagers:[]}},computed:{pageCount:function(){return Math.ceil(this.total/this.pageSize)}},methods:{t:r.t,generatePager:function(){for(var e=[],t=1;t<=this.pageCount;t++)Math.abs(this.currentPage-t)<3||1===t||t===this.pageCount?e.push({title:"".concat(t),page:t}):Math.abs(this.currentPage-t)<4&&e.push({title:"...",page:t});this.pagers=e},currentChange:function(e){this.currentPage=parseInt(e),this.currentPage>this.pageCount&&(this.currentPage=this.pageCount),this.userInput=0,this.$emit("current-change",this.currentPage),this.generatePager()},pageSizeChamge:function(e){this.userPageSize=0,this.$emit("page-size-change",parseInt(e))},handleInput:function(e){this.userInput=parseInt(e)},handleInputPageSize:function(e){this.userPageSize=parseInt(e)}},watch:{total:{handler:function(){this.generatePager()},immediate:!0},pageSize:{handler:function(){this.generatePager()}}}}},9211:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,".el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:rgba(255,255,255,.9);margin:0;top:0;right:0;bottom:0;left:0;-webkit-transition:opacity .3s;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:50px;width:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:#409EFF;margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:42px;width:42px;-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#409EFF;stroke-linecap:round}.el-loading-spinner i{color:#409EFF}.el-loading-fade-enter,.el-loading-fade-leave-active{opacity:0}@-webkit-keyframes loading-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}100%{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}100%{stroke-dasharray:90,150;stroke-dashoffset:-120px}}",""]),t["default"]=a},9212:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.initMarkedOwo=function(e){if(e&&Object.values(e)){var t={};return Object.values(e).forEach(function(e){e.container.forEach(function(e){var n=p(e.icon);n&&(t[e.text]=n)})}),t}},t.initOwoEmotions=function(e){return d.apply(this,arguments)};var i=r(n(479)),o=r(n(1819)),a=r(n(4964)),s=n(8129);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){return new Promise(function(t){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState)if(n.status>=200&&n.status<300||304===n.status){var e=function(e){try{return Object.values(e).forEach(function(e){if("image"===e.type){var t,n=u(e.container);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.text||(r.text=h(p(r.icon)))}}catch(i){n.e(i)}finally{n.f()}}}),e}catch(t){s.logger.warn("OwO data is bad: ",t)}}(JSON.parse(n.responseText));t(e)}else s.logger.warn("OwO data request was unsuccessful: "+n.status)},n.open("get",e,!0),n.send(null)})}function d(){return(d=(0,a["default"])(i["default"].mark(function e(t){var n,r;return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={},e.next=3,Promise.all(t.split(",").map(function(e){return l(e.trim())}));case 3:return r=e.sent,Object.assign.apply(Object,[n].concat((0,o["default"])(r))),e.abrupt("return",n);case 6:case"end":return e.stop()}},e)}))).apply(this,arguments)}var f=document.createElement("template");function p(e){try{return f.innerHTML=e,f.content.childNodes[0].src}catch(t){return""}}function h(e){return e.split("#").shift().split("?").shift().split("/").pop()}},9250:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.WeixinAuthProvider=void 0;var i,o=r(n(9367)),a=n(4522),s=n(2566),u=n(3442),c=n(1235),l=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},m=s.constants.getSdkName,g=s.constants.ERRORS,v=s.constants.COMMUNITY_SITE_URL,_=s.adapters.RUNTIME,y=s.utils.getQuery,b=s.utils.getHash,k=s.utils.removeParam,w=s.utils.printWarn,E=s.helpers.catchErrorsDecorator;function A(){return y("code")||b("code")}t.WeixinAuthProvider=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._runtime=t.runtime,o._appid=n,o._scope=r,o._state=i||"weixin",o}return l(t,e),t.prototype.signIn=function(){return p(this,void 0,void 0,function(){return h(this,function(e){return[2,w(g.OPERATION_FAIL,"API signIn has been deprecated, please use signInWithRedirect insteed")]})})},t.prototype.signInWithRedirect=function(){return p(this,void 0,void 0,function(){return h(this,function(e){return[2,this._redirect()]})})},t.prototype.getRedirectResult=function(e){return p(this,void 0,void 0,function(){var t;return h(this,function(n){return(t=A())?[2,this._signInWithCode(t,e)]:[2,null]})})},t.prototype.getLinkRedirectResult=function(e){return void 0===e&&(e={}),p(this,void 0,void 0,function(){var t,n,r,i,o,a;return h(this,function(s){return t=e.withUnionId,n=void 0!==t&&t,(r=A())?(i=this._appid,u=this._scope,o="snsapi_login"===u?"WECHAT-OPEN":"WECHAT-PUBLIC",a=this._runtime===_.WX_MP?"1":"0",[2,this._request.send("auth.linkWithWeixinCode",{payload:{appid:i,loginType:o,code:r,hybridMiniapp:a,withUnionId:n}})]):[2,null];var u})})},t.prototype._redirect=function(){var e=k("code",location.href);e=k("state",e),e=encodeURIComponent(e);var t="//open.weixin.qq.com/connect/oauth2/authorize";"snsapi_login"===this._scope&&(t="//open.weixin.qq.com/connect/qrconnect");try{location.href=t+"?appid="+this._appid+"&redirect_uri="+e+"&response_type=code&scope="+this._scope+"&state="+this._state+"#wechat_redirect"}catch(n){throw new Error("["+m()+"]["+g.UNKOWN_ERROR+"]"+n)}},t.prototype._signInWithCode=function(e,t){return p(this,void 0,void 0,function(){var n,r,i,o,a,s,l,d;return h(this,function(f){switch(f.label){case 0:return n=this._cache.keys,r=n.accessTokenKey,i=n.accessTokenExpireKey,o=n.refreshTokenKey,p=this._scope,a="snsapi_login"===p?"WECHAT-OPEN":"WECHAT-PUBLIC",[4,this._getRefreshTokenByWXCode(this._appid,a,e,t)];case 1:return s=f.sent(),l=s.refreshToken,[4,this._cache.setStoreAsync(o,l)];case 2:return f.sent(),s.accessToken?[4,this._cache.setStoreAsync(r,s.accessToken)]:[3,4];case 3:f.sent(),f.label=4;case 4:return s.accessTokenExpire?[4,this._cache.setStoreAsync(i,String(s.accessTokenExpire+Date.now()))]:[3,6];case 5:f.sent(),f.label=6;case 6:return u.eventBus.fire(u.EVENTS.LOGIN_STATE_CHANGED),u.eventBus.fire(u.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:c.LOGINTYPE.WECHAT,persistence:this._config.persistence}),[4,this.refreshUserInfo()];case 7:return f.sent(),[4,(d=new u.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()];case 8:return f.sent(),[2,d]}var p})})},t.prototype._getRefreshTokenByWXCode=function(e,t,n,r){return void 0===r&&(r={}),p(this,void 0,void 0,function(){var i,o,a,s,u,c;return h(this,function(l){return i=r.withUnionId,o=void 0!==i&&i,a=r.createUser,s=void 0===a||a,u="snsapi_base"!==this._scope&&(r.syncUserInfo||!1),c=this._runtime===_.WX_MP?"1":"0",[2,this._request.send("auth.signIn",{appid:e,loginType:t,hybridMiniapp:c,syncUserInfo:u,loginCredential:n,withUnionId:o,createUser:s}).then(function(e){if(e.code)throw new Error("["+m()+"]["+g.OPERATION_FAIL+"] failed login via wechat: "+e.code);if(e.refresh_token)return{refreshToken:e.refresh_token,accessToken:e.access_token,accessTokenExpire:e.access_token_expire};throw new Error("["+m()+"]["+g.OPERATION_FAIL+"] action:getJwt not return refreshToken")})]})})},d([E({title:"跳转微信公众号授权失败",messages:["请确认以下各项:"," 1 - 调用 auth().weixinAuthProvider().signInWithRedirect() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+v]}),f("design:type",Function),f("design:paramtypes",[]),f("design:returntype",Promise)],t.prototype,"signInWithRedirect",null),d([E({title:"微信公众号登录失败",messages:["请确认以下各项:"," 1 - 调用 auth().weixinAuthProvider().getRedirectResult() 的语法或参数是否正确"," 2 - 当前环境是否开通了微信公众号登录授权"," 3 - 微信公众号的 AppId 与 AppSecret 配置是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+v]}),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Promise)],t.prototype,"getRedirectResult",null),d([E({title:"获取微信重定向绑定结果",messages:["请确认以下各项:"," 1 - 调用 auth().weixinAuthProvider().getLinkRedirectResult() 的语法或参数是否正确"," 2 - 当前环境是否开通了微信公众号登录授权"," 3 - 微信公众号的 AppId 与 AppSecret 配置是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+v]}),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Promise)],t.prototype,"getLinkRedirectResult",null),t}(a.AuthProvider)},9272:function(e,t,n){"use strict";var r=n(8554),i=n(4805),o=n(2075),a=n(2971);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},9367:function(e){"use strict";function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},9368:function(e,t,n){var r=n(3203);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("2af15803",r,!0,{})},9386:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{ref:"tk-comment",staticClass:"tk-comment","class":{"tk-master":e.comment.master},attrs:{id:e.comment.id}},[t("tk-avatar",{attrs:{config:e.config,nick:e.comment.nick,avatar:e.comment.avatar,"mail-md5":e.comment.mailMd5,link:e.convertedLink}}),e._v(" "),t("div",{staticClass:"tk-main"},[t("div",{staticClass:"tk-row"},[t("div",{staticClass:"tk-meta"},[e.convertedLink?e._e():t("strong",{staticClass:"tk-nick"},[e._v(e._s(e.comment.nick))]),e._v(" "),e.convertedLink?t("a",{staticClass:"tk-nick tk-nick-link",attrs:{href:e.convertedLink,target:"_blank",rel:"noopener noreferrer nofollow ugc"}},[t("strong",[e._v(e._s(e.comment.nick))])]):e._e(),e._v(" "),e.comment.master?t("span",{staticClass:"tk-tag tk-tag-green"},[e._v(e._s(e.config.MASTER_TAG||e.t("COMMENT_MASTER_TAG")))]):e._e(),e._v(" "),e.comment.top?t("span",{staticClass:"tk-tag tk-tag-red"},[e._v(e._s(e.t("COMMENT_TOP_TAG")))]):e._e(),e._v(" "),e.comment.isSpam?t("span",{staticClass:"tk-tag tk-tag-yellow"},[e._v(e._s(e.t("COMMENT_REVIEWING_TAG")))]):e._e(),e._v(" "),t("small",{staticClass:"tk-time"},[t("time",{attrs:{datetime:e.jsonTimestamp,title:e.localeTime}},[e._v(e._s(e.displayCreated))])]),e._v(" "),e.isLogin?t("small",{staticClass:"tk-actions"},[e.comment.isSpam?t("button",{on:{click:function(t){return e.handleSpam(!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_SHOW")))]):e._e(),e._v(" "),e.comment.isSpam?e._e():t("button",{on:{click:function(t){return e.handleSpam(!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_HIDE")))]),e._v(" "),!e.comment.rid&&e.comment.top?t("button",{on:{click:function(t){return e.handleTop(!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_UNTOP")))]):e._e(),e._v(" "),e.comment.rid||e.comment.top?e._e():t("button",{on:{click:function(t){return e.handleTop(!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_TOP")))])]):e._e()]),e._v(" "),t("tk-action",{attrs:{liked:e.liked,disliked:e.disliked,"like-count":e.ups,"dislike-count":e.downs,"replies-count":e.comment.replies.length,"show-dislike":"false"!==e.config.SHOW_DISLIKE},on:{like:e.onLike,dislike:e.onDislike,reply:e.onReply}})],1),e._v(" "),t("div",{ref:"tk-content",staticClass:"tk-content","class":{"tk-content-expand":e.isContentExpanded||!e.showContentExpand}},[e.comment.pid?t("span",[e._v(e._s(e.t("COMMENT_REPLIED"))+" "),t("a",{staticClass:"tk-ruser",attrs:{href:"#".concat(e.comment.pid)}},[e._v("@"+e._s(e.comment.ruser))]),e._v(" :")]):e._e(),e._v(" "),t("span",{ref:"comment",domProps:{innerHTML:e._s(e.comment.comment)},on:{click:e.popupLightbox}})]),e._v(" "),e.showContentExpand?t("div",{staticClass:"tk-expand-wrap"},[t("div",{staticClass:"tk-expand",on:{click:e.onContentExpand}},[e._v(e._s(e.t("COMMENT_EXPAND")))])]):e._e(),e._v(" "),e.showContentCollapse?t("div",{staticClass:"tk-collapse-wrap"},[t("div",{staticClass:"tk-expand _collapse",on:{click:e.onContentCollapse}},[e._v(e._s(e.t("COMMENT_COLLAPSE")))])]):e._e(),e._v(" "),e.comment.ipRegion||e.comment.os||e.comment.browser?t("div",{staticClass:"tk-extras"},[e.comment.ipRegion?t("div",{staticClass:"tk-extra"},[t("span",{staticClass:"tk-icon __comment",domProps:{innerHTML:e._s(e.iconLocation)}}),e._v(" "),t("span",{staticClass:"tk-extra-text"},[e._v(" "+e._s(e.comment.ipRegion))])]):e._e(),e._v(" "),e.comment.os?t("div",{staticClass:"tk-extra"},[t("span",{staticClass:"tk-icon __comment",domProps:{innerHTML:e._s(e.iconOs)}}),e._v(" "),t("span",{staticClass:"tk-extra-text"},[e._v(" "+e._s(e.comment.os))])]):e._e(),e._v(" "),e.comment.browser?t("div",{staticClass:"tk-extra"},[t("span",{staticClass:"tk-icon __comment",domProps:{innerHTML:e._s(e.iconBrowser)}}),e._v(" "),t("span",{staticClass:"tk-extra-text"},[e._v(" "+e._s(e.comment.browser))])]):e._e()]):e._e(),e._v(" "),e.replying&&!e.pid?t("tk-submit",{attrs:{"reply-id":e.replyId?e.replyId:e.comment.id,pid:e.comment.id,config:e.config},on:{load:e.onLoad,cancel:e.onCancel}}):e._e(),e._v(" "),t("div",{ref:"tk-replies",staticClass:"tk-replies","class":{"tk-replies-expand":e.isExpanded||!e.showExpand||e.replying}},e._l(e.comment.replies,function(n){return t("tk-comment",{key:n.id,attrs:{comment:n,replyId:e.comment.id,replying:e.replying&&e.pid===n.id,config:e.config},on:{expand:e.onExpand,load:e.onLoad,reply:e.onReplyReply}})}),1),e._v(" "),e.showExpand&&!e.replying?t("div",{staticClass:"tk-expand-wrap"},[t("div",{staticClass:"tk-expand",on:{click:e.onExpand}},[e._v(e._s(e.t("COMMENT_EXPAND")))])]):e._e(),e._v(" "),e.showCollapse&&!e.replying?t("div",{staticClass:"tk-collapse-wrap"},[t("div",{staticClass:"tk-expand _collapse",on:{click:e.onCollapse}},[e._v(e._s(e.t("COMMENT_COLLAPSE")))])]):e._e()],1)],1)},t.Yp=[]},9396:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"></path></svg>'},9459:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n(4283)),o=r(n(5707))["default"].version;i["default"].registerVersion(o);try{window.cloudbase=i["default"]}catch(a){}t["default"]=i["default"]},9549:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.registerStorage=function(e){try{e.registerComponent(b)}catch(t){console.warn(t)}};var i=r(n(9367)),o=n(2566),a=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},s=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},l=o.constants.getSdkName,d=o.constants.ERRORS,f=o.constants.COMMUNITY_SITE_URL,p=o.utils.isArray,h=o.utils.isString,m=o.utils.isPalinObject,g=o.utils.execCallback,v=o.helpers.catchErrorsDecorator,_="storage",y=new(function(){function e(){}return e.prototype.uploadFile=function(e,t){return u(this,void 0,void 0,function(){var n,r,i,o,a,s,u,f,p,m,v,y,b,k,w;return c(this,function(c){switch(c.label){case 0:if(n=e.cloudPath,r=e.filePath,i=e.onUploadProgress,!h(n)||!r)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+_+".uploadFile] invalid params"}));return[4,(o=this.request).send("storage.getUploadMetadata",{path:n})];case 1:return a=c.sent(),s=a.data,u=s.url,f=s.authorization,p=s.token,m=s.fileId,v=s.cosFileId,y=s.download_url,b=a.requestId,k={key:n,signature:f,"x-cos-meta-fileid":v,success_action_status:"201","x-cos-security-token":p},[4,o.upload({url:u,data:k,file:r,name:n,onUploadProgress:i})];case 2:return 201===(w=c.sent()).statusCode?[2,g(t,null,{fileID:m,download_url:y,requestId:b})]:[2,g(t,new Error("["+l()+"]["+d.OPERATION_FAIL+"]["+_+"]:"+w.data))]}})})},e.prototype.getUploadMetadata=function(e,t){return u(this,void 0,void 0,function(){var n,r,i,o,a;return c(this,function(s){switch(s.label){case 0:if(n=e.cloudPath,!h(n))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+_+".getUploadMetadata] invalid cloudPath"}));r=this.request,i="storage.getUploadMetadata",s.label=1;case 1:return s.trys.push([1,3,,4]),[4,r.send(i,{path:n})];case 2:return o=s.sent(),[2,g(t,null,o)];case 3:return a=s.sent(),[2,g(t,a)];case 4:return[2]}})})},e.prototype.deleteFile=function(e,t){return u(this,void 0,void 0,function(){var n,r,i,o,a,s;return c(this,function(u){switch(u.label){case 0:if(!(n=e.fileList)||!p(n)||0===n.length)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+_+".deleteFile] fileList must not be empty"}));for(r=0,i=n;r<i.length;r++)if(!(o=i[r])||!h(o))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+_+".deleteFile] fileID must be string"}));return[4,this.request.send("storage.batchDeleteFile",{fileid_list:n})];case 1:return(a=u.sent()).code?[2,g(t,null,a)]:(s={fileList:a.data.delete_list,requestId:a.requestId},[2,g(t,null,s)])}})})},e.prototype.getTempFileURL=function(e,t){return u(this,void 0,void 0,function(){var n,r,i,o,a,s;return c(this,function(u){switch(u.label){case 0:if(!(n=e.fileList)||!p(n)||0===n.length)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+_+".getTempFileURL] fileList must not be empty"}));for(r=[],i=0,o=n;i<o.length;i++)if(a=o[i],m(a)){if(!a.hasOwnProperty("fileID")||!a.hasOwnProperty("maxAge"))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+_+".getTempFileURL] file info must include fileID and maxAge"}));r.push({fileid:a.fileID,max_age:a.maxAge})}else{if(!h(a))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+_+".getTempFileURL] invalid fileList"}));r.push({fileid:a})}return[4,this.request.send("storage.batchGetDownloadUrl",{file_list:r})];case 1:return(s=u.sent()).code?[2,g(t,null,s)]:[2,g(t,null,{fileList:s.data.download_list,requestId:s.requestId})]}})})},e.prototype.downloadFile=function(e,t){return u(this,void 0,void 0,function(){var n,r,i,o,a,s;return c(this,function(u){switch(u.label){case 0:if(n=e.fileID,!h(n))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"["+_+".getTempFileURL] fileID must be string"}));return[4,this.getTempFileURL.call(this,{fileList:[{fileID:n,maxAge:600}]})];case 1:return r=u.sent(),"SUCCESS"!==(i=r.fileList[0]).code?[2,g(t,i)]:(o=this.request,a=encodeURI(i.download_url),[4,o.download({url:a})]);case 2:return s=u.sent(),[2,g(t,null,s)]}})})},a([v({customInfo:{className:"Cloudbase",methodName:"uploadFile"},title:"上传文件失败",messages:["请确认以下各项:"," 1 - 调用 uploadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"uploadFile",null),a([v({customInfo:{className:"Cloudbase",methodName:"getUploadMetadata"},title:"获取上传元信息失败",messages:["请确认以下各项:"," 1 - 调用 getUploadMetadata() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"getUploadMetadata",null),a([v({customInfo:{className:"Cloudbase",methodName:"deleteFile"},title:"删除文件失败",messages:["请确认以下各项:"," 1 - 调用 deleteFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"deleteFile",null),a([v({customInfo:{className:"Cloudbase",methodName:"getTempFileURL"},title:"获取文件下载链接",messages:["请确认以下各项:"," 1 - 调用 getTempFileURL() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"getTempFileURL",null),a([v({customInfo:{className:"Cloudbase",methodName:"downloadFile"},title:"下载文件失败",messages:["请确认以下各项:"," 1 - 调用 downloadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"downloadFile",null),e}()),b={name:_,entity:{uploadFile:y.uploadFile,deleteFile:y.deleteFile,getTempFileURL:y.getTempFileURL,downloadFile:y.downloadFile,getUploadMetadata:y.getUploadMetadata}};try{cloudbase.registerComponent(b)}catch(k){}},9587:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"></path></svg>'},9629:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(9386),i=n(3572),o=i.A,a=(n(4591),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)},9668:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=undefined;var r=u(n(4478)),i=u(n(8589)),o=u(n(8432)),a=u(n(9686)),s=n(2865);function u(e){return e&&e.__esModule?e:{"default":e}}var c=1,l=void 0;t["default"]={props:{visible:{type:Boolean,"default":!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,"default":!1},modalFade:{type:Boolean,"default":!0},modalClass:{},modalAppendToBody:{type:Boolean,"default":!1},lockScroll:{type:Boolean,"default":!0},closeOnPressEscape:{type:Boolean,"default":!1},closeOnClickModal:{type:Boolean,"default":!1}},beforeMount:function(){this._popupId="popup-"+c++,o["default"].register(this._popupId,this)},beforeDestroy:function(){o["default"].deregister(this._popupId),o["default"].closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,r["default"].nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,i["default"])({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(n)},r):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,r=e.zIndex;if(r&&(o["default"].zIndex=r),n&&(this._closing&&(o["default"].closeModal(this._popupId),this._closing=!1),o["default"].openModal(this._popupId,o["default"].nextZIndex(),this.modalAppendToBody?undefined:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),l=(0,a["default"])();var i=document.documentElement.clientHeight<document.body.scrollHeight,u=(0,s.getStyle)(document.body,"overflowY");l>0&&(i||"scroll"===u)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+l+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=o["default"].nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o["default"].closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=o["default"]},9671:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512"><path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg>'},9676:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.UsernameAuthProvider=void 0;var i,o=r(n(9367)),a=n(4522),s=n(3442),u=n(1235),c=n(2566),l=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},m=c.utils.printWarn,g=c.constants.ERRORS,v=c.constants.COMMUNITY_SITE_URL,_=c.helpers.catchErrorsDecorator;t.UsernameAuthProvider=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.signIn=function(e,t){return p(this,void 0,void 0,function(){var n,r,i,o,a,c,l,d,f;return h(this,function(p){switch(p.label){case 0:if("string"!=typeof e)throw new Error(JSON.stringify({code:g.INVALID_PARAMS,msg:"username must be a string"}));return"string"!=typeof t&&(t="",m(g.INVALID_PARAMS,"password is empty")),n=this._cache.keys.refreshTokenKey,o=(i=this._request).send,a=["auth.signIn"],c={loginType:u.LOGINTYPE.USERNAME,username:e,password:t},[4,this._cache.getStoreAsync(n)];case 1:return[4,o.apply(i,a.concat([(c.refresh_token=p.sent()||"",c)]))];case 2:return r=p.sent(),l=r.refresh_token,d=r.access_token_expire,f=r.access_token,l?[4,this.setRefreshToken(l)]:[3,9];case 3:return p.sent(),f&&d?[4,this.setAccessToken(f,d)]:[3,5];case 4:return p.sent(),[3,7];case 5:return[4,this._request.refreshAccessToken()];case 6:p.sent(),p.label=7;case 7:return[4,this.refreshUserInfo()];case 8:return p.sent(),s.eventBus.fire(s.EVENTS.LOGIN_STATE_CHANGED),s.eventBus.fire(s.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.USERNAME,persistence:this._config.persistence}),[2,new s.LoginState({envId:this._config.env,cache:this._cache,request:this._request})];case 9:throw r.code?new Error(JSON.stringify({code:g.OPERATION_FAIL,msg:"login by username failed:["+r.code+"] "+r.message})):new Error(JSON.stringify({code:g.OPERATION_FAIL,msg:"login by username failed"}));case 10:return[2]}})})},d([_({title:"用户名密码登录失败",messages:["请确认以下各项:"," 1 - 调用 auth().signInWithUsernameAndPassword() 的语法或参数是否正确"," 2 - 当前环境是否开通了用户名密码登录"," 3 - 用户名密码是否匹配","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+v]}),f("design:type",Function),f("design:paramtypes",[String,String]),f("design:returntype",Promise)],t.prototype,"signIn",null),t}(a.AuthProvider)},9686:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(o["default"].prototype.$isServer)return 0;if(a!==undefined)return a;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),a=t-r};var r,i=n(4478),o=(r=i)&&r.__esModule?r:{"default":r},a=void 0},9737:function(e,t,n){"use strict";n.r(t);var r=n(5346),i=n.n(r),o=n(9067),a=n.n(o)()(i());a.push([e.id,"\n.twikoo {\n position: relative;\n}\n.twikoo svg {\n width: 100%;\n height: 100%;\n fill: currentColor;\n}\n\n/* 全局 CSS */\n.tk-expand {\n width: 100%;\n cursor: pointer;\n padding: 0.75em;\n text-align: center;\n transition: all 0.5s;\n}\n.tk-expand:hover {\n background-color: rgba(0,0,0,0.13);\n}\n.tk-expand:active {\n background-color: rgba(0,0,0,0.19);\n}\n.tk-content img {\n max-width: 300px;\n max-height: 300px;\n vertical-align: middle;\n}\n.tk-owo-emotion,\n.twikoo .OwO-item img {\n width: 3em;\n height: auto;\n}\n\n/* element-ui overwrite */\n.twikoo .el-input__inner,\n.twikoo .el-textarea__inner {\n color: currentColor;\n background-color: transparent;\n border-color: rgba(144,147,153,0.31);\n}\n.twikoo .el-input__inner:hover,\n.twikoo .el-textarea__inner:hover {\n border-color: rgba(144,147,153,0.50);\n}\n.twikoo .el-input__inner:focus,\n.twikoo .el-textarea__inner:focus {\n border-color: #409eff;\n}\n.twikoo .el-input-group__append,\n.twikoo .el-input-group__prepend {\n color: currentColor;\n background-clip: padding-box;\n background-color: rgba(144,147,153,0.13);\n border-color: rgba(144,147,153,0.31);\n}\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text) {\n color: currentColor;\n background-color: rgba(144,147,153,0.063);\n border-color: rgba(144,147,153,0.31);\n}\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text):active,\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text):focus,\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text):hover {\n color: #409eff;\n background-color: rgba(64,158,255,0.063);\n border-color: rgba(64,158,255,0.50);\n}\n.twikoo .el-button--primary.is-disabled,\n.twikoo .el-button--primary.is-disabled:active,\n.twikoo .el-button--primary.is-disabled:focus,\n.twikoo .el-button--primary.is-disabled:hover {\n color: rgba(255,255,255,0.63);\n background-color: rgba(64,158,255,0.50);\n border-color: transparent;\n}\n.twikoo .el-loading-mask {\n background-color: transparent;\n backdrop-filter: opacity(20%);\n}\n.twikoo .el-textarea .el-input__count {\n color: currentColor;\n background: transparent;\n}\n.tk-admin-warn {\n padding: 1rem 1.5rem;\n background-color: #fff7d0;\n border-left: 0.5rem solid #e7c000;\n color: #6b5900;\n align-self: stretch;\n}\n",""]),t["default"]=a},9744:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerProvider=t.registerAuth=void 0;var r=n(3442);t.registerAuth=r.registerAuth,t.registerProvider=r.registerProvider},9801:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 56v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56zm40 200c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm272 256c-20.183 0-29.485-39.293-33.931-57.795-5.206-21.666-10.589-44.07-25.393-58.902-32.469-32.524-49.503-73.967-89.117-113.111a11.98 11.98 0 0 1-3.558-8.521V59.901c0-6.541 5.243-11.878 11.783-11.998 15.831-.29 36.694-9.079 52.651-16.178C256.189 17.598 295.709.017 343.995 0h2.844c42.777 0 93.363.413 113.774 29.737 8.392 12.057 10.446 27.034 6.148 44.632 16.312 17.053 25.063 48.863 16.382 74.757 17.544 23.432 19.143 56.132 9.308 79.469l.11.11c11.893 11.949 19.523 31.259 19.439 49.197-.156 30.352-26.157 58.098-59.553 58.098H350.723C358.03 364.34 384 388.132 384 430.548 384 504 336 512 312 512z"></path></svg>'},9865:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var i=r(n(479)),o=r(n(4964)),a=n(8129);t.A={data:function(){return{loading:!1,source:"",logText:"",warnText:{valine:(0,a.t)("ADMIN_IMPORT_TIP_VALINE"),disqus:(0,a.t)("ADMIN_IMPORT_TIP_DISQUS"),artalk:(0,a.t)("ADMIN_IMPORT_TIP_ARTALK"),artalk2:"",twikoo:""}}},methods:{t:a.t,uploadFile:function(){var e=this;return(0,o["default"])(i["default"].mark(function t(){var n,r;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.source){t.next=3;break}return e.log((0,a.t)("ADMIN_IMPORT_SOURCE_REQUIRED")),t.abrupt("return");case 3:if(n=e.$refs.inputFile.files[0]){t.next=7;break}return e.log((0,a.t)("ADMIN_IMPORT_FILE_REQUIRED")),t.abrupt("return");case 7:if(e.log((0,a.t)("ADMIN_IMPORT_START")),e.loading=!0,t.prev=9,!e.$tcb){t.next=19;break}return t.next=13,e.$tcb.app.uploadFile({cloudPath:"import/".concat(Date.now()),filePath:n,onUploadProgress:function(t){var n=Math.round(100*t.loaded/t.total);e.log("".concat((0,a.t)("ADMIN_IMPORT_UPLOADING")).concat(n,"%"))}});case 13:return r=t.sent,e.log("".concat((0,a.t)("ADMIN_IMPORT_UPLOADED")).concat(r.fileID)),t.next=17,e.importFile(r.fileID);case 17:t.next=21;break;case 19:return t.next=21,e.importFileToVercel(n);case 21:t.next=27;break;case 23:t.prev=23,t.t0=t["catch"](9),console.error(t.t0),e.log(t.t0.message);case 27:e.loading=!1;case 28:case"end":return t.stop()}},t,null,[[9,23]])}))()},importFile:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){var r;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTING")).concat(t.source)),n.next=3,(0,a.call)(t.$tcb,"COMMENT_IMPORT_FOR_ADMIN",{fileId:e,source:t.source});case 3:r=n.sent,t.logText+=r.result.log,t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTED")).concat(t.source));case 6:case"end":return n.stop()}},n)}))()},importFileToVercel:function(e){var t=this;return(0,o["default"])(i["default"].mark(function n(){var r;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTING")).concat(t.source)),n.t0=a.call,n.t1=t.$tcb,n.next=5,(0,a.readAsText)(e);case 5:return n.t2=n.sent,n.t3=t.source,n.t4={file:n.t2,source:n.t3},n.next=10,(0,n.t0)(n.t1,"COMMENT_IMPORT_FOR_ADMIN",n.t4);case 10:r=n.sent,t.logText+=r.result.log,t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTED")).concat(t.source));case 13:case"end":return n.stop()}},n)}))()},log:function(e){this.logText+="".concat((new Date).toLocaleString()," ").concat(e,"\n"),this.$nextTick(this.scrollLogToBottom)},scrollLogToBottom:function(){if(this.$refs.logTextArea){var e=this.$refs.logTextArea.$refs.textarea;e.scrollTop=e.scrollHeight}}}}},9882:function(e,t,n){"use strict";var r,i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebRequest=t.genAdapter=void 0;var u=n(6885),c=n(5939),l=n(6531),d=function(e){function t(t){var n=e.call(this)||this,r=t.timeout,i=t.timeoutMsg,o=t.restrictedMethods;return n._timeout=r||0,n._timeoutMsg=i||"请求超时",n._restrictedMethods=o||["get","post","upload","download"],n}return i(t,e),t.prototype.get=function(e){return this._request(o(o({},e),{method:"get"}),this._restrictedMethods.includes("get"))},t.prototype.post=function(e){return this._request(o(o({},e),{method:"post"}),this._restrictedMethods.includes("post"))},t.prototype.put=function(e){return this._request(o(o({},e),{method:"put"}))},t.prototype.upload=function(e){var t=e.data,n=e.file,r=e.name,i=new FormData;for(var a in t)i.append(a,t[a]);return i.append("key",r),i.append("file",n),this._request(o(o({},e),{data:i,method:"post"}),this._restrictedMethods.includes("upload"))},t.prototype.download=function(e){return a(this,void 0,void 0,function(){var t,n,r,i;return s(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,this.get(o(o({},e),{headers:{},responseType:"blob"}))];case 1:return t=a.sent().data,n=window.URL.createObjectURL(new Blob([t])),r=decodeURIComponent(new URL(e.url).pathname.split("/").pop()||""),(i=document.createElement("a")).href=n,i.setAttribute("download",r),i.style.display="none",document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(n),document.body.removeChild(i),[3,3];case 2:return a.sent(),[3,3];case 3:return[2,new Promise(function(t){t({statusCode:200,tempFilePath:e.url})})]}})})},t.prototype._request=function(e,t){var n=this;void 0===t&&(t=!1);var r=String(e.method).toLowerCase()||"get";return new Promise(function(i){var o,a,s=e.url,u=e.headers,d=void 0===u?{}:u,f=e.data,p=e.responseType,h=e.withCredentials,m=e.body,g=e.onUploadProgress,v=c.formatUrl(l.getProtocol(),s,"get"===r?f:{}),_=new XMLHttpRequest;for(var y in _.open(r,v),p&&(_.responseType=p),d)_.setRequestHeader(y,d[y]);g&&_.upload.addEventListener("progress",g),_.onreadystatechange=function(){var e={};if(4===_.readyState){var t=_.getAllResponseHeaders().trim().split(/[\r\n]+/),n={};t.forEach(function(e){var t=e.split(": "),r=t.shift().toLowerCase(),i=t.join(": ");n[r]=i}),e.header=n,e.statusCode=_.status;try{e.data="blob"===p?_.response:JSON.parse(_.responseText)}catch(r){e.data="blob"===p?_.response:_.responseText}clearTimeout(o),i(e)}},t&&n._timeout&&(o=setTimeout(function(){console.warn(n._timeoutMsg),_.abort()},n._timeout)),a=c.isFormData(f)?f:"application/x-www-form-urlencoded"===d["content-type"]?c.toQueryString(f):m||(f?JSON.stringify(f):undefined),h&&(_.withCredentials=!0),_.send(a)})},t}(u.AbstractSDKRequest);t.WebRequest=d,t.genAdapter=function(){return{root:window,reqClass:d,wsClass:WebSocket,localStorage:localStorage,sessionStorage:sessionStorage}}},9966:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M440.65 12.57l4 82.77A247.16 247.16 0 0 0 255.83 8C134.73 8 33.91 94.92 12.29 209.82A12 12 0 0 0 24.09 224h49.05a12 12 0 0 0 11.67-9.26 175.91 175.91 0 0 1 317-56.94l-101.46-4.86a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12H500a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12h-47.37a12 12 0 0 0-11.98 12.57zM255.83 432a175.61 175.61 0 0 1-146-77.8l101.8 4.87a12 12 0 0 0 12.57-12v-47.4a12 12 0 0 0-12-12H12a12 12 0 0 0-12 12V500a12 12 0 0 0 12 12h47.35a12 12 0 0 0 12-12.6l-4.15-82.57A247.17 247.17 0 0 0 255.83 504c121.11 0 221.93-86.92 243.55-201.82a12 12 0 0 0-11.8-14.18h-49.05a12 12 0 0 0-11.67 9.26A175.86 175.86 0 0 1 255.83 432z"></path></svg>'},9976:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-admin-export"},[t("div",{staticClass:"tk-admin-warn tk-admin-import-warn"},[t("p",[e._v(e._s(e.t("ADMIN_EXPORT_WARN")))])]),e._v(" "),t("el-button",{attrs:{size:"small",disabled:e.loading},on:{click:function(t){return e.doExport("comment")}}},[e._v(e._s(e.t("ADMIN_EXPORT_COMMENT")))]),e._v(" "),t("el-button",{attrs:{size:"small",disabled:e.loading},on:{click:function(t){return e.doExport("counter")}}},[e._v(e._s(e.t("ADMIN_EXPORT_COUNTER")))])],1)},t.Yp=[]},9978:function(e,t,n){"use strict";var r,i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.removeEventListener=t.activateEvent=t.addEventListener=t.CloudbaseEventEmitter=t.IErrorEvent=t.CloudbaseEvent=void 0;var a=n(5939),s=function(e,t){this.data=t||null,this.name=e};t.CloudbaseEvent=s;var u=function(e){function t(t,n){var r=e.call(this,"error",{error:t,data:n})||this;return r.error=t,r}return i(t,e),t}(s);t.IErrorEvent=u;var c=function(){function e(){this._listeners={}}return e.prototype.on=function(e,t){return function(e,t,n){n[e]=n[e]||[],n[e].push(t)}(e,t,this._listeners),this},e.prototype.off=function(e,t){return function(e,t,n){if(null==n?void 0:n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}(e,t,this._listeners),this},e.prototype.fire=function(e,t){if(a.isInstanceOf(e,u))return console.error(e.error),this;var n=a.isString(e)?new s(e,t||{}):e,r=n.name;if(this._listens(r)){n.target=this;for(var i=0,c=this._listeners[r]?o(this._listeners[r]):[];i<c.length;i++)c[i].call(this,n)}return this},e.prototype._listens=function(e){return this._listeners[e]&&this._listeners[e].length>0},e}();t.CloudbaseEventEmitter=c;var l=new c;t.addEventListener=function(e,t){l.on(e,t)},t.activateEvent=function(e,t){void 0===t&&(t={}),l.fire(e,t)},t.removeEventListener=function(e,t){l.off(e,t)}},9985:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.B},"default":function(){return a}});var r=n(872),i=n(9865),o=i.A,a=(n(8087),(0,n(4486).A)(o,r.XX,r.Yp,!1,null,null,null).exports)}},t={};function n(r){var i=t[r];if(i!==undefined)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r](o,o.exports,n),o.loaded=!0,o.exports}n.m=e,n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.b="undefined"!=typeof document&&document.baseURI||self.location.href;var r={};return function(){"use strict";var e=r,t=n(477);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,e.getCommentsCount=function(){return m.apply(this,arguments)},e.getRecentComments=function(){return g.apply(this,arguments)},e.init=p,Object.defineProperty(e,"version",{enumerable:!0,get:function(){return a.version}});var i=t(n(479)),o=t(n(4964)),a=n(2199),s=n(824),u=n(1085),c=n(8129),l=t(n(9459));function d(e){return f.apply(this,arguments)}function f(){return(f=(0,o["default"])(i["default"].mark(function e(t){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.install)(l["default"],t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function p(){return h.apply(this,arguments)}function h(){return h=(0,o["default"])(i["default"].mark(function e(){var t,n,r=arguments;return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&r[0]!==undefined?r[0]:{},!(0,c.isUrl)(t.envId)){e.next=5;break}e.t0=null,e.next=8;break;case 5:return e.next=7,d(t);case 7:e.t0=e.sent;case 8:n=e.t0,(0,c.setLanguage)(t),(0,u.render)(n,t);case 11:case"end":return e.stop()}},e)})),h.apply(this,arguments)}function m(){return m=(0,o["default"])(i["default"].mark(function e(){var t,n,r=arguments;return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&r[0]!==undefined?r[0]:{},!(0,c.isUrl)(t.envId)){e.next=5;break}e.t0=null,e.next=8;break;case 5:return e.next=7,d(t);case 7:e.t0=e.sent;case 8:return n=e.t0,e.next=11,(0,c.getCommentsCountApi)(n,t);case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}},e)})),m.apply(this,arguments)}function g(){return g=(0,o["default"])(i["default"].mark(function e(){var t,n,r=arguments;return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&r[0]!==undefined?r[0]:{},!(0,c.isUrl)(t.envId)){e.next=5;break}e.t0=null,e.next=8;break;case 5:return e.next=7,d(t);case 7:e.t0=e.sent;case 8:return n=e.t0,e.next=11,(0,c.getRecentCommentsApi)(n,t);case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}},e)})),g.apply(this,arguments)}n(9744),n(7441),n(5417),e["default"]=p}(),r}()},"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.twikoo=t():e.twikoo=t();
2
+ var e,t;e=this,t=function(){return function(){var e={6885:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3692);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))});var o=n(2912);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))})},3692:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StorageType=t.AbstractStorage=t.AbstractSDKRequest=void 0,function(e){e.local="local",e.none="none",e.session="session"}(n||(t.StorageType=n={})),t.AbstractSDKRequest=function(){},t.AbstractStorage=function(){}},2912:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),o="";for(var i in n)""===o?!r&&(t+="?"):o+="&",o+=i+"="+encodeURIComponent(n[i]);return/^http(s)?\:\/\//.test(t+=o)?t:""+e+t}},3007:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.WxRequest=t.WxMpWebSocket=void 0,t.parseQueryString=v,t.wxMpStorage=void 0;var r,o=n(6885),i=n(7612),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)},u=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},d="Error when aborting requestTask",f=t.WxRequest=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this,r=t.timeout,o=t.timeoutMsg,i=t.restrictedMethods;return n._timeout=r||0,n._timeoutMsg=o||"请求超时",n._restrictedMethods=i||["get","post","upload","download"],n}return a(t,e),t.prototype.post=function(e){var t=this;return new Promise(function(n,r){var i=e.url,a=e.data,s=e.headers,u=wx.request({url:(0,o.formatUrl)("https:",i),data:a,timeout:t._timeout,method:"POST",header:s,success:function(e){e.statusCode>=200&&e.statusCode<300?n({statusCode:e.statusCode,status:e.statusCode,data:e.data}):r(e)},fail:function(e){r(e)},complete:function(e){if(e&&e.errMsg&&t._timeout&&-1!==t._restrictedMethods.indexOf("post")&&"request:fail timeout"===e.errMsg){console.warn(t._timeoutMsg);try{u.abort()}catch(n){}}}})})},t.prototype.get=function(e){var t=this;return new Promise(function(n,r){var i=e.url,a=e.body,s=e.headers,u=(0,o.formatUrl)("https:",i),c=wx.request({url:u,data:a,timeout:t._timeout,method:"GET",header:s,success:function(e){e.statusCode>=200&&e.statusCode<300?n({statusCode:e.statusCode,status:e.statusCode,data:e.data}):r(e)},fail:function(e){r(e)},complete:function(e){if(e&&e.errMsg&&t._timeout&&-1!==t._restrictedMethods.indexOf("get")&&e.errMsg.includes("timeout")){console.warn(t._timeoutMsg);try{c.abort()}catch(n){console.warn(d,n)}}}})})},t.prototype.upload=function(e){var t=this,n=this;return new Promise(function(r){return u(t,void 0,void 0,function(){var t,o,i,a,u,l;return c(this,function(c){return t=e.url,o=e.file,i=e.data,a=e.headers,u=e.onUploadProgress,l=wx.uploadFile({url:t,filePath:o,name:"file",formData:s({},i),header:a,timeout:this._timeout,success:function(e){var t={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&i.success_action_status&&(t.statusCode=parseInt(i.success_action_status,10)),r(t)},fail:function(e){r(e)},complete:function(e){if(e&&e.errMsg&&n._timeout&&-1!==n._restrictedMethods.indexOf("upload")&&"request:fail timeout"===e.errMsg){console.warn(n._timeoutMsg);try{l.abort()}catch(t){}}}}),u&&l.onProgressUpdate(function(e){u(e)}),[2]})})})},t.prototype.download=function(e){var t=this,n=this;return new Promise(function(r,i){var a=e.url,s=e.headers,u=wx.downloadFile({url:(0,o.formatUrl)("https:",a),header:s,timeout:t._timeout,success:function(e){200===e.statusCode&&e.tempFilePath?r({statusCode:200,tempFilePath:e.tempFilePath}):r(e)},fail:function(e){i(e)},complete:function(e){if(e&&e.errMsg&&n._timeout&&-1!==n._restrictedMethods.indexOf("download")&&"request:fail timeout"===e.errMsg){console.warn(n._timeoutMsg);try{u.abort()}catch(t){}}}})})},t.prototype.fetch=function(e){var t=e.url,n=e.body,r=e.enableAbort,a=e.headers,s=e.method,u=e.stream,c=void 0!==u&&u,l=e.signal,f=e.timeout,p=this,h=null!=f?f:this._timeout,v=null,m=new i.ReadableStream({start:function(e){v=e},cancel:function(){v=null}});return new Promise(function(e,i){c&&e({data:m});var u=wx.request({url:(0,o.formatUrl)("https:",t),data:n,timeout:h,method:s.toUpperCase(),header:a,success:function(t){null==v||v.close(),!c&&e(t)},fail:function(e){if(null==v||v.close(),i(e),c)throw e},complete:function(e){if(e&&e.errMsg&&h&&-1!==p._restrictedMethods.indexOf("post")&&r&&"request:fail timeout"===e.errMsg){console.warn(p._timeoutMsg);try{u.abort()}catch(t){console.warn(d,t)}}},enableChunked:c});if(u.onChunkReceived(function(e){null==v||v.enqueue(new Uint8Array(e.data))}),l){var f=function(){try{u.abort()}catch(e){console.warn(d,e)}};l.aborted?f():l.addEventListener("abort",function(){return f()})}})},t.prototype.patch=function(e){var t=e.method,n=e.headers,r=JSON.parse(JSON.stringify(n||{}));return"PATCH"===t.toUpperCase()&&(r["X-HTTP-Method-Override"]="PATCH",t="POST"),this.post(s(s({},e),{method:t,headers:r}))},t}(o.AbstractSDKRequest),p=t.wxMpStorage={setItem:function(e,t){wx.setStorageSync(e,t)},getItem:function(e){return wx.getStorageSync(e)},removeItem:function(e){wx.removeStorageSync(e)},clear:function(){wx.clearStorageSync()}},h=t.WxMpWebSocket=function(e,t){void 0===t&&(t={});var n=wx.connectSocket(s({url:e},t));return{set onopen(e){n.onOpen(e)},set onmessage(e){n.onMessage(e)},set onclose(e){n.onClose(e)},set onerror(e){n.onError(e)},send:function(e){return n.send({data:e})},close:function(e,t){return n.close({code:e,reason:t})},get readyState(){return n.readyState},CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3}};function v(e){var t={},n=e.replace(/^[?#]/,"");return n?(n.split("&").forEach(function(e){var n=e.split("="),r=n[0],o=n[1];r=decodeURIComponent(r),o=decodeURIComponent(o),r&&(t[r]?Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o)}),t):t}var m={genAdapter:function(e){return{root:{globalThis:{}},reqClass:f,wsClass:h,captchaOptions:{openURIWithCallback:function(t){var n=e.EventBus,r={},o=t;console.log("openURIWithCallback",t);var i=t.match(/^(data:.*?)(\?[^#\s]*)?$/);if(i){o=i[1],console.log("openURIWithCallback url",o);var a=i[2];a&&(r=v(a))}console.log("openURIWithCallback queryObj",r);var u=r.token,c=l(r,["token"]);return/^data:/.test(o)&&!u?Promise.reject({error:"invalid_argument",error_description:"invalie captcha data: "+t}):u?new Promise(function(e){console.log("wait for captcha..."),n.$emit("CAPTCHA_DATA_CHANGE",s(s({},c),{token:u,url:o})),n.$once("RESOLVE_CAPTCHA_DATA",function(t){e(t)})}):Promise.reject({error:"unimplemented",error_description:"need to impl captcha data"})}},localStorage:p,primaryStorage:o.StorageType.local,getAppSign:function(){var e=wx.getAccountInfoSync();return"undefined"!=typeof App||"undefined"!=typeof getApp||wx.onAppHide||wx.offAppHide||wx.onAppShow||wx.offAppShow?e&&e.miniProgram?e.miniProgram.appId:"":e&&e.plugin?e.plugin.appId:""}}},isMatch:function(){if("undefined"==typeof wx)return!1;if("undefined"==typeof Page)return!1;if(!wx.getSystemInfoSync)return!1;if(!wx.getStorageSync)return!1;if(!wx.setStorageSync)return!1;if(!wx.connectSocket)return!1;if(!wx.request)return!1;try{if(!wx.getSystemInfoSync())return!1;if("qq"===wx.getSystemInfoSync().AppPlatform)return!1}catch(e){return!1}return!0},runtime:"wx_mp"};t["default"]=m},2083:function(e,t,n){"use strict";var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.OAUTH2_LOGINTYPE_PREFIX=t.LOGINTYPE=t.getBaseEndPoint=t.setRegionLevelEndpoint=t.setGatewayEndPointWithEnv=t.getEndPointInfo=t.setEndPointInfo=t.DEFAULT_PROTOCOL=t.DATA_VERSION=t.getSdkName=t.setSdkName=t.getSdkVersion=t.setSdkVersion=void 0;var o=n(3882),i=o.constants.setSdkName,a=o.constants.setProtocol,s="",u="@cloudbase/js-sdk";t.setSdkVersion=function(e){s=e},t.getSdkVersion=function(){return s},t.setSdkName=function(e){u=e,i(e)},t.getSdkName=function(){return u},t.DATA_VERSION="2020-01-10";var c=[],l=["env","endPointKey","region"];function d(e){return c.find(function(t){return l.filter(function(t){return null!=e[t]}).every(function(n){return t[n]===e[n]})})}function f(e){var n,o;e.protocol&&!/:$/.test(e.protocol)&&(e.protocol="".concat(e.protocol,":"));var i=d(e);i?(null!=e.baseUrl&&(i.baseUrl=e.baseUrl),null!=e.protocol&&(i.protocol=e.protocol)):c.push(r(r({},e),{protocol:null!==(n=e.protocol)&&void 0!==n?n:t.DEFAULT_PROTOCOL})),"CLOUD_API"===e.endPointKey&&a(null!==(o=e.protocol)&&void 0!==o?o:t.DEFAULT_PROTOCOL)}function p(e,t,n){return d({env:e,endPointKey:t,region:n})}t.DEFAULT_PROTOCOL="https:",t.setEndPointInfo=f,t.getEndPointInfo=p,t.setGatewayEndPointWithEnv=function(e,t,n){var r="//".concat(e,".api.tcloudbasegateway.com/v1");n&&(r="//".concat(e,".api.intl.tcloudbasegateway.com/v1")),f({endPointKey:"GATEWAY",env:e,baseUrl:r,protocol:t})},t.setRegionLevelEndpoint=function(e,t,n){f({env:e,region:t,baseUrl:"//".concat(e,".").concat(t||"ap-shanghai",".tcb-api.tencentcloudapi.com/web"),protocol:n,endPointKey:"CLOUD_API"})},t.getBaseEndPoint=function(e,t){void 0===t&&(t="CLOUD_API");var n=p(e,t||"CLOUD_API"),r=n.protocol,o=n.baseUrl;return"".concat(r).concat(o).match(/(http(s)?:)?\/\/([^/?#]*)/)[0]},function(e){e.NULL="NULL",e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.PHONE="PHONE"}(t.LOGINTYPE||(t.LOGINTYPE={})),t.OAUTH2_LOGINTYPE_PREFIX="OAUTH2"},2809:function(e,t,n){"use strict";var r=n(477)(n(9367)),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=function(e,t,n,o){var i,a=arguments.length,s=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===("undefined"==typeof Reflect?"undefined":(0,r["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},a=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,r["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},u=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.cloudbase=t.LANGS=t.getBaseEndPoint=void 0;var c=n(3882),l=n(1876),d=n(1676),f=n(6357),p=n(4778),h=n(2083),v=n(531),m=n(2083);Object.defineProperty(t,"getBaseEndPoint",{enumerable:!0,get:function(){return m.getBaseEndPoint}});var g=n(531);Object.defineProperty(t,"LANGS",{enumerable:!0,get:function(){return g.LANGS}});var _=c.adapters.useAdapters,y=c.adapters.useDefaultAdapter,b=c.constants.ERRORS,w=c.constants.COMMUNITY_SITE_URL,E=c.utils.printWarn,k=c.helpers.catchErrorsDecorator,A={timeout:15e3,persistence:"local"},C=6e5,I={},S=function(){function e(e){this.cloudbaseConfig=e||this.cloudbaseConfig,this.authInstance=null,this.oauthInstance=null,this.version=(0,h.getSdkVersion)()}return Object.defineProperty(e.prototype,"config",{get:function(){return this.cloudbaseConfig},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"platform",{get:function(){return d.Platform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cache",{get:function(){return(0,f.getCacheByEnvId)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localCache",{get:function(){return(0,f.getLocalCache)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"request",{get:function(){return(0,p.getRequestByEnvId)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),e.prototype.init=function(t){var n,r,i;if(void 0===t&&(t={env:""}),t.endPointMode=t.endPointMode||"CLOUD_API",d.Platform.adapter||this.useDefaultAdapter(),!(t=this.dealNodeAdapterConfig(t)).env)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"env must not be specified"}));this.isInitialized(t);var a={timeout:t.timeout||15e3,timeoutMsg:"[".concat((0,h.getSdkName)(),"][REQUEST TIMEOUT] request had been abort since didn't finished within").concat(t.timeout/1e3,"s"),auth:t.auth};this.requestClient=new d.Platform.adapter.reqClass(a),this.cloudbaseConfig=o(o(o({},A),t),{i18n:(0,v.i18nProxy)(d.Platform,t)}),delete this.cloudbaseConfig.lang,this.cloudbaseConfig.timeout=this.formatTimeout(this.cloudbaseConfig.timeout);var s=this.cloudbaseConfig,u=s.env,c=s.persistence,l=s.debug,m=s.timeout,g=s.oauthClient,_=s.i18n;(0,f.initCache)({env:u,persistence:c,debug:l,platformInfo:this.platform}),(0,h.setRegionLevelEndpoint)(u,t.region||""),(0,h.setGatewayEndPointWithEnv)(u,h.DEFAULT_PROTOCOL,t.intl);var y=new e(this.cloudbaseConfig);return(0,p.initRequest)({env:u,region:t.region||"",timeout:m,oauthClient:g,_fromApp:y,i18n:_,endPointMode:t.endPointMode,auth:t.auth}),y.requestClient=this.requestClient,null===(n=null==this?void 0:this.fire)||void 0===n||n.call(this,"cloudbase_init",y),this.try2InitAuth(y),(null===(r=d.Platform.adapter)||void 0===r?void 0:r.nodeTool)&&(null===(i=d.Platform.adapter)||void 0===i||i.nodeTool(y,this.cloudbaseConfig)),y},e.prototype.updateConfig=function(e){var t=e.persistence,n=e.debug;this.cloudbaseConfig.persistence=t,this.cloudbaseConfig.debug=n,(0,f.initCache)({env:this.cloudbaseConfig.env,persistence:t,debug:n,platformInfo:this.platform})},e.prototype.updateLang=function(e){var t;e&&e!==(null===(t=this.cloudbaseConfig.i18n)||void 0===t?void 0:t.lang)&&(this.cloudbaseConfig.i18n.lang=e)},e.prototype.registerExtension=function(e){I[e.name]=e},e.prototype.invokeExtension=function(e,t){return s(this,void 0,void 0,function(){var n;return u(this,function(r){switch(r.label){case 0:if(!(n=I[e]))throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"extension:".concat(e," must be registered before invoke")}));return[4,n.invoke(t,this)];case 1:return[2,r.sent()]}})})},e.prototype.useAdapters=function(e,t){var n=_(e,t)||{},r=n.adapter,o=n.runtime;r&&(d.Platform.adapter=r),o&&(d.Platform.runtime=o)},e.prototype.registerHook=function(t){(0,l.registerHook)(e,t)},e.prototype.registerComponent=function(t){(0,l.registerComponent)(e,t)},e.prototype.registerVersion=function(e){(0,h.setSdkVersion)(e),this.version=e},e.prototype.registerSdkName=function(e){(0,h.setSdkName)(e)},e.prototype.isInitialized=function(e){return void 0===e&&(e=this.cloudbaseConfig),["your-env-id","your-envid","your_env_id","xxx-yyy","xxxx-yyy","envId","env-id","your-environment-id","REPLACE_ME"].some(function(t){return e.env.toLowerCase()===t.toLowerCase()})&&E(b.INVALID_PARAMS,'[CloudBase] 检测到环境 ID "'.concat(e.env,'" 可能是占位符,请替换为真实的环境 ID。\n')+" 获取方式:登录腾讯云开发平台 → 环境管理 → 环境设置 → 环境 ID\n 建议通过环境变量配置:process.env.CLOUDBASE_ENV 或 import.meta.env.VITE_CLOUDBASE_ENV"),!!(null==e?void 0:e.env)},e.prototype.registerEndPoint=function(e,t){(0,h.setEndPointInfo)({baseUrl:e,protocol:t,env:this.config.env,endPointKey:"CLOUD_API"})},e.prototype.registerEndPointWithKey=function(e){(0,h.setEndPointInfo)({env:this.config.env,endPointKey:e.key,baseUrl:e.url,protocol:e.protocol})},e.prototype.getEndPointWithKey=function(e){var t=(0,h.getEndPointInfo)(this.config.env,e);return{BASE_URL:t.baseUrl,PROTOCOL:t.protocol}},e.prototype.parseCaptcha=function(e){return c.utils.parseCaptcha(e)},e.prototype.useDefaultAdapter=function(){var e=y.bind(this)(),t=e.adapter,n=e.runtime;d.Platform.adapter=t,d.Platform.runtime=n},e.prototype.formatTimeout=function(e){switch(!0){case e>C:return E(b.INVALID_PARAMS,"timeout is greater than maximum value[10min]"),C;case e<100:return E(b.INVALID_PARAMS,"timeout is less than maximum value[100ms]"),100;default:return e}},e.prototype.try2InitAuth=function(e){try{e.auth()}catch(t){console.log("try2InitAuth error:",t)}},e.prototype.dealNodeAdapterConfig=function(e){var t,n;if("undefined"!=typeof process&&"undefined"!=typeof process.env&&!process.env.IS_BROWSER_BUILD&&(null===(t=d.Platform.adapter)||void 0===t?void 0:t.getSecretInfo)){var r=null===(n=d.Platform.adapter)||void 0===n?void 0:n.getSecretInfo(e);e.auth=o(o({},e.auth),{secretId:r.secretId,secretKey:r.secretKey,sessionToken:r.sessionToken,secretType:r.secretType}),e.env||(e.env=r.env),!e.accessKey&&r.accessKey&&(e.accessKey=r.accessKey)}return e},i([k({mode:"sync",title:"Cloudbase 初始化失败",messages:["请确认以下各项:"," 1 - 调用 cloudbase.init() 的语法或参数是否正确"," 2 - 如果是非浏览器环境,是否配置了安全应用来源(https://docs.cloudbase.net/api-reference/webv3/adapter#%E7%AC%AC-2-%E6%AD%A5%E9%85%8D%E7%BD%AE%E5%AE%89%E5%85%A8%E5%BA%94%E7%94%A8%E6%9D%A5%E6%BA%90)","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(w)]}),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",e)],e.prototype,"init",null),i([k({title:"调用扩展能力失败",messages:["请确认以下各项:"," 1 - 调用 invokeExtension() 的语法或参数是否正确"," 2 - 被调用的扩展能力是否已经安装并通过 registerExtension() 注册","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(w)]}),a("design:type",Function),a("design:paramtypes",[String,Object]),a("design:returntype",Promise)],e.prototype,"invokeExtension",null),e}();t.cloudbase=new S,t.cloudbase.useAdapters((0,d.getWxDefaultAdapter)()),t["default"]=t.cloudbase},1676:function(e,t,n){"use strict";var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=Object.create?function(e,t,n,r){r===undefined&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.getWxDefaultAdapter=t.Platform=void 0;var u=a(n(3007)),c=n(6885);t.Platform={},t.getWxDefaultAdapter=function(){return u.WxRequest.prototype.upload=function(e){var t=this,n=this;return new Promise(function(o){var i=e.url,a=e.file,s=e.data,u=e.headers,c=wx.getFileSystemManager(),l=wx.request({url:i,method:e.method,header:r({"content-type":" "},u),data:c.readFileSync(a),timeout:t._timeout,success:function(e){var t={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&(null==s?void 0:s.success_action_status)&&(t.statusCode=parseInt(s.success_action_status,10)),o(t)},fail:function(e){o(e)},complete:function(e){if((null==e?void 0:e.errMsg)&&n._timeout&&-1!==n._restrictedMethods.indexOf("upload")&&"request:fail timeout"===e.errMsg){console.warn(n._timeoutMsg);try{l.abort()}catch(t){}}}})})},u["default"].genAdapter=function(e){return{root:{globalThis:{}},reqClass:u.WxRequest,wsClass:u.WxMpWebSocket,captchaOptions:{openURIWithCallback:function(t){var n=e.EventBus,o={},i=t;console.log("openURIWithCallback",t);var a=t.match(/^(data:.*?)(\?[^#\s]*)?$/);if(a){i=a[1],console.log("openURIWithCallback url",i);var c=a[2];c&&(o=(0,u.parseQueryString)(c))}console.log("openURIWithCallback queryObj",o);var l=o.token,d=s(o,["token"]);return/^data:/.test(i)&&!l?Promise.reject({error:"invalid_argument",error_description:"invalie captcha data: ".concat(t)}):l?new Promise(function(e){console.log("wait for captcha..."),n.$emit("CAPTCHA_DATA_CHANGE",r(r({},d),{token:l,url:i})),n.$once("RESOLVE_CAPTCHA_DATA",function(t){e(t)})}):Promise.reject({error:"unimplemented",error_description:"need to impl captcha data"})}},localStorage:u.wxMpStorage,primaryStorage:c.StorageType.local,getAppSign:function(){var e=wx.getAccountInfoSync();return"undefined"!=typeof App||"undefined"!=typeof getApp||wx.onAppHide||wx.offAppHide||wx.onAppShow||wx.offAppShow?e&&e.miniProgram?e.miniProgram.appId:"":e&&e.plugin?e.plugin.appId:""}}},u["default"]}},6357:function(e,t,n){"use strict";var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getLocalCache=t.getCacheByEnvId=t.initCache=void 0;var o=n(3882),i=o.cache.CloudbaseCache,a={},s={};t.initCache=function(e){var t=e.env,n=e.platformInfo,o={userInfoKey:"".concat("user_info","_").concat(t)};a[t]=a[t]||new i(r(r({},e),{keys:o,platformInfo:n})),s[t]=s[t]||new i(r(r({},e),{keys:o,platformInfo:n,persistence:"local"}))},t.getCacheByEnvId=function(e){return a[e]},t.getLocalCache=function(e){return s[e]}},1876:function(e,t,n){"use strict";var r=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.registerHook=t.registerComponent=void 0;var o=n(3882).constants.ERRORS,i={};function a(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:e===undefined&&(e={});break;case Array:e=[];break;default:return t}for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=a(e[o],t[o]))}return e}t.registerComponent=function(e,t){var n=t.name,s=t.namespace,u=t.entity,c=t.injectEvents,l=t.IIFE,d=void 0!==l&&l;if(i[n]||s&&e[s])throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"Duplicate component ".concat(n)}));if(d){if(!u||"function"!=typeof u)throw new Error(JSON.stringify({code:o.INVALID_PARAMS,msg:"IIFE component's entity must be a function"}));u.call(e)}if(i[n]=t,s?e.prototype[s]=u:a(e.prototype,u),c){var f=c.bus,p=c.events;if(!f||!p||0===p.length)return;var h=e.prototype.fire||function(){};e.prototype.events||(e.prototype.events={}),(e.prototype.events||{})[n]?e.prototype.events[n].events=r(r([],e.prototype.events[n].events,!0),p,!0):e.prototype.events[n]={bus:f,events:p},e.prototype.fire=function(e,t){h(e,t);for(var n=0,r=Object.keys(this.events);n<r.length;n++){var o=r[n],i=this.events[o],a=i.bus;if(i.events.includes(e)){a.fire(e,t);break}}}}},t.registerHook=function(e,t){var n=t.entity,i=t.target;if(Object.prototype.hasOwnProperty.call(e,i))throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"target:".concat(i," is not exist")}));var a=e.prototype[i];if("function"!=typeof a)throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"target:".concat(i," is not a function which is the only type supports hook")}));e.prototype[i]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.call.apply(n,r([this],e,!1)),a.call.apply(a,r([this],e,!1))}}},531:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.i18nProxy=t.t=t.langMap=t.LANG_HEADER_KEY=t.LANGS=void 0;var o,i=n(3882);!function(e){e.ZH="zh-CN",e.EN="en-US"}(o=t.LANGS||(t.LANGS={})),t.LANG_HEADER_KEY="Accept-Language",t.langMap=((r={})[o.EN]={"请检查调用方式,或前往云开发 AI+ 首页查看文档":"Please check the calling method or visit the AI+ homepage to view the documentation","AI+ 请求出错,错误码":"AI+ request error, error code","错误信息":"error message","未实现":"not implemented","小程序不支持 wasm 加载":"wasm loading is not supported in mini programs","小程序不支持动态 js 加载":"dynamic js loading is not supported in mini programs","请求超时":"request timeout","缺少 privatelink sdk 地址":"missing privatelink sdk address"},r),t.t=function(e,n){var r;return(null===(r=t.langMap[n])||void 0===r?void 0:r[e])||e},t.i18nProxy=function(e,n){var r,a,s=function(e){return"lang_".concat(e.clientId||e.env)}(n),u=(e.adapter||{}).localStorage,c=n.lang||(null===(r=null==u?void 0:u.getItem)||void 0===r?void 0:r.call(u,s))||o.ZH;return null===(a=null==u?void 0:u.setItem)||void 0===a||a.call(u,s,c),new Proxy({t:function(e){return(0,t.t)(e,c)},LANG_HEADER_KEY:t.LANG_HEADER_KEY,lang:c},{get:function(e,t){var n;return"lang"===t&&(null===(n=null==u?void 0:u.getItem)||void 0===n?void 0:n.call(u,s))||e[t]},set:function(e,n,r){var o;return"lang"===n&&r!==e[n]&&(e[n]=r,e.t=function(e){return(0,t.t)(e,r)},null===(o=null==u?void 0:u.setItem)||void 0===o||o.call(u,s,r),i.langEvent.bus.fire(i.langEvent.LANG_CHANGE_EVENT,{i18n:e})),e[n]=r,!0}})}},4778:function(e,t,n){"use strict";var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},i=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestByEnvId=t.initRequest=t.CloudbaseRequest=void 0;var s=n(2083),u=n(3882),c=n(6357),l=n(1676),d=u.constants.ERRORS,f=u.utils.genSeqId,p=u.utils.isFormData,h=u.utils.formatUrl,v=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"];function m(e,t,n){var o=e[t];e[t]=function(t){var i={},a={};n.forEach(function(n){var r=n.call(e,t),o=r.data,s=r.headers;Object.assign(i,o),Object.assign(a,s)});var s=t.data;return s&&(p(s)?Object.keys(i).forEach(function(e){s.append(e,i[e])}):t.data=r(r({},s),i)),t.headers=r(r({},t.headers||{}),a),o.call(e,t)}}function g(){var e=f();return{data:{seqId:e},headers:{"X-SDK-Version":"@cloudbase/js-sdk/".concat((0,s.getSdkVersion)()),"x-seqid":e}}}var _=function(){function e(e){var t=this;this.throwWhenRequestFail=!1,this.config=e;var n={timeout:this.config.timeout,timeoutMsg:"[@cloudbase/js-sdk] 请求在".concat(this.config.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post","put"],auth:e.auth};this.reqClass=new l.Platform.adapter.reqClass(n),this.throwWhenRequestFail=e["throw"]||!1,this.localCache=(0,c.getLocalCache)(this.config.env),"GATEWAY"!==this.config.endPointMode&&(m(this.reqClass,"post",[g]),m(this.reqClass,"upload",[g]),m(this.reqClass,"download",[g])),u.langEvent.bus.on(u.langEvent.LANG_CHANGE_EVENT,function(e){var n;t.config.i18n=(null===(n=e.data)||void 0===n?void 0:n.i18n)||t.config.i18n})}return e.prototype.getAccessToken=function(e){return void 0===e&&(e=null),o(this,void 0,void 0,function(){var t,n,r;return i(this,function(o){switch(o.label){case 0:if(null!=e)return[2,e];if(!(t=this.config._fromApp).oauthInstance)throw new Error("you can't request without auth");return n=t.oauthInstance,r=n.oauth2client,[4,this.getOauthAccessTokenV2(r)];case 1:return[2,o.sent().accessToken]}})})},e.prototype.getDefaultHeaders=function(){var e,t,n;return(e={})[null===(t=this.config.i18n)||void 0===t?void 0:t.LANG_HEADER_KEY]=null===(n=this.config.i18n)||void 0===n?void 0:n.lang,e["X-SDK-Version"]="@cloudbase/js-sdk/".concat((0,s.getSdkVersion)()),e},e.prototype.post=function(e,t){return o(this,void 0,void 0,function(){return i(this,function(n){switch(n.label){case 0:return[4,this.reqClass.post(r(r({},e),{headers:r(r({},e.headers),this.getDefaultHeaders()),customReqOpts:t}))];case 1:return[2,n.sent()]}})})},e.prototype.upload=function(e){return o(this,void 0,void 0,function(){return i(this,function(t){switch(t.label){case 0:return[4,this.reqClass.upload(r(r({},e),{headers:r(r({},e.headers),this.getDefaultHeaders())}))];case 1:return[2,t.sent()]}})})},e.prototype.download=function(e){return o(this,void 0,void 0,function(){return i(this,function(t){switch(t.label){case 0:return[4,this.reqClass.download(r(r({},e),{headers:r(r({},e.headers),this.getDefaultHeaders())}))];case 1:return[2,t.sent()]}})})},e.prototype.getBaseEndPoint=function(e){return void 0===e&&(e="CLOUD_API"),(0,s.getBaseEndPoint)(this.config.env,e)},e.prototype.getOauthAccessTokenV2=function(e){return o(this,void 0,void 0,function(){var t,n;return i(this,function(r){switch(r.label){case 0:return[4,e.getAccessToken()];case 1:return t=r.sent(),[4,e.getCredentials()];case 2:return n=r.sent(),[2,{accessToken:t,accessTokenExpire:new Date(n.expires_at).getTime()}]}})})},e.prototype.request=function(e,t,n,a){var u,c;return o(this,void 0,void 0,function(){var o,l,d,f,p,m,g,_,y,b,w,E,k,A,C,I,S,O,x,T,D,P,N;return i(this,function(i){switch(i.label){case 0:if(i.trys.push([0,4,,5]),o="x-tcb-trace_".concat(this.config.env),l="application/x-www-form-urlencoded",d=r({action:e,dataVersion:s.DATA_VERSION,env:this.config.env},t),-1!==v.indexOf(e))return[3,2];if(!(f=this.config._fromApp).oauthInstance)throw new Error("you can't request without auth");return p=f.oauthInstance,m=p.oauth2client,g=d,[4,this.getOauthAccessTokenV2(m)];case 1:g.access_token=i.sent().accessToken,i.label=2;case 2:return"storage.uploadFile"===e?(_=new FormData,Object.keys(_).forEach(function(e){Object.prototype.hasOwnProperty.call(_,e)&&_[e]!==undefined&&_.append(e,d[e])}),l="multipart/form-data"):(l="application/json;charset=UTF-8",_={},Object.keys(d).forEach(function(e){d[e]!==undefined&&(_[e]=d[e])})),y={headers:r(r({"content-type":l},this.getDefaultHeaders()),null==n?void 0:n.headers)},(null==n?void 0:n.onUploadProgress)&&(y.onUploadProgress=n.onUploadProgress),this.config.region&&(y.headers["X-TCB-Region"]=this.config.region),(b=this.localCache.getStore(o))&&(y.headers["X-TCB-Trace"]=b),w=(null==n?void 0:n.parse)!==undefined?n.parse:t.parse,E=(null==n?void 0:n.inQuery)!==undefined?n.inQuery:t.inQuery,k=(null==n?void 0:n.search)!==undefined?n.search:t.search,A=r(r({},(null==n?void 0:n.defaultQuery)||{}),{env:this.config.env}),w&&(A.parse=!0),E&&(A=r(r({},E),A)),C=(null==n?void 0:n.endPointMode)||this.config.endPointMode||"CLOUD_API",I=(0,s.getEndPointInfo)(this.config.env,C),S=I.baseUrl,O=I.protocol,"GATEWAY"===C&&/^((database)\.)|(auth\.wsWebSign)/.test(e)&&(x=(0,s.getEndPointInfo)(this.config.env,"CLOUD_API"),S="".concat(x.baseUrl.match(/\/\/([^/?#]*)/)[0],"/web")),T=void 0,T=n.pathname?h(O,"".concat(null===(u=(0,s.getBaseEndPoint)(this.config.env,C))||void 0===u?void 0:u.replace(/^https?:/,""),"/").concat(n.pathname),A):h(O,S,A),k&&(T+=k),[4,this.post(r({url:T,data:_},y),a)];case 3:if(D=i.sent(),(P=null===(c=D.header)||void 0===c?void 0:c["x-tcb-trace"])&&this.localCache.setStore(o,P),200!==Number(D.status)&&200!==Number(D.statusCode)||!D.data)throw new Error("network request error");return[2,D];case 4:N=i.sent();try{N.requestId=N.requestId||(null==n?void 0:n.headers["x-request-id"])||(null==n?void 0:n.headers["X-Request-Id"])||""}catch(R){}throw N;case 5:return[2]}})})},e.prototype.fetch=function(e){var t,n,u,c,l,d,f,p;return o(this,void 0,void 0,function(){var h,v,m,g,_,y,b=this;return i(this,function(w){switch(w.label){case 0:h=e.token,v=e.headers,m=void 0===v?{}:v,g=a(e,["token","headers"]),_=function(){return o(b,void 0,void 0,function(){var e,t,n,o,a;return i(this,function(i){switch(i.label){case 0:return t=(e=this.reqClass).fetch,o={},a={"X-SDK-Version":"@cloudbase/js-sdk/".concat((0,s.getSdkVersion)())},n="Bearer ".concat,[4,this.getAccessToken(h)];case 1:return[2,t.apply(e,[r.apply(void 0,[(o.headers=r.apply(void 0,[r.apply(void 0,[(a.Authorization=n.apply("Bearer ",[i.sent()]),a),this.getDefaultHeaders()]),m]),o),g])])]}})})},w.label=1;case 1:return w.trys.push([1,3,,6]),[4,_()];case 2:return[2,w.sent()];case 3:y=w.sent();try{y.requestId=y.requestId||m["x-request-id"]||m["X-Request-Id"]||""}catch(E){}if("ACCESS_TOKEN_EXPIRED"!==(null==y?void 0:y.code))return[3,5];if("function"!=typeof(null===(c=null===(u=null===(n=null===(t=this.config)||void 0===t?void 0:t._fromApp)||void 0===n?void 0:n.oauthInstance)||void 0===u?void 0:u.authApi)||void 0===c?void 0:c.refreshTokenForce))throw y;return[4,null===(p=null===(f=null===(d=null===(l=this.config)||void 0===l?void 0:l._fromApp)||void 0===d?void 0:d.oauthInstance)||void 0===f?void 0:f.authApi)||void 0===p?void 0:p.refreshTokenForce()];case 4:return w.sent(),[2,_()];case 5:throw y;case 6:return[2]}})})},e.prototype.send=function(e,t,n,a){return void 0===t&&(t={}),void 0===n&&(n={}),o(this,void 0,void 0,function(){var o;return i(this,function(i){switch(i.label){case 0:return[4,this.request(e,t,r(r({},n),{onUploadProgress:t.onUploadProgress}),a)];case 1:if((o=i.sent()).data.code&&this.throwWhenRequestFail)throw new Error(JSON.stringify({code:d.OPERATION_FAIL,msg:"[".concat(o.data.code,"] ").concat(o.data.message)}));return[2,o.data]}})})},e.prototype.gateWay=function(e,t){var n;return o(this,void 0,void 0,function(){var o,a,c,l,f,p,h,v,m,g,_,y,b,w,E,k,A,C,I;return i(this,function(i){switch(i.label){case 0:if(o=e.url,a=e.name,c=e.data,l=e.path,f=void 0===l?"":l,p=e.method,h=e.header,v=void 0===h?{}:h,!(a&&f||o))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[gateWay] invalid function name or path or url"}));try{m=c?JSON.stringify(c):""}catch(S){throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[gateWay] invalid data"}))}if(g=u.utils.generateRequestId(),_=(0,s.getEndPointInfo)(this.config.env,"GATEWAY"),y=_.baseUrl,b=_.protocol,w="".concat(b).concat(y).concat(o||"/".concat(f,"/").concat(a)),E=["GET","HEAD"].includes(null===(n=null==p?void 0:p.toUpperCase)||void 0===n?void 0:n.call(p)))try{k={};try{k=JSON.parse(c)}catch(O){k=c||{}}w="".concat(w).concat(w.includes("?")?"&":"?").concat(Object.keys(k).map(function(e){return"".concat(e,"=").concat(k[e])}).join("&"))}catch(O){}return[4,this.fetch(r(r({method:p||"POST",headers:r({"Content-Type":"application/json; charset=utf-8","X-Request-Id":g},v)},E?{}:{body:m}),{url:w,customReqOpts:t}))];case 1:return A=i.sent(),C=[r({requestId:g},A)],I={},[4,A.data];case 2:return[2,r.apply(void 0,C.concat([(I.data=i.sent(),I)]))]}})})},e}();t.CloudbaseRequest=_;var y={};t.initRequest=function(e){y[e.env]=new _(r(r({},e),{"throw":!0}))},t.getRequestByEnvId=function(e){return y[e]}},1933:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.useAuthAdapter=void 0;var o=r(n(9367)),i=n(486),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},s=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},u=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},c=function(){function e(e){var t,n;try{this.localStorage=(null==e?void 0:e.localStorage)||((null===(n=null===(t=null==e?void 0:e.adapter)||void 0===t?void 0:t.root)||void 0===n?void 0:n.globalThis)||globalThis).localStorage}catch(r){this.localStorage=(null==e?void 0:e.localStorage)||{}}}return e.prototype.getItem=function(e){return s(this,void 0,void 0,function(){return u(this,function(t){return[2,this.localStorage.getItem(e)]})})},e.prototype.removeItem=function(e){return s(this,void 0,void 0,function(){return u(this,function(t){return this.localStorage.removeItem(e),[2]})})},e.prototype.setItem=function(e,t){return s(this,void 0,void 0,function(){return u(this,function(n){return this.localStorage.setItem(e,t),[2]})})},e.prototype.getItemSync=function(e){return this.localStorage.getItem(e)},e.prototype.setItemSync=function(e,t){this.localStorage.setItem(e,t)},e.prototype.removeItemSync=function(e){this.localStorage.removeItem(e)},e}(),l=/^[^:]+:\/\/[^/]+(\/[^?#]+)/,d=function(e,t){var n,r,o,i,a=null===(n=null==t?void 0:t.headers)||void 0===n?void 0:n["x-request-id"];return e||(e={}),((null==e?void 0:e.code)||(null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.error_code))&&(e={error:e.code||e.data.error,error_description:e.data.error_description||e.message||e.code||e.data.error_code,request_id:e.requestId,error_code:null===(o=e.data)||void 0===o?void 0:o.error_code}),(null==e?void 0:e.request_id)||(e.request_id=e.request_id||a),(null==e?void 0:e.error)?(e.error_uri=(i=null==t?void 0:t.url,l.test(i)?RegExp.$1:i),e):(null==e?void 0:e.data)||{}},f=function(e,t){var n=a({},e),r={};if((null==t?void 0:t.captchaOptions)&&(n.captchaOptions=t.captchaOptions),!i.adapterForWxMp.isMatch()||e.storage&&e.baseRequest)return n;try{var o=i.adapterForWxMp.genAdapter({}),l=o.localStorage,f=o.reqClass;if(l&&(r.storage=new c({localStorage:l,adapter:t})),f){var p=new f({timeout:1e4,restrictedMethods:["get","post","upload","download","request"]});r.request=function(e){return function(t,n){return s(this,void 0,void 0,function(){return u(this,function(r){return[2,new Promise(function(r,o){var i=Object.assign({},n);i.body&&"string"!=typeof i.body&&(i.body=JSON.stringify(i.body));var s=wx.request({url:t,data:i.body,timeout:e._timeout,method:i.method||"GET",header:i.headers,success:function(e){(e=d(e,a(a({},n),{url:t}))).error&&o(e),r(e)},fail:function(e){o({error:"unreachable",error_description:e.message})},complete:function(t){if(t&&t.errMsg&&e._timeout&&-1!==e._restrictedMethods.indexOf("request")&&"request:fail timeout"===t.errMsg){console.warn(e._timeoutMsg);try{s.abort()}catch(n){}}}})})]})})}}(p)}return n.captchaOptions&&(r.baseRequest=r.request,r.request=undefined),a(a({},n),r)}catch(h){console.error("adapter generate fail:",h)}return n};t.useAuthAdapter=function(e){return e.adapter&&"default"!==e.adapter.type?function(e,t){var n=a({},e);try{if(!(null==e?void 0:e.storage)&&(null==t?void 0:t.localStorage)&&(n.storage=new c({localStorage:t.localStorage,adapter:t})),!e.captchaOptions&&(null==t?void 0:t.captchaOptions)&&(n.captchaOptions=t.captchaOptions),!e.baseRequest&&!e.request&&(null==t?void 0:t.reqClass)){var r={timeout:1e4,restrictedMethods:["get","post","upload","download","request"],auth:e.auth},i=new t.reqClass(r);n.baseRequest=function(e,t){var n,r,c,l,f;return s(this,void 0,void 0,function(){var s,p,h,v;return u(this,function(u){switch(u.label){case 0:if(s={},p=(null===(n=t.method)||void 0===n?void 0:n.toLocaleLowerCase())||"post","function"!=typeof(h=null===(c=null===(r=null==i?void 0:i[p])||void 0===r?void 0:r.bind)||void 0===c?void 0:c.call(r,i)))throw new Error("invalid 【".concat(p,"】 request method"));u.label=1;case 1:return u.trys.push([1,3,,4]),(null===(l=t.headers)||void 0===l?void 0:l["content-type"])&&!(null===(f=t.headers)||void 0===f?void 0:f["content-type"].includes("application/json"))||["string","undefined"].includes((0,o["default"])(t.body))||(t.data=t.data||t.body,t.body=JSON.stringify(t.body)),[4,h(a({url:e},t))];case 2:return s=u.sent(),s=d(s,a(a({},t),{url:e})),[3,4];case 3:throw v=u.sent(),s=a(a({},null==v?void 0:v.data),v);case 4:if(null==s?void 0:s.error)throw s;return[2,s]}})})}}}catch(l){console.error("user adapter generate fail:",l)}return n}(e,e.adapter):f(e,e.adapter)}},3442:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnonymousAuthProvider",{enumerable:!0,get:function(){return l.AnonymousAuthProvider}}),t.Auth=void 0,Object.defineProperty(t,"AuthError",{enumerable:!0,get:function(){return a.AuthError}}),Object.defineProperty(t,"AuthErrorCategory",{enumerable:!0,get:function(){return a.AuthErrorCategory}}),Object.defineProperty(t,"CustomAuthProvider",{enumerable:!0,get:function(){return l.CustomAuthProvider}}),t.User=t.LoginState=void 0,Object.defineProperty(t,"WeixinAuthProvider",{enumerable:!0,get:function(){return l.WeixinAuthProvider}}),t.generateAuthInstance=A,t.registerAuth=function(e){try{e.registerComponent(S)}catch(t){console.warn(t)}};var o,i=r(n(9367)),a=n(2191),s=n(1933),u=n(486),c=n(6067),l=n(348),d=n(3882),f=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},h=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},m=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},g=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},y=function(){return"undefined"!=typeof window&&"undefined"!=typeof document},b=function(e){return function(t){e.fire(a.EVENTS.LOGIN_STATE_CHANGED,p(p({},t),{eventType:a.LOGIN_STATE_CHANGED_TYPE.CREDENTIALS_ERROR}))}},w=t.User=function(){function e(e){var t=e.cache,n=e.oauthInstance;this.cache=t,this.oauthInstance=n,this.setUserInfo()}return e.prototype.checkLocalInfo=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return this.uid=this.getLocalUserInfo("uid"),this.gender=this.getLocalUserInfo("gender"),this.picture=this.getLocalUserInfo("picture"),this.email=this.getLocalUserInfo("email"),this.emailVerified=this.getLocalUserInfo("email_verified"),this.phoneNumber=this.getLocalUserInfo("phone_number"),this.username=this.getLocalUserInfo("username"),this.name=this.getLocalUserInfo("name"),this.birthdate=this.getLocalUserInfo("birthdate"),this.zoneinfo=this.getLocalUserInfo("zoneinfo"),this.locale=this.getLocalUserInfo("locale"),this.sub=this.getLocalUserInfo("sub"),this.createdFrom=this.getLocalUserInfo("created_from"),this.providers=this.getLocalUserInfo("providers"),[2]})})},e.prototype.checkLocalInfoAsync=function(){return m(this,void 0,void 0,function(){var e,t,n,r;return g(this,function(o){switch(o.label){case 0:return e=this,[4,this.getLocalUserInfoAsync("uid")];case 1:return e.uid=o.sent(),t=this,[4,this.getLocalUserInfoAsync("gender")];case 2:return t.gender=o.sent(),this.picture=this.getLocalUserInfo("picture"),n=this,[4,this.getLocalUserInfoAsync("email")];case 3:return n.email=o.sent(),this.emailVerified=this.getLocalUserInfo("email_verified"),this.phoneNumber=this.getLocalUserInfo("phone_number"),r=this,[4,this.getLocalUserInfoAsync("username")];case 4:return r.username=o.sent(),this.name=this.getLocalUserInfo("name"),this.birthdate=this.getLocalUserInfo("birthdate"),this.zoneinfo=this.getLocalUserInfo("zoneinfo"),this.locale=this.getLocalUserInfo("locale"),this.sub=this.getLocalUserInfo("sub"),this.createdFrom=this.getLocalUserInfo("created_from"),this.providers=this.getLocalUserInfo("providers"),[2]}})})},e.prototype.update=function(e){return m(this,void 0,void 0,function(){var t;return g(this,function(n){switch(n.label){case 0:return[4,this.oauthInstance.authApi.setUserProfile(p({},e))];case 1:return t=n.sent(),this.setLocalUserInfo(t),[2]}})})},e.prototype.updateUserBasicInfo=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.updateUserBasicInfo(p({},e))];case 1:return t.sent(),[4,this.refresh()];case 2:return t.sent(),[2]}})})},e.prototype.updatePassword=function(e,t){return this.oauthInstance.authApi.updatePasswordByOld({old_password:t,new_password:e})},e.prototype.updateUsername=function(e){return"string"!=typeof e&&(0,u.throwError)(u.ERRORS.INVALID_PARAMS,"username must be a string"),this.update({username:e})},e.prototype.refresh=function(e){return m(this,void 0,void 0,function(){var t;return g(this,function(n){switch(n.label){case 0:return[4,this.oauthInstance.authApi.getUserInfo(e)];case 1:if("INVALID_ACCESS_TOKEN"===(t=n.sent()).code)throw this.setLocalUserInfo({}),t;return this.setLocalUserInfo(t),[2,t]}})})},e.prototype.getLocalUserInfo=function(e){var t=this.cache.keys.userInfoKey,n=this.cache.getStore(t);return e?n[e]:n||{}},e.prototype.setLocalUserInfo=function(e){var t=this.cache.keys.userInfoKey;this.cache.setStore(t,e),this.setUserInfo()},e.prototype.getLocalUserInfoAsync=function(e){return m(this,void 0,void 0,function(){var t;return g(this,function(n){switch(n.label){case 0:return t=this.cache.keys.userInfoKey,[4,this.cache.getStoreAsync(t)];case 1:return[2,n.sent()[e]]}})})},e.prototype.setUserInfo=function(){var e=this,t=this.cache.keys.userInfoKey,n=this.cache.getStore(t);["uid","email","name","gender","picture","email_verified","phone_number","birthdate","zoneinfo","locale","sub","created_from","providers","username","created_at"].forEach(function(t){e[t]=n[t]})},h([(0,u.catchErrorsDecorator)({title:"更新用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.update() 的语法或参数是否正确"," 2 - 用户信息中是否包含非法值","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],e.prototype,"update",null),h([(0,u.catchErrorsDecorator)({title:"更新密码失败",messages:["请确认以下各项:"," 1 - 调用 User.updatePassword() 的语法或参数是否正确"," 3 - 新密码中是否包含非法字符","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[String,String]),v("design:returntype",void 0)],e.prototype,"updatePassword",null),h([(0,u.catchErrorsDecorator)({title:"更新用户名失败",messages:["请确认以下各项:"," 1 - 调用 User.updateUsername() 的语法或参数是否正确"," 2 - 当前环境是否开通了用户名密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[String]),v("design:returntype",void 0)],e.prototype,"updateUsername",null),h([(0,u.catchErrorsDecorator)({title:"刷新本地用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.refresh() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],e.prototype,"refresh",null),e}();(0,l.applyUserV1Compat)(w);var E=t.LoginState=function(){function e(e){var t=e.envId,n=e.cache,r=e.oauthInstance;t||(0,u.throwError)(u.ERRORS.INVALID_PARAMS,"envId is not defined"),this.cache=n,this.oauthInstance=r,this.user=new w({cache:this.cache,oauthInstance:r})}return e.prototype.checkLocalState=function(){var e;this.oauthLoginState=null===(e=this.oauthInstance)||void 0===e?void 0:e.authApi.hasLoginStateSync(),this.user.checkLocalInfo()},e.prototype.checkLocalStateAsync=function(){var e;return m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return[4,null===(e=this.oauthInstance)||void 0===e?void 0:e.authApi.getLoginState()];case 1:return t.sent(),[4,this.user.checkLocalInfoAsync()];case 2:return t.sent(),[2]}})})},e}(),k=t.Auth=function(e){function t(t){var n=e.call(this)||this;return n.listeners=new Map,n.hasListenerSetUp=!1,n.config=t,n.oauthInstance=t.oauthInstance,n.cache=t.cache,n.init(),n.setAccessKey(),n}return f(t,e),t.prototype.signInAnonymously=function(e){return m(this,void 0,void 0,function(){var t,n,r,o,i;return g(this,function(s){switch(s.label){case 0:return s.trys.push([0,4,,5]),[4,this.oauthInstance.authApi.signInAnonymously(e)];case 1:return s.sent(),[4,this.createLoginState()];case 2:return t=s.sent(),[4,this.getSession()];case 3:return n=s.sent().data,r=(void 0===n?{}:n).session,[2,p(p({},t),{data:{user:r.user,session:r},error:null})];case 4:return o=s.sent(),(i=new a.AuthError(o,{method:"signInAnonymously"})).category===a.AuthErrorCategory.PROVIDER_NOT_ENABLED?(console.error(i.helpMessage),console.error("[CloudBase Auth] 提示:匿名登录需要在控制台开启「匿名登录」。\n 如果您需要使用用户名密码登录,请改用 auth.signInWithPassword({ username, password })。\n 不要在匿名登录失败后自动回退到密码登录,这两种方式的使用场景不同。")):(console.warn("[CloudBase Auth] signInAnonymously 失败 [".concat(i.category,"]: ").concat(i.message)),i.loginMethodHint&&console.warn(i.loginMethodHint)),[2,{data:{},error:i}];case 5:return[2]}})})},t.prototype.signUp=function(e){return m(this,void 0,void 0,function(){var t,n,r=this;return g(this,function(o){switch(o.label){case 0:return e.phone_number||e.verification_code||e.verification_token||e.provider_token?(e.phone_number&&(e.phone_number=this.formatPhone(e.phone_number)),[4,this.oauthInstance.authApi.signUp(e)]):[3,2];case 1:return o.sent(),[2,this.createLoginState()];case 2:return o.trys.push([2,4,,5]),this.validateAtLeastOne(e,[["email"],["phone"]],"You must provide either an email or phone number"),[4,this.getVerification(e.email?{email:e.email}:{phone_number:this.formatPhone(e.phone)})];case 3:return t=o.sent(),[2,{data:{verifyOtp:function(n){var o=n.token,i=n.messageId,s=void 0===i?t.verification_id:i;return m(r,void 0,void 0,function(){var n,r,i,u,c;return g(this,function(l){switch(l.label){case 0:return l.trys.push([0,8,,9]),[4,this.verify({verification_id:s||t.verification_id,verification_code:o})];case 1:return n=l.sent(),t.is_user?[4,this.signIn({username:e.email||this.formatPhone(e.phone),verification_token:n.verification_token})]:[3,3];case 2:return l.sent(),[3,6];case 3:return delete(r=JSON.parse(JSON.stringify(e))).email,delete r.phone,[4,this.oauthInstance.authApi.signUp(p(p(p({},r),e.email?{email:e.email}:{phone_number:this.formatPhone(e.phone)}),{verification_token:n.verification_token,verification_code:o}))];case 4:return l.sent(),[4,this.createLoginState()];case 5:l.sent(),l.label=6;case 6:return[4,this.getSession()];case 7:return i=l.sent().data,[2,{data:{user:(u=(void 0===i?{}:i).session).user,session:u},error:null}];case 8:return c=l.sent(),[2,{data:{},error:new a.AuthError(c,{method:"signUp"})}];case 9:return[2]}})})}},error:null}];case 4:return n=o.sent(),[2,{data:{},error:new a.AuthError(n,{method:"signUp"})}];case 5:return[2]}})})},t.prototype.signOut=function(e){var t,n;return m(this,void 0,void 0,function(){var r,o,i;return g(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),r=this.cache.keys.userInfoKey,[4,this.oauthInstance.authApi.signOut(e)];case 1:return o=s.sent(),[4,this.cache.removeStoreAsync(r)];case 2:return s.sent(),this.setAccessKey(),null===(t=this.config.eventBus)||void 0===t||t.fire(a.EVENTS.LOGIN_STATE_CHANGED,{eventType:a.LOGIN_STATE_CHANGED_TYPE.SIGN_OUT}),null===(n=this.config.eventBus)||void 0===n||n.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.SIGNED_OUT}),[2,p(p({},o),{data:{},error:null})];case 3:return i=s.sent(),[2,{data:{},error:new a.AuthError(i,{method:"signOut"})}];case 4:return[2]}})})},t.prototype.onAuthStateChange=function(e){var t=this;this.hasListenerSetUp||(this.setupListeners(),this.hasListenerSetUp=!0);var n=Math.random().toString(36);return this.listeners.has(n)||this.listeners.set(n,new Set),this.listeners.get(n).add(e),{data:{subscription:{id:n,callback:e,unsubscribe:function(){var r=t.listeners.get(n);r&&(r["delete"](e),0===r.size&&t.listeners["delete"](n))}}}}},t.prototype.signInWithPassword=function(e){return m(this,void 0,void 0,function(){var t,n,r,o;return g(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),this.validateAtLeastOne(e,[["username"],["email"],["phone"]],"You must provide either username, email, or phone"),this.validateParams(e,{password:{required:!0,message:"Password is required"}}),[4,this.signIn(p({username:e.username||e.email||this.formatPhone(e.phone),password:e.password},e.is_encrypt?{isEncrypt:!0,version:"v2"}:{}))];case 1:return i.sent(),[4,this.getSession()];case 2:return t=i.sent().data,[2,{data:{user:(n=(void 0===t?{}:t).session).user,session:n},error:null}];case 3:return r=i.sent(),(o=new a.AuthError(r,{method:"signInWithPassword"})).category===a.AuthErrorCategory.PROVIDER_NOT_ENABLED?console.error(o.helpMessage):o.category===a.AuthErrorCategory.INVALID_CREDENTIALS||o.category===a.AuthErrorCategory.USER_NOT_FOUND?console.warn(o.helpMessage):console.warn("[CloudBase Auth] signInWithPassword 失败 [".concat(o.category,"]: ").concat(o.message)),o.loginMethodHint&&console.info(o.loginMethodHint),[2,{data:{},error:o}];case 4:return[2]}})})},t.prototype.signInWithIdToken=function(e){return m(this,void 0,void 0,function(){var t,n,r;return g(this,function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),this.validateParams(e,{token:{required:!0,message:"Token is required"}}),[4,this.signInWithProvider({provider_token:e.token})];case 1:return o.sent(),[4,this.getSession()];case 2:return t=o.sent().data,[2,{data:{user:(n=(void 0===t?{}:t).session).user,session:n},error:null}];case 3:return r=o.sent(),[2,{data:{},error:new a.AuthError(r,{method:"signInWithIdToken"})}];case 4:return[2]}})})},t.prototype.signInWithOtp=function(e){var t,n,r,o;return m(this,void 0,void 0,function(){var i,s,u=this;return g(this,function(c){switch(c.label){case 0:if(!(null===(t=e.options)||void 0===t?void 0:t.emailRedirectTo)&&((null===(n=e.options)||void 0===n?void 0:n.shouldCreateUser)===undefined||(null===(r=e.options)||void 0===r?void 0:r.shouldCreateUser)))return[2,this.signUp({email:e.email,phone:e.phone})];c.label=1;case 1:return c.trys.push([1,3,,4]),this.validateAtLeastOne(e,[["email"],["phone"]],"You must provide either an email or phone number"),[4,this.getVerification(p({email_redirect_to:null===(o=e.options)||void 0===o?void 0:o.emailRedirectTo},e.email?{email:e.email}:{phone_number:this.formatPhone(e.phone)}))];case 2:return i=c.sent(),[2,{data:{user:null,session:null,verifyOtp:function(t){var n=t.token,r=t.messageId,o=void 0===r?i.verification_id:r;return m(u,void 0,void 0,function(){return g(this,function(t){return[2,this.verifyOtp({email:e.email,phone:e.phone,token:n,messageId:o})]})})}},error:null}];case 3:return s=c.sent(),[2,{data:{},error:new a.AuthError(s,{method:"signInWithOtp"})}];case 4:return[2]}})})},t.prototype.verifyOAuth=function(e){return m(this,void 0,void 0,function(){var t,n,r,o,i,s,u,l,f;return g(this,function(h){switch(h.label){case 0:t={},h.label=1;case 1:return h.trys.push([1,7,,8]),n=(null==e?void 0:e.code)||d.utils.getQuery("code"),r=(null==e?void 0:e.state)||d.utils.getQuery("state"),n?r?(o=(0,c.getBrowserSession)(r),t.type=null==o?void 0:o.type,(i=(null==e?void 0:e.provider)||(null==o?void 0:o.provider)||d.utils.getQuery("provider"))?[4,this.grantProviderToken({provider_id:i,provider_redirect_uri:location.origin+location.pathname,provider_code:n})]:[2,{data:t,error:new a.AuthError({message:"Provider is required"})}]):[2,{data:{},error:new a.AuthError({message:"State is required"})}]:[2,{data:{},error:new a.AuthError({message:"Code is required"})}];case 2:return s=h.sent().provider_token,u=void 0,o.type!==a.OAUTH_TYPE.BIND_IDENTITY?[3,4]:[4,this.oauthInstance.authApi.toBindIdentity({provider_token:s,provider:i,fireEvent:!0})];case 3:return u=h.sent(),[3,6];case 4:return[4,this.signInWithIdToken({token:s})];case 5:(u=h.sent()).data=p(p({},t),u.data),h.label=6;case 6:return(l=new URLSearchParams(null===location||void 0===location?void 0:location.search))["delete"]("code"),l["delete"]("state"),u.data.redirectUrl=(0,c.addUrlSearch)((null==o?void 0:o.search)===undefined?"?".concat(l.toString()):null==o?void 0:o.search,(null==o?void 0:o.hash)||location.hash),(0,c.removeBrowserSession)(r),[2,u];case 7:return f=h.sent(),[2,{data:t,error:new a.AuthError(f,{method:"verifyOAuth"})}];case 8:return[2]}})})},t.prototype.signInWithOAuth=function(e){var t,n,r,o,i;return m(this,void 0,void 0,function(){var s,u,l,d,f,p,h,v,m;return g(this,function(g){switch(g.label){case 0:return g.trys.push([0,2,,3]),this.validateParams(e,{provider:{required:!0,message:"Provider is required"}}),s=(null===(t=e.options)||void 0===t?void 0:t.redirectTo)||location.href,u=new URL(s),l=u.origin+u.pathname,d=(null===(n=e.options)||void 0===n?void 0:n.state)||"prd-".concat(e.provider,"-").concat(Math.random().toString(36).slice(2)),[4,this.genProviderRedirectUri({provider_id:e.provider,provider_redirect_uri:l,state:d})];case 1:return f=g.sent().uri,p=decodeURIComponent(f),h=p,(null===(r=e.options)||void 0===r?void 0:r.queryParams)&&(v=new URL(p),Object.entries(e.options.queryParams).forEach(function(e){var t=e[0],n=e[1];v.searchParams.set(t,n)}),h=v.toString()),(0,c.saveToBrowserSession)(d,{provider:e.provider,search:u.search,hash:u.hash,type:(null===(o=e.options)||void 0===o?void 0:o.type)||a.OAUTH_TYPE.SIGN_IN}),y()&&!(null===(i=e.options)||void 0===i?void 0:i.skipBrowserRedirect)&&window.location.assign(h),[2,{data:{url:h,provider:e.provider},error:null}];case 2:return m=g.sent(),[2,{data:{},error:new a.AuthError(m,{method:"signInWithOAuth"})}];case 3:return[2]}})})},t.prototype.getClaims=function(){return m(this,void 0,void 0,function(){var e,t;return g(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.getAccessToken()];case 1:return e=n.sent().accessToken,[2,{data:(0,a.weAppJwtDecodeAll)(e),error:null}];case 2:return t=n.sent(),[2,{data:{},error:new a.AuthError(t,{method:"getClaims"})}];case 3:return[2]}})})},t.prototype.resetPasswordForEmail=function(e,t){return m(this,void 0,void 0,function(){var n,r,o,i,s,u,c=this;return g(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),this.validateParams({emailOrPhone:e},{emailOrPhone:{required:!0,message:"Email or phone is required"}}),n=(t||{}).redirectTo,r=e.includes("@"),o=void 0,r?o={email:e}:(i=this.formatPhone(e),o={phone_number:i}),[4,this.getVerification(o)];case 1:return s=l.sent(),[2,{data:{updateUser:function(t){return m(c,void 0,void 0,function(){var o,i,u,c;return g(this,function(l){switch(l.label){case 0:this.validateParams(t,{nonce:{required:!0,message:"Nonce is required"},password:{required:!0,message:"Password is required"}}),l.label=1;case 1:return l.trys.push([1,5,,6]),[4,this.verify({verification_id:s.verification_id,verification_code:t.nonce})];case 2:return o=l.sent(),[4,this.oauthInstance.authApi.resetPassword({email:r?e:undefined,phone_number:r?undefined:e,new_password:t.password,verification_token:o.verification_token})];case 3:return l.sent(),null===(c=this.config.eventBus)||void 0===c||c.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.PASSWORD_RECOVERY}),[4,this.signInWithPassword({email:r?e:undefined,phone:r?undefined:e,password:t.password})];case 4:return i=l.sent(),n&&y()&&window.location.assign(n),[2,i];case 5:return u=l.sent(),[2,{data:{},error:new a.AuthError(u,{method:"resetPasswordForEmail"})}];case 6:return[2]}})})}},error:null}];case 2:return u=l.sent(),[2,{data:{},error:new a.AuthError(u,{method:"resetPasswordForEmail"})}];case 3:return[2]}})})},t.prototype.resetPasswordForOld=function(e){return m(this,void 0,void 0,function(){var t,n,r;return g(this,function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,this.oauthInstance.authApi.updatePasswordByOld({old_password:e.old_password,new_password:e.new_password})];case 1:return o.sent(),[4,this.getSession()];case 2:return t=o.sent().data,[2,{data:{user:(n=(void 0===t?{}:t).session).user,session:n},error:null}];case 3:return r=o.sent(),[2,{data:{},error:new a.AuthError(r,{method:"resetPasswordForOld"})}];case 4:return[2]}})})},t.prototype.verifyOtp=function(e){return m(this,void 0,void 0,function(){var t,n,r,o;return g(this,function(i){switch(i.label){case 0:return i.trys.push([0,6,,7]),t=e.type,this.validateParams(e,{token:{required:!0,message:"Token is required"},messageId:{required:!0,message:"messageId is required"}}),["phone_change","email_change"].includes(t)?[4,this.verify({verification_id:e.messageId,verification_code:e.token})]:[3,2];case 1:return i.sent(),[3,4];case 2:return[4,this.signInWithUsername({verificationInfo:{verification_id:e.messageId,is_user:!0},verificationCode:e.token,username:e.email||this.formatPhone(e.phone)||"",loginType:e.email?"email":"phone"})];case 3:i.sent(),i.label=4;case 4:return[4,this.getSession()];case 5:return n=i.sent().data,[2,{data:{user:(r=(void 0===n?{}:n).session).user,session:r},error:null}];case 6:return o=i.sent(),[2,{data:{},error:new a.AuthError(o,{method:"verifyOtp"})}];case 7:return[2]}})})},t.prototype.getSession=function(){return m(this,void 0,void 0,function(){var e,t,n,r;return g(this,function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,this.oauthInstance.oauth2client.getCredentials()];case 1:return(e=o.sent())&&"accessKey"!==e.scope?[4,this.getUser(!1)]:[2,{data:{session:null},error:null}];case 2:return t=o.sent().data,n=(void 0===t?{}:t).user,[2,{data:{session:p(p({},e),{user:n}),user:n},error:null}];case 3:return r=o.sent(),[2,{data:{},error:new a.AuthError(r,{method:"getSession"})}];case 4:return[2]}})})},t.prototype.refreshSession=function(e){return m(this,void 0,void 0,function(){var t,n,r,o,i;return g(this,function(s){switch(s.label){case 0:return s.trys.push([0,4,,5]),[4,this.oauthInstance.oauth2client.localCredentials.getCredentials()];case 1:return(t=s.sent()).refresh_token=e||t.refresh_token,[4,this.oauthInstance.oauth2client.refreshToken(t)];case 2:return n=s.sent(),[4,this.getUser(!1)];case 3:return r=s.sent().data,[2,{data:{user:o=(void 0===r?{}:r).user,session:p(p({},n),{user:o})},error:null}];case 4:return i=s.sent(),[2,{data:{},error:new a.AuthError(i,{method:"refreshSession"})}];case 5:return[2]}})})},t.prototype.getUser=function(e){return void 0===e&&(e=!0),m(this,void 0,void 0,function(){var t,n;return g(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),t=this.convertToUser,[4,this.getCurrentUser(e)];case 1:return[2,{data:{user:t.apply(this,[r.sent()])},error:null}];case 2:return n=r.sent(),[2,{data:{},error:new a.AuthError(n,{method:"getUser"})}];case 3:return[2]}})})},t.prototype.refreshUser=function(){return m(this,void 0,void 0,function(){var e,t,n;return g(this,function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,this.currentUser.refresh()];case 1:return r.sent(),[4,this.getSession()];case 2:return e=r.sent().data,[2,{data:{user:(t=(void 0===e?{}:e).session).user,session:t},error:null}];case 3:return n=r.sent(),[2,{data:{},error:new a.AuthError(n,{method:"refreshUser"})}];case 4:return[2]}})})},t.prototype.updateUser=function(e){var t;return m(this,void 0,void 0,function(){var n,r,o,i,s,u,c,l,d,f,h,v,y=this;return g(this,function(b){switch(b.label){case 0:if(b.trys.push([0,8,,9]),!Object.keys(e).some(function(t){return e[t]!==undefined&&null!==e[t]&&""!==e[t]}))throw new a.AuthError({message:"At least one field must be provided for update"});return n=e.email,r=e.phone,o=_(e,["email","phone"]),i=n!==undefined,s=r!==undefined,u={},i||s?(c=void 0,i?(c={email:e.email},l="email_change"):(d=this.formatPhone(e.phone),c={phone_number:d},l="phone_change"),[4,this.getVerification(c)]):[3,4];case 1:return f=b.sent(),Object.keys(o).length>0?[4,this.updateUserBasicInfo(o)]:[3,3];case 2:b.sent(),b.label=3;case 3:return u={messageId:f.verification_id,verifyOtp:function(t){return m(y,void 0,void 0,function(){var n,r,o;return g(this,function(s){switch(s.label){case 0:return s.trys.push([0,11,,12]),t.email&&e.email===t.email?[4,this.verifyOtp({type:"email_change",email:e.email,token:t.token,messageId:f.verification_id})]:[3,3];case 1:return s.sent(),[4,this.updateUserBasicInfo({email:e.email})];case 2:return s.sent(),[3,9];case 3:return t.phone&&e.phone===t.phone?[4,this.verifyOtp({type:"phone_change",phone:e.phone,token:t.token,messageId:f.verification_id})]:[3,6];case 4:return s.sent(),[4,this.updateUserBasicInfo({phone:this.formatPhone(e.phone)})];case 5:return s.sent(),[3,9];case 6:return[4,this.verifyOtp({type:l,email:i?e.email:undefined,phone:i?undefined:e.phone,token:t.token,messageId:f.verification_id})];case 7:return s.sent(),[4,this.updateUserBasicInfo(e)];case 8:s.sent(),s.label=9;case 9:return[4,this.getUser(!1)];case 10:return n=s.sent().data.user,null===(o=this.config.eventBus)||void 0===o||o.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.USER_UPDATED}),[2,{data:{user:n},error:null}];case 11:return r=s.sent(),[2,{data:{},error:new a.AuthError(r,{method:"updateUser"})}];case 12:return[2]}})})}},[3,6];case 4:return[4,this.updateUserBasicInfo(e)];case 5:b.sent(),b.label=6;case 6:return[4,this.getUser(!1)];case 7:return h=b.sent().data.user,null===(t=this.config.eventBus)||void 0===t||t.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.USER_UPDATED}),[2,{data:p({user:h},u),error:null}];case 8:return v=b.sent(),[2,{data:{},error:new a.AuthError(v,{method:"updateUser"})}];case 9:return[2]}})})},t.prototype.getUserIdentities=function(){var e;return m(this,void 0,void 0,function(){var t,n;return g(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.oauthInstance.authApi.getProviders()];case 1:return t=r.sent(),[2,{data:{identities:null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.filter(function(e){return!!e.bind})},error:null}];case 2:return n=r.sent(),[2,{data:{},error:new a.AuthError(n,{method:"getUserIdentities"})}];case 3:return[2]}})})},t.prototype.linkIdentity=function(e){return m(this,void 0,void 0,function(){var t;return g(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),this.validateParams(e,{provider:{required:!0,message:"Provider is required"}}),[4,this.signInWithOAuth({provider:e.provider,options:{type:a.OAUTH_TYPE.BIND_IDENTITY}})];case 1:return n.sent(),[2,{data:{provider:e.provider},error:null}];case 2:return t=n.sent(),[2,{data:{},error:new a.AuthError(t,{method:"linkIdentity"})}];case 3:return[2]}})})},t.prototype.unlinkIdentity=function(e){return m(this,void 0,void 0,function(){var t;return g(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),this.validateParams(e,{provider:{required:!0,message:"Provider is required"}}),[4,this.oauthInstance.authApi.unbindProvider({provider_id:e.provider})];case 1:return n.sent(),[2,{data:{},error:null}];case 2:return t=n.sent(),[2,{data:{},error:new a.AuthError(t,{method:"unlinkIdentity"})}];case 3:return[2]}})})},t.prototype.reauthenticate=function(){return m(this,void 0,void 0,function(){var e,t,n,r,o=this;return g(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),[4,this.getUser(!1)];case 1:return e=i.sent().data.user,this.validateAtLeastOne(e,[["email","phone"]],"You must provide either an email or phone number"),t=e.email?{email:e.email}:{phone_number:this.formatPhone(e.phone)},[4,this.getVerification(t)];case 2:return n=i.sent(),[2,{data:{updateUser:function(e){return m(o,void 0,void 0,function(){var r,o,i,s,u;return g(this,function(c){switch(c.label){case 0:this.validateParams(e,{nonce:{required:!0,message:"Nonce is required"}}),c.label=1;case 1:return c.trys.push([1,9,,10]),e.password?[4,this.verify({verification_id:n.verification_id,verification_code:e.nonce})]:[3,5];case 2:return r=c.sent(),[4,this.oauthInstance.authApi.sudo({verification_token:r.verification_token})];case 3:return o=c.sent(),[4,this.oauthInstance.authApi.setPassword({new_password:e.password,sudo_token:o.sudo_token})];case 4:return c.sent(),[3,7];case 5:return[4,this.signInWithUsername(p(p({verificationInfo:n,verificationCode:e.nonce},t),{loginType:t.email?"email":"phone"}))];case 6:c.sent(),c.label=7;case 7:return[4,this.getSession()];case 8:return i=c.sent().data,[2,{data:{user:(s=(void 0===i?{}:i).session).user,session:s},error:null}];case 9:return u=c.sent(),[2,{data:{},error:new a.AuthError(u,{method:"reauthenticate"})}];case 10:return[2]}})})}},error:null}];case 3:return r=i.sent(),[2,{data:{},error:new a.AuthError(r,{method:"reauthenticate"})}];case 4:return[2]}})})},t.prototype.resend=function(e){return m(this,void 0,void 0,function(){var t,n,r;return g(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),this.validateAtLeastOne(e,[["email"],["phone"]],"You must provide either an email or phone number"),t="signup"===e.type?"ANY":"USER",n={target:t},"email"in e&&(n.email=e.email),"phone"in e&&(n.phone_number=this.formatPhone(e.phone)),[4,this.oauthInstance.authApi.getVerification(n)];case 1:return[2,{data:{messageId:o.sent().verification_id},error:null}];case 2:return r=o.sent(),[2,{data:{},error:new a.AuthError(r,{method:"resend"})}];case 3:return[2]}})})},t.prototype.setSession=function(e){var t;return m(this,void 0,void 0,function(){var n,r,o;return g(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),this.validateParams(e,{access_token:{required:!0,message:"Access token is required"},refresh_token:{required:!0,message:"Refresh token is required"}}),[4,this.oauthInstance.oauth2client.refreshToken(e,{throwError:!0})];case 1:return i.sent(),[4,this.getSession()];case 2:return n=i.sent().data,r=(void 0===n?{}:n).session,null===(t=this.config.eventBus)||void 0===t||t.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.SIGNED_IN}),[2,{data:{user:r.user,session:r},error:null}];case 3:return o=i.sent(),[2,{data:{},error:new a.AuthError(o,{method:"setSession"})}];case 4:return[2]}})})},t.prototype.exchangeCodeForSession=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return[2]})})},t.prototype.deleteUser=function(e){return m(this,void 0,void 0,function(){var t,n;return g(this,function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),this.validateParams(e,{password:{required:!0,message:"Password is required"}}),[4,this.oauthInstance.authApi.sudo(e)];case 1:return t=r.sent().sudo_token,[4,this.oauthInstance.authApi.deleteMe({sudo_token:t})];case 2:return r.sent(),[2,{data:{},error:null}];case 3:return n=r.sent(),[2,{data:{},error:new a.AuthError(n,{method:"deleteUser"})}];case 4:return[2]}})})},t.prototype.toDefaultLoginPage=function(e){return void 0===e&&(e={}),m(this,void 0,void 0,function(){var t,n,r,o,i;return g(this,function(s){try{return t=e.config_version||"env",n=Object.keys(e.query||{}).map(function(t){return"".concat(t,"=").concat(e.query[t])}).join("&"),u.adapterForWxMp.isMatch()?wx.navigateTo({url:"/packages/$wd_system/pages/login/index".concat(n?"?".concat(n):"")}):(r=e.redirect_uri||window.location.href,o=new URL(r),i="".concat(o.origin,"/__auth/?app_id=").concat(e.app_id||"","&env_id=").concat(this.config.env,"&client_id=").concat(this.config.clientId||this.config.env,"&config_version=").concat(t,"&redirect_uri=").concat(encodeURIComponent(r)).concat(n?"&".concat(n):""),window.location.href=i),[2,{data:{},error:null}]}catch(c){return[2,{data:{},error:new a.AuthError(c,{method:"toDefaultLoginPage"})}]}})})},t.prototype.signInWithCustomTicket=function(e){return m(this,void 0,void 0,function(){var t,n,r,o;return g(this,function(i){switch(i.label){case 0:e&&this.setCustomSignFunc(e),i.label=1;case 1:return i.trys.push([1,5,,6]),[4,this.oauthInstance.authApi.signInWithCustomTicket()];case 2:return i.sent(),[4,this.createLoginState()];case 3:return t=i.sent(),[4,this.getSession()];case 4:return n=i.sent().data,r=(void 0===n?{}:n).session,[2,p(p({},t),{data:{user:r.user,session:r},error:null})];case 5:return o=i.sent(),[2,{data:{},error:new a.AuthError(o,{method:"signInWithCustomTicket"})}];case 6:return[2]}})})},t.prototype.signInWithOpenId=function(e){var t=(void 0===e?{}:e).useWxCloud,n=void 0===t||t;return m(this,void 0,void 0,function(){var e,t,r,o,i,s,c=this;return g(this,function(l){switch(l.label){case 0:if(!u.adapterForWxMp.isMatch())throw Error("wx api undefined");e=wx.getAccountInfoSync().miniProgram,t=function(t){return m(c,void 0,void 0,function(){var r,o;return g(this,function(i){switch(i.label){case 0:r=undefined,o=undefined,i.label=1;case 1:return i.trys.push([1,4,,5]),[4,this.oauthInstance.authApi.grantProviderToken({provider_id:null==e?void 0:e.appId,provider_code:t,provider_params:{provider_code_type:"open_id",appid:null==e?void 0:e.appId}},n)];case 2:if((null==(r=i.sent())?void 0:r.error_code)||!r.provider_token)throw r;return[4,this.oauthInstance.authApi.signInWithProvider({provider_token:r.provider_token},n)];case 3:if(null==(o=i.sent())?void 0:o.error_code)throw o;return[3,5];case 4:throw i.sent();case 5:return[4,this.oauthInstance.oauth2client.setCredentials(o)];case 6:return i.sent(),[2]}})})},l.label=1;case 1:return l.trys.push([1,5,,6]),[4,new Promise(function(e,n){wx.login({success:function(r){return m(c,void 0,void 0,function(){var o;return g(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,t(r.code)];case 1:return i.sent(),e(!0),[3,3];case 2:return o=i.sent(),n(o),[3,3];case 3:return[2]}})})},fail:function(e){var t=new Error(null==e?void 0:e.errMsg);t.code=null==e?void 0:e.errno,n(t)}})})];case 2:return l.sent(),[4,this.createLoginState()];case 3:return r=l.sent(),[4,this.getSession()];case 4:return o=l.sent().data,i=(void 0===o?{}:o).session,[2,p(p({},r),{data:{user:i.user,session:i},error:null})];case 5:return s=l.sent(),[2,{data:{},error:new a.AuthError(s,{method:"signInWithOpenId"})}];case 6:return[2]}})})},t.prototype.signInWithPhoneAuth=function(e){var t=e.phoneCode,n=void 0===t?"":t,r=e.useWxCloud,o=void 0!==r&&r;return m(this,void 0,void 0,function(){var e,t,r,i,s,c,l,d,f;return g(this,function(h){switch(h.label){case 0:return u.adapterForWxMp.isMatch()?(e=wx.getAccountInfoSync().miniProgram,t={provider_params:{provider_code_type:"phone",code:n,appid:e.appId},provider_id:e.appId},[4,wx.login()]):[2,{data:{},error:new a.AuthError({message:"wx api undefined"})}];case 1:r=h.sent().code,t.provider_code=r,h.label=2;case 2:return h.trys.push([2,5,,6]),[4,this.oauthInstance.authApi.grantProviderToken(t,o)];case 3:if((i=h.sent()).error_code)throw i;return[4,this.oauthInstance.authApi.signInWithProvider({provider_token:i.provider_token},o)];case 4:if(null==(s=h.sent())?void 0:s.error_code)throw s;return[3,6];case 5:return c=h.sent(),[2,{data:{},error:new a.AuthError(c,{method:"signInWithPhoneAuth"})}];case 6:return[4,this.createLoginState()];case 7:return l=h.sent(),[4,this.getSession()];case 8:return d=h.sent().data,f=(void 0===d?{}:d).session,[2,p(p({},l),{data:{user:f.user,session:f},error:null})]}})})},t.prototype.bindPhoneNumber=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.editContact(e)]})})},t.prototype.unbindProvider=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.unbindProvider(e)]})})},t.prototype.bindEmail=function(e){return this.oauthInstance.authApi.editContact(e)},t.prototype.verify=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.verify(e)]})})},t.prototype.getVerification=function(e,t){return m(this,void 0,void 0,function(){return g(this,function(n){return e.phone_number&&(e.phone_number=this.formatPhone(e.phone_number)),[2,this.oauthInstance.authApi.getVerification(e,t)]})})},Object.defineProperty(t.prototype,"currentUser",{get:function(){if("async"!==this.cache.mode){var e=this.hasLoginState();return e&&e.user||null}(0,u.printWarn)(u.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getCurrentUser instead")},enumerable:!1,configurable:!0}),t.prototype.getCurrentUser=function(e){return void 0===e&&(e=!0),m(this,void 0,void 0,function(){var t,n,r;return g(this,function(o){switch(o.label){case 0:return o.trys.push([0,4,,5]),e?[4,this.getLoginState()]:[3,3];case 1:return(t=o.sent())?[4,t.user.refresh()]:[3,3];case 2:o.sent(),o.label=3;case 3:return[3,5];case 4:return o.sent(),[3,5];case 5:return[4,this.getLoginState()];case 6:return(n=o.sent())?(r=n.user.getLocalUserInfo(),[4,n.user.checkLocalInfoAsync()]):[3,8];case 7:return o.sent(),[2,p(p({},n.user),r)];case 8:return[2,null]}})})},t.prototype.signInAnonymouslyInWx=function(e){var t=(void 0===e?{}:e).useWxCloud;return m(this,void 0,void 0,function(){var e,n,r=this;return g(this,function(o){switch(o.label){case 0:if(!u.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,n=function(n){return m(r,void 0,void 0,function(){var r,o;return g(this,function(i){switch(i.label){case 0:r=undefined,o=undefined,i.label=1;case 1:return i.trys.push([1,4,,5]),[4,this.oauthInstance.authApi.grantProviderToken({provider_id:null==e?void 0:e.appId,provider_code:n,provider_params:{provider_code_type:"open_id",appid:null==e?void 0:e.appId}},t)];case 2:if((null==(r=i.sent())?void 0:r.error_code)||!r.provider_token)throw r;return[4,this.oauthInstance.authApi.signInAnonymously({provider_token:r.provider_token},t)];case 3:if(null==(o=i.sent())?void 0:o.error_code)throw o;return[3,5];case 4:throw i.sent();case 5:return[2]}})})},[4,new Promise(function(e,t){wx.login({success:function(o){return m(r,void 0,void 0,function(){var r;return g(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,n(o.code)];case 1:return i.sent(),e(!0),[3,3];case 2:return r=i.sent(),t(r),[3,3];case 3:return[2]}})})},fail:function(e){var n=new Error(null==e?void 0:e.errMsg);n.code=null==e?void 0:e.errno,t(n)}})})];case 1:return o.sent(),[2,this.createLoginState(undefined,{asyncRefreshUser:!0})]}})})},t.prototype.bindOpenId=function(){return m(this,void 0,void 0,function(){var e,t,n=this;return g(this,function(r){switch(r.label){case 0:if(!u.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,t=function(t){return m(n,void 0,void 0,function(){var n;return g(this,function(r){switch(r.label){case 0:n=undefined,r.label=1;case 1:return r.trys.push([1,4,,5]),[4,this.oauthInstance.authApi.grantProviderToken({provider_id:null==e?void 0:e.appId,provider_code:t,provider_params:{provider_code_type:"open_id",appid:null==e?void 0:e.appId}})];case 2:if((null==(n=r.sent())?void 0:n.error_code)||!n.provider_token)throw n;return[4,this.oauthInstance.authApi.bindWithProvider({provider_token:n.provider_token})];case 3:return r.sent(),[3,5];case 4:throw r.sent();case 5:return[2]}})})},[4,new Promise(function(e,r){wx.login({success:function(o){return m(n,void 0,void 0,function(){var n;return g(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,t(o.code)];case 1:return i.sent(),e(!0),[3,3];case 2:return n=i.sent(),r(n),[3,3];case 3:return[2]}})})},fail:function(e){var t=new Error(null==e?void 0:e.errMsg);t.code=null==e?void 0:e.errno,r(t)}})})];case 1:return r.sent(),[2]}})})},t.prototype.signInWithUnionId=function(){return m(this,void 0,void 0,function(){var e=this;return g(this,function(t){switch(t.label){case 0:if(!u.adapterForWxMp.isMatch())throw Error("wx api undefined");t.label=1;case 1:return t.trys.push([1,3,,4]),[4,new Promise(function(t,n){var r=wx.getAccountInfoSync().miniProgram;wx.login({success:function(o){return m(e,void 0,void 0,function(){var e,i,a,s,u;return g(this,function(c){switch(c.label){case 0:e=null==r?void 0:r.appId,c.label=1;case 1:return c.trys.push([1,4,,5]),[4,this.oauthInstance.authApi.grantProviderToken({provider_code:o.code,provider_id:e,provider_params:{provider_code_type:"union_id",appid:null==r?void 0:r.appId}})];case 2:return i=c.sent(),(a=i.provider_token)?[4,this.oauthInstance.authApi.signInWithProvider({provider_id:e,provider_token:a})]:(n(i),[2]);case 3:return(null==(s=c.sent())?void 0:s.error_code)?(n(s),[2]):(t(!0),[3,5]);case 4:return u=c.sent(),n(u),[3,5];case 5:return[2]}})})},fail:function(e){var t=new Error(null==e?void 0:e.errMsg);t.code=null==e?void 0:e.errno,n(t)}})})];case 2:return t.sent(),[3,4];case 3:throw t.sent();case 4:return[2,this.createLoginState()]}})})},t.prototype.signInWithSms=function(e){var t=e.verificationInfo,n=void 0===t?{verification_id:"",is_user:!1}:t,r=e.verificationCode,o=void 0===r?"":r,i=e.phoneNum,a=void 0===i?"":i,s=e.bindInfo,u=void 0===s?undefined:s;return m(this,void 0,void 0,function(){return g(this,function(e){try{return[2,this.signInWithUsername({verificationInfo:n,verificationCode:o,bindInfo:u,username:a,loginType:"sms"})]}catch(t){throw t}})})},t.prototype.signInWithEmail=function(e){var t=e.verificationInfo,n=void 0===t?{verification_id:"",is_user:!1}:t,r=e.verificationCode,o=void 0===r?"":r,i=e.bindInfo,a=void 0===i?undefined:i,s=e.email,u=void 0===s?"":s;return m(this,void 0,void 0,function(){return g(this,function(e){try{return[2,this.signInWithUsername({verificationInfo:n,verificationCode:o,bindInfo:a,username:u,loginType:"email"})]}catch(t){throw t}})})},t.prototype.setCustomSignFunc=function(e){this.oauthInstance.authApi.setCustomSignFunc(e)},t.prototype.signIn=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signIn(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},t.prototype.setPassword=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.setPassword(e)]})})},t.prototype.isUsernameRegistered=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return"string"!=typeof e&&(0,u.throwError)(u.ERRORS.INVALID_PARAMS,"username must be a string"),[4,this.oauthInstance.authApi.checkIfUserExist({username:e})];case 1:return[2,t.sent().exist]}})})},t.prototype.hasLoginState=function(){var e;if("async"!==this.cache.mode)return(null===(e=this.oauthInstance)||void 0===e?void 0:e.authApi.hasLoginStateSync())?new E({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance}):null;(0,u.printWarn)(u.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getLoginState instead")},t.prototype.getLoginState=function(){return m(this,void 0,void 0,function(){var e;return g(this,function(t){switch(t.label){case 0:e=null,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.oauthInstance.authApi.getLoginState()];case 2:return e=t.sent(),[3,4];case 3:return t.sent(),[2,null];case 4:return e?[2,new E({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance})]:[2,null]}})})},t.prototype.getUserInfo=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return[2,this.getCurrentUser()]})})},t.prototype.getWedaUserInfo=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return[2,this.oauthInstance.authApi.getWedaUserInfo()]})})},t.prototype.updateUserBasicInfo=function(e){return m(this,void 0,void 0,function(){var t;return g(this,function(n){switch(n.label){case 0:return[4,this.getLoginState()];case 1:return(t=n.sent())?[4,t.user.updateUserBasicInfo(e)]:[3,3];case 2:n.sent(),n.label=3;case 3:return[2]}})})},t.prototype.getAuthHeader=function(){return console.error("Auth.getAuthHeader API 已废弃"),{}},t.prototype.bindWithProvider=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.bindWithProvider(e)]})})},t.prototype.queryUser=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.queryUserProfile(e)]})})},t.prototype.getAccessToken=function(){return m(this,void 0,void 0,function(){return g(this,function(e){switch(e.label){case 0:return[4,this.oauthInstance.oauth2client.getAccessToken()];case 1:return[2,{accessToken:e.sent(),env:this.config.env}]}})})},t.prototype.grantProviderToken=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.grantProviderToken(e)]})})},t.prototype.patchProviderToken=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.patchProviderToken(e)]})})},t.prototype.signInWithProvider=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signInWithProvider(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},t.prototype.signInWithWechat=function(e){return void 0===e&&(e={}),m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signInWithWechat(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},t.prototype.grantToken=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.grantToken(e)];case 1:return t.sent(),[2,this.createLoginState()]}})})},t.prototype.genProviderRedirectUri=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.genProviderRedirectUri(e)]})})},t.prototype.resetPassword=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.resetPassword(e)]})})},t.prototype.deviceAuthorize=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.deviceAuthorize(e)]})})},t.prototype.sudo=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.sudo(e)]})})},t.prototype.deleteMe=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.deleteMe(e)]})})},t.prototype.getProviders=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return[2,this.oauthInstance.authApi.getProviders()]})})},t.prototype.loginScope=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return[2,this.oauthInstance.authApi.loginScope()]})})},t.prototype.loginGroups=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return[2,this.oauthInstance.authApi.loginGroups()]})})},t.prototype.onLoginStateChanged=function(e){var t;return m(this,void 0,void 0,function(){var n,r=this;return g(this,function(o){switch(o.label){case 0:return null===(t=this.config.eventBus)||void 0===t||t.on(a.EVENTS.LOGIN_STATE_CHANGED,function(t){return m(r,void 0,void 0,function(){var n,r,o;return g(this,function(i){switch(i.label){case 0:return(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.eventType)===a.LOGIN_STATE_CHANGED_TYPE.CREDENTIALS_ERROR?[3,2]:[4,this.getLoginState()];case 1:return r=i.sent(),[3,3];case 2:r={},i.label=3;case 3:return n=r,e.call(this,p(p({},t),n)),[2]}})})}),[4,this.getLoginState()];case 1:return n=o.sent(),e.call(this,n),[2]}})})},t.prototype.refreshTokenForce=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.refreshTokenForce(e)]})})},t.prototype.getCredentials=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return[2,this.oauthInstance.authApi.getCredentials()]})})},t.prototype.setCredentials=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.oauth2client.setCredentials(e)];case 1:return t.sent(),[2]}})})},t.prototype.getProviderSubType=function(){return m(this,void 0,void 0,function(){return g(this,function(e){return[2,this.oauthInstance.authApi.getProviderSubType()]})})},t.prototype.createCaptchaData=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.createCaptchaData(e)]})})},t.prototype.verifyCaptchaData=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.verifyCaptchaData(e)]})})},t.prototype.getMiniProgramQrCode=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.getMiniProgramCode(e)]})})},t.prototype.getMiniProgramQrCodeStatus=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.getMiniProgramQrCodeStatus(e)]})})},t.prototype.modifyPassword=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.modifyPassword(e)]})})},t.prototype.modifyPasswordWithoutLogin=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.modifyPasswordWithoutLogin(e)]})})},t.prototype.getUserBehaviorLog=function(e){return m(this,void 0,void 0,function(){return g(this,function(t){return[2,this.oauthInstance.authApi.getUserBehaviorLog(e)]})})},t.prototype.signInWithUsername=function(e){var t=e.verificationInfo,n=void 0===t?{verification_id:"",is_user:!1}:t,r=e.verificationCode,o=void 0===r?"":r,i=e.username,a=void 0===i?"":i,s=e.bindInfo,u=void 0===s?undefined:s,c=e.loginType,l=void 0===c?"":c;return m(this,void 0,void 0,function(){var e,t,r,i,s,c,d;return g(this,function(f){switch(f.label){case 0:return f.trys.push([0,8,,9]),[4,this.oauthInstance.authApi.verify({verification_id:n.verification_id,verification_code:o})];case 1:if(null==(e=f.sent())?void 0:e.error_code)throw e;return t=e.verification_token,r=this.formatPhone(a),i={phone_number:r},"email"===l&&(i={email:r=a}),n.is_user?[4,this.oauthInstance.authApi.signIn({username:r,verification_token:t})]:[3,5];case 2:if(null==(s=f.sent())?void 0:s.error_code)throw s;return u?[4,this.oauthInstance.authApi.bindWithProvider({provider_token:null==u?void 0:u.providerToken})]:[3,4];case 3:if(null==(c=f.sent())?void 0:c.error_code)throw c;f.label=4;case 4:return[3,7];case 5:return[4,this.oauthInstance.authApi.signUp(p(p({},i),{verification_token:t,provider_token:null==u?void 0:u.providerId}))];case 6:if(null==(d=f.sent())?void 0:d.error_code)throw d;f.label=7;case 7:return[2,this.createLoginState()];case 8:throw f.sent();case 9:return[2]}})})},t.prototype.createLoginState=function(e,t){var n,r;return m(this,void 0,void 0,function(){var o;return g(this,function(i){switch(i.label){case 0:return[4,(o=new E({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance})).checkLocalStateAsync()];case 1:return i.sent(),(null==t?void 0:t.userInfo)?(o.user.setLocalUserInfo(t.userInfo),[3,5]):[3,2];case 2:return(null==t?void 0:t.asyncRefreshUser)?(o.user.refresh(e),[3,5]):[3,3];case 3:return[4,o.user.refresh(e)];case 4:i.sent(),i.label=5;case 5:return null===(n=this.config.eventBus)||void 0===n||n.fire(a.EVENTS.LOGIN_STATE_CHANGED,{eventType:a.LOGIN_STATE_CHANGED_TYPE.SIGN_IN}),null===(r=this.config.eventBus)||void 0===r||r.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.SIGNED_IN}),[2,o]}})})},t.prototype.setAccessKey=function(){var e,t;return m(this,void 0,void 0,function(){var n,r;return g(this,function(o){if(n="",r="",this.config.accessKey?(n=this.config.accessKey,r="accessKey"):(null===(e=this.config.auth)||void 0===e?void 0:e.secretId)&&(null===(t=this.config.auth)||void 0===t?void 0:t.secretKey)&&(n="",r=a.DEFAULT_NODE_ACCESS_SCOPE),!r)return[2];try{this.oauthInstance.oauth2client.setAccessKeyCredentials({access_token:n,token_type:"Bearer",scope:r,expires_at:new Date(+new Date+ +new Date),expires_in:+new Date+ +new Date})}catch(i){console.warn("accessKey error: ",i)}return[2]})})},t.prototype.formatPhone=function(e){return!/\s+/.test(e)&&/^\+\d{1,3}\d+/.test(e)?e.replace(/^(\+\d{1,2})(\d+)$/,"$1 $2"):/^\+\d{1,3}\s+/.test(e)?e:"+86 ".concat(e)},t.prototype.notifyListeners=function(e,t,n){this.listeners.forEach(function(r){r.forEach(function(r){try{r(e,t,n)}catch(o){console.error("Error in auth state change callback:",o)}})})},t.prototype.setupListeners=function(){var e,t=this;null===(e=this.config.eventBus)||void 0===e||e.on(a.EVENTS.AUTH_STATE_CHANGED,function(e){return m(t,void 0,void 0,function(){var t,n,r,o,i;return g(this,function(a){switch(a.label){case 0:return t=null===(o=null==e?void 0:e.data)||void 0===o?void 0:o.event,n=null===(i=null==e?void 0:e.data)||void 0===i?void 0:i.info,[4,this.getSession()];case 1:return r=a.sent().data.session,this.notifyListeners(t,r,n),[2]}})})})},t.prototype.convertToUser=function(e){var t,n,r,o,i;if(!e)return null;var a=(null==e?void 0:e.email)||"",s=(null==e?void 0:e.phone_number)||"",u=(null==e?void 0:e.sub)||(null==e?void 0:e.uid)||"";return{id:u,aud:"authenticated",role:null===(n=null===(t=e.groups)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,function(e){return"string"==typeof e?e:e.id}),email:a||"",email_confirmed_at:(null==e||e.email_verified,e.created_at),phone:s,phone_confirmed_at:s?e.created_at:undefined,confirmed_at:e.created_at,last_sign_in_at:e.last_sign_in_at,app_metadata:{provider:(null===(r=e.loginType)||void 0===r?void 0:r.toLowerCase())||"cloudbase",providers:[(null===(o=e.loginType)||void 0===o?void 0:o.toLowerCase())||"cloudbase"]},user_metadata:{name:null==e?void 0:e.name,picture:null==e?void 0:e.picture,username:null==e?void 0:e.username,gender:null==e?void 0:e.gender,locale:null==e?void 0:e.locale,uid:e.uid,nickName:e.nickName||(null==e?void 0:e.name),avatarUrl:e.avatarUrl||e.picture,location:e.location,hasPassword:e.hasPassword},identities:(null===(i=null==e?void 0:e.providers)||void 0===i?void 0:i.map(function(t){return{id:t.id||"",identity_id:t.id||"",user_id:u,identity_data:{provider_id:t.id,provider_user_id:t.provider_user_id,name:t.name},provider:t.id||"cloudbase",created_at:e.created_at,updated_at:e.updated_at,last_sign_in_at:e.last_sign_in_at}}))||[],created_at:e.created_at,updated_at:e.updated_at,is_anonymous:"anonymous"===e.name}},t.prototype.validateParams=function(e,t){for(var n=0,r=Object.entries(t);n<r.length;n++){var o=r[n],i=o[0],s=o[1];if(s.required&&((null==e?void 0:e[i])===undefined||null===(null==e?void 0:e[i])||""===(null==e?void 0:e[i])))throw new a.AuthError({message:s.message})}},t.prototype.validateAtLeastOne=function(e,t,n){if(!t.some(function(t){return t.some(function(t){return(null==e?void 0:e[t])!==undefined&&null!==(null==e?void 0:e[t])&&""!==(null==e?void 0:e[t])})}))throw new a.AuthError({message:n})},t.prototype.init=function(){var e;return m(this,void 0,void 0,function(){return g(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.oauthInstance.oauth2client.localCredentials.getCredentials()];case 1:return t.sent()&&(null===(e=this.config.eventBus)||void 0===e||e.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.INITIAL_SESSION})),[3,3];case 2:return t.sent(),[3,3];case 3:return[2,{error:null}]}})})},h([(0,u.catchErrorsDecorator)({title:"绑定手机号失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindPhoneNumber() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"bindPhoneNumber",null),h([(0,u.catchErrorsDecorator)({title:"解除三方绑定失败",messages:["请确认以下各项:"," 1 - 调用 auth().unbindProvider() 的语法或参数是否正确"," 2 - 当前账户是否已经与此登录方式解绑","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"unbindProvider",null),h([(0,u.catchErrorsDecorator)({title:"绑定邮箱地址失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindEmail() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",void 0)],t.prototype,"bindEmail",null),h([(0,u.catchErrorsDecorator)({title:"验证码验证失败",messages:["请确认以下各项:"," 1 - 调用 auth().verify() 的语法或参数是否正确"," 2 - 当前环境是否开通了手机验证码/邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"verify",null),h([(0,u.catchErrorsDecorator)({title:"获取验证码失败",messages:["请确认以下各项:"," 1 - 调用 auth().getVerification() 的语法或参数是否正确"," 2 - 当前环境是否开通了手机验证码/邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object,Object]),v("design:returntype",Promise)],t.prototype,"getVerification",null),h([(0,u.catchErrorsDecorator)({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 调用 auth().getCurrentUser() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"getCurrentUser",null),h([(0,u.catchErrorsDecorator)({title:"小程序匿名登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了匿名登录"," 2 - 调用 auth().signInAnonymouslyInWx() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"signInAnonymouslyInWx",null),h([(0,u.catchErrorsDecorator)({title:"小程序绑定OpenID失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序openId静默登录"," 2 - 调用 auth().bindOpenId() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[]),v("design:returntype",Promise)],t.prototype,"bindOpenId",null),h([(0,u.catchErrorsDecorator)({title:"小程序unionId静默登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序unionId静默登录"," 2 - 调用 auth().signInWithUnionId() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[]),v("design:returntype",Promise)],t.prototype,"signInWithUnionId",null),h([(0,u.catchErrorsDecorator)({title:"短信验证码登陆",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序短信验证码登陆"," 2 - 调用 auth().signInWithSms() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"signInWithSms",null),h([(0,u.catchErrorsDecorator)({title:"邮箱验证码登陆",messages:["请确认以下各项:"," 1 - 当前环境是否开启了邮箱登陆"," 2 - 调用 auth().signInWithEmail() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"signInWithEmail",null),h([(0,u.catchErrorsDecorator)({title:"获取用户是否被占用失败",messages:["请确认以下各项:"," 1 - 调用 auth().isUsernameRegistered() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[String]),v("design:returntype",Promise)],t.prototype,"isUsernameRegistered",null),h([(0,u.catchErrorsDecorator)({title:"获取本地登录态失败",messages:["请确认以下各项:"," 1 - 调用 auth().getLoginState() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[]),v("design:returntype",Promise)],t.prototype,"getLoginState",null),h([(0,u.catchErrorsDecorator)({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 是否已登录"," 2 - 调用 auth().getUserInfo() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[]),v("design:returntype",Promise)],t.prototype,"getUserInfo",null),h([(0,u.catchErrorsDecorator)({title:"获取微搭插件用户信息失败",messages:["请确认以下各项:"," 1 - 是否已登录"," 2 - 调用 auth().getWedaUserInfo() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[]),v("design:returntype",Promise)],t.prototype,"getWedaUserInfo",null),h([(0,u.catchErrorsDecorator)({title:"绑定第三方登录方式失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindWithProvider() 的语法或参数是否正确"," 2 - 此账户是否已经绑定此第三方","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"bindWithProvider",null),h([(0,u.catchErrorsDecorator)({title:"获取身份源类型",messages:["请确认以下各项:"," 1 - 调用 auth().getProviderSubType() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(u.COMMUNITY_SITE_URL)]}),v("design:type",Function),v("design:paramtypes",[]),v("design:returntype",Promise)],t.prototype,"getProviderSubType",null),t}(l.AuthV1Compat);function A(e,t){var n,r,o,i,c=this,l=e.region,d=void 0===l?"ap-shanghai":l,f=e.i18n,h=e.accessKey,v=e.useWxCloud,_=(null==t?void 0:t.platform)||u.useDefaultAdapter.bind(t)(),y=_.runtime,w=_.adapter,E=t||{},A=E.env,C=E.clientId,I=E.debug,S=E.cache,O=E.app,x=(t||{}).apiOrigin;x||(x="https://".concat(A,".").concat(d,".tcb-api.tencentcloudapi.com"));var T={env:A,clientId:C,i18n:f,accessKey:h,useWxCloud:v,eventBus:new u.CloudbaseEventEmitter},D=new a.CloudbaseOAuth((0,s.useAuthAdapter)(p(p({},T),{apiOrigin:x,apiPath:(null==e?void 0:e.apiPath)||a.AUTH_API_PREFIX,storage:null==e?void 0:e.storage,baseRequest:null==e?void 0:e.baseRequest,request:null==e?void 0:e.request,anonymousSignInFunc:null==e?void 0:e.anonymousSignInFunc,captchaOptions:null==e?void 0:e.captchaOptions,wxCloud:null==e?void 0:e.wxCloud,adapter:w,onCredentialsError:b(T.eventBus),headers:p({"X-SDK-Version":"@cloudbase/js-sdk/".concat(e.sdkVersion)},e.headers||{}),detectSessionInUrl:e.detectSessionInUrl,debug:I,auth:null===(r=null===(n=t.app)||void 0===n?void 0:n.config)||void 0===r?void 0:r.auth}))),P=new k(p(p({},T),{region:d,persistence:e.persistence,debug:I,cache:S||new u.CloudbaseCache({persistence:e.persistence,keys:{userInfoKey:"user_info_".concat(A)},platformInfo:_}),runtime:y||"web",_fromApp:O,oauthInstance:D,auth:null===(i=null===(o=t.app)||void 0===o?void 0:o.config)||void 0===i?void 0:i.auth}));return D.initializeSession(function(e,t){return m(c,void 0,void 0,function(){return g(this,function(n){return e?(e.type===a.OAUTH_TYPE.SIGN_IN?t?T.eventBus.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.SIGNED_IN,info:p(p({},e),{error:t})}):e.user&&P.createLoginState({},{userInfo:e.user}):e.type===a.OAUTH_TYPE.BIND_IDENTITY&&T.eventBus.fire(a.EVENTS.AUTH_STATE_CHANGED,{event:a.AUTH_STATE_CHANGED_TYPE.BIND_IDENTITY,info:p(p({},e),{error:t})}),[2]):[2]})})}),{authInstance:P,oauthInstance:D}}var C="auth";function I(e,t){for(var n=[],r=0;r<=e.length;r++)n[r]=[r];for(var o=0;o<=t.length;o++)n[0][o]=o;for(r=1;r<=e.length;r++)for(o=1;o<=t.length;o++){var i=e[r-1].toLowerCase()===t[o-1].toLowerCase()?0:1;n[r][o]=Math.min(n[r-1][o]+1,n[r][o-1]+1,n[r-1][o-1]+i)}return n[e.length][t.length]}var S={name:"auth",namespace:C,entity:function(e){var t=function(e){var t;if(this.authInstance&&!e)return this.authInstance;e=e||{region:"",persistence:"local",apiPath:a.AUTH_API_PREFIX};var n=this.platform.adapter,r=e.persistence||n.primaryStorage;r&&r!==this.config.persistence&&this.updateConfig({persistence:r});var o=A(p(p({wxCloud:this.config.wxCloud,storage:this.config.storage},e),{persistence:this.config.persistence,i18n:this.config.i18n,accessKey:this.config.accessKey,useWxCloud:this.config.useWxCloud,sdkVersion:this.version,detectSessionInUrl:null===(t=this.config.auth)||void 0===t?void 0:t.detectSessionInUrl}),{env:this.config.env,clientId:this.config.clientId,apiOrigin:this.request.getBaseEndPoint(this.config.endPointMode||"CLOUD_API"),platform:this.platform,cache:this.cache,app:this,debug:this.config.debug}),i=o.authInstance,s=o.oauthInstance;return this.oauthInstance=s,this.authInstance=i,this.authInstance},n=t.call(this,e);Object.assign(t,n),Object.setPrototypeOf(t,Object.getPrototypeOf(n));var r="undefined"!=typeof Proxy?new Proxy(t,{get:function(e,t,n){var r=Reflect.get(e,t,n);if(r!==undefined||"string"!=typeof t)return r;var o=function(e,t){for(var n=null,r=Infinity,o=0,i=t;o<i.length;o++){var a=i[o];if(!a.startsWith("_")&&"constructor"!==a){var s=I(e,a);s<r&&(r=s,n=a)}}return n}(t,Object.getOwnPropertyNames(Object.getPrototypeOf(e)).concat(Object.keys(e)).filter(function(t){return"function"==typeof e[t]}));return o&&console.warn("[CloudBase Auth] auth.".concat(t," is not a function. Did you mean: auth.").concat(o,"() ?")),r}}):t;return this[C]=r,r}};try{cloudbase.registerComponent(S)}catch(O){}},486:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"COMMUNITY_SITE_URL",{enumerable:!0,get:function(){return i.COMMUNITY_SITE_URL}}),Object.defineProperty(t,"CloudbaseCache",{enumerable:!0,get:function(){return u.CloudbaseCache}}),Object.defineProperty(t,"CloudbaseEventEmitter",{enumerable:!0,get:function(){return s.CloudbaseEventEmitter}}),Object.defineProperty(t,"ERRORS",{enumerable:!0,get:function(){return i.ERRORS}}),Object.defineProperty(t,"adapterForWxMp",{enumerable:!0,get:function(){return c["default"]}}),Object.defineProperty(t,"catchErrorsDecorator",{enumerable:!0,get:function(){return a.catchErrorsDecorator}}),Object.defineProperty(t,"printWarn",{enumerable:!0,get:function(){return o.printWarn}}),Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return o.throwError}}),Object.defineProperty(t,"useDefaultAdapter",{enumerable:!0,get:function(){return l.useDefaultAdapter}});var o=n(4442),i=n(7281),a=n(9325),s=n(4947),u=n(7174),c=r(n(3007)),l=n(3496)},6067:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addUrlSearch=function(e,t){if(e!==undefined){var n=new URL(window.location.href);return n.search=e,n.hash=t||n.hash,window.history.replaceState({},"",n.href),n.href}},t.getBrowserSession=function(e){try{return JSON.parse(sessionStorage.getItem(e))}catch(t){return console.error("Failed to get browser session:",t),null}},t.removeBrowserSession=function(e){try{return sessionStorage.removeItem(e),!0}catch(t){return console.error("Failed to remove browser session:",t),null}},t.removeUrlParams=function(e){if("undefined"!=typeof window)try{var t=new URL(window.location.href);e.forEach(function(e){t.searchParams["delete"](e)}),window.history.replaceState({},"",t.href)}catch(n){console.error("Failed to remove URL params:",n)}},t.saveToBrowserSession=function(e,t){try{sessionStorage.setItem(e,JSON.stringify(t))}catch(n){console.error("Failed to save to browser session:",n)}}},348:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WeixinAuthProvider=t.CustomAuthProvider=t.AuthV1Compat=t.AnonymousAuthProvider=void 0,t.applyUserV1Compat=function(e){e.prototype.linkWithTicket=function(e){return a(this,void 0,void 0,function(){return s(this,function(e){throw new Error("[v1 兼容] User.linkWithTicket() 在当前版本中无法实现。 建议使用 auth.signInWithCustomTicket(() => Promise.resolve(ticket)) 替代。")})})},e.prototype.linkWithRedirect=function(e){throw new Error("[v1 兼容] User.linkWithRedirect() 在当前版本中无法实现。 建议使用 auth.linkIdentity({ provider: 'providerId' }) 替代。")},e.prototype.updateEmail=function(e,t){return a(this,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return"string"!=typeof e&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"newEmail must be a string"),[4,this.updateUserBasicInfo({email:e})];case 1:return t.sent(),[2]}})})},e.prototype.linkWithPhoneNumber=function(e,t){return a(this,void 0,void 0,function(){return s(this,function(e){throw new Error("[v1 兼容] User.linkWithPhoneNumber() 在当前版本中无法实现。 建议使用 auth.bindPhoneNumber({ phone_number, verification_token, sudo_token }) 替代。")})})},e.prototype.updatePhoneNumber=function(e,t){return a(this,void 0,void 0,function(){return s(this,function(e){throw new Error("[v1 兼容] User.updatePhoneNumber() 在当前版本中无法实现。 建议使用 auth.updateUser({ phone: newPhoneNumber }) 替代。")})})},e.prototype.unlink=function(e){return a(this,void 0,void 0,function(){return s(this,function(e){throw new Error("[v1 兼容] User.unlink() 在当前版本中无法实现。 建议使用 auth.unlinkIdentity({ provider: loginType }) 替代。")})})}};var r=n(2191),o=n(486),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},a=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},u=t.WeixinAuthProvider=function(){function e(e){}return e.prototype.signInWithRedirect=function(){throw new Error("[v1 兼容] WeixinAuthProvider.signInWithRedirect() 在当前版本中无法实现。 建议使用 auth.signInWithOAuth({ provider: 'providerId' }) 替代。")},e.prototype.getRedirectResult=function(e){return a(this,void 0,void 0,function(){return s(this,function(e){throw new Error("[v1 兼容] WeixinAuthProvider.getRedirectResult() 在当前版本中无法实现。 建议使用 auth.verifyOAuth({ code, state, provider }) 替代。")})})},e.prototype.getLinkRedirectResult=function(e){return a(this,void 0,void 0,function(){return s(this,function(e){throw new Error("[v1 兼容] WeixinAuthProvider.getLinkRedirectResult() 在当前版本中无法实现。 建议使用 auth.linkIdentity({ provider: 'providerId' }) 替代。")})})},e}(),c=t.CustomAuthProvider=function(){function e(e){this.authInstance=e.authInstance}return e.prototype.signIn=function(e){return a(this,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return[4,this.authInstance.signInWithCustomTicket(function(){return Promise.resolve(e)})];case 1:return t.sent(),[2]}})})},e}(),l=t.AnonymousAuthProvider=function(){function e(e){this.authInstance=e.authInstance}return e.prototype.signIn=function(){return a(this,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return[4,this.authInstance.signInAnonymously({})];case 1:return e.sent(),[2]}})})},e}();t.AuthV1Compat=function(){function e(){}return e.prototype.weixinAuthProvider=function(e){return new u({authInstance:this,appid:e.appid,scope:e.scope})},e.prototype.customAuthProvider=function(){return new c({authInstance:this})},e.prototype.anonymousAuthProvider=function(){return new l({authInstance:this})},e.prototype.signUpWithEmailAndPassword=function(e,t){return a(this,void 0,void 0,function(){return s(this,function(n){switch(n.label){case 0:return"string"!=typeof e&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"email must be a string"),"string"!=typeof t&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"password must be a string"),[4,this.signUp({email:e,password:t})];case 1:return[2,n.sent()]}})})},e.prototype.signInWithEmailAndPassword=function(e,t){return a(this,void 0,void 0,function(){return s(this,function(n){switch(n.label){case 0:return"string"!=typeof e&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"email must be a string"),"string"!=typeof t&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"password must be a string"),[4,this.signIn({username:e,password:t})];case 1:return n.sent(),[2,this.createLoginState()]}})})},e.prototype.sendPasswordResetEmail=function(e){return a(this,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return"string"!=typeof e&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"email must be a string"),[4,this.getVerification({email:e})];case 1:return t.sent(),[2]}})})},e.prototype.signInWithUsernameAndPassword=function(e,t){return a(this,void 0,void 0,function(){return s(this,function(n){switch(n.label){case 0:return"string"!=typeof e&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"username must be a string"),"string"!=typeof t&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"password must be a string"),[4,this.signIn({username:e,password:t})];case 1:return n.sent(),[2,this.createLoginState()]}})})},e.prototype.sendPhoneCode=function(e){return a(this,void 0,void 0,function(){var t;return s(this,function(n){switch(n.label){case 0:return"string"!=typeof e&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"phoneNumber must be a string"),t=this.formatPhone(e),[4,this.getVerification({phone_number:t})];case 1:return n.sent(),[2,!0]}})})},e.prototype.signUpWithPhoneCode=function(e,t,n){return a(this,void 0,void 0,function(){var r;return s(this,function(a){switch(a.label){case 0:return"string"!=typeof e&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"phoneNumber must be a string"),"string"!=typeof t&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"phoneCode must be a string"),r=this.formatPhone(e),[4,this.signUp(i({phone_number:r,verification_code:t},n?{password:n}:{}))];case 1:return a.sent(),[2,this.createLoginState()]}})})},e.prototype.signInWithPhoneCodeOrPassword=function(e){return a(this,void 0,void 0,function(){var t,n,r,i;return s(this,function(a){switch(a.label){case 0:return t=e.phoneNumber,n=e.phoneCode,r=e.password,"string"!=typeof t&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"phoneNumber must be a string"),i=this.formatPhone(t),r?[4,this.signIn({username:i,password:r})]:[3,2];case 1:return a.sent(),[3,5];case 2:return n?[4,this.signIn({username:i,verification_token:n})]:[3,4];case 3:return a.sent(),[3,5];case 4:(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"phoneCode or password must be provided"),a.label=5;case 5:return[2,this.createLoginState()]}})})},e.prototype.forceResetPwdByPhoneCode=function(e){return a(this,void 0,void 0,function(){var t,n,r,i;return s(this,function(a){switch(a.label){case 0:return t=e.phoneNumber,n=e.phoneCode,r=e.password,"string"!=typeof t&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"phoneNumber must be a string"),"string"!=typeof n&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"phoneCode must be a string"),"string"!=typeof r&&(0,o.throwError)(o.ERRORS.INVALID_PARAMS,"password must be a string"),i=this.formatPhone(t),[4,this.resetPassword({phone_number:i,new_password:r,verification_token:n})];case 1:return a.sent(),[4,this.signIn({username:i,password:r})];case 2:return a.sent(),[2,this.createLoginState()]}})})},e.prototype.shouldRefreshAccessToken=function(e){throw new Error("[v1 兼容] shouldRefreshAccessToken() 在当前版本中无法实现。 建议使用 auth.onAuthStateChange(callback) 来监听 TOKEN_REFRESHED 事件替代。")},e.prototype.onLoginStateExpired=function(e){var t=this;this.onLoginStateChanged(function(n){(null==n?void 0:n.eventType)===r.LOGIN_STATE_CHANGED_TYPE.CREDENTIALS_ERROR&&e.call(t)})},e.prototype.onAccessTokenRefreshed=function(e){var t=this;this.onAuthStateChange(function(n){n===r.AUTH_STATE_CHANGED_TYPE.TOKEN_REFRESHED&&e.call(t)})},e.prototype.onAnonymousConverted=function(e){var t=this;this.onAuthStateChange(function(n){n===r.AUTH_STATE_CHANGED_TYPE.SIGNED_IN&&e.call(t)})},e.prototype.onLoginTypeChanged=function(e){var t=this;this.onAuthStateChange(function(n){n!==r.AUTH_STATE_CHANGED_TYPE.SIGNED_IN&&n!==r.AUTH_STATE_CHANGED_TYPE.SIGNED_OUT||e.call(t)})},e}()},1330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerCloudrun=f,t.requestContainer=c;var r=n(3882),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},s=r.constants.ERRORS,u="cloudrun";function c(e,t){var n;return i(this,void 0,void 0,function(){var r,i,s,u,c,l,d,f,p,h,v,m,g,_,y;return a(this,function(a){switch(a.label){case 0:if(r=e.name,i=e.data,s=e.path,u=void 0===s?"":s,c=e.method,l=e.header,d=void 0===l?{}:l,f=this.getEndPointWithKey("GATEWAY"),p=f.BASE_URL,h=f.PROTOCOL,v="".concat(h).concat(p,"/cloudrun/").concat(r),m=u.startsWith("/")?u:"/".concat(u),g=["GET","HEAD"].includes(null===(n=null==c?void 0:c.toUpperCase)||void 0===n?void 0:n.call(c)))try{_={};try{_=JSON.parse(i)}catch(b){_=i||{}}m="".concat(m).concat(m.includes("?")?"&":"?").concat(Object.keys(_).map(function(e){return"".concat(e,"=").concat(_[e])}).join("&"))}catch(b){}return[4,this.request.fetch(o(o({method:c||"POST",headers:Object.assign({},{"Content-Type":"application/json; charset=utf-8"},d)},g?{}:{body:i}),{url:"".concat(v).concat(m),customReqOpts:t}))];case 1:return y=a.sent(),"node-sdk"===(null==t?void 0:t.from)?[2,y]:[4,y.data];case 2:return[2,a.sent()]}})})}var l=new(function(){function e(){}return e.prototype.callContainer=function(e,t){return i(this,void 0,void 0,function(){var n,r,i;return a(this,function(a){switch(a.label){case 0:if(n=e.name,r=e.data,!n)throw new Error(JSON.stringify({code:s.INVALID_PARAMS,msg:"[".concat(u,".callContainer] invalid name")}));try{i=r?JSON.stringify(r):""}catch(l){throw new Error(JSON.stringify({code:s.INVALID_PARAMS,msg:"[".concat(u,".callContainer] invalid data")}))}return[4,c.call(this,o(o({},e),{data:i}),t)];case 1:return[2,a.sent()]}})})},e}()),d={name:u,entity:{callContainer:l.callContainer}};try{cloudbase.registerComponent(d)}catch(p){}function f(e){try{e.registerComponent(d)}catch(p){console.warn(p)}}try{window.registerCloudrun=f}catch(p){}},5293:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.registerFunctions=function(e){try{e.registerComponent(y)}catch(t){console.warn(t)}};var o=r(n(9367)),i=n(3882),a=n(1330),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)},u=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},c=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},d=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},f=i.constants.getSdkName,p=i.constants.ERRORS,h=i.constants.COMMUNITY_SITE_URL,v=i.utils.execCallback,m=i.helpers.catchErrorsDecorator,g="functions",_=new(function(){function e(){}return e.prototype.callFunction=function(e,t,n){var r,o,u;return l(this,void 0,void 0,function(){var c,l,h,m,_,y,b,w,E,k,A,C,I,S,O,x,T,D,P,N,R,M;return d(this,function(d){switch(d.label){case 0:if(c=e.name,l=e.data,h=e.query,m=e.parse,_=e.search,y=e.type,b=e.path,w=void 0===b?"":b,E=e.method,k=e.header,A=void 0===k?{}:k,!c)throw new Error(JSON.stringify({code:p.INVALID_PARAMS,msg:"[".concat(g,".callFunction] invalid function name")}));try{C=l?JSON.stringify(l):""}catch(L){throw new Error(JSON.stringify({code:p.INVALID_PARAMS,msg:"[".concat(g,".callFunction] invalid data")}))}return"cloudrun"!==y?[3,2]:(I=i.utils.generateRequestId(),[4,a.requestContainer.call(this,{name:c,data:C,path:w,method:E,header:s(s({},A),{"X-Request-Id":I})})]);case 1:return[2,{result:R=d.sent(),requestId:I}];case 2:O=(S=this).request,x=S.config,T="functions.invokeFunction",D={inQuery:h,parse:m,search:_,function_name:c,request_data:C},P={},d.label=3;case 3:return d.trys.push([3,8,,9]),"GATEWAY"!==x.endPointMode?[3,5]:[4,O.gateWay(s(s({},e),{path:"functions"}),n)];case 4:return N=d.sent(),P=s({requestId:N.requestId},(null===(r=N.data)||void 0===r?void 0:r.code)?N.data:{data:{response_data:N.data}}),[3,7];case 5:return[4,O.send(T,D,{defaultQuery:(null===(o=null==l?void 0:l.params)||void 0===o?void 0:o.action)?{action:null===(u=null==l?void 0:l.params)||void 0===u?void 0:u.action}:{}},n)];case 6:P=d.sent(),d.label=7;case 7:if(P.code)return[2,v(t,null,P)];if(R=P.data.response_data,m||"GATEWAY"===x.endPointMode)return[2,v(t,null,{result:R,requestId:P.requestId})];try{return R=JSON.parse(P.data.response_data),[2,v(t,null,{result:R,requestId:P.requestId})]}catch(L){v(t,new Error("[".concat(f(),"][").concat(p.INVALID_PARAMS,"][").concat(g,".callFunction] response data must be json")))}return[3,9];case 8:return M=d.sent(),v(t,M),[3,9];case 9:return[2]}})})},u([m({customInfo:{className:"Cloudbase",methodName:"callFunction"},title:"函数调用失败",messages:["请确认以下各项:"," 1 - 调用 callFunction() 的语法或参数是否正确"," 2 - 当前环境下是否存在此函数"," 3 - 函数安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(h)]}),c("design:type",Function),c("design:paramtypes",[Object,Function,Object]),c("design:returntype",Promise)],e.prototype,"callFunction",null),e}()),y={name:g,entity:{callFunction:_.callFunction}};try{cloudbase.registerComponent(y)}catch(b){}},9459:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(n(2809)),i=r(n(2622));o["default"].registerVersion(i["default"].version);try{window.cloudbase=o["default"]}catch(a){}t["default"]=o["default"]},9744:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerAuth=void 0;var r=n(3442),o=t.registerAuth=r.registerAuth;try{window.registerAuth=o}catch(i){}},7441:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerFunctions=void 0;var r=n(5293),o=t.registerFunctions=r.registerFunctions;try{window.registerFunctions=o}catch(i){}},5417:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerStorage=void 0;var r=n(1930);t.registerStorage=r.registerStorage},3421:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Auth=void 0;var o=r(n(3972)),i=r(n(479)),a=r(n(3852)),s=r(n(8850)),u=r(n(1332)),c=r(n(4964)),l=n(4256),d=n(9502),f=n(8028),p=n(3721),h=r(n(3186)),v=n(9549),m=["provider_redirect_uri","other_params"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,a["default"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e,t){return b.apply(this,arguments)}function b(){return b=(0,c["default"])(i["default"].mark(function e(t,r){var o,a;return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=function(){var e=(0,c["default"])(i["default"].mark(function t(){var e,r;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=n(5144),t.abrupt("return",e);case 5:return t.prev=5,t.t0=t["catch"](0),t.prev=7,t.next=10,Promise.resolve().then(n.bind(n,5144));case 10:return r=t.sent,t.abrupt("return",r);case 14:return t.prev=14,t.t1=t["catch"](7),t.abrupt("return");case 17:case"end":return t.stop()}},t,null,[[0,5],[7,14]])}));return function(){return e.apply(this,arguments)}}(),e.prev=1,!((null==r||null===(a=r.root)||void 0===a?void 0:a.globalThis)||globalThis).IS_MP_BUILD){e.next=4;break}return e.abrupt("return");case 4:if(process.env.IS_MP_BUILD||!t){e.next=6;break}return e.abrupt("return",o());case 6:e.next=12;break;case 8:if(e.prev=8,e.t0=e["catch"](1),!t){e.next=12;break}return e.abrupt("return",o());case 12:case"end":return e.stop()}},e,null,[[1,8]])})),b.apply(this,arguments)}t.Auth=function(){function e(t){(0,s["default"])(this,e);var n=t.request,r=t.credentialsClient;if(!r){var o={apiOrigin:t.apiOrigin,apiPath:t.apiPath,clientId:t.clientId,storage:t.storage,env:t.env,baseRequest:t.baseRequest,anonymousSignInFunc:t.anonymousSignInFunc,wxCloud:t.wxCloud,onCredentialsError:t.onCredentialsError,headers:t.headers||{},i18n:t.i18n,debug:t.debug};r=new d.OAuth2Client(o)}if(!n){var i=r.request.bind(r),a=new f.Captcha(_({env:t.env,clientId:t.clientId,request:i,storage:t.storage,adapter:t.adapter,oauthInstance:this},t.captchaOptions));n=a.request.bind(a)}this.config={env:t.env,apiOrigin:t.apiOrigin,apiPath:t.apiPath,clientId:t.clientId,request:n,credentialsClient:r,storage:t.storage||d.defaultStorage,adapter:t.adapter}}var t,n,r,a,g,b,w,E,k,A,C,I,S,O,x,T,D,P,N,R,M,L,F,U,j,B,G,$,q,H,z,W,V,Y,K,X,Q,J,Z,ee,te,ne,re,oe,ie,ae,se,ue,ce,le,de,fe,pe,he,ve,me,ge,_e,ye;return(0,u["default"])(e,[{key:"getParamsByVersion",value:function(e,t){var n,r=(0,p.deepClone)(e),o=(null===(n={v2:l.ApiUrlsV2}[null==r?void 0:r.version])||void 0===n?void 0:n[t])||l.ApiUrls[t];return r&&delete r.version,{params:r,url:o}}},{key:"signIn",value:(ye=(0,c["default"])(i["default"].mark(function be(e){var t,n,r,o;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.version||"v1",(n=this.getParamsByVersion(e,"AUTH_SIGN_IN_URL")).params.query&&delete n.params.query,i.next=5,this.getEncryptParams(n.params);case 5:return r=i.sent,i.next=8,this.config.request(n.url,{method:"POST",body:r});case 8:return o=i.sent,i.next=11,this.config.credentialsClient.setCredentials(_(_({},o),{},{version:t}));case 11:return i.abrupt("return",Promise.resolve(o));case 12:case"end":return i.stop()}},be,this)})),function(e){return ye.apply(this,arguments)})},{key:"signInAnonymously",value:(_e=(0,c["default"])(i["default"].mark(function we(){var e,t,n,r=arguments;return i["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return e=r.length>0&&r[0]!==undefined?r[0]:{},t=r.length>1&&r[1]!==undefined&&r[1],o.next=4,this.config.request(l.ApiUrls.AUTH_SIGN_IN_ANONYMOUSLY_URL,{method:"POST",body:e,useWxCloud:t});case 4:return n=o.sent,o.next=7,this.config.credentialsClient.setCredentials(n);case 7:return o.abrupt("return",Promise.resolve(n));case 8:case"end":return o.stop()}},we,this)})),function(){return _e.apply(this,arguments)})},{key:"signUp",value:(ge=(0,c["default"])(i["default"].mark(function Ee(e){var t;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.config.request(l.ApiUrls.AUTH_SIGN_UP_URL,{method:"POST",body:e});case 2:return t=n.sent,n.next=5,this.config.credentialsClient.setCredentials(t);case 5:return n.abrupt("return",Promise.resolve(t));case 6:case"end":return n.stop()}},Ee,this)})),function(e){return ge.apply(this,arguments)})},{key:"signOut",value:(me=(0,c["default"])(i["default"].mark(function ke(e){var t,n,r;return i["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(t={},!e){o.next=14;break}return o.prev=2,o.next=5,this.config.request(l.ApiUrls.AUTH_SIGNOUT_URL,{method:"POST",withCredentials:!0,body:e});case 5:t=o.sent,o.next=11;break;case 8:o.prev=8,o.t0=o["catch"](2),o.t0.error!==l.ErrorType.UNAUTHENTICATED&&console.log("sign_out_error",o.t0);case 11:return o.next=13,this.config.credentialsClient.setCredentials();case 13:return o.abrupt("return",t);case 14:return o.next=16,this.config.credentialsClient.getAccessToken();case 16:return n=o.sent,o.next=19,this.config.request(l.ApiUrls.AUTH_REVOKE_URL,{method:"POST",body:{token:n}});case 19:return r=o.sent,o.next=22,this.config.credentialsClient.setCredentials();case 22:return o.abrupt("return",Promise.resolve(r));case 23:case"end":return o.stop()}},ke,this,[[2,8]])})),function(e){return me.apply(this,arguments)})},{key:"revokeAllDevices",value:(ve=(0,c["default"])(i["default"].mark(function Ae(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.config.request(l.ApiUrls.AUTH_REVOKE_ALL_URL,{method:"DELETE",withCredentials:!0});case 2:case"end":return e.stop()}},Ae,this)})),function(){return ve.apply(this,arguments)})},{key:"revokeDevice",value:(he=(0,c["default"])(i["default"].mark(function Ce(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.config.request(l.ApiUrls.AUTHORIZED_DEVICES_DELETE_URL+e.device_id,{method:"DELETE",withCredentials:!0});case 2:case"end":return t.stop()}},Ce,this)})),function(e){return he.apply(this,arguments)})},{key:"getVerification",value:(pe=(0,c["default"])(i["default"].mark(function Ie(e,t){var n,r;return i["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(n=!1,"CUR_USER"!==e.target){o.next=5;break}n=!0,o.next=9;break;case 5:return o.next=7,this.hasLoginState();case 7:o.sent&&(n=!0);case 9:return(r=(0,p.deepClone)(e)).phone_number&&!/^\+\d{1,3}\s+\d+/.test(r.phone_number)&&(r.phone_number="+86 ".concat(r.phone_number)),o.abrupt("return",this.config.request(l.ApiUrls.VERIFICATION_URL,{method:"POST",body:r,withCaptcha:(null==t?void 0:t.withCaptcha)||!1,withCredentials:n}));case 12:case"end":return o.stop()}},Ie,this)})),function(e,t){return pe.apply(this,arguments)})},{key:"verify",value:(fe=(0,c["default"])(i["default"].mark(function Se(e){var t,n;return i["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=this.getParamsByVersion(e,"VERIFY_URL"),r.next=3,this.config.request(t.url,{method:"POST",body:t.params});case 3:if(n=r.sent,"v2"!==(null==e?void 0:e.version)){r.next=7;break}return r.next=7,this.config.credentialsClient.setCredentials(_(_({},n),{},{version:"v2"}));case 7:return r.abrupt("return",n);case 8:case"end":return r.stop()}},Se,this)})),function(e){return fe.apply(this,arguments)})},{key:"genProviderRedirectUri",value:(de=(0,c["default"])(i["default"].mark(function Oe(t){var n,r,a,s,u;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return n=t.provider_redirect_uri,r=t.other_params,a=void 0===r?{}:r,s=(0,o["default"])(t,m),n&&!s.redirect_uri&&(s.redirect_uri=n),u="".concat(l.ApiUrls.PROVIDER_URI_URL,"?").concat(e.parseParamsToSearch(s)),Object.keys(a).forEach(function(e){var t=a[e];("sign_out_uri"!==e||(null==t?void 0:t.length)>0)&&(u+="&other_params[".concat(e,"]=").concat(encodeURIComponent(t)))}),i.abrupt("return",this.config.request(u,{method:"GET"}));case 5:case"end":return i.stop()}},Oe,this)})),function(e){return de.apply(this,arguments)})},{key:"grantProviderToken",value:(le=(0,c["default"])(i["default"].mark(function xe(e){var t,n=arguments;return i["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>1&&n[1]!==undefined&&n[1],r.abrupt("return",this.config.request(l.ApiUrls.PROVIDER_TOKEN_URL,{method:"POST",body:e,useWxCloud:t}));case 2:case"end":return r.stop()}},xe,this)})),function(e){return le.apply(this,arguments)})},{key:"patchProviderToken",value:(ce=(0,c["default"])(i["default"].mark(function Te(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.PROVIDER_TOKEN_URL,{method:"PATCH",body:e}));case 1:case"end":return t.stop()}},Te,this)})),function(e){return ce.apply(this,arguments)})},{key:"signInWithProvider",value:(ue=(0,c["default"])(i["default"].mark(function De(e){var t,n,r,o=arguments;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=o.length>1&&o[1]!==undefined&&o[1],n=this.getParamsByVersion(e,"AUTH_SIGN_IN_WITH_PROVIDER_URL"),i.next=4,this.config.request(n.url,{method:"POST",body:n.params,useWxCloud:t});case 4:return r=i.sent,i.next=7,this.config.credentialsClient.setCredentials(_(_({},r),{},{version:(null==e?void 0:e.version)||"v1"}));case 7:return i.abrupt("return",Promise.resolve(r));case 8:case"end":return i.stop()}},De,this)})),function(e){return ue.apply(this,arguments)})},{key:"toBindIdentity",value:(se=(0,c["default"])(i["default"].mark(function Pe(e){var t,n,r,o;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(i.t0=e.credentials,i.t0){i.next=5;break}return i.next=4,this.config.credentialsClient.localCredentials.getCredentials();case 4:i.t0=i.sent;case 5:return t=i.t0,i.prev=6,i.next=9,this.bindWithProvider({provider_token:e.provider_token},t);case 9:n={data:{type:l.OAUTH_TYPE.BIND_IDENTITY,provider:e.provider},error:null},i.next=15;break;case 12:i.prev=12,i.t1=i["catch"](6),n={data:{type:l.OAUTH_TYPE.BIND_IDENTITY},error:new v.AuthError(i.t1)};case 15:return e.fireEvent&&(null===(r=this.config.eventBus)||void 0===r||null===(o=r.fire)||void 0===o||o.call(r,l.EVENTS.AUTH_STATE_CHANGED,{event:l.AUTH_STATE_CHANGED_TYPE.BIND_IDENTITY,info:n})),i.abrupt("return",n);case 17:case"end":return i.stop()}},Pe,this,[[6,12]])})),function(e){return se.apply(this,arguments)})},{key:"getInitialSession",value:(ae=(0,c["default"])(i["default"].mark(function Ne(){var e,t,n,r,o,a,s,u,c,d,f,p,h,m,g,y,b,w,E;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(e={},i.prev=1,"undefined"!=typeof window&&"undefined"!=typeof document){i.next=4;break}return i.abrupt("return",{data:null,error:null});case 4:if(s=new URLSearchParams(null===(t=location)||void 0===t?void 0:t.search),u=s.get("code"),c=s.get("state"),u&&c){i.next=9;break}return i.abrupt("return",{data:null,error:null});case 9:d=null;try{d=JSON.parse(sessionStorage.getItem(c)||"null")}catch(k){}if(e={type:null===(n=d)||void 0===n?void 0:n.type},f=s.get("error"),p=s.get("error_description"),!f&&!p){i.next=16;break}return i.abrupt("return",{data:e,error:new v.AuthError({message:p||f||"Unknown error from OAuth provider"})});case 16:if(h=(null===(r=d)||void 0===r?void 0:r.provider)||s.get("provider")){i.next=19;break}return i.abrupt("return",{data:e,error:new v.AuthError({message:"Provider is required for OAuth verification"})});case 19:return m=location.origin+location.pathname,i.next=22,this.grantProviderToken({provider_id:h,provider_redirect_uri:m,provider_code:u});case 22:if(g=i.sent,y=g.provider_token,w=null,d.type!==l.OAUTH_TYPE.BIND_IDENTITY){i.next=34;break}return i.next=28,this.config.credentialsClient.localCredentials.getCredentials();case 28:return b=i.sent,i.next=31,this.toBindIdentity({provider:h,provider_token:y,credentials:b});case 31:E=i.sent,i.next=49;break;case 34:if(d.type!==l.OAUTH_TYPE.SIGN_IN){i.next=49;break}return E=this.getParamsByVersion({provider:h},"AUTH_SIGN_IN_WITH_PROVIDER_URL"),i.next=38,this.config.request(E.url,{method:"POST",body:{provider_token:y}});case 38:return b=i.sent,i.prev=39,i.next=42,this.getUserInfo({credentials:b});case 42:w=i.sent,i.next=48;break;case 45:i.prev=45,i.t0=i["catch"](39),console.error("get user info error",i.t0);case 48:E={data:_(_({},e),{},{session:b,user:w}),error:null};case 49:s["delete"]("code"),s["delete"]("state"),s["delete"]("provider"),this.restoreUrlState((null===(o=d)||void 0===o?void 0:o.search)===undefined?"?".concat(s.toString()):d.search,(null===(a=d)||void 0===a?void 0:a.hash)||location.hash);try{sessionStorage.removeItem(c)}catch(A){}return i.abrupt("return",E);case 57:return i.prev=57,i.t1=i["catch"](1),i.abrupt("return",{data:e,error:new v.AuthError(i.t1)});case 60:case"end":return i.stop()}},Ne,this,[[1,57],[39,45]])})),function(){return ae.apply(this,arguments)})},{key:"signInCustom",value:(ie=(0,c["default"])(i["default"].mark(function Re(e){var t;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.config.request(l.ApiUrls.AUTH_SIGN_IN_CUSTOM,{method:"POST",body:e});case 2:return t=n.sent,n.next=5,this.config.credentialsClient.setCredentials(t);case 5:return n.abrupt("return",Promise.resolve(t));case 6:case"end":return n.stop()}},Re,this)})),function(e){return ie.apply(this,arguments)})},{key:"signInWithWechat",value:(oe=(0,c["default"])(i["default"].mark(function Me(){var e,t,n=arguments;return i["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=n.length>0&&n[0]!==undefined?n[0]:{},r.next=3,this.config.request(l.ApiUrls.AUTH_SIGN_IN_WITH_WECHAT_URL,{method:"POST",body:e});case 3:return t=r.sent,r.next=6,this.config.credentialsClient.setCredentials(t);case 6:return r.abrupt("return",Promise.resolve(t));case 7:case"end":return r.stop()}},Me,this)})),function(){return oe.apply(this,arguments)})},{key:"bindWithProvider",value:(re=(0,c["default"])(i["default"].mark(function Le(e,t){return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.config.request(l.ApiUrls.PROVIDER_BIND_URL,{method:"POST",body:e,withCredentials:!0,getCredentials:t?function(){return t}:undefined}));case 1:case"end":return n.stop()}},Le,this)})),function(e,t){return re.apply(this,arguments)})},{key:"getUserProfile",value:(ne=(0,c["default"])(i["default"].mark(function Fe(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getUserInfo(e));case 1:case"end":return t.stop()}},Fe,this)})),function(e){return ne.apply(this,arguments)})},{key:"getUserInfo",value:(te=(0,c["default"])(i["default"].mark(function Ue(){var e,t,n,r,o,a=arguments;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=a.length>0&&a[0]!==undefined?a[0]:{},n=this.getParamsByVersion(t,"USER_ME_URL"),null!==(e=n.params)&&void 0!==e&&e.query&&(r=new h["default"](n.params.query),n.url+="?".concat(r.toString())),i.next=5,this.config.request(n.url,{method:"GET",withCredentials:!0,getCredentials:t.credentials?function(){return t.credentials}:undefined});case 5:return(o=i.sent).sub&&(o.uid=o.sub),i.abrupt("return",o);case 8:case"end":return i.stop()}},Ue,this)})),function(){return te.apply(this,arguments)})},{key:"getWedaUserInfo",value:(ee=(0,c["default"])(i["default"].mark(function je(){var e;return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.config.request(l.ApiUrls.WEDA_USER_URL,{method:"GET",withCredentials:!0});case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}},je,this)})),function(){return ee.apply(this,arguments)})},{key:"deleteMe",value:(Z=(0,c["default"])(i["default"].mark(function Be(t){var n,r;return i["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=this.getParamsByVersion(t,"USER_ME_URL"),r="".concat(n.url,"?").concat(e.parseParamsToSearch(n.params)),o.abrupt("return",this.config.request(r,{method:"DELETE",withCredentials:!0}));case 3:case"end":return o.stop()}},Be,this)})),function(e){return Z.apply(this,arguments)})},{key:"hasLoginState",value:(J=(0,c["default"])(i["default"].mark(function Ge(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.config.credentialsClient.getAccessToken();case 3:return e.abrupt("return",!0);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",!1);case 9:case"end":return e.stop()}},Ge,this,[[0,6]])})),function(){return J.apply(this,arguments)})},{key:"hasLoginStateSync",value:function(){return this.config.credentialsClient.getCredentialsSync()}},{key:"getLoginState",value:(Q=(0,c["default"])(i["default"].mark(function $e(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.config.credentialsClient.getCredentialsAsync());case 1:case"end":return e.stop()}},$e,this)})),function(){return Q.apply(this,arguments)})},{key:"transByProvider",value:(X=(0,c["default"])(i["default"].mark(function qe(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.USER_TRANS_BY_PROVIDER_URL,{method:"PATCH",body:e,withCredentials:!0}));case 1:case"end":return t.stop()}},qe,this)})),function(e){return X.apply(this,arguments)})},{key:"grantToken",value:(K=(0,c["default"])(i["default"].mark(function He(e){var t;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=this.getParamsByVersion(e,"AUTH_TOKEN_URL"),n.abrupt("return",this.config.request(t.url,{method:"POST",body:t.params}));case 2:case"end":return n.stop()}},He,this)})),function(e){return K.apply(this,arguments)})},{key:"getProviders",value:(Y=(0,c["default"])(i["default"].mark(function ze(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.config.request(l.ApiUrls.PROVIDER_LIST,{method:"GET",withCredentials:!0}));case 1:case"end":return e.stop()}},ze,this)})),function(){return Y.apply(this,arguments)})},{key:"unbindProvider",value:(V=(0,c["default"])(i["default"].mark(function We(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request("".concat(l.ApiUrls.PROVIDER_UNBIND_URL,"/").concat(e.provider_id),{method:"DELETE",withCredentials:!0}));case 1:case"end":return t.stop()}},We,this)})),function(e){return V.apply(this,arguments)})},{key:"checkPassword",value:(W=(0,c["default"])(i["default"].mark(function Ve(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request("".concat(l.ApiUrls.CHECK_PWD_URL),{method:"POST",withCredentials:!0,body:e}));case 1:case"end":return t.stop()}},Ve,this)})),function(e){return W.apply(this,arguments)})},{key:"editContact",value:(z=(0,c["default"])(i["default"].mark(function Ye(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request("".concat(l.ApiUrls.BIND_CONTACT_URL),{method:"PATCH",withCredentials:!0,body:e}));case 1:case"end":return t.stop()}},Ye,this)})),function(e){return z.apply(this,arguments)})},{key:"setPassword",value:(H=(0,c["default"])(i["default"].mark(function Ke(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request("".concat(l.ApiUrls.AUTH_SET_PASSWORD),{method:"PATCH",withCredentials:!0,body:e}));case 1:case"end":return t.stop()}},Ke,this)})),function(e){return H.apply(this,arguments)})},{key:"updatePasswordByOld",value:(q=(0,c["default"])(i["default"].mark(function Xe(e){var t;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.sudo({password:e.old_password});case 2:return t=n.sent,n.abrupt("return",this.setPassword({sudo_token:t.sudo_token,new_password:e.new_password}));case 4:case"end":return n.stop()}},Xe,this)})),function(e){return q.apply(this,arguments)})},{key:"sudo",value:($=(0,c["default"])(i["default"].mark(function Qe(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request("".concat(l.ApiUrls.SUDO_URL),{method:"POST",withCredentials:!0,body:e}));case 1:case"end":return t.stop()}},Qe,this)})),function(e){return $.apply(this,arguments)})},{key:"sendVerificationCodeToCurrentUser",value:(G=(0,c["default"])(i["default"].mark(function Je(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.target="CUR_USER",t.abrupt("return",this.config.request(l.ApiUrls.VERIFICATION_URL,{method:"POST",body:e,withCredentials:!0,withCaptcha:!0}));case 2:case"end":return t.stop()}},Je,this)})),function(e){return G.apply(this,arguments)})},{key:"changeBoundProvider",value:(B=(0,c["default"])(i["default"].mark(function Ze(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request("".concat(l.ApiUrls.PROVIDER_LIST,"/").concat(e.provider_id,"/trans"),{method:"POST",body:{provider_trans_token:e.trans_token},withCredentials:!0}));case 1:case"end":return t.stop()}},Ze,this)})),function(e){return B.apply(this,arguments)})},{key:"setUserProfile",value:(j=(0,c["default"])(i["default"].mark(function et(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.USER_PRIFILE_URL,{method:"PATCH",body:e,withCredentials:!0}));case 1:case"end":return t.stop()}},et,this)})),function(e){return j.apply(this,arguments)})},{key:"updateUserBasicInfo",value:(U=(0,c["default"])(i["default"].mark(function tt(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.USER_BASIC_EDIT_URL,{method:"POST",withCredentials:!0,body:e}));case 1:case"end":return t.stop()}},tt,this)})),function(e){return U.apply(this,arguments)})},{key:"queryUserProfile",value:(F=(0,c["default"])(i["default"].mark(function nt(e){var t;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=new h["default"](e),n.abrupt("return",this.config.request("".concat(l.ApiUrls.USER_QUERY_URL,"?").concat(t.toString()),{method:"GET",withCredentials:!0}));case 2:case"end":return n.stop()}},nt,this)})),function(e){return F.apply(this,arguments)})},{key:"setCustomSignFunc",value:function(e){this.getCustomSignTicketFn=e}},{key:"signInWithCustomTicket",value:(L=(0,c["default"])(i["default"].mark(function rt(){var e,t;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e=this.getCustomSignTicketFn){n.next=3;break}return n.abrupt("return",Promise.reject({error:"failed_precondition",error_description:"please use setCustomSignFunc to set custom sign function"}));case 3:return n.next=5,e();case 5:return t=n.sent,n.abrupt("return",this.signInCustom({provider_id:"custom",ticket:t}));case 7:case"end":return n.stop()}},rt,this)})),function(){return L.apply(this,arguments)})},{key:"resetPassword",value:(M=(0,c["default"])(i["default"].mark(function ot(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.AUTH_RESET_PASSWORD,{method:"POST",body:e}));case 1:case"end":return t.stop()}},ot,this)})),function(e){return M.apply(this,arguments)})},{key:"authorize",value:(R=(0,c["default"])(i["default"].mark(function it(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.AUTHORIZE_URL,{method:"POST",withCredentials:!0,body:e}));case 1:case"end":return t.stop()}},it,this)})),function(e){return R.apply(this,arguments)})},{key:"authorizeDevice",value:(N=(0,c["default"])(i["default"].mark(function at(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.AUTHORIZE_DEVICE_URL,{method:"POST",withCredentials:!0,body:e}));case 1:case"end":return t.stop()}},at,this)})),function(e){return N.apply(this,arguments)})},{key:"deviceAuthorize",value:(P=(0,c["default"])(i["default"].mark(function st(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.AUTH_GET_DEVICE_CODE,{method:"POST",body:e,withCredentials:!0}));case 1:case"end":return t.stop()}},st,this)})),function(e){return P.apply(this,arguments)})},{key:"authorizeInfo",value:(D=(0,c["default"])(i["default"].mark(function ut(t){var n,r,o;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return n="".concat(l.ApiUrls.AUTHORIZE_INFO_URL,"?").concat(e.parseParamsToSearch(t)),r=!0,o=!1,i.next=5,this.hasLoginState();case 5:return i.sent&&(o=!0,r=!1),i.abrupt("return",this.config.request(n,{method:"GET",withBasicAuth:r,withCredentials:o}));case 8:case"end":return i.stop()}},ut,this)})),function(e){return D.apply(this,arguments)})},{key:"checkUsername",value:(T=(0,c["default"])(i["default"].mark(function ct(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.CHECK_USERNAME,{method:"GET",body:e,withCredentials:!0}));case 1:case"end":return t.stop()}},ct,this)})),function(e){return T.apply(this,arguments)})},{key:"checkIfUserExist",value:(x=(0,c["default"])(i["default"].mark(function lt(e){var t;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=new h["default"](e),n.abrupt("return",this.config.request("".concat(l.ApiUrls.CHECK_IF_USER_EXIST,"?").concat(t.toString()),{method:"GET"}));case 2:case"end":return n.stop()}},lt,this)})),function(e){return x.apply(this,arguments)})},{key:"loginScope",value:(O=(0,c["default"])(i["default"].mark(function dt(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.config.credentialsClient.getScope());case 1:case"end":return e.stop()}},dt,this)})),function(){return O.apply(this,arguments)})},{key:"loginGroups",value:(S=(0,c["default"])(i["default"].mark(function ft(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.config.credentialsClient.getGroups());case 1:case"end":return e.stop()}},ft,this)})),function(){return S.apply(this,arguments)})},{key:"refreshTokenForce",value:(I=(0,c["default"])(i["default"].mark(function pt(e){var t;return i["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.config.credentialsClient.getCredentials();case 2:return t=n.sent,n.next=5,this.config.credentialsClient.refreshToken(_(_({},t),{},{version:(null==e?void 0:e.version)||"v1"}));case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}},pt,this)})),function(e){return I.apply(this,arguments)})},{key:"getCredentials",value:(C=(0,c["default"])(i["default"].mark(function ht(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.config.credentialsClient.getCredentials());case 1:case"end":return e.stop()}},ht,this)})),function(){return C.apply(this,arguments)})},{key:"getPublicKey",value:(A=(0,c["default"])(i["default"].mark(function vt(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.config.request(l.ApiUrlsV2.AUTH_PUBLIC_KEY,{method:"POST",body:{}}));case 1:case"end":return e.stop()}},vt,this)})),function(){return A.apply(this,arguments)})},{key:"getEncryptParams",value:(k=(0,c["default"])(i["default"].mark(function mt(e){var t,n,r,o,a,s;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.isEncrypt,delete e.isEncrypt,n=(0,p.deepClone)(e),i.next=5,y(t,this.config.adapter);case 5:if(r=i.sent){i.next=8;break}return i.abrupt("return",e);case 8:return o="",a="",i.prev=10,i.next=13,this.getPublicKey();case 13:if(s=i.sent,o=s.public_key,a=s.public_key_thumbprint,o&&a){i.next=18;break}throw s;case 18:i.next=23;break;case 20:throw i.prev=20,i.t0=i["catch"](10),i.t0;case 23:return i.abrupt("return",{params:r.getEncryptInfo({publicKey:o,payload:n}),public_key_thumbprint:a});case 24:case"end":return i.stop()}},mt,this,[[10,20]])})),function(e){return k.apply(this,arguments)})},{key:"getProviderSubType",value:(E=(0,c["default"])(i["default"].mark(function gt(){return i["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.config.request(l.ApiUrls.GET_PROVIDER_TYPE,{method:"POST",body:{provider_id:"weda"}}));case 1:case"end":return e.stop()}},gt,this)})),function(){return E.apply(this,arguments)})},{key:"verifyCaptchaData",value:(w=(0,c["default"])(i["default"].mark(function _t(e){var t,n;return i["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.token,n=e.key,r.abrupt("return",this.config.request(l.ApiUrls.VERIFY_CAPTCHA_DATA_URL,{method:"POST",body:{token:t,key:n},withCredentials:!1}));case 2:case"end":return r.stop()}},_t,this)})),function(e){return w.apply(this,arguments)})},{key:"createCaptchaData",value:(b=(0,c["default"])(i["default"].mark(function yt(e){var t,n,r;return i["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.state,n=e.redirect_uri,r=void 0===n?undefined:n,o.abrupt("return",this.config.request(l.ApiUrls.CAPTCHA_DATA_URL,{method:"POST",body:{state:t,redirect_uri:r},withCredentials:!1}));case 2:case"end":return o.stop()}},yt,this)})),function(e){return b.apply(this,arguments)})},{key:"getMiniProgramCode",value:(g=(0,c["default"])(i["default"].mark(function bt(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.GET_MINIPROGRAM_QRCODE,{method:"POST",body:e}));case 1:case"end":return t.stop()}},bt,this)})),function(e){return g.apply(this,arguments)})},{key:"getMiniProgramQrCodeStatus",value:(a=(0,c["default"])(i["default"].mark(function wt(e){return i["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.config.request(l.ApiUrls.GET_MINIPROGRAM_QRCODE_STATUS,{method:"POST",body:e}));case 1:case"end":return t.stop()}},wt,this)})),function(e){return a.apply(this,arguments)})},{key:"getUserBehaviorLog",value:(r=(0,c["default"])(i["default"].mark(function Et(e){var t,n;return i["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t={LOGIN:"query[action]=USER_LOGIN",MODIFY:"ne_query[action]=USER_LOGIN"},n="".concat(l.ApiUrls.GET_USER_BEHAVIOR_LOG,"?").concat(t[e.type],"&limit=").concat(e.limit).concat(e.page_token?"&page_token=".concat(e.page_token):""),r.abrupt("return",this.config.request(n,{method:"GET",withCredentials:!0}));case 3:case"end":return r.stop()}},Et,this)})),function(e){return r.apply(this,arguments)})},{key:"modifyPassword",value:(n=(0,c["default"])(i["default"].mark(function kt(e){var t,n,r,o,a,s;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t="",n="",i.next=4,y(!0,this.config.adapter);case 4:if(r=i.sent){i.next=7;break}throw new Error("do not support encrypt, a encrypt util required.");case 7:return i.prev=7,i.next=10,this.getPublicKey();case 10:if(o=i.sent,t=o.public_key,n=o.public_key_thumbprint,t&&n){i.next=15;break}throw o;case 15:i.next=20;break;case 17:throw i.prev=17,i.t0=i["catch"](7),i.t0;case 20:return a=e.password?r.getEncryptInfo({publicKey:t,payload:e.password}):"",s=r.getEncryptInfo({publicKey:t,payload:e.new_password}),i.abrupt("return",this.config.request(l.ApiUrls.USER_BASIC_EDIT_URL,{method:"POST",withCredentials:!0,body:{user_id:e.user_id,encrypt_password:a,encrypt_new_password:s,public_key_thumbprint:n}}));case 23:case"end":return i.stop()}},kt,this,[[7,17]])})),function(e){return n.apply(this,arguments)})},{key:"modifyPasswordWithoutLogin",value:(t=(0,c["default"])(i["default"].mark(function At(e){var t,n,r,o,a,s;return i["default"].wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t="",n="",i.next=4,y(!0,this.config.adapter);case 4:if(r=i.sent){i.next=7;break}throw new Error("do not support encrypt, a encrypt util required.");case 7:return i.prev=7,i.next=10,this.getPublicKey();case 10:if(o=i.sent,t=o.public_key,n=o.public_key_thumbprint,t&&n){i.next=15;break}throw o;case 15:i.next=20;break;case 17:throw i.prev=17,i.t0=i["catch"](7),i.t0;case 20:return a=e.password?r.getEncryptInfo({publicKey:t,payload:e.password}):"",s=r.getEncryptInfo({publicKey:t,payload:e.new_password}),i.abrupt("return",this.config.request(l.ApiUrlsV2.AUTH_RESET_PASSWORD,{method:"POST",body:{username:e.username,password:a,new_password:s,public_key_thumbprint:n}}));case 23:case"end":return i.stop()}},At,this,[[7,17]])})),function(e){return t.apply(this,arguments)})},{key:"restoreUrlState",value:function(e,t){if(e!==undefined)try{var n=new URL(window.location.href);n.search=e,n.hash=t||"",window.history.replaceState(null,"",n.toString()),window.location.replace(n.toString())}catch(r){}}}],[{key:"parseParamsToSearch",value:function(e){return Object.keys(e).forEach(function(t){e[t]||delete e[t]}),new h["default"](e).toString()}}]),e}()},9549:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.AuthErrorCategory=t.AuthError=void 0;var o,i=r(n(1332)),a=r(n(8850)),s=r(n(274)),u=r(n(9499)),c=r(n(6577)),l=r(n(2973)),d=n(4256);function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,c["default"])(e);if(t){var o=(0,c["default"])(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u["default"])(this,n)}}!function(e){e.PROVIDER_NOT_ENABLED="PROVIDER_NOT_ENABLED",e.INVALID_CREDENTIALS="INVALID_CREDENTIALS",e.USER_NOT_FOUND="USER_NOT_FOUND",e.USER_STATUS_ABNORMAL="USER_STATUS_ABNORMAL",e.SERVICE_ERROR="SERVICE_ERROR",e.INVALID_PARAMS="INVALID_PARAMS",e.AUTH_METHOD_MISMATCH="AUTH_METHOD_MISMATCH",e.UNKNOWN="UNKNOWN"}(o||(t.AuthErrorCategory=o={}));var p="https://tcb.cloud.tencent.com/dev?envId=#/identity/login-manage",h="https://docs.cloudbase.net/api-reference/webv3-next/initialization";t.AuthError=function(e){(0,s["default"])(n,e);var t=f(n);function n(e,r){var i;(0,a["default"])(this,n);var s,u=e.error_description||e.message;return(i=t.call(this,u)).__isAuthError=!0,i.name="AuthError",i.status=e.error,i.code=e.error_code,i.requestId=e.requestId,i.category=function(t,n){if(!t&&!n)return o.UNKNOWN;try{var r=(t||"").toLowerCase();return n===d.ErrorType.FAILED_PRECONDITION||n===d.ErrorType.PROVIDER_NOT_ENABLED||n===d.ErrorType.LOGIN_METHOD_DISABLED||r.includes("身份源")||r.includes("开启")||r.includes("identity provider")||r.includes("provider not enabled")||r.includes("login method")||r.includes("登录方式")||r.includes("not enabled")||r.includes("未开启")||r.includes("未启用")||r.includes("请联系开发者")||r.includes("anonymous login is not enabled")||r.includes("匿名登录未开启")?o.PROVIDER_NOT_ENABLED:n===d.ErrorType.INVALID_PASSWORD||n===d.ErrorType.INVALID_GRANT||n===d.ErrorType.INVALID_VERIFICATION_CODE||n===d.ErrorType.INVALID_USERNAME_OR_PASSWORD||n===d.ErrorType.INVALID_CREDENTIALS||n===d.ErrorType.WRONG_PASSWORD||n===d.ErrorType.UNAUTHENTICATED||n===d.ErrorType.INVALID_TWO_FACTOR||n===d.ErrorType.INVALID_TWO_FACTOR_RECOVERY||n===d.ErrorType.PASSWORD_NOT_SET||r.includes("密码不正确")||r.includes("password")||r.includes("invalid_password")||r.includes("凭据")||r.includes("credentials")||r.includes("验证码")||r.includes("verification")||r.includes("invalid_verification_code")||r.includes("invalid_username_or_password")||r.includes("username or password")||r.includes("用户名或密码")||r.includes("wrong password")||r.includes("incorrect password")?o.INVALID_CREDENTIALS:n===d.ErrorType.NOT_FOUND||n===d.ErrorType.USER_NOT_FOUND||r.includes("用户不存在")||r.includes("not found")||r.includes("user not found")||r.includes("不存在")||r.includes("no such user")||r.includes("user does not exist")?o.USER_NOT_FOUND:n===d.ErrorType.USER_BLOCKED||n===d.ErrorType.USER_PENDING||n===d.ErrorType.UNDER_REVIEW||n===d.ErrorType.INVALID_STATUS||r.includes("被封禁")||r.includes("blocked")||r.includes("pending")||r.includes("审核")||r.includes("review")||r.includes("locked")||r.includes("已锁定")?o.USER_STATUS_ABNORMAL:n===d.ErrorType.SERVER_ERROR||n===d.ErrorType.UNAVAILABLE||n===d.ErrorType.TEMPORARILY_UNAVAILABLE||n===d.ErrorType.INTERNAL||n===d.ErrorType.UNREACHABLE||n===d.ErrorType.DEADLINE_EXCEEDED||n===d.ErrorType.DATA_LOSS||r.includes("network")||r.includes("timeout")||r.includes("服务")||r.includes("timed out")||r.includes("超时")?o.SERVICE_ERROR:n===d.ErrorType.INVALID_ARGUMENT||n===d.ErrorType.INVALID_REQUEST||n===d.ErrorType.INVALID_SCOPE||n===d.ErrorType.INVALID_REQUEST_URI||n===d.ErrorType.INVALID_REQUEST_OBJECT?o.INVALID_PARAMS:n===d.ErrorType.PERMISSION_DENIED||n===d.ErrorType.ACCESS_DENIED||n===d.ErrorType.UNAUTHORIZED_CLIENT?o.PROVIDER_NOT_ENABLED:o.UNKNOWN}catch(e){return n}}(u,i.status),i.helpMessage=function(e,t){var n=(null==t?void 0:t.method)||"signIn",r={signInWithPassword:"「用户名密码登录」",signInAnonymously:"「匿名登录」",signInWithOtp:"「短信验证码登录」或「邮箱验证码登录」",signUp:"「短信验证码登录」或「邮箱验证码登录」",signInWithOAuth:"对应的第三方身份源",signInWithIdToken:"对应的第三方身份源",signInWithOpenId:"「微信小程序 OpenID 登录」",signInWithPhoneAuth:"「微信小程序手机号授权登录」",signInWithCustomTicket:"「自定义登录」"}[n]||"对应的登录方式";switch(e){case o.PROVIDER_NOT_ENABLED:return"[CloudBase Auth] 登录方式未开启\n\n"+" 当前调用的 ".concat(n,"() 所需的登录方式尚未在云开发控制台启用。\n")+" 需要开启的登录方式:".concat(r,"\n")+"\n 请按以下步骤开启:\n"+" 1. 打开云开发控制台:".concat(p,"\n")+" 2. 选择对应的云开发环境\n 3. 进入「登录授权」页面,在「登录方式」或「身份源列表」中开启所需的登录方式\n\n 各登录方法与所需登录方式的对应关系:\n - signInWithPassword → 「用户名密码登录」\n - signInAnonymously → 「匿名登录」\n - signInWithOtp/signUp → 「短信验证码登录」或「邮箱验证码登录」\n - signInWithOAuth/signInWithIdToken → 对应的第三方身份源\n\n 如使用 CLI/MCP 工具,可通过 auth 工具查询和配置身份源状态。\n"+" 更多帮助请参考文档:".concat(h);case o.INVALID_CREDENTIALS:return"[CloudBase Auth] 凭据验证失败\n\n"+" 调用 ".concat(n,"() 时凭据校验未通过。\n")+"\n 请按优先级逐项排查:\n 1. 确认用户名/邮箱/手机号是否拼写正确、格式完整\n 2. 确认密码是否正确(注意大小写、特殊字符、前后空格)\n 3. 确认用户账号确实存在(可通过 auth.isUsernameRegistered() 检查)\n 4. 确认凭据参数来源可靠(环境变量、配置文件中的值是否已正确设置)\n 5. 如使用加密登录(is_encrypt: true),请确认公钥版本正确\n\n 如忘记密码,可通过 auth.resetPasswordForEmail() 重置密码。\n\n 提示:如果是 AI agent / 自动化测试场景,请确认 ENV_ID、USERNAME、PASSWORD\n 等环境变量已正确传入,且对应用户已在目标环境中注册。";case o.USER_NOT_FOUND:return"[CloudBase Auth] 用户不存在\n\n 请检查以下项目:\n 1. 确认用户名/邮箱/手机号是否正确\n 2. 确认是在正确的云开发环境(envId)下操作\n 3. 如果是新用户,请先通过 auth.signUp() 注册\n"+" 4. 也可在云开发控制台手动创建用户:".concat(p,"\n")+"\n 提示:不同环境(开发/测试/生产)的用户库是隔离的,请确认 envId 正确。";case o.USER_STATUS_ABNORMAL:return"[CloudBase Auth] 用户状态异常\n\n 当前用户账号可能处于以下状态之一:\n - 账号已被封禁\n - 账号正在审核中\n - 账号已被锁定(多次密码错误)\n\n"+" 请联系管理员在云开发控制台检查用户状态:".concat(p);case o.SERVICE_ERROR:return"[CloudBase Auth] 服务异常\n\n 请检查以下项目:\n 1. 网络连接是否正常\n 2. 云开发环境是否正常运行\n 3. 稍后重试,如持续失败请联系技术支持\n\n 提示:如果是超时错误,请检查网络环境和请求频率。";case o.INVALID_PARAMS:return"[CloudBase Auth] 参数错误\n\n 请检查传入的参数是否符合要求,参考 API 文档确认各参数的格式和约束。\n"+" 文档地址:".concat(h);case o.AUTH_METHOD_MISMATCH:return"[CloudBase Auth] 登录方式不匹配\n\n"+" 调用 ".concat(n,"() 时遇到错误,可能原因:\n")+" - 匿名登录失败后尝试了用户名密码登录,但凭据不正确或用户不存在\n - 应使用匿名登录但传入了密码参数\n - 应使用密码登录但未传入正确的凭据\n\n 建议:\n 1. 明确当前场景需要的登录方式:\n - 无需用户注册 → auth.signInAnonymously()\n - 有用户名和密码 → auth.signInWithPassword({ username, password })\n - 第三方平台 → auth.signInWithOAuth({ provider })\n 2. 不要在同一流程中混合使用不同的登录方式\n 3. 每种登录方式需要在控制台开启对应的身份源\n"+" 4. 控制台地址:".concat(p);default:return"[CloudBase Auth] 操作失败\n\n 如果问题持续存在,建议:\n"+" 1. 检查云开发控制台的认证配置:".concat(p,"\n")+" 2. 到官方问答社区提问:https://cnb.cool/tencent/cloud/cloudbase/community/-/issues\n"+" 3. 查阅文档:".concat(h)}}(i.category,r),i.loginMethodHint=(s=null==r?void 0:r.method)&&{signInWithPassword:"当前使用「用户名密码登录」,需确保:\n ✓ 控制台已开启「用户名密码登录」\n ✓ 用户已注册且凭据正确\n 如果不需要用户系统,建议改用 auth.signInAnonymously()",signInAnonymously:"当前使用「匿名登录」,需确保:\n ✓ 控制台已开启「匿名登录」\n 注意:匿名用户无需用户名密码,适用于快速体验或临时访问场景",signInWithOtp:"当前使用「OTP 验证码登录」,需确保:\n ✓ 控制台已开启「短信验证码登录」或「邮箱验证码登录」",signInWithOAuth:"当前使用「第三方 OAuth 登录」,需确保:\n ✓ 控制台已配置并开启对应的第三方身份源"}[s]||"",i}return(0,i["default"])(n)}((0,l["default"])(Error))},4256:function(e,t){"use strict";var n,r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t.VerificationUsages=t.OAUTH_TYPE=t.LOGIN_STATE_CHANGED_TYPE=t.ErrorType=t.EVENTS=t.DEFAULT_NODE_ACCESS_SCOPE=t.ApiUrlsV2=t.ApiUrls=t.AUTH_STATE_CHANGED_TYPE=t.AUTH_API_PREFIX=void 0,t.AUTH_API_PREFIX="/auth",function(e){e.AUTH_SIGN_UP_URL="/v1/signup",e.AUTH_TOKEN_URL="/v1/token",e.AUTH_REVOKE_URL="/v1/revoke",e.WEDA_USER_URL="/v1/plugin/weda/userinfo",e.AUTH_RESET_PASSWORD="/v1/reset",e.AUTH_GET_DEVICE_CODE="/v1/device/code",e.CHECK_USERNAME="/v1/checkUsername",e.CHECK_IF_USER_EXIST="/v1/checkIfUserExist",e.GET_PROVIDER_TYPE="/v1/mgr/provider/providerSubType",e.AUTH_SIGN_IN_URL="/v1/signin",e.AUTH_SIGN_IN_ANONYMOUSLY_URL="/v1/signin/anonymously",e.AUTH_SIGN_IN_WITH_PROVIDER_URL="/v1/signin/with/provider",e.AUTH_SIGN_IN_WITH_WECHAT_URL="/v1/signin/wechat/noauth",e.AUTH_SIGN_IN_CUSTOM="/v1/signin/custom",e.PROVIDER_TOKEN_URL="/v1/provider/token",e.PROVIDER_URI_URL="/v1/provider/uri",e.USER_ME_URL="/v1/user/me",e.AUTH_SIGNOUT_URL="/v1/user/signout",e.USER_QUERY_URL="/v1/user/query",e.USER_PRIFILE_URL="/v1/user/profile",e.USER_BASIC_EDIT_URL="/v1/user/basic/edit",e.USER_TRANS_BY_PROVIDER_URL="/v1/user/trans/by/provider",e.PROVIDER_LIST="/v1/user/provider",e.PROVIDER_BIND_URL="/v1/user/provider/bind",e.PROVIDER_UNBIND_URL="/v1/user/provider",e.CHECK_PWD_URL="/v1/user/sudo",e.SUDO_URL="/v1/user/sudo",e.BIND_CONTACT_URL="/v1/user/contact",e.AUTH_SET_PASSWORD="/v1/user/password",e.AUTHORIZE_DEVICE_URL="/v1/user/device/authorize",e.AUTHORIZE_URL="/v1/user/authorize",e.AUTHORIZE_INFO_URL="/v1/user/authorize/info",e.AUTHORIZED_DEVICES_DELETE_URL="/v1/user/authorized/devices/",e.AUTH_REVOKE_ALL_URL="/v1/user/revoke/all",e.GET_USER_BEHAVIOR_LOG="/v1/user/security/history",e.VERIFICATION_URL="/v1/verification",e.VERIFY_URL="/v1/verification/verify",e.CAPTCHA_DATA_URL="/v1/captcha/data",e.VERIFY_CAPTCHA_DATA_URL="/v1/captcha/data/verify",e.GET_CAPTCHA_URL="/v1/captcha/init",e.GET_MINIPROGRAM_QRCODE="/v1/qrcode/generate",e.GET_MINIPROGRAM_QRCODE_STATUS="/v1/qrcode/get/status"}(n||(t.ApiUrls=n={})),function(e){e.AUTH_SIGN_IN_URL="/v2/signin/username",e.AUTH_TOKEN_URL="/v2/token",e.USER_ME_URL="/v2/user/me",e.VERIFY_URL="/v2/signin/verificationcode",e.AUTH_SIGN_IN_WITH_PROVIDER_URL="/v2/signin/with/provider",e.AUTH_PUBLIC_KEY="/v2/signin/publichkey",e.AUTH_RESET_PASSWORD="/v2/signin/password/update"}(r||(t.ApiUrlsV2=r={})),function(e){e.REGISTER="REGISTER",e.SIGN_IN="SIGN_IN",e.PASSWORD_RESET="PASSWORD_RESET",e.EMAIL_ADDRESS_CHANGE="EMAIL_ADDRESS_CHANGE",e.PHONE_NUMBER_CHANGE="PHONE_NUMBER_CHANGE"}(o||(t.VerificationUsages=o={})),function(e){e.UNREACHABLE="unreachable",e.LOCAL="local",e.CANCELLED="cancelled",e.UNKNOWN="unknown",e.UNAUTHENTICATED="unauthenticated",e.RESOURCE_EXHAUSTED="resource_exhausted",e.FAILED_PRECONDITION="failed_precondition",e.INVALID_ARGUMENT="invalid_argument",e.DEADLINE_EXCEEDED="deadline_exceeded",e.NOT_FOUND="not_found",e.ALREADY_EXISTS="already_exists",e.PERMISSION_DENIED="permission_denied",e.ABORTED="aborted",e.OUT_OF_RANGE="out_of_range",e.UNIMPLEMENTED="unimplemented",e.INTERNAL="internal",e.UNAVAILABLE="unavailable",e.DATA_LOSS="data_loss",e.INVALID_PASSWORD="invalid_password",e.PASSWORD_NOT_SET="password_not_set",e.INVALID_STATUS="invalid_status",e.USER_PENDING="user_pending",e.USER_BLOCKED="user_blocked",e.INVALID_VERIFICATION_CODE="invalid_verification_code",e.TWO_FACTOR_REQUIRED="two_factor_required",e.INVALID_TWO_FACTOR="invalid_two_factor",e.INVALID_TWO_FACTOR_RECOVERY="invalid_two_factor_recovery",e.UNDER_REVIEW="under_review",e.INVALID_REQUEST="invalid_request",e.UNAUTHORIZED_CLIENT="unauthorized_client",e.ACCESS_DENIED="access_denied",e.UNSUPPORTED_RESPONSE_TYPE="unsupported_response_type",e.INVALID_SCOPE="invalid_scope",e.INVALID_GRANT="invalid_grant",e.SERVER_ERROR="server_error",e.TEMPORARILY_UNAVAILABLE="temporarily_unavailable",e.INTERACTION_REQUIRED="interaction_required",e.LOGIN_REQUIRED="login_required",e.ACCOUNT_SELECTION_REQUIRED="account_selection_required",e.CONSENT_REQUIRED="consent_required",e.INVALID_REQUEST_URI="invalid_request_uri",e.INVALID_REQUEST_OBJECT="invalid_request_object",e.REQUEST_NOT_SUPPORTED="request_not_supported",e.REQUEST_URI_NOT_SUPPORTED="request_uri_not_supported",e.REGISTRATION_NOT_SUPPORTED="registration_not_supported",e.CAPTCHA_REQUIRED="captcha_required",e.CAPTCHA_INVALID="captcha_invalid",e.PROVIDER_NOT_ENABLED="provider_not_enabled",e.LOGIN_METHOD_DISABLED="login_method_disabled",e.INVALID_USERNAME_OR_PASSWORD="invalid_username_or_password",e.INVALID_CREDENTIALS="invalid_credentials",e.WRONG_PASSWORD="wrong_password",e.USER_NOT_FOUND="user_not_found"}(i||(t.ErrorType=i={})),t.LOGIN_STATE_CHANGED_TYPE={SIGN_OUT:"sign_out",SIGN_IN:"sign_in",CREDENTIALS_ERROR:"credentials_error"},t.AUTH_STATE_CHANGED_TYPE={SIGNED_OUT:"SIGNED_OUT",SIGNED_IN:"SIGNED_IN",INITIAL_SESSION:"INITIAL_SESSION",PASSWORD_RECOVERY:"PASSWORD_RECOVERY",TOKEN_REFRESHED:"TOKEN_REFRESHED",USER_UPDATED:"USER_UPDATED",BIND_IDENTITY:"BIND_IDENTITY"},t.EVENTS={LOGIN_STATE_CHANGED:"loginStateChanged",AUTH_STATE_CHANGED:"authStateChanged"},t.OAUTH_TYPE={SIGN_IN:"sign_in",BIND_IDENTITY:"bind_identity"},t.DEFAULT_NODE_ACCESS_SCOPE="node-sdk-scope"},4622:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9077:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.openURIWithCallback=void 0;var o=r(n(479)),i=r(n(3852)),a=r(n(4964)),s=n(4947),u=n(4442);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){(0,i["default"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var d=function(e,t){var n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout(function(){return e.apply(null,o)},t)}},f=new s.CloudbaseEventEmitter,p="resolveCaptchaData",h="position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:999",v="position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:320px;padding:20px;background:#fff;border-radius:8px;box-shadow:0 0 10px rgba(0,0,0,0.2);z-index:1000",m="margin-bottom:15px",g="display:flex;align-items:center;justify-content:space-between;margin-bottom:15px",_="width:100%;height:auto;border:1px solid #eee",y="padding:10px 8px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;flex:1;white-space:nowrap;margin-left:10px",b="width:100%;padding:14px 16px;margin-bottom:15px;box-sizing:border-box;border:2px solid #e8ecf4;border-radius:10px;font-size:15px",w="width:100%;padding:10px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer",E="background:#6c757d;cursor:not-allowed",k=function(e){var t=e.oauthInstance,n=e.captchaState,r="captcha-image",i=function(){var e=(0,a["default"])(o["default"].mark(function i(){var e;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,t.createCaptchaData({state:n.state});case 3:e=o.sent,n=l(l({},n),{},{captchaData:e.data,token:e.token}),document.getElementById(r).src=e.data,o.next=11;break;case 8:o.prev=8,o.t0=o["catch"](0),console.error("刷新图形验证码失败",o.t0);case 11:case"end":return o.stop()}},i,null,[[0,8]])}));return function(){return e.apply(this,arguments)}}(),s=function(e,t,n){var r=document.createElement(e);return t&&(r.style.cssText=t),n&&(r.textContent=n),r},u=s("div",h),c=s("div",v);c.appendChild(s("p",m,"请输入你看到的字符:"));var k=s("div",g),A=s("img",_);A.id=r,A.src=n.captchaData,k.appendChild(A);var C=s("button",y,"刷新");C.onclick=d((0,a["default"])(o["default"].mark(function T(){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return C.textContent="加载中...",C.disabled=!0,C.style.cssText="".concat(y,";").concat(E),e.prev=3,e.next=6,i();case 6:return e.prev=6,C.textContent="刷新",C.disabled=!1,C.style.cssText=y,e.finish(6);case 11:case"end":return e.stop()}},T,null,[[3,,6,11]])})),500),k.appendChild(C),c.appendChild(k);var I=s("input",b);I.type="text",I.placeholder="输入字符",I.maxLength=4,c.appendChild(I);var S=s("div","color:#dc3545;font-size:12px;margin-bottom:10px;display:none;padding:8px;background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px");c.appendChild(S);var O=function(e){S.textContent=e,S.style.display="block"},x=s("button",w,"确定");x.onclick=d((0,a["default"])(o["default"].mark(function D(){var e,r,a;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(e=I.value.trim()){o.next=4;break}return O("请输入字符"),o.abrupt("return");case 4:return S.style.display="none",x.textContent="验证中...",x.disabled=!0,x.style.cssText="".concat(w,";").concat(E),o.prev=8,o.next=11,t.verifyCaptchaData({token:n.token,key:e});case 11:r=o.sent,f.fire(p,r),console.log("图形验证码校验成功"),document.body.removeChild(u),document.body.removeChild(c),o.next=27;break;case 18:return o.prev=18,o.t0=o["catch"](8),console.error("图形验证码校验失败",o.t0),a=o.t0.error_description||"图形验证码校验失败",O(a),I.value="",I.focus(),o.next=27,i();case 27:return o.prev=27,x.textContent="确定",x.disabled=!1,x.style.cssText=w,o.finish(27);case 32:case"end":return o.stop()}},D,null,[[8,18,27,32]])})),500),c.appendChild(x),document.body.appendChild(u),document.body.appendChild(c)};t.openURIWithCallback=function(){var e=(0,a["default"])(o["default"].mark(function t(e,n){var r,i,a,s;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,u.parseCaptcha)(e),i=r.captchaData,a=r.state,s=r.token,k({oauthInstance:n,captchaState:{captchaData:i,state:a,token:s}}),t.abrupt("return",new Promise(function(e){console.log("等待图形验证码校验结果..."),f.on(p,function(t){e(null==t?void 0:t.data)})}));case 3:case"end":return t.stop()}},t)}));return function(t,n){return e.apply(this,arguments)}}()},8028:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Captcha=void 0;var o=r(n(479)),i=r(n(4964)),a=r(n(8850)),s=r(n(1332)),u=n(4256),c=n(9502),l=n(6180),d=n(9077);t.Captcha=function(){function e(t){(0,a["default"])(this,e),t.openURIWithCallback||(t.openURIWithCallback=this.getDefaultOpenURIWithCallback()),t.storage||(t.storage=c.defaultStorage),this.config=t,this.tokenSectionName="captcha_".concat(t.clientId||t.env)}var t,n,r,f,p;return(0,s["default"])(e,[{key:"isMatch",value:function(){var e,t;return(null===(e=this.config)||void 0===e||null===(e=e.adapter)||void 0===e||null===(t=e.isMatch)||void 0===t?void 0:t.call(e))||(0,l.isMp)()}},{key:"request",value:(p=(0,i["default"])(o["default"].mark(function h(e,t){var n,r,i;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(t||(t={}),t.method||(t.method="GET"),n="".concat(t.method,":").concat(e),r=e,!t.withCaptcha){o.next=8;break}return o.next=7,this.appendCaptchaTokenToURL(e,n,!1);case 7:r=o.sent;case 8:return o.prev=8,o.next=11,this.config.request(r,t);case 11:i=o.sent,o.next=22;break;case 14:if(o.prev=14,o.t0=o["catch"](8),o.t0.error!==u.ErrorType.CAPTCHA_REQUIRED&&o.t0.error!==u.ErrorType.CAPTCHA_INVALID){o.next=21;break}return o.next=19,this.appendCaptchaTokenToURL(e,n,o.t0.error===u.ErrorType.CAPTCHA_INVALID);case 19:return e=o.sent,o.abrupt("return",this.config.request(e,t));case 21:return o.abrupt("return",Promise.reject(o.t0));case 22:return o.abrupt("return",i);case 23:case"end":return o.stop()}},h,this,[[8,14]])})),function(e,t){return p.apply(this,arguments)})},{key:"getDefaultOpenURIWithCallback",value:function(){var e=this;return function(t){return(0,d.openURIWithCallback)(t,e.config.oauthInstance)}}},{key:"getCaptchaToken",value:(f=(0,i["default"])(o["default"].mark(function v(e,t){var n,r,i,a;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(e){o.next=6;break}return o.next=3,this.findCaptchaToken();case 3:if(!(n=o.sent)){o.next=6;break}return o.abrupt("return",n);case 6:return o.next=8,this.config.request(u.ApiUrls.CAPTCHA_DATA_URL,{method:"POST",body:{state:t,redirect_uri:""},withCredentials:!1});case 8:return r=o.sent,i="".concat(r.data,"?state=").concat(encodeURIComponent(t),"&token=").concat(encodeURIComponent(r.token)),o.next=12,this.config.openURIWithCallback(i);case 12:return a=o.sent,this.saveCaptchaToken(a),o.abrupt("return",a.captcha_token);case 15:case"end":return o.stop()}},v,this)})),function(e,t){return f.apply(this,arguments)})},{key:"appendCaptchaTokenToURL",value:(r=(0,i["default"])(o["default"].mark(function m(e,t,n){var r;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this.getCaptchaToken(n,t);case 2:return r=o.sent,e.indexOf("?")>0?e+="&captcha_token=".concat(r):e+="?captcha_token=".concat(r),o.abrupt("return",e);case 5:case"end":return o.stop()}},m,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"saveCaptchaToken",value:(n=(0,i["default"])(o["default"].mark(function g(e){var t;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.expires_at=new Date(Date.now()+1e3*(e.expires_in-10)),t=JSON.stringify(e),n.next=4,this.config.storage.setItem(this.tokenSectionName,t);case 4:case"end":return n.stop()}},g,this)})),function(e){return n.apply(this,arguments)})},{key:"findCaptchaToken",value:(t=(0,i["default"])(o["default"].mark(function _(){var e,t;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.config.storage.getItem(this.tokenSectionName);case 2:if((e=n.sent)===undefined||null===e){n.next=18;break}if(n.prev=4,null!=(t=JSON.parse(e))&&t.expires_at&&(t.expires_at=new Date(t.expires_at)),!(t.expires_at<new Date)){n.next=10;break}return n.abrupt("return",null);case 10:return n.abrupt("return",t.captcha_token);case 13:return n.prev=13,n.t0=n["catch"](4),n.next=17,this.config.storage.removeItem(this.tokenSectionName);case 17:case 18:return n.abrupt("return",null);case 19:case"end":return n.stop()}},_,this,[[4,13]])})),function(){return t.apply(this,arguments)})}]),e}()},2191:function(e,t,n){"use strict";var r=n(477),o=n(9367);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AUTH_API_PREFIX",{enumerable:!0,get:function(){return l.AUTH_API_PREFIX}}),Object.defineProperty(t,"AUTH_STATE_CHANGED_TYPE",{enumerable:!0,get:function(){return l.AUTH_STATE_CHANGED_TYPE}}),Object.defineProperty(t,"Auth",{enumerable:!0,get:function(){return c.Auth}}),Object.defineProperty(t,"AuthError",{enumerable:!0,get:function(){return d.AuthError}}),Object.defineProperty(t,"AuthErrorCategory",{enumerable:!0,get:function(){return d.AuthErrorCategory}}),t.CloudbaseOAuth=void 0,Object.defineProperty(t,"DEFAULT_NODE_ACCESS_SCOPE",{enumerable:!0,get:function(){return l.DEFAULT_NODE_ACCESS_SCOPE}}),Object.defineProperty(t,"EVENTS",{enumerable:!0,get:function(){return l.EVENTS}}),Object.defineProperty(t,"LOGIN_STATE_CHANGED_TYPE",{enumerable:!0,get:function(){return l.LOGIN_STATE_CHANGED_TYPE}}),Object.defineProperty(t,"OAUTH_TYPE",{enumerable:!0,get:function(){return l.OAUTH_TYPE}}),t.authModels=void 0,Object.defineProperty(t,"weAppJwtDecodeAll",{enumerable:!0,get:function(){return p.weAppJwtDecodeAll}});var i=r(n(3852)),a=r(n(8850)),s=r(n(1332)),u=n(9502),c=n(3421),l=n(4256),d=n(9549),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{"default":e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r["default"]=e,n&&n.set(e,r),r}(n(4622));t.authModels=f;var p=n(2302);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){(0,i["default"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}t.CloudbaseOAuth=function(){function e(t){(0,a["default"])(this,e);var n=t.apiOrigin,r=t.apiPath,o=void 0===r?l.AUTH_API_PREFIX:r,i=t.clientId,s=t.env,d=t.storage,f=t.request,p=t.baseRequest,h=t.anonymousSignInFunc,v=t.wxCloud,g=t.adapter,_=t.onCredentialsError,y=t.headers,b=t.i18n,w=t.useWxCloud,E=t.eventBus,k=t.detectSessionInUrl,A=t.debug;if(this.detectSessionInUrl=null!=k&&k,this.oauth2client=new u.OAuth2Client({apiOrigin:n,apiPath:o,clientId:i,env:s,storage:d,baseRequest:p||f,anonymousSignInFunc:h,wxCloud:v,onCredentialsError:_,headers:y||{},i18n:b,useWxCloud:w,eventBus:E,debug:A}),this.authApi=new c.Auth(m(m({credentialsClient:this.oauth2client},t),{},{request:f?this.oauth2client.request.bind(this.oauth2client):undefined,adapter:g})),k)this.oauth2client.setGetInitialSession(this.authApi.getInitialSession.bind(this.authApi));else try{var C=new URL(window.location.href),I=C.searchParams.get("code"),S=C.searchParams.get("state"),O=JSON.parse(sessionStorage.getItem(S)||"null");I&&S&&null!=O&&O.hash&&(C.hash=O.hash,window.history.replaceState(null,"",C.toString()),window.location.replace(C.toString()))}catch(x){}}return(0,s["default"])(e,[{key:"initializeSession",value:function(e){this.detectSessionInUrl?(this.oauth2client.setOnInitialSessionObtained(e),this.oauth2client.initialize()):this.oauth2client.initialize(Promise.resolve({error:null}))}}]),e}()},5354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ErrorType",{enumerable:!0,get:function(){return o.ErrorType}}),t.Syntax=void 0;var r,o=n(4256);!function(e){e.CLIENT_ID="client_id",e.CLIENT_SECRET="client_secret",e.RESPONSE_TYPE="response_type",e.SCOPE="scope",e.STATE="state",e.REDIRECT_URI="redirect_uri",e.ERROR="error",e.ERROR_DESCRIPTION="error_description",e.ERROR_URI="error_uri",e.GRANT_TYPE="grant_type",e.CODE="code",e.ACCESS_TOKEN="access_token",e.TOKEN_TYPE="token_type",e.EXPIRES_IN="expires_in",e.USERNAME="username",e.PASSWORD="password",e.REFRESH_TOKEN="refresh_token"}(r||(t.Syntax=r={}))},9502:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.defaultStorage=t.defaultRequest=t.OAuth2Client=void 0,t.generateRequestId=A,t.toResponseError=void 0;var o=r(n(479)),i=r(n(1819)),a=r(n(3852)),s=r(n(8850)),u=r(n(1332)),c=r(n(4964)),l=n(5354),d=n(4256),f=n(2430),p=n(3721),h=n(2984),v=n(2302),m=n(6180),g=n(3882);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(t){(0,a["default"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var b="x-request-id",w="x-device-id",E="device_id",k=t.defaultRequest=function(){var e=(0,c["default"])(o["default"].mark(function t(e,n){var r,i,a,s,u;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=null,i=null,t.prev=2,(a=Object.assign({},n)).method||(a.method="GET"),a.body&&"string"!=typeof a.body&&(a.body=JSON.stringify(a.body)),t.next=8,fetch(e,a);case 8:return s=t.sent,t.next=11,s.json();case 11:null!=(u=t.sent)&&u.error?(i=u).error_uri=new URL(e).pathname:r=u,t.next=18;break;case 15:t.prev=15,t.t0=t["catch"](2),i={error:l.ErrorType.UNREACHABLE,error_description:t.t0.message,error_uri:new URL(e).pathname};case 18:if(!i){t.next=22;break}throw i;case 22:return t.abrupt("return",r);case 23:case"end":return t.stop()}},t,null,[[2,15]])}));return function(t,n){return e.apply(this,arguments)}}();function A(){return(0,f.uuidv4)()}t.toResponseError=function(e,t){var n,r=t||{};if(e instanceof Error)n={error:r.error||l.ErrorType.LOCAL,error_description:r.error_description||e.message,error_uri:r.error_uri,details:r.details||e.stack};else{var o=e||{};n={error:r.error||o.error||l.ErrorType.LOCAL,error_description:r.error_description||o.error_description,error_uri:r.error_uri||o.error_uri,details:r.details||o.details}}return n};var C=function(){function e(t){(0,s["default"])(this,e),this._env=(null==t?void 0:t.env)||""}var t,n,r;return(0,u["default"])(e,[{key:"getItem",value:(r=(0,c["default"])(o["default"].mark(function i(e){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",window.localStorage.getItem("".concat(e).concat(this._env)));case 1:case"end":return t.stop()}},i,this)})),function(e){return r.apply(this,arguments)})},{key:"removeItem",value:(n=(0,c["default"])(o["default"].mark(function a(e){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:window.localStorage.removeItem("".concat(e).concat(this._env));case 1:case"end":return t.stop()}},a,this)})),function(e){return n.apply(this,arguments)})},{key:"setItem",value:(t=(0,c["default"])(o["default"].mark(function l(e,t){return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:window.localStorage.setItem("".concat(e).concat(this._env),t);case 1:case"end":return n.stop()}},l,this)})),function(e,n){return t.apply(this,arguments)})},{key:"getItemSync",value:function(e){return window.localStorage.getItem("".concat(e).concat(this._env))}},{key:"removeItemSync",value:function(e){window.localStorage.removeItem("".concat(e).concat(this._env))}},{key:"setItemSync",value:function(e,t){window.localStorage.setItem("".concat(e).concat(this._env),t)}}]),e}(),I=t.defaultStorage=new C;function S(e){var t=!0;return null!=e&&e.expires_at&&null!=e&&e.access_token&&(t=e.expires_at<new Date),t}var O=function(){function e(t){(0,s["default"])(this,e),this.credentials=null,this.accessKeyCredentials=null,this.singlePromise=null,this.tokenSectionName=t.tokenSectionName,this.storage=t.storage,this.clientId=t.clientId,this.singlePromise=new h.SinglePromise({clientId:this.clientId}),this.credentials=t.credentials||null}var t,n,r;return(0,u["default"])(e,[{key:"getStorageCredentialsSync",value:function(){var e=null,t=this.storage.getItemSync(this.tokenSectionName);if(t!==undefined&&null!==t)try{var n;null!==(n=e=JSON.parse(t))&&void 0!==n&&n.expires_at&&(e.expires_at=new Date(e.expires_at))}catch(r){this.storage.removeItem(this.tokenSectionName),e=null}return e}},{key:"setCredentials",value:(r=(0,c["default"])(o["default"].mark(function i(e){var t;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(null==e||!e.expires_in){n.next=9;break}if(null!=e&&e.expires_at||(e.expires_at=new Date(Date.now()+1e3*(e.expires_in-30))),!this.storage){n.next=6;break}return t=JSON.stringify(e),n.next=6,this.storage.setItem(this.tokenSectionName,t);case 6:this.credentials=e,n.next=13;break;case 9:if(!this.storage){n.next=12;break}return n.next=12,this.storage.removeItem(this.tokenSectionName);case 12:this.credentials=null;case 13:case"end":return n.stop()}},i,this)})),function(e){return r.apply(this,arguments)})},{key:"setAccessKeyCredentials",value:function(e){this.accessKeyCredentials=e,e.scope===d.DEFAULT_NODE_ACCESS_SCOPE&&(this.credentials=e)}},{key:"getCredentials",value:(n=(0,c["default"])(o["default"].mark(function a(){var e=this;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.singlePromise.run("getCredentials",(0,c["default"])(o["default"].mark(function n(){var t,r;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!S(e.credentials)){n.next=9;break}return n.next=3,e.getStorageCredentials();case 3:if(t=n.sent,r=t.credentials,!t.isAccessKeyCredentials){n.next=8;break}return n.abrupt("return",r);case 8:e.credentials=r;case 9:return n.abrupt("return",e.credentials);case 10:case"end":return n.stop()}},n)}))));case 1:case"end":return t.stop()}},a,this)})),function(){return n.apply(this,arguments)})},{key:"getStorageCredentials",value:(t=(0,c["default"])(o["default"].mark(function l(){var e=this;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.singlePromise.run("_getStorageCredentials",(0,c["default"])(o["default"].mark(function n(){var t,r,i,a;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=null,r=!1,n.next=4,e.storage.getItem(e.tokenSectionName);case 4:if(!(i=n.sent)){n.next=18;break}n.prev=6,t=JSON.parse(i),null!==(a=t)&&void 0!==a&&a.expires_at&&(t.expires_at=new Date(t.expires_at)),n.next=16;break;case 11:return n.prev=11,n.t0=n["catch"](6),n.next=15,e.storage.removeItem(e.tokenSectionName);case 15:t=null;case 16:n.next=20;break;case 18:t=e.accessKeyCredentials||null,r=!0;case 20:return n.abrupt("return",{credentials:t,isAccessKeyCredentials:r});case 21:case"end":return n.stop()}},n,null,[[6,11]])}))));case 1:case"end":return t.stop()}},l,this)})),function(){return t.apply(this,arguments)})}]),e}(),x=t.OAuth2Client=function(){function e(t){var n,r=this;(0,s["default"])(this,e),this.initializePromise=null,this.lockAcquired=!1,this.pendingInLock=[],this.singlePromise=null,t.clientSecret||(t.clientSecret=""),!t.clientId&&t.env&&(t.clientId=t.env),this.apiOrigin=t.apiOrigin,this.apiPath=t.apiPath||d.AUTH_API_PREFIX,this.clientId=t.clientId,this.i18n=t.i18n,this.eventBus=t.eventBus,this.singlePromise=new h.SinglePromise({clientId:this.clientId}),this.retry=this.formatRetry(t.retry,e.defaultRetry),t.baseRequest?this.baseRequest=t.baseRequest:this.baseRequest=k,this.tokenInURL=t.tokenInURL,this.headers=t.headers,this.storage=t.storage||I,this.localCredentials=new O({tokenSectionName:"credentials_".concat(t.clientId),storage:this.storage,clientId:t.clientId}),this.clientSecret=t.clientSecret,t.clientId&&(this.basicAuth="Basic ".concat((0,v.weBtoa)("".concat(t.clientId,":").concat(this.clientSecret)))),this.wxCloud=t.wxCloud;try{(0,m.isMp)()&&(this.useWxCloud=t.useWxCloud,this.wxCloud===undefined&&t.env&&(wx.cloud.init({env:t.env}),this.wxCloud=wx.cloud))}catch(o){}this.refreshTokenFunc=t.refreshTokenFunc||this.defaultRefreshTokenFunc,this.anonymousSignInFunc=t.anonymousSignInFunc,this.onCredentialsError=t.onCredentialsError,this.getInitialSession=t.getInitialSession,this.onInitialSessionObtained=t.onInitialSessionObtained,this.logDebugMessages=null!==(n=t.debug)&&void 0!==n&&n,g.langEvent.bus.on(g.langEvent.LANG_CHANGE_EVENT,function(e){var t;r.i18n=(null===(t=e.data)||void 0===t?void 0:t.i18n)||r.i18n})}var t,n,r,_,C,x,T,D,P,N,R,M,L,F,U,j,B,G;return(0,u["default"])(e,[{key:"setGetInitialSession",value:function(e){this.getInitialSession=e}},{key:"setOnInitialSessionObtained",value:function(e){this.onInitialSessionObtained=e}},{key:"initialize",value:(G=(0,c["default"])(o["default"].mark(function $(e){var t=this;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!this.initializePromise){n.next=4;break}return n.next=3,this.initializePromise;case 3:case 8:case 12:return n.abrupt("return",n.sent);case 4:if(e===undefined){n.next=9;break}return this.initializePromise=e,n.next=8,this.initializePromise;case 9:return this.initializePromise=(0,c["default"])(o["default"].mark(function r(){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t._acquireLock(-1,(0,c["default"])(o["default"].mark(function n(){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t._initialize();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},n)})));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},r)}))(),n.next=12,this.initializePromise;case 13:case"end":return n.stop()}},$,this)})),function(e){return G.apply(this,arguments)})},{key:"setCredentials",value:(B=(0,c["default"])(o["default"].mark(function q(e){var t=this;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.initializePromise;case 2:return n.abrupt("return",this._acquireLock(-1,(0,c["default"])(o["default"].mark(function r(){return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",t.localCredentials.setCredentials(e));case 1:case"end":return n.stop()}},r)}))));case 3:case"end":return n.stop()}},q,this)})),function(e){return B.apply(this,arguments)})},{key:"setAccessKeyCredentials",value:function(e){return this.localCredentials.setAccessKeyCredentials(e)}},{key:"getAccessToken",value:(j=(0,c["default"])(o["default"].mark(function H(){var e,t;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.initializePromise;case 2:return n.next=4,this.getCredentials();case 4:if((null==(e=n.sent)?void 0:e.scope)!==d.DEFAULT_NODE_ACCESS_SCOPE){n.next=7;break}return n.abrupt("return",Promise.resolve(e.access_token));case 7:if(null==e||!e.access_token){n.next=9;break}return n.abrupt("return",Promise.resolve(e.access_token));case 9:return t={error:l.ErrorType.UNAUTHENTICATED},n.abrupt("return",Promise.reject(t));case 11:case"end":return n.stop()}},H,this)})),function(){return j.apply(this,arguments)})},{key:"request",value:(U=(0,c["default"])(o["default"].mark(function z(t,n){var r,i,s,u,c,d,f,p,h,v,m;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(n||(n={}),c=this.formatRetry(n.retry,this.retry),n.headers=y(y({},n.headers),{},(0,a["default"])({},null===(r=this.i18n)||void 0===r?void 0:r.LANG_HEADER_KEY,null===(i=this.i18n)||void 0===i?void 0:i.lang)),this.headers&&(n.headers=y(y({},this.headers),n.headers)),n.headers[b]||(n.headers[b]=A()),n.headers[w]){o.next=10;break}return o.next=8,this.getDeviceId();case 8:d=o.sent,n.headers[w]=d;case 10:if(null!==(s=n)&&void 0!==s&&s.withBasicAuth&&this.basicAuth&&(n.headers.Authorization=this.basicAuth),null===(u=n)||void 0===u||!u.withCredentials){o.next=25;break}if(!n.getCredentials){o.next=18;break}return o.next=15,n.getCredentials();case 15:o.t0=o.sent,o.next=21;break;case 18:return o.next=20,this.getCredentials();case 20:o.t0=o.sent;case 21:(f=o.t0)&&(this.tokenInURL?(t.indexOf("?")<0&&(t+="?"),t+="access_token=".concat(f.access_token)):n.headers.Authorization="".concat(f.token_type," ").concat(f.access_token)),o.next=26;break;case 25:this.clientId&&t.indexOf("client_id")<0&&(t+=t.indexOf("?")<0?"?":"&",t+="client_id=".concat(this.clientId));case 26:t.startsWith("/")&&(t="".concat(this.apiOrigin).concat(this.apiPath).concat(t)),p=null,h=c+1,v=0;case 30:if(!(v<h)){o.next=60;break}if(o.prev=31,!n.useWxCloud&&!this.useWxCloud){o.next=38;break}return o.next=35,this.wxCloudCallFunction(t,n);case 35:p=o.sent,o.next=41;break;case 38:return o.next=40,this.baseRequest(t,n);case 40:p=o.sent;case 41:if(null===(m=p)||void 0===m||!m.code){o.next=43;break}throw{error:p.code,error_description:p.message,error_uri:new URL(t).pathname};case 43:return o.abrupt("break",60);case 46:o.prev=46,o.t1=o["catch"](31);try{o.t1.requestId=o.t1.requestId||n.headers[b]||""}catch(g){}if(!n.withCredentials||!o.t1||o.t1.error!==l.ErrorType.UNAUTHENTICATED){o.next=53;break}return o.next=52,this.setCredentials(null);case 52:return o.abrupt("return",Promise.reject(o.t1));case 53:if(v!==c&&o.t1&&"unreachable"===o.t1.error){o.next=55;break}return o.abrupt("return",Promise.reject(o.t1));case 55:return o.next=57,this.sleep(e.retryInterval);case 57:v++,o.next=30;break;case 60:return o.abrupt("return",p);case 61:case"end":return o.stop()}},z,this,[[31,46]])})),function(e,t){return U.apply(this,arguments)})},{key:"wxCloudCallFunction",value:(F=(0,c["default"])(o["default"].mark(function W(e,t){var n,r,i,a,s,u;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=null,r=null,o.prev=2,a="",o.prev=4,o.next=7,wx.getRendererUserAgent();case 7:a=o.sent,o.next=12;break;case 10:o.prev=10,o.t0=o["catch"](4);case 12:return o.next=14,this.wxCloud.callFunction({name:"httpOverCallFunction",data:{url:e,method:t.method,headers:y({origin:"https://servicewechat.com","User-Agent":a},t.headers),body:t.body}});case 14:s=o.sent,null!=(u=s.result)&&null!==(i=u.body)&&void 0!==i&&i.error_code?(r=null==u?void 0:u.body).error_uri=(0,p.getPathName)(e):n=null==u?void 0:u.body,o.next=22;break;case 19:o.prev=19,o.t1=o["catch"](2),r={error:l.ErrorType.UNREACHABLE,error_description:o.t1.message,error_uri:(0,p.getPathName)(e)};case 22:if(!r){o.next=26;break}throw r;case 26:return o.abrupt("return",n);case 27:case"end":return o.stop()}},W,this,[[2,19],[4,10]])})),function(e,t){return F.apply(this,arguments)})},{key:"getCredentials",value:(L=(0,c["default"])(o["default"].mark(function V(){var e=this;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.initializePromise;case 2:return t.abrupt("return",this._acquireLock(-1,(0,c["default"])(o["default"].mark(function n(){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e._getCredentials());case 1:case"end":return t.stop()}},n)}))));case 3:case"end":return t.stop()}},V,this)})),function(){return L.apply(this,arguments)})},{key:"getCredentialsSync",value:function(){return this.localCredentials.getStorageCredentialsSync()}},{key:"getCredentialsAsync",value:function(){return this.getCredentials()}},{key:"getScope",value:(M=(0,c["default"])(o["default"].mark(function Y(){var e,t,n;return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.localCredentials.getCredentials();case 2:if(e=r.sent){r.next=7;break}return n="credentials not found",null===(t=this.onCredentialsError)||void 0===t||t.call(this,{msg:n}),r.abrupt("return",this.unAuthenticatedError(n));case 7:return r.abrupt("return",e.scope);case 8:case"end":return r.stop()}},Y,this)})),function(){return M.apply(this,arguments)})},{key:"getGroups",value:(R=(0,c["default"])(o["default"].mark(function K(){var e,t,n;return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.localCredentials.getCredentials();case 2:if(e=r.sent){r.next=7;break}return n="credentials not found",null===(t=this.onCredentialsError)||void 0===t||t.call(this,{msg:n}),r.abrupt("return",this.unAuthenticatedError(n));case 7:return r.abrupt("return",e.groups);case 8:case"end":return r.stop()}},K,this)})),function(){return R.apply(this,arguments)})},{key:"refreshToken",value:(N=(0,c["default"])(o["default"].mark(function X(e,t){var n=this;return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.initializePromise;case 2:return r.abrupt("return",this._acquireLock(-1,(0,c["default"])(o["default"].mark(function i(){return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",n._refreshToken(e,t));case 1:case"end":return r.stop()}},i)}))));case 3:case"end":return r.stop()}},X,this)})),function(e,t){return N.apply(this,arguments)})},{key:"_refreshToken",value:(P=(0,c["default"])(o["default"].mark(function Q(e,t){var n=this;return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.singlePromise.run("_refreshToken",(0,c["default"])(o["default"].mark(function i(){var r,a,s,u,c,f,p;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if((null==e?void 0:e.scope)!==d.DEFAULT_NODE_ACCESS_SCOPE){o.next=2;break}return o.abrupt("return",e);case 2:if(e&&e.refresh_token){o.next=6;break}return a="no refresh token found in credentials",null===(r=n.onCredentialsError)||void 0===r||r.call(n,{msg:a}),o.abrupt("return",n.unAuthenticatedError(a));case 6:return o.prev=6,o.next=9,n.refreshTokenFunc(e.refresh_token,e);case 9:return u=o.sent,o.next=12,n.localCredentials.setCredentials(u);case 12:return null===(s=n.eventBus)||void 0===s||s.fire(d.EVENTS.AUTH_STATE_CHANGED,{event:d.AUTH_STATE_CHANGED_TYPE.TOKEN_REFRESHED}),o.abrupt("return",u);case 16:if(o.prev=16,o.t0=o["catch"](6),null==t||!t.throwError){o.next=20;break}throw o.t0;case 20:if(o.t0.error!==l.ErrorType.INVALID_GRANT){o.next=26;break}return o.next=23,n.localCredentials.setCredentials(null);case 23:return p=o.t0.error_description,null===(f=n.onCredentialsError)||void 0===f||f.call(n,{msg:p}),o.abrupt("return",n.unAuthenticatedError(p));case 26:return null===(c=n.onCredentialsError)||void 0===c||c.call(n,{msg:o.t0.error_description}),o.abrupt("return",Promise.reject(o.t0));case 28:case"end":return o.stop()}},i,null,[[6,16]])}))));case 1:case"end":return r.stop()}},Q,this)})),function(e,t){return P.apply(this,arguments)})},{key:"anonymousLogin",value:(D=(0,c["default"])(o["default"].mark(function J(e){var t=this;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.singlePromise.run("_anonymousLogin",(0,c["default"])(o["default"].mark(function r(){var n;return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!t.anonymousSignInFunc){r.next=12;break}return r.next=3,t.anonymousSignInFunc(e);case 3:if(n=r.sent,r.t0=n,r.t0){r.next=9;break}return r.next=8,t.localCredentials.getCredentials();case 8:r.t0=r.sent;case 9:e=r.t0,r.next=15;break;case 12:return r.next=14,t.anonymousSignIn(e);case 14:e=r.sent;case 15:return r.abrupt("return",e);case 16:case"end":return r.stop()}},r)}))));case 1:case"end":return n.stop()}},J,this)})),function(e){return D.apply(this,arguments)})},{key:"checkRetry",value:function(t){var n=null;if(("number"!=typeof t||t<e.minRetry||t>e.maxRetry)&&(n={error:l.ErrorType.UNREACHABLE,error_description:"wrong options param: retry"}),n)throw n;return t}},{key:"formatRetry",value:function(e,t){return void 0===e?t:this.checkRetry(e)}},{key:"sleep",value:(T=(0,c["default"])(o["default"].mark(function Z(e){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t){setTimeout(function(){t()},e)}));case 1:case"end":return t.stop()}},Z)})),function(e){return T.apply(this,arguments)})},{key:"anonymousSignIn",value:(x=(0,c["default"])(o["default"].mark(function ee(e){var t=this;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.singlePromise.run("_anonymous",(0,c["default"])(o["default"].mark(function r(){var n;return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(e&&"anonymous"===e.scope){r.next=2;break}return r.abrupt("return",t.unAuthenticatedError("no anonymous in credentials"));case 2:return r.prev=2,r.next=5,t.request(d.ApiUrls.AUTH_SIGN_IN_ANONYMOUSLY_URL,{method:"POST",withBasicAuth:!0,body:{}});case 5:return n=r.sent,r.next=8,t.localCredentials.setCredentials(n);case 8:return r.abrupt("return",n);case 11:if(r.prev=11,r.t0=r["catch"](2),r.t0.error!==l.ErrorType.INVALID_GRANT){r.next=17;break}return r.next=16,t.localCredentials.setCredentials(null);case 16:return r.abrupt("return",t.unAuthenticatedError(r.t0.error_description));case 17:return r.abrupt("return",Promise.reject(r.t0));case 18:case"end":return r.stop()}},r,null,[[2,11]])}))));case 1:case"end":return n.stop()}},ee,this)})),function(e){return x.apply(this,arguments)})},{key:"defaultRefreshTokenFunc",value:(C=(0,c["default"])(o["default"].mark(function te(e,t){var n,r,i,a;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(e!==undefined&&""!==e){o.next=4;break}return r="refresh token not found",null===(n=this.onCredentialsError)||void 0===n||n.call(this,{msg:r}),o.abrupt("return",this.unAuthenticatedError(r));case 4:return i=d.ApiUrls.AUTH_TOKEN_URL,"v2"===(null==t?void 0:t.version)&&(i=d.ApiUrlsV2.AUTH_TOKEN_URL),o.next=8,this.request(i,{method:"POST",body:{client_id:this.clientId,client_secret:this.clientSecret,grant_type:"refresh_token",refresh_token:e}});case 8:return a=o.sent,o.abrupt("return",y(y({},a),{},{version:(null==t?void 0:t.version)||"v1"}));case 10:case"end":return o.stop()}},te,this)})),function(e,t){return C.apply(this,arguments)})},{key:"getDeviceId",value:(_=(0,c["default"])(o["default"].mark(function ne(){var e;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.deviceID){t.next=2;break}return t.abrupt("return",this.deviceID);case 2:return t.next=4,this.storage.getItem(E);case 4:if("string"==typeof(e=t.sent)&&e.length>=16&&e.length<=48){t.next=9;break}return e=(0,f.uuidv4)(),t.next=9,this.storage.setItem(E,e);case 9:return this.deviceID=e,t.abrupt("return",e);case 11:case"end":return t.stop()}},ne,this)})),function(){return _.apply(this,arguments)})},{key:"unAuthenticatedError",value:function(e){var t={error:l.ErrorType.UNAUTHENTICATED,error_description:e};return Promise.reject(t)}},{key:"_debug",value:function(){if(this.logDebugMessages){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,["[OAuth2Client]"].concat(n))}}},{key:"_initialize",value:(r=(0,c["default"])(o["default"].mark(function re(){var e,t,n;return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,this.getInitialSession){r.next=4;break}return this._debug("#_initialize()","no getInitialSession callback set, skipping"),r.abrupt("return",{error:null});case 4:return this._debug("#_initialize()","calling getInitialSession callback"),r.prev=5,r.next=8,this.getInitialSession();case 8:if(e=r.sent,t=e.data,n=e.error,null==t||!t.session){r.next=15;break}return this._debug("#_initialize()","session obtained from getInitialSession",t.session),r.next=15,this.localCredentials.setCredentials(null==t?void 0:t.session);case 15:if(!this.onInitialSessionObtained){r.next=25;break}return this._debug("#_initialize()","calling onInitialSessionObtained callback"),r.prev=17,r.next=20,this.onInitialSessionObtained(t,n);case 20:r.next=25;break;case 22:r.prev=22,r.t0=r["catch"](17),this._debug("#_initialize()","error in onInitialSessionObtained",r.t0);case 25:if(!n){r.next=28;break}return this._debug("#_initialize()","error from getInitialSession",n),r.abrupt("return",{error:n});case 28:return r.abrupt("return",{error:null});case 31:return r.prev=31,r.t1=r["catch"](5),this._debug("#_initialize()","exception during getInitialSession",r.t1),r.abrupt("return",{error:r.t1 instanceof Error?r.t1:new Error(String(r.t1))});case 35:r.next=41;break;case 37:return r.prev=37,r.t2=r["catch"](0),this._debug("#_initialize()","unexpected error",r.t2),r.abrupt("return",{error:r.t2 instanceof Error?r.t2:new Error(String(r.t2))});case 41:return r.prev=41,this._debug("#_initialize()","end"),r.finish(41);case 44:case"end":return r.stop()}},re,this,[[0,37,41,44],[5,31],[17,22]])})),function(){return r.apply(this,arguments)})},{key:"_acquireLock",value:(n=(0,c["default"])(o["default"].mark(function oe(e,t){var n,r,a,s;return o["default"].wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(this._debug("#_acquireLock","begin",e),u.prev=1,!this.lockAcquired){u.next=7;break}return n=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),r=(0,c["default"])(o["default"].mark(function l(){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:return e.next=4,t();case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},l)}))(),this.pendingInLock.push((0,c["default"])(o["default"].mark(function d(){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r;case 3:e.next=7;break;case 5:e.prev=5,e.t0=e["catch"](0);case 7:case"end":return e.stop()}},d,null,[[0,5]])}))()),u.abrupt("return",r);case 7:return this._debug("#_acquireLock","acquiring lock for client",this.clientId),u.prev=8,this.lockAcquired=!0,a=t(),this.pendingInLock.push((0,c["default"])(o["default"].mark(function f(){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a;case 3:e.next=7;break;case 5:e.prev=5,e.t0=e["catch"](0);case 7:case"end":return e.stop()}},f,null,[[0,5]])}))()),u.next=14,a;case 14:if(!this.pendingInLock.length){u.next=21;break}return s=(0,i["default"])(this.pendingInLock),u.next=18,Promise.all(s);case 18:this.pendingInLock.splice(0,s.length),u.next=14;break;case 21:return u.next=23,a;case 23:return u.abrupt("return",u.sent);case 24:return u.prev=24,this._debug("#_acquireLock","releasing lock for client",this.clientId),this.lockAcquired=!1,u.finish(24);case 28:return u.prev=28,this._debug("#_acquireLock","end"),u.finish(28);case 31:case"end":return u.stop()}},oe,this,[[1,,28,31],[8,,24,28]])})),function(e,t){return n.apply(this,arguments)})},{key:"_getCredentials",value:(t=(0,c["default"])(o["default"].mark(function ie(){var e,t,n,r,i,a;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this.localCredentials.getCredentials();case 2:if((e=o.sent).scope!==d.DEFAULT_NODE_ACCESS_SCOPE){o.next=5;break}return o.abrupt("return",e);case 5:if(e){o.next=9;break}return n="credentials not found",null===(t=this.onCredentialsError)||void 0===t||t.call(this,{msg:n}),o.abrupt("return",this.unAuthenticatedError(n));case 9:if(!S(e)){o.next=38;break}if(!e.refresh_token){o.next=29;break}return o.prev=11,o.next=14,this._refreshToken(e);case 14:case 22:e=o.sent,o.next=27;break;case 17:if(o.prev=17,o.t0=o["catch"](11),"anonymous"!==e.scope){o.next=25;break}return o.next=22,this.anonymousLogin(e);case 25:return null===(r=this.onCredentialsError)||void 0===r||r.call(this,{msg:o.t0.error_description}),o.abrupt("return",Promise.reject(o.t0));case 27:o.next=38;break;case 29:if("anonymous"!==e.scope){o.next=35;break}return o.next=32,this.anonymousLogin(e);case 32:e=o.sent,o.next=38;break;case 35:return a="no refresh token found in credentials",null===(i=this.onCredentialsError)||void 0===i||i.call(this,{msg:a}),o.abrupt("return",this.unAuthenticatedError(a));case 38:return o.abrupt("return",e);case 39:case"end":return o.stop()}},ie,this,[[11,17]])})),function(){return t.apply(this,arguments)})}]),e}();x.defaultRetry=2,x.minRetry=0,x.maxRetry=5,x.retryInterval=1e3},2302:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64_url_decode=i,t.weAppJwtDecodeAll=function(e){if("string"!=typeof e)throw new Error("Invalid token specified");try{var t=e.split(".").map(function(e,t){return 2===t?e:JSON.parse(i(e))});return{claims:t[1],header:t[0],signature:t[2]}}catch(n){throw new Error("Invalid token specified: ".concat(n)?n.message:0)}},t.weAtob=void 0,t.weBtoa=function(e){var t,r,o,i;e=String(e);for(var a="",s=0,u=e.length%3;s<e.length;){if((r=e.charCodeAt(s++))>255||(o=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255)throw new TypeError("Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.");t=r<<16|o<<8|i,a+=n.charAt(t>>18&63)+n.charAt(t>>12&63)+n.charAt(t>>6&63)+n.charAt(63&t)}return u?a.slice(0,u-3)+"===".substring(u):a},t.weappJwtDecode=function(e,t){if("string"!=typeof e)throw new Error("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(i(e.split(".")[n]))}catch(r){throw new Error("Invalid token specified: ".concat(r)?r.message:0)}};var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/,o=t.weAtob=function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!r.test(e))throw new TypeError("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var o,i,a="",s=0;s<e.length;)t=n.indexOf(e.charAt(s++))<<18|n.indexOf(e.charAt(s++))<<12|(o=n.indexOf(e.charAt(s++)))<<6|(i=n.indexOf(e.charAt(s++))),a+=64===o?String.fromCharCode(t>>16&255):64===i?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return a};function i(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("Illegal base64url string!")}try{return function(e){return decodeURIComponent(o(e).replace(/(.)/g,function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0".concat(t)),"%".concat(t)}))}(t)}catch(n){return o(t)}}},5144:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.getEncryptInfo=void 0;var o=r(n(9367)),i=r(n(7869)),a=n(3721);t.getEncryptInfo=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=e.publicKey,n=void 0===t?"":t,r=e.payload,s=void 0===r?{}:r;if(!n)return"";try{var u=(0,a.deepClone)(s),c=new i["default"];return c.setPublicKey(n),c.encryptLong("object"===(0,o["default"])(u)?JSON.stringify(u):u)}catch(l){console.error("encrypt error:",l)}return""}},7869:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o,i=r(n(274)),a=r(n(9499)),s=r(n(6577)),u=r(n(8850)),c=r(n(1332));function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,s["default"])(e);if(t){var o=(0,s["default"])(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a["default"])(this,n)}}if(!globalThis.IS_MP_BUILD){var d,f,p,h=function(e){return D.charAt(e)},v=function(e,t){return e&t},m=function(e,t){return e|t},g=function(e,t){return e^t},_=function(e,t){return e&~t},y=function(e){if(0==e)return-1;var t=0;return 65535&e||(e>>=16,t+=16),255&e||(e>>=8,t+=8),15&e||(e>>=4,t+=4),3&e||(e>>=2,t+=2),1&e||++t,t},b=function(e){for(var t=0;0!=e;)e&=e-1,++t;return t},w=function(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=P.charAt(n>>6)+P.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=P.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=P.charAt(n>>2)+P.charAt((3&n)<<4));(3&r.length)>0;)r+=N;return r},E=function(e){var t,n="",r=0,o=0;for(t=0;t<e.length&&e.charAt(t)!=N;++t){var i=P.indexOf(e.charAt(t));i<0||(0==r?(n+=h(i>>2),o=3&i,r=1):1==r?(n+=h(o<<2|i>>4),o=15&i,r=2):2==r?(n+=h(o),n+=h(i>>2),o=3&i,r=3):(n+=h(o<<2|i>>4),n+=h(15&i),r=0))}return 1==r&&(n+=h(o<<2)),n},k=function(e,t){return e.length>t&&(e=e.substring(0,t)+U),e},A=function(){return new W(null)},C=function(e,t){return new W(e,t)},I=function(e,t){var n=Z[e.charCodeAt(t)];return null==n?-1:n},S=function(e){var t=A();return t.fromInt(e),t},O=function(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n},x=function(){if(null==ee){for(ee=new ne;te<re;){var e=Math.floor(65536*Math.random());oe[te++]=255&e}for(ee.init(oe),te=0;te<oe.length;++te)oe[te]=0;te=0}return ee.next()},T="undefined"!=typeof globalThis?globalThis.navigator:window.globalThis,D="0123456789abcdefghijklmnopqrstuvwxyz",P="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",N="=",R={decode:function(e){var t;if(d===undefined){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(d={},t=0;t<16;++t)d[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)d[n.charAt(t)]=t;for(t=0;t<8;++t)d[r.charAt(t)]=-1}var o=[],i=0,a=0;for(t=0;t<e.length;++t){var s=e.charAt(t);if("="==s)break;if(-1!=(s=d[s])){if(s===undefined)throw new Error("Illegal character at offset "+t);i|=s,++a>=2?(o[o.length]=i,i=0,a=0):i<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return o}},M={decode:function(e){var t;if(f===undefined){var n="= \f\n\r\t \u2028\u2029";for(f=Object.create(null),t=0;t<64;++t)f["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(t=0;t<9;++t)f[n.charAt(t)]=-1}var r=[],o=0,i=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if("="==a)break;if(-1!=(a=f[a])){if(a===undefined)throw new Error("Illegal character at offset "+t);o|=a,++i>=4?(r[r.length]=o>>16,r[r.length]=o>>8&255,r[r.length]=255&o,o=0,i=0):o<<=6}}switch(i){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=o>>10;break;case 3:r[r.length]=o>>16,r[r.length]=o>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=M.re.exec(e);if(t)if(t[1])e=t[1];else{if(!t[2])throw new Error("RegExp out of sync");e=t[2]}return M.decode(e)}},L=1e13,F=function(){function e(t){(0,u["default"])(this,e),this.buf=[+t||0]}return(0,c["default"])(e,[{key:"mulAdd",value:function(e,t){var n,r,o=this.buf,i=o.length;for(n=0;n<i;++n)(r=o[n]*e+t)<L?t=0:r-=(t=0|r/L)*L,o[n]=r;t>0&&(o[n]=t)}},{key:"sub",value:function(e){var t,n,r=this.buf,o=r.length;for(t=0;t<o;++t)(n=r[t]-e)<0?(n+=L,e=1):e=0,r[t]=n;for(;0===r[r.length-1];)r.pop()}},{key:"toString",value:function(e){if(10!=(e||10))throw new Error("only base 10 is supported");for(var t=this.buf,n=t[t.length-1].toString(),r=t.length-2;r>=0;--r)n+=(L+t[r]).toString().substring(1);return n}},{key:"valueOf",value:function(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*L+e[n];return t}},{key:"simplify",value:function(){var e=this.buf;return 1==e.length?e[0]:this}}]),e}(),U="…",j=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,B=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,G=function(){function e(t,n){(0,u["default"])(this,e),this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=n)}return(0,c["default"])(e,[{key:"get",value:function(e){if(e===undefined&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset "+e+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(e):this.enc[e]}},{key:"hexByte",value:function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)}},{key:"hexDump",value:function(e,t,n){for(var r="",o=e;o<t;++o)if(r+=this.hexByte(this.get(o)),!0!==n)switch(15&o){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r}},{key:"isASCII",value:function(e,t){for(var n=e;n<t;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0}},{key:"parseStringISO",value:function(e,t){for(var n="",r=e;r<t;++r)n+=String.fromCharCode(this.get(r));return n}},{key:"parseStringUTF",value:function(e,t){for(var n="",r=e;r<t;){var o=this.get(r++);n+=o<128?String.fromCharCode(o):o>191&&o<224?String.fromCharCode((31&o)<<6|63&this.get(r++)):String.fromCharCode((15&o)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n}},{key:"parseStringBMP",value:function(e,t){for(var n,r,o="",i=e;i<t;)n=this.get(i++),r=this.get(i++),o+=String.fromCharCode(n<<8|r);return o}},{key:"parseTime",value:function(e,t,n){var r=this.parseStringISO(e,t),o=(n?j:B).exec(r);return o?(n&&(o[1]=+o[1],o[1]+=+o[1]<70?2e3:1900),r=o[1]+"-"+o[2]+"-"+o[3]+" "+o[4],o[5]&&(r+=":"+o[5],o[6]&&(r+=":"+o[6],o[7]&&(r+="."+o[7]))),o[8]&&(r+=" UTC","Z"!=o[8]&&(r+=o[8],o[9]&&(r+=":"+o[9]))),r):"Unrecognized time: "+r}},{key:"parseInteger",value:function(e,t){for(var n,r=this.get(e),o=r>127,i=o?255:0,a="";r==i&&++e<t;)r=this.get(e);if(0===(n=t-e))return o?-1:0;if(n>4){for(a=r,n<<=3;!(128&(+a^i));)a=+a<<1,--n;a="("+n+" bit)\n"}o&&(r-=256);for(var s=new F(r),u=e+1;u<t;++u)s.mulAdd(256,this.get(u));return a+s.toString()}},{key:"parseBitString",value:function(e,t,n){for(var r=this.get(e),o="("+((t-e-1<<3)-r)+" bit)\n",i="",a=e+1;a<t;++a){for(var s=this.get(a),u=a==t-1?r:0,c=7;c>=u;--c)i+=s>>c&1?"1":"0";if(i.length>n)return o+k(i,n)}return o+i}},{key:"parseOctetString",value:function(e,t,n){if(this.isASCII(e,t))return k(this.parseStringISO(e,t),n);var r=t-e,o="("+r+" byte)\n";r>(n/=2)&&(t=e+n);for(var i=e;i<t;++i)o+=this.hexByte(this.get(i));return r>n&&(o+=U),o}},{key:"parseOID",value:function(e,t,n){for(var r="",o=new F,i=0,a=e;a<t;++a){var s=this.get(a);if(o.mulAdd(128,127&s),i+=7,!(128&s)){if(""===r)if((o=o.simplify())instanceof F)o.sub(80),r="2."+o.toString();else{var u=o<80?o<40?0:1:2;r=u+"."+(o-40*u)}else r+="."+o.toString();if(r.length>n)return k(r,n);o=new F,i=0}}return i>0&&(r+=".incomplete"),r}}]),e}(),$=function(){function e(t,n,r,o,i){if((0,u["default"])(this,e),!(o instanceof q))throw new Error("Invalid tag value.");this.stream=t,this.header=n,this.length=r,this.tag=o,this.sub=i}return(0,c["default"])(e,[{key:"typeName",value:function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}}},{key:"content",value:function(e){if(this.tag===undefined)return null;e===undefined&&(e=Infinity);var t=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(t)?"false":"true";case 2:return this.stream.parseInteger(t,t+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);case 6:return this.stream.parseOID(t,t+n,e);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return k(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return k(this.stream.parseStringISO(t,t+n),e);case 30:return k(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null}},{key:"toString",value:function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"}},{key:"toPrettyString",value:function(e){e===undefined&&(e="");var t=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(t+=" (encapsulates)"),t+="\n",null!==this.sub){e+=" ";for(var n=0,r=this.sub.length;n<r;++n)t+=this.sub[n].toPrettyString(e)}return t}},{key:"posStart",value:function(){return this.stream.pos}},{key:"posContent",value:function(){return this.stream.pos+this.header}},{key:"posEnd",value:function(){return this.stream.pos+this.header+Math.abs(this.length)}},{key:"toHexString",value:function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)}},{key:"getHexStringValue",value:function(){var e=this.toHexString(),t=2*this.header,n=2*this.length;return e.substr(t,n)}}],[{key:"decodeLength",value:function(e){var t=e.get(),n=127&t;if(n==t)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(0===n)return null;t=0;for(var r=0;r<n;++r)t=256*t+e.get();return t}},{key:"decode",value:function(t){var n;n=t instanceof G?t:new G(t,0);var r=new G(n),o=new q(n),i=e.decodeLength(n),a=n.pos,s=a-r.pos,u=null,c=function(){var t=[];if(null!==i){for(var r=a+i;n.pos<r;)t[t.length]=e.decode(n);if(n.pos!=r)throw new Error("Content size is not correct for container starting at offset "+a)}else try{for(;;){var o=e.decode(n);if(o.tag.isEOC())break;t[t.length]=o}i=a-n.pos}catch(s){throw new Error("Exception while decoding undefined length content: "+s)}return t};if(o.tagConstructed)u=c();else if(o.isUniversal()&&(3==o.tagNumber||4==o.tagNumber))try{if(3==o.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");u=c();for(var l=0;l<u.length;++l)if(u[l].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(d){u=null}if(null===u){if(null===i)throw new Error("We can't skip over an invalid tag with undefined length at offset "+a);n.pos=a+Math.abs(i)}return new e(r,s,i,o,u)}}]),e}(),q=function(){function e(t){(0,u["default"])(this,e);var n=t.get();if(this.tagClass=n>>6,this.tagConstructed=!!(32&n),this.tagNumber=31&n,31==this.tagNumber){var r=new F;do{n=t.get(),r.mulAdd(128,127&n)}while(128&n);this.tagNumber=r.simplify()}}return(0,c["default"])(e,[{key:"isUniversal",value:function(){return 0===this.tagClass}},{key:"isEOC",value:function(){return 0===this.tagClass&&0===this.tagNumber}}]),e}(),H=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],z=(1<<26)/H[H.length-1],W=function(){function e(t,n,r){(0,u["default"])(this,e),null!=t&&("number"==typeof t?this.fromNumber(t,n,r):null==n&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,n))}return(0,c["default"])(e,[{key:"toString",value:function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,o=!1,i="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(o=!0,i=h(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(o=!0),o&&(i+=h(n));return o?i:"0"}},{key:"negate",value:function(){var t=A();return e.ZERO.subTo(this,t),t}},{key:"abs",value:function(){return this.s<0?this.negate():this}},{key:"compareTo",value:function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0}},{key:"bitLength",value:function(){return this.t<=0?0:this.DB*(this.t-1)+O(this[this.t-1]^this.s&this.DM)}},{key:"mod",value:function(t){var n=A();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n}},{key:"modPowInt",value:function(e,t){var n;return n=e<256||t.isEven()?new Y(t):new K(t),this.exp(e,n)}},{key:"clone",value:function(){var e=A();return this.copyTo(e),e}},{key:"intValue",value:function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}},{key:"byteValue",value:function(){return 0==this.t?this.s:this[0]<<24>>24}},{key:"shortValue",value:function(){return 0==this.t?this.s:this[0]<<16>>16}},{key:"signum",value:function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}},{key:"toByteArray",value:function(){var e=this.t,t=[];t[0]=this.s;var n,r=this.DB-e*this.DB%8,o=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[o++]=n|this.s<<this.DB-r);e>=0;)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),128&n&&(n|=-256),0==o&&(128&this.s)!=(128&n)&&++o,(o>0||n!=this.s)&&(t[o++]=n);return t}},{key:"equals",value:function(e){return 0==this.compareTo(e)}},{key:"min",value:function(e){return this.compareTo(e)<0?this:e}},{key:"max",value:function(e){return this.compareTo(e)>0?this:e}},{key:"and",value:function(e){var t=A();return this.bitwiseTo(e,v,t),t}},{key:"or",value:function(e){var t=A();return this.bitwiseTo(e,m,t),t}},{key:"xor",value:function(e){var t=A();return this.bitwiseTo(e,g,t),t}},{key:"andNot",value:function(e){var t=A();return this.bitwiseTo(e,_,t),t}},{key:"not",value:function(){for(var e=A(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}},{key:"shiftLeft",value:function(e){var t=A();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}},{key:"shiftRight",value:function(e){var t=A();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}},{key:"getLowestSetBit",value:function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+y(this[e]);return this.s<0?this.t*this.DB:-1}},{key:"bitCount",value:function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=b(this[n]^t);return e}},{key:"testBit",value:function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:!!(this[t]&1<<e%this.DB)}},{key:"setBit",value:function(e){return this.changeBit(e,m)}},{key:"clearBit",value:function(e){return this.changeBit(e,_)}},{key:"flipBit",value:function(e){return this.changeBit(e,g)}},{key:"add",value:function(e){var t=A();return this.addTo(e,t),t}},{key:"subtract",value:function(e){var t=A();return this.subTo(e,t),t}},{key:"multiply",value:function(e){var t=A();return this.multiplyTo(e,t),t}},{key:"divide",value:function(e){var t=A();return this.divRemTo(e,t,null),t}},{key:"remainder",value:function(e){var t=A();return this.divRemTo(e,null,t),t}},{key:"divideAndRemainder",value:function(e){var t=A(),n=A();return this.divRemTo(e,t,n),[t,n]}},{key:"modPow",value:function(e,t){var n,r,o=e.bitLength(),i=S(1);if(o<=0)return i;n=o<18?1:o<48?3:o<144?4:o<768?5:6,r=o<8?new Y(t):t.isEven()?new X(t):new K(t);var a=[],s=3,u=n-1,c=(1<<n)-1;if(a[1]=r.convert(this),n>1){var l=A();for(r.sqrTo(a[1],l);s<=c;)a[s]=A(),r.mulTo(l,a[s-2],a[s]),s+=2}var d,f,p=e.t-1,h=!0,v=A();for(o=O(e[p])-1;p>=0;){for(o>=u?d=e[p]>>o-u&c:(d=(e[p]&(1<<o+1)-1)<<u-o,p>0&&(d|=e[p-1]>>this.DB+o-u)),s=n;!(1&d);)d>>=1,--s;if((o-=s)<0&&(o+=this.DB,--p),h)a[d].copyTo(i),h=!1;else{for(;s>1;)r.sqrTo(i,v),r.sqrTo(v,i),s-=2;s>0?r.sqrTo(i,v):(f=i,i=v,v=f),r.mulTo(v,a[d],i)}for(;p>=0&&!(e[p]&1<<o);)r.sqrTo(i,v),f=i,i=v,v=f,--o<0&&(o=this.DB-1,--p)}return r.revert(i)}},{key:"modInverse",value:function(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var r=t.clone(),o=this.clone(),i=S(1),a=S(0),s=S(0),u=S(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(i.isEven()&&a.isEven()||(i.addTo(this,i),a.subTo(t,a)),i.rShiftTo(1,i)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;o.isEven();)o.rShiftTo(1,o),n?(s.isEven()&&u.isEven()||(s.addTo(this,s),u.subTo(t,u)),s.rShiftTo(1,s)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);r.compareTo(o)>=0?(r.subTo(o,r),n&&i.subTo(s,i),a.subTo(u,a)):(o.subTo(r,o),n&&s.subTo(i,s),u.subTo(a,u))}return 0!=o.compareTo(e.ONE)?e.ZERO:u.compareTo(t)>=0?u.subtract(t):u.signum()<0?(u.addTo(t,u),u.signum()<0?u.add(t):u):u}},{key:"pow",value:function(e){return this.exp(e,new V)}},{key:"gcd",value:function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var o=t.getLowestSetBit(),i=n.getLowestSetBit();if(i<0)return t;for(o<i&&(i=o),i>0&&(t.rShiftTo(i,t),n.rShiftTo(i,n));t.signum()>0;)(o=t.getLowestSetBit())>0&&t.rShiftTo(o,t),(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return i>0&&n.lShiftTo(i,n),n}},{key:"isProbablePrime",value:function(e){var t,n=this.abs();if(1==n.t&&n[0]<=H[H.length-1]){for(t=0;t<H.length;++t)if(n[0]==H[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<H.length;){for(var r=H[t],o=t+1;o<H.length&&r<z;)r*=H[o++];for(r=n.modInt(r);t<o;)if(r%H[t++]==0)return!1}return n.millerRabin(e)}},{key:"copyTo",value:function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}},{key:"fromInt",value:function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}},{key:"fromString",value:function(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var o=t.length,i=!1,a=0;--o>=0;){var s=8==r?255&+t[o]:I(t,o);s<0?"-"==t.charAt(o)&&(i=!0):(i=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB))}8==r&&128&+t[0]&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),i&&e.ZERO.subTo(this,this)}},{key:"clamp",value:function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}},{key:"dlShiftTo",value:function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}},{key:"drShiftTo",value:function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}},{key:"lShiftTo",value:function(e,t){for(var n=e%this.DB,r=this.DB-n,o=(1<<r)-1,i=Math.floor(e/this.DB),a=this.s<<n&this.DM,s=this.t-1;s>=0;--s)t[s+i+1]=this[s]>>r|a,a=(this[s]&o)<<n;for(s=i-1;s>=0;--s)t[s]=0;t[i]=a,t.t=this.t+i+1,t.s=this.s,t.clamp()}},{key:"rShiftTo",value:function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,o=this.DB-r,i=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&i)<<o,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&i)<<o),t.t=this.t-n,t.clamp()}}},{key:"subTo",value:function(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}},{key:"multiplyTo",value:function(t,n){var r=this.abs(),o=t.abs(),i=r.t;for(n.t=i+o.t;--i>=0;)n[i]=0;for(i=0;i<o.t;++i)n[i+r.t]=r.am(0,o[i],n,i,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)}},{key:"squareTo",value:function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}},{key:"divRemTo",value:function(t,n,r){var o=t.abs();if(!(o.t<=0)){var i=this.abs();if(i.t<o.t)return null!=n&&n.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=A());var a=A(),s=this.s,u=t.s,c=this.DB-O(o[o.t-1]);c>0?(o.lShiftTo(c,a),i.lShiftTo(c,r)):(o.copyTo(a),i.copyTo(r));var l=a.t,d=a[l-1];if(0!=d){var f=d*(1<<this.F1)+(l>1?a[l-2]>>this.F2:0),p=this.FV/f,h=(1<<this.F1)/f,v=1<<this.F2,m=r.t,g=m-l,_=null==n?A():n;for(a.dlShiftTo(g,_),r.compareTo(_)>=0&&(r[r.t++]=1,r.subTo(_,r)),e.ONE.dlShiftTo(l,_),_.subTo(a,a);a.t<l;)a[a.t++]=0;for(;--g>=0;){var y=r[--m]==d?this.DM:Math.floor(r[m]*p+(r[m-1]+v)*h);if((r[m]+=a.am(0,y,r,g,0,l))<y)for(a.dlShiftTo(g,_),r.subTo(_,r);r[m]<--y;)r.subTo(_,r)}null!=n&&(r.drShiftTo(l,n),s!=u&&e.ZERO.subTo(n,n)),r.t=l,r.clamp(),c>0&&r.rShiftTo(c,r),s<0&&e.ZERO.subTo(r,r)}}}},{key:"invDigit",value:function(){if(this.t<1)return 0;var e=this[0];if(!(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t}},{key:"isEven",value:function(){return 0==(this.t>0?1&this[0]:this.s)}},{key:"exp",value:function(t,n){if(t>4294967295||t<1)return e.ONE;var r=A(),o=A(),i=n.convert(this),a=O(t)-1;for(i.copyTo(r);--a>=0;)if(n.sqrTo(r,o),(t&1<<a)>0)n.mulTo(o,i,r);else{var s=r;r=o,o=s}return n.revert(r)}},{key:"chunkSize",value:function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}},{key:"toRadix",value:function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),r=S(n),o=A(),i=A(),a="";for(this.divRemTo(r,o,i);o.signum()>0;)a=(n+i.intValue()).toString(e).substr(1)+a,o.divRemTo(r,o,i);return i.intValue().toString(e)+a}},{key:"fromRadix",value:function(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),o=Math.pow(n,r),i=!1,a=0,s=0,u=0;u<t.length;++u){var c=I(t,u);c<0?"-"==t.charAt(u)&&0==this.signum()&&(i=!0):(s=n*s+c,++a>=r&&(this.dMultiply(o),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),i&&e.ZERO.subTo(this,this)}},{key:"fromNumber",value:function(t,n,r){if("number"==typeof n)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),m,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var o=[],i=7&t;o.length=1+(t>>3),n.nextBytes(o),i>0?o[0]&=(1<<i)-1:o[0]=0,this.fromString(o,256)}}},{key:"bitwiseTo",value:function(e,t,n){var r,o,i=Math.min(e.t,this.t);for(r=0;r<i;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(o=e.s&this.DM,r=i;r<this.t;++r)n[r]=t(this[r],o);n.t=this.t}else{for(o=this.s&this.DM,r=i;r<e.t;++r)n[r]=t(o,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()}},{key:"changeBit",value:function(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r}},{key:"addTo",value:function(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()}},{key:"dMultiply",value:function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}},{key:"dAddOffset",value:function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}}},{key:"multiplyLowerTo",value:function(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(var o=n.t-this.t;r<o;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(o=Math.min(e.t,t);r<o;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()}},{key:"multiplyUpperTo",value:function(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)}},{key:"modInt",value:function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n}},{key:"millerRabin",value:function(t){var n=this.subtract(e.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var o=n.shiftRight(r);(t=t+1>>1)>H.length&&(t=H.length);for(var i=A(),a=0;a<t;++a){i.fromInt(H[Math.floor(Math.random()*H.length)]);var s=i.modPow(o,this);if(0!=s.compareTo(e.ONE)&&0!=s.compareTo(n)){for(var u=1;u++<r&&0!=s.compareTo(n);)if(0==(s=s.modPowInt(2,this)).compareTo(e.ONE))return!1;if(0!=s.compareTo(n))return!1}}return!0}},{key:"square",value:function(){var e=A();return this.squareTo(e),e}},{key:"gcda",value:function(e,t){var n=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(n.compareTo(r)<0){var o=n;n=r,r=o}var i=n.getLowestSetBit(),a=r.getLowestSetBit();a<0?t(n):(i<a&&(a=i),a>0&&(n.rShiftTo(a,n),r.rShiftTo(a,r)),setTimeout(function s(){(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(s,0):(a>0&&r.lShiftTo(a,r),setTimeout(function(){t(r)},0))},10))}},{key:"fromNumberAsync",value:function(t,n,r,o){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),m,this),this.isEven()&&this.dAddOffset(1,0);var i=this;setTimeout(function a(){i.dAddOffset(2,0),i.bitLength()>t&&i.subTo(e.ONE.shiftLeft(t-1),i),i.isProbablePrime(n)?setTimeout(function(){o()},0):setTimeout(a,0)},0)}else{var a=[],s=7&t;a.length=1+(t>>3),n.nextBytes(a),s>0?a[0]&=(1<<s)-1:a[0]=0,this.fromString(a,256)}}}]),e}(),V=function(){function e(){}return e.prototype.convert=function(e){return e},e.prototype.revert=function(e){return e},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},e.prototype.sqrTo=function(e,t){e.squareTo(t)},e}(),Y=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),K=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return e.prototype.convert=function(e){var t=A();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(W.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=A();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),X=function(){function e(e){this.m=e,this.r2=A(),this.q3=A(),W.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return e.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=A();return e.copyTo(t),this.reduce(t),t},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();void 0!==T&&"Microsoft Internet Explorer"==(null==T?void 0:T.appName)?(W.prototype.am=function(e,t,n,r,o,i){for(var a=32767&t,s=t>>15;--i>=0;){var u=32767&this[e],c=this[e++]>>15,l=s*u+c*a;o=((u=a*u+((32767&l)<<15)+n[r]+(1073741823&o))>>>30)+(l>>>15)+s*c+(o>>>30),n[r++]=1073741823&u}return o},p=30):"Netscape"!=(null==T?void 0:T.appName)?(W.prototype.am=function(e,t,n,r,o,i){for(;--i>=0;){var a=t*this[e++]+n[r]+o;o=Math.floor(a/67108864),n[r++]=67108863&a}return o},p=26):(W.prototype.am=function(e,t,n,r,o,i){for(var a=16383&t,s=t>>14;--i>=0;){var u=16383&this[e],c=this[e++]>>14,l=s*u+c*a;o=((u=a*u+((16383&l)<<14)+n[r]+o)>>28)+(l>>14)+s*c,n[r++]=268435455&u}return o},p=28),W.prototype.DB=p,W.prototype.DM=(1<<p)-1,W.prototype.DV=1<<p,W.prototype.FV=Math.pow(2,52),W.prototype.F1=52-p,W.prototype.F2=2*p-52;var Q,J,Z=[];for(Q="0".charCodeAt(0),J=0;J<=9;++J)Z[Q++]=J;for(Q="a".charCodeAt(0),J=10;J<36;++J)Z[Q++]=J;for(Q="A".charCodeAt(0),J=10;J<36;++J)Z[Q++]=J;W.ZERO=S(0),W.ONE=S(1);var ee,te,ne=function(){function e(){(0,u["default"])(this,e),this.i=0,this.j=0,this.S=[]}return(0,c["default"])(e,[{key:"init",value:function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0}},{key:"next",value:function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]}}]),e}(),re=256,oe=null;if(null==oe){oe=[],te=0;var ie,ae,se=void 0;if("undefined"!=typeof window&&null!==(ie=window)&&void 0!==ie&&ie.crypto&&null!==(ae=window)&&void 0!==ae&&ae.crypto.getRandomValues){var ue,ce=new Uint32Array(256);for(null===(ue=window)||void 0===ue||ue.crypto.getRandomValues(ce),se=0;se<ce.length;++se)oe[te++]=255&ce[se]}var le,de,fe,pe=function e(t){var n,r,o;if(this.count=this.count||0,this.count>=256||te>=re){if("undefined"!=typeof window)if(null!==(n=window)&&void 0!==n&&n.removeEventListener)null===(o=window)||void 0===o||o.removeEventListener("mousemove",e,!1);else if(null!==(r=window)&&void 0!==r&&r.detachEvent){var i;null===(i=window)||void 0===i||i.detachEvent("onmousemove",e)}}else try{var a=t.x+t.y;oe[te++]=255&a,this.count+=1}catch(s){}};if("undefined"!=typeof window)if(null!==(le=window)&&void 0!==le&&le.addEventListener)null===(fe=window)||void 0===fe||fe.addEventListener("mousemove",pe,!1);else if(null!==(de=window)&&void 0!==de&&de.attachEvent){var he;null===(he=window)||void 0===he||he.attachEvent("onmousemove",pe)}}var ve=function(){function e(){(0,u["default"])(this,e)}return(0,c["default"])(e,[{key:"nextBytes",value:function(e){for(var t=0;t<e.length;++t)e[t]=x()}}]),e}(),me=function(){function e(){(0,u["default"])(this,e),this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return(0,c["default"])(e,[{key:"doPublic",value:function(e){return e.modPowInt(this.e,this.n)}},{key:"doPrivate",value:function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);for(var t=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);t.compareTo(n)<0;)t=t.add(this.p);return t.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)}},{key:"setPublic",value:function(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=C(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")}},{key:"encrypt",value:function(e){var t=function(e,t){if(t<e.length+11)return console.error("Message too long for RSA"),null;for(var n=[],r=e.length-1;r>=0&&t>0;){var o=e.charCodeAt(r--);o<128?n[--t]=o:o>127&&o<2048?(n[--t]=63&o|128,n[--t]=o>>6|192):(n[--t]=63&o|128,n[--t]=o>>6&63|128,n[--t]=o>>12|224)}n[--t]=0;for(var i=new ve,a=[];t>2;){for(a[0]=0;0==a[0];)i.nextBytes(a);n[--t]=a[0]}return n[--t]=2,n[--t]=0,new W(n)}(e,this.n.bitLength()+7>>3);if(null==t)return null;var n=this.doPublic(t);if(null==n)return null;var r=n.toString(16);return 1&r.length?"0"+r:r}},{key:"encryptLong",value:function(e){var t=this,n=(this.n.bitLength()+7>>3)-11;try{var r="";if(e.length>n)return e.match(/.{1,117}/g).forEach(function(e){var n=t.encrypt(e);r+=n}),w(r);var o=this.encrypt(e);return w(o)}catch(i){return!1}}},{key:"decryptLong",value:function(e){var t=this,n=this.n.bitLength()+7>>3;e=E(e);try{if(e.length>n){var r="";return e.match(/.{1,256}/g).forEach(function(e){var n=t.decrypt(e);r+=n}),r}return this.decrypt(e)}catch(o){return!1}}},{key:"setPrivate",value:function(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=C(e,16),this.e=parseInt(t,16),this.d=C(n,16)):console.error("Invalid RSA private key")}},{key:"setPrivateEx",value:function(e,t,n,r,o,i,a,s){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=C(e,16),this.e=parseInt(t,16),this.d=C(n,16),this.p=C(r,16),this.q=C(o,16),this.dmp1=C(i,16),this.dmq1=C(a,16),this.coeff=C(s,16)):console.error("Invalid RSA private key")}},{key:"generate",value:function(e,t){var n=new ve,r=e>>1;this.e=parseInt(t,16);for(var o=new W(t,16);;){for(;this.p=new W(e-r,1,n),0!=this.p.subtract(W.ONE).gcd(o).compareTo(W.ONE)||!this.p.isProbablePrime(10););for(;this.q=new W(r,1,n),0!=this.q.subtract(W.ONE).gcd(o).compareTo(W.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var i=this.p;this.p=this.q,this.q=i}var a=this.p.subtract(W.ONE),s=this.q.subtract(W.ONE),u=a.multiply(s);if(0==u.gcd(o).compareTo(W.ONE)){this.n=this.p.multiply(this.q),this.d=o.modInverse(u),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(s),this.coeff=this.q.modInverse(this.p);break}}}},{key:"decrypt",value:function(e){var t=C(e,16),n=this.doPrivate(t);return null==n?null:function(e,t){for(var n=e.toByteArray(),r=0;r<n.length&&0==n[r];)++r;if(n.length-r!=t-1||2!=n[r])return null;for(++r;0!=n[r];)if(++r>=n.length)return null;for(var o="";++r<n.length;){var i=255&n[r];i<128?o+=String.fromCharCode(i):i>191&&i<224?(o+=String.fromCharCode((31&i)<<6|63&n[r+1]),++r):(o+=String.fromCharCode((15&i)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return o}(n,this.n.bitLength()+7>>3)}},{key:"generateAsync",value:function(e,t,n){var r=new ve,o=e>>1;this.e=parseInt(t,16);var i=new W(t,16),a=this;setTimeout(function s(){var t=function(){if(a.p.compareTo(a.q)<=0){var e=a.p;a.p=a.q,a.q=e}var t=a.p.subtract(W.ONE),r=a.q.subtract(W.ONE),o=t.multiply(r);0==o.gcd(i).compareTo(W.ONE)?(a.n=a.p.multiply(a.q),a.d=i.modInverse(o),a.dmp1=a.d.mod(t),a.dmq1=a.d.mod(r),a.coeff=a.q.modInverse(a.p),setTimeout(function(){n()},0)):setTimeout(s,0)},u=function c(){a.q=A(),a.q.fromNumberAsync(o,1,r,function(){a.q.subtract(W.ONE).gcda(i,function(e){0==e.compareTo(W.ONE)&&a.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(c,0)})})};setTimeout(function l(){a.p=A(),a.p.fromNumberAsync(e-o,1,r,function(){a.p.subtract(W.ONE).gcda(i,function(e){0==e.compareTo(W.ONE)&&a.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(l,0)})})},0)},0)}}]),e}(),ge=function(e){(0,i["default"])(n,e);var t=l(n);function n(){var e,r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return(0,u["default"])(this,n),e=t.call(this),r&&("string"==typeof r?e.parseKey(r):(e.hasPrivateKeyProperty(r)||e.hasPublicKeyProperty(r))&&e.parsePropertiesFrom(r)),e}return(0,c["default"])(n,[{key:"parseKey",value:function(e){try{var t=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e)?R.decode(e):M.unarmor(e),o=$.decode(r);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=C(t,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var i=o.sub[3].getHexStringValue();this.d=C(i,16);var a=o.sub[4].getHexStringValue();this.p=C(a,16);var s=o.sub[5].getHexStringValue();this.q=C(s,16);var u=o.sub[6].getHexStringValue();this.dmp1=C(u,16);var c=o.sub[7].getHexStringValue();this.dmq1=C(c,16);var l=o.sub[8].getHexStringValue();this.coeff=C(l,16)}else{if(2!==o.sub.length)return!1;var d=o.sub[1].sub[0];t=d.sub[0].getHexStringValue(),this.n=C(t,16),n=d.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(f){return!1}}},{key:"hasPublicKeyProperty",value:function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")}},{key:"hasPrivateKeyProperty",value:function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")}},{key:"parsePropertiesFrom",value:function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)}}]),n}(me);(o=function(e){e=e||{},this.default_key_size=parseInt(e.default_key_size,10)||1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}).prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new ge(e)},o.prototype.setPrivateKey=function(e){this.setKey(e)},o.prototype.setPublicKey=function(e){this.setKey(e)},o.prototype.decrypt=function(e){try{return this.getKey().decrypt(E(e))}catch(t){return!1}},o.prototype.encrypt=function(e){try{return w(this.getKey().encrypt(e))}catch(t){return!1}},o.prototype.encryptLong=function(e){try{for(var t=this.getKey().encryptLong(e)||"",n=this.getKey().decryptLong(t)||"",r=0,o=/null$/g;o.test(n)&&(r++,t=this.getKey().encryptLong(e)||"",n=this.getKey().decryptLong(t)||"",!(r>10)););return t}catch(i){return!1}},o.prototype.getKey=function(e){if(!this.key){if(this.key=new ge,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},o.version="3.1.4"}t["default"]=o},2984:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.SinglePromise=void 0;var o=r(n(479)),i=r(n(4964)),a=r(n(8850)),s=r(n(1332)),u=new Map;t.SinglePromise=function(){function e(t){(0,a["default"])(this,e),this.clientId=(null==t?void 0:t.clientId)||"",u=u||new Map}var t;return(0,s["default"])(e,[{key:"run",value:(t=(0,i["default"])(o["default"].mark(function n(e,t){var r,a=this;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e="".concat(this.clientId,"_").concat(e),(r=u.get(e))||(r=new Promise(function(n,r){(0,i["default"])(o["default"].mark(function s(){var i;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,a.runIdlePromise();case 3:return i=t(),o.t0=n,o.next=7,i;case 7:o.t1=o.sent,(0,o.t0)(o.t1),o.next=14;break;case 11:o.prev=11,o.t2=o["catch"](0),r(o.t2);case 14:return o.prev=14,u["delete"](e),o.finish(14);case 17:case"end":return o.stop()}},s,null,[[0,11,14,17]])}))()}),u.set(e,r)),n.abrupt("return",r);case 4:case"end":return n.stop()}},n,this)})),function(e,n){return t.apply(this,arguments)})},{key:"runIdlePromise",value:function(){return Promise.resolve()}}]),e}()},3721:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathName=t.deepClone=void 0,t.deepClone=function n(e){var t=function(t){for(var r in e)e.hasOwnProperty(r)&&(t[r]=n(e[r]));return t},r=null===e||e===undefined?"NullOrUndefined":Object.prototype.toString.call(e).slice(8,-1);if(["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"].includes(r))return e.slice();switch(r){case"Object":return t(Object.create(Object.getPrototypeOf(e)));case"Array":return t([]);case"Date":return new Date(e.valueOf());case"RegExp":return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""));default:return e}},t.getPathName=function(e){var t=e.match(/^(?:http(s)?:\/\/[^\/]+)?(\/[^\?#]*)/);return t&&t[2]||""}},6180:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.isInMpWebView=function(){return a},t.isMp=i;var o=r(n(9367));function i(){if("undefined"==typeof globalThis)return!1;var e=globalThis.wx;if(void 0===e)return!1;if(globalThis.Page===undefined)return!1;if(!e.getDeviceInfo)return!1;if(!e.getStorageSync)return!1;if(!e.setStorageSync)return!1;if(!e.connectSocket)return!1;if(!e.request)return!1;try{if(!e.getDeviceInfo())return!1;if("qq"===e.getDeviceInfo().platform)return!1}catch(t){return!1}return!0}var a=!1;function s(){a=a||("undefined"==typeof window?"undefined":(0,o["default"])(window))!==undefined&&"miniprogram"===window.__wxjs_environment}try{i()||(a=a||!!navigator.userAgent.match(/miniprogram/i)||"miniprogram"===window.__wxjs_environment,window&&window.WeixinJSBridge&&window.WeixinJSBridge.invoke?s():"undefined"!=typeof document&&document.addEventListener("WeixinJSBridgeReady",s,!1))}catch(u){}},3186:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(n(9272)),i=r(n(9367)),a=r(n(8850)),s=r(n(1332)),u=function(){function e(t){if((0,a["default"])(this,e),this.params={},"string"==typeof t)this.parse(t);else if(t&&"object"===(0,i["default"])(t))for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&this.append(n,t[n])}return(0,s["default"])(e,[{key:"parse",value:function(e){var t=this;e.split("&").forEach(function(e){var n=e.split("=").map(decodeURIComponent),r=(0,o["default"])(n,2),i=r[0],a=r[1];t.append(i,a)})}},{key:"append",value:function(e,t){this.params[e]?this.params[e]=this.params[e].concat([t]):this.params[e]=[t]}},{key:"get",value:function(e){return this.params[e]?this.params[e][0]:null}},{key:"getAll",value:function(e){return this.params[e]||[]}},{key:"delete",value:function(e){delete this.params[e]}},{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"set",value:function(e,t){this.params[e]=[t]}},{key:"toString",value:function(){var e=this,t=[],n=function(n){Object.prototype.hasOwnProperty.call(e.params,n)&&e.params[n].forEach(function(e){t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(e)))})};for(var r in this.params)n(r);return t.join("&")}}]),e}();t["default"]=u},2430:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uuidv4=function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}},1930:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.SupabaseFileAPILikeStorage=t.CloudbaseStorage=t.COMPONENT_NAME=void 0,t.registerStorage=N;var o,i,a=r(n(9367)),s=n(5437),u=n(3882),c=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)},d=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,a["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,a["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},h=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};!function(e){e.put="put",e.post="post"}(i||(i={}));var v=u.constants.getSdkName,m=u.constants.ERRORS,g=u.constants.COMMUNITY_SITE_URL,_=u.utils.isArray,y=u.utils.isString,b=u.utils.isPalinObject,w=u.utils.execCallback,E=u.helpers.catchErrorsDecorator,k=t.COMPONENT_NAME="storage",A=function(e,t,n){return p(void 0,void 0,void 0,function(){var r,o,i;return h(this,function(a){switch(a.label){case 0:return[4,e.gateWay({path:"storages",name:"get-objects-upload-info",data:[l({objectId:t.path},t.headers?{signedHeader:Object.keys(t.headers).reduce(function(e,n){var r;return l(l({},e),((r={})[n]=[t.headers[n]],r))},{})}:{})]},n)];case 1:return r=a.sent(),o=(null===(i=r.data)||void 0===i?void 0:i[0])||{},[2,r=l(l({},r),{data:l(l({},o.code?l({},o):{}),{authorization:o.authorization,token:o.token,url:o.uploadUrl,fileId:o.cloudObjectId,cosFileId:o.cloudObjectMeta,download_url:o.downloadUrl})})]}})})},C=function(e,t,n){return p(void 0,void 0,void 0,function(){var r,o;return h(this,function(i){switch(i.label){case 0:return[4,e.gateWay({path:"storages",name:"get-objects-download-info",data:t.convertedFileList.map(function(e){return{cloudObjectId:e.fileid}})},n)];case 1:return r=i.sent(),[2,r=l(l({},r),{data:{download_list:null===(o=r.data)||void 0===o?void 0:o.map(function(e){return{code:e.code||"SUCCESS",message:e.message,fileid:e.cloudObjectId,download_url:e.downloadUrl,fileID:e.cloudObjectId,tempFileURL:e.downloadUrl}})}})]}})})},I=function(e,t,n){return p(void 0,void 0,void 0,function(){var r,o;return h(this,function(i){switch(i.label){case 0:return[4,e.gateWay({path:"storages",name:"delete-objects",data:t.fileList.map(function(e){return{cloudObjectId:e}})},n)];case 1:return r=i.sent(),[2,r=l(l({},r),{data:{delete_list:null===(o=r.data)||void 0===o?void 0:o.map(function(e){return{code:e.code||"SUCCESS",fileID:e.cloudObjectId,message:e.message}})}})]}})})},S=function(e,t,n){return p(void 0,void 0,void 0,function(){var r,o;return h(this,function(i){switch(i.label){case 0:return[4,e.gateWay({path:"storages",name:"copy-objects",data:t.convertedFileList.map(function(e){return{srcPath:e.src_path,dstPath:e.dst_path,overwrite:e.overwrite,removeOriginal:e.remove_original}})},n)];case 1:return r=i.sent(),[2,r=l(l({},r),{data:{copy_list:null===(o=r.data)||void 0===o?void 0:o.map(function(e){return{code:e.code||"SUCCESS",fileID:e.cloudObjectId,message:e.message}})}})]}})})},O=t.CloudbaseStorage=function(){function e(){}return e.prototype.isGateWay=function(){return"GATEWAY"===(this.config.endPointMode||"CLOUD_API")},e.prototype.uploadFile=function(e,t){return p(this,void 0,void 0,function(){var n,r,o,a,s,u,c,d,f,p,g,_,b,E,A,C,I,S,O,x,T,D,P,N;return h(this,function(h){switch(h.label){case 0:if(n=e.cloudPath,r=e.filePath,o=e.onUploadProgress,D=e.method,a=void 0===D?"put":D,P=e.headers,s=void 0===P?{}:P,u=e.fileContent,!y(n)||!r&&!u)throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".uploadFile] invalid params")}));return c={put:i.put,post:i.post}[a.toLocaleLowerCase()]||i.put,[4,this.getUploadMetadata({cloudPath:n,method:c,headers:c===i.put?s:undefined,customReqOpts:e.customReqOpts})];case 1:return d=h.sent(),f=d.data,p=d.requestId,g=f.url,_=f.authorization,b=f.token,E=f.fileId,A=f.cosFileId,C=f.download_url,S=l(l({},I={url:g,file:r,name:n,onUploadProgress:o,fileContent:u,fileId:E,requestId:p}),{method:i.put,headers:l(l({},s),{authorization:_,"x-cos-meta-fileid":A,"x-cos-security-token":b})}),O=l(l({},I),{method:i.post,data:{key:n,signature:_,"x-cos-meta-fileid":A,success_action_status:"201","x-cos-security-token":b}}),(N={})[i.put]={params:S,isSuccess:function(e){return e>=200&&e<300}},N[i.post]={params:O,isSuccess:function(e){return 201===e}},x=N,[4,this.request.upload(x[c].params)];case 2:return T=h.sent(),x[c].isSuccess(T.statusCode)?[2,w(t,null,{fileID:E,download_url:C,requestId:p})]:[2,w(t,new Error("[".concat(v(),"][").concat(m.OPERATION_FAIL,"][").concat(k,"]:").concat(T.data)))]}})})},e.prototype.getUploadMetadata=function(e,t){return p(this,void 0,void 0,function(){var n,r,o,a,s,u,c,l;return h(this,function(d){switch(d.label){case 0:if(n=e.cloudPath,r=e.method,o=e.headers,!y(n))throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".getUploadMetadata] invalid cloudPath")}));a=this.request,s="storage.getUploadMetadata",d.label=1;case 1:return d.trys.push([1,6,,7]),u=void 0,c={path:n},r&&(c.method=r),r===i.put&&o&&(c.headers=o),this.isGateWay()?[4,A(a,c,e.customReqOpts)]:[3,3];case 2:return u=d.sent(),[3,5];case 3:return[4,a.send(s,c,e.customReqOpts)];case 4:u=d.sent(),d.label=5;case 5:return[2,w(t,null,u)];case 6:return l=d.sent(),[2,w(t,l)];case 7:return[2]}})})},e.prototype.deleteFile=function(e,t){return p(this,void 0,void 0,function(){var n,r,o,i,a,s,u,c;return h(this,function(l){switch(l.label){case 0:if(!(n=e.fileList)||!_(n)||0===n.length)throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".deleteFile] fileList must not be empty")}));for(r=0,o=n;r<o.length;r++)if(!(i=o[r])||!y(i))throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".deleteFile] fileID must be string")}));return a="storage.batchDeleteFile",s=this.request,u={},this.isGateWay()?[4,I(s,{fileList:n},e.customReqOpts)]:[3,2];case 1:return u=l.sent(),[3,4];case 2:return[4,s.send(a,{fileid_list:n},e.customReqOpts)];case 3:u=l.sent(),l.label=4;case 4:return u.code?[2,w(t,null,u)]:(c={fileList:u.data.delete_list,requestId:u.requestId},[2,w(t,null,c)])}})})},e.prototype.getTempFileURL=function(e,t){return p(this,void 0,void 0,function(){var n,r,o,i,a,s,u,c;return h(this,function(l){switch(l.label){case 0:if(!(n=e.fileList)||!_(n)||0===n.length)throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".getTempFileURL] fileList must not be empty")}));for(r=[],o=0,i=n;o<i.length;o++)if(a=i[o],b(a)){if(!Object.prototype.hasOwnProperty.call(a,"fileID"))throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".getTempFileURL] file info must include fileID")}));r.push({fileid:a.fileID,max_age:a.maxAge||7200})}else{if(!y(a))throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".getTempFileURL] invalid fileList")}));r.push({fileid:a})}return s="storage.batchGetDownloadUrl",u=this.request,c={},this.isGateWay()?[4,C(u,{convertedFileList:r},e.customReqOpts)]:[3,2];case 1:return c=l.sent(),[3,4];case 2:return[4,u.send(s,{file_list:r},e.customReqOpts)];case 3:c=l.sent(),l.label=4;case 4:return c.code?[2,w(t,null,c)]:[2,w(t,null,{fileList:c.data.download_list,requestId:c.requestId})]}})})},e.prototype.downloadFile=function(e,t){return p(this,void 0,void 0,function(){var n,r,o,i,a,s;return h(this,function(u){switch(u.label){case 0:if(n=e.fileID,!y(n))throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".getTempFileURL] fileID must be string")}));return[4,this.getTempFileURL.call(this,{fileList:[{fileID:n,maxAge:600}],customReqOpts:e.customReqOpts})];case 1:return r=u.sent(),"SUCCESS"!==(o=r.fileList[0]).code?[2,w(t,o)]:(i=this.request,a=encodeURI(o.download_url),[4,i.download({url:a,tempFilePath:e.tempFilePath})]);case 2:return s=u.sent(),[2,w(t,null,s)]}})})},e.prototype.copyFile=function(e,t){return p(this,void 0,void 0,function(){var n,r,o,i,a,s,u,c,l;return h(this,function(d){switch(d.label){case 0:if(!(n=e.fileList)||!_(n)||0===n.length)throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".copyFile] fileList must not be empty")}));for(r=[],o=0,i=n;o<i.length;o++){if(a=i[o],s=a.srcPath,u=a.dstPath,!s||!u||"string"!=typeof s||"string"!=typeof u)throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".copyFile] srcPath and dstPath may not be empty")}));if(s===u)throw new Error(JSON.stringify({code:m.INVALID_PARAMS,msg:"[".concat(k,".copyFile] srcPath and dstPath can not be the same")}));r.push({src_path:s,dst_path:u,overwrite:a.overwrite,remove_original:a.removeOriginal})}return c=this.request,l={},this.isGateWay()?[4,S(c,{convertedFileList:r},e.customReqOpts)]:[3,2];case 1:return l=d.sent(),[3,4];case 2:return[4,c.send("storage.batchCopyFile",{file_list:r},e.customReqOpts)];case 3:l=d.sent(),d.label=4;case 4:return l.code?[2,w(t,null,l)]:[2,w(t,null,{fileList:l.data.copy_list,requestId:l.requestId})]}})})},e.prototype.getFileInfo=function(e){var t;return p(this,void 0,void 0,function(){var n,r=this;return h(this,function(o){switch(o.label){case 0:return[4,this.getTempFileURL(e)];case 1:return(null==(n=o.sent())?void 0:n.fileList)&&(null===(t=null==n?void 0:n.fileList)||void 0===t?void 0:t.length)>0?[4,Promise.all(n.fileList.map(function(e){return p(r,void 0,void 0,function(){var t,n,r,o,i;return h(this,function(a){switch(a.label){case 0:if("SUCCESS"!==e.code)return[2,{code:e.code,fileID:e.fileID,tempFileURL:e.tempFileURL,message:e.message}];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.request.fetch({url:e.tempFileURL,method:"HEAD"})];case 2:return t=a.sent(),n=t.header,Headers&&n instanceof Headers&&(n=Object.fromEntries(t.header.entries())),r=parseInt(n["content-length"])||0,o=n["content-type"]||"",[400,404].includes(Number(t.statusCode))?[2,{code:"FILE_NOT_FOUND",fileID:e.fileID,tempFileURL:e.tempFileURL,message:"file not found"}]:[2,{code:e.code,fileID:e.fileID,tempFileURL:e.tempFileURL,cloudId:e.fileID,fileName:e.fileID.split("/").pop(),contentType:o,mime:o.split(";")[0].trim(),size:r,etag:n.etag||"",lastModified:n["last-modified"]||"",cacheControl:n["cache-control"]||""}];case 3:return i=a.sent(),[2,{code:"FETCH_FILE_INFO_ERROR",fileID:e.fileID,tempFileURL:e.tempFileURL,message:i.message}];case 4:return[2]}})})}))]:[3,3];case 2:return[2,{fileList:o.sent(),requestId:n.requestId}];case 3:return[2,{fileList:[],requestId:n.requestId}]}})})},d([E({customInfo:{className:"Cloudbase",methodName:"uploadFile"},title:"上传文件失败",messages:["请确认以下各项:"," 1 - 调用 uploadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(g)]}),f("design:type",Function),f("design:paramtypes",[Object,Function]),f("design:returntype",Promise)],e.prototype,"uploadFile",null),d([E({customInfo:{className:"Cloudbase",methodName:"getUploadMetadata"},title:"获取上传元信息失败",messages:["请确认以下各项:"," 1 - 调用 getUploadMetadata() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(g)]}),f("design:type",Function),f("design:paramtypes",[Object,Function]),f("design:returntype",Promise)],e.prototype,"getUploadMetadata",null),d([E({customInfo:{className:"Cloudbase",methodName:"deleteFile"},title:"删除文件失败",messages:["请确认以下各项:"," 1 - 调用 deleteFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(g)]}),f("design:type",Function),f("design:paramtypes",[Object,Function]),f("design:returntype",Promise)],e.prototype,"deleteFile",null),d([E({customInfo:{className:"Cloudbase",methodName:"getTempFileURL"},title:"获取文件下载链接",messages:["请确认以下各项:"," 1 - 调用 getTempFileURL() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(g)]}),f("design:type",Function),f("design:paramtypes",[Object,Function]),f("design:returntype",Promise)],e.prototype,"getTempFileURL",null),d([E({customInfo:{className:"Cloudbase",methodName:"downloadFile"},title:"下载文件失败",messages:["请确认以下各项:"," 1 - 调用 downloadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(g)]}),f("design:type",Function),f("design:paramtypes",[Object,Function]),f("design:returntype",Promise)],e.prototype,"downloadFile",null),d([E({customInfo:{className:"Cloudbase",methodName:"copyFile"},title:"批量复制文件",messages:["请确认以下各项:"," 1 - 调用 copyFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(g)]}),f("design:type",Function),f("design:paramtypes",[Object,Function]),f("design:returntype",Promise)],e.prototype,"copyFile",null),e}(),x=new O,T={name:k,entity:{uploadFile:x.uploadFile,deleteFile:x.deleteFile,getTempFileURL:x.getTempFileURL,downloadFile:x.downloadFile,getUploadMetadata:x.getUploadMetadata,copyFile:x.copyFile,getFileInfo:x.getFileInfo,isGateWay:x.isGateWay}},D=t.SupabaseFileAPILikeStorage=function(e){function t(t){var n=e.call(this)||this;return n.shouldThrowOnError=!1,n.bucketId="",n.context=t,n}return c(t,e),Object.defineProperty(t.prototype,"config",{get:function(){var e;return null===(e=this.context)||void 0===e?void 0:e.config},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"request",{get:function(){var e;return null===(e=this.context)||void 0===e?void 0:e.request},enumerable:!1,configurable:!0}),t.prototype.throwOnError=function(){return this.shouldThrowOnError=!0,this},t.prototype.from=function(e){return this.bucketId=e||"",this},t.prototype.upload=function(e,t,n){return p(this,void 0,void 0,function(){var r,o,i,a,u,c,d,f,p;return h(this,function(h){switch(h.label){case 0:r=l({upsert:!0},n),o=r.cacheControl,i=r.contentType,a=r.metadata,h.label=1;case 1:return h.trys.push([1,3,,4]),u=this._getCloudPath(e),c={cloudPath:u,filePath:t},(o||i||a)&&(d={},o&&(d["cache-control"]=o),i&&(d["content-type"]=i),a&&(d["x-cos-metadata-metadata"]=this.toBase64(JSON.stringify(a))),c.headers=d),[4,this.uploadFile(c)];case 2:if(!(f=h.sent()).fileID)throw new Error(JSON.stringify({code:m.OPERATION_FAIL,msg:"[".concat(k,".update] no fileID returned")}));return[2,{data:{id:f.fileID,path:e,fullPath:e},error:null}];case 3:if(p=h.sent(),this.shouldThrowOnError)throw p;if((0,s.isStorageError)(p))return[2,{data:null,error:p}];throw p;case 4:return[2]}})})},t.prototype.uploadToSignedUrl=function(e,t,n,r){return p(this,void 0,void 0,function(){return h(this,function(t){return[2,this.upload(e,n,r)]})})},t.prototype.createSignedUploadUrl=function(e){return p(this,void 0,void 0,function(){var t,n,r;return h(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),t=this._getCloudPath(e),[4,this.getUploadMetadata({cloudPath:t})];case 1:return[2,{data:{signedUrl:(n=o.sent().data).url,token:n.token,path:e,authorization:n.authorization,id:n.fileId,cosFileId:n.cosFileId,downloadUrl:n.download_url},error:null}];case 2:if(r=o.sent(),this.shouldThrowOnError)throw r;return[2,{data:null,error:r instanceof s.StorageError?r:new s.StorageError(r.message)}];case 3:return[2]}})})},t.prototype.update=function(e,t,n){return p(this,void 0,void 0,function(){return h(this,function(r){return[2,this.upload(e,t,l(l({},n),{upsert:!0}))]})})},t.prototype.move=function(e,t){return p(this,void 0,void 0,function(){var n,r;return h(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this.copyFile({fileList:[{srcPath:this._getCloudPath(e),dstPath:this._getCloudPath(t),overwrite:!0,removeOriginal:!0}]})];case 1:if((n=o.sent()).fileList[0].code&&"SUCCESS"!==n.fileList[0].code)throw new s.StorageError(n.fileList[0].message||"Move failed");return[2,{data:{message:"File moved from ".concat(e," to ").concat(t)},error:null}];case 2:if(r=o.sent(),this.shouldThrowOnError)throw r;if((0,s.isStorageError)(r))return[2,{data:null,error:r}];throw r;case 3:return[2]}})})},t.prototype.copy=function(e,t){return p(this,void 0,void 0,function(){var n,r;return h(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this.copyFile({fileList:[{srcPath:this._getCloudPath(e),dstPath:this._getCloudPath(t),overwrite:!0,removeOriginal:!1}]})];case 1:if((n=o.sent()).fileList[0].code&&"SUCCESS"!==n.fileList[0].code)throw new s.StorageError(n.fileList[0].message||"Copy failed");return[2,{data:{path:this._getCloudPath(t)},error:null}];case 2:if(r=o.sent(),this.shouldThrowOnError)throw r;if((0,s.isStorageError)(r))return[2,{data:null,error:r}];throw r;case 3:return[2]}})})},t.prototype.createSignedUrl=function(e,t,n){return p(this,void 0,void 0,function(){var r,o,i,a,u,c,l;return h(this,function(d){switch(d.label){case 0:return d.trys.push([0,2,,3]),r=this._normalizeCloudId(e),[4,this.getTempFileURL({fileList:[{fileID:r,maxAge:t}]})];case 1:if("SUCCESS"!==(o=d.sent()).fileList[0].code)throw new s.StorageError("Failed to create signed URL: [".concat(o.fileList[0].code,"] ").concat(o.fileList[0].fileID));return i=o.fileList[0].download_url,a=[],(null==n?void 0:n.download)!==undefined&&("string"==typeof n.download?a.push("download=".concat(encodeURIComponent(n.download))):!0===n.download&&a.push("download=true")),(null==n?void 0:n.transform)&&(u=this._transformOptsToQueryString(n.transform))&&a.push(u),a.length>0&&(c=i.includes("?")?"&":"?",i="".concat(i).concat(c).concat(a.join("&"))),[2,{data:{signedUrl:i},error:null}];case 2:if(l=d.sent(),this.shouldThrowOnError)throw l;if((0,s.isStorageError)(l))return[2,{data:null,error:l}];throw l;case 3:return[2]}})})},t.prototype.createSignedUrls=function(e,t){return p(this,void 0,void 0,function(){var n,r,o=this;return h(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),n=e.map(function(e){return{fileID:o._normalizeCloudId(e),maxAge:t}}),[4,this.getTempFileURL({fileList:n})];case 1:return[2,{data:i.sent().fileList.map(function(t,n){return{path:e[n],signedUrl:t.tempFileURL||"",error:"SUCCESS"===t.code?null:t.message}}),error:null}];case 2:if(r=i.sent(),this.shouldThrowOnError)throw r;if((0,s.isStorageError)(r))return[2,{data:null,error:r}];throw r;case 3:return[2]}})})},t.prototype.download=function(e,t){return p(this,void 0,void 0,function(){var n,r,o=this;return h(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),r={},[4,p(o,void 0,void 0,function(){var n,r,o,i;return h(this,function(a){switch(a.label){case 0:return[4,this.createSignedUrl(e,600,{transform:t})];case 1:if((n=a.sent()).error)throw n.error;return r=encodeURI(null===(i=n.data)||void 0===i?void 0:i.signedUrl),[4,this.request.reqClass.get({url:r,headers:{},responseType:"blob"})];case 2:if(!(o=a.sent().data))throw new s.StorageError("Download failed: no file content");return[2,new Blob([o])]}})})];case 1:return[2,(r.data=i.sent(),r.error=null,r)];case 2:if(n=i.sent(),this.shouldThrowOnError)throw n;if((0,s.isStorageError)(n))return[2,{data:null,error:n}];throw n;case 3:return[2]}})})},t.prototype.info=function(e){return p(this,void 0,void 0,function(){var t,n,r,o,i,a,u,c;return h(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),t=e.startsWith("cloud://"),n=t?this._extractPathFromFileId(e):e,r=t?this._extractBucketFromFileId(e):this.bucketId,[4,this.getFileInfo({fileList:[this._normalizeCloudId(e)]})];case 1:if(o=l.sent(),"SUCCESS"!==(i=o.fileList[0]).code)throw new s.StorageError(i.message);return a=(new Date).toISOString(),u=(i.lastModified?new Date(i.lastModified):new Date).toISOString(),[2,{data:{id:i.fileID,version:"1",name:n,bucketId:r,updatedAt:u,createdAt:u,lastAccessedAt:a,size:i.size,cacheControl:i.cacheControl,contentType:i.contentType,etag:i.etag,lastModified:u,metadata:{}},error:null}];case 2:if(c=l.sent(),this.shouldThrowOnError)throw c;return[2,{data:null,error:c instanceof s.StorageError?c:new s.StorageError(c.message)}];case 3:return[2]}})})},t.prototype.exists=function(e){return p(this,void 0,void 0,function(){var t,n,r;return h(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this.getFileInfo({fileList:[this._normalizeCloudId(e)]})];case 1:if(t=o.sent(),"FILE_NOT_FOUND"===(n=t.fileList[0]).code)return[2,{data:!1,error:null}];if("SUCCESS"!==n.code)throw new s.StorageError(n.message);return[2,{data:!0,error:null}];case 2:if(r=o.sent(),this.shouldThrowOnError)throw r;if((0,s.isStorageError)(r))return[2,{data:null,error:r}];throw r;case 3:return[2]}})})},t.prototype.getPublicUrl=function(e,t){return p(this,void 0,void 0,function(){var n;return h(this,function(r){switch(r.label){case 0:return[4,this.createSignedUrl(e,600,t)];case 1:return(n=r.sent()).data?[2,{data:{publicUrl:n.data.signedUrl}}]:[2,{data:null,error:n.error}]}})})},t.prototype.remove=function(e){return p(this,void 0,void 0,function(){var t,n,r,o,i,a,u,c,l,d,f=this;return h(this,function(p){switch(p.label){case 0:for(p.trys.push([0,3,,4]),t=10,n=[],r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return[4,Promise.all(n.map(function(e){return Promise.all(e.map(function(e){return f.info(e)}))}))];case 1:return o=p.sent(),i=new Map,o.flat().forEach(function(n,r){n.data&&i.set(e[Math.floor(r/t)*t+r%t],n.data)}),a=e.map(function(e){return f._normalizeCloudId(e)}),[4,this.deleteFile({fileList:a})];case 2:if(u=p.sent(),(c=u.fileList.filter(function(e){return"SUCCESS"!==e.code})).length>0)throw new s.StorageError("Delete failed for ".concat(c.length," file(s)"));return l=(new Date).toISOString(),[2,{data:e.map(function(e){var t=i.get(e);return{name:null==t?void 0:t.name,id:null==t?void 0:t.id,bucket_id:null==t?void 0:t.bucketId,owner:undefined,updated_at:(null==t?void 0:t.updatedAt)||l,created_at:null==t?void 0:t.createdAt,last_accessed_at:(null==t?void 0:t.lastAccessedAt)||l,metadata:(null==t?void 0:t.metadata)||{},buckets:{id:null==t?void 0:t.bucketId,name:null==t?void 0:t.bucketId,owner:undefined,"public":!1,created_at:"",updated_at:l}}}),error:null}];case 3:if(d=p.sent(),this.shouldThrowOnError)throw d;if((0,s.isStorageError)(d))return[2,{data:null,error:d}];throw d;case 4:return[2]}})})},t.prototype.list=function(){return p(this,void 0,void 0,function(){return h(this,function(e){throw new s.StorageError("Not implemented")})})},t.prototype._getCloudPath=function(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")},t.prototype._normalizeCloudId=function(e){var t;if(/^cloud:\/\//.test(e))return e;var n=this._getCloudPath(e);if(!this.bucketId)throw new s.StorageError("bucketId is not set");var r=(null===(t=this.config)||void 0===t?void 0:t.env)||"";return r?"cloud://".concat(r,".").concat(this.bucketId,"/").concat(n):void 0},t.prototype.toBase64=function(e){return"undefined"!=typeof Buffer?Buffer.from(e).toString("base64"):btoa(e)},t.prototype._transformOptsToQueryString=function(e){var t=["imageMogr2"];if(e.width||e.height){var n=e.width||"",r=e.height||"";"fill"===e.resize?t.push("thumbnail/".concat(n,"x").concat(r,"!")):"contain"===e.resize?t.push("thumbnail/".concat(n,"x").concat(r)):t.push("thumbnail/".concat(n,"x").concat(r,"^"))}if(e.format&&"origin"!==e.format&&t.push("format/".concat(e.format)),e.quality!==undefined){var o=Math.max(1,Math.min(100,e.quality));t.push("quality/".concat(o))}return t.join("/")},t.prototype._extractPathFromFileId=function(e){var t=e.replace(/^cloud:\/\//,"").split("/");return t.length<2?e:t.slice(1).join("/")},t.prototype._extractBucketFromFileId=function(e){var t=e.replace(/^cloud:\/\//,"").split("/");if(t.length<1)return"";var n=t[0],r=n.indexOf(".");return-1===r?n:n.substring(r+1)},t}(O),P={name:"".concat(k,"/supabase"),IIFE:!0,entity:function(){var e=new WeakMap;Object.defineProperty(this.prototype,"storage",{get:function(){if(e.has(this))return e.get(this);var t=this,n=new Proxy({},{get:function(e,n){return"config"===n?t.config:"request"===n?t.request:undefined}}),r=new D(n);return e.set(this,r),r},configurable:!0,enumerable:!0})}};try{cloudbase.registerComponent(T),cloudbase.registerComponent(P)}catch(R){}function N(e){try{e.registerComponent(T),e.registerComponent(P)}catch(R){console.warn(R)}}try{window.registerStorage=N}catch(R){}},5437:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.StorageUnknownError=t.StorageError=t.StorageApiError=void 0,t.isStorageError=function(e){return"object"===(0,i["default"])(e)&&null!==e&&"__isStorageError"in e};var o,i=r(n(9367)),a=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=t.StorageError=function(e){function t(t){var n=e.call(this,t)||this;return n.__isStorageError=!0,n.name="StorageError",n}return a(t,e),t}(Error);t.StorageApiError=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.name="StorageApiError",o.status=n,o.statusCode=r,o}return a(t,e),t.prototype.toJSON=function(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}},t}(s),t.StorageUnknownError=function(e){function t(t,n){var r=e.call(this,t)||this;return r.name="StorageUnknownError",r.originalError=n,r}return a(t,e),t}(s)},3496:function(e,t,n){"use strict";var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=Object.create?function(e,t,n,r){r===undefined&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useDefaultAdapter=t.useAdapters=t.RUNTIME=void 0;var s,u=a(n(9333)),c=n(4442);!function(e){e.WEB="web",e.WX_MP="wx_mp"}(s=t.RUNTIME||(t.RUNTIME={})),t.useAdapters=function(e,t){for(var n=0,o=(0,c.isArray)(e)?e:[e];n<o.length;n++){var i=o[n],a=i.isMatch,s=i.genAdapter,u=i.runtime;if(a())return{adapter:r({isMatch:a},s(t)),runtime:u}}},t.useDefaultAdapter=function(){return{adapter:r({},u.genAdapter()),runtime:s.WEB}}},9333:function(e,t,n){"use strict";var r,o=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},a=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebRequest=t.genAdapter=void 0;var u=n(6885),c=n(4442),l=n(4056),d=function(e){function t(t){var n=e.call(this)||this,r=t.timeout,o=t.timeoutMsg,i=t.restrictedMethods;return n.timeout=r||0,n.timeoutMsg=o||"请求超时",n.restrictedMethods=i||["get","post","upload","download"],n}return o(t,e),t.prototype.get=function(e){return this.request(i(i({},e),{method:"get"}),this.restrictedMethods.includes("get"))},t.prototype.post=function(e){return this.request(i(i({},e),{method:"post"}),this.restrictedMethods.includes("post"))},t.prototype.put=function(e){return this.request(i(i({},e),{method:"put"}))},t.prototype.upload=function(e){var t=e.data,n=e.file,r=e.name,o=e.method,a=e.headers,s=void 0===a?{}:a,u={post:"post",put:"put"}[null==o?void 0:o.toLowerCase()]||"put",c=new FormData;return"post"===u?(Object.keys(t).forEach(function(e){c.append(e,t[e])}),c.append("key",r),c.append("file",n),this.request(i(i({},e),{data:c,method:u}),this.restrictedMethods.includes("upload"))):this.request(i(i({},e),{method:"put",headers:s,body:n}),this.restrictedMethods.includes("upload"))},t.prototype.download=function(e){return a(this,void 0,void 0,function(){var t,n,r,o;return s(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,this.get(i(i({},e),{headers:{},responseType:"blob"}))];case 1:return t=a.sent().data,n=window.URL.createObjectURL(new Blob([t])),r=decodeURIComponent(new URL(e.url).pathname.split("/").pop()||""),(o=document.createElement("a")).href=n,o.setAttribute("download",r),o.style.display="none",document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(n),document.body.removeChild(o),[3,3];case 2:return a.sent(),[3,3];case 3:return[2,new Promise(function(t){t({statusCode:200,tempFilePath:e.url})})]}})})},t.prototype.fetch=function(e){var t;return a(this,void 0,void 0,function(){var n,r,o,u,c,l,d,f,p,h,v,m,g,_=this;return s(this,function(y){switch(y.label){case 0:return n=new AbortController,r=e.url,o=e.enableAbort,u=void 0!==o&&o,c=e.stream,l=void 0!==c&&c,d=e.signal,f=e.timeout,p=e.shouldThrowOnError,h=void 0===p||p,v=null!=f?f:this.timeout,d&&(d.aborted&&n.abort(),d.addEventListener("abort",function(){return n.abort()})),m=null,u&&v&&(m=setTimeout(function(){console.warn(_.timeoutMsg),n.abort(new Error(_.timeoutMsg))},v)),[4,fetch(r,i(i({},e),{signal:n.signal})).then(function(e){return a(_,void 0,void 0,function(){var t,n,r;return s(this,function(o){switch(o.label){case 0:return clearTimeout(m),h?e.ok?(t=e,[3,3]):[3,1]:[3,4];case 1:return r=(n=Promise).reject,[4,e.json()];case 2:t=r.apply(n,[o.sent()]),o.label=3;case 3:return[2,t];case 4:return[2,e]}})})})["catch"](function(e){if(clearTimeout(m),h)return Promise.reject(e)})];case 1:return g=y.sent(),[2,{data:l?g.body:(null===(t=g.headers.get("content-type"))||void 0===t?void 0:t.includes("application/json"))?g.json():g.text(),statusCode:g.status,header:g.headers}]}})})},t.prototype.request=function(e,t){var n=this;void 0===t&&(t=!1);var r=String(e.method).toLowerCase()||"get";return new Promise(function(o){var i,a,s=e.url,u=e.headers,d=void 0===u?{}:u,f=e.data,p=e.responseType,h=e.withCredentials,v=e.body,m=e.onUploadProgress,g=(0,c.formatUrl)((0,l.getProtocol)(),s,"get"===r?f:{}),_=new XMLHttpRequest;_.open(r,g),p&&(_.responseType=p),Object.keys(d).forEach(function(e){_.setRequestHeader(e,d[e])}),m&&_.upload.addEventListener("progress",m),_.onreadystatechange=function(){var e={};if(4===_.readyState){var t=_.getAllResponseHeaders().trim().split(/[\r\n]+/),n={};t.forEach(function(e){var t=e.split(": "),r=t.shift().toLowerCase(),o=t.join(": ");n[r]=o}),e.header=n,e.statusCode=_.status;try{e.data="blob"===p?_.response:JSON.parse(_.responseText)}catch(r){e.data="blob"===p?_.response:_.responseText}clearTimeout(i),o(e)}},t&&n.timeout&&(i=setTimeout(function(){console.warn(n.timeoutMsg),_.abort()},n.timeout)),a=(0,c.isFormData)(f)?f:"application/x-www-form-urlencoded"===d["content-type"]?(0,c.toQueryString)(f):v||(f?JSON.stringify(f):undefined),h&&(_.withCredentials=!0),_.send(a)})},t}(u.AbstractSDKRequest);t.WebRequest=d,t.genAdapter=function(){return{type:"default",root:window,reqClass:d,wsClass:WebSocket,localStorage:localStorage}}},4056:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMMUNITY_SITE_URL=t.IS_DEBUG_MODE=t.getProtocol=t.setProtocol=t.getSdkName=t.setSdkName=void 0;var n="@cloudbase/js-sdk";t.setSdkName=function(e){n=e},t.getSdkName=function(){return n};var r="https:";t.setProtocol=function(e){r=e},t.getProtocol=function(){return r},t.IS_DEBUG_MODE=("undefined"==typeof process||process.env,!1),t.COMMUNITY_SITE_URL="https://support.qq.com/products/148793"},454:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERRORS=void 0,t.ERRORS={INVALID_PARAMS:"INVALID_PARAMS",INVALID_SYNTAX:"INVALID_SYNTAX",INVALID_OPERATION:"INVALID_OPERATION",OPERATION_FAIL:"OPERATION_FAIL",NETWORK_ERROR:"NETWORK_ERROR",UNKOWN_ERROR:"UNKOWN_ERROR"}},7281:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},o=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.OATUH_LOGINTYPE=void 0,o(n(4056),t),o(n(454),t),t.OATUH_LOGINTYPE="constants"},1119:function(e,t,n){"use strict";var r=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.catchErrorsDecorator=void 0;var i=n(4442),a=n(7281),s=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(s=-1!==navigator.userAgent.indexOf("Firefox"));var u=s?/(\.js\/)?__decorate(\$\d+)?<@.*\d$/:/(\/\w+\.js\.)?__decorate(\$\d+)?\s*\(.*\)$/,c=/https?:\/\/.+:\d*\/.*\.js:\d+:\d+/;function l(e){var t=e.err,n=e.className,r=e.methodName,o=e.sourceLink;if(!o)return null;var i,a=t.stack.split("\n"),u=s?/^catchErrorsDecorator\/<\/descriptor.value@.*\d$/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]\\s*\\(.*\\)$")),l=s?/^catchErrorsDecorator\/<\/descriptor.value/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]")),d=a.findIndex(function(e){return u.test(e)});if(-1!==d){var f=a.filter(function(e,t){return t>d});f.unshift(a[d].replace(l,"".concat(n,".").concat(r)).replace(c,o)),(i=new Error).stack="".concat(s?"@debugger":"Error","\n").concat(f.join("\n"))}return i}t.catchErrorsDecorator=function(e){var t=e.mode,n=void 0===t?"async":t,s=e.customInfo,d=void 0===s?{}:s,f=e.title,p=e.messages,h=void 0===p?[]:p;return function(e,t,s){if(a.IS_DEBUG_MODE){var p=d.className||e.constructor.name,v=d.methodName||t,m=s.value,g=function(e){var t="",n=e.stack.split("\n"),r=n.findIndex(function(e){return u.test(e)});if(-1!==r){var o=c.exec(n[r+1]||"");t=o?o[0]:""}return t}(new Error);s.value="sync"===n?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=l({err:new Error,className:p,methodName:v,sourceLink:g});try{return m.apply(this,e)}catch(d){var r=d,o=d.message,a=d.error,s=d.error_description,u={title:f||"".concat(p,".").concat(v," failed"),content:[{type:"error",body:d}]};if(o&&/^\{.*\}$/.test(o)){var c=JSON.parse(o);u.subtitle=o,c.code&&(n?(n.code=c.code,n.msg=c.msg):(d.code=c.code,d.message=c.msg),r=n||d,u.content=h.map(function(e){return{type:"info",body:e}}))}throw a&&s&&(u.subtitle=s,n?(n.code=a,n.msg=s):(d.code=a,d.message=s),r=n||d,u.content=h.map(function(e){return{type:"info",body:e}})),(0,i.printGroupLog)(u),r}}:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r(this,void 0,void 0,function(){var t,n,r,a,s,u,c,d;return o(this,function(o){switch(o.label){case 0:t=l({err:new Error,className:p,methodName:v,sourceLink:g}),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,m.apply(this,e)];case 2:return[2,o.sent()];case 3:throw n=o.sent(),r=n,a=n.message,s=n.error,u=n.error_description,c={title:f||"".concat(p,".").concat(v," failed"),content:[{type:"error",body:n}]},a&&/^\{.*\}$/.test(a)&&(d=JSON.parse(a),c.subtitle=d,d.code&&(t?(t.code=d.code,t.message=d.msg):(n.code=d.code,n.message=d.msg),r=t||n,c.content=h.map(function(e){return{type:"info",body:e}}))),s&&u&&(c.subtitle=u,t?(t.code=s,t.msg=u):(n.code=s,n.message=u),r=t||n,c.content=h.map(function(e){return{type:"info",body:e}})),(0,i.printGroupLog)(c),r;case 4:return[2]}})})}}}}},9325:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},o=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(1119),t)},7174:function(e,t,n){"use strict";var r,o=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseCache=void 0;var s=n(6885),u=n(4442),c=n(7281),l=function(e){function t(t){var n=e.call(this)||this;return n.root=t,t.tcbCacheObject||(t.tcbCacheObject={}),n}return o(t,e),t.prototype.setItem=function(e,t){this.root.tcbCacheObject[e]=t},t.prototype.getItem=function(e){return this.root.tcbCacheObject[e]},t.prototype.removeItem=function(e){delete this.root.tcbCacheObject[e]},t.prototype.clear=function(){delete this.root.tcbCacheObject},t}(s.AbstractStorage),d=function(){function e(e){this.keys={};var t=e.persistence,n=e.platformInfo,r=void 0===n?{}:n,o=e.keys,i=void 0===o?{}:o;this.platformInfo=r,this.storage||(this.persistenceTag=this.platformInfo.adapter.primaryStorage||t,this.storage=function(e,t){switch(e){case"local":default:return t.localStorage?t.localStorage:((0,u.printWarn)(c.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new l(t.root));case"none":return new l(t.root)}}(this.persistenceTag,this.platformInfo.adapter),this.keys=i)}return Object.defineProperty(e.prototype,"mode",{get:function(){return this.storage.mode||"sync"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"persistence",{get:function(){return this.persistenceTag},enumerable:!1,configurable:!0}),e.prototype.setStore=function(e,t,n){if("async"!==this.mode){if(this.storage)try{var r={version:n||"localCachev1",content:t};this.storage.setItem(e,JSON.stringify(r))}catch(o){throw new Error(JSON.stringify({code:c.ERRORS.OPERATION_FAIL,msg:"[".concat((0,c.getSdkName)(),"][").concat(c.ERRORS.OPERATION_FAIL,"]setStore failed"),info:o}))}}else(0,u.printWarn)(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use setStoreAsync insteed")},e.prototype.setStoreAsync=function(e,t,n){return i(this,void 0,void 0,function(){var r;return a(this,function(o){switch(o.label){case 0:if(!this.storage)return[2];o.label=1;case 1:return o.trys.push([1,3,,4]),r={version:n||"localCachev1",content:t},[4,this.storage.setItem(e,JSON.stringify(r))];case 2:return o.sent(),[3,4];case 3:return o.sent(),[2];case 4:return[2]}})})},e.prototype.getStore=function(e,t){var n;if("async"!==this.mode){try{if("undefined"!=typeof process&&(null===(n=process.env)||void 0===n?void 0:n.tcb_token))return process.env.tcb_token;if(!this.storage)return""}catch(o){return""}t=t||"localCachev1";var r=this.storage.getItem(e);return r&&r.indexOf(t)>=0?JSON.parse(r).content:""}(0,u.printWarn)(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getStoreAsync insteed")},e.prototype.getStoreAsync=function(e,t){var n;return i(this,void 0,void 0,function(){var r;return a(this,function(o){switch(o.label){case 0:try{if("undefined"!=typeof process&&(null===(n=process.env)||void 0===n?void 0:n.tcb_token))return[2,process.env.tcb_token];if(!this.storage)return[2,""]}catch(i){return[2,""]}return t=t||"localCachev1",[4,this.storage.getItem(e)];case 1:return(r=o.sent())&&r.indexOf(t)>=0?[2,JSON.parse(r).content]:[2,""]}})})},e.prototype.removeStore=function(e){"async"!==this.mode?this.storage.removeItem(e):(0,u.printWarn)(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use removeStoreAsync insteed")},e.prototype.removeStoreAsync=function(e){return i(this,void 0,void 0,function(){return a(this,function(t){switch(t.label){case 0:return[4,this.storage.removeItem(e)];case 1:return t.sent(),[2]}})})},e}();t.CloudbaseCache=d},4947:function(e,t,n){"use strict";var r,o=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.removeEventListener=t.activateEvent=t.addEventListener=t.CloudbaseEventEmitter=t.IErrorEvent=t.CloudbaseEvent=void 0;var a=n(4442),s=function(e,t){this.data=t||null,this.name=e};t.CloudbaseEvent=s;var u=function(e){function t(t,n){var r=e.call(this,"error",{error:t,data:n})||this;return r.error=t,r}return o(t,e),t}(s);t.IErrorEvent=u;var c=function(){function e(){this.listeners={}}return e.prototype.on=function(e,t){return function(e,t,n){n[e]=n[e]||[],n[e].push(t)}(e,t,this.listeners),this},e.prototype.off=function(e,t){return function(e,t,n){if(null==n?void 0:n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}(e,t,this.listeners),this},e.prototype.fire=function(e,t){if((0,a.isInstanceOf)(e,u))return console.error(e.error),this;var n=(0,a.isString)(e)?new s(e,t||{}):e,r=n.name;if(this.listens(r)){n.target=this;for(var o=0,c=this.listeners[r]?i([],this.listeners[r],!0):[];o<c.length;o++)c[o].call(this,n)}return this},e.prototype.listens=function(e){return this.listeners[e]&&this.listeners[e].length>0},e}();t.CloudbaseEventEmitter=c;var l=new c;t.addEventListener=function(e,t){l.on(e,t)},t.activateEvent=function(e,t){void 0===t&&(t={}),l.fire(e,t)},t.removeEventListener=function(e,t){l.off(e,t)}},4442:function(e,t,n){"use strict";var r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.parseCaptcha=t.parseQueryString=t.transformPhone=t.sleep=t.printGroupLog=t.throwError=t.printInfo=t.printError=t.printWarn=t.execCallback=t.createPromiseCallback=t.removeParam=t.getHash=t.getQuery=t.toQueryString=t.formatUrl=t.generateRequestId=t.genSeqId=t.isFormData=t.isInstanceOf=t.isNull=t.isPalinObject=t.isUndefined=t.isString=t.isArray=void 0;var o=n(7281);t.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},t.isString=function(e){return"string"==typeof e},t.isUndefined=function(e){return void 0===e},t.isPalinObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isNull=function(e){return"[object Null]"===Object.prototype.toString.call(e)},t.isInstanceOf=function(e,t){return e instanceof t},t.isFormData=function(e){return"[object FormData]"===Object.prototype.toString.call(e)},t.genSeqId=function(){return Math.random().toString(16).slice(2)},t.generateRequestId=function(){var e=(new Date).getTime(),t=(null===Date||void 0===Date?void 0:Date.now)&&1e3*Date.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:7&r|8).toString(16)})},t.formatUrl=function(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),o="";return Object.keys(n).forEach(function(e){""===o?!r&&(t+="?"):o+="&",o+="".concat(e,"=").concat(encodeURIComponent(n[e]))}),/^http(s)?:\/\//.test(t+=o)?t:"".concat(e).concat(t)},t.toQueryString=function(e){void 0===e&&(e={});var t=[];return Object.keys(e).forEach(function(n){t.push("".concat(n,"=").concat(encodeURIComponent(e[n])))}),t.join("&")},t.getQuery=function(e,t){if("undefined"==typeof window)return!1;var n=t||decodeURIComponent(window.location.search),r=new RegExp("(^|&)".concat(e,"=([^&]*)(&|$)")),o=n.substr(n.indexOf("?")+1).match(r);return null!==o&&o!==undefined?o[2]:""},t.getHash=function(e){if("undefined"==typeof window)return"";var t=window.location.hash.match(new RegExp("[#?&/]".concat(e,"=([^&#]*)")));return t?t[1]:""},t.removeParam=function(e,t){var n=t.split("?")[0],r=[],o=-1!==t.indexOf("?")?t.split("?")[1]:"";if(""!==o){for(var i=(r=o.split("&")).length-1;i>=0;i-=1)r[i].split("=")[0]===e&&r.splice(i,1);n="".concat(n,"?").concat(r.join("&"))}return n},t.createPromiseCallback=function(){var e={};if(!Promise){(e=function(){}).promise={};var t=function(){throw new Error('Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.')};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var n=new Promise(function(t,n){e=function(e,r){return e?n(e):t(r)}});return e.promise=n,e},t.execCallback=function(e,t,n){if(void 0===n&&(n=null),e&&"function"==typeof e)return e(t,n);if(t)throw t;return n},t.printWarn=function(e,t){console.warn("[".concat((0,o.getSdkName)(),"][").concat(e,"]:").concat(t))},t.printError=function(e,t){console.error({code:e,msg:"[".concat((0,o.getSdkName)(),"][").concat(e,"]:").concat(t)})},t.printInfo=function(e,t){console.log("[".concat((0,o.getSdkName)(),"][").concat(e,"]:").concat(t))},t.throwError=function(e,t){throw new Error(JSON.stringify({code:e,msg:"[".concat((0,o.getSdkName)(),"][").concat(e,"]:").concat(t)}))},t.printGroupLog=function(e){var t,n=e.title,r=e.subtitle,o=void 0===r?"":r,i=e.content,a=void 0===i?[]:i,s=e.printTrace,u=void 0!==s&&s,c=e.collapsed;void 0!==c&&c?(console.groupCollapsed||console.error)(n,o):(console.group||console.error)(n,o);for(var l=0,d=a;l<d.length;l++){var f=d[l],p=f.type,h=f.body;switch(p){case"info":console.log(h);break;case"warn":console.warn(h);break;case"error":console.error(h)}}u&&(console.trace||console.log)("stack trace:"),null===(t=console.groupEnd)||void 0===t||t.call(console)},t.sleep=function(e){return void 0===e&&(e=0),new Promise(function(t){return setTimeout(t,e)})},t.transformPhone=function(e){return"+86".concat(e)},t.parseQueryString=function(e){e=e.replace(/^\?/,"");var t={};return e.split("&").forEach(function(e){var n=e.split("="),r=n[0],o=n[1];r=decodeURIComponent(r),o=decodeURIComponent(o),r&&(t[r]?Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o)}),t},t.parseCaptcha=function(e){var n={},o=e.match(/^(data:.*?)(\?[^#\s]*)?$/);if(o){e=o[1];var i=o[2];i&&(n=(0,t.parseQueryString)(i))}var a=n.token,s=r(n,["token"]);return/^data:/.test(e)&&!a?{error:"invalid_argument",error_description:"invalid captcha data: ".concat(e)}:a?{state:s.state,token:a,captchaData:e}:{error:"unimplemented",error_description:"need to impl captcha data"}}},5751:function(e,t,n){"use strict";var r=n(9367);Object.defineProperty(t,"__esModule",{value:!0}),t.RUNTIME=void 0,t.useAdapters=function(e,t){for(var n=(0,i.isArray)(e)?e:[e],r=0,o=n;r<o.length;r++){var a=o[r],s=a.isMatch,c=a.genAdapter,l=a.runtime;if(s())return{adapter:u({isMatch:s},c(t)),runtime:l}}},t.useDefaultAdapter=function(){return{adapter:u({},o.genAdapter()),runtime:s.WEB}};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{"default":e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=i?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}return o["default"]=e,n&&n.set(e,o),o}(n(2414)),i=n(4263);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var s,u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)};!function(e){e.WEB="web",e.WX_MP="wx_mp"}(s||(t.RUNTIME=s={}))},2414:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebRequest=void 0,t.genAdapter=function(){return{type:"default",root:window,reqClass:d,wsClass:WebSocket,localStorage:localStorage}};var r,o=n(6885),i=n(4263),a=n(1967),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},c=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},l=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},d=t.WebRequest=function(e){function t(t){var n=e.call(this)||this,r=t.timeout,o=t.timeoutMsg,i=t.restrictedMethods;return n.timeout=r||0,n.timeoutMsg=o||"请求超时",n.restrictedMethods=i||["get","post","upload","download"],n}return s(t,e),t.prototype.get=function(e){return this.request(u(u({},e),{method:"get"}),this.restrictedMethods.includes("get"))},t.prototype.post=function(e){return this.request(u(u({},e),{method:"post"}),this.restrictedMethods.includes("post"))},t.prototype.put=function(e){return this.request(u(u({},e),{method:"put"}))},t.prototype.upload=function(e){var t=e.data,n=e.file,r=e.name,o=e.method,i=e.headers,a=void 0===i?{}:i,s={post:"post",put:"put"}[null==o?void 0:o.toLowerCase()]||"put",c=new FormData;return"post"===s?(Object.keys(t).forEach(function(e){c.append(e,t[e])}),c.append("key",r),c.append("file",n),this.request(u(u({},e),{data:c,method:s}),this.restrictedMethods.includes("upload"))):this.request(u(u({},e),{method:"put",headers:a,body:n}),this.restrictedMethods.includes("upload"))},t.prototype.download=function(e){return c(this,void 0,void 0,function(){var t,n,r,o;return l(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.get(u(u({},e),{headers:{},responseType:"blob"}))];case 1:return t=i.sent().data,n=window.URL.createObjectURL(new Blob([t])),r=decodeURIComponent(new URL(e.url).pathname.split("/").pop()||""),(o=document.createElement("a")).href=n,o.setAttribute("download",r),o.style.display="none",document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(n),document.body.removeChild(o),[3,3];case 2:return i.sent(),[3,3];case 3:return[2,new Promise(function(t){t({statusCode:200,tempFilePath:e.url})})]}})})},t.prototype.fetch=function(e){var t;return c(this,void 0,void 0,function(){var n,r,o,i,a,s,d,f,p,h,v,m,g,_=this;return l(this,function(y){switch(y.label){case 0:return n=new AbortController,r=e.url,o=e.enableAbort,i=void 0!==o&&o,a=e.stream,s=void 0!==a&&a,d=e.signal,f=e.timeout,p=e.shouldThrowOnError,h=void 0===p||p,v=null!=f?f:this.timeout,d&&(d.aborted&&n.abort(),d.addEventListener("abort",function(){return n.abort()})),m=null,i&&v&&(m=setTimeout(function(){console.warn(_.timeoutMsg),n.abort(new Error(_.timeoutMsg))},v)),[4,fetch(r,u(u({},e),{signal:n.signal})).then(function(e){return c(_,void 0,void 0,function(){var t,n,r;return l(this,function(o){switch(o.label){case 0:return clearTimeout(m),h?e.ok?(t=e,[3,3]):[3,1]:[3,4];case 1:return r=(n=Promise).reject,[4,e.json()];case 2:t=r.apply(n,[o.sent()]),o.label=3;case 3:return[2,t];case 4:return[2,e]}})})})["catch"](function(e){if(clearTimeout(m),h)return Promise.reject(e)})];case 1:return g=y.sent(),[2,{data:s?g.body:(null===(t=g.headers.get("content-type"))||void 0===t?void 0:t.includes("application/json"))?g.json():g.text(),statusCode:g.status,header:g.headers}]}})})},t.prototype.request=function(e,t){var n=this;void 0===t&&(t=!1);var r=String(e.method).toLowerCase()||"get";return new Promise(function(o){var s,u,c=e.url,l=e.headers,d=void 0===l?{}:l,f=e.data,p=e.responseType,h=e.withCredentials,v=e.body,m=e.onUploadProgress,g=(0,i.formatUrl)((0,a.getProtocol)(),c,"get"===r?f:{}),_=new XMLHttpRequest;_.open(r,g),p&&(_.responseType=p),Object.keys(d).forEach(function(e){_.setRequestHeader(e,d[e])}),m&&_.upload.addEventListener("progress",m),_.onreadystatechange=function(){var e={};if(4===_.readyState){var t=_.getAllResponseHeaders().trim().split(/[\r\n]+/),n={};t.forEach(function(e){var t=e.split(": "),r=t.shift().toLowerCase(),o=t.join(": ");n[r]=o}),e.header=n,e.statusCode=_.status;try{e.data="blob"===p?_.response:JSON.parse(_.responseText)}catch(r){e.data="blob"===p?_.response:_.responseText}clearTimeout(s),o(e)}},t&&n.timeout&&(s=setTimeout(function(){console.warn(n.timeoutMsg),_.abort()},n.timeout)),u=(0,i.isFormData)(f)?f:"application/x-www-form-urlencoded"===d["content-type"]?(0,i.toQueryString)(f):v||(f?JSON.stringify(f):undefined),h&&(_.withCredentials=!0),_.send(u)})},t}(o.AbstractSDKRequest)},1967:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_DEBUG_MODE=t.COMMUNITY_SITE_URL=void 0,t.getProtocol=function(){return r},t.getSdkName=function(){return n},t.setProtocol=function(e){r=e},t.setSdkName=function(e){n=e};var n="@cloudbase/js-sdk",r="https:";t.IS_DEBUG_MODE=("undefined"==typeof process||process.env,!1),t.COMMUNITY_SITE_URL="https://support.qq.com/products/148793"},7845:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERRORS=void 0,t.ERRORS={INVALID_PARAMS:"INVALID_PARAMS",INVALID_SYNTAX:"INVALID_SYNTAX",INVALID_OPERATION:"INVALID_OPERATION",OPERATION_FAIL:"OPERATION_FAIL",NETWORK_ERROR:"NETWORK_ERROR",UNKOWN_ERROR:"UNKOWN_ERROR"}},4503:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={OATUH_LOGINTYPE:!0};t.OATUH_LOGINTYPE=void 0;var o=n(1967);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var i=n(7845);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}),t.OATUH_LOGINTYPE="constants"},9912:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.catchErrorsDecorator=function(e){var t=e.mode,n=void 0===t?"async":t,s=e.customInfo,d=void 0===s?{}:s,f=e.title,p=e.messages,h=void 0===p?[]:p;return function(e,t,s){if(o.IS_DEBUG_MODE){var p=d.className||e.constructor.name,v=d.methodName||t,m=s.value,g=function(e){var t="",n=e.stack.split("\n"),r=n.findIndex(function(e){return u.test(e)});if(-1!==r){var o=c.exec(n[r+1]||"");t=o?o[0]:""}return t}(new Error);s.value="sync"===n?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=l({err:new Error,className:p,methodName:v,sourceLink:g});try{return m.apply(this,e)}catch(d){var o=d,i=d.message,a=d.error,s=d.error_description,u={title:f||"".concat(p,".").concat(v," failed"),content:[{type:"error",body:d}]};if(i&&/^\{.*\}$/.test(i)){var c=JSON.parse(i);u.subtitle=i,c.code&&(n?(n.code=c.code,n.msg=c.msg):(d.code=c.code,d.message=c.msg),o=n||d,u.content=h.map(function(e){return{type:"info",body:e}}))}throw a&&s&&(u.subtitle=s,n?(n.code=a,n.msg=s):(d.code=a,d.message=s),o=n||d,u.content=h.map(function(e){return{type:"info",body:e}})),(0,r.printGroupLog)(u),o}}:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(this,void 0,void 0,function(){var t,n,o,i,s,u,c,d;return a(this,function(a){switch(a.label){case 0:t=l({err:new Error,className:p,methodName:v,sourceLink:g}),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,m.apply(this,e)];case 2:return[2,a.sent()];case 3:throw n=a.sent(),o=n,i=n.message,s=n.error,u=n.error_description,c={title:f||"".concat(p,".").concat(v," failed"),content:[{type:"error",body:n}]},i&&/^\{.*\}$/.test(i)&&(d=JSON.parse(i),c.subtitle=d,d.code&&(t?(t.code=d.code,t.message=d.msg):(n.code=d.code,n.message=d.msg),o=t||n,c.content=h.map(function(e){return{type:"info",body:e}}))),s&&u&&(c.subtitle=u,t?(t.code=s,t.msg=u):(n.code=s,n.message=u),o=t||n,c.content=h.map(function(e){return{type:"info",body:e}})),(0,r.printGroupLog)(c),o;case 4:return[2]}})})}}}};var r=n(4263),o=n(4503),i=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},s=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(s=-1!==navigator.userAgent.indexOf("Firefox"));var u=s?/(\.js\/)?__decorate(\$\d+)?<@.*\d$/:/(\/\w+\.js\.)?__decorate(\$\d+)?\s*\(.*\)$/,c=/https?:\/\/.+:\d*\/.*\.js:\d+:\d+/;function l(e){var t=e.err,n=e.className,r=e.methodName,o=e.sourceLink;if(!o)return null;var i,a=t.stack.split("\n"),u=s?/^catchErrorsDecorator\/<\/descriptor.value@.*\d$/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]\\s*\\(.*\\)$")),l=s?/^catchErrorsDecorator\/<\/descriptor.value/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]")),d=a.findIndex(function(e){return u.test(e)});if(-1!==d){var f=a.filter(function(e,t){return t>d});f.unshift(a[d].replace(l,"".concat(n,".").concat(r)).replace(c,o)),(i=new Error).stack="".concat(s?"@debugger":"Error","\n").concat(f.join("\n"))}return i}},500:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9912);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))})},3882:function(e,t,n){"use strict";var r=n(477),o=n(9367);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbortController",{enumerable:!0,get:function(){return f["default"]}}),t.utils=t.langEvent=t.jwt=t.helpers=t.events=t.constants=t.cache=t.adapters=void 0;var i=v(n(4503));t.constants=i;var a=v(n(5751));t.adapters=a;var s=v(n(8305));t.cache=s;var u=v(n(4302));t.events=u;var c=v(n(6367));t.langEvent=c;var l=v(n(4263));t.utils=l;var d=v(n(500));t.helpers=d;var f=r(n(6817)),p=r(n(9804));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{"default":e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r["default"]=e,n&&n.set(e,r),r}t.jwt={decode:p["default"]}},6817:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=function(){function e(){var e=this;this.listeners=[],this.signal={aborted:!1,addEventListener:function(t,n){"abort"===t&&e.listeners.push(n)}}}return e.prototype.abort=function(){this.signal.aborted||(this.signal.aborted=!0,this.listeners.forEach(function(e){return e()}))},e}();t["default"]=n},8305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseCache=void 0;var r,o=n(6885),i=n(4263),a=n(4503),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r["throw"](e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},l=function(e){function t(t){var n=e.call(this)||this;return n.root=t,t.tcbCacheObject||(t.tcbCacheObject={}),n}return s(t,e),t.prototype.setItem=function(e,t){this.root.tcbCacheObject[e]=t},t.prototype.getItem=function(e){return this.root.tcbCacheObject[e]},t.prototype.removeItem=function(e){delete this.root.tcbCacheObject[e]},t.prototype.clear=function(){delete this.root.tcbCacheObject},t}(o.AbstractStorage);t.CloudbaseCache=function(){function e(e){this.keys={};var t=e.persistence,n=e.platformInfo,r=void 0===n?{}:n,o=e.keys,s=void 0===o?{}:o;this.platformInfo=r,this.storage||(this.persistenceTag=this.platformInfo.adapter.primaryStorage||t,this.storage=function(e,t){switch(e){case"local":default:return t.localStorage?t.localStorage:((0,i.printWarn)(a.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new l(t.root));case"none":return new l(t.root)}}(this.persistenceTag,this.platformInfo.adapter),this.keys=s)}return Object.defineProperty(e.prototype,"mode",{get:function(){return this.storage.mode||"sync"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"persistence",{get:function(){return this.persistenceTag},enumerable:!1,configurable:!0}),e.prototype.setStore=function(e,t,n){if("async"!==this.mode){if(this.storage)try{var r={version:n||"localCachev1",content:t};this.storage.setItem(e,JSON.stringify(r))}catch(o){throw new Error(JSON.stringify({code:a.ERRORS.OPERATION_FAIL,msg:"[".concat((0,a.getSdkName)(),"][").concat(a.ERRORS.OPERATION_FAIL,"]setStore failed"),info:o}))}}else(0,i.printWarn)(a.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use setStoreAsync insteed")},e.prototype.setStoreAsync=function(e,t,n){return u(this,void 0,void 0,function(){var r;return c(this,function(o){switch(o.label){case 0:if(!this.storage)return[2];o.label=1;case 1:return o.trys.push([1,3,,4]),r={version:n||"localCachev1",content:t},[4,this.storage.setItem(e,JSON.stringify(r))];case 2:return o.sent(),[3,4];case 3:return o.sent(),[2];case 4:return[2]}})})},e.prototype.getStore=function(e,t){var n;if("async"!==this.mode){try{if("undefined"!=typeof process&&(null===(n=process.env)||void 0===n?void 0:n.tcb_token))return process.env.tcb_token;if(!this.storage)return""}catch(o){return""}t=t||"localCachev1";var r=this.storage.getItem(e);return r&&r.indexOf(t)>=0?JSON.parse(r).content:""}(0,i.printWarn)(a.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getStoreAsync insteed")},e.prototype.getStoreAsync=function(e,t){var n;return u(this,void 0,void 0,function(){var r;return c(this,function(o){switch(o.label){case 0:try{if("undefined"!=typeof process&&(null===(n=process.env)||void 0===n?void 0:n.tcb_token))return[2,process.env.tcb_token];if(!this.storage)return[2,""]}catch(i){return[2,""]}return t=t||"localCachev1",[4,this.storage.getItem(e)];case 1:return(r=o.sent())&&r.indexOf(t)>=0?[2,JSON.parse(r).content]:[2,""]}})})},e.prototype.removeStore=function(e){"async"!==this.mode?this.storage.removeItem(e):(0,i.printWarn)(a.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use removeStoreAsync insteed")},e.prototype.removeStoreAsync=function(e){return u(this,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,this.storage.removeItem(e)];case 1:return t.sent(),[2]}})})},e}()},4302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IErrorEvent=t.CloudbaseEventEmitter=t.CloudbaseEvent=void 0,t.activateEvent=function(e,t){void 0===t&&(t={}),c.fire(e,t)},t.addEventListener=function(e,t){c.on(e,t)},t.removeEventListener=function(e,t){c.off(e,t)};var r,o=n(4263),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},s=t.CloudbaseEvent=function(e,t){this.data=t||null,this.name=e},u=t.IErrorEvent=function(e){function t(t,n){var r=e.call(this,"error",{error:t,data:n})||this;return r.error=t,r}return i(t,e),t}(s),c=new(t.CloudbaseEventEmitter=function(){function e(){this.listeners={}}return e.prototype.on=function(e,t){return function(e,t,n){n[e]=n[e]||[],n[e].push(t)}(e,t,this.listeners),this},e.prototype.off=function(e,t){return function(e,t,n){if(null==n?void 0:n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}(e,t,this.listeners),this},e.prototype.fire=function(e,t){if((0,o.isInstanceOf)(e,u))return console.error(e.error),this;var n=(0,o.isString)(e)?new s(e,t||{}):e,r=n.name;if(this.listens(r)){n.target=this;for(var i=0,c=this.listeners[r]?a([],this.listeners[r],!0):[];i<c.length;i++)c[i].call(this,n)}return this},e.prototype.listens=function(e){return this.listeners[e]&&this.listeners[e].length>0},e}())},6367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bus=t.LANG_CHANGE_EVENT=void 0;var r=n(4302);t.bus=new r.CloudbaseEventEmitter,t.LANG_CHANGE_EVENT="lang_change"},4263:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPromiseCallback=function(){var e={};if(!Promise){(e=function(){}).promise={};var t=function(){throw new Error('Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.')};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var n=new Promise(function(t,n){e=function(e,r){return e?n(e):t(r)}});return e.promise=n,e},t.execCallback=function(e,t,n){if(void 0===n&&(n=null),e&&"function"==typeof e)return e(t,n);if(t)throw t;return n},t.formatUrl=function(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),o="";return Object.keys(n).forEach(function(e){""===o?!r&&(t+="?"):o+="&",o+="".concat(e,"=").concat(encodeURIComponent(n[e]))}),/^http(s)?:\/\//.test(t+=o)?t:"".concat(e).concat(t)},t.genSeqId=function(){return Math.random().toString(16).slice(2)},t.generateRequestId=function(){var e=(new Date).getTime(),t=(null===Date||void 0===Date?void 0:Date.now)&&1e3*Date.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:7&r|8).toString(16)})},t.getHash=void 0,t.getQuery=function(e,t){if("undefined"==typeof window)return!1;var n=t||decodeURIComponent(window.location.search),r=new RegExp("(^|&)".concat(e,"=([^&]*)(&|$)")),o=n.substr(n.indexOf("?")+1).match(r);return null!==o&&o!==undefined?o[2]:""},t.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},t.isFormData=function(e){return"[object FormData]"===Object.prototype.toString.call(e)},t.isInstanceOf=function(e,t){return e instanceof t},t.isNull=function(e){return"[object Null]"===Object.prototype.toString.call(e)},t.isPalinObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isString=function(e){return"string"==typeof e},t.isUndefined=function(e){return void 0===e},t.parseCaptcha=function(e){var t={},n=e.match(/^(data:.*?)(\?[^#\s]*)?$/);if(n){e=n[1];var r=n[2];r&&(t=i(r))}var a=t.token,s=o(t,["token"]);return/^data:/.test(e)&&!a?{error:"invalid_argument",error_description:"invalid captcha data: ".concat(e)}:a?{state:s.state,token:a,captchaData:e}:{error:"unimplemented",error_description:"need to impl captcha data"}},t.parseQueryString=void 0,t.printError=function(e,t){console.error({code:e,msg:"[".concat((0,r.getSdkName)(),"][").concat(e,"]:").concat(t)})},t.printGroupLog=function(e){var t,n=e.title,r=e.subtitle,o=void 0===r?"":r,i=e.content,a=void 0===i?[]:i,s=e.printTrace,u=void 0!==s&&s,c=e.collapsed;void 0!==c&&c?(console.groupCollapsed||console.error)(n,o):(console.group||console.error)(n,o);for(var l=0,d=a;l<d.length;l++){var f=d[l],p=f.type,h=f.body;switch(p){case"info":console.log(h);break;case"warn":console.warn(h);break;case"error":console.error(h)}}u&&(console.trace||console.log)("stack trace:"),null===(t=console.groupEnd)||void 0===t||t.call(console)},t.printInfo=function(e,t){console.log("[".concat((0,r.getSdkName)(),"][").concat(e,"]:").concat(t))},t.printWarn=function(e,t){console.warn("[".concat((0,r.getSdkName)(),"][").concat(e,"]:").concat(t))},t.removeParam=function(e,t){var n=t.split("?")[0],r=[],o=-1!==t.indexOf("?")?t.split("?")[1]:"";if(""!==o){for(var i=(r=o.split("&")).length-1;i>=0;i-=1)r[i].split("=")[0]===e&&r.splice(i,1);n="".concat(n,"?").concat(r.join("&"))}return n},t.sleep=void 0,t.throwError=function(e,t){throw new Error(JSON.stringify({code:e,msg:"[".concat((0,r.getSdkName)(),"][").concat(e,"]:").concat(t)}))},t.toQueryString=function(e){void 0===e&&(e={});var t=[];return Object.keys(e).forEach(function(n){t.push("".concat(n,"=").concat(encodeURIComponent(e[n])))}),t.join("&")},t.transformPhone=function(e){return"+86".concat(e)};var r=n(4503),o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};t.getHash=function(e){if("undefined"==typeof window)return"";var t=window.location.hash.match(new RegExp("[#?&/]".concat(e,"=([^&#]*)")));return t?t[1]:""},t.sleep=function(e){return void 0===e&&(e=0),new Promise(function(t){return setTimeout(t,e)})};var i=t.parseQueryString=function(e){e=e.replace(/^\?/,"");var t={};return e.split("&").forEach(function(e){var n=e.split("="),r=n[0],o=n[1];r=decodeURIComponent(r),o=decodeURIComponent(o),r&&(t[r]?Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o)}),t}},2889:function(e,t,n){"use strict";var r;n(477)(n(9367)),function(){function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,r,i,a){return o((s=o(o(t,e),o(r,a)))<<(u=i)|s>>>32-u,n);var s,u}function a(e,t,n,r,o,a,s){return i(t&n|~t&r,e,t,o,a,s)}function s(e,t,n,r,o,a,s){return i(t&r|n&~r,e,t,o,a,s)}function u(e,t,n,r,o,a,s){return i(t^n^r,e,t,o,a,s)}function c(e,t,n,r,o,a,s){return i(n^(t|~r),e,t,o,a,s)}function l(e,t){var n,r,i,l,d;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var f=1732584193,p=-271733879,h=-1732584194,v=271733878;for(n=0;n<e.length;n+=16)r=f,i=p,l=h,d=v,f=a(f,p,h,v,e[n],7,-680876936),v=a(v,f,p,h,e[n+1],12,-389564586),h=a(h,v,f,p,e[n+2],17,606105819),p=a(p,h,v,f,e[n+3],22,-1044525330),f=a(f,p,h,v,e[n+4],7,-176418897),v=a(v,f,p,h,e[n+5],12,1200080426),h=a(h,v,f,p,e[n+6],17,-1473231341),p=a(p,h,v,f,e[n+7],22,-45705983),f=a(f,p,h,v,e[n+8],7,1770035416),v=a(v,f,p,h,e[n+9],12,-1958414417),h=a(h,v,f,p,e[n+10],17,-42063),p=a(p,h,v,f,e[n+11],22,-1990404162),f=a(f,p,h,v,e[n+12],7,1804603682),v=a(v,f,p,h,e[n+13],12,-40341101),h=a(h,v,f,p,e[n+14],17,-1502002290),f=s(f,p=a(p,h,v,f,e[n+15],22,1236535329),h,v,e[n+1],5,-165796510),v=s(v,f,p,h,e[n+6],9,-1069501632),h=s(h,v,f,p,e[n+11],14,643717713),p=s(p,h,v,f,e[n],20,-373897302),f=s(f,p,h,v,e[n+5],5,-701558691),v=s(v,f,p,h,e[n+10],9,38016083),h=s(h,v,f,p,e[n+15],14,-660478335),p=s(p,h,v,f,e[n+4],20,-405537848),f=s(f,p,h,v,e[n+9],5,568446438),v=s(v,f,p,h,e[n+14],9,-1019803690),h=s(h,v,f,p,e[n+3],14,-187363961),p=s(p,h,v,f,e[n+8],20,1163531501),f=s(f,p,h,v,e[n+13],5,-1444681467),v=s(v,f,p,h,e[n+2],9,-51403784),h=s(h,v,f,p,e[n+7],14,1735328473),f=u(f,p=s(p,h,v,f,e[n+12],20,-1926607734),h,v,e[n+5],4,-378558),v=u(v,f,p,h,e[n+8],11,-2022574463),h=u(h,v,f,p,e[n+11],16,1839030562),p=u(p,h,v,f,e[n+14],23,-35309556),f=u(f,p,h,v,e[n+1],4,-1530992060),v=u(v,f,p,h,e[n+4],11,1272893353),h=u(h,v,f,p,e[n+7],16,-155497632),p=u(p,h,v,f,e[n+10],23,-1094730640),f=u(f,p,h,v,e[n+13],4,681279174),v=u(v,f,p,h,e[n],11,-358537222),h=u(h,v,f,p,e[n+3],16,-722521979),p=u(p,h,v,f,e[n+6],23,76029189),f=u(f,p,h,v,e[n+9],4,-640364487),v=u(v,f,p,h,e[n+12],11,-421815835),h=u(h,v,f,p,e[n+15],16,530742520),f=c(f,p=u(p,h,v,f,e[n+2],23,-995338651),h,v,e[n],6,-198630844),v=c(v,f,p,h,e[n+7],10,1126891415),h=c(h,v,f,p,e[n+14],15,-1416354905),p=c(p,h,v,f,e[n+5],21,-57434055),f=c(f,p,h,v,e[n+12],6,1700485571),v=c(v,f,p,h,e[n+3],10,-1894986606),h=c(h,v,f,p,e[n+10],15,-1051523),p=c(p,h,v,f,e[n+1],21,-2054922799),f=c(f,p,h,v,e[n+8],6,1873313359),v=c(v,f,p,h,e[n+15],10,-30611744),h=c(h,v,f,p,e[n+6],15,-1560198380),p=c(p,h,v,f,e[n+13],21,1309151649),f=c(f,p,h,v,e[n+4],6,-145523070),v=c(v,f,p,h,e[n+11],10,-1120210379),h=c(h,v,f,p,e[n+2],15,718787259),p=c(p,h,v,f,e[n+9],21,-343485551),f=o(f,r),p=o(p,i),h=o(h,l),v=o(v,d);return[f,p,h,v]}function d(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=undefined,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function p(e){var t,n,r="0123456789abcdef",o="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),o+=r.charAt(t>>>4&15)+r.charAt(15&t);return o}function h(e){return unescape(encodeURIComponent(e))}function v(e){return function(e){return d(l(f(e),8*e.length))}(h(e))}function m(e,t){return function(e,t){var n,r,o=f(e),i=[],a=[];for(i[15]=a[15]=undefined,o.length>16&&(o=l(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=l(i.concat(f(t)),512+8*t.length),d(l(a.concat(r),640))}(h(e),h(t))}function g(e,t,n){return t?n?m(t,e):p(m(t,e)):n?v(e):p(v(e))}(r=function(){return g}.call(t,n,t,e))===undefined||(e.exports=r)}()},9067:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r="undefined"!=typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,undefined]]);var a={};if(r)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&a[l[0]]||(void 0!==i&&("undefined"==typeof l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},1778:function(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e["default"]:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},5346:function(e){"use strict";e.exports=function(e){return e[1]}},1463:function(e,t,n){"use strict";var r=n(477)(n(9367));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=96)}({0:function(e,t,n){function r(e,t,n,r,o,i,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},96:function(e,t,n){n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button","class":[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{"class":e.icon}):e._e(),e.$slots["default"]?n("span",[e._t("default")],2):e._e()])};r._withStripped=!0;var o={name:"ElButton",inject:{elForm:{"default":""},elFormItem:{"default":""}},props:{type:{type:String,"default":"default"},size:String,icon:{type:String,"default":""},nativeType:{type:String,"default":"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},i=n(0),a=Object(i.a)(o,r,[],!1,null,null,null);a.options.__file="packages/button/src/button.vue";var s=a.exports;s.install=function(e){e.component(s.name,s)},t["default"]=s}})},5735:function(e,t,n){"use strict";var r=n(477)(n(9367));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=75)}({0:function(e,t,n){function r(e,t,n,r,o,i,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},11:function(e,t){e.exports=n(2036)},21:function(e,t){e.exports=n(4524)},4:function(e,t){e.exports=n(5956)},75:function(e,t,n){n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{"class":["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon","class":e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon","class":e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon","class":["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)};r._withStripped=!0;var o=n(4),i=n.n(o),a=n(11),s=n.n(a),u=void 0,c=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function l(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;u||(u=document.createElement("textarea"),document.body.appendChild(u));var r=function(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),o=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:c.map(function(e){return e+":"+t.getPropertyValue(e)}).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}(e),o=r.paddingSize,i=r.borderSize,a=r.boxSizing,s=r.contextStyle;u.setAttribute("style",s+";\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n"),u.value=e.value||e.placeholder||"";var l=u.scrollHeight,d={};"border-box"===a?l+=i:"content-box"===a&&(l-=o),u.value="";var f=u.scrollHeight-o;if(null!==t){var p=f*t;"border-box"===a&&(p=p+o+i),l=Math.max(p,l),d.minHeight=p+"px"}if(null!==n){var h=f*n;"border-box"===a&&(h=h+o+i),l=Math.min(h,l)}return d.height=l+"px",u.parentNode&&u.parentNode.removeChild(u),u=null,d}var d=n(9),f=n.n(d),p=n(21),h={name:"ElInput",componentName:"ElInput",mixins:[i.a,s.a],inheritAttrs:!1,inject:{elForm:{"default":""},elFormItem:{"default":""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,"default":"text"},autosize:{type:[Boolean,Object],"default":!1},autocomplete:{type:String,"default":"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,"default":!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,"default":!1},showPassword:{type:Boolean,"default":!1},showWordLimit:{type:Boolean,"default":!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return f()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||this.value===undefined?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick(function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()})}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize;if("textarea"===this.type)if(e){var t=e.minRows,n=e.maxRows;this.textareaCalcStyle=l(this.$refs.textarea,t,n)}else this.textareaCalcStyle={minHeight:l(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(p.isKorean)(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,r=0;r<t.length;r++)if(t[r].parentNode===this.$el){n=t[r];break}if(n){var o={suffix:"append",prefix:"prepend"}[e];this.$slots[o]?n.style.transform="translateX("+("suffix"===e?"-":"")+this.$el.querySelector(".el-input-group__"+o).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){var e=this;this.passwordVisible=!this.passwordVisible,this.$nextTick(function(){e.focus()})},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},v=h,m=n(0),g=Object(m.a)(v,r,[],!1,null,null,null);g.options.__file="packages/input/src/input.vue";var _=g.exports;_.install=function(e){e.component(_.name,_)},t["default"]=_},9:function(e,t){e.exports=n(8589)}})},4511:function(e,t,n){"use strict";var r=n(477)(n(9367));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=73)}({0:function(e,t,n){function r(e,t,n,r,o,i,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},13:function(e,t){e.exports=n(9668)},2:function(e,t){e.exports=n(2865)},42:function(e,t){e.exports=n(3725)},7:function(e,t){e.exports=n(4478)},73:function(e,t,n){n.r(t);var r=n(7),o=n.n(r),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask","class":[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[n("div",{staticClass:"el-loading-spinner"},[e.spinner?n("i",{"class":e.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?n("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])};i._withStripped=!0;var a={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}},s=n(0),u=Object(s.a)(a,i,[],!1,null,null,null);u.options.__file="packages/loading/src/loading.vue";var c=u.exports,l=n(2),d=n(13),f=n(42),p=n.n(f),h=o.a.extend(c),v={install:function(e){if(!e.prototype.$isServer){var t=function(t,r){r.value?e.nextTick(function(){r.modifiers.fullscreen?(t.originalPosition=Object(l.getStyle)(document.body,"position"),t.originalOverflow=Object(l.getStyle)(document.body,"overflow"),t.maskStyle.zIndex=d.PopupManager.nextZIndex(),Object(l.addClass)(t.mask,"is-fullscreen"),n(document.body,t,r)):(Object(l.removeClass)(t.mask,"is-fullscreen"),r.modifiers.body?(t.originalPosition=Object(l.getStyle)(document.body,"position"),["top","left"].forEach(function(e){var n="top"===e?"scrollTop":"scrollLeft";t.maskStyle[e]=t.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]-parseInt(Object(l.getStyle)(document.body,"margin-"+e),10)+"px"}),["height","width"].forEach(function(e){t.maskStyle[e]=t.getBoundingClientRect()[e]+"px"}),n(document.body,t,r)):(t.originalPosition=Object(l.getStyle)(t,"position"),n(t,t,r)))}):(p()(t.instance,function(e){if(t.instance.hiding){t.domVisible=!1;var n=r.modifiers.fullscreen||r.modifiers.body?document.body:t;Object(l.removeClass)(n,"el-loading-parent--relative"),Object(l.removeClass)(n,"el-loading-parent--hidden"),t.instance.hiding=!1}},300,!0),t.instance.visible=!1,t.instance.hiding=!0)},n=function(t,n,r){n.domVisible||"none"===Object(l.getStyle)(n,"display")||"hidden"===Object(l.getStyle)(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach(function(e){n.mask.style[e]=n.maskStyle[e]}),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object(l.addClass)(t,"el-loading-parent--relative"),r.modifiers.fullscreen&&r.modifiers.lock&&Object(l.addClass)(t,"el-loading-parent--hidden"),n.domVisible=!0,t.appendChild(n.mask),e.nextTick(function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0}),n.domInserted=!0)};e.directive("loading",{bind:function(e,n,r){var o=e.getAttribute("element-loading-text"),i=e.getAttribute("element-loading-spinner"),a=e.getAttribute("element-loading-background"),s=e.getAttribute("element-loading-custom-class"),u=r.context,c=new h({el:document.createElement("div"),data:{text:u&&u[o]||o,spinner:u&&u[i]||i,background:u&&u[a]||a,customClass:u&&u[s]||s,fullscreen:!!n.modifiers.fullscreen}});e.instance=c,e.mask=c.$el,e.maskStyle={},n.value&&t(e,n)},update:function(e,n){e.instance.setText(e.getAttribute("element-loading-text")),n.oldValue!==n.value&&t(e,n)},unbind:function(e,n){e.domInserted&&(e.mask&&e.mask.parentNode&&e.mask.parentNode.removeChild(e.mask),t(e,{value:!1,modifiers:n.modifiers})),e.instance&&e.instance.$destroy()}})}}},m=v,g=n(9),_=n.n(g),y=o.a.extend(c),b={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},w=void 0;y.prototype.originalPosition="",y.prototype.originalOverflow="",y.prototype.close=function(){var e=this;this.fullscreen&&(w=undefined),p()(this,function(t){var n=e.fullscreen||e.body?document.body:e.target;Object(l.removeClass)(n,"el-loading-parent--relative"),Object(l.removeClass)(n,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()},300),this.visible=!1};var E=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(!o.a.prototype.$isServer){if("string"==typeof(e=_()({},b,e)).target&&(e.target=document.querySelector(e.target)),e.target=e.target||document.body,e.target!==document.body?e.fullscreen=!1:e.body=!0,e.fullscreen&&w)return w;var t=e.body?document.body:e.target,n=new y({el:document.createElement("div"),data:e});return function(e,t,n){var r={};e.fullscreen?(n.originalPosition=Object(l.getStyle)(document.body,"position"),n.originalOverflow=Object(l.getStyle)(document.body,"overflow"),r.zIndex=d.PopupManager.nextZIndex()):e.body?(n.originalPosition=Object(l.getStyle)(document.body,"position"),["top","left"].forEach(function(t){var n="top"===t?"scrollTop":"scrollLeft";r[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]+"px"}),["height","width"].forEach(function(t){r[t]=e.target.getBoundingClientRect()[t]+"px"})):n.originalPosition=Object(l.getStyle)(t,"position"),Object.keys(r).forEach(function(e){n.$el.style[e]=r[e]})}(e,t,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object(l.addClass)(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object(l.addClass)(t,"el-loading-parent--hidden"),t.appendChild(n.$el),o.a.nextTick(function(){n.visible=!0}),e.fullscreen&&(w=n),n}};t["default"]={install:function(e){e.use(m),e.prototype.$loading=E},directive:m,service:E}},9:function(e,t){e.exports=n(8589)}})},5956:function(e,t){"use strict";function n(e,t,r){this.$children.forEach(function(o){o.$options.componentName===e?o.$emit.apply(o,[t].concat(r)):n.apply(o,[e,t].concat([r]))})}t.__esModule=!0,t["default"]={methods:{dispatch:function(e,t,n){for(var r=this.$parent||this.$root,o=r.$options.componentName;r&&(!o||o!==e);)(r=r.$parent)&&(o=r.$options.componentName);r&&r.$emit.apply(r,[t].concat(n))},broadcast:function(e,t,r){n.call(this,e,t,r)}}}},2036:function(e,t,n){"use strict";t.__esModule=!0,n(2417),t["default"]={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},3725:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:300,r=arguments.length>3&&arguments[3]!==undefined&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var o=!1,i=function(){o||(o=!0,t&&t.apply(null,arguments))};r?e.$once("after-leave",i):e.$on("after-leave",i),setTimeout(function(){i()},n+100)}},2865:function(e,t,n){"use strict";var r=n(477)(n(9367));t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=undefined;var o="function"==typeof Symbol&&"symbol"===(0,r["default"])(Symbol.iterator)?function(e){return(0,r["default"])(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r["default"])(e)};t.hasClass=v,t.addClass=function(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),o=0,i=r.length;o<i;o++){var a=r[o];a&&(e.classList?e.classList.add(a):v(e,a)||(n+=" "+a))}e.classList||e.setAttribute("class",n)}},t.removeClass=function(e,t){if(e&&t){for(var n=t.split(" "),r=" "+e.className+" ",o=0,i=n.length;o<i;o++){var a=n[o];a&&(e.classList?e.classList.remove(a):v(e,a)&&(r=r.replace(" "+a+" "," ")))}e.classList||e.setAttribute("class",d(r))}},t.setStyle=function _(e,t,n){if(e&&t)if("object"===(void 0===t?"undefined":o(t)))for(var r in t)t.hasOwnProperty(r)&&_(e,r,t[r]);else"opacity"===(t=f(t))&&l<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};var i,a=n(4478),s=((i=a)&&i.__esModule?i:{"default":i})["default"].prototype.$isServer,u=/([\:\-\_]+(.))/g,c=/^moz([A-Z])/,l=s?0:Number(document.documentMode),d=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},f=function(e){return e.replace(u,function(e,t,n,r){return r?n.toUpperCase():n}).replace(c,"Moz$1")},p=t.on=!s&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)},h=t.off=!s&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)};function v(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}t.once=function(e,t,n){p(e,t,function r(){n&&n.apply(this,arguments),h(e,t,r)})};var m=t.getStyle=l<9?function(e,t){if(!s){if(!e||!t)return null;"float"===(t=f(t))&&(t="styleFloat");try{if("opacity"===t)try{return e.filters.item("alpha").opacity/100}catch(n){return 1}return e.style[t]||e.currentStyle?e.currentStyle[t]:null}catch(n){return e.style[t]}}}:function(e,t){if(!s){if(!e||!t)return null;"float"===(t=f(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(r){return e.style[t]}}},g=t.isScroll=function(e,t){if(!s){var n=null!==t&&t!==undefined;return m(e,n?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)}};t.getScrollContainer=function(e,t){if(!s){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(g(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(s||!e||!t)return!1;var n=e.getBoundingClientRect(),r=void 0;return r=[window,document,document.documentElement,null,undefined].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right}},8589:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];i!==undefined&&(e[o]=i)}}return e}},9668:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=undefined;var r=u(n(4478)),o=u(n(8589)),i=u(n(8432)),a=u(n(9686)),s=n(2865);function u(e){return e&&e.__esModule?e:{"default":e}}var c=1,l=void 0;t["default"]={props:{visible:{type:Boolean,"default":!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,"default":!1},modalFade:{type:Boolean,"default":!0},modalClass:{},modalAppendToBody:{type:Boolean,"default":!1},lockScroll:{type:Boolean,"default":!0},closeOnPressEscape:{type:Boolean,"default":!1},closeOnClickModal:{type:Boolean,"default":!1}},beforeMount:function(){this._popupId="popup-"+c++,i["default"].register(this._popupId,this)},beforeDestroy:function(){i["default"].deregister(this._popupId),i["default"].closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,r["default"].nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,o["default"])({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(n)},r):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,r=e.zIndex;if(r&&(i["default"].zIndex=r),n&&(this._closing&&(i["default"].closeModal(this._popupId),this._closing=!1),i["default"].openModal(this._popupId,i["default"].nextZIndex(),this.modalAppendToBody?undefined:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),l=(0,a["default"])();var o=document.documentElement.clientHeight<document.body.scrollHeight,u=(0,s.getStyle)(document.body,"overflowY");l>0&&(o||"scroll"===u)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+l+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=i["default"].nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){i["default"].closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=i["default"]},8432:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(4478),i=(r=o)&&r.__esModule?r:{"default":r},a=n(2865),s=!1,u=!1,c=void 0,l=function(){if(!i["default"].prototype.$isServer){var e=f.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),f.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(){f.doOnModalClick&&f.doOnModalClick()})),e}},d={},f={modalFade:!0,getInstance:function(e){return d[e]},register:function(e,t){e&&t&&(d[e]=t)},deregister:function(e){e&&(d[e]=null,delete d[e])},nextZIndex:function(){return f.zIndex++},modalStack:[],doOnModalClick:function(){var e=f.modalStack[f.modalStack.length-1];if(e){var t=f.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,r,o){if(!i["default"].prototype.$isServer&&e&&t!==undefined){this.modalFade=o;for(var u=this.modalStack,c=0,d=u.length;c<d;c++)if(u[c].id===e)return;var f=l();(0,a.addClass)(f,"v-modal"),this.modalFade&&!s&&(0,a.addClass)(f,"v-modal-enter"),r&&r.trim().split(/\s+/).forEach(function(e){return(0,a.addClass)(f,e)}),setTimeout(function(){(0,a.removeClass)(f,"v-modal-enter")},200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(f):document.body.appendChild(f),t&&(f.style.zIndex=t),f.tabIndex=0,f.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:r})}},closeModal:function(e){var t=this.modalStack,n=l();if(t.length>0){var r=t[t.length-1];if(r.id===e)r.modalClass&&r.modalClass.trim().split(/\s+/).forEach(function(e){return(0,a.removeClass)(n,e)}),t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex);else for(var o=t.length-1;o>=0;o--)if(t[o].id===e){t.splice(o,1);break}}0===t.length&&(this.modalFade&&(0,a.addClass)(n,"v-modal-leave"),setTimeout(function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",f.modalDom=undefined),(0,a.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(f,"zIndex",{configurable:!0,get:function(){return u||(c=c||(i["default"].prototype.$ELEMENT||{}).zIndex||2e3,u=!0),c},set:function(e){c=e}}),i["default"].prototype.$isServer||window.addEventListener("keydown",function(e){if(27===e.keyCode){var t=function(){if(!i["default"].prototype.$isServer&&f.modalStack.length>0){var e=f.modalStack[f.modalStack.length-1];if(!e)return;return f.getInstance(e.id)}}();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}}),t["default"]=f},9686:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(i["default"].prototype.$isServer)return 0;if(a!==undefined)return a;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),a=t-r};var r,o=n(4478),i=(r=o)&&r.__esModule?r:{"default":r},a=void 0},4524:function(e,t){"use strict";t.__esModule=!0,t.isDef=function(e){return e!==undefined&&null!==e},t.isKorean=function(e){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e)}},6200:function(e,t,n){"use strict";var r=n(477)(n(9367));t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=undefined;var o="function"==typeof Symbol&&"symbol"===(0,r["default"])(Symbol.iterator)?function(e){return(0,r["default"])(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r["default"])(e)};t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isHtmlElement=function(e){return e&&e.nodeType===Node.ELEMENT_NODE};var i,a=n(4478),s=(i=a)&&i.__esModule?i:{"default":i},u=function(e){return e&&"[object Function]"==={}.toString.call(e)};"object"===("undefined"==typeof Int8Array?"undefined":o(Int8Array))||!s["default"].prototype.$isServer&&"function"==typeof document.childNodes||(t.isFunction=u=function(e){return"function"==typeof e||!1}),t.isFunction=u,t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return e!==undefined&&null!==e}},2417:function(e,t,n){"use strict";var r=n(477)(n(9367));t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=undefined;var o="function"==typeof Symbol&&"symbol"===(0,r["default"])(Symbol.iterator)?function(e){return(0,r["default"])(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r["default"])(e)};t.noop=function(){},t.hasOwn=function(e,t){return c.call(e,t)},t.toObject=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&l(t,e[n]);return t},t.getPropByPath=function(e,t,n){for(var r=e,o=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i=0,a=o.length;i<a-1&&(r||n);++i){var s=o[i];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:o[i],v:r?r[o[i]]:null}},t.rafThrottle=function(e){var t=!1;return function(){for(var n=this,r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];t||(t=!0,window.requestAnimationFrame(function(r){e.apply(n,o),t=!1}))}},t.objToArray=function(e){return Array.isArray(e)?e:h(e)?[]:[e]};var i,a=n(4478),s=(i=a)&&i.__esModule?i:{"default":i},u=n(6200),c=Object.prototype.hasOwnProperty;function l(e,t){for(var n in t)e[n]=t[n];return e}t.getValueByPath=function(e,t){for(var n=(t=t||"").split("."),r=e,o=null,i=0,a=n.length;i<a;i++){var s=n[i];if(!r)break;if(i===a-1){o=r[s];break}r=r[s]}return o},t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var d=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},f=(t.arrayFind=function(e,t){var n=d(e,t);return-1!==n?e[n]:undefined},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!s["default"].prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!s["default"].prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!s["default"].prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==(void 0===e?"undefined":o(e)))return e;var t=["ms-","webkit-"];return["transform","transition","animation"].forEach(function(n){var r=e[n];n&&r&&t.forEach(function(t){e[t+n]=r})}),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,u.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,u.isObject)(e),r=(0,u.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),p=t.arrayEquals=function(e,t){if(t=t||[],(e=e||[]).length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!f(e[n],t[n]))return!1;return!0},h=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?p(e,t):f(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});t.isMac=function(){return!s["default"].prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},2573:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o,i=r(n(4478)),a=n(8784),s=[],u="@@clickoutsideContext",c=0;function l(e,t,n){return function(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};!(n&&n.context&&r.target&&o.target)||e.contains(r.target)||e.contains(o.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(o.target))||(t.expression&&e[u].methodName&&n.context[e[u].methodName]?n.context[e[u].methodName]():e[u].bindingFn&&e[u].bindingFn())}}!i["default"].prototype.$isServer&&(0,a.on)(document,"mousedown",function(e){return o=e}),!i["default"].prototype.$isServer&&(0,a.on)(document,"mouseup",function(e){s.forEach(function(t){return t[u].documentHandler(e,o)})}),t["default"]={bind:function(e,t,n){s.push(e);var r=c++;e[u]={id:r,documentHandler:l(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[u].documentHandler=l(e,t,n),e[u].methodName=t.expression,e[u].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n<t;n++)if(s[n][u].id===e[u].id){s.splice(n,1);break}delete e[u]}}},8784:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.addClass=function(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),o=0,i=r.length;o<i;o++){var a=r[o];a&&(e.classList?e.classList.add(a):p(e,a)||(n+=" "+a))}e.classList||e.setAttribute("class",n)}},t.getStyle=t.getScrollContainer=void 0,t.hasClass=p,t.once=t.on=t.off=t.isScroll=t.isInContainer=void 0,t.removeClass=function(e,t){if(e&&t){for(var n=t.split(" "),r=" "+e.className+" ",o=0,i=n.length;o<i;o++){var a=n[o];a&&(e.classList?e.classList.remove(a):p(e,a)&&(r=r.replace(" "+a+" "," ")))}e.classList||e.setAttribute("class",c(r))}},t.setStyle=function m(e,t,n){if(e&&t)if("object"===(0,o["default"])(t))for(var r in t)t.hasOwnProperty(r)&&m(e,r,t[r]);else"opacity"===(t=l(t))&&u<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};var o=r(n(9367)),i=r(n(4478))["default"].prototype.$isServer,a=/([\:\-\_]+(.))/g,s=/^moz([A-Z])/,u=i?0:Number(document.documentMode),c=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},l=function(e){return e.replace(a,function(e,t,n,r){return r?n.toUpperCase():n}).replace(s,"Moz$1")},d=t.on=!i&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)},f=t.off=!i&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)};function p(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}t.once=function(e,t,n){d(e,t,function r(){n&&n.apply(this,arguments),f(e,t,r)})};var h=t.getStyle=u<9?function(e,t){if(!i){if(!e||!t)return null;"float"===(t=l(t))&&(t="styleFloat");try{if("opacity"===t)try{return e.filters.item("alpha").opacity/100}catch(n){return 1}return e.style[t]||e.currentStyle?e.currentStyle[t]:null}catch(n){return e.style[t]}}}:function(e,t){if(!i){if(!e||!t)return null;"float"===(t=l(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(r){return e.style[t]}}},v=t.isScroll=function(e,t){if(!i){var n=null!==t&&t!==undefined;return h(e,n?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)}};t.getScrollContainer=function(e,t){if(!i){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(v(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(i||!e||!t)return!1;var n,r=e.getBoundingClientRect();return n=[window,document,document.documentElement,null,undefined].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),r.top<n.bottom&&r.bottom>n.top&&r.right>n.left&&r.left<n.right}},823:function(e,t,n){"use strict";var r;e=n.nmd(e);var o=n(477)(n(9367));!function(){var t="input is invalid type",i="object"===("undefined"==typeof window?"undefined":(0,o["default"])(window)),a=i?window:{};a.JS_SHA256_NO_WINDOW&&(i=!1);var s=!i&&"object"===("undefined"==typeof self?"undefined":(0,o["default"])(self)),u=!a.JS_SHA256_NO_NODE_JS&&"object"===("undefined"==typeof process?"undefined":(0,o["default"])(process))&&process.versions&&process.versions.node;u?a=n.g:s&&(a=self);var c=!a.JS_SHA256_NO_COMMON_JS&&"object"===(0,o["default"])(e)&&e.exports,l=n.amdO,d=!a.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,f="0123456789abcdef".split(""),p=[-2147483648,8388608,32768,128],h=[24,16,8,0],v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],m=["hex","array","digest","arrayBuffer"],g=[];!a.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!d||!a.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===(0,o["default"])(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});var _=function(e,t){return function(n){return new k(t,!0).update(n)[e]()}},y=function(e){var t=_("hex",e);u&&(t=b(t,e)),t.create=function(){return new k(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<m.length;++n){var r=m[n];t[r]=_(r,e)}return t},b=function(e,r){var o,i=n(4394),s=n(1903).Buffer,u=r?"sha224":"sha256";return o=s.from&&!a.JS_SHA256_NO_BUFFER_FROM?s.from:function(e){return new s(e)},function(n){if("string"==typeof n)return i.createHash(u).update(n,"utf8").digest("hex");if(null===n||n===undefined)throw new Error(t);return n.constructor===ArrayBuffer&&(n=new Uint8Array(n)),Array.isArray(n)||ArrayBuffer.isView(n)||n.constructor===s?i.createHash(u).update(o(n)).digest("hex"):e(n)}},w=function(e,t){return function(n,r){return new A(n,t,!0).update(r)[e]()}},E=function(e){var t=w("hex",e);t.create=function(t){return new A(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<m.length;++n){var r=m[n];t[r]=w(r,e)}return t};function k(e,t){t?(g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function A(e,n,r){var i,a=(0,o["default"])(e);if("string"===a){var s,u=[],c=e.length,l=0;for(i=0;i<c;++i)(s=e.charCodeAt(i))<128?u[l++]=s:s<2048?(u[l++]=192|s>>>6,u[l++]=128|63&s):s<55296||s>=57344?(u[l++]=224|s>>>12,u[l++]=128|s>>>6&63,u[l++]=128|63&s):(s=65536+((1023&s)<<10|1023&e.charCodeAt(++i)),u[l++]=240|s>>>18,u[l++]=128|s>>>12&63,u[l++]=128|s>>>6&63,u[l++]=128|63&s);e=u}else{if("object"!==a)throw new Error(t);if(null===e)throw new Error(t);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(t)}e.length>64&&(e=new k(n,!0).update(e).array());var f=[],p=[];for(i=0;i<64;++i){var h=e[i]||0;f[i]=92^h,p[i]=54^h}k.call(this,n,r),this.update(p),this.oKeyPad=f,this.inner=!0,this.sharedMemory=r}k.prototype.update=function(e){if(!this.finalized){var n,r=(0,o["default"])(e);if("string"!==r){if("object"!==r)throw new Error(t);if(null===e)throw new Error(t);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(t);n=!0}for(var i,a,s=0,u=e.length,c=this.blocks;s<u;){if(this.hashed&&(this.hashed=!1,c[0]=this.block,this.block=c[16]=c[1]=c[2]=c[3]=c[4]=c[5]=c[6]=c[7]=c[8]=c[9]=c[10]=c[11]=c[12]=c[13]=c[14]=c[15]=0),n)for(a=this.start;s<u&&a<64;++s)c[a>>>2]|=e[s]<<h[3&a++];else for(a=this.start;s<u&&a<64;++s)(i=e.charCodeAt(s))<128?c[a>>>2]|=i<<h[3&a++]:i<2048?(c[a>>>2]|=(192|i>>>6)<<h[3&a++],c[a>>>2]|=(128|63&i)<<h[3&a++]):i<55296||i>=57344?(c[a>>>2]|=(224|i>>>12)<<h[3&a++],c[a>>>2]|=(128|i>>>6&63)<<h[3&a++],c[a>>>2]|=(128|63&i)<<h[3&a++]):(i=65536+((1023&i)<<10|1023&e.charCodeAt(++s)),c[a>>>2]|=(240|i>>>18)<<h[3&a++],c[a>>>2]|=(128|i>>>12&63)<<h[3&a++],c[a>>>2]|=(128|i>>>6&63)<<h[3&a++],c[a>>>2]|=(128|63&i)<<h[3&a++]);this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.block=c[16],this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},k.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=p[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},k.prototype.hash=function(){var e,t,n,r,o,i,a,s,u,c=this.h0,l=this.h1,d=this.h2,f=this.h3,p=this.h4,h=this.h5,m=this.h6,g=this.h7,_=this.blocks;for(e=16;e<64;++e)t=((o=_[e-15])>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,n=((o=_[e-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,_[e]=_[e-16]+t+_[e-7]+n|0;for(u=l&d,e=0;e<64;e+=4)this.first?(this.is224?(i=300032,g=(o=_[0]-1413257819)-150054599|0,f=o+24177077|0):(i=704751109,g=(o=_[0]-210244248)-1521486534|0,f=o+143694565|0),this.first=!1):(t=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),r=(i=c&l)^c&d^u,g=f+(o=g+(n=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&h^~p&m)+v[e]+_[e])|0,f=o+(t+r)|0),t=(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),r=(a=f&c)^f&l^i,m=d+(o=m+(n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&p^~g&h)+v[e+1]+_[e+1])|0,t=((d=o+(t+r)|0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(s=d&f)^d&c^a,h=l+(o=h+(n=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&g^~m&p)+v[e+2]+_[e+2])|0,t=((l=o+(t+r)|0)>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10),r=(u=l&d)^l&f^s,p=c+(o=p+(n=(h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&m^~h&g)+v[e+3]+_[e+3])|0,c=o+(t+r)|0,this.chromeBugWorkAround=!0;this.h0=this.h0+c|0,this.h1=this.h1+l|0,this.h2=this.h2+d|0,this.h3=this.h3+f|0,this.h4=this.h4+p|0,this.h5=this.h5+h|0,this.h6=this.h6+m|0,this.h7=this.h7+g|0},k.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,o=this.h4,i=this.h5,a=this.h6,s=this.h7,u=f[e>>>28&15]+f[e>>>24&15]+f[e>>>20&15]+f[e>>>16&15]+f[e>>>12&15]+f[e>>>8&15]+f[e>>>4&15]+f[15&e]+f[t>>>28&15]+f[t>>>24&15]+f[t>>>20&15]+f[t>>>16&15]+f[t>>>12&15]+f[t>>>8&15]+f[t>>>4&15]+f[15&t]+f[n>>>28&15]+f[n>>>24&15]+f[n>>>20&15]+f[n>>>16&15]+f[n>>>12&15]+f[n>>>8&15]+f[n>>>4&15]+f[15&n]+f[r>>>28&15]+f[r>>>24&15]+f[r>>>20&15]+f[r>>>16&15]+f[r>>>12&15]+f[r>>>8&15]+f[r>>>4&15]+f[15&r]+f[o>>>28&15]+f[o>>>24&15]+f[o>>>20&15]+f[o>>>16&15]+f[o>>>12&15]+f[o>>>8&15]+f[o>>>4&15]+f[15&o]+f[i>>>28&15]+f[i>>>24&15]+f[i>>>20&15]+f[i>>>16&15]+f[i>>>12&15]+f[i>>>8&15]+f[i>>>4&15]+f[15&i]+f[a>>>28&15]+f[a>>>24&15]+f[a>>>20&15]+f[a>>>16&15]+f[a>>>12&15]+f[a>>>8&15]+f[a>>>4&15]+f[15&a];return this.is224||(u+=f[s>>>28&15]+f[s>>>24&15]+f[s>>>20&15]+f[s>>>16&15]+f[s>>>12&15]+f[s>>>8&15]+f[s>>>4&15]+f[15&s]),u},k.prototype.toString=k.prototype.hex,k.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,o=this.h4,i=this.h5,a=this.h6,s=this.h7,u=[e>>>24&255,e>>>16&255,e>>>8&255,255&e,t>>>24&255,t>>>16&255,t>>>8&255,255&t,n>>>24&255,n>>>16&255,n>>>8&255,255&n,r>>>24&255,r>>>16&255,r>>>8&255,255&r,o>>>24&255,o>>>16&255,o>>>8&255,255&o,i>>>24&255,i>>>16&255,i>>>8&255,255&i,a>>>24&255,a>>>16&255,a>>>8&255,255&a];return this.is224||u.push(s>>>24&255,s>>>16&255,s>>>8&255,255&s),u},k.prototype.array=k.prototype.digest,k.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},A.prototype=new k,A.prototype.finalize=function(){if(k.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();k.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),k.prototype.finalize.call(this)}};var C=y();C.sha256=C,C.sha224=y(!0),C.sha256.hmac=E(),C.sha224.hmac=E(!0),c?e.exports=C:(a.sha256=C.sha256,a.sha224=C.sha224,l&&((r=function(){return C}.call(C,n,C,e))===undefined||(e.exports=r)))}()},9804:function(e,t){"use strict";function n(e){this.message=e}Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidTokenError=i,t["default"]=void 0,n.prototype=new Error,n.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,a=0,s="";o=t.charAt(a++);~o&&(r=i%4?64*r+o:o,i++%4)?s+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s};function o(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(t)}catch(e){return r(t)}}function i(e){this.message=e}i.prototype=new Error,i.prototype.name="InvalidTokenError",t["default"]=function(e,t){if("string"!=typeof e)throw new i("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(o(e.split(".")[n]))}catch(e){throw new i("Invalid token specified: "+e.message)}}},210:function(){"use strict";!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e={javascript:"clike",actionscript:"javascript",apex:["clike","sql"],arduino:"cpp",aspnet:["markup","csharp"],birb:"clike",bison:"c",c:"clike",csharp:"clike",cpp:"c",cfscript:"clike",chaiscript:["clike","cpp"],cilkc:"c",cilkcpp:"cpp",coffeescript:"javascript",crystal:"ruby","css-extras":"css",d:"clike",dart:"clike",django:"markup-templating",ejs:["javascript","markup-templating"],etlua:["lua","markup-templating"],erb:["ruby","markup-templating"],fsharp:"clike","firestore-security-rules":"clike",flow:"javascript",ftl:"markup-templating",gml:"clike",glsl:"c",go:"clike",gradle:"clike",groovy:"clike",haml:"ruby",handlebars:"markup-templating",haxe:"clike",hlsl:"c",idris:"haskell",java:"clike",javadoc:["markup","java","javadoclike"],jolie:"clike",jsdoc:["javascript","javadoclike","typescript"],"js-extras":"javascript",json5:"json",jsonp:"json","js-templates":"javascript",kotlin:"clike",latte:["clike","markup-templating","php"],less:"css",lilypond:"scheme",liquid:"markup-templating",markdown:"markup","markup-templating":"markup",mongodb:"javascript",n4js:"javascript",objectivec:"c",opencl:"c",parser:"markup",php:"markup-templating",phpdoc:["php","javadoclike"],"php-extras":"php",plsql:"sql",processing:"clike",protobuf:"clike",pug:["markup","javascript"],purebasic:"clike",purescript:"haskell",qsharp:"clike",qml:"javascript",qore:"clike",racket:"scheme",cshtml:["markup","csharp"],jsx:["markup","javascript"],tsx:["jsx","typescript"],reason:"clike",ruby:"clike",sass:"css",scss:"css",scala:"java","shell-session":"bash",smarty:"markup-templating",solidity:"clike",soy:"markup-templating",sparql:"turtle",sqf:"clike",squirrel:"clike",stata:["mata","java","python"],"t4-cs":["t4-templating","csharp"],"t4-vb":["t4-templating","vbnet"],tap:"yaml",tt2:["clike","markup-templating"],textile:"markup",twig:"markup-templating",typescript:"javascript",v:"clike",vala:"clike",vbnet:"basic",velocity:"markup",wiki:"markup",xeora:"markup","xml-doc":"markup",xquery:"markup"},t={html:"markup",xml:"markup",svg:"markup",mathml:"markup",ssml:"markup",atom:"markup",rss:"markup",js:"javascript",g4:"antlr4",ino:"arduino","arm-asm":"armasm",art:"arturo",adoc:"asciidoc",avs:"avisynth",avdl:"avro-idl",gawk:"awk",sh:"bash",shell:"bash",shortcode:"bbcode",rbnf:"bnf",oscript:"bsl",cs:"csharp",dotnet:"csharp",cfc:"cfscript","cilk-c":"cilkc","cilk-cpp":"cilkcpp",cilk:"cilkcpp",coffee:"coffeescript",conc:"concurnas",jinja2:"django","dns-zone":"dns-zone-file",dockerfile:"docker",gv:"dot",eta:"ejs",xlsx:"excel-formula",xls:"excel-formula",gamemakerlanguage:"gml",po:"gettext",gni:"gn",ld:"linker-script","go-mod":"go-module",hbs:"handlebars",mustache:"handlebars",hs:"haskell",idr:"idris",gitignore:"ignore",hgignore:"ignore",npmignore:"ignore",webmanifest:"json",kt:"kotlin",kts:"kotlin",kum:"kumir",tex:"latex",context:"latex",ly:"lilypond",emacs:"lisp",elisp:"lisp","emacs-lisp":"lisp",md:"markdown",moon:"moonscript",n4jsd:"n4js",nani:"naniscript",objc:"objectivec",qasm:"openqasm",objectpascal:"pascal",px:"pcaxis",pcode:"peoplecode",plantuml:"plant-uml",pq:"powerquery",mscript:"powerquery",pbfasm:"purebasic",purs:"purescript",py:"python",qs:"qsharp",rkt:"racket",razor:"cshtml",rpy:"renpy",res:"rescript",robot:"robotframework",rb:"ruby","sh-session":"shell-session",shellsession:"shell-session",smlnj:"sml",sol:"solidity",sln:"solution-file",rq:"sparql",sclang:"supercollider",t4:"t4-cs",trickle:"tremor",troy:"tremor",trig:"turtle",ts:"typescript",tsconfig:"typoscript",uscript:"unrealscript",uc:"unrealscript",url:"uri",vb:"visual-basic",vba:"visual-basic",webidl:"web-idl",mathematica:"wolfram",nb:"wolfram",wl:"wolfram",xeoracube:"xeora",yml:"yaml"},n={},r="components/",o=Prism.util.currentScript();if(o){var i=/\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,a=/(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,s=o.getAttribute("data-autoloader-path");if(null!=s)r=s.trim().replace(/\/?$/,"/");else{var u=o.src;i.test(u)?r=u.replace(i,"components/"):a.test(u)&&(r=u.replace(a,"$1components/"))}}var c=Prism.plugins.autoloader={languages_path:r,use_minified:!0,loadLanguages:d};Prism.hooks.add("complete",function(e){var t=e.element,n=e.language;if(t&&n&&"none"!==n){var r=function(e){var t=(e.getAttribute("data-dependencies")||"").trim();if(!t){var n=e.parentElement;n&&"pre"===n.tagName.toLowerCase()&&(t=(n.getAttribute("data-dependencies")||"").trim())}return t?t.split(/\s*,\s*/g):[]}(t);/^diff-./i.test(n)?(r.push("diff"),r.push(n.substr(5))):r.push(n),r.every(l)||d(r,function(){Prism.highlightElement(t)})}})}function l(e){if(e.indexOf("!")>=0)return!1;if((e=t[e]||e)in Prism.languages)return!0;var r=n[e];return r&&!r.error&&!1===r.loading}function d(r,o,i){"string"==typeof r&&(r=[r]);var a=r.length,s=0,u=!1;function p(){u||++s===a&&o&&o(r)}0!==a?r.forEach(function(r){!function(r,o,i){var a=r.indexOf("!")>=0;function s(){var e=n[r];e||(e=n[r]={callbacks:[]}),e.callbacks.push({success:o,error:i}),!a&&l(r)?f(r,"success"):!a&&e.error?f(r,"error"):!a&&e.loading||(e.loading=!0,e.error=!1,function(e,t,n){var r=document.createElement("script");r.src=e,r.async=!0,r.onload=function(){document.body.removeChild(r),t&&t()},r.onerror=function(){document.body.removeChild(r),n&&n()},document.body.appendChild(r)}(function(e){return c.languages_path+"prism-"+e+(c.use_minified?".min":"")+".js"}(r),function(){e.loading=!1,f(r,"success")},function(){e.loading=!1,e.error=!0,f(r,"error")}))}r=r.replace("!","");var u=e[r=t[r]||r];u&&u.length?d(u,s,i):s()}(r,p,function(){u||(u=!0,i&&i(r))})}):o&&setTimeout(o,0)}function f(e,t){if(n[e]){for(var r=n[e].callbacks,o=0,i=r.length;o<i;o++){var a=r[o][t];a&&setTimeout(a,0)}r.length=0}}}()},5472:function(){"use strict";!function(){function e(e,n){e.addEventListener("click",function(){!function(e){navigator.clipboard?navigator.clipboard.writeText(e.getText()).then(e.success,function(){t(e)}):t(e)}(n)})}function t(e){var t=document.createElement("textarea");t.value=e.getText(),t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{var n=document.execCommand("copy");setTimeout(function(){n?e.success():e.error()},1)}catch(r){setTimeout(function(){e.error(r)},1)}document.body.removeChild(t)}"undefined"!=typeof Prism&&"undefined"!=typeof document&&(Prism.plugins.toolbar?Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(t){var n=t.element,r=function(e){var t={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3};for(var n in t){for(var r="data-prismjs-"+n,o=e;o&&!o.hasAttribute(r);)o=o.parentElement;o&&(t[n]=o.getAttribute(r))}return t}(n),o=document.createElement("button");o.className="copy-to-clipboard-button",o.setAttribute("type","button");var i=document.createElement("span");return o.appendChild(i),s("copy"),e(o,{getText:function(){return n.textContent},success:function(){s("copy-success"),a()},error:function(){s("copy-error"),setTimeout(function(){!function(e){window.getSelection().selectAllChildren(e)}(n)},1),a()}}),o;function a(){setTimeout(function(){s("copy")},r["copy-timeout"])}function s(e){i.textContent=r[e],o.setAttribute("data-copy-state",e)}}):console.warn("Copy to Clipboard plugin loaded before Toolbar plugin."))}()},4296:function(){"use strict";!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document)if(Prism.plugins.toolbar){var e={none:"Plain text",plain:"Plain text",plaintext:"Plain text",text:"Plain text",txt:"Plain text",html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",rss:"RSS",css:"CSS",clike:"C-like",js:"JavaScript",abap:"ABAP",abnf:"ABNF",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",ino:"Arduino",arff:"ARFF",armasm:"ARM Assembly","arm-asm":"ARM Assembly",art:"Arturo",asciidoc:"AsciiDoc",adoc:"AsciiDoc",aspnet:"ASP.NET (C#)",asm6502:"6502 Assembly",asmatmel:"Atmel AVR Assembly",autohotkey:"AutoHotkey",autoit:"AutoIt",avisynth:"AviSynth",avs:"AviSynth","avro-idl":"Avro IDL",avdl:"Avro IDL",awk:"AWK",gawk:"GAWK",sh:"Shell",basic:"BASIC",bbcode:"BBcode",bbj:"BBj",bnf:"BNF",rbnf:"RBNF",bqn:"BQN",bsl:"BSL (1C:Enterprise)",oscript:"OneScript",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cfscript:"CFScript",cfc:"CFScript",cil:"CIL",cilkc:"Cilk/C","cilk-c":"Cilk/C",cilkcpp:"Cilk/C++","cilk-cpp":"Cilk/C++",cilk:"Cilk/C++",cmake:"CMake",cobol:"COBOL",coffee:"CoffeeScript",conc:"Concurnas",csp:"Content-Security-Policy","css-extras":"CSS Extras",csv:"CSV",cue:"CUE",dataweave:"DataWeave",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",dot:"DOT (Graphviz)",gv:"DOT (Graphviz)",ebnf:"EBNF",editorconfig:"EditorConfig",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",gap:"GAP (CAS)",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",gettext:"gettext",po:"gettext",glsl:"GLSL",gn:"GN",gni:"GN","linker-script":"GNU Linker Script",ld:"GNU Linker Script","go-module":"Go module","go-mod":"Go module",graphql:"GraphQL",hbs:"Handlebars",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam","icu-message-format":"ICU Message Format",idr:"Idris",ignore:".ignore",gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras",json:"JSON",webmanifest:"Web App Manifest",json5:"JSON5",jsonp:"JSONP",jsstacktrace:"JS stack trace","js-templates":"JS Templates",keepalived:"Keepalived Configure",kts:"Kotlin Script",kt:"Kotlin",kumir:"KuMir (КуМир)",kum:"KuMir (КуМир)",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",log:"Log file",lolcode:"LOLCODE",magma:"Magma (CAS)",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",maxscript:"MAXScript",mel:"MEL",metafont:"METAFONT",mongodb:"MongoDB",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",naniscript:"Naninovel Script",nani:"Naninovel Script",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",openqasm:"OpenQasm",qasm:"OpenQasm",parigp:"PARI/GP",objectpascal:"Object Pascal",psl:"PATROL Scripting Language",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras","plant-uml":"PlantUML",plantuml:"PlantUML",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",promql:"PromQL",properties:".properties",protobuf:"Protocol Buffers",purebasic:"PureBasic",pbfasm:"PureBasic",purs:"PureScript",py:"Python",qsharp:"Q#",qs:"Q#",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",cshtml:"Razor C#",razor:"Razor C#",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rpy:"Ren'py",res:"ReScript",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (SCSS)","shell-session":"Shell session","sh-session":"Shell session",shellsession:"Shell session",sml:"SML",smlnj:"SML/NJ",solidity:"Solidity (Ethereum)",sol:"Solidity (Ethereum)","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",stata:"Stata Ado",iecst:"Structured Text (IEC 61131-3)",supercollider:"SuperCollider",sclang:"SuperCollider",systemd:"Systemd configuration file","t4-templating":"T4 templating","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)",tap:"TAP",tt2:"Template Toolkit 2",toml:"TOML",trickle:"trickle",troy:"troy",trig:"TriG",ts:"TypeScript",tsconfig:"TSConfig",uscript:"UnrealScript",uc:"UnrealScript",uorazor:"UO Razor Script",uri:"URI",url:"URL",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vba:"VBA",vb:"Visual Basic",wasm:"WebAssembly","web-idl":"Web IDL",webidl:"Web IDL",wgsl:"WGSL",wiki:"Wiki markup",wolfram:"Wolfram language",nb:"Mathematica Notebook",wl:"Wolfram language",xeoracube:"XeoraCube","xml-doc":"XML doc (.net)",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML",yang:"YANG"};Prism.plugins.toolbar.registerButton("show-language",function(t){var n=t.element.parentNode;if(n&&/pre/i.test(n.nodeName)){var r,o=n.getAttribute("data-language")||e[t.language]||((r=t.language)?(r.substring(0,1).toUpperCase()+r.substring(1)).replace(/s(?=cript)/,"S"):r);if(o){var i=document.createElement("span");return i.textContent=o,i}}})}else console.warn("Show Languages plugin loaded before Toolbar plugin.")}()},8072:function(){"use strict";!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e=[],t={},n=function(){};Prism.plugins.toolbar={};var r=Prism.plugins.toolbar.registerButton=function(n,r){var o;o="function"==typeof r?r:function(e){var t;return"function"==typeof r.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",function(){r.onClick.call(this,e)})):"string"==typeof r.url?(t=document.createElement("a")).href=r.url:t=document.createElement("span"),r.className&&t.classList.add(r.className),t.textContent=r.text,t},n in t?console.warn('There is a button with the key "'+n+'" registered already.'):e.push(t[n]=o)},o=Prism.plugins.toolbar.hook=function(r){var o=r.element.parentNode;if(o&&/pre/i.test(o.nodeName)&&!o.parentNode.classList.contains("code-toolbar")){var i=document.createElement("div");i.classList.add("code-toolbar"),o.parentNode.insertBefore(i,o),i.appendChild(o);var a=document.createElement("div");a.classList.add("toolbar");var s=e,u=function(e){for(;e;){var t=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(r.element);u&&(s=u.map(function(e){return t[e]||n})),s.forEach(function(e){var t=e(r);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),a.appendChild(n)}}),i.appendChild(a)}};r("label",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,r,o=t.getAttribute("data-label");try{r=document.querySelector("template#"+o)}catch(i){}return r?n=r.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=o),n}}),Prism.hooks.add("complete",o)}}()},1965:function(e,t,n){"use strict";var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function h(e){return e instanceof i?new i(e.type,h(e.content),e.alias):Array.isArray(e)?e.map(h):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function v(e,t){var n,r;switch(t=t||{},o.util.type(e)){case"Object":if(r=o.util.objId(e),t[r])return t[r];for(var i in n={},t[r]=n,e)e.hasOwnProperty(i)&&(n[i]=v(e[i],t));return n;case"Array":return r=o.util.objId(e),t[r]?t[r]:(n=[],t[r]=n,e.forEach(function(e,r){n[r]=v(e,t)}),n);default:return e}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var u in n)n.hasOwnProperty(u)&&(a[u]=n[u]);n.hasOwnProperty(s)||(a[s]=i[s])}var c=r[e];return r[e]=a,o.languages.DFS(o.languages,function(t,n){n===c&&t!=e&&(this[t]=a)}),a},DFS:function m(e,t,n,r){r=r||{};var i=o.util.objId;for(var a in e)if(e.hasOwnProperty(a)){t.call(e,a,e[a],n||a);var s=e[a],u=o.util.type(s);"Object"!==u||r[i(s)]?"Array"!==u||r[i(s)]||(r[i(s)]=!0,m(s,t,a,r)):(r[i(s)]=!0,m(s,t,null,r))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=o.util.getLanguage(t),a=o.languages[i];o.util.setLanguage(t,i);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&o.util.setLanguage(s,i);var u={element:t,language:i,grammar:a,code:t.textContent};function c(e){u.highlightedCode=e,o.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,o.hooks.run("after-highlight",u),o.hooks.run("complete",u),r&&r.call(u.element)}if(o.hooks.run("before-sanity-check",u),(s=u.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!u.code)return o.hooks.run("complete",u),void(r&&r.call(u.element));if(o.hooks.run("before-highlight",u),u.grammar)if(n&&e.Worker){var l=new Worker(o.filename);l.onmessage=function(e){c(e.data)},l.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(o.highlight(u.code,u.grammar,u.language));else c(o.util.encode(u.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new u;return c(o,o.head,e),s(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function s(e,t,n,r,u,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var v=p[h],m=v.inside,g=!!v.lookbehind,_=!!v.greedy,y=v.alias;if(_&&!v.pattern.global){var b=v.pattern.toString().match(/[imsuy]*$/)[0];v.pattern=RegExp(v.pattern.source,b+"g")}for(var w=v.pattern||v,E=r.next,k=u;E!==t.tail&&!(d&&k>=d.reach);k+=E.value.length,E=E.next){var A=E.value;if(t.length>e.length)return;if(!(A instanceof i)){var C,I=1;if(_){if(!(C=a(w,k,e,g))||C.index>=e.length)break;var S=C.index,O=C.index+C[0].length,x=k;for(x+=E.value.length;S>=x;)x+=(E=E.next).value.length;if(k=x-=E.value.length,E.value instanceof i)continue;for(var T=E;T!==t.tail&&(x<O||"string"==typeof T.value);T=T.next)I++,x+=T.value.length;I--,A=e.slice(k,x),C.index-=k}else if(!(C=a(w,0,A,g)))continue;S=C.index;var D=C[0],P=A.slice(0,S),N=A.slice(S+D.length),R=k+A.length;d&&R>d.reach&&(d.reach=R);var M=E.prev;if(P&&(M=c(t,M,P),k+=P.length),l(t,M,I),E=c(t,M,new i(f,m?o.tokenize(D,m):D,y,D)),N&&c(t,E,N),I>1){var L={cause:f+","+h,reach:R};s(e,t,n,E.prev,k,L),d&&L.reach>d.reach&&(d.reach=L.reach)}}}}}}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function l(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function g(e,t){if("string"==typeof e)return e;if(Array.isArray(e)){var n="";return e.forEach(function(e){n+=g(e,t)}),n}var r={type:e.type,content:g(e.content,t),tag:"span",classes:["token",e.type],attributes:{},language:t},i=e.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(r.classes,i):r.classes.push(i)),o.hooks.run("wrap",r);var a="";for(var s in r.attributes)a+=" "+s+'="'+(r.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+a+">"+r.content+"</"+r.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()},!1),o):o;var d=o.util.currentScript();function f(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var p=document.readyState;"loading"===p||"interactive"===p&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),"undefined"!=typeof n.g&&(n.g.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};o["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:o},r.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(e,t){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:r.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{"function":/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,"function":{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,"function":/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],"function":/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(void 0!==r&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",o="loaded",i="pre[data-src]:not(["+t+'="'+o+'"]):not(['+t+'="'+n+'"])';r.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),r.hooks.add("before-sanity-check",function(a){var s=a.element;if(s.matches(i)){a.code="",s.setAttribute(t,n);var u=s.appendChild(document.createElement("CODE"));u.textContent="Loading…";var c=s.getAttribute("data-src"),l=a.language;if("none"===l){var d=(/\.(\w+)$/.exec(c)||[,"none"])[1];l=e[d]||d}r.util.setLanguage(u,l),r.util.setLanguage(s,l);var f=r.plugins.autoloader;f&&f.loadLanguages(l),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?t(r.responseText):r.status>=400?n("✖ Error "+r.status+" while fetching file: "+r.statusText):n("✖ Error: File does not exist or is empty"))},r.send(null)}(c,function(e){s.setAttribute(t,o);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],o=t[3];return r?o?[n,Number(o)]:[n,undefined]:[n,n]}return undefined}(s.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),a=n[0],c=null==n[1]?i.length:n[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),e=i.slice(a,c).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}u.textContent=e,r.highlightElement(u)},function(e){s.setAttribute(t,"failed"),u.textContent=e})}}),r.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(i),o=0;t=n[o++];)r.highlightElement(t)}};var a=!1;r.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},8926:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(1914)),i=r(n(1452)),a=r(n(8375));t.A={components:{TkComments:o["default"],TkFooter:i["default"],TkAdmin:a["default"]},data:function(){return{showAdmin:!1,showAdminEntry:!1}},methods:{onShowAdminEntry:function(e){this.showAdminEntry=e}}}},3397:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(3491)),i=r(n(6370)),a=r(n(6359)),s=r(n(5910)),u=r(n(6412)),c=r(n(9801)),l=r(n(7136)),d=r(n(5545));t.A={data:function(){return{iconComment:o["default"],iconCommentSolid:i["default"],iconLike:a["default"],iconLikeSolid:s["default"],iconDislike:u["default"],iconDislikeSolid:c["default"],iconDelete:l["default"],iconDeleteSolid:d["default"]}},props:{liked:Boolean,disliked:Boolean,likeCount:Number,dislikeCount:Number,repliesCount:Number,showDislike:Boolean,showDelete:Boolean},computed:{likeCountStr:function(){return this.likeCount>0?"".concat(this.likeCount):""},dislikeCountStr:function(){return this.dislikeCount>0?"".concat(this.dislikeCount):""},repliesCountStr:function(){return this.repliesCount>0?"".concat(this.repliesCount):""}},methods:{onLike:function(){this.$emit("like")},onDislike:function(){this.$emit("dislike")},onReply:function(){this.$emit("reply")},onDelete:function(){this.$emit("delete")}}}},4238:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=r(n(2889)),s=r(n(7945)),u=r(n(7111)),c=r(n(9985)),l=r(n(9097)),d=n(8129),f=r(n(9671));t.A={components:{TkAdminComment:s["default"],TkAdminConfig:u["default"],TkAdminImport:c["default"],TkAdminExport:l["default"]},props:{show:Boolean},data:function(){return{iconClose:f["default"],loading:!0,version:"",needUpdate:!1,isLogin:!1,isSetPassword:!0,isSetCredentials:!1,credentials:"",password:"",passwordConfirm:"",loginErrorMessage:"",activeTabName:"comment"}},computed:{canRegist:function(){return!this.isSetPassword&&!!this.password&&this.password===this.passwordConfirm&&(this.isSetCredentials||this.credentials)}},methods:{t:d.t,onLogin:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.password){t.next=3;break}return e.loginErrorMessage=(0,d.t)("ADMIN_PASSWORD_REQUIRED"),t.abrupt("return");case 3:return e.loading=!0,e.loginErrorMessage="",n=(0,a["default"])(e.password),t.next=8,(0,d.call)(e.$tcb,"LOGIN",{password:n});case 8:if(!(r=t.sent).result.message){t.next=13;break}e.loginErrorMessage=r.result.message,t.next=28;break;case 13:if(!r.result.ticket){t.next=27;break}return t.prev=14,t.next=17,e.$tcb.auth.customAuthProvider().signIn(r.result.ticket);case 17:d.logger.log("登录成功"),e.password="",e.checkAuth(),t.next=25;break;case 22:t.prev=22,t.t0=t["catch"](14),d.logger.error("登录失败",t.t0);case 25:t.next=28;break;case 27:0===r.result.code&&(d.logger.log("登录成功"),localStorage.setItem("twikoo-access-token",n),e.password="",e.checkAuth());case 28:e.loading=!1;case 29:case"end":return t.stop()}},t,null,[[14,22]])}))()},onLogout:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e.preventDefault(),t.loading=!0,!t.$tcb){n.next=9;break}return n.next=5,t.$tcb.auth.signOut();case 5:return n.next=7,t.$tcb.auth.anonymousAuthProvider().signIn();case 7:n.next=10;break;case 9:localStorage.removeItem("twikoo-access-token");case 10:t.isLogin=!1,t.loading=!1;case 12:case"end":return n.stop()}},n)}))()},onRegist:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,n=(0,a["default"])(e.password),t.next=4,(0,d.call)(e.$tcb,"SET_PASSWORD",{password:n,credentials:e.credentials});case 4:(r=t.sent).result.code?(e.loginErrorMessage=(0,d.t)("ADMIN_REGIST_FAILED"),r.result.message&&(e.loginErrorMessage+=","+r.result.message),d.logger.warn("Twikoo 注册失败",r)):(e.passwordMd5="",e.isSetPassword=!0,e.onLogin()),e.loading=!1;case 7:case"end":return t.stop()}},t)}))()},onShow:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.checkAuth();case 3:if(e.isLogin){t.next=7;break}return t.next=6,e.checkIfPasswordSet();case 6:e.focusPassword();case 7:e.loading=!1;case 8:case"end":return t.stop()}},t)}))()},focusPassword:function(){var e=this;setTimeout(function(){e.$refs.focusme&&e.$refs.focusme.focus()},500)},checkAuth:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$tcb){t.next=7;break}return t.next=3,e.$tcb.auth.getCurrenUser();case 3:n=t.sent,e.isLogin="CUSTOM"===n.loginType,t.next=11;break;case 7:return t.next=9,(0,d.call)(e.$tcb,"GET_CONFIG");case 9:(r=t.sent)&&r.result&&r.result.config&&(e.isLogin=r.result.config.IS_ADMIN);case 11:case"end":return t.stop()}},t)}))()},checkIfPasswordSet:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,d.call)(e.$tcb,"GET_PASSWORD_STATUS");case 3:n=t.sent,e.version=n.result.version,e.isSetPassword=n.result.status,e.isSetCredentials=!e.$tcb,t.next=14;break;case 9:throw t.prev=9,t.t0=t["catch"](0),e.needUpdate=!0,e.loading=!1,t.t0;case 14:case"end":return t.stop()}},t,null,[[0,9]])}))()},onClose:function(){this.$emit("close")}},watch:{show:function(e){e&&this.onShow()}}}},4555:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=n(1085),s=n(8129),u=n(2199),c=r(n(4785)),l=r(n(6431)),d=r(n(9671));t.A={components:{TkAvatar:c["default"],TkPagination:l["default"]},data:function(){return{loading:!0,comments:[],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:u.version,count:0,pageSize:5,currentPage:1,filter:{keyword:"",type:""},securityAlert:null,iconClose:d["default"]}},methods:{t:s.t,displayCreated:function(e){return(0,s.timeago)(e.created)},convertLink:function(e){return(0,s.convertLink)(e)},getComments:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,(0,s.call)(e.$tcb,"COMMENT_GET_FOR_ADMIN",{per:e.pageSize,page:e.currentPage,keyword:e.filter.keyword,type:e.filter.type});case 3:(n=t.sent).result&&!n.result.code&&(e.count=n.result.count,e.comments=n.result.data),e.$nextTick(function(){(0,s.renderLinks)(e.$refs.comments),(0,s.renderMath)(e.$refs["comment-list"],e.$twikoo.katex),e.highlightCode()}),e.loading=!1;case 7:case"end":return t.stop()}},t)}))()},getConfig:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,s.call)(e.$tcb,"GET_CONFIG_FOR_ADMIN");case 2:(n=t.sent).result&&!n.result.code&&(e.serverConfig=n.result.config,e.checkConfig());case 4:case"end":return t.stop()}},t)}))()},checkConfig:function(){var e=this;this.serverConfig.HIGHLIGHT||(this.serverConfig.HIGHLIGHT="true");var t={},n=localStorage.getItem("twikoo");n&&(t=JSON.parse(n)),["nick","mail","avatar"].forEach(function(n){t[n]?e.serverConfig[n]=t[n]:e.serverConfig[n]=""}),!t.nick&&this.serverConfig.BLOGGER_NICK&&(t.nick=this.serverConfig.BLOGGER_NICK),!t.mail&&this.serverConfig.BLOGGER_EMAIL&&(t.mail=this.serverConfig.BLOGGER_EMAIL),!t.link&&this.serverConfig.SITE_URL&&(t.link=this.serverConfig.SITE_URL),localStorage.setItem("twikoo",JSON.stringify(t)),a.app.$emit("initMeta")},onPageSizeChange:function(e){this.pageSize=e,this.getComments()},switchPage:function(e){this.currentPage=e,this.getComments()},handleView:function(e){var t="".concat(e.url,"#").concat(e._id);try{if(new URL(t).hostname!==window.location.hostname)return void(this.securityAlert={commentId:e._id,message:(0,s.t)("ADMIN_COMMENT_SECURITY_ALERT"),url:t});window.open(t)}catch(n){try{new URL(t,window.location.origin),window.open(t)}catch(r){this.securityAlert={commentId:e._id,message:(0,s.t)("ADMIN_COMMENT_PARSE_ERROR"),url:e.url}}}},handleDelete:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(confirm((0,s.t)("ADMIN_COMMENT_DELETE_CONFIRM"))){n.next=2;break}return n.abrupt("return");case 2:return t.loading=!0,n.next=5,(0,s.call)(t.$tcb,"COMMENT_DELETE_FOR_ADMIN",{id:e._id});case 5:return n.next=7,t.getComments();case 7:t.loading=!1;case 8:case"end":return n.stop()}},n)}))()},handleSpam:function(e,t){this.setComment(e,{isSpam:t})},handleTop:function(e,t){this.setComment(e,{top:t})},setComment:function(e,t){var n=this;return(0,i["default"])(o["default"].mark(function r(){return o["default"].wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n.loading=!0,r.next=3,(0,s.call)(n.$tcb,"COMMENT_SET_FOR_ADMIN",{id:e._id,set:t});case 3:return r.next=5,n.getComments();case 5:n.loading=!1;case 6:case"end":return r.stop()}},r)}))()},highlightCode:function(){"true"===this.serverConfig.HIGHLIGHT&&(0,s.renderCode)(this.$refs["comment-list"],this.serverConfig.HIGHLIGHT_THEME,this.serverConfig.HIGHLIGHT_PLUGIN)}},mounted:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.getConfig(),e.getComments()]);case 2:e.highlightCode();case 3:case"end":return t.stop()}},t)}))()}}},4868:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=n(8129),s=n(2199),u=n(1085);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.A={data:function(){return{loading:!0,settings:[{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_COMMON"),items:[{key:"SITE_NAME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SITE_NAME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站"),value:""},{key:"SITE_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SITE_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://www.imaegoo.com"),value:""},{key:"CORS_ALLOW_ORIGIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_CORS_ALLOW_ORIGIN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://www.imaegoo.com"),value:""},{key:"BLOGGER_NICK",desc:(0,a.t)("ADMIN_CONFIG_ITEM_BLOGGER_NICK"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"iMaeGoo"),value:""},{key:"BLOGGER_EMAIL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_BLOGGER_EMAIL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"12345@qq.com"),value:""},{key:"COMMENT_PAGE_SIZE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_PAGE_SIZE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"8"),value:""},{key:"MASTER_TAG",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MASTER_TAG"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"站长"),value:""},{key:"COMMENT_BG_IMG",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_BG_IMG"),ph:"",value:""},{key:"GRAVATAR_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_GRAVATAR_CDN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"sdn.geekzu.org"),value:""},{key:"DEFAULT_GRAVATAR",desc:(0,a.t)("ADMIN_CONFIG_ITEM_DEFAULT_GRAVATAR"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"mp"),value:""},{key:"COMMENT_PLACEHOLDER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_PLACEHOLDER"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE")),value:""},{key:"SHOW_ORDER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_ORDER"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""},{key:"SHOW_DISLIKE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_DISLIKE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""},{key:"DISPLAYED_FIELDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_DISPLAYED_FIELDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"nick,mail,link"),value:""},{key:"REQUIRED_FIELDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_REQUIRED_FIELDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"nick,mail,link"),value:""},{key:"HIDE_ADMIN_CRYPT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIDE_ADMIN_CRYPT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"admin"),value:""},{key:"QQ_API_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QQ_API_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"your_api_key"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_PLUGIN"),items:[{key:"IMAGE_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN"),options:[{value:"",label:(0,a.t)("ADMIN_CONFIG_IMAGE_CDN_NONE")},{value:"qcloud",label:"qcloud"},{value:"7bu",label:"7bu (https://7bu.top)"},{value:"see",label:"see (https://s.ee)"},{value:"lskypro",label:"lskypro"},{value:"piclist",label:"piclist"},{value:"easyimage",label:"easyimage"},{value:"chevereto",label:"chevereto"},{value:"s3",label:"S3 / R2 / MinIO"}],value:""},{key:"IMAGE_CDN_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://piclist.example.com"),value:"",showIf:function(e){return["lskypro","piclist","easyimage"].includes(e("IMAGE_CDN"))}},{key:"IMAGE_CDN_TOKEN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN_TOKEN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"example"),value:"",showIf:function(e){return e("IMAGE_CDN")&&"s3"!==e("IMAGE_CDN")}},{key:"S3_REGION",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_REGION"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"us-east-1"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_BUCKET",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_BUCKET"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"my-bucket"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_ACCESS_KEY_ID",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_ACCESS_KEY_ID"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"AKIAIOSFODNN7EXAMPLE"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_SECRET_ACCESS_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_SECRET_ACCESS_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"),value:"",secret:!0,showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_ENDPOINT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_ENDPOINT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://xxx.r2.cloudflarestorage.com"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_CDN_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_CDN_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://cdn.example.com"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"S3_PATH_PREFIX",desc:(0,a.t)("ADMIN_CONFIG_ITEM_S3_PATH_PREFIX"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"images/twikoo"),value:"",showIf:function(e){return"s3"===e("IMAGE_CDN")}},{key:"NSFW_API_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_NSFW_API_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://nsfw.example.com"),value:""},{key:"NSFW_THRESHOLD",desc:(0,a.t)("ADMIN_CONFIG_ITEM_NSFW_THRESHOLD"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"0.5"),value:""},{key:"SHOW_EMOTION",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_EMOTION"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"EMOTION_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_EMOTION_CDN"),ph:"",value:""},{key:"HIGHLIGHT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"HIGHLIGHT_THEME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_THEME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"tomorrow"),value:""},{key:"HIGHLIGHT_PLUGIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_PLUGIN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"showLanguage"),value:""},{key:"LIGHTBOX",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIGHTBOX"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_PRIVACY"),items:[{key:"SHOW_UA",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_UA"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"SHOW_REGION",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_REGION"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_SPAM"),items:[{key:"AKISMET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_AKISMET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"8651783edxxx"),value:""},{key:"QCLOUD_SECRET_ID",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_ID"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"AKI******************************IHw"),value:""},{key:"QCLOUD_SECRET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"Xrk**************************3D7"),value:"",secret:!0},{key:"QCLOUD_CMS_BIZTYPE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QCLOUD_CMS_BIZTYPE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"1787728329856520192"),value:""},{key:"LIMIT_PER_MINUTE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"5"),value:""},{key:"LIMIT_PER_MINUTE_ALL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE_ALL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"5"),value:""},{key:"LIMIT_LENGTH",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIMIT_LENGTH"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"100"),value:""},{key:"FORBIDDEN_WORDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_FORBIDDEN_WORDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"快递,空包"),value:""},{key:"BLOCKED_WORDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_BLOCKED_WORDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"快递,空包"),value:""},{key:"NOTIFY_SPAM",desc:(0,a.t)("ADMIN_CONFIG_ITEM_NOTIFY_SPAM"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_CAPTCHA"),items:[{key:"CAPTCHA_PROVIDER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_CAPTCHA_PROVIDER"),options:[{value:"",label:(0,a.t)("ADMIN_CONFIG_CAPTCHA_NONE")},{value:"Turnstile",label:(0,a.t)("ADMIN_CONFIG_CAPTCHA_TURNSTILE")},{value:"Geetest",label:(0,a.t)("ADMIN_CONFIG_CAPTCHA_GEETEST")},{value:"Cap",label:(0,a.t)("ADMIN_CONFIG_CAPTCHA_CAP")}],value:""},{key:"TURNSTILE_SITE_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_TURNSTILE_SITE_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"0x4AAAAAAAPLTtpBr_T12345"),value:"",showIf:function(e){return"Turnstile"===e("CAPTCHA_PROVIDER")}},{key:"TURNSTILE_SECRET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_TURNSTILE_SECRET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"0x4AAAAAAAPLTmBm6gHmOnOqC1iwmU12345"),value:"",secret:!0,showIf:function(e){return"Turnstile"===e("CAPTCHA_PROVIDER")}},{key:"GEETEST_CAPTCHA_ID",desc:(0,a.t)("ADMIN_CONFIG_ITEM_GEETEST_CAPTCHA_ID"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"your_captcha_id"),value:"",showIf:function(e){return"Geetest"===e("CAPTCHA_PROVIDER")}},{key:"GEETEST_CAPTCHA_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_GEETEST_CAPTCHA_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"your_captcha_key"),value:"",secret:!0,showIf:function(e){return"Geetest"===e("CAPTCHA_PROVIDER")}},{key:"CAP_API_ENDPOINT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_CAP_API_ENDPOINT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://cap.example.com/d9256640cb53/"),value:"",showIf:function(e){return"Cap"===e("CAPTCHA_PROVIDER")}},{key:"CAP_SECRET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_CAP_SECRET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"your_cap_secret_key"),value:"",secret:!0,showIf:function(e){return"Cap"===e("CAPTCHA_PROVIDER")}}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_IM"),items:[{key:"PUSHOO_CHANNEL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_PUSHOO_CHANNEL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"pushdeer"),value:""},{key:"PUSHOO_TOKEN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_PUSHOO_TOKEN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"PDU431TfFHZICvR6lJrFBswSRN1cJ*****zzFvR"),value:""},{key:"SC_MAIL_NOTIFY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SC_MAIL_NOTIFY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_MAIL"),items:[{key:"SENDER_EMAIL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SENDER_EMAIL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"blog@imaegoo.com"),value:""},{key:"SENDER_NAME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SENDER_NAME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站评论提醒"),value:""},{key:"SMTP_SERVICE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_SERVICE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"QQ"),value:""},{key:"SMTP_HOST",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_HOST"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"smtp.qq.com"),value:""},{key:"SMTP_PORT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_PORT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"465"),value:""},{key:"SMTP_SECURE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_SECURE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""},{key:"SMTP_USER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_USER"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"blog@imaegoo.com"),value:""},{key:"SMTP_PASS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_PASS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"password"),value:"",secret:!0},{key:"MAIL_SUBJECT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"您在虹墨空间站上的评论收到了回复"),value:""},{key:"MAIL_TEMPLATE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE"),ph:"",value:""},{key:"MAIL_SUBJECT_ADMIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT_ADMIN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站上有新评论了"),value:""},{key:"MAIL_TEMPLATE_ADMIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE_ADMIN"),ph:"",value:""}]}],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:s.version,message:"",emailTestAddress:"",emailTestResult:""}},methods:{t:a.t,readConfig:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,(0,a.call)(e.$tcb,"GET_CONFIG_FOR_ADMIN");case 3:(n=t.sent).result&&!n.result.code&&(e.serverConfig=n.result.config,"undefined"==typeof e.serverConfig.CAPTCHA_PROVIDER&&(e.serverConfig.TURNSTILE_SITE_KEY?e.serverConfig.CAPTCHA_PROVIDER="Turnstile":e.serverConfig.GEETEST_CAPTCHA_ID&&(e.serverConfig.CAPTCHA_PROVIDER="Geetest")),"undefined"==typeof e.serverConfig.IMAGE_CDN&&(e.serverConfig.SHOW_IMAGE,e.serverConfig.IMAGE_CDN=""),e.resetConfig()),e.loading=!1;case 6:case"end":return t.stop()}},t)}))()},resetConfig:function(){var e,t=c(this.settings);try{for(t.s();!(e=t.n()).done;){var n,r=c(e.value.items);try{for(r.s();!(n=r.n()).done;){var o=n.value;this.serverConfig[o.key]!==undefined?o.value=this.serverConfig[o.key]:o.value=""}}catch(i){r.e(i)}finally{r.f()}}}catch(i){t.e(i)}finally{t.f()}},showSetting:function(e){var t=this;return"function"!=typeof e.showIf||e.showIf(function(e){var n,r=c(t.settings);try{for(r.s();!(n=r.n()).done;){var o=n.value.items.find(function(t){return t.key===e});if(o)return o.value}}catch(i){r.e(i)}finally{r.f()}return null})},saveConfig:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r,i,s,l,d,f,p,h;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.loading=!0,e.message="正在保存",n={},r=c(e.settings);try{for(r.s();!(i=r.n()).done;){s=i.value,l=c(s.items);try{for(l.s();!(d=l.n()).done;)f=d.value,p=e.serverConfig[f.key],h=f.value,p!==h&&(n[f.key]=f.value)}catch(o){l.e(o)}finally{l.f()}}}catch(o){r.e(o)}finally{r.f()}return n.IMAGE_CDN!==undefined&&(n.SHOW_IMAGE=n.IMAGE_CDN?"true":"false"),a.logger.log("保存配置",n),t.next=9,(0,a.call)(e.$tcb,"SET_CONFIG",{config:n});case 9:return t.next=11,e.readConfig();case 11:u.app.$emit("configUpdated"),e.message="保存成功",e.loading=!1;case 14:case"end":return t.stop()}},t)}))()},testEmail:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,(0,a.call)(e.$tcb,"EMAIL_TEST",{mail:e.emailTestAddress});case 3:n=t.sent,a.logger.log("邮件测试",n),e.emailTestResult=JSON.stringify(n),e.loading=!1;case 7:case"end":return t.stop()}},t)}))()}},mounted:function(){this.readConfig()}}},3396:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=n(8129);t.A={data:function(){return{loading:!1}},methods:{t:a.t,doExport:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){var r;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,(0,a.call)(t.$tcb,"COMMENT_EXPORT_FOR_ADMIN",{collection:e});case 4:(r=n.sent).result.data&&t.downloadJson("twikoo-".concat(e,".json"),r.result.data);case 6:return n.prev=6,t.loading=!1,n.finish(6);case 9:case"end":return n.stop()}},n,null,[[1,,6,9]])}))()},downloadJson:function(e,t){var n=t instanceof Object?JSON.stringify(t,null,2):t,r=window.URL||window.webkitURL||window,o=new Blob([n]),i=document.createElementNS("http://www.w3.org/1999/xhtml","a");i.href=r.createObjectURL(o),i.download=e,i.click()}}}},9865:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=n(8129);t.A={data:function(){return{loading:!1,source:"",logText:"",warnText:{valine:(0,a.t)("ADMIN_IMPORT_TIP_VALINE"),disqus:(0,a.t)("ADMIN_IMPORT_TIP_DISQUS"),artalk:(0,a.t)("ADMIN_IMPORT_TIP_ARTALK"),artalk2:"",twikoo:""}}},methods:{t:a.t,uploadFile:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.source){t.next=3;break}return e.log((0,a.t)("ADMIN_IMPORT_SOURCE_REQUIRED")),t.abrupt("return");case 3:if(n=e.$refs.inputFile.files[0]){t.next=7;break}return e.log((0,a.t)("ADMIN_IMPORT_FILE_REQUIRED")),t.abrupt("return");case 7:if(e.log((0,a.t)("ADMIN_IMPORT_START")),e.loading=!0,t.prev=9,!e.$tcb){t.next=19;break}return t.next=13,e.$tcb.app.uploadFile({cloudPath:"import/".concat(Date.now()),filePath:n,onUploadProgress:function(t){var n=Math.round(100*t.loaded/t.total);e.log("".concat((0,a.t)("ADMIN_IMPORT_UPLOADING")).concat(n,"%"))}});case 13:return r=t.sent,e.log("".concat((0,a.t)("ADMIN_IMPORT_UPLOADED")).concat(r.fileID)),t.next=17,e.importFile(r.fileID);case 17:t.next=21;break;case 19:return t.next=21,e.importFileToVercel(n);case 21:t.next=27;break;case 23:t.prev=23,t.t0=t["catch"](9),console.error(t.t0),e.log(t.t0.message);case 27:e.loading=!1;case 28:case"end":return t.stop()}},t,null,[[9,23]])}))()},importFile:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){var r;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTING")).concat(t.source)),n.next=3,(0,a.call)(t.$tcb,"COMMENT_IMPORT_FOR_ADMIN",{fileId:e,source:t.source});case 3:r=n.sent,t.logText+=r.result.log,t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTED")).concat(t.source));case 6:case"end":return n.stop()}},n)}))()},importFileToVercel:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){var r;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTING")).concat(t.source)),n.t0=a.call,n.t1=t.$tcb,n.next=5,(0,a.readAsText)(e);case 5:return n.t2=n.sent,n.t3=t.source,n.t4={file:n.t2,source:n.t3},n.next=10,(0,n.t0)(n.t1,"COMMENT_IMPORT_FOR_ADMIN",n.t4);case 10:r=n.sent,t.logText+=r.result.log,t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTED")).concat(t.source));case 13:case"end":return n.stop()}},n)}))()},log:function(e){this.logText+="".concat((new Date).toLocaleString()," ").concat(e,"\n"),this.$nextTick(this.scrollLogToBottom)},scrollLogToBottom:function(){if(this.$refs.logTextArea){var e=this.$refs.logTextArea.$refs.textarea;e.scrollTop=e.scrollHeight}}}}},4064:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(2889)),i=n(823),a=n(8129),s=r(n(9587));t.A={props:{config:Object,avatar:String,nick:String,mail:String,mailMd5:String,link:String},data:function(){return{iconUser:s["default"]}},computed:{gravatarCdn:function(){return this.config&&this.config.GRAVATAR_CDN?this.config.GRAVATAR_CDN:"weavatar.com"},defaultGravatar:function(){return this.config&&this.config.DEFAULT_GRAVATAR?this.config.DEFAULT_GRAVATAR:"initials&name=".concat(this.nick)},avatarInner:function(){if(this.avatar)return this.avatar;if(this.mailMd5)return"https://".concat(this.gravatarCdn,"/avatar/").concat(this.mailMd5,"?d=").concat(this.defaultGravatar);if(this.mail&&(0,a.isQQ)(this.mail))return(0,a.getQQAvatar)(this.mail);if(this.mail){var e="cravatar.cn"===this.gravatarCdn?o["default"]:i.sha256;return"https://".concat(this.gravatarCdn,"/avatar/").concat(e((0,a.normalizeMail)(this.mail)),"?d=").concat(this.defaultGravatar)}return""}},methods:{onClick:function(){this.$emit("click"),this.link&&(window.open((0,a.convertLink)(this.link),"_blank").opener=null)}}}},3572:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=n(8129),s=r(n(1020)),u=r(n(4785)),c=r(n(2107)),l=r(n(2531)),d=r(n(9396)),f=r(n(6937)),p=r(n(8974)),h=r(n(7397)),v=r(n(58)),m=r(n(8443)),g=r(n(740)),_=r(n(3793)),y=r(n(7051)),b=r(n(9039)),w=r(n(3982)),E={win:l["default"],mac:d["default"],ipad:d["default"],iphone:d["default"],ios:d["default"],android:f["default"],ubuntu:h["default"],linux:p["default"]},k={edge:y["default"],chrome:v["default"],firefox:m["default"],safari:g["default"],explorer:_["default"],ie:_["default"]};t.A={name:"tk-comment",components:{TkAction:s["default"],TkAvatar:u["default"],TkSubmit:c["default"]},data:function(){return{pid:"",like:0,liked:!1,disliked:!1,ups:0,downs:0,likeLoading:!1,isExpanded:!1,hasExpand:!1,isContentExpanded:!1,hasContentExpand:!1,isLogin:!1}},props:{comment:Object,replyId:String,replying:Boolean,config:Object},computed:{displayCreated:function(){return(0,a.timeago)(this.comment.created)},jsonTimestamp:function(){return new Date(this.comment.created).toJSON()},localeTime:function(){return new Date(this.comment.created).toLocaleString()},iconOs:function(){return this.getIconBy(this.comment.os,E)},iconBrowser:function(){return this.getIconBy(this.comment.browser,k)},iconLocation:function(){return w["default"]},showExpand:function(){return this.hasExpand&&!this.isExpanded},showCollapse:function(){return this.hasExpand&&this.isExpanded},showContentExpand:function(){return this.hasContentExpand&&!this.isContentExpanded},showContentCollapse:function(){return this.hasContentExpand&&this.isContentExpanded},convertedLink:function(){return(0,a.convertLink)(this.comment.link)}},methods:{t:a.t,getIconBy:function(e,t){var n=e.toLowerCase();for(var r in t)if(-1!==n.indexOf(r))return t[r];return b["default"]},showExpandIfNeed:function(){this.comment.replies&&this.comment.replies.length>0&&this.$refs["tk-replies"]&&(this.hasExpand=this.$refs["tk-replies"].scrollHeight>236)},showContentExpandIfNeed:function(){this.hasContentExpand=this.hasContentExpand||this.$refs["tk-content"].scrollHeight>500},showContentExpandIfNeedAfterImagesLoaded:function(){var e=this;this.$refs["tk-content"].querySelectorAll("img").forEach(function(t){t.onload=e.showContentExpandIfNeed})},scrollToComment:function(){-1!==window.location.hash.indexOf(this.comment.id)&&(this.$refs["tk-comment"].scrollIntoView({behavior:"smooth"}),this.$emit("expand"))},onLike:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.likeLoading){t.next=2;break}return t.abrupt("return");case 2:return e.likeLoading=!0,t.next=5,(0,a.call)(e.$tcb,"COMMENT_LIKE",{id:e.comment.id,type:"up"});case 5:e.liked?e.ups--:(e.ups++,e.disliked&&e.downs--),e.liked=!e.liked,e.disliked=!1,e.likeLoading=!1;case 9:case"end":return t.stop()}},t)}))()},onDislike:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.likeLoading){t.next=2;break}return t.abrupt("return");case 2:return e.likeLoading=!0,t.next=5,(0,a.call)(e.$tcb,"COMMENT_LIKE",{id:e.comment.id,type:"down"});case 5:e.disliked?e.downs--:(e.downs++,e.liked&&e.ups--),e.disliked=!e.disliked,e.liked=!1,e.likeLoading=!1;case 9:case"end":return t.stop()}},t)}))()},onReply:function(e){this.pid=e,this.$emit("reply",this.comment.id)},onDelete:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(confirm((0,a.t)("COMMENT_DELETE_CONFIRM"))){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,(0,a.call)(e.$tcb,"COMMENT_DELETE_FOR_USER",{id:e.comment.id});case 4:n=t.sent,(r=n.result).code?alert(r.message):e.$emit("load");case 7:case"end":return t.stop()}},t)}))()},onReplyReply:function(e){this.pid=e,e?this.$emit("reply",this.comment.id):this.$emit("reply","")},onCancel:function(){this.pid="",this.$emit("reply","")},onLoad:function(){this.comment.replies.length>0&&this.$refs["tk-replies"].lastElementChild.scrollIntoView({behavior:"smooth",block:"center"}),this.pid="",this.$emit("reply",""),this.$emit("load"),this.onExpand()},onExpand:function(){this.isExpanded=!0},onCollapse:function(){this.isExpanded=!1},onContentExpand:function(){this.isContentExpanded=!0},onContentCollapse:function(){this.isContentExpanded=!1},checkAuth:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.$tcb){t.next=7;break}return t.next=3,e.$tcb.auth.getCurrenUser();case 3:n=t.sent,e.isLogin="CUSTOM"===n.loginType,t.next=8;break;case 7:e.isLogin=e.$twikoo.serverConfig&&e.$twikoo.serverConfig.IS_ADMIN;case 8:case"end":return t.stop()}},t)}))()},handleSpam:function(e){this.setComment({isSpam:e})},handleTop:function(e){this.setComment({top:e})},popupLightbox:function(e){if("true"===this.$twikoo.serverConfig.LIGHTBOX){var t=e.target;if("IMG"===t.tagName&&!t.classList.contains("tk-owo-emotion")){var n=document.createElement("div");n.className="tk-lightbox";var r=document.createElement("img");r.className="tk-lightbox-image",r.src=t.src,n.appendChild(r),n.addEventListener("click",function(){document.body.removeChild(n)}),document.body.appendChild(n)}}},setComment:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,n.next=3,(0,a.call)(t.$tcb,"COMMENT_SET_FOR_ADMIN",{id:t.comment.id,set:e});case 3:t.loading=!1,t.$emit("load");case 5:case"end":return n.stop()}},n)}))()}},mounted:function(){var e=this;this.$nextTick(this.showContentExpandIfNeed),this.$nextTick(this.showContentExpandIfNeedAfterImagesLoaded),this.$nextTick(this.showExpandIfNeed),this.$nextTick(this.scrollToComment),this.$nextTick(function(){(0,a.renderLinks)(e.$refs.comment),(0,a.renderMath)(e.$refs.comment,e.$twikoo.katex)}),this.checkAuth()},watch:{"comment.like":{handler:function(e){this.like=this.comment.like},immediate:!0},"comment.ups":{handler:function(e){this.ups=this.comment.ups,this.liked=this.comment.liked},immediate:!0},"comment.downs":{handler:function(e){this.downs=this.comment.downs,this.disliked=this.comment.disliked},immediate:!0},"config.HIGHLIGHT":{handler:function(e){var t=this;"true"===e&&this.$nextTick(function(){(0,a.renderCode)(t.$refs.comment,t.config.HIGHLIGHT_THEME,t.config.HIGHLIGHT_PLUGIN)})},immediate:!0}}}},4333:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=r(n(504)),s=r(n(9966)),u=r(n(4478)),c=n(8129),l=n(1085),d=r(n(8634)),f=r(n(2107));t.A={components:{TkSubmit:f["default"],TkComment:d["default"]},props:{showAdminEntry:Boolean},data:function(){return{loading:!0,loadingMore:!1,errorMessage:"",config:{},comments:[],showExpand:!0,count:0,replyId:"",currentSort:"newest",iconSetting:a["default"],iconRefresh:s["default"]}},methods:{t:c.t,initConfig:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.call)(e.$tcb,"GET_CONFIG");case 2:(n=t.sent)&&n.result&&n.result.config&&(e.config=n.result.config,u["default"].prototype.$twikoo.serverConfig=n.result.config);case 4:case"end":return t.stop()}},t)}))()},initComments:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,n=(0,c.getUrl)(e.$twikoo.path),t.next=4,e.getComments({url:n,sort:e.currentSort});case 4:e.loading=!1;case 5:case"end":return t.stop()}},t)}))()},refresh:function(){this.comments=[],this.initComments()},setSort:function(e){this.currentSort!==e&&(this.currentSort=e,this.comments=[],this.initComments())},onExpand:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.loadingMore){t.next=2;break}return t.abrupt("return");case 2:return e.loadingMore=!0,n=(0,c.getUrl)(e.$twikoo.path),r=e.comments.filter(function(e){return!e.top}).map(function(e){return e.created}).sort(function(e,t){return e-t})[0],t.next=7,e.getComments({url:n,before:r,sort:e.currentSort});case 7:e.loadingMore=!1;case 8:case"end":return t.stop()}},t)}))()},onCommentLoaded:function(){"function"==typeof this.$twikoo.onCommentLoaded&&this.$twikoo.onCommentLoaded()},getComments:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){var r;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,c.call)(t.$tcb,"COMMENT_GET",e);case 3:(r=n.sent)&&r.result&&r.result.data&&(t.comments=e.before?t.comments.concat(r.result.data):r.result.data,t.showExpand=r.result.more,t.count=r.result.count||t.comments.length||0,t.$nextTick(t.onCommentLoaded)),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](0),t.errorMessage=n.t0.message;case 10:case"end":return n.stop()}},n,null,[[0,7]])}))()},onReply:function(e){this.replyId=e},openAdmin:function(){this.$emit("admin")}},mounted:function(){this.initConfig(),this.initComments(),l.app.$on("configUpdated",this.initConfig)}}},418:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=n(2199),s=n(8129);t.A={data:function(){return{version:a.version,counter:{}}},methods:{getCounter:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r,i,a;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=document.getElementById("twikoo_visitors")){t.next=3;break}return t.abrupt("return");case 3:if(-1===["localhost","127.0.0.1","0.0.0.0"].indexOf(window.location.hostname)){t.next=5;break}return t.abrupt("return");case 5:return r=(0,s.getUrl)(e.$twikoo.path),i=(0,s.getHref)(e.$twikoo.href),t.next=9,(0,s.call)(e.$tcb,"COUNTER_GET",{url:r,href:i,title:document.title});case 9:a=t.sent,e.counter=a.result,(e.counter.time||0===e.counter.time)&&(n.innerHTML=e.counter.time);case 12:case"end":return t.stop()}},t)}))()}},mounted:function(){this.getCounter()}}},2362:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=n(1085),s=n(8129),u=n(585),c=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;t.A={props:{nick:String,mail:String,link:String,config:Object},data:function(){return{metaInputs:[{key:"nick",locale:(0,s.t)("META_INPUT_NICK"),name:"nick",type:"text"},{key:"mail",locale:(0,s.t)("META_INPUT_MAIL"),name:"mail",type:"email"},{key:"link",locale:(0,s.t)("META_INPUT_LINK"),name:"link",type:"text"}],metaData:{nick:"",mail:"",link:""}}},computed:{displayedFields:function(){var e=this.config.DISPLAYED_FIELDS;return{nick:!e||-1!==e.indexOf("nick"),mail:!e||-1!==e.indexOf("mail"),link:!e||-1!==e.indexOf("link")}},displayedInputs:function(){var e=this;return this.metaInputs.filter(function(t){return!!e.displayedFields[t.key]})},requiredFields:function(){var e=this.config.REQUIRED_FIELDS;return{nick:!e||-1!==e.indexOf("nick"),mail:!e||-1!==e.indexOf("mail"),link:!!e&&-1!==e.indexOf("link")}}},methods:{t:s.t,initMeta:function(){var e=localStorage.getItem("twikoo");if(e){var t=JSON.parse(e);this.metaData.nick=t.nick,this.metaData.mail=t.mail,this.metaData.link=t.link}this.updateMeta()},updateMeta:function(){localStorage.setItem("twikoo",JSON.stringify(this.metaData)),this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},checkValid:function(){var e=c.test(this.metaData.mail);return(this.metaData.nick||!this.requiredFields.nick)&&(e||!this.requiredFields.mail)&&(this.metaData.link||!this.requiredFields.link)},checkQQ:function(){if((0,s.isQQ)(this.metaData.nick)){var e=this.metaData.nick.replace(/@qq.com/gi,""),t="".concat(e,"@qq.com");this.metaData.mail=t,this.getQQNick(e)}},getQQNick:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){var r,i;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,u.call)(null,"GET_QQ_NICK",{qq:e});case 3:r=n.sent,(i=r.result)&&i.nick&&(t.metaData.nick=i.nick,t.updateMeta()),n.next=11;break;case 8:n.prev=8,n.t0=n["catch"](0),console.warn("获取 QQ 昵称失败:",n.t0);case 11:case"end":return n.stop()}},n,null,[[0,8]])}))()},checkAdminCrypt:function(){var e=this.$root.$children[0],t=!this.config.HIDE_ADMIN_CRYPT||this.config.HIDE_ADMIN_CRYPT===this.metaData.nick;e.onShowAdminEntry(t)},onMetaChange:function(){this.checkQQ(),this.updateMeta(),this.checkAdminCrypt()}},watch:{nick:function(e){this.metaData.nick=e},mail:function(e){this.metaData.mail=e},link:function(e){this.metaData.link=e},requiredFields:{handler:function(e,t){this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},deep:!0},"config.VERSION":function(){this.checkAdminCrypt()}},mounted:function(){a.app.$on("initMeta",this.initMeta),this.initMeta()}}},9171:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(8129);t.A={props:{pageSize:{type:Number,"default":10},total:{type:Number,"default":0}},data:function(){return{currentPage:1,userInput:0,userPageSize:0,pagers:[]}},computed:{pageCount:function(){return Math.ceil(this.total/this.pageSize)}},methods:{t:r.t,generatePager:function(){for(var e=[],t=1;t<=this.pageCount;t++)Math.abs(this.currentPage-t)<3||1===t||t===this.pageCount?e.push({title:"".concat(t),page:t}):Math.abs(this.currentPage-t)<4&&e.push({title:"...",page:t});this.pagers=e},currentChange:function(e){this.currentPage=parseInt(e),this.currentPage>this.pageCount&&(this.currentPage=this.pageCount),this.userInput=0,this.$emit("current-change",this.currentPage),this.generatePager()},pageSizeChamge:function(e){this.userPageSize=0,this.$emit("page-size-change",parseInt(e))},handleInput:function(e){this.userInput=parseInt(e)},handleInputPageSize:function(e){this.userPageSize=parseInt(e)}},watch:{total:{handler:function(){this.generatePager()},immediate:!0},pageSize:{handler:function(){this.generatePager()}}}}},147:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(479)),i=r(n(4964)),a=r(n(1423)),s=r(n(5171)),u=r(n(6639)),c=r(n(2573)),l=r(n(1628)),d=n(8129),f=r(n(4785)),p=r(n(5062)),h=["apng","bmp","gif","jpeg","jpg","png","svg","tif","tiff","webp"];t.A={components:{TkAvatar:f["default"],TkMetaInput:p["default"]},directives:{Clickoutside:c["default"]},props:{replyId:String,pid:String,config:Object},data:function(){return{isSending:!1,isPreviewing:!1,isMetaValid:!1,errorMessage:"",owo:null,comment:"",commentHtml:"",nick:"",mail:"",link:"",turnstileLoad:null,geeTestLoad:null,geeTestCaptchaObj:null,capLoad:null,iconMarkdown:a["default"],iconEmotion:u["default"],iconImage:s["default"]}},computed:{captchaProvider:function(){return"undefined"!=typeof this.config.CAPTCHA_PROVIDER?this.config.CAPTCHA_PROVIDER:this.config.TURNSTILE_SITE_KEY?"Turnstile":this.config.GEETEST_CAPTCHA_ID?"Geetest":this.config.CAP_API_ENDPOINT?"Cap":""},showImage:function(){return!!this.config.IMAGE_CDN},canSend:function(){return!this.isSending&&!!this.isMetaValid&&!!this.comment.trim()},textarea:function(){return this.$refs.textarea?this.$refs.textarea.$refs.textarea:null},commentPlaceholder:function(){var e=this.$twikoo.placeholder||this.config.COMMENT_PLACEHOLDER||"";return e=e.replace(/<br>/g,"\n")},maxLength:function(){var e=parseInt(this.config.LIMIT_LENGTH);return Number.isNaN(e)&&(e=500),e>0?e:null}},methods:{t:d.t,initDraft:function(){var e=localStorage.getItem("twikoo-draft");!this.comment&&e&&(this.comment=e)},saveDraft:function(){localStorage.setItem("twikoo-draft",this.comment)},initOwo:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("true"!==e.config.SHOW_EMOTION){t.next=6;break}return t.next=3,(0,d.initOwoEmotions)(e.config.EMOTION_CDN||"https://owo.imaegoo.com/owo.json");case 3:n=t.sent,e.owo=new l["default"]({logo:u["default"],container:e.$refs.owo,target:e.textarea,odata:n,position:"down",maxHeight:"250px"}),d.marked.setOptions({odata:(0,d.initMarkedOwo)(n)});case 6:case"end":return t.stop()}},t)}))()},initTurnstile:function(){var e=this;"Turnstile"===this.captchaProvider&&this.config.TURNSTILE_SITE_KEY&&(window.turnstile?this.turnstileLoad=Promise.resolve():this.turnstileLoad=new Promise(function(t,n){var r=document.createElement("script");r.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",r.onload=t,r.onerror=n,e.$refs["turnstile-container"].appendChild(r)}))},getTurnstileToken:function(){var e=this;return new Promise(function(t,n){e.turnstileLoad.then(function(){var r=window.turnstile.render(e.$refs.turnstile,{sitekey:e.config.TURNSTILE_SITE_KEY,callback:function(e){t(e),setTimeout(function(){window.turnstile.remove(r)},1e3)},"error-callback":n,"expired-callback":function(){n(new Error("验证码已过期,请重试"))},"timeout-callback":function(){n(new Error("验证码超时,请重试"))}})})})},initGeeTest:function(){var e=this;"Geetest"===this.captchaProvider&&this.config.GEETEST_CAPTCHA_ID&&(window.initGeetest4?this.geeTestLoad=Promise.resolve():this.geeTestLoad=new Promise(function(t,n){var r=document.createElement("script");r.src="https://static.geetest.com/v4/gt4.js",r.onload=t,r.onerror=n,e.$refs["geetest-container"].appendChild(r)}))},getGeeTestToken:function(){var e=this;return new Promise(function(t,n){e.geeTestLoad.then(function(){window.initGeetest4({captchaId:e.config.GEETEST_CAPTCHA_ID,product:"bind",language:"zho"},function(r){e.geeTestCaptchaObj=r,r.onReady(function(){r.showCaptcha()}).onSuccess(function(){var e=r.getValidate();t({geeTestLotNumber:e.lot_number,geeTestCaptchaOutput:e.captcha_output,geeTestPassToken:e.pass_token,geeTestGenTime:e.gen_time})}).onError(function(e){n(e)}).onClose(function(){n(new Error("验证已取消"))})})})})},initCap:function(){var e=this;"Cap"===this.captchaProvider&&this.config.CAP_API_ENDPOINT&&(window.Cap?this.capLoad=Promise.resolve():this.capLoad=new Promise(function(t,n){var r=document.createElement("script");r.src="https://cdn.jsdmirror.com/npm/@cap.js/widget",r.onload=t,r.onerror=n,e.$refs["cap-container"].appendChild(r)}))},getCapToken:function(){var e=this;return new Promise(function(t,n){e.capLoad.then(function(){var r=document.createElement("cap-widget");r.setAttribute("id","cap-widget"),r.setAttribute("data-cap-api-endpoint",e.config.CAP_API_ENDPOINT),e.$refs["cap-container"].appendChild(r);var o=function(){r&&r.parentNode&&r.parentNode.removeChild(r)};r.solve().then(function(e){o(),e.success?t(e.token):n(new Error("Cap验证失败"))})["catch"](function(e){o(),n(e)})})})},onMetaUpdate:function(e){this.nick=e.meta.nick,this.mail=e.meta.mail,this.link=e.meta.link,this.isMetaValid=e.valid},cancel:function(){this.$emit("cancel")},onCommentInput:function(){this.saveDraft(),this.updatePreview()},preview:function(){this.isPreviewing=!this.isPreviewing,this.updatePreview()},updatePreview:function(){var e=this;this.isPreviewing&&(this.commentHtml=(0,d.marked)(this.comment),this.$nextTick(function(){(0,d.renderLinks)(e.$refs["comment-preview"]),(0,d.renderMath)(e.$refs["comment-preview"],e.$twikoo.katex),"true"===e.config.HIGHLIGHT&&(0,d.renderCode)(e.$refs["comment-preview"],e.config.HIGHLIGHT_THEME,e.config.HIGHLIGHT_PLUGIN)}))},send:function(){var e=this;return(0,i["default"])(o["default"].mark(function t(){var n,r,i;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.isSending=!0,t.prev=1,!e.comment.match(new RegExp("!\\[".concat((0,d.t)("IMAGE_UPLOAD_PLACEHOLDER"),".+\\]\\(\\)")))){t.next=4;break}throw new Error((0,d.t)("IMAGE_UPLOAD_PLEASE_WAIT"));case 4:return t.t0=e.nick,t.t1=e.mail,t.t2=e.link,t.next=9,(0,d.getUserAgent)();case 9:if(t.t3=t.sent,t.t4=(0,d.getUrl)(e.$twikoo.path),t.t5=(0,d.getHref)(e.$twikoo.href),t.t6=(0,d.marked)(e.comment),t.t7=e.pid?e.pid:e.replyId,t.t8=e.replyId,n={nick:t.t0,mail:t.t1,link:t.t2,ua:t.t3,url:t.t4,href:t.t5,comment:t.t6,pid:t.t7,rid:t.t8},"Turnstile"!==e.captchaProvider||!e.config.TURNSTILE_SITE_KEY){t.next=20;break}return t.next=19,e.getTurnstileToken();case 19:n.turnstileToken=t.sent;case 20:if("Geetest"!==e.captchaProvider||!e.config.GEETEST_CAPTCHA_ID){t.next=28;break}return t.next=23,e.getGeeTestToken();case 23:r=t.sent,n.geeTestLotNumber=r.geeTestLotNumber,n.geeTestCaptchaOutput=r.geeTestCaptchaOutput,n.geeTestPassToken=r.geeTestPassToken,n.geeTestGenTime=r.geeTestGenTime;case 28:if("Cap"!==e.captchaProvider||!e.config.CAP_API_ENDPOINT){t.next=32;break}return t.next=31,e.getCapToken();case 31:n.capToken=t.sent;case 32:return t.next=34,(0,d.call)(e.$tcb,"COMMENT_SUBMIT",n);case 34:if(!((i=t.sent)&&i.result&&i.result.id)){t.next=42;break}e.comment="",e.errorMessage="",e.$emit("load"),e.saveDraft(),t.next=43;break;case 42:throw new Error(i.result.message);case 43:t.next=49;break;case 45:t.prev=45,t.t9=t["catch"](1),d.logger.error("评论失败",t.t9),e.errorMessage="".concat((0,d.t)("COMMENT_FAILED"),": ").concat(t.t9&&t.t9.message);case 49:return t.prev=49,e.isSending=!1,t.finish(49);case 52:case"end":return t.stop()}},t,null,[[1,45,49,52]])}))()},addEventListener:function(){this.textarea&&this.textarea.addEventListener("paste",this.onPaste)},onBgImgChange:function(){this.config.COMMENT_BG_IMG&&this.textarea&&(this.textarea.style["background-image"]='url("'.concat(this.config.COMMENT_BG_IMG,'")'))},onEnterKeyUp:function(e){(e.ctrlKey||e.metaKey)&&this.canSend&&(this.send(),e.preventDefault())},closeOwo:function(){this.owo&&this.owo.container.classList.contains("OwO-open")&&this.owo.toggle()},openSelectImage:function(){this.$refs.inputFile.click()},onSelectImage:function(){var e=this.$refs.inputFile.files[0];this.parseAndUploadPhoto(e)},onPaste:function(e){var t;e.clipboardData&&(e.clipboardData.files[0]?t=e.clipboardData.files[0]:e.clipboardData.items[0]&&e.clipboardData.items[0].getAsFile()&&(t=e.clipboardData.items[0].getAsFile()),this.parseAndUploadPhoto(t))},parseAndUploadPhoto:function(e){var t=this;return(0,i["default"])(o["default"].mark(function n(){var r,i,a,s,u,c,l,f,p,v;return o["default"].wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e&&t.showImage){n.next=2;break}return n.abrupt("return");case 2:if(r=e.name.split("."),i=r.length>1?r.pop():"",-1!==h.indexOf(i.toLowerCase())){n.next=6;break}return n.abrupt("return");case 6:return a=t.getUserId(),s="".concat(Date.now(),"-").concat(a),u=r.join("."),c="image/gif"===e.type,l=c?u:u+".webp",f=c?i:"webp",t.paste(t.getImagePlaceholder(s,f)),p=t.config.IMAGE_CDN,n.next=16,t.compressImage(e);case 16:v=n.sent,!t.$tcb||p&&"qcloud"!==p?p?t.uploadPhotoToThirdParty(s,l,f,v):t.uploadFailed(s,f,(0,d.t)("IMAGE_UPLOAD_FAILED_NO_CONF")):t.uploadPhotoToQcloud(s,l,f,v);case 18:case"end":return n.stop()}},n)}))()},getUserId:function(){return this.$tcb?this.$tcb.auth.currentUser.uid:localStorage.getItem("twikoo-access-token")},compressImage:function(e){return(0,i["default"])(o["default"].mark(function t(){return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("image/gif"!==e.type){t.next=2;break}return t.abrupt("return",e);case 2:return t.abrupt("return",new Promise(function(t){var n=new FileReader;n.onload=function(n){var r=new Image;r.onload=function(){var n=document.createElement("canvas"),o=r.width,i=r.height,a=1920;(o>a||i>a)&&(o>i?(i=i*a/o,o=a):(o=o*a/i,i=a)),n.width=o,n.height=i,n.getContext("2d").drawImage(r,0,0,o,i);var s="image/webp",u=e.name.replace(/\.[^.]+$/,".webp");n.toBlob(function(e){t(new File([e],u,{type:s}))},s,.85)},r.src=n.target.result},n.readAsDataURL(e)}));case 3:case"end":return t.stop()}},t)}))()},uploadPhotoToQcloud:function(e,t,n,r){var a=this;return(0,i["default"])(o["default"].mark(function s(){var i,u,c;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,a.$tcb.app.uploadFile({cloudPath:"tk-img/".concat(e,".").concat(n),filePath:r});case 3:if(!(i=o.sent).fileID){o.next=10;break}return o.next=7,a.$tcb.app.getTempFileURL({fileList:[i.fileID]});case 7:u=o.sent,c=u.fileList[0].tempFileURL,a.uploadCompleted(e,t,n,c);case 10:o.next=16;break;case 12:o.prev=12,o.t0=o["catch"](0),console.error(o.t0),a.uploadFailed(e,n,o.t0.message);case 16:case"end":return o.stop()}},s,null,[[0,12]])}))()},uploadPhotoToThirdParty:function(e,t,n,r){var a=this;return(0,i["default"])(o["default"].mark(function s(){var i,u;return o["default"].wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.t0=d.call,o.t1=a.$tcb,o.t2=t,o.next=6,(0,d.blobToDataURL)(r);case 6:return o.t3=o.sent,o.t4={fileName:o.t2,photo:o.t3},o.next=10,(0,o.t0)(o.t1,"UPLOAD_IMAGE",o.t4);case 10:i=o.sent,(u=i.result).data?a.uploadCompleted(e,t,n,u.data.url):1041===u.code?a.uploadFailed(e,n,(0,d.t)("IMAGE_UPLOAD_NSFW")):(console.error(u),a.uploadFailed(e,n,u.err)),o.next=19;break;case 15:o.prev=15,o.t5=o["catch"](0),console.error(o.t5),a.uploadFailed(e,n,o.t5.message);case 19:case"end":return o.stop()}},s,null,[[0,15]])}))()},uploadCompleted:function(e,t,n,r){t=t.replace(/[[\]]/g,"_"),this.comment=this.comment.replace(this.getImagePlaceholder(e,n),"![".concat(t,"](").concat(r,")")),this.$refs.inputFile.value=""},uploadFailed:function(e,t,n){this.comment=this.comment.replace(this.getImagePlaceholder(e,t),"_".concat((0,d.t)("IMAGE_UPLOAD_FAILED"),": ").concat(n,"_")),this.$refs.inputFile.value=""},paste:function(e){if(document.selection)document.selection.createRange().text=e;else if(this.textarea.selectionStart||0===this.textarea.selectionStart){var t=this.textarea.selectionStart,n=this.textarea.selectionEnd;this.comment=this.comment.substring(0,t)+e+this.comment.substring(n,this.comment.length),this.textarea.selectionStart=t+e.length,this.textarea.selectionEnd=t+e.length}else this.comment+=e},getImagePlaceholder:function(e,t){return"![".concat((0,d.t)("IMAGE_UPLOAD_PLACEHOLDER")," ").concat(e,".").concat(t,"]()")}},mounted:function(){this.pid&&this.$refs["tk-submit"].scrollIntoView({behavior:"instant",block:"center"}),this.initDraft(),this.initOwo(),this.addEventListener(),this.onBgImgChange(),this.initTurnstile(),this.initGeeTest(),this.initCap()},watch:{"config.SHOW_EMOTION":function(){this.initOwo()},"config.COMMENT_BG_IMG":function(){this.onBgImgChange()},"config.TURNSTILE_SITE_KEY":function(){this.initTurnstile()},"config.GEETEST_CAPTCHA_ID":function(){this.initGeeTest()},"config.CAP_API_ENDPOINT":function(){this.initCap()},captchaProvider:function(){this.initTurnstile(),this.initGeeTest(),this.initCap()}}}},1573:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"twikoo",attrs:{id:"twikoo"}},[t("tk-comments",{attrs:{"show-admin-entry":e.showAdminEntry},on:{admin:function(t){e.showAdmin=!0}}}),e._v(" "),t("tk-footer"),e._v(" "),t("tk-admin",{attrs:{show:e.showAdmin},on:{close:function(t){e.showAdmin=!1}}})],1)},t.Yp=[]},7817:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-action"},[e.showDelete?t("button",{staticClass:"tk-action-link",on:{click:e.onDelete}},[t("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconDelete)}}),e._v(" "),t("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconDeleteSolid)}}),e._v(" "),t("span",{staticClass:"tk-action-count"})]):e._e(),e._v(" "),t("button",{staticClass:"tk-action-link","class":{"tk-liked":e.liked},on:{click:e.onLike}},[t("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconLike)}}),e._v(" "),t("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconLikeSolid)}}),e._v(" "),t("span",{staticClass:"tk-action-count"},[e._v(e._s(e.likeCountStr))])]),e._v(" "),e.showDislike?t("button",{staticClass:"tk-action-link","class":{"tk-disliked":e.disliked},on:{click:e.onDislike}},[t("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconDislike)}}),e._v(" "),t("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconDislikeSolid)}}),e._v(" "),t("span",{staticClass:"tk-action-count"},[e._v(e._s(e.dislikeCountStr))])]):e._e(),e._v(" "),t("button",{staticClass:"tk-action-link",on:{click:e.onReply}},[t("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconComment)}}),e._v(" "),t("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconCommentSolid)}}),e._v(" "),t("span",{staticClass:"tk-action-count"},[e._v(e._s(e.repliesCountStr))])])])},t.Yp=[]},7696:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-admin-container"},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin","class":{__show:e.show}},[t("button",{staticClass:"tk-admin-close",domProps:{innerHTML:e._s(e.iconClose)},on:{click:e.onClose}}),e._v(" "),e.needUpdate?t("div",{staticClass:"tk-login-title"},[t("div",[e._v(e._s(e.t("ADMIN_NEED_UPDATE")))]),e._v(" "),t("a",{attrs:{href:"https://twikoo.js.org/update.html",target:"_blank"}},[e._v("https://twikoo.js.org/update.html")])]):e._e(),e._v(" "),e.needUpdate?e._e():t("div",[!e.isLogin&&e.isSetPassword?t("div",{staticClass:"tk-login"},[t("div",{staticClass:"tk-login-title"},[e._v(e._s(e.t("ADMIN_LOGIN_TITLE")))]),e._v(" "),t("form",[t("input",{attrs:{type:"hidden"}}),e._v(" "),t("el-input",{ref:"focusme",staticClass:"tk-password",attrs:{placeholder:e.t("ADMIN_PASSWORD_PLACEHOLDER"),"show-password":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onLogin.apply(null,arguments)}},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}},[t("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_PASSWORD")))]),e._v(" "),t("el-button",{attrs:{slot:"append"},on:{click:e.onLogin},slot:"append"},[e._v(e._s(e.t("ADMIN_LOGIN")))])],2)],1),e._v(" "),e.loginErrorMessage?t("div",{staticClass:"tk-login-msg"},[e._v("\n "+e._s(e.loginErrorMessage)+"\n "),t("a",{attrs:{href:"https://twikoo.js.org/faq.html",rel:"noopener noreferrer",target:"_blank"}},[e._v(e._s(e.t("ADMIN_FORGOT")))])]):e._e()]):e._e(),e._v(" "),e.isLogin||e.isSetPassword?e._e():t("div",{staticClass:"tk-regist"},[t("div",{staticClass:"tk-login-title"},[e._v(e._s(e.t("ADMIN_LOGIN_TITLE")))]),e._v(" "),t("form",[e.isSetCredentials?e._e():t("el-input",{ref:"focusme",staticClass:"tk-password",attrs:{placeholder:e.t("ADMIN_CREDENTIALS_PLACEHOLDER")},model:{value:e.credentials,callback:function(t){e.credentials=t},expression:"credentials"}},[t("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_CREDENTIALS")))])],2),e._v(" "),t("el-input",{staticClass:"tk-password",attrs:{placeholder:e.t("ADMIN_SET_PASSWORD_PLACEHOLDER"),"show-password":""},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}},[t("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_SET_PASSWORD")))])],2),e._v(" "),t("el-input",{staticClass:"tk-password",attrs:{placeholder:e.t("ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER"),"show-password":""},model:{value:e.passwordConfirm,callback:function(t){e.passwordConfirm=t},expression:"passwordConfirm"}},[t("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_SET_PASSWORD_CONFIRM")))])],2)],1),e._v(" "),t("el-button",{staticClass:"tk-regist-button",attrs:{disabled:!e.canRegist},on:{click:e.onRegist}},[e._v(e._s(e.t("ADMIN_REGIST")))]),e._v(" "),e.loginErrorMessage?t("div",{staticClass:"tk-login-msg"},[e._v(e._s(e.loginErrorMessage))]):e._e(),e._v(" "),e.isSetCredentials?e._e():t("div",{staticClass:"tk-login-msg"},[t("a",{attrs:{href:"https://twikoo.js.org/faq.html",rel:"noopener noreferrer",target:"_blank"}},[e._v(e._s(e.t("ADMIN_CREDENTIALS_FAQ")))])])],1),e._v(" "),e.isLogin?t("div",{staticClass:"tk-panel"},[t("div",{staticClass:"tk-panel-title"},[t("div",[e._v(e._s(e.t("ADMIN_TITLE")))]),e._v(" "),t("a",{staticClass:"tk-panel-logout",attrs:{href:"#"},on:{click:e.onLogout}},[e._v(e._s(e.t("ADMIN_LOGOUT")))])]),e._v(" "),t("div",{staticClass:"tk-tabs"},[t("div",{staticClass:"tk-tab","class":{__active:"comment"===e.activeTabName},on:{click:function(t){e.activeTabName="comment"}}},[e._v(e._s(e.t("ADMIN_COMMENT")))]),e._v(" "),t("div",{staticClass:"tk-tab","class":{__active:"config"===e.activeTabName},on:{click:function(t){e.activeTabName="config"}}},[e._v(e._s(e.t("ADMIN_CONFIG")))]),e._v(" "),t("div",{staticClass:"tk-tab","class":{__active:"import"===e.activeTabName},on:{click:function(t){e.activeTabName="import"}}},[e._v(e._s(e.t("ADMIN_IMPORT")))]),e._v(" "),t("div",{staticClass:"tk-tab","class":{__active:"export"===e.activeTabName},on:{click:function(t){e.activeTabName="export"}}},[e._v(e._s(e.t("ADMIN_EXPORT")))])]),e._v(" "),t("tk-admin-comment",{directives:[{name:"show",rawName:"v-show",value:"comment"===e.activeTabName,expression:"activeTabName === 'comment'"}]}),e._v(" "),t("tk-admin-config",{directives:[{name:"show",rawName:"v-show",value:"config"===e.activeTabName,expression:"activeTabName === 'config'"}]}),e._v(" "),t("tk-admin-import",{directives:[{name:"show",rawName:"v-show",value:"import"===e.activeTabName,expression:"activeTabName === 'import'"}]}),e._v(" "),t("tk-admin-export",{directives:[{name:"show",rawName:"v-show",value:"export"===e.activeTabName,expression:"activeTabName === 'export'"}]})],1):e._e()])])])},t.Yp=[]},7912:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin-comment"},[e.clientVersion!==e.serverVersion?t("div",{staticClass:"tk-admin-warn"},[t("span",[e._v(e._s(e.t("ADMIN_CLIENT_VERSION"))+e._s(e.clientVersion)+",")]),e._v(" "),t("span",[e._v(e._s(e.t("ADMIN_SERVER_VERSION"))+e._s(e.serverVersion)+",")]),e._v(" "),e._m(0)]):e._e(),e._v(" "),t("div",{staticClass:"tk-admin-comment-filter"},[t("el-input",{staticClass:"tk-admin-comment-filter-keyword",attrs:{size:"small",placeholder:e.t("ADMIN_COMMENT_SEARCH_PLACEHOLDER")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getComments.apply(null,arguments)}},model:{value:e.filter.keyword,callback:function(t){e.$set(e.filter,"keyword",t)},expression:"filter.keyword"}}),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.filter.type,expression:"filter.type"}],staticClass:"tk-admin-comment-filter-type",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.filter,"type",t.target.multiple?n:n[0])}}},[t("option",{attrs:{value:""}},[e._v(e._s(e.t("ADMIN_COMMENT_FILTER_ALL")))]),e._v(" "),t("option",{attrs:{value:"VISIBLE"}},[e._v(e._s(e.t("ADMIN_COMMENT_FILTER_VISIBLE")))]),e._v(" "),t("option",{attrs:{value:"HIDDEN"}},[e._v(e._s(e.t("ADMIN_COMMENT_FILTER_HIDDEN")))])]),e._v(" "),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.getComments}},[e._v(e._s(e.t("ADMIN_COMMENT_SEARCH")))])],1),e._v(" "),t("div",{ref:"comment-list",staticClass:"tk-admin-comment-list"},e._l(e.comments,function(n){return t("div",{key:n._id,staticClass:"tk-admin-comment-item"},[t("div",{staticClass:"tk-admin-comment-meta"},[t("tk-avatar",{attrs:{config:e.serverConfig,avatar:n.avatar,nick:n.nick,mail:n.mail,link:n.link}}),e._v(" "),n.link?e._e():t("span",[e._v(e._s(n.nick)+" ")]),e._v(" "),n.link?t("a",{attrs:{href:e.convertLink(n.link),target:"_blank"}},[e._v(e._s(n.nick)+" ")]):e._e(),e._v(" "),n.mail?t("span",[e._v("("),t("a",{attrs:{href:"mailto:".concat(n.mail)}},[e._v(e._s(n.mail))]),e._v(") ")]):e._e(),e._v(" "),n.isSpam?t("span",[e._v(e._s(e.t("ADMIN_COMMENT_IS_SPAM_SUFFIX"))+" ")]):e._e(),e._v(" "),t("span",{staticClass:"tk-time"},[e._v(e._s(e.displayCreated(n))+" ")]),e._v(" "),t("span",{attrs:{title:n.ua}},[e._v(e._s(n.ipRegion))])],1),e._v(" "),t("div",{ref:"comments",refInFor:!0,staticClass:"tk-content",domProps:{innerHTML:e._s(n.comment)}}),e._v(" "),e.securityAlert&&e.securityAlert.commentId===n._id?t("div",{staticClass:"tk-admin-warn tk-admin-security-alert"},[t("a",{staticClass:"tk-admin-close",attrs:{href:"#"},domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){t.preventDefault(),e.securityAlert=null}}}),e._v(" "),t("div",{staticClass:"tk-admin-security-alert-message"},[e._v(e._s(e.securityAlert.message))]),e._v(" "),e.securityAlert.url?t("div",{staticClass:"tk-admin-security-alert-url"},[t("code",[e._v(e._s(e.securityAlert.url))])]):e._e()]):e._e(),e._v(" "),t("div",{staticClass:"tk-admin-actions"},[t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleView(n)}}},[e._v(e._s(e.t("ADMIN_COMMENT_VIEW")))]),e._v(" "),n.isSpam?t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleSpam(n,!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_SHOW")))]):e._e(),e._v(" "),n.isSpam?e._e():t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleSpam(n,!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_HIDE")))]),e._v(" "),!n.rid&&n.top?t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleTop(n,!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_UNTOP")))]):e._e(),e._v(" "),n.rid||n.top?e._e():t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleTop(n,!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_TOP")))]),e._v(" "),t("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.handleDelete(n)}}},[e._v(e._s(e.t("ADMIN_COMMENT_DELETE")))])],1)])}),0),e._v(" "),t("tk-pagination",{attrs:{"page-size":e.pageSize,total:e.count},on:{"page-size-change":e.onPageSizeChange,"current-change":e.switchPage}})],1)},t.Yp=[function(){var e=this,t=e._self._c;return t("span",[e._v("请参考 "),t("a",{attrs:{href:"https://twikoo.js.org/update.html",target:"_blank"}},[e._v("版本更新")]),e._v(" 进行升级")])}]},2043:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin-config"},[e.clientVersion!==e.serverVersion?t("div",{staticClass:"tk-admin-warn"},[t("span",[e._v(e._s(e.t("ADMIN_CLIENT_VERSION"))+e._s(e.clientVersion)+",")]),e._v(" "),t("span",[e._v(e._s(e.t("ADMIN_SERVER_VERSION"))+e._s(e.serverVersion)+",")]),e._v(" "),e._m(0)]):e._e(),e._v(" "),t("div",{staticClass:"tk-admin-config-groups"},[e._l(e.settings,function(n){return t("details",{key:n.name,staticClass:"tk-admin-config-group"},[t("summary",{staticClass:"tk-admin-config-group-title"},[e._v(e._s(n.name))]),e._v(" "),e._l(n.items,function(n){return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showSetting(n),expression:"showSetting(setting)"}],key:n.key,staticClass:"tk-admin-config-item"},[t("div",{staticClass:"tk-admin-config-title",attrs:{title:n.key}},[e._v(e._s(n.key))]),e._v(" "),t("div",{staticClass:"tk-admin-config-input"},[n.options?t("select",{directives:[{name:"model",rawName:"v-model",value:n.value,expression:"setting.value"}],staticClass:"tk-admin-config-select",on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(n,"value",t.target.multiple?r:r[0])}}},e._l(n.options,function(n){return t("option",{key:n.value,domProps:{value:n.value}},[e._v(e._s(n.label))])}),0):t("el-input",{attrs:{placeholder:n.ph,size:"small","show-password":n.secret},model:{value:n.value,callback:function(t){e.$set(n,"value",t)},expression:"setting.value"}})],1),e._v(" "),t("div"),e._v(" "),t("div",{staticClass:"tk-admin-config-desc"},[e._v(e._s(n.desc))])])})],2)}),e._v(" "),t("details",{staticClass:"tk-admin-config-group"},[t("summary",{staticClass:"tk-admin-config-group-title"},[e._v(e._s(e.t("ADMIN_CONFIG_EMAIL_TEST")))]),e._v(" "),t("div",{staticClass:"tk-admin-config-email-test"},[t("div",{staticClass:"tk-admin-config-email-test-desc"},[e._v(e._s(e.t("ADMIN_CONFIG_EMAIL_TEST_HELP")))]),e._v(" "),t("div",{staticClass:"tk-admin-config-input"},[t("el-input",{attrs:{size:"small"},model:{value:e.emailTestAddress,callback:function(t){e.emailTestAddress=t},expression:"emailTestAddress"}},[t("el-button",{attrs:{slot:"append",type:"info"},on:{click:e.testEmail},slot:"append"},[e._v(e._s(e.t("ADMIN_CONFIG_EMAIL_TEST_BTN")))])],1)],1),e._v(" "),t("div",{staticClass:"tk-admin-config-email-test-desc"},[e._v(e._s(e.t("ADMIN_CONFIG_EMAIL_TEST_RESULT"))+e._s(e.emailTestResult))])])])],2),e._v(" "),t("div",{staticClass:"tk-admin-config-actions"},[t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveConfig}},[e._v(e._s(e.t("ADMIN_CONFIG_SAVE")))]),e._v(" "),t("el-button",{attrs:{size:"small",type:"info"},on:{click:e.resetConfig}},[e._v(e._s(e.t("ADMIN_CONFIG_RESET")))])],1),e._v(" "),t("div",{staticClass:"tk-admin-config-message"},[e._v(e._s(e.message))])])},t.Yp=[function(){var e=this,t=e._self._c;return t("span",[e._v("请参考 "),t("a",{attrs:{href:"https://twikoo.js.org/update.html",target:"_blank"}},[e._v("版本更新")]),e._v(" 进行升级")])}]},9976:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-admin-export"},[t("div",{staticClass:"tk-admin-warn tk-admin-import-warn"},[t("p",[e._v(e._s(e.t("ADMIN_EXPORT_WARN")))])]),e._v(" "),t("el-button",{attrs:{size:"small",disabled:e.loading},on:{click:function(t){return e.doExport("comment")}}},[e._v(e._s(e.t("ADMIN_EXPORT_COMMENT")))]),e._v(" "),t("el-button",{attrs:{size:"small",disabled:e.loading},on:{click:function(t){return e.doExport("counter")}}},[e._v(e._s(e.t("ADMIN_EXPORT_COUNTER")))])],1)},t.Yp=[]},872:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-admin-import"},[t("div",{staticClass:"tk-admin-warn tk-admin-import-warn"},[t("p",[e._v(e._s(e.t("ADMIN_IMPORT_WARN")))]),e._v(" "),t("p",[e._v(e._s(e.warnText[e.source]))])]),e._v(" "),t("div",{staticClass:"tk-admin-import-label"},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT_SOURCE")))]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.source,expression:"source"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.source=t.target.multiple?n:n[0]}}},[t("option",{attrs:{disabled:"",value:""}},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT")))]),e._v(" "),t("option",{attrs:{value:"valine"}},[e._v("Valine (JSON)")]),e._v(" "),t("option",{attrs:{value:"disqus"}},[e._v("Disqus (XML)")]),e._v(" "),t("option",{attrs:{value:"artalk"}},[e._v("Artalk v1 (JSON)")]),e._v(" "),t("option",{attrs:{value:"artalk2"}},[e._v("Artalk v2 (Artrans)")]),e._v(" "),t("option",{attrs:{value:"twikoo"}},[e._v("Twikoo (JSON)")])]),e._v(" "),t("div",{staticClass:"tk-admin-import-label"},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT_FILE")))]),e._v(" "),t("input",{ref:"inputFile",attrs:{type:"file",value:""}}),e._v(" "),t("el-button",{attrs:{size:"small",disabled:e.loading},on:{click:e.uploadFile}},[e._v(e._s(e.t("ADMIN_IMPORT_START")))]),e._v(" "),t("el-input",{ref:"logTextArea",attrs:{type:"textarea",rows:10,placeholder:e.t("ADMIN_IMPORT_LOG"),readonly:""},model:{value:e.logText,callback:function(t){e.logText=t},expression:"logText"}})],1)},t.Yp=[]},5897:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-avatar","class":{"tk-clickable":!!e.link,"tk-has-avatar":!!e.avatarInner},on:{click:e.onClick}},[e.avatarInner?e._e():t("div",{staticClass:"tk-avatar-img",domProps:{innerHTML:e._s(e.iconUser)}}),e._v(" "),e.avatarInner?t("img",{staticClass:"tk-avatar-img",attrs:{src:e.avatarInner,alt:""}}):e._e()])},t.Yp=[]},3776:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{ref:"tk-comment",staticClass:"tk-comment","class":{"tk-master":e.comment.master},attrs:{id:e.comment.id}},[t("tk-avatar",{attrs:{config:e.config,nick:e.comment.nick,avatar:e.comment.avatar,"mail-md5":e.comment.mailMd5,link:e.convertedLink}}),e._v(" "),t("div",{staticClass:"tk-main"},[t("div",{staticClass:"tk-row"},[t("div",{staticClass:"tk-meta"},[e.convertedLink?e._e():t("strong",{staticClass:"tk-nick"},[e._v(e._s(e.comment.nick))]),e._v(" "),e.convertedLink?t("a",{staticClass:"tk-nick tk-nick-link",attrs:{href:e.convertedLink,target:"_blank",rel:"noopener noreferrer nofollow ugc"}},[t("strong",[e._v(e._s(e.comment.nick))])]):e._e(),e._v(" "),e.comment.master?t("span",{staticClass:"tk-tag tk-tag-green"},[e._v(e._s(e.config.MASTER_TAG||e.t("COMMENT_MASTER_TAG")))]):e._e(),e._v(" "),e.comment.top?t("span",{staticClass:"tk-tag tk-tag-red"},[e._v(e._s(e.t("COMMENT_TOP_TAG")))]):e._e(),e._v(" "),e.comment.isSpam?t("span",{staticClass:"tk-tag tk-tag-yellow"},[e._v(e._s(e.t("COMMENT_REVIEWING_TAG")))]):e._e(),e._v(" "),t("small",{staticClass:"tk-time"},[t("time",{attrs:{datetime:e.jsonTimestamp,title:e.localeTime}},[e._v(e._s(e.displayCreated))])]),e._v(" "),e.isLogin?t("small",{staticClass:"tk-actions"},[e.comment.isSpam?t("button",{on:{click:function(t){return e.handleSpam(!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_SHOW")))]):e._e(),e._v(" "),e.comment.isSpam?e._e():t("button",{on:{click:function(t){return e.handleSpam(!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_HIDE")))]),e._v(" "),!e.comment.rid&&e.comment.top?t("button",{on:{click:function(t){return e.handleTop(!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_UNTOP")))]):e._e(),e._v(" "),e.comment.rid||e.comment.top?e._e():t("button",{on:{click:function(t){return e.handleTop(!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_TOP")))])]):e._e()]),e._v(" "),t("tk-action",{attrs:{liked:e.liked,disliked:e.disliked,"like-count":e.ups,"dislike-count":e.downs,"replies-count":e.comment.replies.length,"show-dislike":"false"!==e.config.SHOW_DISLIKE,"show-delete":e.comment.isOwner},on:{like:e.onLike,dislike:e.onDislike,reply:e.onReply,"delete":e.onDelete}})],1),e._v(" "),t("div",{ref:"tk-content",staticClass:"tk-content","class":{"tk-content-expand":e.isContentExpanded||!e.showContentExpand}},[e.comment.pid?t("span",[e._v(e._s(e.t("COMMENT_REPLIED"))+" "),t("a",{staticClass:"tk-ruser",attrs:{href:"#".concat(e.comment.pid)}},[e._v("@"+e._s(e.comment.ruser))]),e._v(" :")]):e._e(),e._v(" "),t("span",{ref:"comment",domProps:{innerHTML:e._s(e.comment.comment)},on:{click:e.popupLightbox}})]),e._v(" "),e.showContentExpand?t("div",{staticClass:"tk-expand-wrap"},[t("div",{staticClass:"tk-expand",on:{click:e.onContentExpand}},[e._v(e._s(e.t("COMMENT_EXPAND")))])]):e._e(),e._v(" "),e.showContentCollapse?t("div",{staticClass:"tk-collapse-wrap"},[t("div",{staticClass:"tk-expand _collapse",on:{click:e.onContentCollapse}},[e._v(e._s(e.t("COMMENT_COLLAPSE")))])]):e._e(),e._v(" "),e.comment.ipRegion||e.comment.os||e.comment.browser?t("div",{staticClass:"tk-extras"},[e.comment.ipRegion?t("div",{staticClass:"tk-extra"},[t("span",{staticClass:"tk-icon __comment",domProps:{innerHTML:e._s(e.iconLocation)}}),e._v(" "),t("span",{staticClass:"tk-extra-text"},[e._v(" "+e._s(e.comment.ipRegion))])]):e._e(),e._v(" "),e.comment.os?t("div",{staticClass:"tk-extra"},[t("span",{staticClass:"tk-icon __comment",domProps:{innerHTML:e._s(e.iconOs)}}),e._v(" "),t("span",{staticClass:"tk-extra-text"},[e._v(" "+e._s(e.comment.os))])]):e._e(),e._v(" "),e.comment.browser?t("div",{staticClass:"tk-extra"},[t("span",{staticClass:"tk-icon __comment",domProps:{innerHTML:e._s(e.iconBrowser)}}),e._v(" "),t("span",{staticClass:"tk-extra-text"},[e._v(" "+e._s(e.comment.browser))])]):e._e()]):e._e(),e._v(" "),e.replying&&!e.pid?t("tk-submit",{attrs:{"reply-id":e.replyId?e.replyId:e.comment.id,pid:e.comment.id,config:e.config},on:{load:e.onLoad,cancel:e.onCancel}}):e._e(),e._v(" "),t("div",{ref:"tk-replies",staticClass:"tk-replies","class":{"tk-replies-expand":e.isExpanded||!e.showExpand||e.replying}},e._l(e.comment.replies,function(n){return t("tk-comment",{key:n.id,attrs:{comment:n,replyId:e.comment.id,replying:e.replying&&e.pid===n.id,config:e.config},on:{expand:e.onExpand,load:e.onLoad,reply:e.onReplyReply}})}),1),e._v(" "),e.showExpand&&!e.replying?t("div",{staticClass:"tk-expand-wrap"},[t("div",{staticClass:"tk-expand",on:{click:e.onExpand}},[e._v(e._s(e.t("COMMENT_EXPAND")))])]):e._e(),e._v(" "),e.showCollapse&&!e.replying?t("div",{staticClass:"tk-collapse-wrap"},[t("div",{staticClass:"tk-expand _collapse",on:{click:e.onCollapse}},[e._v(e._s(e.t("COMMENT_COLLAPSE")))])]):e._e()],1)],1)},t.Yp=[]},1721:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-comments"},[t("tk-submit",{attrs:{config:e.config},on:{load:e.initComments}}),e._v(" "),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-comments-container"},[t("div",{staticClass:"tk-comments-title"},[t("span",{staticClass:"tk-comments-count","class":{__hidden:!e.comments.length}},[t("span",[e._v(e._s(e.count))]),e._v(" "),t("span",[e._v(e._s(e.t("COMMENTS_COUNT_SUFFIX")))])]),e._v(" "),t("span",{staticClass:"tk-comments-actions"},[!e.loading&&e.comments.length&&"false"!==e.config.SHOW_ORDER?t("span",{staticClass:"tk-comments-sort"},[t("button",{staticClass:"tk-sort-item","class":{__active:"newest"===e.currentSort},attrs:{type:"button"},on:{click:function(t){return e.setSort("newest")}}},[e._v(e._s(e.t("COMMENTS_SORT_NEWEST")))]),e._v(" "),t("button",{staticClass:"tk-sort-item","class":{__active:"oldest"===e.currentSort},attrs:{type:"button"},on:{click:function(t){return e.setSort("oldest")}}},[e._v(e._s(e.t("COMMENTS_SORT_OLDEST")))]),e._v(" "),t("button",{staticClass:"tk-sort-item","class":{__active:"popular"===e.currentSort},attrs:{type:"button"},on:{click:function(t){return e.setSort("popular")}}},[e._v(e._s(e.t("COMMENTS_SORT_POPULAR")))])]):e._e(),e._v(" "),e.loading||e.loadingMore?e._e():t("span",{staticClass:"tk-icon __comments",domProps:{innerHTML:e._s(e.iconRefresh)},on:{click:e.refresh}}),e.showAdminEntry?t("span",{staticClass:"tk-icon __comments",domProps:{innerHTML:e._s(e.iconSetting)},on:{click:e.openAdmin}}):e._e()])]),e._v(" "),e.loading||e.comments.length?e._e():t("div",{staticClass:"tk-comments-no"},[e.errorMessage?e._e():t("span",[e._v(e._s(e.t("COMMENTS_NO_COMMENTS")))]),e._v(" "),e.errorMessage?t("span",{staticClass:"tk-comments-error"},[e._v(e._s(e.errorMessage))]):e._e()]),e._v(" "),e._l(e.comments,function(n){return t("tk-comment",{key:n.id,attrs:{comment:n,replying:e.replyId===n.id,config:e.config},on:{reply:e.onReply,load:e.initComments}})}),e._v(" "),e.showExpand&&!e.loading?t("div",{staticClass:"tk-expand-wrap"},[t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loadingMore,expression:"loadingMore"}],staticClass:"tk-expand",on:{click:e.onExpand}},[e._v(e._s(e.t("COMMENTS_EXPAND")))])]):e._e()],2)],1)},t.Yp=[]},2080:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-footer"},[e._v("\n Powered by "),t("a",{attrs:{href:"https://twikoo.js.org",target:"_blank"}},[e._v("Twikoo")]),e._v("\n v"+e._s(e.version)+"\n")])},t.Yp=[]},489:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-meta-input"},e._l(e.displayedInputs,function(n){return t("el-input",{key:n.key,attrs:{name:n.name,type:n.type,placeholder:e.requiredFields[n.key]?e.t("META_INPUT_REQUIRED"):e.t("META_INPUT_NOT_REQUIRED"),size:"small"},on:{change:e.onMetaChange},model:{value:e.metaData[n.key],callback:function(t){e.$set(e.metaData,n.key,t)},expression:"metaData[metaInput.key]"}},[t("template",{slot:"prepend"},[e._v(e._s(n.locale))])],2)}),1)},t.Yp=[]},8675:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tk-pagination"},[e.pageCount?t("div",{staticClass:"tk-pagination-options"},[t("div",[t("span",[e._v(e._s(e.t("PAGINATION_COUNT_PREFIX")))]),e._v(" "),t("span",[e._v(e._s(e.total))]),e._v(" "),t("span",[e._v(e._s(e.t("PAGINATION_COUNT_SUFFIX")))])]),e._v(" "),t("el-input",{attrs:{type:"number",min:"1",max:"100",value:e.userPageSize?e.userPageSize:e.pageSize},on:{input:e.handleInputPageSize,change:e.pageSizeChamge}}),e._v(" "),t("span",[e._v(e._s(e.t("PAGINATION_PAGESIZE")))])],1):e._e(),e._v(" "),t("div",{staticClass:"tk-pagination-pagers"},e._l(e.pagers,function(n){return t("div",{key:n.page,staticClass:"tk-pagination-pager","class":{__current:n.page===e.currentPage},on:{click:function(t){return e.currentChange(n.page)}}},[e._v(e._s(n.title))])}),0),e._v(" "),e.pageCount?t("div",{staticClass:"tk-pagination-options"},[t("span",[e._v(e._s(e.t("PAGINATION_GOTO_PREFIX")))]),e._v(" "),t("el-input",{attrs:{type:"number",min:"1",max:e.pageCount,value:e.userInput?e.userInput:e.currentPage},on:{input:e.handleInput,change:e.currentChange}}),e._v(" "),t("span",[e._v(e._s(e.t("PAGINATION_GOTO_SUFFIX")))])],1):e._e()])},t.Yp=[]},3459:function(e,t){"use strict";t.Yp=t.XX=void 0,t.XX=function(){var e=this,t=e._self._c;return t("div",{ref:"tk-submit",staticClass:"tk-submit tk-fade-in"},[t("div",{staticClass:"tk-row"},[t("tk-avatar",{attrs:{config:e.config,mail:e.mail,nick:e.nick}}),e._v(" "),t("div",{staticClass:"tk-col"},[t("tk-meta-input",{attrs:{nick:e.nick,mail:e.mail,link:e.link,config:e.config},on:{update:e.onMetaUpdate}}),e._v(" "),t("el-input",{ref:"textarea",staticClass:"tk-input",attrs:{type:"textarea","show-word-limit":"",placeholder:e.commentPlaceholder,autosize:{minRows:3},maxlength:e.maxLength},on:{input:e.onCommentInput},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onEnterKeyUp(t)}},model:{value:e.comment,callback:function(t){e.comment=t},expression:"comment"}})],1)],1),e._v(" "),t("div",{staticClass:"tk-row actions"},[t("div",{staticClass:"tk-row-actions-start"},[t("div",{directives:[{name:"show",rawName:"v-show",value:"true"===e.config.SHOW_EMOTION,expression:"config.SHOW_EMOTION === 'true'"},{name:"clickoutside",rawName:"v-clickoutside",value:e.closeOwo,expression:"closeOwo"}],ref:"owo",staticClass:"tk-submit-action-icon OwO",domProps:{innerHTML:e._s(e.iconEmotion)}}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showImage,expression:"showImage"}],staticClass:"tk-submit-action-icon",domProps:{innerHTML:e._s(e.iconImage)},on:{click:e.openSelectImage}}),e._v(" "),t("input",{ref:"inputFile",staticClass:"tk-input-image",attrs:{type:"file",accept:"image/*",value:""},on:{change:e.onSelectImage}}),e._v(" "),t("div",{staticClass:"tk-error-message"},[e._v(e._s(e.errorMessage))])]),e._v(" "),t("a",{staticClass:"tk-submit-action-icon __markdown",attrs:{alt:"Markdown is supported",href:"https://guides.github.com/features/mastering-markdown/",target:"_blank",rel:"noopener noreferrer"},domProps:{innerHTML:e._s(e.iconMarkdown)}}),e._v(" "),e.replyId?t("el-button",{staticClass:"tk-cancel",attrs:{size:"small"},on:{click:e.cancel}},[e._v(e._s(e.t("SUBMIT_CANCEL")))]):e._e(),e._v(" "),t("el-button",{staticClass:"tk-preview",attrs:{size:"small"},on:{click:e.preview}},[e._v(e._s(e.t("SUBMIT_PREVIEW")))]),e._v(" "),t("el-button",{staticClass:"tk-send",attrs:{type:"primary",size:"small",disabled:!e.canSend},on:{click:e.send}},[e._v(e._s(e.isSending?e.t("SUBMIT_SENDING"):e.t("SUBMIT_SEND")))]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:"Turnstile"===e.captchaProvider,expression:"captchaProvider === 'Turnstile'"}],ref:"turnstile-container",staticClass:"tk-turnstile-container"},[t("div",{ref:"turnstile",staticClass:"tk-turnstile"})]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:"Geetest"===e.captchaProvider,expression:"captchaProvider === 'Geetest'"}],ref:"geetest-container",staticClass:"tk-geetest-container"}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:"Cap"===e.captchaProvider,expression:"captchaProvider === 'Cap'"}],ref:"cap-container",staticClass:"tk-cap-container"})],1),e._v(" "),e.isPreviewing?t("div",{ref:"comment-preview",staticClass:"tk-preview-container",domProps:{innerHTML:e._s(e.commentHtml)}}):e._e()])},t.Yp=[]},5547:function(e,t){"use strict";t.A=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s={id:e+":"+o,css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}},4478:function(e,t,n){"use strict";e.exports=n(6615)},6615:function(e,t,n){"use strict";var r=n(477),o=r(n(8850)),i=r(n(1332)),a=r(n(9367)),s=Object.freeze({}),u=Array.isArray;function c(e){return null==e}function l(e){return null!=e}function d(e){return!0===e}function f(e){return"string"==typeof e||"number"==typeof e||"symbol"==(0,a["default"])(e)||"boolean"==typeof e}function p(e){return"function"==typeof e}function h(e){return null!==e&&"object"==(0,a["default"])(e)}var v=Object.prototype.toString;function m(e){return"[object Object]"===v.call(e)}function g(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function _(e){return l(e)&&"function"==typeof e.then&&"function"==typeof e["catch"]}function y(e){return null==e?"":Array.isArray(e)||m(e)&&e.toString===v?JSON.stringify(e,b,2):String(e)}function b(e,t){return t&&t.__v_isRef?t.value:t}function w(e){var t=parseFloat(e);return isNaN(t)?e:t}function E(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var k=E("key,ref,slot,slot-scope,is");function A(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var C=Object.prototype.hasOwnProperty;function I(e,t){return C.call(e,t)}function S(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var O=/-(\w)/g,x=S(function(e){return e.replace(O,function(e,t){return t?t.toUpperCase():""})}),T=S(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),D=/\B([A-Z])/g,P=S(function(e){return e.replace(D,"-$1").toLowerCase()}),N=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function R(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function M(e,t){for(var n in t)e[n]=t[n];return e}function L(e){for(var t={},n=0;n<e.length;n++)e[n]&&M(t,e[n]);return t}function F(e,t,n){}var U=function(e,t,n){return!1},j=function(e){return e};function B(e,t){if(e===t)return!0;var n=h(e),r=h(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every(function(e,n){return B(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return B(e[n],t[n])})}catch(e){return!1}}function G(e,t){for(var n=0;n<e.length;n++)if(B(e[n],t))return n;return-1}function $(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function q(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}var H="data-server-rendered",z=["component","directive","filter"],W=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],V={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:U,isReservedAttr:U,isUnknownElement:U,getTagNamespace:F,parsePlatformTagName:j,mustUseProp:U,async:!0,_lifecycleHooks:W};function Y(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function K(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var X=new RegExp("[^".concat(/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source,".$_\\d]")),Q="__proto__"in{},J="undefined"!=typeof window,Z=J&&window.navigator.userAgent.toLowerCase(),ee=Z&&/msie|trident/.test(Z),te=Z&&Z.indexOf("msie 9.0")>0,ne=Z&&Z.indexOf("edge/")>0;Z&&Z.indexOf("android");var re=Z&&/iphone|ipad|ipod|ios/.test(Z);Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z);var oe,ie=Z&&Z.match(/firefox\/(\d+)/),ae={}.watch,se=!1;if(J)try{var ue={};Object.defineProperty(ue,"passive",{get:function(){se=!0}}),window.addEventListener("test-passive",null,ue)}catch(s){}var ce=function(){return void 0===oe&&(oe=!J&&"undefined"!=typeof n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),oe},le=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function de(e){return"function"==typeof e&&/native code/.test(e.toString())}var fe,pe="undefined"!=typeof Symbol&&de(Symbol)&&"undefined"!=typeof Reflect&&de(Reflect.ownKeys);fe="undefined"!=typeof Set&&de(Set)?Set:function(){function e(){(0,o["default"])(this,e),this.set=Object.create(null)}return(0,i["default"])(e,[{key:"has",value:function(e){return!0===this.set[e]}},{key:"add",value:function(e){this.set[e]=!0}},{key:"clear",value:function(){this.set=Object.create(null)}}]),e}();var he=null;function ve(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;e||he&&he._scope.off(),he=e,e&&e._scope.on()}var me=function(){function e(t,n,r,i,a,s,u,c){(0,o["default"])(this,e),this.tag=t,this.data=n,this.children=r,this.text=i,this.elm=a,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=u,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=c,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return(0,i["default"])(e,[{key:"child",get:function(){return this.componentInstance}}]),e}(),ge=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",t=new me;return t.text=e,t.isComment=!0,t};function _e(e){return new me(void 0,void 0,void 0,String(e))}function ye(e){var t=new me(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var be=0,we=[],Ee=function(){function e(){(0,o["default"])(this,e),this._pending=!1,this.id=be++,this.subs=[]}return(0,i["default"])(e,[{key:"addSub",value:function(e){this.subs.push(e)}},{key:"removeSub",value:function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,we.push(this))}},{key:"depend",value:function(t){e.target&&e.target.addDep(this)}},{key:"notify",value:function(e){for(var t=this.subs.filter(function(e){return e}),n=0,r=t.length;n<r;n++)t[n].update()}}]),e}();Ee.target=null;var ke=[];function Ae(e){ke.push(e),Ee.target=e}function Ce(){ke.pop(),Ee.target=ke[ke.length-1]}var Ie=Array.prototype,Se=Object.create(Ie);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Ie[e];K(Se,e,function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i,a=t.apply(this,r),s=this.__ob__;switch(e){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a})});var Oe=Object.getOwnPropertyNames(Se),xe={},Te=!0;function De(e){Te=e}var Pe={notify:F,depend:F,addSub:F,removeSub:F},Ne=function(){function e(t){var n=arguments.length>1&&arguments[1]!==undefined&&arguments[1],r=arguments.length>2&&arguments[2]!==undefined&&arguments[2];if((0,o["default"])(this,e),this.value=t,this.shallow=n,this.mock=r,this.dep=r?Pe:new Ee,this.vmCount=0,K(t,"__ob__",this),u(t)){if(!r)if(Q)t.__proto__=Se;else for(var i=0,a=Oe.length;i<a;i++){var s=Oe[i];K(t,s,Se[s])}n||this.observeArray(t)}else for(var c=Object.keys(t),l=0;l<c.length;l++)Me(t,c[l],xe,void 0,n,r)}return(0,i["default"])(e,[{key:"observeArray",value:function(e){for(var t=0,n=e.length;t<n;t++)Re(e[t],!1,this.mock)}}]),e}();function Re(e,t,n){return e&&I(e,"__ob__")&&e.__ob__ instanceof Ne?e.__ob__:!Te||!n&&ce()||!u(e)&&!m(e)||!Object.isExtensible(e)||e.__v_skip||ze(e)||e instanceof me?void 0:new Ne(e,t,n)}function Me(e,t,n,r,o,i){arguments.length>6&&undefined;var a=new Ee,s=Object.getOwnPropertyDescriptor(e,t);if(!s||!1!==s.configurable){var c=s&&s.get,l=s&&s.set;c&&!l||n!==xe&&2!==arguments.length||(n=e[t]);var d=o?n&&n.__ob__:Re(n,!1,i);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=c?c.call(e):n;return Ee.target&&(a.depend(),d&&(d.dep.depend(),u(t)&&Ue(t))),ze(t)&&!o?t.value:t},set:function(t){var r=c?c.call(e):n;if(q(r,t)){if(l)l.call(e,t);else{if(c)return;if(!o&&ze(r)&&!ze(t))return void(r.value=t);n=t}d=o?t&&t.__ob__:Re(t,!1,i),a.notify()}}}),a}}function Le(e,t,n){if(!qe(e)){var r=e.__ob__;return u(e)&&g(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Re(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(Me(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function Fe(e,t){if(u(e)&&g(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||qe(e)||I(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ue(e){for(var t,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),u(t)&&Ue(t)}function je(e){return Be(e,!0),K(e,"__v_isShallow",!0),e}function Be(e,t){qe(e)||Re(e,t,ce())}function Ge(e){return qe(e)?Ge(e.__v_raw):!(!e||!e.__ob__)}function $e(e){return!(!e||!e.__v_isShallow)}function qe(e){return!(!e||!e.__v_isReadonly)}var He="__v_isRef";function ze(e){return!(!e||!0!==e.__v_isRef)}function We(e,t){if(ze(e))return e;var n={};return K(n,He,!0),K(n,"__v_isShallow",t),K(n,"dep",Me(n,"value",e,null,t,ce())),n}function Ve(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];if(ze(e))return e.value;var r=e&&e.__ob__;return r&&r.dep.depend(),e},set:function(e){var r=t[n];ze(r)&&!ze(e)?r.value=e:t[n]=e}})}function Ye(e,t,n){var r=e[t];if(ze(r))return r;var o={get value(){var r=e[t];return void 0===r?n:r},set value(n){e[t]=n}};return K(o,He,!0),o}function Ke(e){return Xe(e,!1)}function Xe(e,t){if(!m(e))return e;if(qe(e))return e;var n=t?"__v_rawToShallowReadonly":"__v_rawToReadonly",r=e[n];if(r)return r;var o=Object.create(Object.getPrototypeOf(e));K(e,n,o),K(o,"__v_isReadonly",!0),K(o,"__v_raw",e),ze(e)&&K(o,He,!0),(t||$e(e))&&K(o,"__v_isShallow",!0);for(var i=Object.keys(e),a=0;a<i.length;a++)Qe(o,e,i[a],t);return o}function Qe(e,t,n,r){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];return r||!m(e)?e:Ke(e)},set:function(){}})}var Je="watcher",Ze="".concat(Je," callback"),et="".concat(Je," getter"),tt="".concat(Je," cleanup");function nt(e,t){return it(e,null,{flush:"post"})}var rt,ot={};function it(e,t){var n,r,o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:s,i=o.immediate,a=o.deep,c=o.flush,l=void 0===c?"pre":c,d=(o.onTrack,o.onTrigger,he),f=function(e,t){var n=Kt(e,null,arguments.length>2&&arguments[2]!==undefined?arguments[2]:null,d,t);return a&&n&&n.__ob__&&n.__ob__.dep.depend(),n},h=!1,v=!1;if(ze(e)?(n=function(){return e.value},h=$e(e)):Ge(e)?(n=function(){return e.__ob__.dep.depend(),e},a=!0):u(e)?(v=!0,h=e.some(function(e){return Ge(e)||$e(e)}),n=function(){return e.map(function(e){return ze(e)?e.value:Ge(e)?(e.__ob__.dep.depend(),Cn(e)):p(e)?f(e,et):void 0})}):n=p(e)?t?function(){return f(e,et)}:function(){if(!d||!d._isDestroyed)return r&&r(),f(e,Je,[g])}:F,t&&a){var m=n;n=function(){return Cn(m())}}var g=function(e){r=_.onStop=function(){f(e,tt)}};if(ce())return g=F,t?i&&f(t,Ze,[n(),v?[]:void 0,g]):n(),F;var _=new xn(he,n,F,{lazy:!0});_.noRecurse=!t;var y=v?[]:ot;return _.run=function(){if(_.active)if(t){var e=_.get();(a||h||(v?e.some(function(e,t){return q(e,y[t])}):q(e,y)))&&(r&&r(),f(t,Ze,[e,y===ot?void 0:y,g]),y=e)}else _.get()},"sync"===l?_.update=_.run:"post"===l?(_.post=!0,_.update=function(){return Qn(_)}):_.update=function(){if(d&&d===he&&!d._isMounted){var e=d._preWatchers||(d._preWatchers=[]);e.indexOf(_)<0&&e.push(_)}else Qn(_)},t?i?_.run():y=_.get():"post"===l&&d?d.$once("hook:mounted",function(){return _.get()}):_.get(),function(){_.teardown()}}var at=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined&&arguments[0];(0,o["default"])(this,e),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=rt,!t&&rt&&(this.index=(rt.scopes||(rt.scopes=[])).push(this)-1)}return(0,i["default"])(e,[{key:"run",value:function(e){if(this.active){var t=rt;try{return rt=this,e()}finally{rt=t}}}},{key:"on",value:function(){rt=this}},{key:"off",value:function(){rt=this.parent}},{key:"stop",value:function(e){if(this.active){var t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var 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}}}]),e}();function st(){return rt}function ut(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}var ct=S(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function lt(e,t){function n(){var e=n.fns;if(!u(e))return Kt(e,null,arguments,t,"v-on handler");for(var r=e.slice(),o=0;o<r.length;o++)Kt(r[o],null,arguments,t,"v-on handler")}return n.fns=e,n}function dt(e,t,n,r,o,i){var a,s,u,l;for(a in e)s=e[a],u=t[a],l=ct(a),c(s)||(c(u)?(c(s.fns)&&(s=e[a]=lt(s,i)),d(l.once)&&(s=e[a]=o(l.name,s,l.capture)),n(l.name,s,l.capture,l.passive,l.params)):s!==u&&(u.fns=s,e[a]=u));for(a in t)c(e[a])&&r((l=ct(a)).name,t[a],l.capture)}function ft(e,t,n){var r;e instanceof me&&(e=e.data.hook||(e.data.hook={}));var o=e[t];function i(){n.apply(this,arguments),A(r.fns,i)}c(o)?r=lt([i]):l(o.fns)&&d(o.merged)?(r=o).fns.push(i):r=lt([o,i]),r.merged=!0,e[t]=r}function pt(e,t,n,r,o){if(l(t)){if(I(t,n))return e[n]=t[n],o||delete t[n],!0;if(I(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function ht(e){return f(e)?[_e(e)]:u(e)?mt(e):void 0}function vt(e){return l(e)&&l(e.text)&&!1===e.isComment}function mt(e,t){var n,r,o,i,a=[];for(n=0;n<e.length;n++)c(r=e[n])||"boolean"==typeof r||(i=a[o=a.length-1],u(r)?r.length>0&&(vt((r=mt(r,"".concat(t||"","_").concat(n)))[0])&&vt(i)&&(a[o]=_e(i.text+r[0].text),r.shift()),a.push.apply(a,r)):f(r)?vt(i)?a[o]=_e(i.text+r):""!==r&&a.push(_e(r)):vt(r)&&vt(i)?a[o]=_e(i.text+r.text):(d(e._isVList)&&l(r.tag)&&c(r.key)&&l(t)&&(r.key="__vlist".concat(t,"_").concat(n,"__")),a.push(r)));return a}function gt(e,t){var n,r,o,i,a=null;if(u(e)||"string"==typeof e)for(a=new Array(e.length),n=0,r=e.length;n<r;n++)a[n]=t(e[n],n);else if("number"==typeof e)for(a=new Array(e),n=0;n<e;n++)a[n]=t(n+1,n);else if(h(e))if(pe&&e[Symbol.iterator]){a=[];for(var s=e[Symbol.iterator](),c=s.next();!c.done;)a.push(t(c.value,a.length)),c=s.next()}else for(o=Object.keys(e),a=new Array(o.length),n=0,r=o.length;n<r;n++)i=o[n],a[n]=t(e[i],i,n);return l(a)||(a=[]),a._isVList=!0,a}function _t(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(n=M(M({},r),n)),o=i(n)||(p(t)?t():t)):o=this.$slots[e]||(p(t)?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function yt(e){return vr(this.$options,"filters",e)||j}function bt(e,t){return u(e)?-1===e.indexOf(t):e!==t}function wt(e,t,n,r,o){var i=V.keyCodes[t]||n;return o&&r&&!V.keyCodes[t]?bt(o,r):i?bt(i,e):r?P(r)!==t:void 0===e}function Et(e,t,n,r,o){if(n&&h(n)){var i;u(n)&&(n=L(n));var a=function(a){if("class"===a||"style"===a||k(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||V.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var u=x(a),c=P(a);u in i||c in i||(i[a]=n[a],!o)||((e.on||(e.on={}))["update:".concat(a)]=function(e){n[a]=e})};for(var s in n)a(s)}return e}function kt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||Ct(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),"__static__".concat(e),!1),r}function At(e,t,n){return Ct(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function Ct(e,t,n){if(u(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&It(e[r],"".concat(t,"_").concat(r),n);else It(e,t,n)}function It(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function St(e,t){if(t&&m(t)){var n=e.on=e.on?M({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}return e}function Ot(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var i=e[o];u(i)?Ot(i,t,n):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function xt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Tt(e,t){return"string"==typeof e?t+e:e}function Dt(e){e._o=At,e._n=w,e._s=y,e._l=gt,e._t=_t,e._q=B,e._i=G,e._m=kt,e._f=yt,e._k=wt,e._b=Et,e._v=_e,e._e=ge,e._u=Ot,e._g=St,e._d=xt,e._p=Tt}function Pt(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n["default"]||(n["default"]=[])).push(i);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in n)n[c].every(Nt)&&delete n[c];return n}function Nt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Rt(e){return e.isComment&&e.asyncFactory}function Mt(e,t,n,r){var o,i=Object.keys(n).length>0,a=t?!!t.$stable:!i,u=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==s&&u===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=Lt(e,n,c,t[c]))}else o={};for(var l in n)l in o||(o[l]=Ft(n,l));return t&&Object.isExtensible(t)&&(t._normalized=o),K(o,"$stable",a),K(o,"$key",u),K(o,"$hasNormal",i),o}function Lt(e,t,n,r){var o=function(){var t=he;ve(e);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==(0,a["default"])(n)&&!u(n)?[n]:ht(n))&&n[0];return ve(t),n&&(!o||1===n.length&&o.isComment&&!Rt(o))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:o,enumerable:!0,configurable:!0}),o}function Ft(e,t){return function(){return e[t]}}function Ut(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};K(t,"_v_attr_proxy",!0),jt(t,e.$attrs,s,e,"$attrs")}return e._attrsProxy},get listeners(){return e._listenersProxy||jt(e._listenersProxy={},e.$listeners,s,e,"$listeners"),e._listenersProxy},get slots(){return function(e){return e._slotsProxy||Gt(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}(e)},emit:N(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return Ve(e,t,n)})}}}function jt(e,t,n,r,o){var i=!1;for(var a in t)a in e?t[a]!==n[a]&&(i=!0):(i=!0,Bt(e,a,r,o));for(var s in e)s in t||(i=!0,delete e[s]);return i}function Bt(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Gt(e,t){for(var n in t)e[n]=t[n];for(var r in e)r in t||delete e[r]}function $t(){var e=he;return e._setupContext||(e._setupContext=Ut(e))}var qt=null;function Ht(e,t){return(e.__esModule||pe&&"Module"===e[Symbol.toStringTag])&&(e=e["default"]),h(e)?t.extend(e):e}function zt(e){if(u(e))for(var t=0;t<e.length;t++){var n=e[t];if(l(n)&&(l(n.componentOptions)||Rt(n)))return n}}function Wt(e,t,n,r,o,i){return(u(n)||f(n))&&(o=r,r=n,n=void 0),d(i)&&(o=2),function(e,t,n,r,o){return l(n)&&l(n.__ob__)?ge():(l(n)&&l(n.is)&&(t=n.is),t?(u(r)&&p(r[0])&&((n=n||{}).scopedSlots={"default":r[0]},r.length=0),2===o?r=ht(r):1===o&&(r=function(e){for(var t=0;t<e.length;t++)if(u(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t?(a=e.$vnode&&e.$vnode.ns||V.getTagNamespace(t),i=V.isReservedTag(t)?new me(V.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!l(s=vr(e.$options,"components",t))?new me(t,n,r,void 0,void 0,e):ir(s,n,e,r,t)):i=ir(t,n,e,r),u(i)?i:l(i)?(l(a)&&Vt(i,a),l(n)&&function(e){h(e.style)&&Cn(e.style),h(e["class"])&&Cn(e["class"])}(n),i):ge()):ge());var i,a,s}(e,t,n,r,o)}function Vt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),l(e.children))for(var r=0,o=e.children.length;r<o;r++){var i=e.children[r];l(i.tag)&&(c(i.ns)||d(n)&&"svg"!==i.tag)&&Vt(i,t,n)}}function Yt(e,t,n){Ae();try{if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){Xt(e,r,"errorCaptured hook")}}Xt(e,t,n)}finally{Ce()}}function Kt(e,t,n,r,o){var i;try{(i=n?e.apply(t,n):e.call(t))&&!i._isVue&&_(i)&&!i._handled&&(i["catch"](function(e){return Yt(e,r,o+" (Promise/async)")}),i._handled=!0)}catch(e){Yt(e,r,o)}return i}function Xt(e,t,n){if(V.errorHandler)try{return V.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Qt(t)}Qt(e)}function Qt(e,t,n){if(!J||"undefined"==typeof console)throw e;console.error(e)}var Jt,Zt=!1,en=[],tn=!1;function nn(){tn=!1;var e=en.slice(0);en.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&de(Promise)){var rn=Promise.resolve();Jt=function(){rn.then(nn),re&&setTimeout(F)},Zt=!0}else if(ee||"undefined"==typeof MutationObserver||!de(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Jt="undefined"!=typeof setImmediate&&de(setImmediate)?function(){setImmediate(nn)}:function(){setTimeout(nn,0)};else{var on=1,an=new MutationObserver(nn),sn=document.createTextNode(String(on));an.observe(sn,{characterData:!0}),Jt=function(){on=(on+1)%2,sn.data=String(on)},Zt=!0}function un(e,t){var n;if(en.push(function(){if(e)try{e.call(t)}catch(e){Yt(e,t,"nextTick")}else n&&n(t)}),tn||(tn=!0,Jt()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}function cn(e){return function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:he;if(n)return function(e,t,n){var r=e.$options;r[t]=dr(r[t],n)}(n,e,t)}}var ln=cn("beforeMount"),dn=cn("mounted"),fn=cn("beforeUpdate"),pn=cn("updated"),hn=cn("beforeDestroy"),vn=cn("destroyed"),mn=cn("activated"),gn=cn("deactivated"),_n=cn("serverPrefetch"),yn=cn("renderTracked"),bn=cn("renderTriggered"),wn=cn("errorCaptured"),En="2.7.16",kn=Object.freeze({__proto__:null,version:En,defineComponent:function(e){return e},ref:function(e){return We(e,!1)},shallowRef:function(e){return We(e,!0)},isRef:ze,toRef:Ye,toRefs:function(e){var t=u(e)?new Array(e.length):{};for(var n in e)t[n]=Ye(e,n);return t},unref:function(e){return ze(e)?e.value:e},proxyRefs:function(e){if(Ge(e))return e;for(var t={},n=Object.keys(e),r=0;r<n.length;r++)Ve(t,e,n[r]);return t},customRef:function(e){var t=new Ee,n=e(function(){t.depend()},function(){t.notify()}),r=n.get,o=n.set,i={get value(){return r()},set value(e){o(e)}};return K(i,He,!0),i},triggerRef:function(e){e.dep&&e.dep.notify()},reactive:function(e){return Be(e,!1),e},isReactive:Ge,isReadonly:qe,isShallow:$e,isProxy:function(e){return Ge(e)||qe(e)},shallowReactive:je,markRaw:function(e){return Object.isExtensible(e)&&K(e,"__v_skip",!0),e},toRaw:function zi(e){var t=e&&e.__v_raw;return t?zi(t):e},readonly:Ke,shallowReadonly:function(e){return Xe(e,!0)},computed:function(e,t){var n,r,o=p(e);o?(n=e,r=F):(n=e.get,r=e.set);var i=ce()?null:new xn(he,n,F,{lazy:!0}),a={effect:i,get value(){return i?(i.dirty&&i.evaluate(),Ee.target&&i.depend(),i.value):n()},set value(e){r(e)}};return K(a,He,!0),K(a,"__v_isReadonly",o),a},watch:function(e,t,n){return it(e,t,n)},watchEffect:function(e,t){return it(e,null,t)},watchPostEffect:nt,watchSyncEffect:function(e,t){return it(e,null,{flush:"sync"})},EffectScope:at,effectScope:function(e){return new at(e)},onScopeDispose:function(e){rt&&rt.cleanups.push(e)},getCurrentScope:st,provide:function(e,t){he&&(ut(he)[e]=t)},inject:function(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=he;if(r){var o=r.$parent&&r.$parent._provided;if(o&&e in o)return o[e];if(arguments.length>1)return n&&p(t)?t.call(r):t}},h:function(e,t,n){return Wt(he,e,t,n,2,!0)},getCurrentInstance:function(){return he&&{proxy:he}},useSlots:function(){return $t().slots},useAttrs:function(){return $t().attrs},useListeners:function(){return $t().listeners},mergeDefaults:function(e,t){var n=u(e)?e.reduce(function(e,t){return e[t]={},e},{}):e;for(var r in t){var o=n[r];o?u(o)||p(o)?n[r]={type:o,"default":t[r]}:o["default"]=t[r]:null===o&&(n[r]={"default":t[r]})}return n},nextTick:un,set:Le,del:Fe,useCssModule:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"$style";return he&&he[e]||s},useCssVars:function(e){if(J){var t=he;t&&nt(function(){var n=t.$el,r=e(t,t._setupProxy);if(n&&1===n.nodeType){var o=n.style;for(var i in r)o.setProperty("--".concat(i),r[i])}})}},defineAsyncComponent:function(e){p(e)&&(e={loader:e});var t=e,n=t.loader,r=t.loadingComponent,o=t.errorComponent,i=t.delay,a=void 0===i?200:i,s=t.timeout,u=(t.suspensible,t.onError),c=null,l=0,d=function f(){var e;return c||(e=c=n()["catch"](function(e){if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(function(t,n){u(e,function(){return t((l++,c=null,f()))},function(){return n(e)},l+1)});throw e}).then(function(t){return e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t["default"]),t)}))};return function(){return{component:d(),delay:a,timeout:s,error:o,loading:r}}},onBeforeMount:ln,onMounted:dn,onBeforeUpdate:fn,onUpdated:pn,onBeforeUnmount:hn,onUnmounted:vn,onActivated:mn,onDeactivated:gn,onServerPrefetch:_n,onRenderTracked:yn,onRenderTriggered:bn,onErrorCaptured:function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:he;wn(e,t)}}),An=new fe;function Cn(e){return In(e,An),An.clear(),e}function In(e,t){var n,r,o=u(e);if(!(!o&&!h(e)||e.__v_skip||Object.isFrozen(e)||e instanceof me)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(o)for(n=e.length;n--;)In(e[n],t);else if(ze(e))In(e.value,t);else for(n=(r=Object.keys(e)).length;n--;)In(e[r[n]],t)}}var Sn,On=0,xn=function(){function e(t,n,r,i,a){(0,o["default"])(this,e),function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:rt;t&&t.active&&t.effects.push(e)}(this,rt&&!rt._vm?rt:t?t._scope:void 0),(this.vm=t)&&a&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++On,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fe,this.newDepIds=new fe,this.expression="",p(n)?this.getter=n:(this.getter=function(e){if(!X.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(n),this.getter||(this.getter=F)),this.value=this.lazy?void 0:this.get()}return(0,i["default"])(e,[{key:"get",value:function(){var e;Ae(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Yt(e,t,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Cn(e),Ce(),this.cleanupDeps()}return e}},{key:"addDep",value:function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))}},{key:"cleanupDeps",value:function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0}},{key:"update",value:function(){this.lazy?this.dirty=!0:this.sync?this.run():Qn(this)}},{key:"run",value:function(){if(this.active){var e=this.get();if(e!==this.value||h(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Kt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}}},{key:"evaluate",value:function(){this.value=this.get(),this.dirty=!1}},{key:"depend",value:function(){for(var e=this.deps.length;e--;)this.deps[e].depend()}},{key:"teardown",value:function(){if(this.vm&&!this.vm._isBeingDestroyed&&A(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}}}]),e}();function Tn(e,t){Sn.$on(e,t)}function Dn(e,t){Sn.$off(e,t)}function Pn(e,t){var n=Sn;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function Nn(e,t,n){Sn=e,dt(t,n||{},Tn,Dn,Pn,e),Sn=void 0}var Rn=null;function Mn(e){var t=Rn;return Rn=e,function(){Rn=t}}function Ln(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Fn(e,t){if(t){if(e._directInactive=!1,Ln(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Fn(e.$children[n]);jn(e,"activated")}}function Un(e,t){if(!(t&&(e._directInactive=!0,Ln(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Un(e.$children[n]);jn(e,"deactivated")}}function jn(e,t,n){var r=!(arguments.length>3&&arguments[3]!==undefined)||arguments[3];Ae();var o=he,i=st();r&&ve(e);var a=e.$options[t],s="".concat(t," hook");if(a)for(var u=0,c=a.length;u<c;u++)Kt(a[u],e,n||null,e,s);e._hasHookEvent&&e.$emit("hook:"+t),r&&(ve(o),i&&i.on()),Ce()}var Bn=[],Gn=[],$n={},qn=!1,Hn=!1,zn=0,Wn=0,Vn=Date.now;if(J&&!ee){var Yn=window.performance;Yn&&"function"==typeof Yn.now&&Vn()>document.createEvent("Event").timeStamp&&(Vn=function(){return Yn.now()})}var Kn=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Xn(){var e,t;for(Wn=Vn(),Hn=!0,Bn.sort(Kn),zn=0;zn<Bn.length;zn++)(e=Bn[zn]).before&&e.before(),t=e.id,$n[t]=null,e.run();var n=Gn.slice(),r=Bn.slice();zn=Bn.length=Gn.length=0,$n={},qn=Hn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Fn(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&jn(r,"updated")}}(r),function(){for(var e=0;e<we.length;e++){var t=we[e];t.subs=t.subs.filter(function(e){return e}),t._pending=!1}we.length=0}(),le&&V.devtools&&le.emit("flush")}function Qn(e){var t=e.id;if(null==$n[t]&&(e!==Ee.target||!e.noRecurse)){if($n[t]=!0,Hn){for(var n=Bn.length-1;n>zn&&Bn[n].id>e.id;)n--;Bn.splice(n+1,0,e)}else Bn.push(e);qn||(qn=!0,un(Xn))}}function Jn(e,t){if(e){for(var n=Object.create(null),r=pe?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var a=e[i].from;if(a in t._provided)n[i]=t._provided[a];else if("default"in e[i]){var s=e[i]["default"];n[i]=p(s)?s.call(t):s}}}return n}}function Zn(e,t,n,r,o){var i,a=this,c=o.options;I(r,"_uid")?(i=Object.create(r))._original=r:(i=r,r=r._original);var l=d(c._compiled),f=!l;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||s,this.injections=Jn(c.inject,r),this.slots=function(){return a.$slots||Mt(r,e.scopedSlots,a.$slots=Pt(n,r)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Mt(r,e.scopedSlots,this.slots())}}),l&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Mt(r,e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,o){var a=Wt(i,e,t,n,o,f);return a&&!u(a)&&(a.fnScopeId=c._scopeId,a.fnContext=r),a}:this._c=function(e,t,n,r){return Wt(i,e,t,n,r,f)}}function er(e,t,n,r,o){var i=ye(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function tr(e,t){for(var n in t)e[x(n)]=t[n]}function nr(e){return e.name||e.__name||e._componentTag}Dt(Zn.prototype);var rr={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;rr.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return l(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,Rn)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,o){var i=r.data.scopedSlots,a=e.$scopedSlots,u=!!(i&&!i.$stable||a!==s&&!a.$stable||i&&e.$scopedSlots.$key!==i.$key||!i&&e.$scopedSlots.$key),c=!!(o||e.$options._renderChildren||u),l=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o;var d=r.data.attrs||s;e._attrsProxy&&jt(e._attrsProxy,d,l.data&&l.data.attrs||s,e,"$attrs")&&(c=!0),e.$attrs=d,n=n||s;var f=e.$options._parentListeners;if(e._listenersProxy&&jt(e._listenersProxy,n,f||s,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,Nn(e,n,f),t&&e.$options.props){De(!1);for(var p=e._props,h=e.$options._propKeys||[],v=0;v<h.length;v++){var m=h[v],g=e.$options.props;p[m]=mr(m,g,t,e)}De(!0),e.$options.propsData=t}c&&(e.$slots=Pt(o,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,jn(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,Gn.push(t)):Fn(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Un(t,!0):t.$destroy())}},or=Object.keys(rr);function ir(e,t,n,r,o){if(!c(e)){var i=n.$options._base;if(h(e)&&(e=i.extend(e)),"function"==typeof e){var a;if(c(e.cid)&&(e=function(e,t){if(d(e.error)&&l(e.errorComp))return e.errorComp;if(l(e.resolved))return e.resolved;var n=qt;if(n&&l(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),d(e.loading)&&l(e.loadingComp))return e.loadingComp;if(n&&!l(e.owners)){var r=e.owners=[n],o=!0,i=null,a=null;n.$on("hook:destroyed",function(){return A(r,n)});var s=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==i&&(clearTimeout(i),i=null),null!==a&&(clearTimeout(a),a=null))},u=$(function(n){e.resolved=Ht(n,t),o?r.length=0:s(!0)}),f=$(function(t){l(e.errorComp)&&(e.error=!0,s(!0))}),p=e(u,f);return h(p)&&(_(p)?c(e.resolved)&&p.then(u,f):_(p.component)&&(p.component.then(u,f),l(p.error)&&(e.errorComp=Ht(p.error,t)),l(p.loading)&&(e.loadingComp=Ht(p.loading,t),0===p.delay?e.loading=!0:i=setTimeout(function(){i=null,c(e.resolved)&&c(e.error)&&(e.loading=!0,s(!1))},p.delay||200)),l(p.timeout)&&(a=setTimeout(function(){a=null,c(e.resolved)&&f(null)},p.timeout)))),o=!1,e.loading?e.loadingComp:e.resolved}}(a=e,i),void 0===e))return function(e,t,n,r,o){var i=ge();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(a,t,n,r,o);t=t||{},Tr(e),l(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),i=o[r],a=t.model.callback;l(i)?(u(i)?-1===i.indexOf(a):i!==a)&&(o[r]=[a].concat(i)):o[r]=a}(e.options,t);var f=function(e,t){var n=t.options.props;if(!c(n)){var r={},o=e.attrs,i=e.props;if(l(o)||l(i))for(var a in n){var s=P(a);pt(r,i,a,s,!0)||pt(r,o,a,s,!1)}return r}}(t,e);if(d(e.options.functional))return function(e,t,n,r,o){var i=e.options,a={},c=i.props;if(l(c))for(var d in c)a[d]=mr(d,c,t||s);else l(n.attrs)&&tr(a,n.attrs),l(n.props)&&tr(a,n.props);var f=new Zn(n,a,o,r,e),p=i.render.call(null,f._c,f);if(p instanceof me)return er(p,n,f.parent,i);if(u(p)){for(var h=ht(p)||[],v=new Array(h.length),m=0;m<h.length;m++)v[m]=er(h[m],n,f.parent,i);return v}}(e,f,t,n,r);var p=t.on;if(t.on=t.nativeOn,d(e.options.abstract)){var v=t.slot;t={},v&&(t.slot=v)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<or.length;n++){var r=or[n],o=t[r],i=rr[r];o===i||o&&o._merged||(t[r]=o?ar(i,o):i)}}(t);var m=nr(e.options)||o;return new me("vue-component-".concat(e.cid).concat(m?"-".concat(m):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:p,tag:o,children:r},a)}}}function ar(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var sr=F,ur=V.optionMergeStrategies;function cr(e,t){var n,r,o,i=!(arguments.length>2&&arguments[2]!==undefined)||arguments[2];if(!t)return e;for(var a=pe?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)"__ob__"!==(n=a[s])&&(r=e[n],o=t[n],i&&I(e,n)?r!==o&&m(r)&&m(o)&&cr(r,o):Le(e,n,o));return e}function lr(e,t,n){return n?function(){var r=p(t)?t.call(n,n):t,o=p(e)?e.call(n,n):e;return r?cr(r,o):o}:t?e?function(){return cr(p(t)?t.call(this,this):t,p(e)?e.call(this,this):e)}:t:e}function dr(e,t){var n=t?e?e.concat(t):u(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function fr(e,t,n,r){var o=Object.create(e||null);return t?M(o,t):o}ur.data=function(e,t,n){return n?lr(e,t,n):t&&"function"!=typeof t?e:lr(e,t)},W.forEach(function(e){ur[e]=dr}),z.forEach(function(e){ur[e+"s"]=fr}),ur.watch=function(e,t,n,r){if(e===ae&&(e=void 0),t===ae&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var i in M(o,e),t){var a=o[i],s=t[i];a&&!u(a)&&(a=[a]),o[i]=a?a.concat(s):u(s)?s:[s]}return o},ur.props=ur.methods=ur.inject=ur.computed=function(e,t,n,r){if(!e)return t;var o=Object.create(null);return M(o,e),t&&M(o,t),o},ur.provide=function(e,t){return e?function(){var n=Object.create(null);return cr(n,p(e)?e.call(this):e),t&&cr(n,p(t)?t.call(this):t,!1),n}:t};var pr=function(e,t){return void 0===t?e:t};function hr(e,t,n){if(p(t)&&(t=t.options),function(e){var t=e.props;if(t){var n,r,o={};if(u(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(o[x(r)]={type:null});else if(m(t))for(var i in t)r=t[i],o[x(i)]=m(r)?r:{type:r};e.props=o}}(t),function(e){var t=e.inject;if(t){var n=e.inject={};if(u(t))for(var r=0;r<t.length;r++)n[t[r]]={from:t[r]};else if(m(t))for(var o in t){var i=t[o];n[o]=m(i)?M({from:o},i):{from:i}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];p(r)&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t["extends"]&&(e=hr(e,t["extends"],n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=hr(e,t.mixins[r],n);var i,a={};for(i in e)s(i);for(i in t)I(e,i)||s(i);function s(r){var o=ur[r]||pr;a[r]=o(e[r],t[r],n,r)}return a}function vr(e,t,n,r){if("string"==typeof n){var o=e[t];if(I(o,n))return o[n];var i=x(n);if(I(o,i))return o[i];var a=T(i);return I(o,a)?o[a]:o[n]||o[i]||o[a]}}function mr(e,t,n,r){var o=t[e],i=!I(n,e),a=n[e],s=br(Boolean,o.type);if(s>-1)if(i&&!I(o,"default"))a=!1;else if(""===a||a===P(e)){var u=br(String,o.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(I(t,"default")){var r=t["default"];return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:p(r)&&"Function"!==_r(t.type)?r.call(e):r}}(r,o,e);var c=Te;De(!0),Re(a),De(c)}return a}var gr=/^\s*function (\w+)/;function _r(e){var t=e&&e.toString().match(gr);return t?t[1]:""}function yr(e,t){return _r(e)===_r(t)}function br(e,t){if(!u(t))return yr(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(yr(t[n],e))return n;return-1}var wr={enumerable:!0,configurable:!0,get:F,set:F};function Er(e,t,n){wr.get=function(){return this[t][n]},wr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,wr)}function kr(e){var t=e.$options;if(t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props=je({}),o=e.$options._propKeys=[],i=!e.$parent;for(var a in i||De(!1),t)o.push(a),Me(r,a,mr(a,t,n,e),void 0,!0),a in e||Er(e,"_props",a);De(!0)}(e,t.props),function(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=Ut(e);ve(e),Ae();var o=Kt(n,null,[e._props||je({}),r],e,"setup");if(Ce(),ve(),p(o))t.render=o;else if(h(o))if(e._setupState=o,o.__sfc){var i=e._setupProxy={};for(var a in o)"__sfc"!==a&&Ve(i,o,a)}else for(var s in o)Y(s)||Ve(e,o,s)}}(e),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?F:N(t[n],e)}(e,t.methods),t.data)!function(e){var t=e.$options.data;m(t=e._data=p(t)?function(e,t){Ae();try{return e.call(t,t)}catch(e){return Yt(e,t,"data()"),{}}finally{Ce()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props;e.$options.methods;for(var o=n.length;o--;){var i=n[o];r&&I(r,i)||Y(i)||Er(e,"_data",i)}var a=Re(t);a&&a.vmCount++}(e);else{var n=Re(e._data={});n&&n.vmCount++}t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ce();for(var o in t){var i=t[o],a=p(i)?i:i.get;r||(n[o]=new xn(e,a||F,F,Ar)),o in e||Cr(e,o,i)}}(e,t.computed),t.watch&&t.watch!==ae&&function(e,t){for(var n in t){var r=t[n];if(u(r))for(var o=0;o<r.length;o++)Or(e,n,r[o]);else Or(e,n,r)}}(e,t.watch)}var Ar={lazy:!0};function Cr(e,t,n){var r=!ce();p(n)?(wr.get=r?Ir(t):Sr(n),wr.set=F):(wr.get=n.get?r&&!1!==n.cache?Ir(t):Sr(n.get):F,wr.set=n.set||F),Object.defineProperty(e,t,wr)}function Ir(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Ee.target&&t.depend(),t.value}}function Sr(e){return function(){return e.call(this,this)}}function Or(e,t,n,r){return m(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var xr=0;function Tr(e){var t=e.options;if(e["super"]){var n=Tr(e["super"]);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&M(e.extendOptions,r),(t=e.options=hr(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Dr(e){this._init(e)}function Pr(e){return e&&(nr(e.Ctor.options)||e.tag)}function Nr(e,t){return u(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===v.call(n)&&e.test(t));var n}function Rr(e,t){var n=e.cache,r=e.keys,o=e._vnode,i=e.$vnode;for(var a in n){var s=n[a];if(s){var u=s.name;u&&!t(u)&&Mr(n,a,r,o)}}i.componentOptions.children=void 0}function Mr(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,A(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=xr++,t._isVue=!0,t.__v_skip=!0,t._scope=new at(!0),t._scope.parent=void 0,t._scope._vm=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=hr(Tr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Nn(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=Pt(t._renderChildren,r),e.$scopedSlots=n?Mt(e.$parent,n.data.scopedSlots,e.$slots):s,e._c=function(t,n,r,o){return Wt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Wt(e,t,n,r,o,!0)};var o=n&&n.data;Me(e,"$attrs",o&&o.attrs||s,null,!0),Me(e,"$listeners",t._parentListeners||s,null,!0)}(t),jn(t,"beforeCreate",void 0,!1),function(e){var t=Jn(e.$options.inject,e);t&&(De(!1),Object.keys(t).forEach(function(n){Me(e,n,t[n])}),De(!0))}(t),kr(t),function(e){var t=e.$options.provide;if(t){var n=p(t)?t.call(e):t;if(!h(n))return;for(var r=ut(e),o=pe?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var a=o[i];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}(t),jn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Dr),function(e){Object.defineProperty(e.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(e.prototype,"$props",{get:function(){return this._props}}),e.prototype.$set=Le,e.prototype.$delete=Fe,e.prototype.$watch=function(e,t,n){var r=this;if(m(t))return Or(r,e,t,n);(n=n||{}).user=!0;var o=new xn(r,e,t,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');Ae(),Kt(t,r,[o.value],r,i),Ce()}return function(){o.teardown()}}}(Dr),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(u(e))for(var o=0,i=e.length;o<i;o++)r.$on(e[o],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(u(e)){for(var r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}var i=n._events[e];if(!i)return n;if(!t)return n._events[e]=null,n;for(var a,s=i.length;s--;)if((a=i[s])===t||a.fn===t){i.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?R(n):n;for(var r=R(arguments,1),o='event handler for "'.concat(e,'"'),i=0,a=n.length;i<a;i++)Kt(n[i],t,r,t,o)}return t}}(Dr),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=Mn(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){jn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||A(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),jn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Dr),function(e){Dt(e.prototype),e.prototype.$nextTick=function(e){return un(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t._parentVnode;r&&e._isMounted&&(e.$scopedSlots=Mt(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Gt(e._slotsProxy,e.$scopedSlots)),e.$vnode=r;var o,i=he,a=qt;try{ve(e),qt=e,o=n.call(e._renderProxy,e.$createElement)}catch(u){Yt(u,e,"render"),o=e._vnode}finally{qt=a,ve(i)}return u(o)&&1===o.length&&(o=o[0]),o instanceof me||(o=ge()),o.parent=r,o}}(Dr);var Lr=[String,RegExp,Array],Fr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Lr,exclude:Lr,max:[String,Number]},methods:{cacheVNode:function(){var e=this.cache,t=this.keys,n=this.vnodeToCache,r=this.keyToCache;if(n){var o=n.tag,i=n.componentInstance,a=n.componentOptions;e[r]={name:Pr(a),tag:o,componentInstance:i},t.push(r),this.max&&t.length>parseInt(this.max)&&Mr(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Mr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Rr(e,function(e){return Nr(t,e)})}),this.$watch("exclude",function(t){Rr(e,function(e){return!Nr(t,e)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots["default"],t=zt(e),n=t&&t.componentOptions;if(n){var r=Pr(n),o=this.include,i=this.exclude;if(o&&(!r||!Nr(o,r))||i&&r&&Nr(i,r))return t;var a=this.cache,s=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;a[u]?(t.componentInstance=a[u].componentInstance,A(s,u),s.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return V}};Object.defineProperty(e,"config",t),e.util={warn:sr,extend:M,mergeOptions:hr,defineReactive:Me},e.set=Le,e["delete"]=Fe,e.nextTick=un,e.observable=function(e){return Re(e),e},e.options=Object.create(null),z.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,M(e.options.components,Fr),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=R(arguments,1);return n.unshift(this),p(e.install)?e.install.apply(e,n):p(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=hr(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=nr(e)||nr(n.options),a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=hr(n.options,e),a["super"]=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)Er(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Cr(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=M({},a.options),o[r]=a,a}}(e),function(e){z.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&m(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&p(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Dr),Object.defineProperty(Dr.prototype,"$isServer",{get:ce}),Object.defineProperty(Dr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Dr,"FunctionalRenderContext",{value:Zn}),Dr.version=En;var Ur=E("style,class"),jr=E("input,textarea,option,select,progress"),Br=E("contenteditable,draggable,spellcheck"),Gr=E("events,caret,typing,plaintext-only"),$r=E("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),qr="http://www.w3.org/1999/xlink",Hr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zr=function(e){return Hr(e)?e.slice(6,e.length):""},Wr=function(e){return null==e||!1===e};function Vr(e,t){return{staticClass:Yr(e.staticClass,t.staticClass),"class":l(e["class"])?[e["class"],t["class"]]:t["class"]}}function Yr(e,t){return e?t?e+" "+t:e:t||""}function Kr(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r<o;r++)l(t=Kr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):h(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Xr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Qr=E("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Jr=E("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Zr=function(e){return Qr(e)||Jr(e)},eo=Object.create(null),to=E("text,number,password,search,email,tel,url"),no=Object.freeze({__proto__:null,createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Xr[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ro={create:function(e,t){oo(t)},update:function(e,t){e.data.ref!==t.data.ref&&(oo(e,!0),oo(t))},destroy:function(e){oo(e,!0)}};function oo(e,t){var n=e.data.ref;if(l(n)){var r=e.context,o=e.componentInstance||e.elm,i=t?null:o,a=t?void 0:o;if(p(n))Kt(n,r,[i],r,"template ref function");else{var s=e.data.refInFor,c="string"==typeof n||"number"==typeof n,d=ze(n),f=r.$refs;if(c||d)if(s){var h=c?f[n]:n.value;t?u(h)&&A(h,o):u(h)?h.includes(o)||h.push(o):c?(f[n]=[o],io(r,n,f[n])):n.value=[o]}else if(c){if(t&&f[n]!==o)return;f[n]=a,io(r,n,i)}else if(d){if(t&&n.value!==o)return;n.value=i}}}}function io(e,t,n){var r=e._setupState;r&&I(r,t)&&(ze(r[t])?r[t].value=n:r[t]=n)}var ao=new me("",{},[]),so=["create","activate","update","remove","destroy"];function uo(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&l(e.data)===l(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=l(n=e.data)&&l(n=n.attrs)&&n.type,o=l(n=t.data)&&l(n=n.attrs)&&n.type;return r===o||to(r)&&to(o)}(e,t)||d(e.isAsyncPlaceholder)&&c(t.asyncFactory.error))}function co(e,t,n){var r,o,i={};for(r=t;r<=n;++r)l(o=e[r].key)&&(i[o]=r);return i}var lo={create:fo,update:fo,destroy:function(e){fo(e,ao)}};function fo(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,o,i=e===ao,a=t===ao,s=ho(e.data.directives,e.context),u=ho(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,o.oldArg=r.arg,mo(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(mo(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var d=function(){for(var n=0;n<c.length;n++)mo(c[n],"inserted",t,e)};i?ft(t,"insert",d):d()}if(l.length&&ft(t,"postpatch",function(){for(var n=0;n<l.length;n++)mo(l[n],"componentUpdated",t,e)}),!i)for(n in s)u[n]||mo(s[n],"unbind",e,e,a)}(e,t)}var po=Object.create(null);function ho(e,t){var n,r,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++){if((r=e[n]).modifiers||(r.modifiers=po),o[vo(r)]=r,t._setupState&&t._setupState.__sfc){var i=r.def||vr(t,"_setupState","v-"+r.name);r.def="function"==typeof i?{bind:i,update:i}:i}r.def=r.def||vr(t.$options,"directives",r.name)}return o}function vo(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function mo(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){Yt(r,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var go=[ro,lo];function _o(e,t){var n=t.componentOptions;if(!(l(n)&&!1===n.Ctor.options.inheritAttrs||c(e.data.attrs)&&c(t.data.attrs))){var r,o,i=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(r in(l(s.__ob__)||d(s._v_attr_proxy))&&(s=t.data.attrs=M({},s)),s)o=s[r],a[r]!==o&&yo(i,r,o,t.data.pre);for(r in(ee||ne)&&s.value!==a.value&&yo(i,"value",s.value),a)c(s[r])&&(Hr(r)?i.removeAttributeNS(qr,zr(r)):Br(r)||i.removeAttribute(r))}}function yo(e,t,n,r){r||e.tagName.indexOf("-")>-1?bo(e,t,n):$r(t)?Wr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Br(t)?e.setAttribute(t,function(e,t){return Wr(t)||"false"===t?"false":"contenteditable"===e&&Gr(t)?t:"true"}(t,n)):Hr(t)?Wr(n)?e.removeAttributeNS(qr,zr(t)):e.setAttributeNS(qr,t,n):bo(e,t,n)}function bo(e,t,n){Wr(n)?e.removeAttribute(t):(!ee||te||"TEXTAREA"!==e.tagName||"placeholder"!==t||""===n||e.__ieph||(e.addEventListener("input",function r(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)}),e.__ieph=!0),e.setAttribute(t,n))}var wo={create:_o,update:_o};function Eo(e,t){var n=t.elm,r=t.data,o=e.data;if(!(c(r.staticClass)&&c(r["class"])&&(c(o)||c(o.staticClass)&&c(o["class"])))){var i=function(e){for(var t=e.data,n=e,r=e;l(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Vr(r.data,t));for(;l(n=n.parent);)n&&n.data&&(t=Vr(t,n.data));return function(e,t){return l(e)||l(t)?Yr(e,Kr(t)):""}(t.staticClass,t["class"])}(t),a=n._transitionClasses;l(a)&&(i=Yr(i,Kr(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var ko,Ao={create:Eo,update:Eo},Co="__r",Io="__c";function So(e,t,n){var r=ko;return function o(){null!==t.apply(null,arguments)&&To(e,o,n,r)}}var Oo=Zt&&!(ie&&Number(ie[1])<=53);function xo(e,t,n,r){if(Oo){var o=Wn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}ko.addEventListener(e,t,se?{capture:n,passive:r}:n)}function To(e,t,n,r){(r||ko).removeEventListener(e,t._wrapper||t,n)}function Do(e,t){if(!c(e.data.on)||!c(t.data.on)){var n=t.data.on||{},r=e.data.on||{};ko=t.elm||e.elm,function(e){if(l(e[Co])){var t=ee?"change":"input";e[t]=[].concat(e[Co],e[t]||[]),delete e[Co]}l(e[Io])&&(e.change=[].concat(e[Io],e.change||[]),delete e[Io])}(n),dt(n,r,xo,To,So,t.context),ko=void 0}}var Po,No={create:Do,update:Do,destroy:function(e){return Do(e,ao)}};function Ro(e,t){if(!c(e.data.domProps)||!c(t.data.domProps)){var n,r,o=t.elm,i=e.data.domProps||{},a=t.data.domProps||{};for(n in(l(a.__ob__)||d(a._v_attr_proxy))&&(a=t.data.domProps=M({},a)),i)n in a||(o[n]="");for(n in a){if(r=a[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var s=c(r)?"":String(r);Mo(o,s)&&(o.value=s)}else if("innerHTML"===n&&Jr(o.tagName)&&c(o.innerHTML)){(Po=Po||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var u=Po.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;u.firstChild;)o.appendChild(u.firstChild)}else if(r!==i[n])try{o[n]=r}catch(e){}}}}function Mo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(l(r)){if(r.number)return w(n)!==w(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Lo={create:Ro,update:Ro},Fo=S(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function Uo(e){var t=jo(e.style);return e.staticStyle?M(e.staticStyle,t):t}function jo(e){return Array.isArray(e)?L(e):"string"==typeof e?Fo(e):e}var Bo,Go=/^--/,$o=/\s*!important$/,qo=function(e,t,n){if(Go.test(t))e.style.setProperty(t,n);else if($o.test(n))e.style.setProperty(P(t),n.replace($o,""),"important");else{var r=zo(t);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)e.style[r]=n[o];else e.style[r]=n}},Ho=["Webkit","Moz","ms"],zo=S(function(e){if(Bo=Bo||document.createElement("div").style,"filter"!==(e=x(e))&&e in Bo)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Ho.length;n++){var r=Ho[n]+t;if(r in Bo)return r}});function Wo(e,t){var n=t.data,r=e.data;if(!(c(n.staticStyle)&&c(n.style)&&c(r.staticStyle)&&c(r.style))){var o,i,a=t.elm,s=r.staticStyle,u=r.normalizedStyle||r.style||{},d=s||u,f=jo(t.data.style)||{};t.data.normalizedStyle=l(f.__ob__)?M({},f):f;var p=function(e){for(var t,n={},r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(t=Uo(r.data))&&M(n,t);(t=Uo(e.data))&&M(n,t);for(var o=e;o=o.parent;)o.data&&(t=Uo(o.data))&&M(n,t);return n}(t);for(i in d)c(p[i])&&qo(a,i,"");for(i in p)o=p[i],qo(a,i,null==o?"":o)}}var Vo={create:Wo,update:Wo},Yo=/\s+/;function Ko(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Yo).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Xo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Yo).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Qo(e){if(e){if("object"==(0,a["default"])(e)){var t={};return!1!==e.css&&M(t,Jo(e.name||"v")),M(t,e),t}return"string"==typeof e?Jo(e):void 0}}var Jo=S(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Zo=J&&!te,ei="transition",ti="animation",ni="transition",ri="transitionend",oi="animation",ii="animationend";Zo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ni="WebkitTransition",ri="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(oi="WebkitAnimation",ii="webkitAnimationEnd"));var ai=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function si(e){ai(function(){ai(e)})}function ui(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Ko(e,t))}function ci(e,t){e._transitionClasses&&A(e._transitionClasses,t),Xo(e,t)}function li(e,t,n){var r=fi(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ei?ri:ii,u=0,c=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++u>=a&&c()};setTimeout(function(){u<a&&c()},i+1),e.addEventListener(s,l)}var di=/\b(transform|all)(,|$)/;function fi(e,t){var n,r=window.getComputedStyle(e),o=(r[ni+"Delay"]||"").split(", "),i=(r[ni+"Duration"]||"").split(", "),a=pi(o,i),s=(r[oi+"Delay"]||"").split(", "),u=(r[oi+"Duration"]||"").split(", "),c=pi(s,u),l=0,d=0;return t===ei?a>0&&(n=ei,l=a,d=i.length):t===ti?c>0&&(n=ti,l=c,d=u.length):d=(n=(l=Math.max(a,c))>0?a>c?ei:ti:null)?n===ei?i.length:u.length:0,{type:n,timeout:l,propCount:d,hasTransform:n===ei&&di.test(r[ni+"Property"])}}function pi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return hi(t)+hi(e[n])}))}function hi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function vi(e,t){var n=e.elm;l(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Qo(e.data.transition);if(!c(r)&&!l(n._enterCb)&&1===n.nodeType){for(var o=r.css,i=r.type,a=r.enterClass,s=r.enterToClass,u=r.enterActiveClass,d=r.appearClass,f=r.appearToClass,v=r.appearActiveClass,m=r.beforeEnter,g=r.enter,_=r.afterEnter,y=r.enterCancelled,b=r.beforeAppear,E=r.appear,k=r.afterAppear,A=r.appearCancelled,C=r.duration,I=Rn,S=Rn.$vnode;S&&S.parent;)I=S.context,S=S.parent;var O=!I._isMounted||!e.isRootInsert;if(!O||E||""===E){var x=O&&d?d:a,T=O&&v?v:u,D=O&&f?f:s,P=O&&b||m,N=O&&p(E)?E:g,R=O&&k||_,M=O&&A||y,L=w(h(C)?C.enter:C),F=!1!==o&&!te,U=_i(N),j=n._enterCb=$(function(){F&&(ci(n,D),ci(n,T)),j.cancelled?(F&&ci(n,x),M&&M(n)):R&&R(n),n._enterCb=null});e.data.show||ft(e,"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),N&&N(n,j)}),P&&P(n),F&&(ui(n,x),ui(n,T),si(function(){ci(n,x),j.cancelled||(ui(n,D),U||(gi(L)?setTimeout(j,L):li(n,i,j)))})),e.data.show&&(t&&t(),N&&N(n,j)),F||U||j()}}}function mi(e,t){var n=e.elm;l(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Qo(e.data.transition);if(c(r)||1!==n.nodeType)return t();if(!l(n._leaveCb)){var o=r.css,i=r.type,a=r.leaveClass,s=r.leaveToClass,u=r.leaveActiveClass,d=r.beforeLeave,f=r.leave,p=r.afterLeave,v=r.leaveCancelled,m=r.delayLeave,g=r.duration,_=!1!==o&&!te,y=_i(f),b=w(h(g)?g.leave:g),E=n._leaveCb=$(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),_&&(ci(n,s),ci(n,u)),E.cancelled?(_&&ci(n,a),v&&v(n)):(t(),p&&p(n)),n._leaveCb=null});m?m(k):k()}function k(){E.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),_&&(ui(n,a),ui(n,u),si(function(){ci(n,a),E.cancelled||(ui(n,s),y||(gi(b)?setTimeout(E,b):li(n,i,E)))})),f&&f(n,E),_||y||E())}}function gi(e){return"number"==typeof e&&!isNaN(e)}function _i(e){if(c(e))return!1;var t=e.fns;return l(t)?_i(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function yi(e,t){!0!==t.data.show&&vi(t)}var bi=function(e){var t,n,r={},o=e.modules,i=e.nodeOps;for(t=0;t<so.length;++t)for(r[so[t]]=[],n=0;n<o.length;++n)l(o[n][so[t]])&&r[so[t]].push(o[n][so[t]]);function a(e){var t=i.parentNode(e);l(t)&&i.removeChild(t,e)}function s(e,t,n,o,a,s,u){if(l(e.elm)&&l(s)&&(e=s[u]=ye(e)),e.isRootInsert=!a,!function(e,t,n,o){var i=e.data;if(l(i)){var a=l(e.componentInstance)&&i.keepAlive;if(l(i=i.hook)&&l(i=i.init)&&i(e,!1),l(e.componentInstance))return p(e,t),h(n,e.elm,o),d(a)&&function(e,t,n,o){for(var i,a=e;a.componentInstance;)if(l(i=(a=a.componentInstance._vnode).data)&&l(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](ao,a);t.push(a);break}h(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var c=e.data,f=e.children,m=e.tag;l(m)?(e.elm=e.ns?i.createElementNS(e.ns,m):i.createElement(m,e),_(e),v(e,f,t),l(c)&&g(e,t),h(n,e.elm,o)):d(e.isComment)?(e.elm=i.createComment(e.text),h(n,e.elm,o)):(e.elm=i.createTextNode(e.text),h(n,e.elm,o))}}function p(e,t){l(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,m(e)?(g(e,t),_(e)):(oo(e),t.push(e))}function h(e,t,n){l(e)&&(l(n)?i.parentNode(n)===e&&i.insertBefore(e,t,n):i.appendChild(e,t))}function v(e,t,n){if(u(t))for(var r=0;r<t.length;++r)s(t[r],n,e.elm,null,!0,t,r);else f(e.text)&&i.appendChild(e.elm,i.createTextNode(String(e.text)))}function m(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return l(e.tag)}function g(e,n){for(var o=0;o<r.create.length;++o)r.create[o](ao,e);l(t=e.data.hook)&&(l(t.create)&&t.create(ao,e),l(t.insert)&&n.push(e))}function _(e){var t;if(l(t=e.fnScopeId))i.setStyleScope(e.elm,t);else for(var n=e;n;)l(t=n.context)&&l(t=t.$options._scopeId)&&i.setStyleScope(e.elm,t),n=n.parent;l(t=Rn)&&t!==e.context&&t!==e.fnContext&&l(t=t.$options._scopeId)&&i.setStyleScope(e.elm,t)}function y(e,t,n,r,o,i){for(;r<=o;++r)s(n[r],i,e,t,!1,n,r)}function b(e){var t,n,o=e.data;if(l(o))for(l(t=o.hook)&&l(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(l(t=e.children))for(n=0;n<e.children.length;++n)b(e.children[n])}function w(e,t,n){for(;t<=n;++t){var r=e[t];l(r)&&(l(r.tag)?(k(r),b(r)):a(r.elm))}}function k(e,t){if(l(t)||l(e.data)){var n,o=r.remove.length+1;for(l(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&a(e)}return n.listeners=t,n}(e.elm,o),l(n=e.componentInstance)&&l(n=n._vnode)&&l(n.data)&&k(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);l(n=e.data.hook)&&l(n=n.remove)?n(e,t):t()}else a(e.elm)}function A(e,t,n,r){for(var o=n;o<r;o++){var i=t[o];if(l(i)&&uo(e,i))return o}}function C(e,t,n,o,a,u){if(e!==t){l(t.elm)&&l(o)&&(t=o[a]=ye(t));var f=t.elm=e.elm;if(d(e.isAsyncPlaceholder))l(t.asyncFactory.resolved)?O(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(d(t.isStatic)&&d(e.isStatic)&&t.key===e.key&&(d(t.isCloned)||d(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,h=t.data;l(h)&&l(p=h.hook)&&l(p=p.prepatch)&&p(e,t);var v=e.children,g=t.children;if(l(h)&&m(t)){for(p=0;p<r.update.length;++p)r.update[p](e,t);l(p=h.hook)&&l(p=p.update)&&p(e,t)}c(t.text)?l(v)&&l(g)?v!==g&&function(e,t,n,r,o){for(var a,u,d,f=0,p=0,h=t.length-1,v=t[0],m=t[h],g=n.length-1,_=n[0],b=n[g],E=!o;f<=h&&p<=g;)c(v)?v=t[++f]:c(m)?m=t[--h]:uo(v,_)?(C(v,_,r,n,p),v=t[++f],_=n[++p]):uo(m,b)?(C(m,b,r,n,g),m=t[--h],b=n[--g]):uo(v,b)?(C(v,b,r,n,g),E&&i.insertBefore(e,v.elm,i.nextSibling(m.elm)),v=t[++f],b=n[--g]):uo(m,_)?(C(m,_,r,n,p),E&&i.insertBefore(e,m.elm,v.elm),m=t[--h],_=n[++p]):(c(a)&&(a=co(t,f,h)),c(u=l(_.key)?a[_.key]:A(_,t,f,h))?s(_,r,e,v.elm,!1,n,p):uo(d=t[u],_)?(C(d,_,r,n,p),t[u]=void 0,E&&i.insertBefore(e,d.elm,v.elm)):s(_,r,e,v.elm,!1,n,p),_=n[++p]);f>h?y(e,c(n[g+1])?null:n[g+1].elm,n,p,g,r):p>g&&w(t,f,h)}(f,v,g,n,u):l(g)?(l(e.text)&&i.setTextContent(f,""),y(f,null,g,0,g.length-1,n)):l(v)?w(v,0,v.length-1):l(e.text)&&i.setTextContent(f,""):e.text!==t.text&&i.setTextContent(f,t.text),l(h)&&l(p=h.hook)&&l(p=p.postpatch)&&p(e,t)}}}function I(e,t,n){if(d(n)&&l(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var S=E("attrs,class,staticClass,staticStyle,key");function O(e,t,n,r){var o,i=t.tag,a=t.data,s=t.children;if(r=r||a&&a.pre,t.elm=e,d(t.isComment)&&l(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(l(a)&&(l(o=a.hook)&&l(o=o.init)&&o(t,!0),l(o=t.componentInstance)))return p(t,n),!0;if(l(i)){if(l(s))if(e.hasChildNodes())if(l(o=a)&&l(o=o.domProps)&&l(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var u=!0,c=e.firstChild,f=0;f<s.length;f++){if(!c||!O(c,s[f],n,r)){u=!1;break}c=c.nextSibling}if(!u||c)return!1}else v(t,s,n);if(l(a)){var h=!1;for(var m in a)if(!S(m)){h=!0,g(t,n);break}!h&&a["class"]&&Cn(a["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,o){if(!c(t)){var a,u=!1,f=[];if(c(e))u=!0,s(t,f);else{var p=l(e.nodeType);if(!p&&uo(e,t))C(e,t,f,null,null,o);else{if(p){if(1===e.nodeType&&e.hasAttribute(H)&&(e.removeAttribute(H),n=!0),d(n)&&O(e,t,f))return I(t,f,!0),e;a=e,e=new me(i.tagName(a).toLowerCase(),{},[],void 0,a)}var h=e.elm,v=i.parentNode(h);if(s(t,f,h._leaveCb?null:v,i.nextSibling(h)),l(t.parent))for(var g=t.parent,_=m(t);g;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](g);if(g.elm=t.elm,_){for(var E=0;E<r.create.length;++E)r.create[E](ao,g);var k=g.data.hook.insert;if(k.merged)for(var A=k.fns.slice(1),S=0;S<A.length;S++)A[S]()}else oo(g);g=g.parent}l(v)?w([e],0,0):l(e.tag)&&b(e)}}return I(t,f,u),t.elm}l(e)&&b(e)}}({nodeOps:no,modules:[wo,Ao,No,Lo,Vo,J?{create:yi,activate:yi,remove:function(e,t){!0!==e.data.show?mi(e,t):t()}}:{}].concat(go)});te&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Oi(e,"input")});var wi={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ft(n,"postpatch",function(){wi.componentUpdated(e,t,n)}):Ei(e,t,n.context),e._vOptions=[].map.call(e.options,Ci)):("textarea"===n.tag||to(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Ii),e.addEventListener("compositionend",Si),e.addEventListener("change",Si),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ei(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,Ci);o.some(function(e,t){return!B(e,r[t])})&&(e.multiple?t.value.some(function(e){return Ai(e,o)}):t.value!==t.oldValue&&Ai(t.value,o))&&Oi(e,"change")}}};function Ei(e,t,n){ki(e,t),(ee||ne)&&setTimeout(function(){ki(e,t)},0)}function ki(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,u=e.options.length;s<u;s++)if(a=e.options[s],o)i=G(r,Ci(a))>-1,a.selected!==i&&(a.selected=i);else if(B(Ci(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function Ai(e,t){return t.every(function(t){return!B(t,e)})}function Ci(e){return"_value"in e?e._value:e.value}function Ii(e){e.target.composing=!0}function Si(e){e.target.composing&&(e.target.composing=!1,Oi(e.target,"input"))}function Oi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function xi(e){return!e.componentInstance||e.data&&e.data.transition?e:xi(e.componentInstance._vnode)}var Ti={bind:function(e,t,n){var r=t.value,o=(n=xi(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,vi(n,function(){e.style.display=i})):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=xi(n)).data&&n.data.transition?(n.data.show=!0,r?vi(n,function(){e.style.display=e.__vOriginalDisplay}):mi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}},Di={model:wi,show:Ti},Pi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ni(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ni(zt(t.children)):e}function Ri(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[x(i)]=o[i];return t}function Mi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Li=function(e){return e.tag||Rt(e)},Fi=function(e){return"show"===e.name},Ui={name:"transition",props:Pi,abstract:!0,render:function(e){var t=this,n=this.$slots["default"];if(n&&(n=n.filter(Li)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var i=Ni(o);if(!i)return o;if(this._leaving)return Mi(e,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:f(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=Ri(this),u=this._vnode,c=Ni(u);if(i.data.directives&&i.data.directives.some(Fi)&&(i.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,c)&&!Rt(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var l=c.data.transition=M({},s);if("out-in"===r)return this._leaving=!0,ft(l,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Mi(e,o);if("in-out"===r){if(Rt(i))return u;var d,p=function(){d()};ft(s,"afterEnter",p),ft(s,"enterCancelled",p),ft(l,"delayLeave",function(e){d=e})}}return o}}},ji=M({tag:String,moveClass:String},Pi);delete ji.mode;var Bi={props:ji,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=Mn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots["default"]||[],i=this.children=[],a=Ri(this),s=0;s<o.length;s++){var u=o[s];u.tag&&null!=u.key&&0!==String(u.key).indexOf("__vlist")&&(i.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a)}if(r){for(var c=[],l=[],d=0;d<r.length;d++){var f=r[d];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?c.push(f):l.push(f)}this.kept=e(t,null,c),this.removed=l}return e(t,null,i)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Gi),e.forEach($i),e.forEach(qi),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;ui(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(ri,n._moveCb=function o(e){e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener(ri,o),n._moveCb=null,ci(n,t))})}}))},methods:{hasMove:function(e,t){if(!Zo)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Xo(n,e)}),Ko(n,t),n.style.display="none",this.$el.appendChild(n);var r=fi(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Gi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function $i(e){e.data.newPos=e.elm.getBoundingClientRect()}function qi(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var Hi={Transition:Ui,TransitionGroup:Bi};Dr.config.mustUseProp=function(e,t,n){return"value"===n&&jr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Dr.config.isReservedTag=Zr,Dr.config.isReservedAttr=Ur,Dr.config.getTagNamespace=function(e){return Jr(e)?"svg":"math"===e?"math":void 0},Dr.config.isUnknownElement=function(e){if(!J)return!0;if(Zr(e))return!1;if(e=e.toLowerCase(),null!=eo[e])return eo[e];var t=document.createElement(e);return e.indexOf("-")>-1?eo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:eo[e]=/HTMLUnknownElement/.test(t.toString())},M(Dr.options.directives,Di),M(Dr.options.components,Hi),Dr.prototype.__patch__=J?bi:F,Dr.prototype.$mount=function(e,t){return function(e,t,n){var r;e.$el=t,e.$options.render||(e.$options.render=ge),jn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new xn(e,r,F,{before:function(){e._isMounted&&!e._isDestroyed&&jn(e,"beforeUpdate")}},!0),n=!1;var o=e._preWatchers;if(o)for(var i=0;i<o.length;i++)o[i].run();return null==e.$vnode&&(e._isMounted=!0,jn(e,"mounted")),e}(this,e=e&&J?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},J&&setTimeout(function(){V.devtools&&le&&le.emit("init",Dr)},0),M(Dr,kn),e.exports=Dr},7612:function(e,t,n){"use strict";var r,o,i,a,s=n(477),u=s(n(3852)),c=s(n(8850)),l=s(n(1332)),d=s(n(9367));a=function(e){function t(){}function r(e){return"object"==(0,d["default"])(e)&&null!==e||"function"==typeof e}var o=t;function i(e,t){try{Object.defineProperty(e,"name",{value:t,configurable:!0})}catch(e){}}var a=Promise,s=Promise.resolve.bind(a),f=Promise.prototype.then,p=Promise.reject.bind(a),h=s;function v(e){return new a(e)}function m(e){return v(function(t){return t(e)})}function g(e){return p(e)}function _(e,t,n){return f.call(e,t,n)}function y(e,t,n){_(_(e,t,n),void 0,o)}function b(e,t){y(e,t)}function w(e,t){y(e,void 0,t)}function E(e,t,n){return _(e,t,n)}function k(e){_(e,void 0,o)}var A=function(e){if("function"==typeof queueMicrotask)A=queueMicrotask;else{var t=m(void 0);A=function(e){return _(t,e)}}return A(e)};function C(e,t,n){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,n)}function I(e,t,n){try{return m(C(e,t,n))}catch(e){return g(e)}}var S=function(){function e(){(0,c["default"])(this,e),this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return(0,l["default"])(e,[{key:"length",get:function(){return this._size}},{key:"push",value:function(e){var t=this._back,n=t;16383===t._elements.length&&(n={_elements:[],_next:void 0}),t._elements.push(e),n!==t&&(this._back=n,t._next=n),++this._size}},{key:"shift",value:function(){var e=this._front,t=e,n=this._cursor,r=n+1,o=e._elements,i=o[n];return 16384===r&&(t=e._next,r=0),--this._size,this._cursor=r,e!==t&&(this._front=t),o[n]=void 0,i}},{key:"forEach",value:function(e){for(var t=this._cursor,n=this._front,r=n._elements;!(t===r.length&&void 0===n._next||t===r.length&&(n=n._next,r=n._elements,t=0,0===r.length));)e(r[t]),++t}},{key:"peek",value:function(){var e=this._front,t=this._cursor;return e._elements[t]}}]),e}(),O=Symbol("[[AbortSteps]]"),x=Symbol("[[ErrorSteps]]"),T=Symbol("[[CancelSteps]]"),D=Symbol("[[PullSteps]]"),P=Symbol("[[ReleaseSteps]]");function N(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?F(e):"closed"===t._state?function(e){F(e),B(e)}(e):U(e,t._storedError)}function R(e,t){return qn(e._ownerReadableStream,t)}function M(e){var t=e._ownerReadableStream;"readable"===t._state?j(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(e){U(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"))}(e),t._readableStreamController[P](),t._reader=void 0,e._ownerReadableStream=void 0}function L(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function F(e){e._closedPromise=v(function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n})}function U(e,t){F(e),j(e,t)}function j(e,t){void 0!==e._closedPromise_reject&&(k(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function B(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}var G=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},$=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function q(e,t){if(void 0!==e&&"object"!=(0,d["default"])(n=e)&&"function"!=typeof n)throw new TypeError("".concat(t," is not an object."));var n}function H(e,t){if("function"!=typeof e)throw new TypeError("".concat(t," is not a function."))}function z(e,t){if(!function(e){return"object"==(0,d["default"])(e)&&null!==e||"function"==typeof e}(e))throw new TypeError("".concat(t," is not an object."))}function W(e,t,n){if(void 0===e)throw new TypeError("Parameter ".concat(t," is required in '").concat(n,"'."))}function V(e,t,n){if(void 0===e)throw new TypeError("".concat(t," is required in '").concat(n,"'."))}function Y(e){return Number(e)}function K(e){return 0===e?0:e}function X(e,t){var n=Number.MAX_SAFE_INTEGER,r=Number(e);if(r=K(r),!G(r))throw new TypeError("".concat(t," is not a finite number"));if(r=function(e){return K($(e))}(r),r<0||r>n)throw new TypeError("".concat(t," is outside the accepted range of 0 to ").concat(n,", inclusive"));return G(r)&&0!==r?r:0}function Q(e,t){if(!Gn(e))throw new TypeError("".concat(t," is not a ReadableStream."))}function J(e){return new ae(e)}function Z(e,t){e._reader._readRequests.push(t)}function ee(e,t,n){var r=e._reader._readRequests.shift();n?r._closeSteps():r._chunkSteps(t)}function te(e){return e._reader._readRequests.length}function ne(e){var t=e._reader;return void 0!==t&&!!se(t)}var re,oe,ie,ae=function(){function e(t){if((0,c["default"])(this,e),W(t,1,"ReadableStreamDefaultReader"),Q(t,"First parameter"),$n(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");N(this,t),this._readRequests=new S}return(0,l["default"])(e,[{key:"closed",get:function(){return se(this)?this._closedPromise:g(le("closed"))}},{key:"cancel",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;return se(this)?void 0===this._ownerReadableStream?g(L("cancel")):R(this,e):g(le("cancel"))}},{key:"read",value:function(){if(!se(this))return g(le("read"));if(void 0===this._ownerReadableStream)return g(L("read from"));var e,t,n=v(function(n,r){e=n,t=r});return ue(this,{_chunkSteps:function(t){return e({value:t,done:!1})},_closeSteps:function(){return e({value:void 0,done:!0})},_errorSteps:function(e){return t(e)}}),n}},{key:"releaseLock",value:function(){if(!se(this))throw le("releaseLock");void 0!==this._ownerReadableStream&&function(e){M(e),ce(e,new TypeError("Reader was released"))}(this)}}]),e}();function se(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")&&e instanceof ae}function ue(e,t){var n=e._ownerReadableStream;n._disturbed=!0,"closed"===n._state?t._closeSteps():"errored"===n._state?t._errorSteps(n._storedError):n._readableStreamController[D](t)}function ce(e,t){var n=e._readRequests;e._readRequests=new S,n.forEach(function(e){e._errorSteps(t)})}function le(e){return new TypeError("ReadableStreamDefaultReader.prototype.".concat(e," can only be used on a ReadableStreamDefaultReader"))}function de(e){return e.slice()}function fe(e,t,n,r,o){new Uint8Array(e).set(new Uint8Array(n,r,o),t)}Object.defineProperties(ae.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(ae.prototype.cancel,"cancel"),i(ae.prototype.read,"read"),i(ae.prototype.releaseLock,"releaseLock"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(ae.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});var pe=function(e){return pe="function"==typeof e.transfer?function(e){return e.transfer()}:"function"==typeof structuredClone?function(e){return structuredClone(e,{transfer:[e]})}:function(e){return e},pe(e)},he=function(e){return he="boolean"==typeof e.detached?function(e){return e.detached}:function(e){return 0===e.byteLength},he(e)};function ve(e,t,n){if(e.slice)return e.slice(t,n);var r=n-t,o=new ArrayBuffer(r);return fe(o,0,e,t,r),o}function me(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError("".concat(String(t)," is not a function"));return n}}function ge(e){try{var t=e.done,n=e.value;return _(h(n),function(e){return{done:t,value:e}})}catch(e){return g(e)}}var _e=null!==(ie=null!==(re=Symbol.asyncIterator)&&void 0!==re?re:null===(oe=Symbol["for"])||void 0===oe?void 0:oe.call(Symbol,"Symbol.asyncIterator"))&&void 0!==ie?ie:"@@asyncIterator";function ye(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"sync",n=arguments.length>2?arguments[2]:undefined;if(void 0===n)if("async"===t){if(void 0===(n=me(e,_e)))return function(e){var t={next:function(){var t;try{t=be(e)}catch(e){return g(e)}return ge(t)},"return":function(t){var n;try{var o=me(e.iterator,"return");if(void 0===o)return m({done:!0,value:t});n=C(o,e.iterator,[t])}catch(e){return g(e)}return r(n)?ge(n):g(new TypeError("The iterator.return() method must return an object"))}};return{iterator:t,nextMethod:t.next,done:!1}}(ye(e,"sync",me(e,Symbol.iterator)))}else n=me(e,Symbol.iterator);if(void 0===n)throw new TypeError("The object is not iterable");var o=C(n,e,[]);if(!r(o))throw new TypeError("The iterator method must return an object");return{iterator:o,nextMethod:o.next,done:!1}}function be(e){var t=C(e.nextMethod,e.iterator,[]);if(!r(t))throw new TypeError("The iterator.next() method must return an object");return t}var we=function(){function e(t,n){(0,c["default"])(this,e),this._ongoingPromise=void 0,this._isFinished=!1,this._reader=t,this._preventCancel=n}return(0,l["default"])(e,[{key:"next",value:function(){var e=this,t=function(){return e._nextSteps()};return this._ongoingPromise=this._ongoingPromise?E(this._ongoingPromise,t,t):t(),this._ongoingPromise}},{key:"return",value:function(e){var t=this,n=function(){return t._returnSteps(e)};return this._ongoingPromise=this._ongoingPromise?E(this._ongoingPromise,n,n):n(),this._ongoingPromise}},{key:"_nextSteps",value:function(){var e=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var t,n,r=this._reader,o=v(function(e,r){t=e,n=r});return ue(r,{_chunkSteps:function(n){e._ongoingPromise=void 0,A(function(){return t({value:n,done:!1})})},_closeSteps:function(){e._ongoingPromise=void 0,e._isFinished=!0,M(r),t({value:void 0,done:!0})},_errorSteps:function(t){e._ongoingPromise=void 0,e._isFinished=!0,M(r),n(t)}}),o}},{key:"_returnSteps",value:function(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;var t=this._reader;if(!this._preventCancel){var n=R(t,e);return M(t),E(n,function(){return{value:e,done:!0}})}return M(t),m({value:e,done:!0})}}]),e}(),Ee=(0,u["default"])({next:function(){return ke(this)?this._asyncIteratorImpl.next():g(Ae("next"))},"return":function(e){return ke(this)?this._asyncIteratorImpl["return"](e):g(Ae("return"))}},_e,function(){return this});function ke(e){if(!r(e))return!1;if(!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof we}catch(e){return!1}}function Ae(e){return new TypeError("ReadableStreamAsyncIterator.".concat(e," can only be used on a ReadableSteamAsyncIterator"))}Object.defineProperty(Ee,_e,{enumerable:!1});var Ce=Number.isNaN||function(e){return e!=e};function Ie(e){var t=ve(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function Se(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function Oe(e,t,n){if("number"!=typeof(r=n)||Ce(r)||r<0||n===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");var r;e._queue.push({value:t,size:n}),e._queueTotalSize+=n}function xe(e){e._queue=new S,e._queueTotalSize=0}function Te(e){return e===DataView}var De=function(){function e(){throw(0,c["default"])(this,e),new TypeError("Illegal constructor")}return(0,l["default"])(e,[{key:"view",get:function(){if(!Re(this))throw at("view");return this._view}},{key:"respond",value:function(e){if(!Re(this))throw at("respond");if(W(e,1,"respond"),e=X(e,"First parameter"),void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(he(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");rt(this._associatedReadableByteStreamController,e)}},{key:"respondWithNewView",value:function(e){if(!Re(this))throw at("respondWithNewView");if(W(e,1,"respondWithNewView"),!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(he(e.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");ot(this._associatedReadableByteStreamController,e)}}]),e}();Object.defineProperties(De.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),i(De.prototype.respond,"respond"),i(De.prototype.respondWithNewView,"respondWithNewView"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(De.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Pe=function(){function e(){throw(0,c["default"])(this,e),new TypeError("Illegal constructor")}return(0,l["default"])(e,[{key:"byobRequest",get:function(){if(!Ne(this))throw st("byobRequest");return tt(this)}},{key:"desiredSize",get:function(){if(!Ne(this))throw st("desiredSize");return nt(this)}},{key:"close",value:function(){if(!Ne(this))throw st("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in ".concat(e," state) is not in the readable state and cannot be closed"));Qe(this)}},{key:"enqueue",value:function(e){if(!Ne(this))throw st("enqueue");if(W(e,1,"enqueue"),!ArrayBuffer.isView(e))throw new TypeError("chunk must be an array buffer view");if(0===e.byteLength)throw new TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in ".concat(t," state) is not in the readable state and cannot be enqueued to"));Je(this,e)}},{key:"error",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;if(!Ne(this))throw st("error");Ze(this,e)}},{key:T,value:function(e){Le(this),xe(this);var t=this._cancelAlgorithm(e);return Xe(this),t}},{key:D,value:function(e){var t=this._controlledReadableByteStream;if(this._queueTotalSize>0)et(this,e);else{var n=this._autoAllocateChunkSize;if(void 0!==n){var r;try{r=new ArrayBuffer(n)}catch(t){return void e._errorSteps(t)}var o={buffer:r,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}Z(t,e),Me(this)}}},{key:P,value:function(){if(this._pendingPullIntos.length>0){var e=this._pendingPullIntos.peek();e.readerType="none",this._pendingPullIntos=new S,this._pendingPullIntos.push(e)}}}]),e}();function Ne(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")&&e instanceof Pe}function Re(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")&&e instanceof De}function Me(e){var t=function(e){var t=e._controlledReadableByteStream;return"readable"===t._state&&!e._closeRequested&&!!e._started&&(!!(ne(t)&&te(t)>0)||!!(ft(t)&&dt(t)>0)||nt(e)>0)}(e);t&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,y(e._pullAlgorithm(),function(){return e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Me(e)),null},function(t){return Ze(e,t),null})))}function Le(e){We(e),e._pendingPullIntos=new S}function Fe(e,t){var n=!1;"closed"===e._state&&(n=!0);var r=je(t);"default"===t.readerType?ee(e,r,n):function(e,t,n){var r=e._reader._readIntoRequests.shift();n?r._closeSteps(t):r._chunkSteps(t)}(e,r,n)}function Ue(e,t){for(var n=0;n<t.length;++n)Fe(e,t[n])}function je(e){var t=e.bytesFilled,n=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/n)}function Be(e,t,n,r){e._queue.push({buffer:t,byteOffset:n,byteLength:r}),e._queueTotalSize+=r}function Ge(e,t,n,r){var o;try{o=ve(t,n,n+r)}catch(t){throw Ze(e,t),t}Be(e,o,0,r)}function $e(e,t){t.bytesFilled>0&&Ge(e,t.buffer,t.byteOffset,t.bytesFilled),Ke(e)}function qe(e,t){var n=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),r=t.bytesFilled+n,o=n,i=!1,a=r-r%t.elementSize;a>=t.minimumFill&&(o=a-t.bytesFilled,i=!0);for(var s=e._queue;o>0;){var u=s.peek(),c=Math.min(o,u.byteLength),l=t.byteOffset+t.bytesFilled;fe(t.buffer,l,u.buffer,u.byteOffset,c),u.byteLength===c?s.shift():(u.byteOffset+=c,u.byteLength-=c),e._queueTotalSize-=c,He(0,c,t),o-=c}return i}function He(e,t,n){n.bytesFilled+=t}function ze(e){0===e._queueTotalSize&&e._closeRequested?(Xe(e),Hn(e._controlledReadableByteStream)):Me(e)}function We(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function Ve(e){for(var t=[];e._pendingPullIntos.length>0&&0!==e._queueTotalSize;){var n=e._pendingPullIntos.peek();qe(e,n)&&(Ke(e),t.push(n))}return t}function Ye(e,t){var n=e._pendingPullIntos.peek();We(e),"closed"===e._controlledReadableByteStream._state?function(e,t){"none"===t.readerType&&Ke(e);var n=e._controlledReadableByteStream;if(ft(n)){for(var r=[];r.length<dt(n);)r.push(Ke(e));Ue(n,r)}}(e,n):function(e,t,n){if(He(0,t,n),"none"!==n.readerType){if(!(n.bytesFilled<n.minimumFill)){Ke(e);var r=n.bytesFilled%n.elementSize;if(r>0){var o=n.byteOffset+n.bytesFilled;Ge(e,n.buffer,o-r,r)}n.bytesFilled-=r;var i=Ve(e);Fe(e._controlledReadableByteStream,n),Ue(e._controlledReadableByteStream,i)}}else{$e(e,n);var a=Ve(e);Ue(e._controlledReadableByteStream,a)}}(e,t,n),Me(e)}function Ke(e){return e._pendingPullIntos.shift()}function Xe(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Qe(e){var t=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===t._state)if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0){var n=e._pendingPullIntos.peek();if(n.bytesFilled%n.elementSize!==0){var r=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Ze(e,r),r}}Xe(e),Hn(t)}}function Je(e,t){var n=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===n._state){var r=t.buffer,o=t.byteOffset,i=t.byteLength;if(he(r))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");var a=pe(r);if(e._pendingPullIntos.length>0){var s=e._pendingPullIntos.peek();if(he(s.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");We(e),s.buffer=pe(s.buffer),"none"===s.readerType&&$e(e,s)}ne(n)?(function(e){for(var t=e._controlledReadableByteStream._reader;t._readRequests.length>0;){if(0===e._queueTotalSize)return;et(e,t._readRequests.shift())}}(e),0===te(n)?Be(e,a,o,i):(e._pendingPullIntos.length>0&&Ke(e),ee(n,new Uint8Array(a,o,i),!1))):ft(n)?(Be(e,a,o,i),Ue(n,Ve(e))):Be(e,a,o,i),Me(e)}}function Ze(e,t){var n=e._controlledReadableByteStream;"readable"===n._state&&(Le(e),xe(e),Xe(e),zn(n,t))}function et(e,t){var n=e._queue.shift();e._queueTotalSize-=n.byteLength,ze(e);var r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);t._chunkSteps(r)}function tt(e){if(null===e._byobRequest&&e._pendingPullIntos.length>0){var t=e._pendingPullIntos.peek(),n=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),r=Object.create(De.prototype);!function(e,t,n){e._associatedReadableByteStreamController=t,e._view=n}(r,e,n),e._byobRequest=r}return e._byobRequest}function nt(e){var t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function rt(e,t){var n=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(0===t)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(n.bytesFilled+t>n.byteLength)throw new RangeError("bytesWritten out of range")}n.buffer=pe(n.buffer),Ye(e,t)}function ot(e,t){var n=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t.byteLength)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(0===t.byteLength)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(n.byteOffset+n.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(n.bufferByteLength!==t.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(n.bytesFilled+t.byteLength>n.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");var r=t.byteLength;n.buffer=pe(t.buffer),Ye(e,r)}function it(e,t,n,r,o,i,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,xe(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,t._autoAllocateChunkSize=a,t._pendingPullIntos=new S,e._readableStreamController=t,y(m(n()),function(){return t._started=!0,Me(t),null},function(e){return Ze(t,e),null})}function at(e){return new TypeError("ReadableStreamBYOBRequest.prototype.".concat(e," can only be used on a ReadableStreamBYOBRequest"))}function st(e){return new TypeError("ReadableByteStreamController.prototype.".concat(e," can only be used on a ReadableByteStreamController"))}function ut(e,t){if("byob"!==(e="".concat(e)))throw new TypeError("".concat(t," '").concat(e,"' is not a valid enumeration value for ReadableStreamReaderMode"));return e}function ct(e){return new pt(e)}function lt(e,t){e._reader._readIntoRequests.push(t)}function dt(e){return e._reader._readIntoRequests.length}function ft(e){var t=e._reader;return void 0!==t&&!!ht(t)}Object.defineProperties(Pe.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),i(Pe.prototype.close,"close"),i(Pe.prototype.enqueue,"enqueue"),i(Pe.prototype.error,"error"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(Pe.prototype,Symbol.toStringTag,{value:"ReadableByteStreamController",configurable:!0});var pt=function(){function e(t){if((0,c["default"])(this,e),W(t,1,"ReadableStreamBYOBReader"),Q(t,"First parameter"),$n(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Ne(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");N(this,t),this._readIntoRequests=new S}return(0,l["default"])(e,[{key:"closed",get:function(){return ht(this)?this._closedPromise:g(gt("closed"))}},{key:"cancel",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;return ht(this)?void 0===this._ownerReadableStream?g(L("cancel")):R(this,e):g(gt("cancel"))}},{key:"read",value:function(e){var t,n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(!ht(this))return g(gt("read"));if(!ArrayBuffer.isView(e))return g(new TypeError("view must be an array buffer view"));if(0===e.byteLength)return g(new TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return g(new TypeError("view's buffer must have non-zero byteLength"));if(he(e.buffer))return g(new TypeError("view's buffer has been detached"));try{t=function(e,t){var n;return q(e,t),{min:X(null!==(n=null==e?void 0:e.min)&&void 0!==n?n:1,"".concat(t," has member 'min' that"))}}(n,"options")}catch(e){return g(e)}var r,o,i=t.min;if(0===i)return g(new TypeError("options.min must be greater than 0"));if(function(e){return Te(e.constructor)}(e)){if(i>e.byteLength)return g(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(i>e.length)return g(new RangeError("options.min must be less than or equal to view's length"));if(void 0===this._ownerReadableStream)return g(L("read from"));var a=v(function(e,t){r=e,o=t});return vt(this,e,i,{_chunkSteps:function(e){return r({value:e,done:!1})},_closeSteps:function(e){return r({value:e,done:!0})},_errorSteps:function(e){return o(e)}}),a}},{key:"releaseLock",value:function(){if(!ht(this))throw gt("releaseLock");void 0!==this._ownerReadableStream&&function(e){M(e),mt(e,new TypeError("Reader was released"))}(this)}}]),e}();function ht(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")&&e instanceof pt}function vt(e,t,n,r){var o=e._ownerReadableStream;o._disturbed=!0,"errored"===o._state?r._errorSteps(o._storedError):function(e,t,n,r){var o,i=e._controlledReadableByteStream,a=t.constructor,s=function(e){return Te(e)?1:e.BYTES_PER_ELEMENT}(a),u=t.byteOffset,c=t.byteLength,l=n*s;try{o=pe(t.buffer)}catch(e){return void r._errorSteps(e)}var d={buffer:o,bufferByteLength:o.byteLength,byteOffset:u,byteLength:c,bytesFilled:0,minimumFill:l,elementSize:s,viewConstructor:a,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(d),void lt(i,r);if("closed"!==i._state){if(e._queueTotalSize>0){if(qe(e,d)){var f=je(d);return ze(e),void r._chunkSteps(f)}if(e._closeRequested){var p=new TypeError("Insufficient bytes to fill elements in the given buffer");return Ze(e,p),void r._errorSteps(p)}}e._pendingPullIntos.push(d),lt(i,r),Me(e)}else{var h=new a(d.buffer,d.byteOffset,0);r._closeSteps(h)}}(o._readableStreamController,t,n,r)}function mt(e,t){var n=e._readIntoRequests;e._readIntoRequests=new S,n.forEach(function(e){e._errorSteps(t)})}function gt(e){return new TypeError("ReadableStreamBYOBReader.prototype.".concat(e," can only be used on a ReadableStreamBYOBReader"))}function _t(e,t){var n=e.highWaterMark;if(void 0===n)return t;if(Ce(n)||n<0)throw new RangeError("Invalid highWaterMark");return n}function yt(e){return e.size||function(){return 1}}function bt(e,t){q(e,t);var n=null==e?void 0:e.highWaterMark,r=null==e?void 0:e.size;return{highWaterMark:void 0===n?void 0:Y(n),size:void 0===r?void 0:wt(r,"".concat(t," has member 'size' that"))}}function wt(e,t){return H(e,t),function(t){return Y(e(t))}}function Et(e,t,n){return H(e,n),function(n){return I(e,t,[n])}}function kt(e,t,n){return H(e,n),function(){return I(e,t,[])}}function At(e,t,n){return H(e,n),function(n){return C(e,t,[n])}}function Ct(e,t,n){return H(e,n),function(n,r){return I(e,t,[n,r])}}function It(e,t){if(!Tt(e))throw new TypeError("".concat(t," is not a WritableStream."))}Object.defineProperties(pt.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(pt.prototype.cancel,"cancel"),i(pt.prototype.read,"read"),i(pt.prototype.releaseLock,"releaseLock"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(pt.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});var St=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};(0,c["default"])(this,e),void 0===t?t=null:z(t,"First parameter");var r=bt(n,"Second parameter"),o=function(e,t){q(e,t);var n=null==e?void 0:e.abort,r=null==e?void 0:e.close,o=null==e?void 0:e.start,i=null==e?void 0:e.type,a=null==e?void 0:e.write;return{abort:void 0===n?void 0:Et(n,e,"".concat(t," has member 'abort' that")),close:void 0===r?void 0:kt(r,e,"".concat(t," has member 'close' that")),start:void 0===o?void 0:At(o,e,"".concat(t," has member 'start' that")),write:void 0===a?void 0:Ct(a,e,"".concat(t," has member 'write' that")),type:i}}(t,"First parameter");if(xt(this),void 0!==o.type)throw new RangeError("Invalid type is specified");var i=yt(r);!function(e,t,n,r){var o,i,a,s,u=Object.create(Vt.prototype);o=void 0!==t.start?function(){return t.start(u)}:function(){},i=void 0!==t.write?function(e){return t.write(e,u)}:function(){return m(void 0)},a=void 0!==t.close?function(){return t.close()}:function(){return m(void 0)},s=void 0!==t.abort?function(e){return t.abort(e)}:function(){return m(void 0)},Kt(e,u,o,i,a,s,n,r)}(this,o,_t(r,1),i)}return(0,l["default"])(e,[{key:"locked",get:function(){if(!Tt(this))throw nn("locked");return Dt(this)}},{key:"abort",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;return Tt(this)?Dt(this)?g(new TypeError("Cannot abort a stream that already has a writer")):Pt(this,e):g(nn("abort"))}},{key:"close",value:function(){return Tt(this)?Dt(this)?g(new TypeError("Cannot close a stream that already has a writer")):Ft(this)?g(new TypeError("Cannot close an already-closing stream")):Nt(this):g(nn("close"))}},{key:"getWriter",value:function(){if(!Tt(this))throw nn("getWriter");return Ot(this)}}]),e}();function Ot(e){return new Bt(e)}function xt(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new S,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function Tt(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")&&e instanceof St}function Dt(e){return void 0!==e._writer}function Pt(e,t){var n;if("closed"===e._state||"errored"===e._state)return m(void 0);e._writableStreamController._abortReason=t,null===(n=e._writableStreamController._abortController)||void 0===n||n.abort(t);var r=e._state;if("closed"===r||"errored"===r)return m(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var o=!1;"erroring"===r&&(o=!0,t=void 0);var i=v(function(n,r){e._pendingAbortRequest={_promise:void 0,_resolve:n,_reject:r,_reason:t,_wasAlreadyErroring:o}});return e._pendingAbortRequest._promise=i,o||Mt(e,t),i}function Nt(e){var t=e._state;if("closed"===t||"errored"===t)return g(new TypeError("The stream (in ".concat(t," state) is not in the writable state and cannot be closed")));var n,r=v(function(t,n){var r={_resolve:t,_reject:n};e._closeRequest=r}),o=e._writer;return void 0!==o&&e._backpressure&&"writable"===t&&vn(o),Oe(n=e._writableStreamController,Wt,0),Jt(n),r}function Rt(e,t){"writable"!==e._state?Lt(e):Mt(e,t)}function Mt(e,t){var n=e._writableStreamController;e._state="erroring",e._storedError=t;var r=e._writer;void 0!==r&&qt(r,t),!function(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}(e)&&n._started&&Lt(e)}function Lt(e){e._state="errored",e._writableStreamController[x]();var t=e._storedError;if(e._writeRequests.forEach(function(e){e._reject(t)}),e._writeRequests=new S,void 0!==e._pendingAbortRequest){var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,n._wasAlreadyErroring)return n._reject(t),void Ut(e);y(e._writableStreamController[O](n._reason),function(){return n._resolve(),Ut(e),null},function(t){return n._reject(t),Ut(e),null})}else Ut(e)}function Ft(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function Ut(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&cn(t,e._storedError)}function jt(e,t){var n=e._writer;void 0!==n&&t!==e._backpressure&&(t?function(e){dn(e)}(n):vn(n)),e._backpressure=t}Object.defineProperties(St.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),i(St.prototype.abort,"abort"),i(St.prototype.close,"close"),i(St.prototype.getWriter,"getWriter"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(St.prototype,Symbol.toStringTag,{value:"WritableStream",configurable:!0});var Bt=function(){function e(t){if((0,c["default"])(this,e),W(t,1,"WritableStreamDefaultWriter"),It(t,"First parameter"),Dt(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var n=t._state;if("writable"===n)!Ft(t)&&t._backpressure?dn(this):pn(this),sn(this);else if("erroring"===n)fn(this,t._storedError),sn(this);else if("closed"===n)pn(this),sn(this),ln(this);else{var r=t._storedError;fn(this,r),un(this,r)}}return(0,l["default"])(e,[{key:"closed",get:function(){return Gt(this)?this._closedPromise:g(on("closed"))}},{key:"desiredSize",get:function(){if(!Gt(this))throw on("desiredSize");if(void 0===this._ownerWritableStream)throw an("desiredSize");return function(e){var t=e._ownerWritableStream,n=t._state;return"errored"===n||"erroring"===n?null:"closed"===n?0:Qt(t._writableStreamController)}(this)}},{key:"ready",get:function(){return Gt(this)?this._readyPromise:g(on("ready"))}},{key:"abort",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;return Gt(this)?void 0===this._ownerWritableStream?g(an("abort")):function(e,t){return Pt(e._ownerWritableStream,t)}(this,e):g(on("abort"))}},{key:"close",value:function(){if(!Gt(this))return g(on("close"));var e=this._ownerWritableStream;return void 0===e?g(an("close")):Ft(e)?g(new TypeError("Cannot close an already-closing stream")):$t(this)}},{key:"releaseLock",value:function(){if(!Gt(this))throw on("releaseLock");void 0!==this._ownerWritableStream&&Ht(this)}},{key:"write",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;return Gt(this)?void 0===this._ownerWritableStream?g(an("write to")):zt(this,e):g(on("write"))}}]),e}();function Gt(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")&&e instanceof Bt}function $t(e){return Nt(e._ownerWritableStream)}function qt(e,t){"pending"===e._readyPromiseState?hn(e,t):function(e,t){fn(e,t)}(e,t)}function Ht(e){var t=e._ownerWritableStream,n=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");qt(e,n),function(e,t){"pending"===e._closedPromiseState?cn(e,t):function(e,t){un(e,t)}(e,t)}(e,n),t._writer=void 0,e._ownerWritableStream=void 0}function zt(e,t){var n=e._ownerWritableStream,r=n._writableStreamController,o=function(e,t){if(void 0===e._strategySizeAlgorithm)return 1;try{return e._strategySizeAlgorithm(t)}catch(t){return Zt(e,t),1}}(r,t);if(n!==e._ownerWritableStream)return g(an("write to"));var i=n._state;if("errored"===i)return g(n._storedError);if(Ft(n)||"closed"===i)return g(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===i)return g(n._storedError);var a=function(e){return v(function(t,n){var r={_resolve:t,_reject:n};e._writeRequests.push(r)})}(n);return function(e,t,n){try{Oe(e,t,n)}catch(t){return void Zt(e,t)}var r=e._controlledWritableStream;Ft(r)||"writable"!==r._state||jt(r,en(e)),Jt(e)}(r,t,o),a}Object.defineProperties(Bt.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),i(Bt.prototype.abort,"abort"),i(Bt.prototype.close,"close"),i(Bt.prototype.releaseLock,"releaseLock"),i(Bt.prototype.write,"write"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(Bt.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});var Wt={},Vt=function(){function e(){throw(0,c["default"])(this,e),new TypeError("Illegal constructor")}return(0,l["default"])(e,[{key:"abortReason",get:function(){if(!Yt(this))throw rn("abortReason");return this._abortReason}},{key:"signal",get:function(){if(!Yt(this))throw rn("signal");if(void 0===this._abortController)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}},{key:"error",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;if(!Yt(this))throw rn("error");"writable"===this._controlledWritableStream._state&&tn(this,e)}},{key:O,value:function(e){var t=this._abortAlgorithm(e);return Xt(this),t}},{key:x,value:function(){xe(this)}}]),e}();function Yt(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")&&e instanceof Vt}function Kt(e,t,n,r,o,i,a,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,xe(t),t._abortReason=void 0,t._abortController=function(){if("function"==typeof AbortController)return new AbortController}(),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=a,t._writeAlgorithm=r,t._closeAlgorithm=o,t._abortAlgorithm=i;var u=en(t);jt(e,u),y(m(n()),function(){return t._started=!0,Jt(t),null},function(n){return t._started=!0,Rt(e,n),null})}function Xt(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Qt(e){return e._strategyHWM-e._queueTotalSize}function Jt(e){var t=e._controlledWritableStream;if(e._started&&void 0===t._inFlightWriteRequest)if("erroring"!==t._state){if(0!==e._queue.length){var n=e._queue.peek().value;n===Wt?function(e){var t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),Se(e);var n=e._closeAlgorithm();Xt(e),y(n,function(){return function(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var t=e._writer;void 0!==t&&ln(t)}(t),null},function(e){return function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),Rt(e,t)}(t,e),null})}(e):function(e,t){var n=e._controlledWritableStream;!function(e){e._inFlightWriteRequest=e._writeRequests.shift()}(n),y(e._writeAlgorithm(t),function(){!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(n);var t=n._state;if(Se(e),!Ft(n)&&"writable"===t){var r=en(e);jt(n,r)}return Jt(e),null},function(t){return"writable"===n._state&&Xt(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,Rt(e,t)}(n,t),null})}(e,n)}}else Lt(t)}function Zt(e,t){"writable"===e._controlledWritableStream._state&&tn(e,t)}function en(e){return Qt(e)<=0}function tn(e,t){var n=e._controlledWritableStream;Xt(e),Mt(n,t)}function nn(e){return new TypeError("WritableStream.prototype.".concat(e," can only be used on a WritableStream"))}function rn(e){return new TypeError("WritableStreamDefaultController.prototype.".concat(e," can only be used on a WritableStreamDefaultController"))}function on(e){return new TypeError("WritableStreamDefaultWriter.prototype.".concat(e," can only be used on a WritableStreamDefaultWriter"))}function an(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function sn(e){e._closedPromise=v(function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n,e._closedPromiseState="pending"})}function un(e,t){sn(e),cn(e,t)}function cn(e,t){void 0!==e._closedPromise_reject&&(k(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function ln(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function dn(e){e._readyPromise=v(function(t,n){e._readyPromise_resolve=t,e._readyPromise_reject=n}),e._readyPromiseState="pending"}function fn(e,t){dn(e),hn(e,t)}function pn(e){dn(e),vn(e)}function hn(e,t){void 0!==e._readyPromise_reject&&(k(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function vn(e){void 0!==e._readyPromise_resolve&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}Object.defineProperties(Vt.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(Vt.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});var mn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof n.g?n.g:void 0,gn=function(){var e=null==mn?void 0:mn.DOMException;return function(e){if("function"!=typeof e&&"object"!=(0,d["default"])(e))return!1;if("DOMException"!==e.name)return!1;try{return new e,!0}catch(e){return!1}}(e)?e:void 0}()||function(){var e=function(e,t){this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return i(e,"DOMException"),e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}();function _n(e,n,r,o,i,a){var s=J(e),u=Ot(n);e._disturbed=!0;var c=!1,l=m(void 0);return v(function(d,f){var p,h,E,A;if(void 0!==a){if(p=function(){var t=void 0!==a.reason?a.reason:new gn("Aborted","AbortError"),r=[];o||r.push(function(){return"writable"===n._state?Pt(n,t):m(void 0)}),i||r.push(function(){return"readable"===e._state?qn(e,t):m(void 0)}),O(function(){return Promise.all(r.map(function(e){return e()}))},!0,t)},a.aborted)return void p();a.addEventListener("abort",p)}if(S(e,s._closedPromise,function(e){return o?x(!0,e):O(function(){return Pt(n,e)},!0,e),null}),S(n,u._closedPromise,function(t){return i?x(!0,t):O(function(){return qn(e,t)},!0,t),null}),h=e,E=s._closedPromise,A=function(){return r?x():O(function(){return function(e){var t=e._ownerWritableStream,n=t._state;return Ft(t)||"closed"===n?m(void 0):"errored"===n?g(t._storedError):$t(e)}(u)}),null},"closed"===h._state?A():b(E,A),Ft(n)||"closed"===n._state){var C=new TypeError("the destination writable stream closed before all data could be piped to it");i?x(!0,C):O(function(){return qn(e,C)},!0,C)}function I(){var e=l;return _(l,function(){return e!==l?I():void 0})}function S(e,t,n){"errored"===e._state?n(e._storedError):w(t,n)}function O(e,t,r){function o(){return y(e(),function(){return T(t,r)},function(e){return T(!0,e)}),null}c||(c=!0,"writable"!==n._state||Ft(n)?o():b(I(),o))}function x(e,t){c||(c=!0,"writable"!==n._state||Ft(n)?T(e,t):b(I(),function(){return T(e,t)}))}function T(e,t){return Ht(u),M(s),void 0!==a&&a.removeEventListener("abort",p),e?f(t):d(void 0),null}k(v(function(e,n){!function r(o){o?e():_(c?m(!0):_(u._readyPromise,function(){return v(function(e,n){ue(s,{_chunkSteps:function(n){l=_(zt(u,n),void 0,t),e(!1)},_closeSteps:function(){return e(!0)},_errorSteps:n})})}),r,n)}(!1)}))})}var yn=function(){function e(){throw(0,c["default"])(this,e),new TypeError("Illegal constructor")}return(0,l["default"])(e,[{key:"desiredSize",get:function(){if(!bn(this))throw Tn("desiredSize");return Sn(this)}},{key:"close",value:function(){if(!bn(this))throw Tn("close");if(!On(this))throw new TypeError("The stream is not in a state that permits close");An(this)}},{key:"enqueue",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;if(!bn(this))throw Tn("enqueue");if(!On(this))throw new TypeError("The stream is not in a state that permits enqueue");return Cn(this,e)}},{key:"error",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;if(!bn(this))throw Tn("error");In(this,e)}},{key:T,value:function(e){xe(this);var t=this._cancelAlgorithm(e);return kn(this),t}},{key:D,value:function(e){var t=this._controlledReadableStream;if(this._queue.length>0){var n=Se(this);this._closeRequested&&0===this._queue.length?(kn(this),Hn(t)):wn(this),e._chunkSteps(n)}else Z(t,e),wn(this)}},{key:P,value:function(){}}]),e}();function bn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")&&e instanceof yn}function wn(e){En(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,y(e._pullAlgorithm(),function(){return e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,wn(e)),null},function(t){return In(e,t),null})))}function En(e){var t=e._controlledReadableStream;return!!On(e)&&!!e._started&&(!!($n(t)&&te(t)>0)||Sn(e)>0)}function kn(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function An(e){if(On(e)){var t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(kn(e),Hn(t))}}function Cn(e,t){if(On(e)){var n=e._controlledReadableStream;if($n(n)&&te(n)>0)ee(n,t,!1);else{var r;try{r=e._strategySizeAlgorithm(t)}catch(t){throw In(e,t),t}try{Oe(e,t,r)}catch(t){throw In(e,t),t}}wn(e)}}function In(e,t){var n=e._controlledReadableStream;"readable"===n._state&&(xe(e),kn(e),zn(n,t))}function Sn(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function On(e){var t=e._controlledReadableStream._state;return!e._closeRequested&&"readable"===t}function xn(e,t,n,r,o,i,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,xe(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,e._readableStreamController=t,y(m(n()),function(){return t._started=!0,wn(t),null},function(e){return In(t,e),null})}function Tn(e){return new TypeError("ReadableStreamDefaultController.prototype.".concat(e," can only be used on a ReadableStreamDefaultController"))}function Dn(e){return r(n=e)&&void 0!==n.getReader?function(e){var n;return n=Un(t,function(){var t;try{t=e.read()}catch(e){return g(e)}return E(t,function(e){if(!r(e))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if(e.done)An(n._readableStreamController);else{var t=e.value;Cn(n._readableStreamController,t)}})},function(t){try{return m(e.cancel(t))}catch(e){return g(e)}},0),n}(e.getReader()):function(e){var n,o=ye(e,"async");return n=Un(t,function(){var e;try{e=be(o)}catch(e){return g(e)}return E(m(e),function(e){if(!r(e))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");if(e.done)An(n._readableStreamController);else{var t=e.value;Cn(n._readableStreamController,t)}})},function(e){var t,n=o.iterator;try{t=me(n,"return")}catch(e){return g(e)}return void 0===t?m(void 0):E(I(t,n,[e]),function(e){if(!r(e))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})},0),n}(e);var n}function Pn(e,t,n){return H(e,n),function(n){return I(e,t,[n])}}function Nn(e,t,n){return H(e,n),function(n){return I(e,t,[n])}}function Rn(e,t,n){return H(e,n),function(n){return C(e,t,[n])}}function Mn(e,t){if("bytes"!==(e="".concat(e)))throw new TypeError("".concat(t," '").concat(e,"' is not a valid enumeration value for ReadableStreamType"));return e}function Ln(e,t){q(e,t);var n=null==e?void 0:e.preventAbort,r=null==e?void 0:e.preventCancel,o=null==e?void 0:e.preventClose,i=null==e?void 0:e.signal;return void 0!==i&&function(e,t){if(!function(e){if("object"!=(0,d["default"])(e)||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}(e))throw new TypeError("".concat(t," is not an AbortSignal."))}(i,"".concat(t," has member 'signal' that")),{preventAbort:Boolean(n),preventCancel:Boolean(r),preventClose:Boolean(o),signal:i}}Object.defineProperties(yn.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),i(yn.prototype.close,"close"),i(yn.prototype.enqueue,"enqueue"),i(yn.prototype.error,"error"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(yn.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});var Fn=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};(0,c["default"])(this,e),void 0===t?t=null:z(t,"First parameter");var r=bt(n,"Second parameter"),o=function(e,t){q(e,t);var n=e,r=null==n?void 0:n.autoAllocateChunkSize,o=null==n?void 0:n.cancel,i=null==n?void 0:n.pull,a=null==n?void 0:n.start,s=null==n?void 0:n.type;return{autoAllocateChunkSize:void 0===r?void 0:X(r,"".concat(t," has member 'autoAllocateChunkSize' that")),cancel:void 0===o?void 0:Pn(o,n,"".concat(t," has member 'cancel' that")),pull:void 0===i?void 0:Nn(i,n,"".concat(t," has member 'pull' that")),start:void 0===a?void 0:Rn(a,n,"".concat(t," has member 'start' that")),type:void 0===s?void 0:Mn(s,"".concat(t," has member 'type' that"))}}(t,"First parameter");if(Bn(this),"bytes"===o.type){if(void 0!==r.size)throw new RangeError("The strategy for a byte stream cannot have a size function");!function(e,t,n){var r,o,i,a=Object.create(Pe.prototype);r=void 0!==t.start?function(){return t.start(a)}:function(){},o=void 0!==t.pull?function(){return t.pull(a)}:function(){return m(void 0)},i=void 0!==t.cancel?function(e){return t.cancel(e)}:function(){return m(void 0)};var s=t.autoAllocateChunkSize;if(0===s)throw new TypeError("autoAllocateChunkSize must be greater than 0");it(e,a,r,o,i,n,s)}(this,o,_t(r,0))}else{var i=yt(r);!function(e,t,n,r){var o,i,a,s=Object.create(yn.prototype);o=void 0!==t.start?function(){return t.start(s)}:function(){},i=void 0!==t.pull?function(){return t.pull(s)}:function(){return m(void 0)},a=void 0!==t.cancel?function(e){return t.cancel(e)}:function(){return m(void 0)},xn(e,s,o,i,a,n,r)}(this,o,_t(r,1),i)}}return(0,l["default"])(e,[{key:"locked",get:function(){if(!Gn(this))throw Wn("locked");return $n(this)}},{key:"cancel",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;return Gn(this)?$n(this)?g(new TypeError("Cannot cancel a stream that already has a reader")):qn(this,e):g(Wn("cancel"))}},{key:"getReader",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;if(!Gn(this))throw Wn("getReader");return void 0===function(e,t){q(e,t);var n=null==e?void 0:e.mode;return{mode:void 0===n?void 0:ut(n,"".concat(t," has member 'mode' that"))}}(e,"First parameter").mode?J(this):ct(this)}},{key:"pipeThrough",value:function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(!Gn(this))throw Wn("pipeThrough");W(e,1,"pipeThrough");var n=function(e,t){q(e,t);var n=null==e?void 0:e.readable;V(n,"readable","ReadableWritablePair"),Q(n,"".concat(t," has member 'readable' that"));var r=null==e?void 0:e.writable;return V(r,"writable","ReadableWritablePair"),It(r,"".concat(t," has member 'writable' that")),{readable:n,writable:r}}(e,"First parameter"),r=Ln(t,"Second parameter");if($n(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(Dt(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return k(_n(this,n.writable,r.preventClose,r.preventAbort,r.preventCancel,r.signal)),n.readable}},{key:"pipeTo",value:function(e){var t,n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(!Gn(this))return g(Wn("pipeTo"));if(void 0===e)return g("Parameter 1 is required in 'pipeTo'.");if(!Tt(e))return g(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));try{t=Ln(n,"Second parameter")}catch(e){return g(e)}return $n(this)?g(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):Dt(e)?g(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):_n(this,e,t.preventClose,t.preventAbort,t.preventCancel,t.signal)}},{key:"tee",value:function(){if(!Gn(this))throw Wn("tee");return de(function(e){return Ne(e._readableStreamController)?function(e){var t,n,r,o,i,a=J(e),s=!1,u=!1,c=!1,l=!1,d=!1,f=v(function(e){i=e});function p(e){w(e._closedPromise,function(t){return e!==a||(Ze(r._readableStreamController,t),Ze(o._readableStreamController,t),l&&d||i(void 0)),null})}function h(){ht(a)&&(M(a),p(a=J(e))),ue(a,{_chunkSteps:function(t){A(function(){u=!1,c=!1;var n=t,a=t;if(!l&&!d)try{a=Ie(t)}catch(t){return Ze(r._readableStreamController,t),Ze(o._readableStreamController,t),void i(qn(e,t))}l||Je(r._readableStreamController,n),d||Je(o._readableStreamController,a),s=!1,u?_():c&&y()})},_closeSteps:function(){s=!1,l||Qe(r._readableStreamController),d||Qe(o._readableStreamController),r._readableStreamController._pendingPullIntos.length>0&&rt(r._readableStreamController,0),o._readableStreamController._pendingPullIntos.length>0&&rt(o._readableStreamController,0),l&&d||i(void 0)},_errorSteps:function(){s=!1}})}function g(t,n){se(a)&&(M(a),p(a=ct(e)));var f=n?o:r,h=n?r:o;vt(a,t,1,{_chunkSteps:function(t){A(function(){u=!1,c=!1;var r=n?d:l;if(n?l:d)r||ot(f._readableStreamController,t);else{var o;try{o=Ie(t)}catch(t){return Ze(f._readableStreamController,t),Ze(h._readableStreamController,t),void i(qn(e,t))}r||ot(f._readableStreamController,t),Je(h._readableStreamController,o)}s=!1,u?_():c&&y()})},_closeSteps:function(e){s=!1;var t=n?d:l,r=n?l:d;t||Qe(f._readableStreamController),r||Qe(h._readableStreamController),void 0!==e&&(t||ot(f._readableStreamController,e),!r&&h._readableStreamController._pendingPullIntos.length>0&&rt(h._readableStreamController,0)),t&&r||i(void 0)},_errorSteps:function(){s=!1}})}function _(){if(s)return u=!0,m(void 0);s=!0;var e=tt(r._readableStreamController);return null===e?h():g(e._view,!1),m(void 0)}function y(){if(s)return c=!0,m(void 0);s=!0;var e=tt(o._readableStreamController);return null===e?h():g(e._view,!0),m(void 0)}function b(){}return r=jn(b,_,function(r){if(l=!0,t=r,d){var o=de([t,n]),a=qn(e,o);i(a)}return f}),o=jn(b,y,function(r){if(d=!0,n=r,l){var o=de([t,n]),a=qn(e,o);i(a)}return f}),p(a),[r,o]}(e):function(e){var t,n,r,o,i,a=J(e),s=!1,u=!1,c=!1,l=!1,d=v(function(e){i=e});function f(){return s?(u=!0,m(void 0)):(s=!0,ue(a,{_chunkSteps:function(e){A(function(){u=!1;var t=e,n=e;c||Cn(r._readableStreamController,t),l||Cn(o._readableStreamController,n),s=!1,u&&f()})},_closeSteps:function(){s=!1,c||An(r._readableStreamController),l||An(o._readableStreamController),c&&l||i(void 0)},_errorSteps:function(){s=!1}}),m(void 0))}function p(){}return r=Un(p,f,function(r){if(c=!0,t=r,l){var o=de([t,n]),a=qn(e,o);i(a)}return d}),o=Un(p,f,function(r){if(l=!0,n=r,c){var o=de([t,n]),a=qn(e,o);i(a)}return d}),w(a._closedPromise,function(e){return In(r._readableStreamController,e),In(o._readableStreamController,e),c&&l||i(void 0),null}),[r,o]}(e)}(this))}},{key:"values",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;if(!Gn(this))throw Wn("values");return function(e,t){var n=J(e),r=new we(n,t),o=Object.create(Ee);return o._asyncIteratorImpl=r,o}(this,function(e){q(e,"First parameter");var t=null==e?void 0:e.preventCancel;return{preventCancel:Boolean(t)}}(e).preventCancel)}},{key:_e,value:function(e){return this.values(e)}}],[{key:"from",value:function(e){return Dn(e)}}]),e}();function Un(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:1,o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:function(){return 1},i=Object.create(Fn.prototype);return Bn(i),xn(i,Object.create(yn.prototype),e,t,n,r,o),i}function jn(e,t,n){var r=Object.create(Fn.prototype);return Bn(r),it(r,Object.create(Pe.prototype),e,t,n,0,void 0),r}function Bn(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function Gn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")&&e instanceof Fn}function $n(e){return void 0!==e._reader}function qn(e,n){if(e._disturbed=!0,"closed"===e._state)return m(void 0);if("errored"===e._state)return g(e._storedError);Hn(e);var r=e._reader;if(void 0!==r&&ht(r)){var o=r._readIntoRequests;r._readIntoRequests=new S,o.forEach(function(e){e._closeSteps(void 0)})}return E(e._readableStreamController[T](n),t)}function Hn(e){e._state="closed";var t=e._reader;if(void 0!==t&&(B(t),se(t))){var n=t._readRequests;t._readRequests=new S,n.forEach(function(e){e._closeSteps()})}}function zn(e,t){e._state="errored",e._storedError=t;var n=e._reader;void 0!==n&&(j(n,t),se(n)?ce(n,t):mt(n,t))}function Wn(e){return new TypeError("ReadableStream.prototype.".concat(e," can only be used on a ReadableStream"))}function Vn(e,t){q(e,t);var n=null==e?void 0:e.highWaterMark;return V(n,"highWaterMark","QueuingStrategyInit"),{highWaterMark:Y(n)}}Object.defineProperties(Fn,{from:{enumerable:!0}}),Object.defineProperties(Fn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),i(Fn.from,"from"),i(Fn.prototype.cancel,"cancel"),i(Fn.prototype.getReader,"getReader"),i(Fn.prototype.pipeThrough,"pipeThrough"),i(Fn.prototype.pipeTo,"pipeTo"),i(Fn.prototype.tee,"tee"),i(Fn.prototype.values,"values"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(Fn.prototype,Symbol.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(Fn.prototype,_e,{value:Fn.prototype.values,writable:!0,configurable:!0});var Yn=function(e){return e.byteLength};i(Yn,"size");var Kn=function(){function e(t){(0,c["default"])(this,e),W(t,1,"ByteLengthQueuingStrategy"),t=Vn(t,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=t.highWaterMark}return(0,l["default"])(e,[{key:"highWaterMark",get:function(){if(!Qn(this))throw Xn("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}},{key:"size",get:function(){if(!Qn(this))throw Xn("size");return Yn}}]),e}();function Xn(e){return new TypeError("ByteLengthQueuingStrategy.prototype.".concat(e," can only be used on a ByteLengthQueuingStrategy"))}function Qn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")&&e instanceof Kn}Object.defineProperties(Kn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(Kn.prototype,Symbol.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});var Jn=function(){return 1};i(Jn,"size");var Zn=function(){function e(t){(0,c["default"])(this,e),W(t,1,"CountQueuingStrategy"),t=Vn(t,"First parameter"),this._countQueuingStrategyHighWaterMark=t.highWaterMark}return(0,l["default"])(e,[{key:"highWaterMark",get:function(){if(!tr(this))throw er("highWaterMark");return this._countQueuingStrategyHighWaterMark}},{key:"size",get:function(){if(!tr(this))throw er("size");return Jn}}]),e}();function er(e){return new TypeError("CountQueuingStrategy.prototype.".concat(e," can only be used on a CountQueuingStrategy"))}function tr(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")&&e instanceof Zn}function nr(e,t,n){return H(e,n),function(n){return I(e,t,[n])}}function rr(e,t,n){return H(e,n),function(n){return C(e,t,[n])}}function or(e,t,n){return H(e,n),function(n,r){return I(e,t,[n,r])}}function ir(e,t,n){return H(e,n),function(n){return I(e,t,[n])}}Object.defineProperties(Zn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(Zn.prototype,Symbol.toStringTag,{value:"CountQueuingStrategy",configurable:!0});var ar=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};(0,c["default"])(this,e),void 0===t&&(t=null);var o=bt(n,"Second parameter"),i=bt(r,"Third parameter"),a=function(e,t){q(e,t);var n=null==e?void 0:e.cancel,r=null==e?void 0:e.flush,o=null==e?void 0:e.readableType,i=null==e?void 0:e.start,a=null==e?void 0:e.transform,s=null==e?void 0:e.writableType;return{cancel:void 0===n?void 0:ir(n,e,"".concat(t," has member 'cancel' that")),flush:void 0===r?void 0:nr(r,e,"".concat(t," has member 'flush' that")),readableType:o,start:void 0===i?void 0:rr(i,e,"".concat(t," has member 'start' that")),transform:void 0===a?void 0:or(a,e,"".concat(t," has member 'transform' that")),writableType:s}}(t,"First parameter");if(void 0!==a.readableType)throw new RangeError("Invalid readableType specified");if(void 0!==a.writableType)throw new RangeError("Invalid writableType specified");var s,u=_t(i,0),l=yt(i),d=_t(o,1),f=yt(o);!function(e,t,n,r,o,i){function a(){return t}e._writable=function(e,t,n,r){var o=arguments.length>4&&arguments[4]!==undefined?arguments[4]:1,i=arguments.length>5&&arguments[5]!==undefined?arguments[5]:function(){return 1},a=Object.create(St.prototype);return xt(a),Kt(a,Object.create(Vt.prototype),e,t,n,r,o,i),a}(a,function(t){return function(e,t){var n=e._transformStreamController;return e._backpressure?E(e._backpressureChangePromise,function(){var r=e._writable;if("erroring"===r._state)throw r._storedError;return mr(n,t)}):mr(n,t)}(e,t)},function(){return function(e){var t=e._transformStreamController;if(void 0!==t._finishPromise)return t._finishPromise;var n=e._readable;t._finishPromise=v(function(e,n){t._finishPromise_resolve=e,t._finishPromise_reject=n});var r=t._flushAlgorithm();return hr(t),y(r,function(){return"errored"===n._state?yr(t,n._storedError):(An(n._readableStreamController),_r(t)),null},function(e){return In(n._readableStreamController,e),yr(t,e),null}),t._finishPromise}(e)},function(t){return function(e,t){var n=e._transformStreamController;if(void 0!==n._finishPromise)return n._finishPromise;var r=e._readable;n._finishPromise=v(function(e,t){n._finishPromise_resolve=e,n._finishPromise_reject=t});var o=n._cancelAlgorithm(t);return hr(n),y(o,function(){return"errored"===r._state?yr(n,r._storedError):(In(r._readableStreamController,t),_r(n)),null},function(e){return In(r._readableStreamController,e),yr(n,e),null}),n._finishPromise}(e,t)},n,r),e._readable=Un(a,function(){return function(e){return dr(e,!1),e._backpressureChangePromise}(e)},function(t){return function(e,t){var n=e._transformStreamController;if(void 0!==n._finishPromise)return n._finishPromise;var r=e._writable;n._finishPromise=v(function(e,t){n._finishPromise_resolve=e,n._finishPromise_reject=t});var o=n._cancelAlgorithm(t);return hr(n),y(o,function(){return"errored"===r._state?yr(n,r._storedError):(Zt(r._writableStreamController,t),lr(e),_r(n)),null},function(t){return Zt(r._writableStreamController,t),lr(e),yr(n,t),null}),n._finishPromise}(e,t)},o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,dr(e,!0),e._transformStreamController=void 0}(this,v(function(e){s=e}),d,f,u,l),function(e,t){var n,r,o,i=Object.create(fr.prototype);n=void 0!==t.transform?function(e){return t.transform(e,i)}:function(e){try{return vr(i,e),m(void 0)}catch(e){return g(e)}},r=void 0!==t.flush?function(){return t.flush(i)}:function(){return m(void 0)},o=void 0!==t.cancel?function(e){return t.cancel(e)}:function(){return m(void 0)},function(e,t,n,r,o){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=n,t._flushAlgorithm=r,t._cancelAlgorithm=o,t._finishPromise=void 0,t._finishPromise_resolve=void 0,t._finishPromise_reject=void 0}(e,i,n,r,o)}(this,a),void 0!==a.start?s(a.start(this._transformStreamController)):s(void 0)}return(0,l["default"])(e,[{key:"readable",get:function(){if(!sr(this))throw br("readable");return this._readable}},{key:"writable",get:function(){if(!sr(this))throw br("writable");return this._writable}}]),e}();function sr(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")&&e instanceof ar}function ur(e,t){In(e._readable._readableStreamController,t),cr(e,t)}function cr(e,t){hr(e._transformStreamController),Zt(e._writable._writableStreamController,t),lr(e)}function lr(e){e._backpressure&&dr(e,!1)}function dr(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=v(function(t){e._backpressureChangePromise_resolve=t}),e._backpressure=t}Object.defineProperties(ar.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(ar.prototype,Symbol.toStringTag,{value:"TransformStream",configurable:!0});var fr=function(){function e(){throw(0,c["default"])(this,e),new TypeError("Illegal constructor")}return(0,l["default"])(e,[{key:"desiredSize",get:function(){if(!pr(this))throw gr("desiredSize");return Sn(this._controlledTransformStream._readable._readableStreamController)}},{key:"enqueue",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;if(!pr(this))throw gr("enqueue");vr(this,e)}},{key:"error",value:function(){var e,t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:void 0;if(!pr(this))throw gr("error");e=t,ur(this._controlledTransformStream,e)}},{key:"terminate",value:function(){if(!pr(this))throw gr("terminate");!function(e){var t=e._controlledTransformStream;An(t._readable._readableStreamController),cr(t,new TypeError("TransformStream terminated"))}(this)}}]),e}();function pr(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")&&e instanceof fr}function hr(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0,e._cancelAlgorithm=void 0}function vr(e,t){var n=e._controlledTransformStream,r=n._readable._readableStreamController;if(!On(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{Cn(r,t)}catch(e){throw cr(n,e),n._readable._storedError}var o=function(e){return!En(e)}(r);o!==n._backpressure&&dr(n,!0)}function mr(e,t){return E(e._transformAlgorithm(t),void 0,function(t){throw ur(e._controlledTransformStream,t),t})}function gr(e){return new TypeError("TransformStreamDefaultController.prototype.".concat(e," can only be used on a TransformStreamDefaultController"))}function _r(e){void 0!==e._finishPromise_resolve&&(e._finishPromise_resolve(),e._finishPromise_resolve=void 0,e._finishPromise_reject=void 0)}function yr(e,t){void 0!==e._finishPromise_reject&&(k(e._finishPromise),e._finishPromise_reject(t),e._finishPromise_resolve=void 0,e._finishPromise_reject=void 0)}function br(e){return new TypeError("TransformStream.prototype.".concat(e," can only be used on a TransformStream"))}Object.defineProperties(fr.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),i(fr.prototype.enqueue,"enqueue"),i(fr.prototype.error,"error"),i(fr.prototype.terminate,"terminate"),"symbol"==(0,d["default"])(Symbol.toStringTag)&&Object.defineProperty(fr.prototype,Symbol.toStringTag,{value:"TransformStreamDefaultController",configurable:!0}),e.ByteLengthQueuingStrategy=Kn,e.CountQueuingStrategy=Zn,e.ReadableByteStreamController=Pe,e.ReadableStream=Fn,e.ReadableStreamBYOBReader=pt,e.ReadableStreamBYOBRequest=De,e.ReadableStreamDefaultController=yn,e.ReadableStreamDefaultReader=ae,e.TransformStream=ar,e.TransformStreamDefaultController=fr,e.WritableStream=St,e.WritableStreamDefaultController=Vt,e.WritableStreamDefaultWriter=Bt},"object"==(0,d["default"])(t)?a(t):(o=[t],(i="function"==typeof(r=a)?r.apply(t,o):r)===undefined||(e.exports=i))},3774:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0;var o=r(n(8850)),i=r(n(1332)),a=n(4001),s=n(4008),u=n(5779),c=n(9105);function l(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function d(e){var t,n,r="",o=e.length;for(t=0;t<o;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}t.Lexer=function(){function e(t){(0,o["default"])(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||s.defaults,this.options.tokenizer=this.options.tokenizer||new a.Tokenizer,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var n={block:u.block.normal,inline:u.inline.normal};this.options.pedantic?(n.block=u.block.pedantic,n.inline=u.inline.pedantic):this.options.gfm&&(n.block=u.block.gfm,this.options.breaks?n.inline=u.inline.breaks:n.inline=u.inline.gfm),this.tokenizer.rules=n}return(0,i["default"])(e,[{key:"lex",value:function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}},{key:"blockTokens",value:function(e){var t,n,r,o,i=this,a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];this.options.pedantic&&(e=e.replace(/^ +$/gm,""));for(var s,u=function(){if(i.options.extensions&&i.options.extensions.block&&i.options.extensions.block.some(function(n){return!!(t=n.call({lexer:i},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0)}))return 0;if(t=i.tokenizer.space(e))return e=e.substring(t.raw.length),1===t.raw.length&&a.length>0?a[a.length-1].raw+="\n":a.push(t),0;if(t=i.tokenizer.code(e))return e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?a.push(t):(n.raw+="\n"+t.raw,n.text+="\n"+t.text,i.inlineQueue[i.inlineQueue.length-1].src=n.text),0;if(t=i.tokenizer.fences(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=i.tokenizer.heading(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=i.tokenizer.hr(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=i.tokenizer.blockquote(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=i.tokenizer.list(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=i.tokenizer.html(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=i.tokenizer.def(e))return e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?i.tokens.links[t.tag]||(i.tokens.links[t.tag]={href:t.href,title:t.title}):(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,i.inlineQueue[i.inlineQueue.length-1].src=n.text),0;if(t=i.tokenizer.table(e))return e=e.substring(t.raw.length),a.push(t),0;if(t=i.tokenizer.lheading(e))return e=e.substring(t.raw.length),a.push(t),0;if(r=e,i.options.extensions&&i.options.extensions.startBlock){var s,u=Infinity,c=e.slice(1);i.options.extensions.startBlock.forEach(function(e){"number"==typeof(s=e.call({lexer:this},c))&&s>=0&&(u=Math.min(u,s))}),u<Infinity&&u>=0&&(r=e.substring(0,u+1))}if(i.state.top&&(t=i.tokenizer.paragraph(r)))return n=a[a.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,i.inlineQueue.pop(),i.inlineQueue[i.inlineQueue.length-1].src=n.text):a.push(t),o=r.length!==e.length,e=e.substring(t.raw.length),0;if(t=i.tokenizer.text(e))return e=e.substring(t.raw.length),(n=a[a.length-1])&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,i.inlineQueue.pop(),i.inlineQueue[i.inlineQueue.length-1].src=n.text):a.push(t),0;if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(i.options.silent)return console.error(l),1;throw new Error(l)}};e&&(0===(s=u())||1!==s););return this.state.top=!0,a}},{key:"inline",value:function(e,t){this.inlineQueue.push({src:e,tokens:t})}},{key:"inlineTokens",value:function(e){var t,n,r,o,i,a,s=this,u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[],f=e;if(this.tokens.links){var p=Object.keys(this.tokens.links);if(p.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(f));)p.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(f=f.slice(0,o.index)+"["+(0,c.repeatString)("a",o[0].length-2)+"]"+f.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(f));)f=f.slice(0,o.index)+"["+(0,c.repeatString)("a",o[0].length-2)+"]"+f.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.escapedEmSt.exec(f));)f=f.slice(0,o.index)+"++"+f.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(var h,v=function(){if(i||(a=""),i=!1,t=s.tokenizer.owo(e))return e=e.substring(t.raw.length),t.type&&u.push(t),0;if(s.options.extensions&&s.options.extensions.inline&&s.options.extensions.inline.some(function(n){return!!(t=n.call({lexer:s},e,u))&&(e=e.substring(t.raw.length),u.push(t),!0)}))return 0;if(t=s.tokenizer.escape(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.tag(e))return e=e.substring(t.raw.length),(n=u[u.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):u.push(t),0;if(t=s.tokenizer.link(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.reflink(e,s.tokens.links))return e=e.substring(t.raw.length),(n=u[u.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):u.push(t),0;if(t=s.tokenizer.emStrong(e,f,a))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.codespan(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.br(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.del(e))return e=e.substring(t.raw.length),u.push(t),0;if(t=s.tokenizer.autolink(e,d))return e=e.substring(t.raw.length),u.push(t),0;if(!s.state.inLink&&(t=s.tokenizer.url(e,d)))return e=e.substring(t.raw.length),u.push(t),0;if(r=e,s.options.extensions&&s.options.extensions.startInline){var o,c=Infinity,p=e.slice(1);s.options.extensions.startInline.forEach(function(e){"number"==typeof(o=e.call({lexer:this},p))&&o>=0&&(c=Math.min(c,o))}),c<Infinity&&c>=0&&(r=e.substring(0,c+1))}if(t=s.tokenizer.inlineText(r,l))return e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(a=t.raw.slice(-1)),i=!0,(n=u[u.length-1])&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):u.push(t),0;if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(s.options.silent)return console.error(h),1;throw new Error(h)}};e&&(0===(h=v())||1!==h););return u}}],[{key:"rules",get:function(){return{block:u.block,inline:u.inline}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}]),e}()},2817:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var o=r(n(8850)),i=r(n(1332)),a=n(7565),s=n(1674),u=n(2123),c=n(4008),l=n(9105);t.Parser=function(){function e(t){(0,o["default"])(this,e),this.options=t||c.defaults,this.options.renderer=this.options.renderer||new a.Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new s.TextRenderer,this.slugger=new u.Slugger}return(0,i["default"])(e,[{key:"parse",value:function(e){var t,n,r,o,i,a,s,u,c,d,f,p,h,v,m,g,_,y,b,w=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],E="",k=e.length;for(t=0;t<k;t++)if(d=e[t],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type])||!1===(b=this.options.extensions.renderers[d.type].call({parser:this},d))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type))switch(d.type){case"space":continue;case"hr":E+=this.renderer.hr();continue;case"heading":E+=this.renderer.heading(this.parseInline(d.tokens),d.depth,(0,l.unescape)(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":E+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(u="",s="",o=d.header.length,n=0;n<o;n++)s+=this.renderer.tablecell(this.parseInline(d.header[n].tokens),{header:!0,align:d.align[n]});for(u+=this.renderer.tablerow(s),c="",o=d.rows.length,n=0;n<o;n++){for(s="",i=(a=d.rows[n]).length,r=0;r<i;r++)s+=this.renderer.tablecell(this.parseInline(a[r].tokens),{header:!1,align:d.align[r]});c+=this.renderer.tablerow(s)}E+=this.renderer.table(u,c);continue;case"blockquote":c=this.parse(d.tokens),E+=this.renderer.blockquote(c);continue;case"list":for(f=d.ordered,p=d.start,h=d.loose,o=d.items.length,c="",n=0;n<o;n++)g=(m=d.items[n]).checked,_=m.task,v="",m.task&&(y=this.renderer.checkbox(g),h?m.tokens.length>0&&"paragraph"===m.tokens[0].type?(m.tokens[0].text=y+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=y+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:y}):v+=y),v+=this.parse(m.tokens,h),c+=this.renderer.listitem(v,_,g);E+=this.renderer.list(c,f,p);continue;case"html":E+=this.renderer.html(d.text);continue;case"paragraph":E+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(c=d.tokens?this.parseInline(d.tokens):d.text;t+1<k&&"text"===e[t+1].type;)c+="\n"+((d=e[++t]).tokens?this.parseInline(d.tokens):d.text);E+=w?this.renderer.paragraph(c):c;continue;default:var A='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(A);throw new Error(A)}else E+=b||"";return E}},{key:"parseInline",value:function(e,t){t=t||this.renderer;var n,r,o,i="",a=e.length;for(n=0;n<a;n++)if(r=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type])||!1===(o=this.options.extensions.renderers[r.type].call({parser:this},r))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))switch(r.type){case"owo":i+=t.owo(r.text);break;case"escape":case"text":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;default:var s='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(s);throw new Error(s)}else i+=o||"";return i}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}]),e}()},7565:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var o=r(n(8850)),i=r(n(1332)),a=n(4008),s=n(9105);t.Renderer=function(){function e(t){(0,o["default"])(this,e),this.options=t||a.defaults}return(0,i["default"])(e,[{key:"owo",value:function(e){var t=this.options.odata;return t&&t[e]?'<img class="tk-owo-emotion" src="'+t[e]+'" alt=":'+e+':">':":"+e+":"}},{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,r);null!=o&&o!==e&&(n=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+(0,s.escape)(r,!0)+'">'+(n?e:(0,s.escape)(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:(0,s.escape)(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n"+e+"</blockquote>\n"}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>"+e+"</li>\n"}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>"+e+"</p>\n"}},{key:"table",value:function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n"+e+"</tr>\n"}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}},{key:"strong",value:function(e){return"<strong>"+e+"</strong>"}},{key:"em",value:function(e){return"<em>"+e+"</em>"}},{key:"codespan",value:function(e){return"<code>"+e+"</code>"}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>"+e+"</del>"}},{key:"link",value:function(e,t,n){if(null===(e=(0,s.cleanUrl)(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+(0,s.escape)(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(null===(e=(0,s.cleanUrl)(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}()},2123:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Slugger=void 0;var o=r(n(8850)),i=r(n(1332));t.Slugger=function(){function e(){(0,o["default"])(this,e),this.seen={}}return(0,i["default"])(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}},{key:"slug",value:function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}]),e}()},1674:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderer=void 0;var o=r(n(8850)),i=r(n(1332));t.TextRenderer=function(){function e(){(0,o["default"])(this,e)}return(0,i["default"])(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}()},4001:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.Tokenizer=void 0;var o=r(n(8850)),i=r(n(1332)),a=r(n(9272)),s=n(4008),u=n(9105);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t,n,r){var o=t.href,i=t.title?(0,u.escape)(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var s={type:"link",raw:n,href:o,title:i,text:a,tokens:r.inlineTokens(a,[])};return r.state.inLink=!1,s}return{type:"image",raw:n,href:o,title:i,text:(0,u.escape)(a)}}t.Tokenizer=function(){function e(t){(0,o["default"])(this,e),this.options=t||s.defaults}return(0,i["default"])(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:(0,u.rtrim)(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:(0,a["default"])(t,1)[0].length>=r.length?e.slice(r.length):e}).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=(0,u.rtrim)(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}var o={type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:[]};return this.lexer.inline(o.text,o.tokens),o}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,o,i,a,s,u,l,d,f,p,h,v=t[1].trim(),m=v.length>1,g={type:"list",raw:"",ordered:m,start:m?+v.slice(0,-1):"",loose:!1,items:[]};v=m?"\\d{1,9}\\".concat(v.slice(-1)):"\\".concat(v),this.options.pedantic&&(v=m?v:"[*+-]");for(var _=new RegExp("^( {0,3}".concat(v,")((?: [^\\n]*)?(?:\\n|$))"));e&&(h=!1,t=_.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),l=t[2].split("\n",1)[0],d=e.split("\n",1)[0],this.options.pedantic?(i=2,p=l.trimLeft()):(i=(i=t[2].search(/[^ ]/))>4?1:i,p=l.slice(i),i+=t[1].length),s=!1,!l&&/^ *$/.test(d)&&(n+=d+"\n",e=e.substring(d.length+1),h=!0),!h)for(var y=new RegExp("^ {0,".concat(Math.min(3,i-1),"}(?:[*+-]|\\d{1,9}[.)])"));e&&(l=f=e.split("\n",1)[0],this.options.pedantic&&(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!y.test(l));){if(l.search(/[^ ]/)>=i||!l.trim())p+="\n"+l.slice(i);else{if(s)break;p+="\n"+l}s||l.trim()||(s=!0),n+=f+"\n",e=e.substring(f.length+1)}g.loose||(u?g.loose=!0:/\n *\n *$/.test(n)&&(u=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p))&&(o="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,"")),g.items.push({type:"list_item",raw:n,task:!!r,checked:o,loose:!1,text:p}),g.raw+=n}g.items[g.items.length-1].raw=n.trimRight(),g.items[g.items.length-1].text=p.trimRight(),g.raw=g.raw.trimRight();var b=g.items.length;for(a=0;a<b;a++){this.lexer.state.top=!1,g.items[a].tokens=this.lexer.blockTokens(g.items[a].text,[]);var w=g.items[a].tokens.filter(function(e){return"space"===e.type}),E=w.every(function(e){var t,n=0,r=c(e.raw.split(""));try{for(r.s();!(t=r.n()).done;)if("\n"===t.value&&(n+=1),n>1)return!0}catch(o){r.e(o)}finally{r.f()}return!1});!g.loose&&w.length&&E&&(g.loose=!0,g.items[a].loose=!0)}return g}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(n.type="paragraph",n.text=this.options.sanitizer?this.options.sanitizer(t[0]):(0,u.escape)(t[0]),n.tokens=[],this.lexer.inline(n.text,n.tokens)),n}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:(0,u.splitCells)(t[1]).map(function(e){return{text:e}}),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,o,i,a,s=n.align.length;for(r=0;r<s;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(s=n.rows.length,r=0;r<s;r++)n.rows[r]=(0,u.splitCells)(n.rows[r],n.header.length).map(function(e){return{text:e}});for(s=n.header.length,o=0;o<s;o++)n.header[o].tokens=[],this.lexer.inlineTokens(n.header[o].text,n.header[o].tokens);for(s=n.rows.length,o=0;o<s;o++)for(a=n.rows[o],i=0;i<a.length;i++)a[i].tokens=[],this.lexer.inlineTokens(a[i].text,a[i].tokens);return n}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t){var n={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t){var n={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:(0,u.escape)(t[1])}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):(0,u.escape)(t[0]):t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=(0,u.rtrim)(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var o=(0,u.findClosingBracket)(t[2],"()");if(o>-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,i).trim(),t[3]=""}}var a=t[2],s="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);c&&(a=c[1],s=c[3])}else s=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),d(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])||!r.href){var o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return d(n,r,n[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))){var o=r[1]||r[2]||"";if(!o||o&&(""===n||this.rules.inline.punctuation.exec(n))){var i,a,s=r[0].length-1,u=s,c=0,l="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+s);null!=(r=l.exec(t));)if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(a=i.length,r[3]||r[4])u+=a;else if(!((r[5]||r[6])&&s%3)||(s+a)%3){if(!((u-=a)>0)){if(a=Math.min(a,a+u+c),Math.min(s,a)%2){var d=e.slice(1,s+r.index+a);return{type:"em",raw:e.slice(0,s+r.index+a+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}var f=e.slice(2,s+r.index+a-1);return{type:"strong",raw:e.slice(0,s+r.index+a+1),text:f,tokens:this.lexer.inlineTokens(f,[])}}}else c+=a}}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),o=/^ /.test(n)&&/ $/.test(n);return r&&o&&(n=n.substring(1,n.length-1)),n=(0,u.escape)(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}},{key:"owo",value:function(e){var t=this.rules.inline.owo.exec(e);if(t&&t[0].length>1)return{type:"owo",raw:t[0],text:t[1]}}},{key:"autolink",value:function(e,t){var n,r,o=this.rules.inline.autolink.exec(e);if(o)return r="@"===o[2]?"mailto:"+(n=(0,u.escape)(this.options.mangle?t(o[1]):o[1])):n=(0,u.escape)(o[1]),{type:"link",raw:o[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},{key:"url",value:function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,o;if("@"===n[2])o="mailto:"+(r=(0,u.escape)(this.options.mangle?t(n[0]):n[0]));else{var i;do{i=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(i!==n[0]);r=(0,u.escape)(n[0]),o="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,t){var n,r=this.rules.inline.text.exec(e);if(r)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):(0,u.escape)(r[0]):r[0]:(0,u.escape)(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:n}}}]),e}()},4008:function(e,t){"use strict";function n(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.changeDefaults=function(e){t.defaults=e},t.defaults=void 0,t.getDefaults=n,t.defaults={baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},9105:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSanitizeDeprecation=function(e){e&&e.sanitize&&!e.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")},t.cleanUrl=function(e,t,n){if(e){var r;try{r=decodeURIComponent(c(n)).replace(d,"").toLowerCase()}catch(o){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!f.test(n)&&(n=g(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(o){return null}return n},t.edit=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(l,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n},t.escape=function(e,t){if(t){if(n.test(e))return e.replace(r,s)}else if(o.test(e))return e.replace(i,s);return e},t.findClosingBracket=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,o=0;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])r++;else if(e[o]===t[1]&&--r<0)return o;return-1},t.merge=function(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.noopTest=void 0,t.repeatString=function(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e},t.resolveUrl=g,t.rtrim=_,t.splitCells=function(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,o=t;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"}).split(/ \|/),r=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(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},t.unescape=c;var n=/[&<>"']/,r=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=function(e){return a[e]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function c(e){return e.replace(u,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var l=/(^|[^\[])\^/g,d=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,p={},h=/^[^:]+:\/*[^/]*$/,v=/^([^:]+:)[\s\S]*$/,m=/^([^:]+:\/*[^/]*)[\s\S]*$/;function g(e,t){p[" "+e]||(h.test(e)?p[" "+e]=e+"/":p[" "+e]=_(e,"/",!0));var n=-1===(e=p[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(v,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(m,"$1")+t:e+t}function _(e,t,n){var r=e.length;if(0===r)return"";for(var o=0;o<r;){var i=e.charAt(r-o-1);if(i!==t||n){if(i===t||!n)break;o++}else o++}return e.substr(0,r-o)}t.noopTest={exec:function(){}}},78:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Lexer",{enumerable:!0,get:function(){return r.Lexer}}),Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return o.Parser}}),Object.defineProperty(t,"Renderer",{enumerable:!0,get:function(){return a.Renderer}}),Object.defineProperty(t,"Slugger",{enumerable:!0,get:function(){return u.Slugger}}),Object.defineProperty(t,"TextRenderer",{enumerable:!0,get:function(){return s.TextRenderer}}),Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return i.Tokenizer}}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return l.defaults}}),Object.defineProperty(t,"getDefaults",{enumerable:!0,get:function(){return l.getDefaults}}),t.lexer=void 0,t.marked=p,t.walkTokens=t.use=t.setOptions=t.parser=t.parseInline=t.parse=t.options=void 0;var r=n(3774),o=n(2817),i=n(4001),a=n(7565),s=n(1674),u=n(2123),c=n(9105),l=n(4008);function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),t=(0,c.merge)({},p.defaults,t||{}),(0,c.checkSanitizeDeprecation)(t),n){var i,a=t.highlight;try{i=r.Lexer.lex(e,t)}catch(d){return n(d)}var s=function(e){var r;if(!e)try{t.walkTokens&&p.walkTokens(i,t.walkTokens),r=o.Parser.parse(i,t)}catch(d){e=d}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return s();if(delete t.highlight,!i.length)return s();var u=0;return p.walkTokens(i,function(e){"code"===e.type&&(u++,setTimeout(function(){a(e.text,e.lang,function(t,n){if(t)return s(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0===--u&&s()})},0))}),void(0===u&&s())}try{var l=r.Lexer.lex(e,t);return t.walkTokens&&p.walkTokens(l,t.walkTokens),o.Parser.parse(l,t)}catch(d){if(d.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+(0,c.escape)(d.message+"",!0)+"</pre>";throw d}}p.options=p.setOptions=function(e){return(0,c.merge)(p.defaults,e),(0,l.changeDefaults)(p.defaults),p},p.getDefaults=l.getDefaults,p.defaults=l.defaults,p.use=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=c.merge.apply(void 0,[{}].concat(t)),s=p.defaults.extensions||{renderers:{},childTokens:{}};t.forEach(function(e){if(e.extensions&&(r=!0,e.extensions.forEach(function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var t=s.renderers?s.renderers[e.name]:null;s.renderers[e.name]=t?function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=e.renderer.apply(this,r);return!1===i&&(i=t.apply(this,r)),i}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");s[e.level]?s[e.level].unshift(e.tokenizer):s[e.level]=[e.tokenizer],e.start&&("block"===e.level?s.startBlock?s.startBlock.push(e.start):s.startBlock=[e.start]:"inline"===e.level&&(s.startInline?s.startInline.push(e.start):s.startInline=[e.start]))}e.childTokens&&(s.childTokens[e.name]=e.childTokens)})),e.renderer){var t=p.defaults.renderer||new a.Renderer,n=function(n){var r=t[n];t[n]=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=e.renderer[n].apply(t,i);return!1===s&&(s=r.apply(t,i)),s}};for(var u in e.renderer)n(u);o.renderer=t}if(e.tokenizer){var c=p.defaults.tokenizer||new i.Tokenizer,l=function(t){var n=c[t];c[t]=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=e.tokenizer[t].apply(c,o);return!1===a&&(a=n.apply(c,o)),a}};for(var d in e.tokenizer)l(d);o.tokenizer=c}if(e.walkTokens){var f=p.defaults.walkTokens;o.walkTokens=function(t){e.walkTokens.call(this,t),f&&f.call(this,t)}}r&&(o.extensions=s),p.setOptions(o)})},p.walkTokens=function(e,t){var n,r=d(e);try{var o=function(){var e=n.value;switch(t.call(p,e),e.type){case"table":var r,o=d(e.header);try{for(o.s();!(r=o.n()).done;){var i=r.value;p.walkTokens(i.tokens,t)}}catch(f){o.e(f)}finally{o.f()}var a,s=d(e.rows);try{for(s.s();!(a=s.n()).done;){var u,c=d(a.value);try{for(c.s();!(u=c.n()).done;){var l=u.value;p.walkTokens(l.tokens,t)}}catch(f){c.e(f)}finally{c.f()}}}catch(f){s.e(f)}finally{s.f()}break;case"list":p.walkTokens(e.items,t);break;default:p.defaults.extensions&&p.defaults.extensions.childTokens&&p.defaults.extensions.childTokens[e.type]?p.defaults.extensions.childTokens[e.type].forEach(function(n){p.walkTokens(e[n],t)}):e.tokens&&p.walkTokens(e.tokens,t)}};for(r.s();!(n=r.n()).done;)o()}catch(i){r.e(i)}finally{r.f()}},p.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=(0,c.merge)({},p.defaults,t||{}),(0,c.checkSanitizeDeprecation)(t);try{var n=r.Lexer.lexInline(e,t);return t.walkTokens&&p.walkTokens(n,t.walkTokens),o.Parser.parseInline(n,t)}catch(i){if(i.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+(0,c.escape)(i.message+"",!0)+"</pre>";throw i}},p.Parser=o.Parser,p.parser=o.Parser.parse,p.Renderer=a.Renderer,p.TextRenderer=s.TextRenderer,p.Lexer=r.Lexer,p.lexer=r.Lexer.lex,p.Tokenizer=i.Tokenizer,p.Slugger=u.Slugger,p.parse=p,t.options=p.options,t.setOptions=p.setOptions,t.use=p.use,t.walkTokens=p.walkTokens,t.parseInline=p.parseInline,t.parse=p,t.parser=o.Parser.parse,t.lexer=r.Lexer.lex},5779:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inline=t.block=void 0;var r=n(9105),o=t.block={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}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:r.noopTest,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};o._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,o._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,o.def=(0,r.edit)(o.def).replace("label",o._label).replace("title",o._title).getRegex(),o.bullet=/(?:[*+-]|\d{1,9}[.)])/,o.listItemStart=(0,r.edit)(/^( *)(bull) */).replace("bull",o.bullet).getRegex(),o.list=(0,r.edit)(o.list).replace(/bull/g,o.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+o.def.source+")").getRegex(),o._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",o._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,o.html=(0,r.edit)(o.html,"i").replace("comment",o._comment).replace("tag",o._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),o.paragraph=(0,r.edit)(o._paragraph).replace("hr",o.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",o._tag).getRegex(),o.blockquote=(0,r.edit)(o.blockquote).replace("paragraph",o.paragraph).getRegex(),o.normal=(0,r.merge)({},o),o.gfm=(0,r.merge)({},o.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),o.gfm.table=(0,r.edit)(o.gfm.table).replace("hr",o.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",o._tag).getRegex(),o.gfm.paragraph=(0,r.edit)(o._paragraph).replace("hr",o.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",o.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",o._tag).getRegex(),o.pedantic=(0,r.merge)({},o.normal,{html:(0,r.edit)("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",o._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:r.noopTest,paragraph:(0,r.edit)(o.normal._paragraph).replace("hr",o.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",o.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var i=t.inline={owo:/^:(\S*):/,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:r.noopTest,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]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:r.noopTest,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`:*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};i._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",i.punctuation=(0,r.edit)(i.punctuation).replace(/punctuation/g,i._punctuation).getRegex(),i.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,i.escapedEmSt=/\\\*|\\_/g,i._comment=(0,r.edit)(o._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),i.emStrong.lDelim=(0,r.edit)(i.emStrong.lDelim).replace(/punct/g,i._punctuation).getRegex(),i.emStrong.rDelimAst=(0,r.edit)(i.emStrong.rDelimAst,"g").replace(/punct/g,i._punctuation).getRegex(),i.emStrong.rDelimUnd=(0,r.edit)(i.emStrong.rDelimUnd,"g").replace(/punct/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=(0,r.edit)(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=(0,r.edit)(i.tag).replace("comment",i._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,i._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=(0,r.edit)(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=(0,r.edit)(i.reflink).replace("label",i._label).replace("ref",o._label).getRegex(),i.nolink=(0,r.edit)(i.nolink).replace("ref",o._label).getRegex(),i.reflinkSearch=(0,r.edit)(i.reflinkSearch,"g").replace("reflink",i.reflink).replace("nolink",i.nolink).getRegex(),i.normal=(0,r.merge)({},i),i.pedantic=(0,r.merge)({},i.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:(0,r.edit)(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:(0,r.edit)(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=(0,r.merge)({},i.normal,{escape:(0,r.edit)(i.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:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`:*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),i.gfm.url=(0,r.edit)(i.gfm.url,"i").replace("email",i.gfm._extended_email).getRegex(),i.breaks=(0,r.merge)({},i.gfm,{br:(0,r.edit)(i.br).replace("{2,}","*").getRegex(),text:(0,r.edit)(i.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()})},1628:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(n(8850)),i=r(n(1332));t["default"]=function(){function e(t){var n=this;(0,o["default"])(this,e);var r={logo:"OwO表情",container:document.getElementsByClassName("OwO")[0],target:document.getElementsByTagName("textarea")[0],position:"down",maxHeight:"250px",odata:{}};for(var i in r)r[i]&&!t[i]&&(t[i]=r[i]);this.container=t.container,this.target=t.target,"up"===t.position&&this.container.classList.add("OwO-up"),this.odata=t.odata,setTimeout(function(){n.init(t)})}return(0,i["default"])(e,[{key:"init",value:function(e){var t=this;this.area=e.target,this.packages=Object.keys(this.odata);for(var n='<div class="OwO-logo">'.concat(e.logo,"</div>")+'<div class="OwO-body">',r=0;r<this.packages.length;r++){n+='<ul class="OwO-items OwO-items-'.concat(this.odata[this.packages[r]].type,'" style="max-height: ').concat(parseInt(e.maxHeight)-53+"px",';">');for(var o=this.odata[this.packages[r]].container,i=0;i<o.length;i++){var a=o[i].icon.replace("<img",'<img loading="lazy"');n+='<li class="OwO-item" title="'.concat(o[i].text,'">').concat(a,"</li>")}n+="</ul>"}n+='<div class="OwO-bar"><ul class="OwO-packages">';for(var s=0;s<this.packages.length;s++)n+="<li><span>".concat(this.packages[s],"</span></li>");n+="</ul></div></div>",this.container.innerHTML=n,this.logo=this.container.getElementsByClassName("OwO-logo")[0],this.logo.addEventListener("click",function(){t.toggle()}),this.container.getElementsByClassName("OwO-body")[0].addEventListener("click",function(e){var n=null;if(e.target.classList.contains("OwO-item")?n=e.target:e.target.parentNode.classList.contains("OwO-item")&&(n=e.target.parentNode),n){var r=t.area.selectionEnd,o=t.area.value,i=n.innerHTML;if(-1!==i.indexOf("<img"))if(n.title)i=":"+n.title+": ";else{var a=i.indexOf('src="')+5,s=i.indexOf('"',a);-1!==a&&-1!==s&&(i="![".concat(n.title||"","](").concat(i.substring(a,s),")"))}t.area.value=o.slice(0,r)+i+o.slice(r),t.area.dispatchEvent(new InputEvent("input")),t.area.focus(),t.toggle()}}),this.packagesEle=this.container.getElementsByClassName("OwO-packages")[0];for(var u=function(e){var n;n=e,t.packagesEle.children[e].addEventListener("click",function(){t.tab(n)})},c=0;c<this.packagesEle.children.length;c++)u(c);this.tab(0)}},{key:"toggle",value:function(){this.container.classList.contains("OwO-open")?this.container.classList.remove("OwO-open"):this.container.classList.add("OwO-open")}},{key:"tab",value:function(e){var t=this.container.getElementsByClassName("OwO-items-show")[0];t&&t.classList.remove("OwO-items-show"),this.container.getElementsByClassName("OwO-items")[e].classList.add("OwO-items-show");var n=this.container.getElementsByClassName("OwO-package-active")[0];n&&n.classList.remove("OwO-package-active"),this.packagesEle.getElementsByTagName("li")[e].classList.add("OwO-package-active")}}]),e}()},585:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.isUrl=t.call=void 0;var o=r(n(479)),i=r(n(3852)),a=r(n(4964)),s=n(1085);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){(0,i["default"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l=t.isUrl=function(e){return/^http(s)?:\/\//.test(e)};t.call=function(){var e=(0,a["default"])(o["default"].mark(function t(e,n){var r,i,a,u,d,f=arguments;return o["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=f.length>2&&f[2]!==undefined?f[2]:{},i=e||(s.app?s.app.$tcb:null),a=r.envId||s.app.$twikoo.envId,u=r.funcName||(null===s.app||void 0===s.app?void 0:s.app.$twikoo.funcName)||"twikoo",!i){t.next=33;break}return t.prev=5,t.next=8,i.app.callFunction({name:u,data:c({event:n},r)});case 8:case 27:case 36:return t.abrupt("return",t.sent);case 11:t.prev=11,t.t0=t["catch"](5),t.t1=n,t.next="COMMENT_LIKE"===t.t1?16:"COMMENT_GET"===t.t1?18:"COMMENT_SUBMIT"===t.t1?20:"COUNTER_GET"===t.t1?22:24;break;case 16:return d="comment-like",t.abrupt("break",24);case 18:return d="comment-get",t.abrupt("break",24);case 20:return d="comment-submit",t.abrupt("break",24);case 22:return d="counter-get",t.abrupt("break",24);case 24:if(!d){t.next=30;break}return t.next=27,i.app.callFunction({name:d,data:r});case 30:throw new Error("请升级 Twikoo 云函数版本再试,如果仍无法解决,请删除并重新创建 Twikoo 云函数 - https://twikoo.js.org");case 31:t.next=40;break;case 33:if(!l(a)){t.next=39;break}return t.next=36,new Promise(function(e,t){try{var o=localStorage.getItem("twikoo-access-token"),i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===i.readyState)if(200===i.status){var n=JSON.parse(i.responseText);n.accessToken&&localStorage.setItem("twikoo-access-token",n.accessToken),e({result:n})}else t(i.status)},i.open("POST",a),i.setRequestHeader("Content-Type","application/json"),i.send(JSON.stringify(c({event:n,accessToken:o},r)))}catch(s){t(s)}});case 39:throw new Error("缺少 envId 配置 - https://twikoo.js.org");case 40:case"end":return t.stop()}},t,null,[[5,11]])}));return function(t,n){return e.apply(this,arguments)}}()},7080:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQQAvatar=function(e){var t=e.replace(/@qq.com/gi,"");return"https://thirdqq.qlogo.cn/g?b=sdk&nk=".concat(t,"&s=140")},t.isQQ=function(e){return/^[1-9][0-9]{4,10}$/.test(e)||/^[1-9][0-9]{4,10}@qq.com$/i.test(e)},t.normalizeMail=function(e){return String(e).trim().toLowerCase()}},9212:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.initMarkedOwo=function(e){if(e&&Object.values(e)){var t={};return Object.values(e).forEach(function(e){e.container.forEach(function(e){var n=p(e.icon);n&&(t[e.text]=n)})}),t}},t.initOwoEmotions=function(e){return d.apply(this,arguments)};var o=r(n(479)),i=r(n(1819)),a=r(n(4964)),s=n(8129);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){return new Promise(function(t){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState)if(n.status>=200&&n.status<300||304===n.status){var e=function(e){try{return Object.values(e).forEach(function(e){if("image"===e.type){var t,n=u(e.container);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.text||(r.text=h(p(r.icon)))}}catch(o){n.e(o)}finally{n.f()}}}),e}catch(t){s.logger.warn("OwO data is bad: ",t)}}(JSON.parse(n.responseText));t(e)}else s.logger.warn("OwO data request was unsuccessful: "+n.status)},n.open("get",e,!0),n.send(null)})}function d(){return(d=(0,a["default"])(o["default"].mark(function e(t){var n,r;return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={},e.next=3,Promise.all(t.split(",").map(function(e){return l(e.trim())}));case 3:return r=e.sent,Object.assign.apply(Object,[n].concat((0,i["default"])(r))),e.abrupt("return",n);case 6:case"end":return e.stop()}},e)}))).apply(this,arguments)}var f=document.createElement("template");function p(e){try{return f.innerHTML=e,f.content.childNodes[0].src}catch(t){return""}}function h(e){return e.split("#").shift().split("?").shift().split("/").pop()}},4161:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r,o,i=n(1085),a=function(e,t){var n=document.getElementById("twikoo");o&&n.contains(o)||!e||"none"===e||((o=document.createElement("link")).href="default"===e?"".concat(t,"/themes/prism.min.css"):"".concat(t,"/themes/prism-").concat(e,".min.css"),o.rel="stylesheet",o.type="text/css",n.appendChild(o))};t["default"]=function(e,t,o){var s=i.app&&i.app.$twikoo.prismCdn?i.app.$twikoo.prismCdn:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0";window.Prism=window.Prism||{},window.Prism.manual=!0,r||(r=n(1965),n(210),r.plugins.autoloader.languages_path="".concat(s,"/components/"),o&&(n(8072),o.split(",").map(function(e){return e.trim()}).forEach(function(e){"showLanguage"===e?n(4296):"copyButton"===e&&n(5472)}))),a(t,s),r.highlightAllUnder(e)}},7564:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o,i=r(n(3852)),a="ADMIN_COMMENT",s="ADMIN_CONFIG_CATEGORY",u="ADMIN_CONFIG_ITEM",c="ADMIN_IMPORT",l=["qmsg","serverchan","pushplus","pushplushxtrip","dingtalk","wecom","bark","gocqhttp","atri","pushdeer","igot","telegram","feishu"].map(function(e){return'"'.concat(e,'"')}),d=["126","163","1und1","AOL","DebugMail","DynectEmail","FastMail","GandiMail","Gmail","Godaddy","GodaddyAsia","GodaddyEurope","Hotmail","Mail.ru","Maildev","Mailgun","Mailjet","Mailosaur","Mandrill","Naver","OpenMailBox","Outlook365","Postmark","QQ","QQex","SES","SES-EU-WEST-1","SES-US-EAST-1","SES-US-WEST-2","SendCloud","SendGrid","SendPulse","SendinBlue","Sparkpost","Yahoo","Yandex","Zoho","hot.ee","iCloud","mail.ee","qiye.aliyun"].map(function(e){return'"'.concat(e,'"')}),f=["default","coy","dark","funky","okaidia","solarizedlight","tomorrow","twilight"].map(function(e){return'"'.concat(e,'"')}),p=["showLanguage","copyButton"].map(function(e){return'"'.concat(e,'"')}),h=["qcloud","7bu (https://7bu.top)","see (https://s.ee)","lskypro","piclist","easyimage","chevereto","S3 / R2 / MinIO"].map(function(e){return'"'.concat(e,'"')}),v=["lskypro","piclist","easyimage","s3"].map(function(e){return'"'.concat(e,'"')}),m=["404","mp","identicon","monsterid","wavatar","retro","robohash","blank"].map(function(e){return'"'.concat(e,'"')});t["default"]=(o={ADMIN_CLIENT_VERSION:["前端版本:","前端版本:","前端版本:","Client version: ","Клиент версияси: ","クライアントバージョン:","클라이언트 버전: "],ADMIN_SERVER_VERSION:["云函数版本:","云函數版本:","雲端函式版本:","Server version: ","Сервернинг версияси: ","サーバーサイドバージョン: ","서버 버전: "]},(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,a,["评论管理","評論管理","留言管理","Comment","Изоҳ","コメント管理","댓글 관리"]),a+"_DELETE",["删除","刪除","移除","Delete","Ўчирмоқ","削除","삭제"]),a+"_DELETE_CONFIRM",["确认删除?","確認刪除?","確認移除?","Confirm deletion?","Ўчириш тасдиқлансинми?","本当に削除しますか?","정말 삭제하시겠습니까?"]),a+"_FILTER_ALL",["全部","全部","全部","All","Ҳаммаси","全部","전체"]),a+"_FILTER_VISIBLE",["只看可见","只看可見","只看可見","Visible","Кўринадиган","表示中のみ","표시 댓글"]),a+"_FILTER_HIDDEN",["只看隐藏","只看隱藏","只看隱藏","Hidden","Яширилган","非表示中のみ","숨김 댓글"]),a+"_HIDE",["隐藏","隱藏","隱藏","Hide","Яширмоқ","非表示","숨기기"]),a+"_IS_SPAM_SUFFIX",[" (已隐藏)"," (已隱藏)"," (已隱藏)"," (Hidden)"," (Яширилган)"," (非表示)"," (숨김 처리됨)"]),a+"_SEARCH",["搜索","搜索","搜尋","Search","Излаш","検索","검색"]),a+"_SEARCH_PLACEHOLDER",["搜索昵称、邮箱、网址、IP、评论正文、文章地址","搜索暱稱、郵箱、網址、IP、評論正文、文章地址","搜索暱稱、郵件、網址、IP、留言正文、文章路徑","Search by nick, mail, website, IP, comment, or article path","Тахаллус, почта, веб-сайт, ИП, шарҳ ёки мақола йўли бўйича излаш","名前、メールアドレス、ウェブサイトURL、IPアドレス、コメント内容、記事のURLを検索","닉네임, 이메일, 웹사이트, IP, 댓글 내용, 게시글 주소로 검색"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,a+"_SHOW",["显示","顯示","顯示","Show","Кўрсатиш","表示","표시"]),a+"_TOP",["置顶","置頂","置頂","Pin","Қадамоқ","固定する","고정"]),a+"_UNTOP",["取消置顶","取消置頂","取消置頂","Unpin","Қадоқни ечмоқ","固定を解除","고정 해제"]),a+"_VIEW",["查看","查看","檢視","View","Кўриниш","閲覧","보기"]),a+"_SECURITY_ALERT",["评论链接与本站不同!出于安全考虑,请手动复制以下网址访问:","評論連結與本站不同!出於安全考慮,請手動複製以下網址訪問:","留言連結與本站不同!出於安全考慮,請手動複製以下網址訪問:","The comment link is different from this site! For security reasons, please manually copy the following URL to visit:","Шарҳ ҳаволаси бу сайтдан фарқ қилади! Хавфсизлик сабабларига кўра, илтимос, қуйидаги URL манзилни қўлда нусха олинг:","コメントリンクがこのサイトと異なります!セキュリティ上の理由から、以下のURLを手動でコピーしてアクセスしてください:","댓글 링크가 이 사이트와 다릅니다! 보안상의 이유로, 다음 URL을 수동으로 복사하여 방문하세요:"]),a+"_PARSE_ERROR",["无法解析评论链接,请仔细检查链接后手动复制以下网址访问:","無法解析評論連結,請仔細檢查連結後手動複製以下網址訪問:","無法解析留言連結,請仔細檢查連結後手動複製以下網址訪問:","Unable to parse comment link. Please check and manually copy the following URL:","Шарҳ ҳаволасини таҳлил қилиб бўлмади. Илтимос, қуйидаги манзилни текширинг ва қўлда нусха олинг:","コメントリンクを解析できません。以下のURLを確認して手動でコピーしてください:","댓글 링크를 파싱할 수 없습니다. 다음 주소를 확인하고 수동으로 복사하세요:"]),"ADMIN_CONFIG",["配置管理","配置管理","設定值管理","Configuration","Конфигурация","設定管理","환경설정"]),s+"_COMMON",["通用","通用","一般","General","Умумий","一般","일반"]),s+"_IM",["即时通知","即時通知","即時通知","Instant notification","Тезкор хабарнома","即時通知","실시간 알림"]),s+"_MAIL",["邮件通知","郵件通知","郵件通知","Email notification","Электрон почта хабарномаси","メール通知","이메일 알림"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,s+"_PLUGIN",["插件","插件","擴充功能","Plugin","Плагин","プラグイン","플러그인"]),s+"_PRIVACY",["隐私","隱私","隱私權","Privacy","Шахсий қоидалар","プライバシー","개인정보"]),s+"_SPAM",["反垃圾","反垃圾","防垃圾","Spam","Спам","スパム対策","스팸 관리"]),s+"_CAPTCHA",["人机验证","人機驗證","人機驗證","CAPTCHA","CAPTCHA","CAPTCHA","CAPTCHA"]),"ADMIN_CONFIG_IMAGE_CDN_NONE",["无(不启用图片上传)","無(不啟用圖片上傳)","無(不啟用圖片上傳)","None (disable image upload)","Йўқ (расм юклашни ўчириш)","なし(画像アップロードを無効にする)","없음 (이미지 업로드 비활성화)"]),"ADMIN_CONFIG_CAPTCHA_NONE",["无","無","無","None","Йўқ","なし","없음"]),"ADMIN_CONFIG_CAPTCHA_TURNSTILE",["Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile","Cloudflare Turnstile"]),"ADMIN_CONFIG_CAPTCHA_GEETEST",["极验 Geetest","極驗 Geetest","極驗 Geetest","GeeTest","GeeTest","GeeTest","GeeTest"]),"ADMIN_CONFIG_CAPTCHA_CAP",["Cap","Cap","Cap","Cap","Cap","Cap","Cap"]),"ADMIN_CONFIG_EMAIL_TEST",["邮件通知测试","郵件通知測試","郵件通知測試","Email notification test","Электрон почта хабарномаси тести","メール通知テスト","이메일 알림 테스트"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,"ADMIN_CONFIG_EMAIL_TEST_BTN",["发送测试邮件","發送測試郵件","發送測試郵件","Send test mail","Синов хатини юбориш","テストメールを送信","테스트 메일 발송"]),"ADMIN_CONFIG_EMAIL_TEST_HELP",["输入一个邮箱地址,发送测试邮件","輸入一個郵箱位址,發送測試郵件","輸入一個郵箱帳號,發送測試郵件","Input an email address & send test mail","Э-почта манзилини киритинг ва синов хатини юборинг","メールアドレスを入力してテストメールを送信","이메일 주소를 입력하고 테스트 메일을 발송하세요"]),"ADMIN_CONFIG_EMAIL_TEST_RESULT",["测试结果:","測試結果:","測試結果:","Test result: ","Тест натижаси: ","テスト結果:","테스트 결과: "]),"ADMIN_CONFIG_EXAMPLE",["示例:","示例:","範例:","Example: ","Намуна: ","例:","예시: "]),u+"_AKISMET_KEY",['Akismet 反垃圾评论,用于垃圾评论检测,设为 "MANUAL_REVIEW" 开启人工审核,留空不使用反垃圾。注册:https://akismet.com','Akismet 反垃圾評論,用於垃圾評論檢測,設為 "MANUAL_REVIEW" 開啟人工審核,留空不使用反垃圾。註冊:https://akismet.com','Akismet 防垃圾留言,用於垃圾留言檢測,設為 "MANUAL_REVIEW" 以開啟人工審核,留空則不使用防垃圾。註冊:https://akismet.com','Akismet spam protection. Set to "MANUAL_REVIEW" to enable manual review. Leave it blank to not use anti-spam. Register Akismet: https://akismet.com','Акисмет спам ҳимояси. Қўлда кўриб чиқишни ёқиш учун "MANUAL_REVIEW" га созланг. Анти-спамдан фойдаланмаслик учун уни бўш қолдиринг. Акисметни рўйхатдан ўтказиш: https://akismet.com','Akismetは、スパムコメントの検出に使用されるアンチスパムサービスです。"MANUAL_REVIEW"に設定することで、手動レビューを有効化します。コメントのスパム対策にAkismetを使用することで、不要なコメントをブロックし、サイトのセキュリティを向上させることができます。 Akismetの詳細情報と登録は、https://akismet.com で提供されています。','Akismet 스팸 방지. 스팸 댓글 감지에 사용합니다. "MANUAL_REVIEW"를 설정하면 수동 검토를 활성화합니다. 비워두면 스팸 수동 검토를 사용하지 않습니다. Akismet 등록: https://akismet.com']),u+"_BLOGGER_NICK",["博主的昵称。","博主的昵稱。","站長的暱稱。","Admin nick name.","Админ исми.","管理者の名前。","관리자 닉네임."]),u+"_BLOGGER_EMAIL",["博主的邮箱地址,用于邮件通知、博主标识。","博主的郵箱地址,用於郵件通知、博主標識。","站長的郵箱帳號,用於郵件通知、站長認證。","Admin Email address. Used for Email notification and admin identification.","Админ электрон почта манзили. Электрон почта хабарномаси ва администратор идентификацияси учун фойдаланилади.","管理者のメールアドレス。メール通知と管理者の識別に使用されます。","관리자 이메일 주소. 이메일 알림 및 관리자 식별에 사용됩니다."]),u+"_COMMENT_BG_IMG",["评论框自定义背景图片 URL 地址。","評論框自定義背景圖片 URL 地址。","留言區塊自訂背景圖片 URL 網址。","URL for custom background image.","Махсус фон расми учун УРЛ.","コメントボックスのカスタム背景画像のURL。","댓글창 배경 이미지 URL 주소."]),u+"_COMMENT_PAGE_SIZE",["评论列表分页大小,默认为 8。","評論列表分頁大小,預設為 8。","留言列表分頁大小,預設為 8。","Comment page size. Default: 8.","Изоҳ саҳифаси ўлчами. Стандарт: 8.","コメントリストのページサイズ。デフォルトは8。","한 페이지당 표시 댓글 수. 기본값: 8."]),u+"_COMMENT_PLACEHOLDER",["评论框提示信息,可用<br>换行,默认为空","評論框提示信息,可用<br>換行,預設為空","留言區塊提示資訊,可用<br>換行,預設空白","Comment placeholder. Use <br> to start a newline. Default: empty.","Изоҳ тўлдирувчиси. Янги қаторни бошлаш учун <бр> дан фойдаланинг. Стандарт: бўш.","コメントボックスのヒントメッセージ。<br>で改行。デフォルトは空。","댓글 입력창에 표시될 기본 문구. <br> 태그로 줄바꿈 가능. 기본값: 비어 있음."]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,u+"_CORS_ALLOW_ORIGIN",["CORS 安全域名,注意:如果您不了解什么是 CORS,此项请留空,错误设置会导致无法加载,默认为空,格式为 https://blog.example.com;如需添加多域名请使用,分隔","CORS 安全域名,注意:错误设置会导致无法加載,默認為空,格式为 https://blog.example.com;如需添加多域名請使用,分隔","CORS 安全網域,注意:設定錯誤將會導致載入失敗,預設空白,格式應為 https://blog.example.com;如需添加多域名請使用,分隔","CORS allow origin, note: incorrect settings can cause loading failure. Default: blank, format: https://blog.example.com; If you need to add multiple domain names, please use, separate","Версел СОРС келиб чиқишига рухсат беради, эътибор беринг: нотўғри созламалар юклашда хатоликка олиб келиши мумкин. Стандарт: бўш, формат: https://blog.example.com; Агар сиз бир нечта домен номларини қўшмоқчи бўлсангиз, илтимос, ажратишдан фойдаланинг.","CORS セキュアドメイン。注意:誤った設定は読み込みエラーを引き起こす可能性があります。デフォルトは空、形式は https://blog.example.com です。複数のドメインを追加する場合は、コンマで区切ってください。","댓글 서버 접근 허용 웹사이트 주소. 참고: 등록된 웹사이트만 댓글 시스템과 안전하게 통신합니다. 주소 오류 시 댓글창이 사라질 수 있습니다. 기본값: 비어 있음(보안 취약), 형식: https://blog.example.com; 여러 주소는 쉼표(,)로 구분."]),u+"_DEFAULT_GRAVATAR",['默认的头像显示。默认值(留空)为 "initials",可选:'.concat(m.join("、")),'預設的頭像顯示。預設值(留空)為 "initials",可選:'.concat(m.join("、")),'預設的大頭貼照圖示。預設值(留空)為 "initials",選項:'.concat(m.join("、")),'Avatar placeholder. Default (when empty): "initials". Choose from: '.concat(m.join(", ")),"Аватар тўлдирувчиси. Стандарт (агар бўш қолдирилса): «идентификатор». Қуйидагилардан танланг: ".concat(m.join(", ")),'デフォルトのプロフィール画像表示。デフォルト(空欄時)は "initials" で、選択肢は:'.concat(m.join("、")," です"),'프로필 기본 이미지. 기본값(비워둘 경우): "initials". 사용 가능 스타일: '.concat(m.join(", "))]),u+"_EMOTION_CDN",["表情 CDN,英文逗号分隔。默认为:https://owo.imaegoo.com/owo.json","表情 CDN,英文逗號分隔。預設為:https://owo.imaegoo.com/owo.json","表情 CDN 來源,使用英文逗號分隔。預設為:https://owo.imaegoo.com/owo.json","Emoji CDN. Separate by comma. Default: https://owo.imaegoo.com/owo.json","Emoji CDN. Вергул билан ажратинг. Default: https://owo.imaegoo.com/owo.json","顔文字CDN。コンマで区切ってください。デフォルト:https://owo.imaegoo.com/owo.json","이모티콘 데이터 웹 주소. 쉼표(,)로 구분. 기본값: https://owo.imaegoo.com/owo.json"]),u+"_FORBIDDEN_WORDS",["违禁词配置,包含违禁词的内容会直接标记为垃圾评论。英文逗号分隔。","違禁詞配置,包含違禁詞的內容會直接標記為垃圾評論。英文逗號分隔。","禁用詞語設定,包含禁用詞語的內容會直接標記為垃圾留言。使用英文逗號分隔。","Configure prohibited words. Comments containing prohibited words will be auto spammed. Separate by comma.","Тақиқланган сўзларни созланг. Тақиқланган сўзларни ўз ичига олган шарҳлар автоматик равишда спамга юборилади. Вергул билан ажратинг.","禁止ワード設定。禁止ワードを含むコンテンツは直ちにスパムコメントとしてマークされます。コンマで区切ってください。","금지어 설정. 금지어 포함 댓글은 스팸으로 숨김 처리 됩니다. 쉼표로 구분."]),u+"_BLOCKED_WORDS",["屏蔽词配置,包含屏蔽词的内容会直接评论失败。英文逗号分隔。","屏蔽词配置,包含屏蔽词的内容会直接评论失败。英文逗号分隔。","屏蔽词配置,包含屏蔽词的内容会直接评论失败。英文逗号分隔。","Configure blocked words. Comments containing blocked words will fail to send. Separate by comma.","Configure blocked words. Comments containing blocked words will fail to send. Separate by comma.","ブロックワード設定。ブロックワードを含むコンテンツは送信に失敗します。コンマで区切ってください。","차단어 설정. 차단어 포함 댓글은 등록에 실패합니다. 쉼표로 구분."]),u+"_GRAVATAR_CDN",["自定义头像 CDN 地址。如:cn.gravatar.com, weavatar.com, cravatar.cn, sdn.geekzu.org, gravatar.loli.net,默认:weavatar.com","自定義頭像 CDN 地址。如:cn.gravatar.com, weavatar.com, cravatar.cn, sdn.geekzu.org, gravatar.loli.net,預設:weavatar.com","自訂大頭貼照 CDN 來源。如:cn.gravatar.com, weavatar.com, cravatar.cn, sdn.geekzu.org, gravatar.loli.net,預設:weavatar.com","Custom avator CDN. (Examples: gravatar.com) Default: weavatar.com.","Custom avator CDN. (Мисоллар: gravatar.com) Default: weavatar.com.","カスタムプロフィール画像CDNアドレス。例:cn.gravatar.com、weavatar.com、cravatar.cn、sdn.geekzu.org、gravatar.loli.net、デフォルト:weavatar.com","프로필 이미지(아바타) Gravatar 서버 주소. 더 빠르거나 안정적인 서버를 선택할 수 있습니다. (예: gravatar.com) 기본값: weavatar.com."]),u+"_HIDE_ADMIN_CRYPT",["隐藏管理面板入口。可设置一个“暗号”,只有在“昵称”一栏输入相同的“暗号”时,管理面板入口才会显示,留空则不隐藏管理入口","隱藏管理面板入口。可設定一個“暗號”,只有在“暱稱”一欄輸入相同的“暗號”時,管理面板入口才會顯示,留空則不隱藏管理入口","隱藏管理控制台入口。可設定一個“暗號”,只有在「暱稱」一欄輸入相同的「暗號」時,管理控制台入口才會顯示,留白則不隱藏管理入口","Set a cipher to hide the management panel entrance, only when the same cipher is entered in the nickname field the management panel entry will be displayed. Leave it blank to not hide the management entrance.","Бошқарув панелига киришни яшириш учун шифрни ўрнатинг, фақат тахаллус майдонига худди шу шифр киритилганда бошқарув панелидаги ёзув кўрсатилади. Бошқарув киришини яширмаслик учун уни бўш қолдиринг.",'管理パネルのログイン画面を非表示にする。 "パスワード" を設定でき、 "名前" フィールドに同じ "パスワード" を入力した場合のみ、管理パネルのログイン画面が表示されます。空白の場合、管理パネルのログイン画面は非表示にされません。',"환경설정 버튼을 숨깁니다. 암호를 설정하여, 닉네임 입력란에 동일한 암호를 입력해야만 환경설정 버튼이 표시됩니다. 비워두면 버튼을 숨기지 않습니다."]),u+"_QQ_API_KEY",["QQ昵称API密钥,用于获取QQ昵称。前往 https://api.nsuuu.com/admin/key 获取","QQ暱稱API密鑰,用於獲取QQ暱稱。前往 https://api.nsuuu.com/admin/key 獲取","QQ暱稱API密鑰,用於獲取QQ暱稱。前往 https://api.nsuuu.com/admin/key 獲取","QQ nickname API key for fetching QQ nickname. Get it from https://api.nsuuu.com/admin/key","QQ laqab API kaliti, QQ laqabni olish uchun. https://api.nsuuu.com/admin/key dan oling","QQニックネームAPIキー。QQニックネームの取得に使用します。https://api.nsuuu.com/admin/key で取得","QQ 닉네임 API 키. https://api.nsuuu.com/admin/key 에서 발급"]),u+"_HIGHLIGHT",["启用代码高亮功能。如果您的主题和代码高亮有冲突,请设为 false。默认:true","啟用代碼高亮功能。如果您的主題和代碼高亮有衝突,請設為 false。預設:true","啟用程式碼醒目顯示功能。如果您的主題和此功能發生衝突,請設定為 false。預設:true","Enable code highlighting. If your theme conflicts with code highlighting, please set it to false. Default: true.","Кодни ажратиб кўрсатишни ёқинг. Агар мавзуингиз кодни ажратиб кўрсатишга зид бўлса, уни «фалсе» га ўрнатинг. Стандарт: рост.","コードハイライト機能を有効にします。テーマとコードハイライトに競合がある場合、falseに設定してください。デフォルト:true","코드 하이라이팅 기능을 활성화합니다. 테마와 코드 하이라이팅이 충돌하면 false로 설정하세요. 기본값: true."]),u+"_HIGHLIGHT_THEME",["代码高亮主题,可选:".concat(f.join("、"),",访问 https://prismjs.com 可预览主题效果。如果您的主题和代码高亮有冲突,请设为 none。默认:none"),"代碼高亮主題,可選:".concat(f.join("、"),",訪問 https://prismjs.com 可預覽主題效果。如果您的主題和代碼高亮有衝突,請設為 none。預設:none"),"程式碼醒目顯示主題,選項:".concat(f.join("、"),",瀏覽 https://prismjs.com 可預覽主題效果。如果您的主題和此功能發生衝突,請設定為 none。預設:none"),"Code highlighting theme. Select from: ".concat(f.join(", "),". Visit https://prismjs.com for preview. If your theme conflicts with code highlighting, please set it to none. Default: none."),"Кодни таъкидлаш мавзуси. Қуйидагилардан танланг: ".concat(f.join(", "),". Олдиндан кўриш учун https://prismjs.com сайтига ташриф буюринг. Агар мавзуингиз кодни ажратиб кўрсатишга зид бўлса, уни «Ҳеч» га ўрнатинг. Стандарт: йўқ."),"コードハイライトのテーマ。選択肢:".concat(f.join("、"),"、テーマの効果をプレビューするには https://prismjs.com を訪問してください。テーマとコードハイライトに競合がある場合、noneに設定してください。デフォルト:none"),"코드 하이라이팅 테마. 사용 가능 테마: ".concat(f.join(", "),". https://prismjs.com 에서 미리보기를 확인하세요. 테마와 코드 하이라이팅이 충돌하면 none으로 설정하세요. 기본값: none.")]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,u+"_HIGHLIGHT_PLUGIN",["代码高亮插件,可选:".concat(p.join("、"),",分别表示:展示代码语言、展示代码拷贝按钮。可以同时设置多个选项,如果想要不添加任何代码高亮插件,请设为 none。默认:none。"),"代碼高亮插件,可選:".concat(p.join("、"),",分別表示:展示代碼語言、展示代碼拷貝按鈕。可以同時設置多個選項,如果想要不添加任何代碼高亮插件,請設為 none。預設:none。"),"代碼高亮外掛程式,可選:".concat(p.join("、"),",分別表示:展示代碼語言、展示代碼拷貝按鈕。 可以同時設置多個選項,如果想要不添加任何代碼高亮外掛程式,請設定為 none。預設:none。"),"Code highlight plug-in, optional: ".concat(p.join(", "),", respectively: show code language, show code copy button. Multiple options can be set at the same time, if you want to add no code highlighting plug-ins, please set it to none. Default: none. "),"Плагин подсветки кода, опционально: ".concat(p.join(","),", соответственно: показывать язык кода, показывать кнопку копирования кода. Вы можете установить несколько опций одновременно, если вы хотите не добавлять плагин подсветки кода, установите значение none. по умолчанию: none."),"コード・ハイライト・プラグイン。オプション: ".concat(p.join(","),", それぞれ: コード言語の表示、コード・コピー・ボタンの表示。複数のオプションを同時に設定できますが、コード・ハイライト・プラグインを追加したくない場合は、noneに設定してください。"),"코드 하이라이트 추가 기능. 선택 가능: ".concat(p.join(", "),". (코드 언어 표시, 복사 버튼) 여러 기능을 동시에 설정할 수 있으며, 추가하지 않으려면 none으로 설정하세요. 기본값: none.")]),u+"_IMAGE_CDN",["插入图片所使用的图床,目前支持:".concat(h.join("、")),"插入圖片所使用的圖床,目前支持:".concat(h.join("、")),"插入圖片所使用的圖床,目前支援:".concat(h.join("、")),"The image bed for image uploading. Select from: ".concat(h.join(", ")),"Расм юклаш учун расм тўшаги. Қуйидагилардан танланг: ".concat(h.join(", ")),"画像のアップロードに使用する画像ホスティングサービス。次のうちから選択してください:".concat(h.join("、")),"댓글 이미지 업로드 기능에 사용될 호스팅 서비스. 사용 가능 목록: ".concat(h.join(", "))]),u+"_IMAGE_CDN_URL",["图床的 URL,仅当 IMAGE_CDN 为 ".concat(v.join(" / ")," 时需要填写"),"圖床的 URL,僅當 IMAGE_CDN 為 ".concat(v.join(" / ")," 時需要填寫"),"圖床的 URL,僅當 IMAGE_CDN 為 ".concat(v.join(" / ")," 時需要填寫"),"The URL for the image bed. Required if your IMAGE_CDN is one of these: ".concat(v.join(", ")),"IMAGE_CDN томонидан белгиланган расм тўшаги URL. Агар сизнинг IMAGE_CDN шулардан бири бўлса: ".concat(v.join(", ")),"IMAGE_CDNで設定した画像ホスティングサービスのURL。IMAGE_CDNが以下のいずれかの場合は入力が必要です:".concat(v.join("、")),"이미지 저장소 URL. IMAGE_CDN 설정이 다음 중 하나인 경우 필요합니다: ${customImageBedServices.join(",")}"]),u+"_IMAGE_CDN_TOKEN",["图床 token。qcloud 图床无需设置","图床 token。qcloud 图床无需设置","圖床 token。qcloud 圖床不需設定","The image bed token. Unnessessary for qcloud","Тасвир токен белгиси. Қслоуд учун кераксиз","画像ホスティングトークン。qcloud画像ホスティングを利用する場合は設定の必要はありません","이미지 호스팅 토큰. qcloud은 설정 불필요."]),u+"_NSFW_API_URL",["NSFW 图片检测 API 地址。免费服务:nsfw.xnet.ren、nsfw.qixz.cn,项目:github.com/HG-ha/nsfwpy","NSFW 圖片檢測 API 地址。免費服務:nsfw.xnet.ren、nsfw.qixz.cn,項目:github.com/HG-ha/nsfwpy","NSFW 圖片檢測 API 地址。免費服務:nsfw.xnet.ren、nsfw.qixz.cn,項目:github.com/HG-ha/nsfwpy","NSFW image detection API URL. Free services: nsfw.xnet.ren, nsfw.qixz.cn, project: github.com/HG-ha/nsfwpy","NSFW расмни аниқлаш API URL. Бепул хизматлар: nsfw.xnet.ren, nsfw.qixz.cn, лойиҳа: github.com/HG-ha/nsfwpy","NSFW画像検出API URL。無料サービス:nsfw.xnet.ren、nsfw.qixz.cn、プロジェクト:github.com/HG-ha/nsfwpy","NSFW 이미지 감지 API URL. 무료 서비스: nsfw.xnet.ren, nsfw.qixz.cn, 프로젝트: github.com/HG-ha/nsfwpy"]),u+"_NSFW_THRESHOLD",["NSFW 检测阈值(0-1),当检测分数高于此值时拒绝上传。默认:0.5","NSFW 檢測閾值(0-1),當檢測分數高於此值時拒絕上傳。預設:0.5","NSFW 檢測閾值(0-1),當檢測分數高於此值時拒絕上傳。預設:0.5","NSFW detection threshold (0-1). Upload will be rejected if score exceeds this value. Default: 0.5","NSFW аниқлаш чегараси (0-1). Баҳо бу қийматдан ошса юклаш рад қилинади. Стандарт: 0.5","NSFW検出しきい値(0-1)。スコアがこの値を超えるとアップロードが拒否されます。デフォルト:0.5","NSFW 감지 임계값 (0-1). 점수가 이 값을 초과하면 업로드가 거부됩니다. 기본값: 0.5"]),u+"_S3_REGION",["S3 存储区域,例如 us-east-1。使用兼容 S3 的服务(如 Cloudflare R2、MinIO)时可填任意值","S3 儲存區域,例如 us-east-1。使用相容 S3 的服務(如 Cloudflare R2、MinIO)時可填任意值","S3 儲存區域,例如 us-east-1。使用相容 S3 的服務(如 Cloudflare R2、MinIO)時可填任意值","S3 region, e.g. us-east-1. Can be any value when using S3-compatible services (e.g. Cloudflare R2, MinIO)","S3 минтақаси, масалан us-east-1. S3 мос хизматлар учун (Cloudflare R2, MinIO) ихтиёрий қийматни киритиш мумкин","S3リージョン(例:us-east-1)。Cloudflare R2やMinIOなどのS3互換サービスを使用する場合は任意の値を入力できます","S3 리전 (예: us-east-1). Cloudflare R2, MinIO 등 S3 호환 서비스 사용 시 임의 값 입력 가능"]),u+"_S3_BUCKET",["S3 存储桶名称","S3 儲存桶名稱","S3 儲存桶名稱","S3 bucket name","S3 bucket nomi","S3バケット名","S3 버킷 이름"]),u+"_S3_ACCESS_KEY_ID",["S3 Access Key ID","S3 Access Key ID","S3 Access Key ID","S3 Access Key ID","S3 Access Key ID","S3 Access Key ID","S3 Access Key ID"]),u+"_S3_SECRET_ACCESS_KEY",["S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key","S3 Secret Access Key"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,u+"_S3_ENDPOINT",["S3 自定义 Endpoint,使用 Cloudflare R2、MinIO 等兼容 S3 的服务时填写","S3 自訂 Endpoint,使用 Cloudflare R2、MinIO 等相容 S3 的服務時填寫","S3 自訂 Endpoint,使用 Cloudflare R2、MinIO 等相容 S3 的服務時填寫","S3 custom endpoint. Required when using S3-compatible services like Cloudflare R2 or MinIO","S3 maxsus endpoint. Cloudflare R2 yoki MinIO kabi S3 mos xizmatlardan foydalanishda talab qilinadi","S3カスタムエンドポイント。Cloudflare R2やMinIOなどのS3互換サービスを使用する場合に必要です","S3 커스텀 엔드포인트. Cloudflare R2, MinIO 등 S3 호환 서비스 사용 시 필요"]),u+"_S3_CDN_URL",["S3 图片访问域名(CDN 域名),留空则使用默认 S3/Endpoint URL","S3 圖片存取網域(CDN 網域),留空則使用預設 S3/Endpoint URL","S3 圖片存取網域(CDN 網域),留空則使用預設 S3/Endpoint URL","S3 image access domain (CDN domain). Leave empty to use default S3/Endpoint URL","S3 rasm kirish domeni (CDN domeni). Standart S3/Endpoint URL dan foydalanish uchun bo'sh qoldiring","S3画像アクセスドメイン(CDNドメイン)。空白の場合はデフォルトのS3/Endpoint URLを使用します","S3 이미지 접근 도메인 (CDN 도메인). 비워두면 기본 S3/Endpoint URL 사용"]),u+"_S3_PATH_PREFIX",["S3 图片存储路径前缀,例如 images/twikoo,留空则存储在根目录","S3 圖片儲存路徑前綴,例如 images/twikoo,留空則儲存在根目錄","S3 圖片儲存路徑前綴,例如 images/twikoo,留空則儲存在根目錄","S3 image storage path prefix, e.g. images/twikoo. Leave empty to store in root","S3 rasm saqlash yo'l prefiksi, masalan images/twikoo. Ildizda saqlash uchun bo'sh qoldiring","S3画像保存パスプレフィックス(例:images/twikoo)。空白の場合はルートに保存されます","S3 이미지 저장 경로 접두사 (예: images/twikoo). 비워두면 루트에 저장"]),u+"_LIGHTBOX",["使用简易图片点击放大效果。默认:false","使用簡易圖片點擊放大效果。預設:false","使用簡易圖片點擊放大效果。預設:false","Use simple Lightbox effect. Default: false","Используйте простые эффекты лайтбокса. По умолчанию: false","シンプルな画像拡大機能を使用します。デフォルト:false","라이트박스 효과, 댓글 이미지 클릭 시 확대 효과 사용. 기본값: false"]),u+"_LIMIT_PER_MINUTE",["单个 IP 发言频率限制(条/10分钟),0 为无限制,默认:10","單個 IP 發言頻率限制(條/10分鐘),0 為無限制,預設:10","單個 IP 留言頻率限制(則/10分鐘),0 為無限,預設:10","How many comments can be posted by each IP every 10 minutes, 0 is unlimited, default: 10.","Ҳар бир ИП ҳар 10 дақиқада қанча шарҳ қолдириши мумкин, 0 чексиз, стандарт: 10.","同一IPにおける10分ごとの投稿回数制限。0は無制限、デフォルト:10","IP별 댓글 작성 빈도 제한 (10분당 건수), 0은 무제한. 기본값: 10."]),u+"_LIMIT_PER_MINUTE_ALL",["全站发言频率限制(条/10分钟),0 为无限制,默认:10","全站發言頻率限制(條/10分鐘),0 為無限制,預設:10","全站留言頻率限制(則/10分鐘),0 為無限,預設:10","How many comments can be posted by all IPs every 10 minutes, 0 is unlimited, default: 10.","Барча ИП-лар ҳар 10 дақиқада қанча шарҳ қўйиши мумкин, 0 чексиз, стандарт: 10.","全IPにおける10分ごとの投稿回数制限。0は無制限、デフォルト:10","10분당 사이트 전체에 작성 가능한 총 댓글 수 제한. 0은 무제한. 기본값: 10."]),u+"_LIMIT_LENGTH",["评论长度限制,0 为无限制,默认:500","評論長度限制,0 為無限制,預設:500","留言長度限制,0 為無限,預設:500","Comment length limitation, 0 is unlimited, default: 500.","Шарҳ узунлиги чеклови, 0 чексиз, стандарт: 500.","コメント長さの制限。0は無制限、デフォルト:500","댓글 길이 제한. 0은 무제한. 기본값: 500."]),u+"_MAIL_SUBJECT",["自定义通知邮件主题,留空则使用默认主题。","自定義通知郵件主題,留空則使用預設主題。","自訂通知郵件主題,留白則使用預設主題。","Custom Email notification subject. Leave it blank to use the default subject.","Махсус электрон почта хабарномаси мавзуси. Стандарт мавзуни ишлатиш учун уни бўш қолдиринг.","カスタム通知メールの件名。空白の場合はデフォルトの件名を使用します。","댓글 알림 이메일 제목 설정. 비워두면 기본 제목을 사용합니다."]),u+"_MAIL_SUBJECT_ADMIN",["自定义博主通知邮件主题,留空则使用默认主题。","自定義博主通知郵件主題,留空則使用預設主題。","自訂站長通知郵件主題,留白則使用預設主題。","Custom admin Email notification subject. Leave it blank to use the default subject.","Махсус администратор электрон почта хабарномаси мавзуси. Стандарт мавзуни ишлатиш учун уни бўш қолдиринг.","管理者へのカスタム通知メールの件名。空白の場合はデフォルトの件名を使用します。","관리자에게 발송되는 댓글 알림 이메일 제목 설정. 비워두면 기본 제목을 사용합니다."]),u+"_MAIL_TEMPLATE",["自定义通知邮件模板,留空则使用默认模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","自定義通知郵件模板,留空則使用預設模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","自訂通知郵件模板,留白則使用預設模板。可包含的欄位:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","Custom Email notification template. Leave it blank to use the default template. Fields that can be included: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","Махсус электрон почта хабарномаси шаблони. Стандарт шаблонни ишлатиш учун уни бўш қолдиринг. Қўшилиши мумкин бўлган майдонлар: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","カスタム通知メールテンプレート。空白の場合はデフォルトテンプレートを使用します。使用可能なフィールド:${SITE_URL}、${SITE_NAME}、${PARENT_NICK}、${PARENT_COMMENT}、${NICK}、${COMMENT}、${POST_URL}、${IMG}、${PARENT_IMG}","댓글 알림 이메일 템플릿 설정. 비워두면 기본 템플릿 사용. 다음 변수를 사용하면 해당 값으로 자동 치환됩니다: ${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,u+"_MAIL_TEMPLATE_ADMIN",["自定义博主通知邮件模板,留空则使用默认模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","自定義博主通知郵件模板,留空則使用預設模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","自訂站長通知郵件模板,留白則使用預設模板。可包含的欄位:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","Custom admin Email notification template. Leave it blank to use the default template. Fields that can be included: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","Махсус администратор электрон почта хабарномаси шаблони. Стандарт шаблонни ишлатиш учун уни бўш қолдиринг. Қўшилиши мумкин бўлган майдонлар: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","管理者へのカスタム通知メールテンプレート。空白の場合はデフォルトテンプレートを使用します。使用可能なフィールド:${SITE_URL}、${SITE_NAME}、${NICK}、${COMMENT}、${POST_URL}、${IP}、${MAIL}、${IMG}","관리자 알림 이메일 템플릿 설정. 비워두면 기본 템플릿 사용. 다음 변수를 사용하면 해당 값으로 자동 치환됩니다: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}"]),u+"_MASTER_TAG",["博主标识自定义文字,默认为 “博主”。","博主標識自定義文字,預設為 “博主”。","站長認證自訂文字,預設為「博主」。","Custom admin identifier.","Махсус администратор идентификатори.",'管理者を表すカスタムテキスト。デフォルト:"ブロガー"',"관리자 태그 설정. (닉네임 옆에 표시됨. 예: 관리자)"]),u+"_NOTIFY_SPAM",["垃圾评论是否发送通知,默认:true","垃圾評論是否發送通知,默認:true","垃圾留言是否發送通知,預設:true","Notifications for spam comments. Default: true.","Спам шарҳлар учун билдиришномалар. Стандарт: рост.","スパムコメントの通知を送信するかどうか。デフォルト:true","스팸 댓글 알림 발송 여부. 기본값: true."]),u+"_CAPTCHA_PROVIDER",["人机验证码提供商","人機驗證碼提供商","人機驗證碼提供商","CAPTCHA Provider","CAPTCHA Provider","CAPTCHAプロバイダー","캡차 제공자"]),u+"_TURNSTILE_SITE_KEY",["Turnstile 验证码的站点密钥。申请地址: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile 验证码的站点密钥。申请地址: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile 验证码的站点密钥。申请地址: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile CAPTCHA Site Key. Get from: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile CAPTCHA Site Key. Get from: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile CAPTCHAのサイトキー。参照: https://dash.cloudflare.com/?to=/:account/turnstile","Turnstile CAPTCHA(스팸봇 방지) 사이트 키. 발급처: https://dash.cloudflare.com/?to=/:account/turnstile"]),u+"_TURNSTILE_SECRET_KEY",["Turnstile 验证码的密钥","Turnstile 验证码的密钥","Turnstile 验证码的密钥","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHAのシークレットキー","Turnstile CAPTCHA Secret Key"]),u+"_GEETEST_CAPTCHA_ID",["极验验证码的 Captcha ID。申请地址: https://console.geetest.com/sensbot/management","极验验证码的 Captcha ID。申请地址: https://console.geetest.com/sensbot/management","极验验证码的 Captcha ID。申请地址: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. Get from: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. Get from: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. 参照: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. 발급처: https://console.geetest.com/sensbot/management"]),u+"_GEETEST_CAPTCHA_KEY",["极验验证码的 Captcha Key","极验验证码的 Captcha Key","极验验证码的 Captcha Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key"]),u+"_CAP_API_ENDPOINT",["Cap 验证码 API 端点(格式:https://<实例地址>/<site_key>/)","Cap 验证码 API 端点(格式:https://<实例地址>/<site_key>/)","Cap 验证码 API 端点(格式:https://<实例地址>/<site_key>/)","Cap CAPTCHA API Endpoint (format: https://<instance_url>/<site_key>/)","Cap CAPTCHA API Endpoint (format: https://<instance_url>/<site_key>/)","Cap CAPTCHA API Endpoint (format: https://<instance_url>/<site_key>/)","Cap CAPTCHA API Endpoint (format: https://<instance_url>/<site_key>/)"]),u+"_CAP_SECRET_KEY",["Cap 验证码的 Secret Key","Cap 验证码的 Secret Key","Cap 验证码的 Secret Key","Cap CAPTCHA Secret Key","Cap CAPTCHA Secret Key","Cap CAPTCHA Secret Key","Cap CAPTCHA Secret Key"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,u+"_QCLOUD_SECRET_ID",["腾讯云 secret id,用于垃圾评论检测。同时设置腾讯云和 Akismet 时,只有腾讯云会生效。注册:https://twikoo.js.org/cms.html","騰訊雲 secret id,用於垃圾評論檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會生效。註冊:https://twikoo.js.org/cms.html","騰訊雲 Secret ID,用於垃圾留言檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會被啟用。註冊:https://twikoo.js.org/cms.html","Tencent Cloud secret id for spam detection. When Tencent Cloud and Akismet are set at the same time, only Tencent Cloud will take effect. Register: https://twikoo.js.org/cms.html","Спамни аниқлаш учун Тенсент Слоуд махфий идентификатори. Тенсент Слоуд ва Акисмет бир вақтнинг ўзида ўрнатилганда, фақат Тенсент Слоуд кучга киради. Рўйхатдан ўтиш: https://twikoo.js.org/cms.html","Tencent CloudのシークレットID。スパムコメントの検出に使用されます。同時にTencent CloudとAkismetを設定した場合、Tencent Cloudのみが有効になります。登録:https://twikoo.js.org/cms.html","Tencent Cloud secret id (스팸 감지용). Tencent Cloud와 Akismet 동시 설정 시 Tencent Cloud만 적용. 등록: https://twikoo.js.org/cms.html"]),u+"_QCLOUD_CMS_BIZTYPE",["腾讯云内容安全 Biztype 名称,用于垃圾评论策略。可以自定义垃圾拦截规则","騰訊雲內容安全 Biztype 名稱,用於垃圾評論策略。可以自定義垃圾攔截規則","騰訊雲內容安全 Biztype 名稱,用於垃圾評論策略。可以自定義垃圾攔截規則","Tencent Cloud Content Security Biztype name for spam comment policy. Spam blocking rules can be customized","Tencent Cloud Content Security Biztype име, използвано за спам политика. Може да персонализира правилата за блокиране на спам","Tencent Cloud Content Security Biztype name スパムコメントポリシー。スパムブロックルールはカスタマイズ可能","Tencent Cloud Content Security Biztype 이름 (스팸 댓글 정책용). 스팸 차단 규칙 설정 가능."]),u+"_QCLOUD_SECRET_KEY",["腾讯云 secret key","騰訊雲 secret key","騰訊雲 Secret Key","Tencent Cloud secret key.","Тенсент Клауд махфий калити.","Tencent Cloudのシークレットキー","Tencent Cloud Secret Key."]),u+"_PUSHOO_CHANNEL",["即时消息推送平台名称,支持:".concat(l.join("、")," 等"),"即時消息推送平台名称,支持:".concat(l.join("、")," 等"),"即時訊息推送平台名稱,支援:".concat(l.join("、")," 等"),"IM notification push channel. Support: ".concat(l.join(", ")),"ИМ билдиришномаси суриш канали. Қўллаб-қувватлаш: ".concat(l.join(", ")),"即時メッセージプッシュプラットフォームの名前。".concat(l.join("、")," などに対応しています。"),"실시간 알림을 받을 서비스 설정. 지원: ".concat(l.join(", "))]),u+"_PUSHOO_TOKEN",["即时消息推送 token。请参考 https://pushoo.js.org 里的详细说明配置","即時消息推送 token。请参考 https://pushoo.js.org 里的详细说明配置","即時訊息推送 Token。請参考 https://pushoo.js.org 裡的詳細說明進行設定","IM notification push token. See https://pushoo.js.org for details","ИМ билдиришномаси пуш токени. Тафсилотлар учун https://pushoo.js.org га қаранг","即時メッセージプッシュトークン。詳細な設定については、https://pushoo.js.org の説明をご覧ください","선택한 실시간 알림 서비스 인증 토큰. 설정 방법은 https://pushoo.js.org 를 참조."]),u+"_DISPLAYED_FIELDS",["界面上展示的输入框,默认:nick,mail,link","界面上顯示的輸入框,預設:nick,mail,link","界面上顯示的輸入框,預設:nick,mail,link","Input boxes displayed on the interface. Default: nick,mail,link","Поля ввода, отображаемые на интерфейсе, Стандарт: nick,mail,link","画面に表示される入力欄。デフォルト:nick,mail,link","화면에 표시할 정보 입력란. 기본값: nick,mail,link"]),u+"_REQUIRED_FIELDS",["评论必填信息,设为 nick,mail,link 代表全必填,设为 none 代表全选填,默认:nick,mail","評論必填信息,設為 nick,mail,link 代表全必填,設為 none 代表全選填,預設:nick,mail","留言必填資訊,設為 nick,mail,link 代表全必填,設為 none 代表全選填,預設:nick,mail",'Required fields for comments. Set to "nick,mail,link" means all fields are required. Set to "none" means all fields are optional. Default: nick,mail.',"Шарҳлар учун зарур майдонлар. «Ниск,маил,линк» га ўрнатилган бўлса, барча майдонлар талаб қилинади. «Йўқ» га ўрнатилиши барча майдонлар ихтиёрий эканлигини англатади. Стандарт: ник, почта.","コメント必須項目。すべてを必須にする場合は nick,mail,link に設定、すべてを任意にする場合はnoneに設定してください。デフォルト:nick,mail",'댓글 작성 시 필수 입력 정보. "nick,mail,link"는 모두 필수, "none"은 모두 선택 압력. 기본값: nick,mail.']),u+"_SC_MAIL_NOTIFY",["是否同时通过 IM 和邮件 2 种方式通知博主,默认只通过 IM 通知博主,默认:false","是否同時通過 IM 和郵件 2 種方式通知博主,預設只通過 IM 通知博主,預設:false","是否同時透過 IM 和郵件 2 種方式通知博主,預設只透過 IM 通知博主,預設:false","Whether to notify admin via IM and email at the same time, the default is to notify admin only via IM. Default: false.","Администраторни бир вақтнинг ўзида ИМ ва электрон почта орқали хабардор қилиш керакми, сукут бўйича администраторни фақат ИМ орқали хабардор қилиш керак. Стандарт: нотўғри.","管理者にIMとメールで同時に通知するかどうか。デフォルトはIMのみで通知、デフォルト:false","실시간 알림과 이메일로 동시에 관리자에게 알릴지 여부. 기본값은 실시간 알림만 사용. 기본값: false."]),u+"_SENDER_EMAIL",["邮件通知邮箱地址。对于大多数邮箱服务商,SENDER_EMAIL 必须和 SMTP_USER 保持一致,否则无法发送邮件。","郵件通知郵箱地址。對於大多數郵箱服務商,SENDER_EMAIL 必須和 SMTP_USER 保持一致,否則無法發送郵件。","郵件通知郵箱帳號。對於大多數電郵服務提供商,SENDER_EMAIL 必須和 SMTP_USER 保持一致,否則無法傳送郵件。","Email address for Email notification. For most email service providers, SENDER_EMAIL must be consistent with SMTP_USER, otherwise emails cannot be sent.","Электрон почта хабарномаси учун электрон почта манзили. Аксарият электрон почта хизмати провайдерлари учун SENDER_EMAIL билан мос келиши керак, акс ҳолда электрон почта хабарларини юбориб бўлмайди.","メール通知のメールアドレス。 ほとんどのメールボックス・プロバイダでは、SENDER_EMAILはSMTP_USERと同じでなければなりません。","알림 이메일 발신 주소. 대부분의 이메일 서비스 제공자의 경우 SENDER_EMAIL과 SMTP_USER가 일치해야 메일 발송이 가능합니다."]),u+"_SENDER_NAME",["邮件通知标题。","郵件通知標題。","郵件通知標題。","The title for Email notification.","Электрон почта хабарномаси сарлавҳаси.","メール通知のタイトル","알림 이메일 발신자 이름."]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,u+"_SHOW_EMOTION",["启用插入表情功能,默认为:true","啟用插入表情功能,預設為:true","啟用插入表情功能,預設為:true","Enable emojis. Default: true.","Кулгичларни ёқинг. Стандарт: рост.","顔文字の挿入を有効にするかどうか。デフォルト:true","이모티콘 삽입 기능 활성화. 기본값: true."]),u+"_SHOW_IMAGE",["启用插入图片功能,默认为:true","啟用插入圖片功能,預設為:true","啟用插入圖片功能,預設為:true","Enable picture uploading. Default: true.","Расм юклашни ёқинг. Стандарт: рост.","画像のアップロードを有効にするかどうか。デフォルト:true","이미지 업로드 기능 활성화. 기본값: true."]),u+"_SHOW_ORDER",["评论排序下拉框,默认为:true","評論排序下拉框,預設為:true","評論排序下拉框,預設為:true","Show sort dropdown. Default: true.","Изоҳларни тартиблаш очиладиган менюси. Стандарт: рост.","コメントの並べ替えドロップダウンを表示するかどうか。デフォルト:true","댓글 정렬 드롭다운 메뉴 표시 여부. 기본값: true."]),u+"_SHOW_DISLIKE",["评论点踩按钮,默认为:true","評論點踩按鈕,預設為:true","評論點踩按鈕,預設為:true","Show dislike button. Default: true.","Изоҳларни ёқтирмаслик тугмаси. Стандарт: рост.","「よくないね」ボタンを表示するかどうか。デフォルト:true","댓글 싫어요 버튼 표시 여부. 기본값: true."]),u+"_SHOW_UA",["是否显示用户系统和浏览器,默认为:true","是否顯示使用者系統和瀏覽器,預設為:true","是否顯示使用者作業系統和瀏覽器,預設為:true","Show users' OS and browser. Default: true.","Фойдаланувчиларнинг ОС ва браузерини кўрсатиш. Стандарт: рост.","ユーザーのOSとブラウザーの情報を表示するかどうか。デフォルト:true","댓글 작성자의 운영체제 및 브라우저 표시 여부. 기본값: true."]),u+"_SHOW_REGION",["是否显示用户 IP 属地到省,可能不准确,不支持 IPv6,默认为:false","是否顯示使用者 IP 屬地到省,預設為:false","是否顯示使用者 IP 所屬地(精確到省),預設為:false","Show users' IP region (province). Default: false.","Фойдаланувчиларнинг ИП ҳудудини (вилоят) кўрсатиш. Стандарт: нотўғри.","ユーザーIPの所在地(省)を表示するかどうか。正確でない場合があります。IPv6はサポートされていません。デフォルト:false","사용자 IP 지역(도/시 단위) 표시 여부 (부정확할 수 있음, IPv6 미지원). 기본값: false."]),u+"_SITE_NAME",["网站名称","網站名稱","網站名稱","Website name.","Вебсайт номи.","ウェブサイト名","웹사이트 이름."]),u+"_SITE_URL",["网站地址","網站地址","網站網址","Website URL.","Вебсайт URL.","ウェブサイトのアドレス","웹사이트 주소."]),u+"_SMTP_HOST",["自定义 SMTP 服务器地址。如您已配置 SMTP_SERVICE,此项请留空。","自定義 SMTP 伺服器地址。如您已配置 SMTP_SERVICE,此項請留空。","自訂 SMTP 伺服器位址。如您已設定 SMTP_SERVICE,此項請留白。","Custom SMTP server address. If you have configured SMTP_SERVICE, please leave it empty.","Махсус СМТП сервер манзили. Агар сиз СМТП_СEРВИСE созлаган бўлсангиз, уни бўш қолдиринг.","自定义 SMTP 服务器地址。如您已配置 SMTP_SERVICE,此项请留空。","カスタムSMTPサーバのアドレス。SMTP_SERVICEを設定している場合は空白のままにします。","SMTP 서버 주소. SMTP_SERVICE를 설정한 경우 비워두세요."]),u+"_SMTP_PASS",["邮件通知邮箱密码,QQ、163邮箱请填写授权码。","郵件通知郵箱密碼,QQ、163郵箱請填寫授權碼。","郵件通知郵箱密碼,QQ、163 郵箱請填寫授權碼。","Email notification mailbox password. Enter authorization code for QQ/163 mail.","Электрон почта хабарномаси почта қутиси пароли. ҚҚ/163 почтаси учун авторизация кодини киритинг.","メール通知のメールボックスパスワード。QQ、163メールは認証コードを入力してください","알림 이메일 계정 SMTP용 비밀번호. (QQ, 163 등 대부분 별도의 앱 비밀번호/인증 코드 사용)"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,u+"_SMTP_PORT",["自定义 SMTP 端口。如您已配置 SMTP_SERVICE,此项请留空。","自定義 SMTP 端口。如您已配置 SMTP_SERVICE,此項請留空。","自訂 SMTP 連接埠。如您已設定 SMTP_SERVICE,此項請留白。","Custom SMTP port. If you have configured SMTP_SERVICE, please leave it empty.","Махсус СМТП порти. Агар сиз СМТП_СEРВИС созлаган бўлсангиз, уни бўш қолдиринг.","カスタムSMTPポート。SMTP_SERVICEを設定している場合は、空白のままにします。","SMTP 포트. SMTP_SERVICE를 설정한 경우 비워두세요."]),u+"_SMTP_SECURE",["自定义 SMTP 是否使用TLS,请填写 true 或 false。如您已配置 SMTP_SERVICE,此项请留空。","自定義 SMTP 是否使用TLS,請填寫 true 或 false。如您已配置 SMTP_SERVICE,此項請留空。","自訂 SMTP 是否使用 TLS,請填寫 true 或 false。如您已設定 SMTP_SERVICE,此項請留白。",'Custom TLS for SMTP. Enter "true" or "false". If you have configured SMTP_SERVICE, please leave it empty.',"СМТП учун махсус ТЛС. «Тўғри» ёки «нотўғри» ни киритинг. Агар сиз СМТП_СEРВИС созлаган бўлсангиз, уни бўш қолдиринг.","SMTPがTLSを使用するかどうかをカスタマイズします。trueまたはfalseを記入してください。SMTP_SERVICEを設定している場合は、この項目を空白にしてください。","SMTP TLS 사용 여부 (true 또는 false 입력). SMTP_SERVICE를 설정한 경우 비워두세요."]),u+"_SMTP_SERVICE",["邮件通知邮箱服务商。支持:".concat(d.join("、")),"郵件通知郵箱服務商。支持:".concat(d.join("、")),"郵件通知郵箱服務提供商。支援:".concat(d.join("、")),"Email service provider for Email notification. Support: ".concat(d.join(", ")),"Электрон почта хабарномаси учун электрон почта хизмати провайдери. Қўллаб-қувватлаш: ".concat(d.join(", ")),"メール通知メールボックスサービスプロバイダ。サポート: ".concat(d.join(","),"."),"알림 발송 이메일 서비스 선택. 지원 목록: ".concat(d.join(", "))]),u+"_SMTP_USER",["邮件通知邮箱用户名。","郵件通知郵箱用户名。","郵件通知郵箱使用者名稱。","Email notification mailbox username.","Электрон почта хабарномаси почта қутиси фойдаланувчи номи.","メール通知のメールボックスユーザー名。","선택한 이메일 알림 서비스 아이디"]),"ADMIN_CONFIG_RESET",["重置","重置","還原","Reset","Ресет","リセット","초기화"]),"ADMIN_CONFIG_SAVE",["保存","保存","儲存","Save","Сақлаш","保存","저장"]),"ADMIN_CREDENTIALS",["私钥文件","私鑰文件","私鑰檔案","Private key file","Shaxsiy kalit fayli","秘密鍵ファイル","개인 키 파일"]),"ADMIN_CREDENTIALS_FAQ",["如何获得私钥","如何獲得私鑰","如何獲取私鑰","How to get the private key","Shaxsiy kalitni qanday olish mumkin","秘密鍵を取得する方法","개인 키 발급 방법"]),"ADMIN_CREDENTIALS_PLACEHOLDER",["请粘贴私钥文件内容","請貼上私鑰文件內容","請貼上私鑰檔案內容","Please paste the contents of the private key file","Iltimos, shaxsiy kalit faylining mazmunini joylashtiring","秘密鍵ファイルの内容を貼り付けてください","개인 키 파일 내용을 붙여넣으세요"]),"ADMIN_FORGOT",["忘记密码","忘記密碼","忘記密碼","Forget your password","Парол унутилган","パスワードを忘れた","비밀번호 찾기"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,"ADMIN_EXPORT",["导出","匯出","匯出","Export","Экспорт","エクスポート","내보내기"]),"ADMIN_EXPORT_WARN",["将全部数据导出为 JSON 文件。如果遇到评论较多、导出失败或缺失数据,请连接数据库手动导出","將全部數據匯出為 JSON 檔。如果遇到評論較多、匯出失敗或缺失數據,請連接資料庫手動匯出","將全部數據匯出為 JSON 檔。如果遇到評論較多、匯出失敗或缺失數據,請連接資料庫手動匯出","Export all data as a JSON file. If you encounter export failures or missing data, connect to the database to export manually","Барча маълумотларни ЖСОН файли сифатида экспорт қилинг. Экспорт хатоси ёки этишмаётган маълумотларга дуч келсангиз, қўлда экспорт қилиш учун маълумотлар базасига уланинг","すべてのデータをJSONファイルとしてエクスポートします。コメントが多く、エクスポートに失敗したりデータが欠落している場合は、データベースに手動で接続してエクスポートしてください","모든 데이터를 JSON 파일로 내보냅니다. 댓글이 많아 내보내기 실패 또는 데이터 누락 발생 시, 데이터베이스에 직접 연결하여 수동으로 내보내세요."]),"ADMIN_EXPORT_COMMENT",["导出评论","匯出評論","匯出評論","Export comment","Изохни экспорт килиш","コメントをエクスポート","댓글 내보내기"]),"ADMIN_EXPORT_COUNTER",["导出访问量","匯出訪問量","匯出訪問量","Export counter","Экспорт сони","ページビューをエクスポート","통계 내보내기"]),c,["导入","匯入","匯入","Import","Импорт","インポート","가져오기"]),c+"_FILE_REQUIRED",["未选择文件","未選擇文件","未選擇檔案","No file selected","Файлни танланмади","ファイルが選択されていません","파일이 선택되지 않았습니다"]),c+"_IMPORTED",["完成导入 ","完成匯入 ","完成匯入 ","Imported ","Импорт қилинди ","インポート完了 ","가져오기 완료 "]),c+"_IMPORTING",["开始导入 ","開始匯入 ","開始匯入 ","Importing ","Импорт қилинмоқда ","インポートを開始 ","가져오는 중 "]),c+"_LOG",["日志","日誌","日誌","Log","Лог","システムログ","로그"]),c+"_SELECT",["请选择","請選擇","請選擇","Select","Танланг","選択してください","선택하세요"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,c+"_SELECT_FILE",["选择文件","選擇文件","選擇檔案","Select file","Файлни танланг","ファイルを選択","파일 선택"]),c+"_SELECT_SOURCE",["选择源系统","選擇源系統","選擇來源系統","Select source","Манба танланг","ソースを選択","가져올 댓글 데이터 선택"]),c+"_SOURCE_REQUIRED",["未选择源系统","未選擇源系統","未選擇來源系統","No source selected.","Ҳеч қандай манба танланмаган.","ソースが選択されていません","가져올 댓글 데이터가 선택되지 않았습니다."]),c+"_START",["开始导入","開始匯入","開始匯入","Start import","Импортни бошлаш","インポートを開始","가져오기 시작"]),c+"_STARTING",["开始导入","開始匯入","開始匯入","Importing","Импорт қилинмоқда","インポート中です","가져오는 중"]),c+"_TIP_ARTALK",["请上传 JSON 格式的 Artalk 导出文件,文件名通常为 comments.data.json","請上傳 JSON 格式的 Artalk 導出文件,文件名通常為 comments.data.json","請上傳 JSON 格式的 Artalk 匯出檔案,檔名通常為 comments.data.json","Please upload the Artalk export file in JSON format.The file name is usually comments.data.json","Арталк экспорт файлини ЖСОН форматида юкланг. Файл номи одатда comments.data.json бўлади.","JSON形式のArtalkエクスポートファイルをアップロードしてください。ファイル名は通常、comments.data.jsonです。","JSON 형식의 Artalk 내보내기 파일을 업로드하세요. 파일 이름은 보통 comments.data.json 입니다."]),c+"_TIP_DISQUS",["请上传 XML 格式的 Disqus 导出文件,文件名通常为 [网站名称]-[导出时间]-all.xml","請上傳 XML 格式的 Disqus 導出文件,文件名通常為 [網站名稱]-[導出時間]-all.xml","請上傳 XML 格式的 Disqus 匯出檔案,檔名通常為 [網站名稱]-[匯出時間]-all.xml","Please upload the Disqus export file in XML format. The file name is usually [website name]-[export time]-all.xml","Disqus экспорт файлини ХМЛ форматида юкланг. Файл номи одатда [веб-сайт номи]-[экспорт vaqti]-all.xml","DisqusエクスポートファイルをXML形式でアップロードしてください。ファイル名は通常、[サイト名]-[エクスポート時間]-all.xmlです。","XML 형식의 Disqus 내보내기 파일을 업로드하세요. 파일 이름은 보통 [웹사이트이름]-[내보내기시간]-all.xml 입니다."]),c+"_TIP_VALINE",["请上传 JSON 格式的 Valine 导出文件,文件名通常为 Comment.json","請上傳 JSON 格式的 Valine 導出文件,文件名通常為 Comment.json","請上傳 JSON 格式的 Valine 匯出檔案,檔名通常為 Comment.json","Please upload the Valine export file in JSON format. The file name is usually Comment.json","Илтимос, Валине экспорт файлини ЖСОН форматида юкланг. Файл номи одатда Comment.json","JSON形式のValineエクスポートファイルをアップロードしてください。ファイル名は通常、Comment.jsonです。","JSON 형식의 Valine 내보내기 파일을 업로드하세요. 파일 이름은 보통 Comment.json 입니다."]),c+"_UPLOADED",["上传完成 ","上傳完成 ","上傳完成 ","Uploaded ","Юкланди ","アップロード完了","업로드 완료 "]),c+"_UPLOADING",["已上传 ","已上傳 ","已上傳 ","Uploading ","Юкланмоқда ","アップロード中です","업로드 중 "]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,c+"_WARN",["支持从其他评论系统的备份文件导入评论。\n数据是安全的,导入功能完全在您的云环境进行。\n建议在导入前备份 comment 数据库。","支持從其他評論系統的備份文件匯入評論。\n數據是安全的,匯入功能完全在您的雲環境進行。\n建議在匯入前備份 comment 數據庫。","支援從其他留言系統的備份檔案匯入留言。\n資料是安全的,匯入功能完全在您的雲端環境進行。\n建議在匯入前備份 comment 資料庫。","Import comments from other comment systems.\nThe data is safe, and the import function is performed entirely in your cloud environment.\nPlease backup your comment database before importing.","Бошқа шарҳ тизимларидан шарҳларни импорт қилинг.\nМаълумотлар хавфсиз ва импорт функцияси тўлиқ булутли муҳитда амалга оширилади.\nИмпорт қилишдан олдин шарҳлар маълумотлар базасини захираланг.","他のコメントシステムのバックアップファイルからのインポートに対応。\nデータは安全で、インポート機能はすべてクラウド環境で実行されます。\nインポート前にコメントデータベースをバックアップすることを推奨します。","다른 댓글 시스템의 백업 파일에서 댓글을 가져올 수 있습니다.\n데이터 가져오기는 설정하신 클라우드에서만 안전하게 진행됩니다.\n가져오기 전에 댓글 데이터베이스를 백업하는 것이 좋습니다."]),"ADMIN_LOGIN",["登录","登入","登入","Sign in","Тизимга кириш","ログイン","로그인"]),"ADMIN_LOGIN_TITLE",["Twikoo 评论管理","Twikoo 評論管理","Twikoo 留言管理","Twikoo Management Panel","Twikoo Бошқарув Панели","Twikoo コメント管理","Twikoo 관리자 패널"]),"ADMIN_LOGOUT",["退出登录","退出登入","登出","Sign out","Тизимдан чиқиш","ログアウト","로그아웃"]),"ADMIN_NEED_UPDATE",["若要使用评论管理,请更新 Twikoo 云函数","若要使用評論管理,請更新 Twikoo 雲函數","若要使用留言管理功能,請更新 Twikoo 雲端函數","A new version of Twikoo is required for comment management.","Фикрларни бошқариш учун Твикоо нинг янги версияси талаб қилинади.","コメント管理を使用するには、Twikoo クラウド関数を更新してください","새 버전의 댓글 관리를 사용하려면 Twikoo Cloud Function을 업데이트하세요."]),"ADMIN_PASSWORD",["密码","密碼","密碼","Password","Пароль","パスワード","비밀번호"]),"ADMIN_PASSWORD_PLACEHOLDER",["请输入","請輸入","請輸入","Enter your password...","Паролингизни киритинг...","入力してください","비밀번호를 입력하세요..."]),"ADMIN_PASSWORD_REQUIRED",["请输入密码","請輸入密碼","請輸入密碼","Please enter your password","Илтимос, паролингизни киритинг","パスワードを入力してください","비밀번호를 입력하세요"]),"ADMIN_REGIST",["注册","註冊","註冊","Register","Рўйхатдан ўтиш","登録","관리자 등록"]),"ADMIN_REGIST_FAILED",["注册失败","註冊失敗","註冊失敗","Register failed","Рўйхатдан ўтиш амалга ошмади","登録に失敗しました","관리자 등록 실패"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,"ADMIN_SET_PASSWORD",["设置密码","設置密碼","設定密碼","Set password","Пароль қўйиш","パスワードの設定","비밀번호 설정"]),"ADMIN_SET_PASSWORD_CONFIRM",["确认密码","確認密碼","確認密碼","Confirm password","Паролни тасдиқланг","パスワードの確認","비밀번호 확인"]),"ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER",["确认密码","確認密碼","確認密碼","Confirm password...","Паролни тасдиқлаш...","パスワードの確認","비밀번호 확인..."]),"ADMIN_SET_PASSWORD_PLACEHOLDER",["密码","密碼","密碼","Password","Пароль","パスワード","비밀번호"]),"ADMIN_TITLE",["Twikoo 管理面板","Twikoo 管理面板","Twikoo 管理控制台","Twikoo Management Panel","Twikoo Бошқарув Панели","Twikoo管理パネル","Twikoo 관리 패널"]),"COMMENTS_COUNT_SUFFIX",[" 条评论"," 條評論"," 則留言"," comments"," изоҳлар"," 件のコメント","개의 댓글"]),"COMMENTS_SORT_NEWEST",["最新","最新","最新","Newest","Энг янги","最新","최신"]),"COMMENTS_SORT_OLDEST",["最早","最早","最早","Oldest","Энг эски","最古","오래됨"]),"COMMENTS_SORT_POPULAR",["热门","熱門","熱門","Popular","Машҳур","人気","인기"]),"COMMENTS_EXPAND",["查看更多","查看更多","檢視更多","Load more","Давомини юклаш","もっと見る","더 보기"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,"COMMENTS_NO_COMMENTS",["没有评论","沒有評論","沒有留言","No comment","Изоҳларсиз","コメントはありません","아직 댓글이 없습니다."]),"COMMENT_EXPAND",["展开","展開","展開","Read more","Давомини ўқиш","全文を表示","더 보기"]),"COMMENT_COLLAPSE",["收起","收起","閉合","Collapse","Очиш","折りたたむ","접기"]),"COMMENT_MASTER_TAG",["博主","博主","站長","Admin","Модератор","管理者","관리자"]),"COMMENT_REPLIED",["回复","回覆","回覆","Reply","Жавоб бериш","返信","답글"]),"COMMENT_DELETE_CONFIRM",["确认删除你的评论?","確認刪除你的評論?","確認刪除你的評論?","Delete your comment?","Izohingizni o'chirasizmi?","あなたのコメントを削除しますか?","댓글을 삭제하시겠습니까?"]),"COMMENT_REVIEWING_TAG",["审核中","審核中","審核中","Pending","Кутилмоқда","検討中","검토 중"]),"COMMENT_TOP_TAG",["置顶","置頂","置頂","Pinned","Қадоқланган","固定","고정됨"]),"COMMENT_FAILED",["评论失败","評論失敗","評論失敗","Comment failed","Фикр билдирилмади","コメント失敗","댓글 등록 실패"]),"META_INPUT_LINK",["网址","網址","網址","Website","Веб-сайт","ウェブサイト","웹사이트"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,"META_INPUT_MAIL",["邮箱","郵箱","郵箱","Email","Email","メールアドレス","이메일"]),"META_INPUT_NICK",["昵称","暱稱","暱稱","Nickname","Исм","名前","닉네임"]),"META_INPUT_NOT_REQUIRED",["选填","選填","選填","Optional","Ихтиёрий","任意","선택"]),"META_INPUT_REQUIRED",["必填","必填","必填","Required","Мажбурий","必須","필수"]),"PAGINATION_COUNT_PREFIX",["共 ","共 ","共 ","","","合計 ","총 "]),"PAGINATION_COUNT_SUFFIX",[" 条"," 條"," 條"," entries"," ёзувлар"," 件","개"]),"PAGINATION_GOTO_PREFIX",["前往","前往","前往","Goto page","Саҳифага ўтиш","ページに移動","이동할 페이지: "]),"PAGINATION_GOTO_SUFFIX",["页","頁","頁","","ページ",""]),"PAGINATION_PAGESIZE",["条/页","條/頁","則/頁","entries/page","ёзувлар/саҳифа","件/ページ","개/페이지"]),"SUBMIT_CANCEL",["取消","取消","取消","Cancel","Бекор қилиш","キャンセル","취소"]),(0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])((0,i["default"])(o,"SUBMIT_PREVIEW",["预览","預覽","預覽","Preview","Кўриб чиқиш","プレビュー","미리보기"]),"SUBMIT_SEND",["发送","發送","傳送","Send","Юбормоқ","送信","등록"]),"IMAGE_UPLOAD_PLACEHOLDER",["图片上传中","圖片上傳中","圖片上傳中","Uploading image","Расм юклаш","画像のアップロード中","이미지 업로드 중"]),"IMAGE_UPLOAD_FAILED",["图片上传失败","圖片上傳失敗","圖片上傳失敗","IMAGE UPLOAD FAILED","РАСМ ЮКЛАНМАДИ","画像のアップロード失敗","이미지 업로드 실패"]),"IMAGE_UPLOAD_NSFW",["图片包含不当内容,禁止上传","圖片包含不當內容,禁止上傳","圖片包含不當內容,禁止上傳","Image contains inappropriate content, upload rejected","Расм ноқулай мазмунни ўз ичига олади, юклаш рад қилинди","画像に不適切なコンテンツが含まれているため、アップロードが拒否されました","이미지에 부적절한 콘텐츠가 포함되어 있어 업로드가 거부되었습니다"]),"IMAGE_UPLOAD_FAILED_NO_CONF",["博主未配置图床服务","博主未配置圖床服務","博主未配置圖床服務","The blogger didn't configured any image bed service","Муаллиф ҳеч қандай тасвир хизматини созламаган","管理者が画像配信サービスを設定していません","블로거가 이미지 호스팅 서비스를 설정하지 않았습니다."]),"IMAGE_UPLOAD_PLEASE_WAIT",["图片上传中,请稍候再发送","圖片上傳中,請稍候再發送","圖片上傳中,請稍候再傳送","Uploading image, please try again later","Расм юкланмоқда, кейинроқ қайта уриниб кўринг","画像のアップロードが完了するまでお待ちください","이미지 업로드 중입니다. 잠시 후 다시 시도해주세요."]),"SUBMIT_SENDING",["发送中","發送中","正在傳送","Sending","Юбориш","送信中","등록 중"]),"TIMEAGO_DAYS",["天前","天前","天前","days ago","кунлар олдин","日前","일 전"]),"TIMEAGO_HOURS",["小时前","小時前","小時前","hours ago","соатлар олдин","時間前","시간 전"]),(0,i["default"])((0,i["default"])((0,i["default"])(o,"TIMEAGO_MINUTES",["分钟前","分鐘前","分鐘前","minutes ago","дақиқалар олдин","分前","분 전"]),"TIMEAGO_NOW",["刚刚","剛剛","剛剛","Just now","Ҳозиргина","たった今","방금 전"]),"TIMEAGO_SECONDS",["秒前","秒前","秒前","seconds ago","сониялар олдин","秒前","초 전"]))},5878:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.setLanguage=t["default"]=void 0;var o=r(n(7564)),i={zh:0,"zh-cn":0,"zh-hk":1,"zh-tw":2,"en-us":3,"en-gb":3,en:3,uz:4,"uz-uz":4,ja:5,"ja-jp":5,ko:6,"ko-kr":6},a="";t.setLanguage=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};e.lang&&e.lang.toLowerCase()in i&&(a=e.lang)},t["default"]=function(e,t){var n=(t||a||navigator.language).toLowerCase();return(n&&i[n]?o["default"][e][i[n]]:o["default"][e][i["zh-cn"]])||""}},8129:function(e,t,n){"use strict";var r=n(477),o=n(9367);Object.defineProperty(t,"__esModule",{value:!0}),t.blobToDataURL=void 0,Object.defineProperty(t,"call",{enumerable:!0,get:function(){return p.call}}),t.getHref=t.getFuncVer=t.getCommentsCountApi=t.convertLink=void 0,Object.defineProperty(t,"getQQAvatar",{enumerable:!0,get:function(){return h.getQQAvatar}}),t.getUserAgent=t.getUrl=t.getRecentCommentsApi=void 0,Object.defineProperty(t,"initMarkedOwo",{enumerable:!0,get:function(){return v.initMarkedOwo}}),Object.defineProperty(t,"initOwoEmotions",{enumerable:!0,get:function(){return v.initOwoEmotions}}),t.isNotSet=void 0,Object.defineProperty(t,"isQQ",{enumerable:!0,get:function(){return h.isQQ}}),Object.defineProperty(t,"isUrl",{enumerable:!0,get:function(){return p.isUrl}}),t.logger=void 0,Object.defineProperty(t,"marked",{enumerable:!0,get:function(){return d["default"]}}),Object.defineProperty(t,"normalizeMail",{enumerable:!0,get:function(){return h.normalizeMail}}),t.readAsText=void 0,Object.defineProperty(t,"renderCode",{enumerable:!0,get:function(){return f["default"]}}),t.renderMath=t.renderLinks=void 0,Object.defineProperty(t,"setLanguage",{enumerable:!0,get:function(){return c.setLanguage}}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return c["default"]}}),Object.defineProperty(t,"timeago",{enumerable:!0,get:function(){return l["default"]}}),t.timestamp=void 0;var i,a=r(n(479)),s=r(n(1819)),u=r(n(4964)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{"default":e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r["default"]=e,n&&n.set(e,r),r}(n(5878)),l=r(n(7435)),d=r(n(37)),f=r(n(4161)),p=n(585),h=n(7080),v=n(9212);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.isNotSet=function(e){return e===undefined||null===e||""===e},t.logger={log:function(e,t){console.log("Twikoo: ".concat(e),t)},info:function(e,t){console.info("Twikoo: ".concat(e),t)},warn:function(e,t){console.warn("Twikoo: ".concat(e),t)},error:function(e,t){console.error("Twikoo: ".concat(e),t)}},t.timestamp=function(){return(arguments.length>0&&arguments[0]!==undefined?arguments[0]:new Date).getTime()},t.convertLink=function(e){return e?"http"!==e.substring(0,4)?"http://".concat(e):e:""},t.getFuncVer=function(){var e=(0,u["default"])(a["default"].mark(function t(e){return a["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i){t.next=4;break}return t.next=3,(0,p.call)(e,"GET_FUNC_VERSION");case 3:i=t.sent;case 4:return t.abrupt("return",i);case 5:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),t.getCommentsCountApi=function(){var e=(0,u["default"])(a["default"].mark(function t(e,n){var r;return a["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n.urls instanceof Array){t.next=2;break}throw new Error("urls 参数有误");case 2:if(0!==n.urls.length){t.next=4;break}return t.abrupt("return",[]);case 4:return t.next=6,(0,p.call)(e,"GET_COMMENTS_COUNT",n);case 6:return r=t.sent,t.abrupt("return",r.result.data);case 8:case"end":return t.stop()}},t)}));return function(t,n){return e.apply(this,arguments)}}(),t.getRecentCommentsApi=function(){var e=(0,u["default"])(a["default"].mark(function t(e,n){var r,o,i,s;return a["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,p.call)(e,"GET_RECENT_COMMENTS",n);case 2:r=t.sent,o=g(r.result.data);try{for(o.s();!(i=o.n()).done;)(s=i.value).relativeTime=(0,l["default"])(s.created)}catch(a){o.e(a)}finally{o.f()}return t.abrupt("return",r.result.data);case 6:case"end":return t.stop()}},t)}));return function(t,n){return e.apply(this,arguments)}}(),t.getUserAgent=function(){var e=(0,u["default"])(a["default"].mark(function t(){var e,n,r,o,i,s;return a["default"].wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=window.navigator.userAgent,t.prev=1,"Windows"!==(n=navigator.userAgentData.platform)&&"macOS"!==n){t.next=10;break}return t.next=6,navigator.userAgentData.getHighEntropyValues(["platformVersion"]);case 6:r=t.sent,o=r.platformVersion,i=parseInt(o.split(".")[0]),"Windows"===n&&i>=13?e=e.replace(/Windows NT 10\.0/i,"Windows NT ".concat("11.0")):"macOS"===n&&i>=11&&(s=o.replace(/\./g,"_"),e=e.replace(/Mac OS X 10_[0-9]+_[0-9]+/i,"Mac OS X ".concat(s)));case 10:t.next=14;break;case 12:t.prev=12,t.t0=t["catch"](1);case 14:return t.abrupt("return",e);case 15:case"end":return t.stop()}},t,null,[[1,12]])}));return function(){return e.apply(this,arguments)}}(),t.getUrl=function(e){var t;if(window.TWIKOO_MAGIC_PATH)t=window.TWIKOO_MAGIC_PATH;else if(e&&"string"==typeof e)switch(e){case"location.pathname":case"window.location.pathname":t=window.location.pathname;break;case"location.href":case"window.location.href":t=window.location.href;break;default:t=e}else t=window.location.pathname;return t},t.getHref=function(e){var t,n;return null!==(t=null!==(n=window.TWIKOO_MAGIC_HREF)&&void 0!==n?n:e)&&void 0!==t?t:window.location.href},t.readAsText=function(e){return new Promise(function(t,n){var r=new FileReader;r.readAsText(e),r.onloadend=function(){r.error?n(r.error):t(r.result)}})},t.renderLinks=function(e){var t=[];e instanceof Array?e.forEach(function(e){var n;(n=t).push.apply(n,(0,s["default"])(e.getElementsByTagName("a")))}):e instanceof Element&&(t=e.getElementsByTagName("a"));var n,r=g(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.setAttribute("target","_blank"),o.setAttribute("rel","noopener noreferrer nofollow ugc")}}catch(i){r.e(i)}finally{r.f()}},t.renderMath=function(e,t){"function"==typeof renderMathInElement&&renderMathInElement(e,t||{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],throwOnError:!1})},t.blobToDataURL=function(e){return new Promise(function(t){var n=new FileReader;n.onload=function(e){var n=e.target.result;t(n)},n.readAsDataURL(e)})}},37:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n(78);r.marked.setOptions({renderer:new r.marked.Renderer,gfm:!0,tables:!0,breaks:!0,pedantic:!1,smartLists:!0,smartypants:!0}),t["default"]=r.marked},824:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.install=function(e){return d.apply(this,arguments)},t.tcb=void 0;var o=r(n(479)),i=r(n(4964)),a=n(8129);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=[{key:"envId",required:!0}],l=t.tcb={sdk:null,app:null,auth:null};function d(){return d=(0,i["default"])(o["default"].mark(function e(t){var n,r=arguments;return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&r[1]!==undefined?r[1]:{},l.sdk=t,f(n),e.next=5,p(n);case 5:return e.abrupt("return",l);case 6:case"end":return e.stop()}},e)})),d.apply(this,arguments)}function f(e){var t,n=[],r=s(c);try{for(r.s();!(t=r.n()).done;){var o=t.value;o["default"]&&(0,a.isNotSet)(e[o.key])?e[o.key]=o["default"]:o.required&&(0,a.isNotSet)(e[o.key])&&n.push(o.key)}}catch(d){r.e(d)}finally{r.f()}if(n.length>0){var i,u=s(n);try{for(u.s();!(i=u.n()).done;){var l=i.value;a.logger.warn("".concat(l," is required"))}}catch(d){u.e(d)}finally{u.f()}throw new Error("Twikoo: failed to init")}}function p(e){return h.apply(this,arguments)}function h(){return(h=(0,i["default"])(o["default"].mark(function e(t){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return v(t),e.next=3,m();case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function v(e){l.app=l.sdk.init({env:e.envId,region:e.region})}function m(){return g.apply(this,arguments)}function g(){return(g=(0,i["default"])(o["default"].mark(function e(){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e,t){l.auth=l.app.auth({persistence:"local"}),l.auth.hasLoginState()?e():l.auth.anonymousAuthProvider().signIn().then(e)["catch"](t)}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}},7435:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n(8129),o=function(e){var t=i(e.getDate(),2),n=i(e.getMonth()+1,2),r=i(e.getFullYear(),2);return"".concat(r,"-").concat(n,"-").concat(t)},i=function(e,t){for(var n=e.toString();n.length<t;)n="0"+n;return n};t["default"]=function(e){if("number"==typeof e&&(e=new Date(e)),e)try{var t=e.getTime(),n=Date.now()-t,i=Math.floor(n/864e5);if(0===i){var a=n%864e5,s=Math.floor(a/36e5);if(0===s){var u=a%36e5,c=Math.floor(u/6e4);if(0===c){var l=u%6e4;return Math.round(l/1e3)+" ".concat((0,r.t)("TIMEAGO_SECONDS"))}return c+" ".concat((0,r.t)("TIMEAGO_MINUTES"))}return s+" ".concat((0,r.t)("TIMEAGO_HOURS"))}return i<0?(0,r.t)("TIMEAGO_NOW"):i<8?i+" ".concat((0,r.t)("TIMEAGO_DAYS")):o(e)}catch(d){r.logger.log("timeAgo 错误",d)}}},2199:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="1.7.9"},1085:function(e,t,n){"use strict";var r=n(477);Object.defineProperty(t,"__esModule",{value:!0}),t.render=t.app=void 0;var o=r(n(4478)),i=r(n(1463)),a=r(n(5735)),s=r(n(4511));n(622),n(8848),n(6756),n(4707);var u=r(n(6768));o["default"].use(i["default"]),o["default"].use(a["default"]),o["default"].use(s["default"]);var c=t.app=null;t.render=function(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return o["default"].prototype.$tcb=e,o["default"].prototype.$twikoo=n,t.app=c=new o["default"]({render:function(e){return e(u["default"])}}),c.$mount(n.el||"#twikoo"),c}},3723:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,".el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#FFF;border:1px solid #DCDFE6;color:#606266;-webkit-appearance:none;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;margin:0;-webkit-transition:.1s;transition:.1s;font-weight:500;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button:focus,.el-button:hover{color:#409EFF;border-color:#c6e2ff;background-color:#ecf5ff}.el-button:active{color:#3a8ee6;border-color:#3a8ee6;outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#FFF;border-color:#409EFF;color:#409EFF}.el-button.is-active,.el-button.is-plain:active{color:#3a8ee6;border-color:#3a8ee6}.el-button.is-plain:active{background:#FFF;outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#C0C4CC;cursor:not-allowed;background-image:none;background-color:#FFF;border-color:#EBEEF5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#FFF;border-color:#EBEEF5;color:#C0C4CC}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:rgba(255,255,255,.35)}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{color:#FFF;background-color:#409EFF;border-color:#409EFF}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#FFF}.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF;outline:0}.el-button--primary.is-active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{color:#FFF;background-color:#a0cfff;border-color:#a0cfff}.el-button--primary.is-plain{color:#409EFF;background:#ecf5ff;border-color:#b3d8ff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#409EFF;border-color:#409EFF;color:#FFF}.el-button--primary.is-plain:active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF;outline:0}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:#8cc5ff;background-color:#ecf5ff;border-color:#d9ecff}.el-button--success{color:#FFF;background-color:#67C23A;border-color:#67C23A}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#FFF}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#FFF}.el-button--success:active{outline:0}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{color:#FFF;background-color:#b3e19d;border-color:#b3e19d}.el-button--success.is-plain{color:#67C23A;background:#f0f9eb;border-color:#c2e7b0}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#67C23A;border-color:#67C23A;color:#FFF}.el-button--success.is-plain:active{background:#5daf34;border-color:#5daf34;color:#FFF;outline:0}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:#a4da89;background-color:#f0f9eb;border-color:#e1f3d8}.el-button--warning{color:#FFF;background-color:#E6A23C;border-color:#E6A23C}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#FFF}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#FFF}.el-button--warning:active{outline:0}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{color:#FFF;background-color:#f3d19e;border-color:#f3d19e}.el-button--warning.is-plain{color:#E6A23C;background:#fdf6ec;border-color:#f5dab1}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#E6A23C;border-color:#E6A23C;color:#FFF}.el-button--warning.is-plain:active{background:#cf9236;border-color:#cf9236;color:#FFF;outline:0}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:#f0c78a;background-color:#fdf6ec;border-color:#faecd8}.el-button--danger{color:#FFF;background-color:#F56C6C;border-color:#F56C6C}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#FFF}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#FFF}.el-button--danger:active{outline:0}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{color:#FFF;background-color:#fab6b6;border-color:#fab6b6}.el-button--danger.is-plain{color:#F56C6C;background:#fef0f0;border-color:#fbc4c4}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#F56C6C;border-color:#F56C6C;color:#FFF}.el-button--danger.is-plain:active{background:#dd6161;border-color:#dd6161;color:#FFF;outline:0}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:#f9a7a7;background-color:#fef0f0;border-color:#fde2e2}.el-button--info{color:#FFF;background-color:#909399;border-color:#909399}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#FFF}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#FFF}.el-button--info:active{outline:0}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{color:#FFF;background-color:#c8c9cc;border-color:#c8c9cc}.el-button--info.is-plain{color:#909399;background:#f4f4f5;border-color:#d3d4d6}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#909399;border-color:#909399;color:#FFF}.el-button--info.is-plain:active{background:#82848a;border-color:#82848a;color:#FFF;outline:0}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:#bcbec2;background-color:#f4f4f5;border-color:#e9e9eb}.el-button--medium{padding:10px 20px;font-size:14px;border-radius:4px}.el-button--mini,.el-button--small{font-size:12px;border-radius:3px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small,.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini,.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{border-color:transparent;color:#409EFF;background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#66b1ff;border-color:transparent;background-color:transparent}.el-button--text:active{color:#3a8ee6;border-color:transparent;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover{border-color:transparent}.el-button-group .el-button--danger:last-child,.el-button-group .el-button--danger:not(:first-child):not(:last-child),.el-button-group .el-button--info:last-child,.el-button-group .el-button--info:not(:first-child):not(:last-child),.el-button-group .el-button--primary:last-child,.el-button-group .el-button--primary:not(:first-child):not(:last-child),.el-button-group .el-button--success:last-child,.el-button-group .el-button--success:not(:first-child):not(:last-child),.el-button-group .el-button--warning:last-child,.el-button-group .el-button--warning:not(:first-child):not(:last-child),.el-button-group>.el-dropdown>.el-button{border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--danger:first-child,.el-button-group .el-button--danger:not(:first-child):not(:last-child),.el-button-group .el-button--info:first-child,.el-button-group .el-button--info:not(:first-child):not(:last-child),.el-button-group .el-button--primary:first-child,.el-button-group .el-button--primary:not(:first-child):not(:last-child),.el-button-group .el-button--success:first-child,.el-button-group .el-button--success:not(:first-child):not(:last-child),.el-button-group .el-button--warning:first-child,.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-right-color:rgba(255,255,255,.5)}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group::after,.el-button-group::before{display:table;content:\"\"}.el-button-group::after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button.is-disabled{z-index:1}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-radius:4px}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:20px}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0}",""]),t["default"]=a},1315:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,".el-input__inner,.el-textarea__inner{background-image:none;-webkit-box-sizing:border-box;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:14px}.el-textarea__inner{display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;color:#606266;background-color:#FFF;border:1px solid #DCDFE6;border-radius:4px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner::-webkit-input-placeholder{color:#C0C4CC}.el-textarea__inner:-ms-input-placeholder{color:#C0C4CC}.el-textarea__inner::-ms-input-placeholder{color:#C0C4CC}.el-textarea__inner::placeholder{color:#C0C4CC}.el-textarea__inner:hover{border-color:#C0C4CC}.el-textarea__inner:focus{outline:0;border-color:#409EFF}.el-textarea .el-input__count{color:#909399;background:#FFF;position:absolute;font-size:12px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:#F5F7FA;border-color:#E4E7ED;color:#C0C4CC;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder{color:#C0C4CC}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#C0C4CC}.el-textarea.is-exceed .el-textarea__inner{border-color:#F56C6C}.el-textarea.is-exceed .el-input__count{color:#F56C6C}.el-input{position:relative;font-size:14px;display:inline-block;width:100%}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#b4bccc}.el-input::-webkit-scrollbar-corner{background:#fff}.el-input::-webkit-scrollbar-track{background:#fff}.el-input::-webkit-scrollbar-track-piece{background:#fff;width:6px}.el-input .el-input__clear{color:#C0C4CC;font-size:14px;cursor:pointer;-webkit-transition:color .2s cubic-bezier(.645,.045,.355,1);transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-input .el-input__clear:hover{color:#909399}.el-input .el-input__count{height:100%;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#909399;font-size:12px}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input,.el-input__inner{font-size:inherit}.el-input .el-input__count .el-input__count-inner{background:#FFF;line-height:initial;display:inline-block;padding:0 5px}.el-input__inner{-webkit-appearance:none;background-color:#FFF;border-radius:4px;border:1px solid #DCDFE6;box-sizing:border-box;color:#606266;display:inline-block;height:40px;line-height:40px;outline:0;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__prefix,.el-input__suffix{position:absolute;top:0;-webkit-transition:all .3s;text-align:center;height:100%;color:#C0C4CC}.el-input__inner::-ms-reveal{display:none}.el-input__inner::-webkit-input-placeholder{color:#C0C4CC}.el-input__inner:-ms-input-placeholder{color:#C0C4CC}.el-input__inner::-ms-input-placeholder{color:#C0C4CC}.el-input__inner::placeholder{color:#C0C4CC}.el-input__inner:hover{border-color:#C0C4CC}.el-input.is-active .el-input__inner,.el-input__inner:focus{border-color:#409EFF;outline:0}.el-input__suffix{right:5px;transition:all .3s;pointer-events:none}.el-input__suffix-inner{pointer-events:all}.el-input__prefix{left:5px;transition:all .3s}.el-input__icon{height:100%;width:25px;text-align:center;-webkit-transition:all .3s;transition:all .3s;line-height:40px}.el-input__icon:after{content:'';height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__validateIcon{pointer-events:none}.el-input.is-disabled .el-input__inner{background-color:#F5F7FA;border-color:#E4E7ED;color:#C0C4CC;cursor:not-allowed}.el-input.is-disabled .el-input__inner::-webkit-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner::-ms-input-placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__inner::placeholder{color:#C0C4CC}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__inner{border-color:#F56C6C}.el-input.is-exceed .el-input__suffix .el-input__count{color:#F56C6C}.el-input--suffix .el-input__inner{padding-right:30px}.el-input--prefix .el-input__inner{padding-left:30px}.el-input--medium{font-size:14px}.el-input--medium .el-input__inner{height:36px;line-height:36px}.el-input--medium .el-input__icon{line-height:36px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:32px;line-height:32px}.el-input--small .el-input__icon{line-height:32px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:28px;line-height:28px}.el-input--mini .el-input__icon{line-height:28px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#F5F7FA;color:#909399;vertical-align:middle;display:table-cell;position:relative;border:1px solid #DCDFE6;border-radius:4px;padding:0 20px;width:1px;white-space:nowrap}.el-input-group--prepend .el-input__inner,.el-input-group__append{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--append .el-input__inner,.el-input-group__prepend{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:-10px -20px}.el-input-group__append button.el-button,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__prepend{border-right:0}.el-input-group__append{border-left:0}.el-input-group--append .el-select .el-input.is-focus .el-input__inner,.el-input-group--prepend .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input__inner::-ms-clear{display:none;width:0;height:0}",""]),t["default"]=a},9211:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,".el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:rgba(255,255,255,.9);margin:0;top:0;right:0;bottom:0;left:0;-webkit-transition:opacity .3s;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:50px;width:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:#409EFF;margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:42px;width:42px;-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#409EFF;stroke-linecap:round}.el-loading-spinner i{color:#409EFF}.el-loading-fade-enter,.el-loading-fade-leave-active{opacity:0}@-webkit-keyframes loading-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}100%{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}100%{stroke-dasharray:90,150;stroke-dashoffset:-120px}}",""]),t["default"]=a},9737:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.twikoo {\n position: relative;\n}\n.twikoo svg {\n width: 100%;\n height: 100%;\n fill: currentColor;\n}\n\n/* 全局 CSS */\n.tk-expand {\n width: 100%;\n cursor: pointer;\n padding: 0.75em;\n text-align: center;\n transition: all 0.5s;\n}\n.tk-expand:hover {\n background-color: rgba(0,0,0,0.13);\n}\n.tk-expand:active {\n background-color: rgba(0,0,0,0.19);\n}\n.tk-content img {\n max-width: 300px;\n max-height: 300px;\n vertical-align: middle;\n}\n.tk-owo-emotion,\n.twikoo .OwO-item img {\n width: 3em;\n height: auto;\n}\n\n/* element-ui overwrite */\n.twikoo .el-input__inner,\n.twikoo .el-textarea__inner {\n color: currentColor;\n background-color: transparent;\n border-color: rgba(144,147,153,0.31);\n}\n.twikoo .el-input__inner:hover,\n.twikoo .el-textarea__inner:hover {\n border-color: rgba(144,147,153,0.50);\n}\n.twikoo .el-input__inner:focus,\n.twikoo .el-textarea__inner:focus {\n border-color: #409eff;\n}\n.twikoo .el-input-group__append,\n.twikoo .el-input-group__prepend {\n color: currentColor;\n background-clip: padding-box;\n background-color: rgba(144,147,153,0.13);\n border-color: rgba(144,147,153,0.31);\n}\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text) {\n color: currentColor;\n background-color: rgba(144,147,153,0.063);\n border-color: rgba(144,147,153,0.31);\n}\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text):active,\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text):focus,\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text):hover {\n color: #409eff;\n background-color: rgba(64,158,255,0.063);\n border-color: rgba(64,158,255,0.50);\n}\n.twikoo .el-button--primary.is-disabled,\n.twikoo .el-button--primary.is-disabled:active,\n.twikoo .el-button--primary.is-disabled:focus,\n.twikoo .el-button--primary.is-disabled:hover {\n color: rgba(255,255,255,0.63);\n background-color: rgba(64,158,255,0.50);\n border-color: transparent;\n}\n.twikoo .el-loading-mask {\n background-color: transparent;\n backdrop-filter: opacity(20%);\n}\n.twikoo .el-textarea .el-input__count {\n color: currentColor;\n background: transparent;\n}\n.tk-admin-warn {\n padding: 1rem 1.5rem;\n background-color: #fff7d0;\n border-left: 0.5rem solid #e7c000;\n color: #6b5900;\n align-self: stretch;\n}\n",""]),t["default"]=a},8207:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-action {\n display: flex;\n align-items: center;\n}\n.tk-action-link {\n appearance: none;\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n margin: 0;\n margin-left: 0.5rem;\n color: #409eff;\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n.tk-action-link .tk-action-icon-solid {\n display: none;\n}\n.tk-action-link.tk-liked .tk-action-icon,\n.tk-action-link:hover .tk-action-icon {\n display: none;\n}\n.tk-action-link.tk-liked .tk-action-icon-solid,\n.tk-action-link:hover .tk-action-icon-solid {\n display: block;\n}\n.tk-action-link.tk-disliked .tk-action-icon,\n.tk-action-link.tk-disliked:hover .tk-action-icon {\n display: none;\n}\n.tk-action-link.tk-disliked .tk-action-icon-solid,\n.tk-action-link.tk-disliked:hover .tk-action-icon-solid {\n display: block;\n}\n.tk-action-count {\n margin-left: 0.25rem;\n font-size: 0.75rem;\n height: 1.5rem;\n line-height: 1.5rem;\n}\n.tk-action-icon {\n display: inline-block;\n height: 1em;\n width: 1em;\n line-height: 0;\n color: #409eff;\n}\n",""]),t["default"]=a},8402:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-admin-container {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n pointer-events: none;\n}\n.tk-admin {\n position: absolute;\n top: 0;\n left: 100%;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n pointer-events: all;\n color: #ffffff;\n background-color: rgba(0,0,0,0.60);\n backdrop-filter: blur(5px);\n transition: all 0.5s ease;\n visibility: hidden;\n}\n.tk-admin::-webkit-scrollbar {\n width: 5px;\n background-color: transparent;\n}\n.tk-admin::-webkit-scrollbar-track {\n background-color: transparent;\n}\n.tk-admin::-webkit-scrollbar-thumb {\n background-color: rgba(255,255,255,0.31);\n}\n.tk-admin.__show {\n left: 0;\n visibility: visible;\n}\n.tk-admin-close {\n appearance: none;\n background: none;\n border: none;\n margin: 0;\n text-decoration: none;\n cursor: pointer;\n position: sticky;\n float: right;\n display: block;\n top: 0;\n right: 0;\n width: 1rem;\n height: 1rem;\n padding: 1rem;\n box-sizing: content-box;\n color: #ffffff;\n}\n.tk-login,\n.tk-regist {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n padding: 0 2rem;\n}\n.tk-login-title {\n color: #ffffff;\n font-size: 1.25rem;\n text-align: center;\n margin-top: 10rem;\n}\n.tk-password,\n.tk-login-msg {\n color: #ffffff;\n width: 80%;\n text-align: center;\n margin-top: 1rem;\n}\n.tk-password .el-input__inner {\n min-width: 100px;\n}\n.tk-login-msg a {\n color: #ffffff;\n margin-left: 1em;\n text-decoration: underline;\n}\n.tk-regist-button {\n margin-top: 1rem;\n}\n.tk-panel {\n color: #ffffff;\n padding: 2rem;\n}\n.tk-panel-title {\n font-size: 1.5rem;\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n}\n.tk-panel-logout {\n color: #ffffff;\n font-size: 1rem;\n text-decoration: underline;\n}\n.tk-panel .tk-tabs {\n display: flex;\n margin-bottom: 1em;\n border-bottom: 2px solid #c0c4cc;\n}\n.tk-panel .tk-tab {\n color: #c0c4cc;\n cursor: pointer;\n line-height: 2em;\n margin-right: 2em;\n margin-bottom: -2px;\n}\n.tk-panel .tk-tab.__active {\n color: #ffffff;\n border-bottom: 2px solid #ffffff;\n}\n",""]),t["default"]=a},2838:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-admin-comment {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.tk-admin-comment a {\n color: currentColor;\n text-decoration: underline;\n}\n.tk-admin-warn {\n margin-bottom: 1em;\n}\n.tk-admin-security-alert {\n position: relative;\n padding-right: 2.5rem;\n margin-bottom: 0;\n}\n.tk-admin-security-alert .tk-admin-close {\n position: absolute;\n top: 0;\n right: 0;\n float: none;\n width: 1rem;\n height: 1rem;\n padding: 0.5rem;\n margin: 0;\n}\n.tk-admin-security-alert-message {\n margin-bottom: 0.5em;\n}\n.tk-admin-security-alert-url {\n word-break: break-all;\n background: rgba(0,0,0,0.2);\n padding: 0.5em;\n border-radius: 4px;\n margin-bottom: 0.5em;\n}\n.tk-admin-comment-filter {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n.tk-admin-comment-filter-keyword {\n flex: 1;\n}\n.tk-admin-comment-filter-type {\n height: 32px;\n margin: 0 0.5em;\n padding: 0 0.5em;\n color: #ffffff;\n background: none;\n border: 1px solid rgba(144,147,153,0.31);\n border-radius: 4px;\n position: relative;\n -moz-appearance: none;\n -webkit-appearance: none;\n}\n.tk-admin-comment-filter-type:focus {\n border-color: #409eff;\n}\n.tk-admin-comment-filter-type option {\n color: initial;\n}\n.tk-admin-comment-list {\n margin-top: 1em;\n}\n.tk-admin-comment-list,\n.tk-admin-comment-item {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: stretch;\n}\n.tk-admin-comment-meta {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n margin-bottom: 0.5em;\n}\n.tk-admin-comment .tk-avatar {\n margin-right: 0.5em;\n}\n.tk-admin-comment .tk-content {\n max-height: none;\n}\n.tk-admin-actions {\n display: flex;\n margin-bottom: 1em;\n border-bottom: 1px solid rgba(255,255,255,0.5);\n}\n",""]),t["default"]=a},7317:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i),s=n(1778),u=n.n(s),c=new URL(n(1479),n.b),l=a()(o()),d=u()(c);l.push([e.id,"\n.tk-admin-config-groups {\n overflow-y: auto;\n padding-right: 0.5em;\n position: relative;\n}\n.tk-admin-config-groups .tk-admin-config-group,\n.tk-admin-config-groups .tk-admin-config-group-title {\n background: transparent;\n}\n.tk-admin-config-group-title {\n margin-top: 1em;\n font-size: 1.25rem;\n font-weight: bold;\n}\n.tk-admin-config-item {\n display: grid;\n align-items: center;\n grid-template-columns: 30% 70%;\n margin-top: 1em;\n position: relative;\n}\n.tk-admin-config-title {\n text-align: right;\n margin-right: 1em;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.tk-admin-config-input {\n position: relative;\n}\n.tk-admin-config-select {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background: none;\n background-image: url("+d+");\n background-repeat: no-repeat;\n background-position: right 10px center;\n border-radius: 4px;\n border: 1px solid rgba(144, 147, 153, 0.31);\n box-sizing: border-box;\n color: #ffffff;\n cursor: pointer;\n display: inline-block;\n font-size: inherit;\n height: 32px;\n line-height: 32px;\n outline: none;\n padding: 0 30px 0 10px;\n transition: border-color .2s cubic-bezier(.645,.045,.355,1);\n width: 100%;\n}\n.tk-admin-config-select:focus {\n border-color: rgba(255, 255, 255, 0.6);\n}\n.tk-admin-config-select option {\n color: #fff;\n background: #333;\n}\n.tk-admin-config-desc {\n margin-top: 0.5em;\n font-size: 0.75em;\n overflow-wrap: break-word;\n}\n.tk-admin-config-actions {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 1em;\n}\n.tk-admin-config-message {\n margin-top: 0.5em;\n text-align: center;\n}\n.tk-admin-config-email-test-desc {\n margin: 1em 0;\n}\n",""]),t["default"]=l},8120:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-admin-import {\n display: flex;\n flex-direction: column;\n}\n.tk-admin-import-label {\n margin-top: 1em;\n font-size: 1.25rem;\n font-weight: bold;\n}\n.tk-admin-import select,\n.tk-admin-import input,\n.tk-admin-import .el-button,\n.tk-admin-import .el-textarea {\n margin-top: 1em;\n}\n",""]),t["default"]=a},269:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-avatar {\n flex-shrink: 0;\n height: 2.5rem;\n width: 2.5rem;\n overflow: hidden;\n text-align: center;\n border-radius: 5px;\n margin-right: 1rem;\n}\n.tk-comment .tk-submit .tk-avatar,\n.tk-replies .tk-avatar {\n height: 1.6rem;\n width: 1.6rem;\n}\n.tk-avatar.tk-has-avatar {\n background-color: rgba(144,147,153,0.13);\n}\n.tk-avatar.tk-clickable {\n cursor: pointer;\n}\n.tk-avatar .tk-avatar-img {\n height: 2.5rem;\n color: #c0c4cc;\n}\n.tk-comment .tk-submit .tk-avatar .tk-avatar-img,\n.tk-replies .tk-avatar .tk-avatar-img {\n height: 1.6rem;\n}\n",""]),t["default"]=a},9006:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-main {\n flex: 1;\n width: 0;\n}\n.tk-row {\n flex: 1;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n.tk-nick-link {\n color: inherit;\n text-decoration: none;\n}\n.tk-replies .tk-nick-link {\n font-size: .9em;\n}\n.tk-nick-link:hover {\n color: #409eff;\n}\n.tk-actions {\n display: none;\n margin-left: 1em;\n}\n.tk-actions button {\n appearance: none;\n background: none;\n border: none;\n padding: 0;\n margin: 0;\n text-decoration: none;\n display: inline;\n color: #409eff;\n cursor: pointer;\n}\n.tk-comment:hover .tk-actions {\n display: inline;\n}\n.tk-extras {\n color: #999999;\n font-size: 0.875em;\n display: flex;\n flex-wrap: wrap;\n}\n.tk-extra {\n margin-top: 0.5rem;\n margin-right: 0.75rem;\n display: flex;\n align-items: center;\n}\n.tk-icon.__comment {\n height: 1em;\n width: 1em;\n line-height: 1;\n}\n.tk-extra-text {\n line-height: 1;\n}\n.tk-tag {\n display: inline-block;\n padding: 0 0.5em;\n font-size: 0.75em;\n background-color: #f2f6fc;\n}\n.tk-tag-green {\n background-color: rgba(103,194,58,0.13);\n border: 1px solid rgba(103,194,58,0.50);\n border-radius: 2px;\n color: #67c23a;\n}\n.tk-tag-yellow {\n background-color: rgba(230,162,60,0.13);\n border: 1px solid rgba(230,162,60,0.50);\n border-radius: 2px;\n color: #e6a23c;\n}\n.tk-tag-blue {\n background-color: rgba(64,158,255,0.13);\n border: 1px solid rgba(64,158,255,0.50);\n border-radius: 2px;\n color: #409eff;\n}\n.tk-tag-red {\n background-color: rgba(245,108,108,0.13);\n border: 1px solid rgba(245,108,108,0.50);\n border-radius: 2px;\n color: #f56c6c;\n}\n.tk-comment {\n margin-top: 1rem;\n display: flex;\n flex-direction: row;\n word-break: break-all;\n}\n.tk-content {\n margin-top: 0.5rem;\n overflow: hidden;\n max-height: 500px;\n position: relative;\n}\n.tk-content-expand {\n max-height: none;\n}\n.tk-replies .tk-content {\n font-size: .9em;\n}\n.tk-comment .vemoji {\n max-height: 2em;\n vertical-align: middle;\n}\n.tk-replies {\n max-height: 200px;\n overflow: hidden;\n position: relative;\n}\n.tk-replies-expand {\n max-height: none;\n overflow: unset;\n}\n.tk-submit {\n margin-top: 1rem;\n}\n.tk-expand {\n font-size: 0.75em;\n}\n.tk-lightbox {\n display: block;\n position: fixed;\n background-color: rgba(0, 0, 0, 0.3);\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 999;\n}\n.tk-lightbox-image {\n min-width: 100px;\n min-height: 30px;\n width: auto;\n height: auto;\n max-width: 95%;\n max-height: 95%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background: linear-gradient(90deg, #eeeeee 50%, #e3e3e3 0);\n background-size: 40px 100%;\n}\n",""]),t["default"]=a},6727:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-comments-title {\n font-size: 1.25rem;\n font-weight: bold;\n line-height: 1;\n margin-bottom: 1rem;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 0.75rem;\n}\n.tk-comments-count.__hidden {\n visibility: hidden;\n}\n.tk-comments-count {\n flex-shrink: 0;\n white-space: nowrap;\n}\n.tk-comments-actions {\n display: flex;\n align-items: center;\n gap: 0.5em;\n white-space: nowrap;\n}\n.tk-comments-container {\n min-height: 10rem;\n display: flex;\n flex-direction: column;\n}\n.tk-comments-no {\n flex: 1;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.tk-comments-error {\n font-size: 0.75em;\n color: #ff0000;\n}\n.tk-comments-sort {\n display: flex;\n align-items: center;\n gap: 0.75em;\n margin-right: 0.5em;\n line-height: 1;\n}\n.tk-sort-item {\n display: inline-flex;\n align-items: center;\n font-size: 0.75rem;\n line-height: 1;\n padding: 0;\n border: 0;\n background: transparent;\n cursor: pointer;\n color: rgba(64, 158, 255, 0.6);\n}\n.tk-sort-item.__active {\n color: #409eff;\n}\n.tk-sort-item:focus {\n outline: none;\n color: #409eff;\n}\n.tk-icon.__comments {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n height: 0.75rem;\n width: 0.75rem;\n line-height: 0;\n flex-shrink: 0;\n cursor: pointer;\n color: #409eff;\n}\n.tk-icon.__comments svg {\n display: block;\n width: 100%;\n height: 100%;\n}\n.twikoo div.code-toolbar {\n position: relative;\n border-radius: .3em\n}\n.twikoo div.code-toolbar>.toolbar {\n position: absolute;\n right: 4px;\n top: 4px;\n font-size: .8125rem;\n font-weight: 500;\n display: flex;\n}\n.twikoo div.code-toolbar>.toolbar>.toolbar-item {\n margin-left: .3em\n}\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>a,\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>button,\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>span {\n padding: 2px 4px;\n border-radius: .3em;\n}\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>button {\n border: 1px solid rgba(128, 128, 128, 0.31);\n}\n.twikoo div.code-toolbar>.toolbar>.toolbar-item>button:hover {\n cursor: pointer;\n}\n",""]),t["default"]=a},8440:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-footer {\n width: 100%;\n text-align: end;\n font-size: 0.75em;\n color: #999999;\n margin-top: 1em;\n}\n",""]),t["default"]=a},3203:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-meta-input {\n display: flex;\n}\n.tk-meta-input .el-input {\n width: auto;\n width: calc((100% - 1rem) / 3); /* Fix Safari */\n flex: 1;\n}\n.tk-meta-input .el-input + .el-input {\n margin-left: 0.5rem;\n}\n.tk-meta-input .el-input .el-input-group__prepend {\n padding: 0 1rem;\n}\n.tk-meta-input .el-input input:invalid {\n border: 1px solid #f56c6c;\n box-shadow: none;\n}\n@media screen and (max-width: 767px) {\n.tk-meta-input {\n flex-direction: column;\n}\n.tk-meta-input .el-input {\n width: auto;\n}\n.tk-meta-input .el-input + .el-input {\n margin-left: 0;\n margin-top: 0.5rem;\n}\n}\n",""]),t["default"]=a},6785:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-pagination,\n.tk-pagination-pagers {\n display: flex;\n}\n.tk-pagination {\n width: 100%;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n}\n.tk-pagination-options {\n display: flex;\n align-items: center;\n}\n.tk-pagination-pager {\n width: 2em;\n height: 2em;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.tk-pagination-pager.__current {\n background-color: #409eff;\n pointer-events: none;\n}\n.tk-pagination .el-input {\n width: 50px;\n}\n.tk-pagination .el-input .el-input__inner {\n padding: 0;\n height: 28px;\n text-align: center;\n -moz-appearance: textfield;\n appearance: textfield;\n}\n.tk-pagination .el-input .el-input__inner::-webkit-inner-spin-button,\n.tk-pagination .el-input .el-input__inner::-webkit-outer-spin-button {\n -webkit-appearance: none;\n appearance: none;\n margin: 0;\n}\n",""]),t["default"]=a},6245:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,"\n.tk-submit {\n display: flex;\n flex-direction: column;\n}\n.tk-row {\n display: flex;\n flex-direction: row;\n}\n.tk-col {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.tk-meta-input {\n margin-bottom: 0.5rem;\n}\n.tk-row.actions {\n position: relative;\n margin-top: 1rem;\n margin-bottom: 1rem;\n margin-left: 3.5rem;\n align-items: center;\n justify-content: flex-end;\n}\n.tk-row-actions-start {\n flex: 1;\n display: flex;\n align-items: center;\n}\n.tk-submit-action-icon {\n align-self: center;\n display: inline-block;\n width: 1.25em;\n line-height: 0;\n margin-right: 10px;\n cursor: pointer;\n flex-shrink: 0;\n}\n.tk-submit-action-icon svg:hover {\n opacity: 0.8;\n}\n.tk-submit-action-icon.__markdown {\n color: #909399;\n}\n.tk-error-message {\n word-break: break-all;\n color: #ff0000;\n font-size: 0.75em;\n flex-shrink: 1;\n}\n.tk-input-image {\n display: none;\n}\n.tk-input {\n flex: 1;\n}\n.tk-input .el-textarea__inner {\n background-position: right bottom;\n background-repeat: no-repeat;\n}\n.tk-turnstile-container {\n position: absolute;\n right: 0;\n bottom: -75px;\n z-index: 1;\n}\n.tk-turnstile {\n display: flex;\n flex-direction: column;\n}\n.tk-geetest-container {\n position: absolute;\n right: 0;\n bottom: -75px;\n z-index: 1;\n}\n.tk-cap-container {\n position: absolute;\n right: 0;\n bottom: -75px;\n z-index: 1;\n}\n.tk-preview-container {\n margin-left: 3rem;\n margin-bottom: 1rem;\n padding: 5px 15px;\n border: 1px solid rgba(128,128,128,0.31);\n border-radius: 4px;\n word-break: break-word;\n}\n.tk-fade-in {\n animation: tkFadeIn .3s;\n}\n@keyframes tkFadeIn {\n0% {\n opacity: 0\n}\nto {\n opacity: 1\n}\n}\n",""]),t["default"]=a},6810:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),a=n.n(i)()(o());a.push([e.id,'/*!\n * OwO v1.0.2\n * Source: https://github.com/DIYgod/OwO/blob/master/dist/OwO.min.css\n * Author: DIYgod\n * Modified by: iMaeGoo\n * Released under the MIT License.\n */\n\n.OwO {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.OwO.OwO-open .OwO-body {\n display: block;\n}\n\n.OwO .OwO-logo {\n width: 1.125em;\n display: flex;\n}\n\n.OwO .OwO-body {\n display: none;\n position: absolute;\n left: 0;\n right: 0;\n max-width: 500px;\n color: #4a4a4a;\n background-color: #ffffff;\n border: 1px solid rgba(144,147,153,0.31);\n top: 2em;\n border-radius: 0 4px 4px;\n z-index: 1000;\n}\n\n.night .OwO .OwO-body,\n.darkmode .OwO .OwO-body,\n.DarkMode .OwO .OwO-body,\n[data-theme="dark"] .OwO .OwO-body,\n[data-user-color-scheme="dark"] .OwO .OwO-body {\n color: #ffffff;\n background-color: #4a4a4a;\n}\n\n.OwO .OwO-body .OwO-items {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: none;\n padding: 10px;\n padding-right: 0;\n margin: 0;\n overflow: auto;\n font-size: 0;\n}\n\n.OwO .OwO-body .OwO-items .OwO-item {\n list-style-type: none;\n padding: 5px 10px;\n border-radius: 5px;\n display: inline-block;\n font-size: 12px;\n line-height: 14px;\n cursor: pointer;\n -webkit-transition: .3s;\n transition: .3s;\n text-align: center;\n}\n\n.OwO .OwO-body .OwO-items .OwO-item:hover {\n background-color: rgba(144,147,153,0.13);\n box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);\n}\n\n.OwO .OwO-body .OwO-items-emoji .OwO-item {\n font-size: 20px;\n line-height: 19px;\n}\n\n.OwO .OwO-body .OwO-items-image .OwO-item {\n width: 14%;\n box-sizing: border-box;\n}\n\n@media screen and (max-width: 600px) {\n #twikoo .OwO-items > .OwO-item {\n width: 16%;\n }\n}\n\n@media screen and (max-width: 460px) {\n #twikoo .OwO-items > .OwO-item {\n width: 20%;\n }\n}\n\n@media screen and (max-width: 400px) {\n #twikoo .OwO-items > .OwO-item {\n width: 25%;\n }\n}\n\n@media screen and (max-width: 330px) {\n #twikoo .OwO-items > .OwO-item {\n width: 33%;\n }\n}\n\n\n.OwO .OwO-body .OwO-items-image .OwO-item img {\n max-width: 100%;\n}\n\n.OwO .OwO-body .OwO-items-show {\n display: block;\n}\n\n.OwO .OwO-body .OwO-bar {\n width: 100%;\n border-top: 1px solid rgba(144,147,153,0.31);\n border-radius: 0 0 4px 4px;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages {\n margin: 0;\n padding: 0;\n font-size: 0;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages li {\n list-style-type: none;\n display: inline-block;\n line-height: 30px;\n font-size: 14px;\n padding: 0 10px;\n cursor: pointer;\n margin-right: 3px;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages li:nth-child(1) {\n border-radius: 0 0 0 3px;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages li:hover {\n background-color: rgba(144,147,153,0.13);\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active {\n background-color: rgba(144,147,153,0.13);\n -webkit-transition: .3s;\n transition: .3s;\n}\n',""]),t["default"]=a},6937:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55"></path></svg>'},9396:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"></path></svg>'},58:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M131.5 217.5L55.1 100.1c47.6-59.2 119-91.8 192-92.1 42.3-.3 85.5 10.5 124.8 33.2 43.4 25.2 76.4 61.4 97.4 103L264 133.4c-58.1-3.4-113.4 29.3-132.5 84.1zm32.9 38.5c0 46.2 37.4 83.6 83.6 83.6s83.6-37.4 83.6-83.6-37.4-83.6-83.6-83.6-83.6 37.3-83.6 83.6zm314.9-89.2L339.6 174c37.9 44.3 38.5 108.2 6.6 157.2L234.1 503.6c46.5 2.5 94.4-7.7 137.8-32.9 107.4-62 150.9-192 107.4-303.9zM133.7 303.6L40.4 120.1C14.9 159.1 0 205.9 0 256c0 124 90.8 226.7 209.5 244.9l63.7-124.8c-57.6 10.8-113.2-20.8-139.5-72.5z"></path></svg>'},7051:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M481.92,134.48C440.87,54.18,352.26,8,255.91,8,137.05,8,37.51,91.68,13.47,203.66c26-46.49,86.22-79.14,149.46-79.14,79.27,0,121.09,48.93,122.25,50.18,22,23.8,33,50.39,33,83.1,0,10.4-5.31,25.82-15.11,38.57-1.57,2-6.39,4.84-6.39,11,0,5.06,3.29,9.92,9.14,14,27.86,19.37,80.37,16.81,80.51,16.81A115.39,115.39,0,0,0,444.94,322a118.92,118.92,0,0,0,58.95-102.44C504.39,176.13,488.39,147.26,481.92,134.48ZM212.77,475.67a154.88,154.88,0,0,1-46.64-45c-32.94-47.42-34.24-95.6-20.1-136A155.5,155.5,0,0,1,203,215.75c59-45.2,94.84-5.65,99.06-1a80,80,0,0,0-4.89-10.14c-9.24-15.93-24-36.41-56.56-53.51-33.72-17.69-70.59-18.59-77.64-18.59-38.71,0-77.9,13-107.53,35.69C35.68,183.3,12.77,208.72,8.6,243c-1.08,12.31-2.75,62.8,23,118.27a248,248,0,0,0,248.3,141.61C241.78,496.26,214.05,476.24,212.77,475.67Zm250.72-98.33a7.76,7.76,0,0,0-7.92-.23,181.66,181.66,0,0,1-20.41,9.12,197.54,197.54,0,0,1-69.55,12.52c-91.67,0-171.52-63.06-171.52-144A61.12,61.12,0,0,1,200.61,228,168.72,168.72,0,0,0,161.85,278c-14.92,29.37-33,88.13,13.33,151.66,6.51,8.91,23,30,56,47.67,23.57,12.65,49,19.61,71.7,19.61,35.14,0,115.43-33.44,163-108.87A7.75,7.75,0,0,0,463.49,377.34Z"></path></svg>'},8443:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M189.37,152.86Zm-58.74-29.37C130.79,123.5,130.71,123.5,130.63,123.49Zm351.42,45.35c-10.61-25.5-32.08-53-48.94-61.73,13.72,26.89,21.67,53.88,24.7,74,0,0,0,.14.05.41-27.58-68.75-74.35-96.47-112.55-156.83-1.93-3.05-3.86-6.11-5.74-9.33-1-1.65-1.86-3.34-2.69-5.05A44.88,44.88,0,0,1,333.24.69a.63.63,0,0,0-.55-.66.9.9,0,0,0-.46,0l-.12.07-.18.1.1-.14c-54.23,31.77-76.72,87.38-82.5,122.78a130,130,0,0,0-48.33,12.33,6.25,6.25,0,0,0-3.09,7.75,6.13,6.13,0,0,0,7.79,3.79l.52-.21a117.84,117.84,0,0,1,42.11-11l1.42-.1c2-.12,4-.2,6-.22A122.61,122.61,0,0,1,291,140c.67.2,1.32.42,2,.63,1.89.57,3.76,1.2,5.62,1.87,1.36.5,2.71,1,4.05,1.58,1.09.44,2.18.88,3.25,1.35q2.52,1.13,5,2.35c.75.37,1.5.74,2.25,1.13q2.4,1.26,4.74,2.63,1.51.87,3,1.8a124.89,124.89,0,0,1,42.66,44.13c-13-9.15-36.35-18.19-58.82-14.28,87.74,43.86,64.18,194.9-57.39,189.2a108.43,108.43,0,0,1-31.74-6.12c-2.42-.91-4.8-1.89-7.16-2.93-1.38-.63-2.76-1.27-4.12-2C174.5,346,149.9,316.92,146.83,281.59c0,0,11.25-41.95,80.62-41.95,7.5,0,28.93-20.92,29.33-27-.09-2-42.54-18.87-59.09-35.18-8.85-8.71-13.05-12.91-16.77-16.06a69.58,69.58,0,0,0-6.31-4.77A113.05,113.05,0,0,1,173.92,97c-25.06,11.41-44.55,29.45-58.71,45.37h-.12c-9.67-12.25-9-52.65-8.43-61.08-.12-.53-7.22,3.68-8.15,4.31a178.54,178.54,0,0,0-23.84,20.43A214,214,0,0,0,51.9,133.36l0,0a.08.08,0,0,1,0,0,205.84,205.84,0,0,0-32.73,73.9c-.06.27-2.33,10.21-4,22.48q-.42,2.87-.78,5.74c-.57,3.69-1,7.71-1.44,14,0,.24,0,.48-.05.72-.18,2.71-.34,5.41-.49,8.12,0,.41,0,.82,0,1.24,0,134.7,109.21,243.89,243.92,243.89,120.64,0,220.82-87.58,240.43-202.62.41-3.12.74-6.26,1.11-9.41,4.85-41.83-.54-85.79-15.82-122.55Z"></path></svg>'},3793:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M483.049 159.706c10.855-24.575 21.424-60.438 21.424-87.871 0-72.722-79.641-98.371-209.673-38.577-107.632-7.181-211.221 73.67-237.098 186.457 30.852-34.862 78.271-82.298 121.977-101.158C125.404 166.85 79.128 228.002 43.992 291.725 23.246 329.651 0 390.94 0 436.747c0 98.575 92.854 86.5 180.251 42.006 31.423 15.43 66.559 15.573 101.695 15.573 97.124 0 184.249-54.294 216.814-146.022H377.927c-52.509 88.593-196.819 52.996-196.819-47.436H509.9c6.407-43.581-1.655-95.715-26.851-141.162zM64.559 346.877c17.711 51.15 53.703 95.871 100.266 123.304-88.741 48.94-173.267 29.096-100.266-123.304zm115.977-108.873c2-55.151 50.276-94.871 103.98-94.871 53.418 0 101.981 39.72 103.981 94.871H180.536zm184.536-187.6c21.425-10.287 48.563-22.003 72.558-22.003 31.422 0 54.274 21.717 54.274 53.722 0 20.003-7.427 49.007-14.569 67.867-26.28-42.292-65.986-81.584-112.263-99.586z"></path></svg>'},8974:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M220.8 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5.2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4.2-.8.7-.6 1.1.3 1.3 2.3 1.1 3.4 1.7zm-21.9 1.7c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6.2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5.1-1.3.6-3.4 1.5-3.2 2.9.1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72C311.1 85.4 315.7.1 234.8 0 132.4-.2 158 103.4 156.9 135.2c-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9.6 7.9 1.2 11.8 1.2 8.1 2.5 15.7.8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1.6 2.3 1.4 4.6 2.5 6.7v.1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3.4-8.2-4.4-17.3-15.5-29.7zM223.7 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4.7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4v-.2c2.4-7.6.6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7.8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4.6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1.8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7.4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6.8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1.3-.2.7-.3 1-.5.8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"></path></svg>'},1423:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M593.8 59.1H46.2C20.7 59.1 0 79.8 0 105.2v301.5c0 25.5 20.7 46.2 46.2 46.2h547.7c25.5 0 46.2-20.7 46.1-46.1V105.2c0-25.4-20.7-46.1-46.2-46.1zM338.5 360.6H277v-120l-61.5 76.9-61.5-76.9v120H92.3V151.4h61.5l61.5 76.9 61.5-76.9h61.5v209.2zm135.3 3.1L381.5 256H443V151.4h61.5V256H566z"></path></svg>'},740:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M274.69,274.69l-37.38-37.38L166,346ZM256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8ZM411.85,182.79l14.78-6.13A8,8,0,0,1,437.08,181h0a8,8,0,0,1-4.33,10.46L418,197.57a8,8,0,0,1-10.45-4.33h0A8,8,0,0,1,411.85,182.79ZM314.43,94l6.12-14.78A8,8,0,0,1,331,74.92h0a8,8,0,0,1,4.33,10.45l-6.13,14.78a8,8,0,0,1-10.45,4.33h0A8,8,0,0,1,314.43,94ZM256,60h0a8,8,0,0,1,8,8V84a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V68A8,8,0,0,1,256,60ZM181,74.92a8,8,0,0,1,10.46,4.33L197.57,94a8,8,0,1,1-14.78,6.12l-6.13-14.78A8,8,0,0,1,181,74.92Zm-63.58,42.49h0a8,8,0,0,1,11.31,0L140,128.72A8,8,0,0,1,140,140h0a8,8,0,0,1-11.31,0l-11.31-11.31A8,8,0,0,1,117.41,117.41ZM60,256h0a8,8,0,0,1,8-8H84a8,8,0,0,1,8,8h0a8,8,0,0,1-8,8H68A8,8,0,0,1,60,256Zm40.15,73.21-14.78,6.13A8,8,0,0,1,74.92,331h0a8,8,0,0,1,4.33-10.46L94,314.43a8,8,0,0,1,10.45,4.33h0A8,8,0,0,1,100.15,329.21Zm4.33-136h0A8,8,0,0,1,94,197.57l-14.78-6.12A8,8,0,0,1,74.92,181h0a8,8,0,0,1,10.45-4.33l14.78,6.13A8,8,0,0,1,104.48,193.24ZM197.57,418l-6.12,14.78a8,8,0,0,1-14.79-6.12l6.13-14.78A8,8,0,1,1,197.57,418ZM264,444a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V428a8,8,0,0,1,8-8h0a8,8,0,0,1,8,8Zm67-6.92h0a8,8,0,0,1-10.46-4.33L314.43,418a8,8,0,0,1,4.33-10.45h0a8,8,0,0,1,10.45,4.33l6.13,14.78A8,8,0,0,1,331,437.08Zm63.58-42.49h0a8,8,0,0,1-11.31,0L372,383.28A8,8,0,0,1,372,372h0a8,8,0,0,1,11.31,0l11.31,11.31A8,8,0,0,1,394.59,394.59ZM286.25,286.25,110.34,401.66,225.75,225.75,401.66,110.34ZM437.08,331h0a8,8,0,0,1-10.45,4.33l-14.78-6.13a8,8,0,0,1-4.33-10.45h0A8,8,0,0,1,418,314.43l14.78,6.12A8,8,0,0,1,437.08,331ZM444,264H428a8,8,0,0,1-8-8h0a8,8,0,0,1,8-8h16a8,8,0,0,1,8,8h0A8,8,0,0,1,444,264Z"></path></svg>'},7397:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm52.7 93c8.8-15.2 28.3-20.5 43.5-11.7 15.3 8.8 20.5 28.3 11.7 43.6-8.8 15.2-28.3 20.5-43.5 11.7-15.3-8.9-20.5-28.4-11.7-43.6zM87.4 287.9c-17.6 0-31.9-14.3-31.9-31.9 0-17.6 14.3-31.9 31.9-31.9 17.6 0 31.9 14.3 31.9 31.9 0 17.6-14.3 31.9-31.9 31.9zm28.1 3.1c22.3-17.9 22.4-51.9 0-69.9 8.6-32.8 29.1-60.7 56.5-79.1l23.7 39.6c-51.5 36.3-51.5 112.5 0 148.8L172 370c-27.4-18.3-47.8-46.3-56.5-79zm228.7 131.7c-15.3 8.8-34.7 3.6-43.5-11.7-8.8-15.3-3.6-34.8 11.7-43.6 15.2-8.8 34.7-3.6 43.5 11.7 8.8 15.3 3.6 34.8-11.7 43.6zm.3-69.5c-26.7-10.3-56.1 6.6-60.5 35-5.2 1.4-48.9 14.3-96.7-9.4l22.5-40.3c57 26.5 123.4-11.7 128.9-74.4l46.1.7c-2.3 34.5-17.3 65.5-40.3 88.4zm-5.9-105.3c-5.4-62-71.3-101.2-128.9-74.4l-22.5-40.3c47.9-23.7 91.5-10.8 96.7-9.4 4.4 28.3 33.8 45.3 60.5 35 23.1 22.9 38 53.9 40.2 88.5l-46 .6z"></path></svg>'},2531:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z"></path></svg>'},3491:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"></path></svg>'},5171:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v276a6 6 0 0 1-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z"></path></svg>'},6639:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 224c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm-160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"></path></svg>'},6412:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M466.27 225.31c4.674-22.647.864-44.538-8.99-62.99 2.958-23.868-4.021-48.565-17.34-66.99C438.986 39.423 404.117 0 327 0c-7 0-15 .01-22.22.01C201.195.01 168.997 40 128 40h-10.845c-5.64-4.975-13.042-8-21.155-8H32C14.327 32 0 46.327 0 64v240c0 17.673 14.327 32 32 32h64c11.842 0 22.175-6.438 27.708-16h7.052c19.146 16.953 46.013 60.653 68.76 83.4 13.667 13.667 10.153 108.6 71.76 108.6 57.58 0 95.27-31.936 95.27-104.73 0-18.41-3.93-33.73-8.85-46.54h36.48c48.602 0 85.82-41.565 85.82-85.58 0-19.15-4.96-34.99-13.73-49.84zM64 296c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm330.18 16.73H290.19c0 37.82 28.36 55.37 28.36 94.54 0 23.75 0 56.73-47.27 56.73-18.91-18.91-9.46-66.18-37.82-94.54C206.9 342.89 167.28 272 138.92 272H128V85.83c53.611 0 100.001-37.82 171.64-37.82h37.82c35.512 0 60.82 17.12 53.12 65.9 15.2 8.16 26.5 36.44 13.94 57.57 21.581 20.384 18.699 51.065 5.21 65.62 9.45 0 22.36 18.91 22.27 37.81-.09 18.91-16.71 37.82-37.82 37.82z"></path></svg>'},6359:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"></path></svg>'},7136:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z"></path></svg>'},9039:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V192h416v234z"></path></svg>'},504:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"></path></svg>'},6370:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z"></path></svg>'},3982:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M444.52 3.52L28.74 195.42c-47.97 22.39-31.98 92.75 19.19 92.75h175.91v175.91c0 51.17 70.36 67.17 92.75 19.19l191.9-415.78c15.99-38.39-25.59-79.97-63.97-63.97z"></path></svg>'},9966:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M440.65 12.57l4 82.77A247.16 247.16 0 0 0 255.83 8C134.73 8 33.91 94.92 12.29 209.82A12 12 0 0 0 24.09 224h49.05a12 12 0 0 0 11.67-9.26 175.91 175.91 0 0 1 317-56.94l-101.46-4.86a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12H500a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12h-47.37a12 12 0 0 0-11.98 12.57zM255.83 432a175.61 175.61 0 0 1-146-77.8l101.8 4.87a12 12 0 0 0 12.57-12v-47.4a12 12 0 0 0-12-12H12a12 12 0 0 0-12 12V500a12 12 0 0 0 12 12h47.35a12 12 0 0 0 12-12.6l-4.15-82.57A247.17 247.17 0 0 0 255.83 504c121.11 0 221.93-86.92 243.55-201.82a12 12 0 0 0-11.8-14.18h-49.05a12 12 0 0 0-11.67 9.26A175.86 175.86 0 0 1 255.83 432z"></path></svg>'},9801:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 56v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56zm40 200c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm272 256c-20.183 0-29.485-39.293-33.931-57.795-5.206-21.666-10.589-44.07-25.393-58.902-32.469-32.524-49.503-73.967-89.117-113.111a11.98 11.98 0 0 1-3.558-8.521V59.901c0-6.541 5.243-11.878 11.783-11.998 15.831-.29 36.694-9.079 52.651-16.178C256.189 17.598 295.709.017 343.995 0h2.844c42.777 0 93.363.413 113.774 29.737 8.392 12.057 10.446 27.034 6.148 44.632 16.312 17.053 25.063 48.863 16.382 74.757 17.544 23.432 19.143 56.132 9.308 79.469l.11.11c11.893 11.949 19.523 31.259 19.439 49.197-.156 30.352-26.157 58.098-59.553 58.098H350.723C358.03 364.34 384 388.132 384 430.548 384 504 336 512 312 512z"></path></svg>'},5910:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"></path></svg>'},9671:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512"><path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg>'},5545:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1-32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z"></path></svg>'},9587:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"></path></svg>'},6768:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(1573),o=n(8926),i=o.A,a=(n(1288),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},1020:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(7817),o=n(3397),i=o.A,a=(n(2234),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},8375:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(7696),o=n(4238),i=o.A,a=(n(6509),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},7945:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(7912),o=n(4555),i=o.A,a=(n(5327),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},7111:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(2043),o=n(4868),i=o.A,a=(n(1846),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},9097:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(9976),o=n(3396),i=o.A,a=(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports},9985:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(872),o=n(9865),i=o.A,a=(n(8087),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},4785:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(5897),o=n(4064),i=o.A,a=(n(4624),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},8634:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(3776),o=n(3572),i=o.A,a=(n(3533),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},1914:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(1721),o=n(4333),i=o.A,a=(n(2630),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},1452:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(2080),o=n(418),i=o.A,a=(n(3457),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},5062:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(489),o=n(2362),i=o.A,a=(n(9368),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},6431:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(8675),o=n(9171),i=o.A,a=(n(292),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},2107:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return a}});var r=n(3459),o=n(147),i=o.A,a=(n(8084),(0,n(4486).A)(i,r.XX,r.Yp,!1,null,null,null).exports)},4486:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,{A:function(){return r}})},622:function(e,t,n){var r=n(3723);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("0e5ef982",r,!0,{})},8848:function(e,t,n){var r=n(1315);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("1a92f302",r,!0,{})},6756:function(e,t,n){var r=n(9211);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("e6b19834",r,!0,{})},1288:function(e,t,n){var r=n(9737);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("5049e71b",r,!0,{})},2234:function(e,t,n){var r=n(8207);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("0e5e9eca",r,!0,{})},6509:function(e,t,n){var r=n(8402);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("79ae887c",r,!0,{})},5327:function(e,t,n){var r=n(2838);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("0bb4e246",r,!0,{})},1846:function(e,t,n){var r=n(7317);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("16722b25",r,!0,{})},8087:function(e,t,n){var r=n(8120);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("59ad6a1e",r,!0,{})},4624:function(e,t,n){var r=n(269);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("5a1fa943",r,!0,{})},3533:function(e,t,n){var r=n(9006);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("7e28579e",r,!0,{})},2630:function(e,t,n){var r=n(6727);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("2f96e18e",r,!0,{})},3457:function(e,t,n){var r=n(8440);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("042e8a68",r,!0,{})},9368:function(e,t,n){var r=n(3203);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("2af15803",r,!0,{})},292:function(e,t,n){var r=n(6785);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("88983344",r,!0,{})},8084:function(e,t,n){var r=n(6245);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("f6771314",r,!0,{})},4707:function(e,t,n){var r=n(6810);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(5083).A)("8be46386",r,!0,{})},5083:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(5547),o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,u=0,c=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){c=n,d=o||{};var a=(0,r.A)(e,t);return v(a),function(t){for(var n=[],o=0;o<a.length;o++){var s=a[o];(u=i[s.id]).refs--,n.push(u)}for(t?v(a=(0,r.A)(e,t)):a=[],o=0;o<n.length;o++){var u;if(0===(u=n[o]).refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete i[u.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(g(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(g(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function m(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(c)return l;r.parentNode.removeChild(r)}if(p){var o=u++;r=s||(s=m()),t=b.bind(null,r,o,!1),n=b.bind(null,r,o,!0)}else r=m(),t=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var _,y=(_=[],function(e,t){return _[e]=t,_.filter(Boolean).join("\n")});function b(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function w(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},1479:function(e){"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27%3E%3Cpath fill=%27%23ffffff%27 d=%27M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z%27/%3E%3C/svg%3E"},1903:function(){},4394:function(){},6259:function(e){"use strict";e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports["default"]=e.exports},6530:function(e){"use strict";e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports["default"]=e.exports},8554:function(e){"use strict";e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},8198:function(e,t,n){"use strict";var r=n(6530);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},8452:function(e){"use strict";e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},4964:function(e){"use strict";function t(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise(function(o,i){var a=e.apply(n,r);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)})}},e.exports.__esModule=!0,e.exports["default"]=e.exports},8850:function(e){"use strict";e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports["default"]=e.exports},1837:function(e,t,n){"use strict";var r=n(6207),o=n(2637);e.exports=function(e,t,n){if(r())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&o(a,n.prototype),a},e.exports.__esModule=!0,e.exports["default"]=e.exports},1332:function(e,t,n){"use strict";var r=n(3987);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports["default"]=e.exports},3852:function(e,t,n){"use strict";var r=n(3987);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},6577:function(e){"use strict";function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},274:function(e,t,n){"use strict";var r=n(2637);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},477:function(e){"use strict";e.exports=function(e){return e&&e.__esModule?e:{"default":e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},6382:function(e){"use strict";e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},6207:function(e){"use strict";function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},6884:function(e){"use strict";e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},4805:function(e){"use strict";e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports["default"]=e.exports},2971:function(e){"use strict";e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},5838:function(e){"use strict";e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},3972:function(e,t,n){"use strict";var r=n(7648);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports["default"]=e.exports},7648:function(e){"use strict";e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports["default"]=e.exports},9499:function(e,t,n){"use strict";var r=n(9367)["default"],o=n(8452);e.exports=function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},3558:function(e,t,n){"use strict";var r=n(2701);function o(){var t,n,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.toStringTag||"@@toStringTag";function u(e,o,i,a){var s=o&&o.prototype instanceof l?o:l,u=Object.create(s.prototype);return r(u,"_invoke",function(e,r,o){var i,a,s,u=0,l=o||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return i=e,a=0,s=t,f.n=n,c}};function p(e,r){for(a=e,s=r,n=0;!d&&u&&!o&&n<l.length;n++){var o,i=l[n],p=f.p,h=i[2];e>3?(o=h===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=e<2&&p<i[1])?(a=0,f.v=r,f.n=i[1]):p<h&&(o=e<3||i[0]>r||r>h)&&(i[4]=e,i[5]=r,f.n=h,a=0))}if(o||e>1)return c;throw d=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&p(l,h),a=l,s=h;(n=a<2?t:s)||!d;){i||(a?a<3?(a>1&&(f.n=-1),p(a,s)):f.n=s:f.v=s);try{if(u=2,i){if(a||(o="next"),n=i[o]){if(!(n=n.call(i,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,a<2&&(a=0)}else 1===a&&(n=i["return"])&&n.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((n=(d=f.n<0)?s:e.call(r,f))!==c)break}catch(n){i=t,a=1,s=n}finally{u=1}}return{value:n,done:d}}}(e,i,a),!0),u}var c={};function l(){}function d(){}function f(){}n=Object.getPrototypeOf;var p=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),h=f.prototype=l.prototype=Object.create(p);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e}return d.prototype=f,r(h,"constructor",f),r(f,"constructor",d),d.displayName="GeneratorFunction",r(f,s,"GeneratorFunction"),r(h),r(h,s,"Generator"),r(h,a,function(){return this}),r(h,"toString",function(){return"[object Generator]"}),(e.exports=o=function(){return{w:u,m:v}},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},7292:function(e,t,n){"use strict";var r=n(8368);e.exports=function(e,t,n,o,i){var a=r(e,t,n,o,i);return a.next().then(function(e){return e.done?e.value:a.next()})},e.exports.__esModule=!0,e.exports["default"]=e.exports},8368:function(e,t,n){"use strict";var r=n(3558),o=n(3222);e.exports=function(e,t,n,i,a){return new o(r().w(e,t,n,i),a||Promise)},e.exports.__esModule=!0,e.exports["default"]=e.exports},3222:function(e,t,n){"use strict";var r=n(6259),o=n(2701);e.exports=function i(e,t){function n(o,i,a,s){try{var u=e[o](i),c=u.value;return c instanceof r?t.resolve(c.v).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(c).then(function(e){u.value=e,a(u)},function(e){return n("throw",e,a,s)})}catch(e){s(e)}}var a;this.next||(o(i.prototype),o(i.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(e,r,o){function i(){return new t(function(t,r){n(e,o,t,r)})}return a=a?a.then(i,i):i()},!0)},e.exports.__esModule=!0,e.exports["default"]=e.exports},2701:function(e){"use strict";function t(n,r,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(n){a=0}e.exports=t=function(e,n,r,o){function i(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?a?a(e,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[n]=r:(i("next",0),i("throw",1),i("return",2))},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(n,r,o,i)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},5190:function(e){"use strict";e.exports=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function o(){for(;n.length;)if((r=n.pop())in t)return o.value=r,o.done=!1,o;return o.done=!0,o}},e.exports.__esModule=!0,e.exports["default"]=e.exports},7120:function(e,t,n){"use strict";var r=n(6259),o=n(3558),i=n(7292),a=n(8368),s=n(3222),u=n(5190),c=n(3024);function l(){var t=o(),n=t.m(l),d=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function f(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))}var p={"throw":1,"return":2,"break":3,"continue":3};function h(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},"catch":function(){return r.v},abrupt:function(e,t){return n(r.a,p[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,c(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=l=function(){return{wrap:function(e,n,r,o){return t.w(h(e),n,r,o&&o.reverse())},isGeneratorFunction:f,mark:t.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:s,async:function(e,t,n,r,o){return(f(t)?a:i)(h(e),t,n,r,o)},keys:u,values:c}},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=l,e.exports.__esModule=!0,e.exports["default"]=e.exports},3024:function(e,t,n){"use strict";var r=n(9367)["default"];e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+" is not iterable")},e.exports.__esModule=!0,e.exports["default"]=e.exports},2637:function(e){"use strict";function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},9272:function(e,t,n){"use strict";var r=n(8554),o=n(4805),i=n(2075),a=n(2971);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},1819:function(e,t,n){"use strict";var r=n(8198),o=n(6884),i=n(2075),a=n(5838);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},7278:function(e,t,n){"use strict";var r=n(9367)["default"];e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},3987:function(e,t,n){"use strict";var r=n(9367)["default"],o=n(7278);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports["default"]=e.exports},9367:function(e){"use strict";function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},2075:function(e,t,n){"use strict";var r=n(6530);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},2973:function(e,t,n){"use strict";var r=n(6577),o=n(2637),i=n(6382),a=n(1837);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},479:function(e,t,n){"use strict";var r=n(477)(n(9367)),o=n(7120)();e.exports=o;try{regeneratorRuntime=o}catch(i){"object"===("undefined"==typeof globalThis?"undefined":(0,r["default"])(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},2622:function(e){"use strict";e.exports=JSON.parse('{"name":"@cloudbase/app","version":"2.28.3","description":"cloudbase javascript sdk core","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"node":{"import":"./dist/esm/index.node.js","require":"./dist/cjs/index.node.js"},"import":"./dist/esm/index.js","require":"./dist/cjs/index.js","default":"./dist/cjs/index.js"},"./package.json":"./package.json"},"scripts":{"tsc":"rm -rf dist/ && tsc -p tsconfig.esm.json && tsc -p tsconfig.json","lint":"eslint --fix \\"./src/**/*.ts\\"","build":"npm run lint && npm run tsc && npm run build:mp","build:mp":"webpack --config ./webpack/webpack.miniprogram.js","precommit":"npm run lint"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/TencentCloudBase/cloudbase-js-sdk"},"keywords":["cloudbase","tcb","javascript","web","sdk","serverless"],"author":"","license":"Apache-2.0","dependencies":{"@cloudbase/adapter-interface":"^0.7.1","@cloudbase/adapter-wx_mp":"^1.3.1","@cloudbase/types":"2.28.3","@cloudbase/utilities":"2.28.3"},"peerDependencies":{"@cloudbase/signature-nodejs":">=1.0.0","jsonwebtoken":">=8.0.0","ws":"^8.18.0"},"peerDependenciesMeta":{"@cloudbase/signature-nodejs":{"optional":true},"jsonwebtoken":{"optional":true},"ws":{"optional":true}},"gitHead":"ba8a7fbcb81928d9b5a8906ff9c8a4928b614f49"}')}},t={};function n(r){var o=t[r];if(o!==undefined)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.b="undefined"!=typeof document&&document.baseURI||self.location.href;var r={};return function(){"use strict";var e=r,t=n(477);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,e.getCommentsCount=function(){return v.apply(this,arguments)},e.getRecentComments=function(){return m.apply(this,arguments)},e.init=p,Object.defineProperty(e,"version",{enumerable:!0,get:function(){return a.version}});var o=t(n(479)),i=t(n(4964)),a=n(2199),s=n(824),u=n(1085),c=n(8129),l=t(n(9459));function d(e){return f.apply(this,arguments)}function f(){return(f=(0,i["default"])(o["default"].mark(function e(t){return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.install)(l["default"],t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function p(){return h.apply(this,arguments)}function h(){return h=(0,i["default"])(o["default"].mark(function e(){var t,n,r=arguments;return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&r[0]!==undefined?r[0]:{},!(0,c.isUrl)(t.envId)){e.next=5;break}e.t0=null,e.next=8;break;case 5:return e.next=7,d(t);case 7:e.t0=e.sent;case 8:n=e.t0,(0,c.setLanguage)(t),(0,u.render)(n,t);case 11:case"end":return e.stop()}},e)})),h.apply(this,arguments)}function v(){return v=(0,i["default"])(o["default"].mark(function e(){var t,n,r=arguments;return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&r[0]!==undefined?r[0]:{},!(0,c.isUrl)(t.envId)){e.next=5;break}e.t0=null,e.next=8;break;case 5:return e.next=7,d(t);case 7:e.t0=e.sent;case 8:return n=e.t0,e.next=11,(0,c.getCommentsCountApi)(n,t);case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}},e)})),v.apply(this,arguments)}function m(){return m=(0,i["default"])(o["default"].mark(function e(){var t,n,r=arguments;return o["default"].wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&r[0]!==undefined?r[0]:{},!(0,c.isUrl)(t.envId)){e.next=5;break}e.t0=null,e.next=8;break;case 5:return e.next=7,d(t);case 7:e.t0=e.sent;case 8:return n=e.t0,e.next=11,(0,c.getRecentCommentsApi)(n,t);case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}},e)})),m.apply(this,arguments)}n(9744),n(7441),n(5417),e["default"]=p}(),r}()},"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.twikoo=t():e.twikoo=t();