twikoo 1.7.16 → 1.7.18

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={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=m,t.wxMpStorage=void 0;var r,o=n(6885),i=n(7612),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)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 o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)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 s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},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},d="Error when aborting requestTask",p=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 s(t,e),t.prototype.post=function(e){var t=this;return new Promise(function(n,r){var i=e.url,s=e.data,a=e.headers,l=wx.request({url:(0,o.formatUrl)("https:",i),data:s,timeout:t._timeout,method:"POST",header:a,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{l.abort()}catch(n){}}}})})},t.prototype.get=function(e){var t=this;return new Promise(function(n,r){var i=e.url,s=e.body,a=e.headers,l=(0,o.formatUrl)("https:",i),c=wx.request({url:l,data:s,timeout:t._timeout,method:"GET",header:a,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 l(t,void 0,void 0,function(){var t,o,i,s,l,u;return c(this,function(c){return t=e.url,o=e.file,i=e.data,s=e.headers,l=e.onUploadProgress,u=wx.uploadFile({url:t,filePath:o,name:"file",formData:a({},i),header:s,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{u.abort()}catch(t){}}}}),l&&u.onProgressUpdate(function(e){l(e)}),[2]})})})},t.prototype.download=function(e){var t=this,n=this;return new Promise(function(r,i){var s=e.url,a=e.headers,l=wx.downloadFile({url:(0,o.formatUrl)("https:",s),header:a,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{l.abort()}catch(t){}}}})})},t.prototype.fetch=function(e){var t=e.url,n=e.body,r=e.enableAbort,s=e.headers,a=e.method,l=e.stream,c=void 0!==l&&l,u=e.signal,p=e.timeout,h=this,f=null!=p?p:this._timeout,m=null,g=new i.ReadableStream({start:function(e){m=e},cancel:function(){m=null}});return new Promise(function(e,i){c&&e({data:g});var l=wx.request({url:(0,o.formatUrl)("https:",t),data:n,timeout:f,method:a.toUpperCase(),header:s,success:function(t){null==m||m.close(),!c&&e(t)},fail:function(e){if(null==m||m.close(),i(e),c)throw e},complete:function(e){if(e&&e.errMsg&&f&&-1!==h._restrictedMethods.indexOf("post")&&r&&"request:fail timeout"===e.errMsg){console.warn(h._timeoutMsg);try{l.abort()}catch(t){console.warn(d,t)}}},enableChunked:c});if(l.onChunkReceived(function(e){null==m||m.enqueue(new Uint8Array(e.data))}),u){var p=function(){try{l.abort()}catch(e){console.warn(d,e)}};u.aborted?p():u.addEventListener("abort",function(){return p()})}})},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(a(a({},e),{method:t,headers:r}))},t}(o.AbstractSDKRequest),h=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()}},f=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}};function m(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 g={genAdapter:function(e){return{root:{globalThis:{}},reqClass:p,wsClass:f,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 s=i[2];s&&(r=m(s))}console.log("openURIWithCallback queryObj",r);var l=r.token,c=u(r,["token"]);return/^data:/.test(o)&&!l?Promise.reject({error:"invalid_argument",error_description:"invalie captcha data: "+t}):l?new Promise(function(e){console.log("wait for captcha..."),n.$emit("CAPTCHA_DATA_CHANGE",a(a({},c),{token:l,url:o})),n.$once("RESOLVE_CAPTCHA_DATA",function(t){e(t)})}):Promise.reject({error:"unimplemented",error_description:"need to impl captcha data"})}},localStorage:h,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"]=g},3052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAUTH2_LOGINTYPE_PREFIX=t.LOGINTYPE=t.DATA_VERSION=void 0,t.getBaseEndPoint=function(e){var t=m(e,"CLOUD_API"),n=t.protocol,r=t.baseUrl;return"".concat(n).concat(r).match(/(http(s)?:)?\/\/([^/?#]*)/)[0]},t.getEndPointInfo=m,t.getSdkName=function(){return l},t.getSdkVersion=function(){return a},t.setEndPointInfo=f,t.setGatewayEndPointWithEnv=function(e,t){f({endPointKey:"GATEWAY",env:e,baseUrl:"//".concat(e,".api.tcloudbasegateway.com/v1"),protocol:t})},t.setRegionLevelEndpoint=function(e,t,n){var r=t?"//".concat(e,".").concat(t,".tcb-api.tencentcloudapi.com/web"):"//".concat(e,".ap-shanghai.tcb-api.tencentcloudapi.com/web");f({env:e,region:t,baseUrl:r,protocol:n,endPointKey:"CLOUD_API"})},t.setSdkName=function(e){l=e,i(e)},t.setSdkVersion=function(e){a=e};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=r.constants.setSdkName,s=r.constants.setProtocol,a="",l="@cloudbase/js-sdk";t.DATA_VERSION="2020-01-10";var c,u=[],d=["env","endPointKey","region"],p="https:";function h(e){return u.find(function(t){return d.filter(function(t){return null!=e[t]}).every(function(n){return t[n]===e[n]})})}function f(e){var t,n,r=h(e);r?(null!=e.baseUrl&&(r.baseUrl=e.baseUrl),null!=e.protocol&&(r.protocol=e.protocol)):u.push(o(o({},e),{protocol:null!==(t=e.protocol)&&void 0!==t?t:p})),"CLOUD_API"===e.endPointKey&&s(null!==(n=e.protocol)&&void 0!==n?n:p)}function m(e,t,n){return h({env:e,endPointKey:t,region:n})}!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"}(c||(t.LOGINTYPE=c={})),t.OAUTH2_LOGINTYPE_PREFIX="OAUTH2"},4283:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LANGS",{enumerable:!0,get:function(){return d.LANGS}}),t["default"]=t.cloudbase=void 0,Object.defineProperty(t,"getBaseEndPoint",{enumerable:!0,get:function(){return u.getBaseEndPoint}});var o=n(3882),i=r(n(3007)),s=n(3219),a=n(4319),l=n(1706),c=n(6153),u=n(3052),d=n(9738),p=n(9715),h=function(){return h=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},h.apply(this,arguments)},f=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(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},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},g=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},_=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},v=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},b=o.adapters.useAdapters,y=o.adapters.useDefaultAdapter,w=o.constants.ERRORS,k=o.constants.COMMUNITY_SITE_URL,E=o.utils.printWarn,S=o.helpers.catchErrorsDecorator,I={timeout:15e3,persistence:"local"},C=6e5,T={},A=function(){function e(e){this.cloudbaseConfig=e||this.cloudbaseConfig,this.authInstance=null,this.oauthInstance=null,this.version=(0,u.getSdkVersion)()}return Object.defineProperty(e.prototype,"config",{get:function(){return this.cloudbaseConfig},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"platform",{get:function(){return a.Platform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cache",{get:function(){return(0,l.getCacheByEnvId)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localCache",{get:function(){return(0,l.getLocalCache)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"request",{get:function(){return(0,c.getRequestByEnvId)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apis",{get:function(){return p.generateApis.call(this)},enumerable:!1,configurable:!0}),e.prototype.init=function(t){var n;if(!t.env)throw new Error(JSON.stringify({code:w.INVALID_PARAMS,msg:"env must not be specified"}));a.Platform.adapter||this.useDefaultAdapter();var r={timeout:t.timeout||5e3,timeoutMsg:"[".concat((0,u.getSdkName)(),"][REQUEST TIMEOUT] request had been abort since didn't finished within").concat(t.timeout/1e3,"s")};this.requestClient=new a.Platform.adapter.reqClass(r),this.cloudbaseConfig=h(h(h({},I),t),{i18n:(0,d.i18nProxy)(a.Platform,t)}),delete this.cloudbaseConfig.lang,this.cloudbaseConfig.timeout=this.formatTimeout(this.cloudbaseConfig.timeout);var o=this.cloudbaseConfig,i=o.env,s=o.persistence,p=o.debug,f=o.timeout,m=o.oauthClient,g=o.i18n;(0,l.initCache)({env:i,persistence:s,debug:p,platformInfo:this.platform}),(0,u.setRegionLevelEndpoint)(i,t.region||""),(0,u.setGatewayEndPointWithEnv)(i);var _=new e(this.cloudbaseConfig);return(0,c.initRequest)({env:i,region:t.region||"",timeout:f,oauthClient:m,_fromApp:_,i18n:g}),_.requestClient=this.requestClient,null===(n=null==this?void 0:this.fire)||void 0===n||n.call(this,"cloudbase_init",_),_},e.prototype.updateConfig=function(e){var t=e.persistence,n=e.debug;this.cloudbaseConfig.persistence=t,this.cloudbaseConfig.debug=n,(0,l.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){T[e.name]=e},e.prototype.invokeExtension=function(e,t){return g(this,void 0,void 0,function(){var n;return _(this,function(r){switch(r.label){case 0:if(!(n=T[e]))throw new Error(JSON.stringify({code:w.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=b(e,t)||{},r=n.adapter,o=n.runtime;r&&(a.Platform.adapter=r),o&&(a.Platform.runtime=o)},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,u.setSdkVersion)(e),this.version=e},e.prototype.registerSdkName=function(e){(0,u.setSdkName)(e)},e.prototype.registerEndPoint=function(e,t){(0,u.setEndPointInfo)({baseUrl:e,protocol:t,env:this.config.env,endPointKey:"CLOUD_API"})},e.prototype.registerEndPointWithKey=function(e){(0,u.setEndPointInfo)({env:this.config.env,endPointKey:e.key,baseUrl:e.url,protocol:e.protocol})},e.prototype.getEndPointWithKey=function(e){var t=(0,u.getEndPointInfo)(this.config.env,e);return{BASE_URL:t.baseUrl,PROTOCOL:t.protocol}},e.prototype.parseCaptcha=function(e){var t={},n=e.match(/^(data:.*?)(\?[^#\s]*)?$/);if(n){e=n[1];var r=n[2];r&&(t=o.utils.parseQueryString(r))}var i=t.token,s=v(t,["token"]);return/^data:/.test(e)&&!i?{error:"invalid_argument",error_description:"invalid captcha data: ".concat(e)}:i?{state:s.state,token:i,captchaData:e}:{error:"unimplemented",error_description:"need to impl captcha data"}},e.prototype.useDefaultAdapter=function(){var e=y(),t=e.adapter,n=e.runtime;a.Platform.adapter=t,a.Platform.runtime=n},e.prototype.formatTimeout=function(e){switch(!0){case e>C:return E(w.INVALID_PARAMS,"timeout is greater than maximum value[10min]"),C;case e<100:return E(w.INVALID_PARAMS,"timeout is less than maximum value[100ms]"),100;default:return e}},f([S({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(k)]}),m("design:type",Function),m("design:paramtypes",[Object]),m("design:returntype",e)],e.prototype,"init",null),f([S({title:"调用扩展能力失败",messages:["请确认以下各项:"," 1 - 调用 invokeExtension() 的语法或参数是否正确"," 2 - 被调用的扩展能力是否已经安装并通过 registerExtension() 注册","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(k)]}),m("design:type",Function),m("design:paramtypes",[String,Object]),m("design:returntype",Promise)],e.prototype,"invokeExtension",null),e}(),O=t.cloudbase=new A;O.useAdapters(i["default"]),t["default"]=O},4319:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Platform=void 0,t.Platform={}},1706:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheByEnvId=function(e){return a[e]},t.getLocalCache=function(e){return l[e]},t.initCache=function(e){var t=e.env,n=e.platformInfo,r={userInfoKey:"".concat(i,"_").concat(t)};a[t]=a[t]||new s(o(o({},e),{keys:r,platformInfo:n})),l[t]=l[t]||new s(o(o({},e),{keys:r,platformInfo:n,persistence:"local"}))};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="user_info",s=r.cache.CloudbaseCache,a={},l={}},9715:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callApi=a,t.generateApis=function(){var e=this;return new Proxy({},{get:function(t,n){if("string"==typeof n)return c.call(e,n)}})},t.generateCallApis=c;var r=n(7281),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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};function a(e,t){var n,a,l;return i(this,void 0,void 0,function(){var i,c,u,d,p,h,f,m,g,_,v,b,y,w,k;return s(this,function(s){switch(s.label){case 0:if(c=(i=e||{}).name,u=i.body,d=i.path,p=void 0===d?"":d,h=i.method,f=void 0===h?"POST":h,m=i.headers,g=void 0===m?{}:m,_=i.token,!c)throw new Error(JSON.stringify({code:r.ERRORS.INVALID_PARAMS,msg:"[apis] invalid api name"}));return v=this.getEndPointWithKey("GATEWAY"),b=v.BASE_URL,y=v.PROTOCOL,w="".concat(y).concat(b,"/apis/").concat(c),k=p.startsWith("/")?p:"/".concat(p),[4,this.request.fetch(o({url:"".concat(w).concat(k),method:f||"POST",headers:o({"Content-Type":"application/json; charset=utf-8"},g),body:u,token:(null===(n=null==_?void 0:_.trim)||void 0===n?void 0:n.call(_))||(null===(l=null===(a=g.Authorization)||void 0===a?void 0:a.replace)||void 0===l?void 0:l.call(a,/^Bearer /,""))||""},t))];case 1:return[4,s.sent().data];case 2:return[2,s.sent()]}})})}var l=["GET","POST","PUT","DELETE","HEAD","OPTIONS","PATCH","REQUEST"];function c(e){var t=this;return new Proxy({},{get:function(n,r){if("string"!=typeof r)throw new Error("[apis] method must be string");var c=r.toLocaleUpperCase();if(!l.includes(c))throw new Error("[apis] invalid method: ".concat(r));return function(n,r){return i(t,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return[4,a.call(this,o({name:e,method:("REQUEST"===c?n.method:c)||"POST"},n),r)];case 1:return[2,t.sent()]}})})}}})}},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,l=t.entity,c=t.injectEvents,u=t.IIFE,d=void 0!==u&&u;if(s[n]||r&&e[r])throw new Error(JSON.stringify({code:i.INVALID_OPERATION,msg:"Duplicate component ".concat(n)}));if(d){if(!l||"function"!=typeof l)throw new Error(JSON.stringify({code:i.INVALID_PARAMS,msg:"IIFE component's entity must be a function"}));l.call(e)}if(s[n]=t,r?e.prototype[r]=l:a(e.prototype,l),c){var p=c.bus,h=c.events;if(!p||!h||0===h.length)return;var f=e.prototype.fire||function(){};e.prototype.events||(e.prototype.events={}),(e.prototype.events||{})[n]?e.prototype.events[n].events=o(o([],e.prototype.events[n].events,!0),h,!0):e.prototype.events[n]={bus:p,events:h},e.prototype.fire=function(e,t){f(e,t);for(var n=0,r=Object.keys(this.events);n<r.length;n++){var o=r[n],i=this.events[o],s=i.bus;if(i.events.includes(e)){s.fire(e,t);break}}}}},t.registerHook=function(e,t){var n=t.entity,r=t.target;if(Object.prototype.hasOwnProperty.call(e,r))throw new Error(JSON.stringify({code:i.INVALID_OPERATION,msg:"target:".concat(r," is not exist")}));var s=e.prototype[r];if("function"!=typeof s)throw new Error(JSON.stringify({code:i.INVALID_OPERATION,msg:"target:".concat(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,o([this],e,!1)),s.call.apply(s,o([this],e,!1))}};var r=n(3882),o=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))},i=r.constants.ERRORS,s={};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}},9738:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.t=t.langMap=t.i18nProxy=t.LANG_HEADER_KEY=t.LANGS=void 0;var r,o,i=n(3882);!function(e){e.ZH="zh-CN",e.EN="en-US"}(o||(t.LANGS=o={}));var s=t.LANG_HEADER_KEY="Accept-Language",a=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),l=function(e,t){var n;return(null===(n=a[t])||void 0===n?void 0:n[e])||e};t.t=l,t.i18nProxy=function(e,t){var n,r,a=function(e){return"lang_".concat(e.clientId||e.env)}(t),c=(e.adapter||{}).localStorage,u=t.lang||(null===(n=null==c?void 0:c.getItem)||void 0===n?void 0:n.call(c,a))||o.ZH;return null===(r=null==c?void 0:c.setItem)||void 0===r||r.call(c,a,u),new Proxy({t:function(e){return l(e,u)},LANG_HEADER_KEY:s,lang:u},{get:function(e,t){var n;return"lang"===t&&(null===(n=null==c?void 0:c.getItem)||void 0===n?void 0:n.call(c,a))||e[t]},set:function(e,t,n){var r;return"lang"===t&&n!==e[t]&&(e[t]=n,e.t=function(e){return l(e,n)},null===(r=null==c?void 0:c.setItem)||void 0===r||r.call(c,a,n),i.langEvent.bus.fire(i.langEvent.LANG_CHANGE_EVENT,{i18n:e})),e[t]=n,!0}})}},6153:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseRequest=void 0,t.getRequestByEnvId=function(e){return b[e]},t.initRequest=function(e){b[e.env]=new v(a(a({},e),{"throw":!0}))};var r=n(3052),o=n(3882),i=n(1706),s=n(4319),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)},l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},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},d=o.constants.ERRORS,p=o.utils.genSeqId,h=o.utils.isFormData,f=o.utils.formatUrl,m=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"];function g(e,t,n){var r=e[t];e[t]=function(t){var o={},i={};n.forEach(function(n){var r=n.call(e,t),s=r.data,a=r.headers;Object.assign(o,s),Object.assign(i,a)});var s=t.data;return s&&(h(s)?Object.keys(o).forEach(function(e){s.append(e,o[e])}):t.data=a(a({},s),o)),t.headers=a(a({},t.headers||{}),i),r.call(e,t)}}function _(){var e=p();return{data:{seqId:e},headers:{"X-SDK-Version":"@cloudbase/js-sdk/".concat((0,r.getSdkVersion)()),"x-seqid":e}}}var v=t.CloudbaseRequest=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"]};this.reqClass=new s.Platform.adapter.reqClass(n),this.throwWhenRequestFail=e["throw"]||!1,this.localCache=(0,i.getLocalCache)(this.config.env),g(this.reqClass,"post",[_]),g(this.reqClass,"upload",[_]),g(this.reqClass,"download",[_]),o.langEvent.bus.on(o.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.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},e.prototype.post=function(e){return l(this,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,this.reqClass.post(a(a({},e),{headers:a(a({},e.headers),this.getDefaultHeaders())}))];case 1:return[2,t.sent()]}})})},e.prototype.upload=function(e){return l(this,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,this.reqClass.upload(a(a({},e),{headers:a(a({},e.headers),this.getDefaultHeaders())}))];case 1:return[2,t.sent()]}})})},e.prototype.download=function(e){return l(this,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,this.reqClass.download(a(a({},e),{headers:a(a({},e.headers),this.getDefaultHeaders())}))];case 1:return[2,t.sent()]}})})},e.prototype.getBaseEndPoint=function(){return(0,r.getBaseEndPoint)(this.config.env)},e.prototype.getOauthAccessTokenV2=function(e){return l(this,void 0,void 0,function(){var t,n;return c(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){var o,i;return l(this,void 0,void 0,function(){var s,l,u,d,p,h,g,_,v,b,y,w,k,E,S,I,C,T,A,O;return c(this,function(c){switch(c.label){case 0:if(s="x-tcb-trace_".concat(this.config.env),l="application/x-www-form-urlencoded",u=a({action:e,dataVersion:r.DATA_VERSION,env:this.config.env},t),-1!==m.indexOf(e))return[3,2];if(!(d=this.config._fromApp).oauthInstance)throw new Error("you can't request without auth");return p=d.oauthInstance,h=p.oauth2client,g=u,[4,this.getOauthAccessTokenV2(h)];case 1:g.access_token=c.sent().accessToken,c.label=2;case 2:return"storage.uploadFile"===e?(_=new FormData,Object.keys(_).forEach(function(e){Object.prototype.hasOwnProperty.call(_,e)&&_[e]!==undefined&&_.append(e,u[e])}),l="multipart/form-data"):(l="application/json;charset=UTF-8",_={},Object.keys(u).forEach(function(e){u[e]!==undefined&&(_[e]=u[e])})),v={headers:a({"content-type":l},this.getDefaultHeaders())},(null==n?void 0:n.onUploadProgress)&&(v.onUploadProgress=n.onUploadProgress),this.config.region&&(v.headers["X-TCB-Region"]=this.config.region),(b=this.localCache.getStore(s))&&(v.headers["X-TCB-Trace"]=b),y=(null==n?void 0:n.parse)!==undefined?n.parse:t.parse,w=(null==n?void 0:n.inQuery)!==undefined?n.inQuery:t.inQuery,k=(null==n?void 0:n.search)!==undefined?n.search:t.search,E=a(a({},(null==n?void 0:n.defaultQuery)||{}),{env:this.config.env}),y&&(E.parse=!0),w&&(E=a(a({},w),E)),S=(0,r.getEndPointInfo)(this.config.env,"CLOUD_API"),I=S.baseUrl,C=S.protocol,T=n.pathname?f(C,"".concat(null===(o=(0,r.getBaseEndPoint)(this.config.env))||void 0===o?void 0:o.replace(/^https?:/,""),"/").concat(n.pathname),E):f(C,I,E),k&&(T+=k),[4,this.post(a({url:T,data:_},v))];case 3:if(A=c.sent(),(O=null===(i=A.header)||void 0===i?void 0:i["x-tcb-trace"])&&this.localCache.setStore(s,O),200!==Number(A.status)&&200!==Number(A.statusCode)||!A.data)throw new Error("network request error");return[2,A]}})})},e.prototype.fetch=function(e){var t,n,o,i,s,d,p,h;return l(this,void 0,void 0,function(){var f,m,g,_,v,b,y,w=this;return c(this,function(k){switch(k.label){case 0:f=e.token,m=e.headers,g=void 0===m?{}:m,_=u(e,["token","headers"]),v=function(){return l(w,void 0,void 0,function(){var e,t,n;return c(this,function(r){switch(r.label){case 0:if(null!=f)return[2,f];if(!(e=this.config._fromApp).oauthInstance)throw new Error("you can't request without auth");return t=e.oauthInstance,n=t.oauth2client,[4,this.getOauthAccessTokenV2(n)];case 1:return[2,r.sent().accessToken]}})})},b=function(){return l(w,void 0,void 0,function(){var e,t,n,o,i;return c(this,function(s){switch(s.label){case 0:return t=(e=this.reqClass).fetch,o={},i={"X-SDK-Version":"@cloudbase/js-sdk/".concat((0,r.getSdkVersion)())},n="Bearer ".concat,[4,v()];case 1:return[2,t.apply(e,[a.apply(void 0,[(o.headers=a.apply(void 0,[a.apply(void 0,[(i.Authorization=n.apply("Bearer ",[s.sent()]),i),this.getDefaultHeaders()]),g]),o),_])])]}})})},k.label=1;case 1:return k.trys.push([1,3,,6]),[4,b()];case 2:return[2,k.sent()];case 3:if("ACCESS_TOKEN_EXPIRED"!==(null==(y=k.sent())?void 0:y.code))return[3,5];if("function"!=typeof(null===(i=null===(o=null===(n=null===(t=this.config)||void 0===t?void 0:t._fromApp)||void 0===n?void 0:n.oauthInstance)||void 0===o?void 0:o.authApi)||void 0===i?void 0:i.refreshTokenForce))throw y;return[4,null===(h=null===(p=null===(d=null===(s=this.config)||void 0===s?void 0:s._fromApp)||void 0===d?void 0:d.oauthInstance)||void 0===p?void 0:p.authApi)||void 0===h?void 0:h.refreshTokenForce()];case 4:return k.sent(),[2,b()];case 5:throw y;case 6:return[2]}})})},e.prototype.send=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),l(this,void 0,void 0,function(){var r;return c(this,function(o){switch(o.label){case 0:return[4,this.request(e,t,a(a({},n),{onUploadProgress:t.onUploadProgress}))];case 1:if((r=o.sent()).data.code&&this.throwWhenRequestFail)throw new Error(JSON.stringify({code:d.OPERATION_FAIL,msg:"[".concat(r.data.code,"] ").concat(r.data.message)}));return[2,r.data]}})})},e}(),b={}},1933:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAuthAdapter=void 0;var r=n(486),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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},a=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 i(this,void 0,void 0,function(){return s(this,function(t){return[2,this.localStorage.getItem(e)]})})},e.prototype.removeItem=function(e){return i(this,void 0,void 0,function(){return s(this,function(t){return this.localStorage.removeItem(e),[2]})})},e.prototype.setItem=function(e,t){return i(this,void 0,void 0,function(){return s(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=/^[^:]+:\/\/[^/]+(\/[^?#]+)/,c=function(e,t){var n,r,o,i,s=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||s),(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)||{}},u=function(e,t){if(!r.adapterForWxMp.isMatch()||e.storage&&e.baseRequest)return e;var n=o({},e),l={};try{var u=r.adapterForWxMp.genAdapter(),d=u.localStorage,p=u.reqClass;if(d&&(l.storage=new a({localStorage:d,adapter:t})),p){var h=new p({timeout:1e4,restrictedMethods:["get","post","upload","download","request"]});l.request=function(e){return function(t,n){return i(this,void 0,void 0,function(){return s(this,function(r){return[2,new Promise(function(r,i){var s=Object.assign({},n);s.body&&"string"!=typeof s.body&&(s.body=JSON.stringify(s.body));var a=wx.request({url:t,data:s.body,timeout:e._timeout,method:s.method||"GET",header:s.headers,success:function(e){(e=c(e,o(o({},n),{url:t}))).error&&i(e),r(e)},fail:function(e){i({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{a.abort()}catch(n){}}}})})]})})}}(h)}return n.captchaOptions&&(l.baseRequest=l.request,l.request=undefined),o(o({},n),l)}catch(f){console.error("adapter generate fail:",f)}return n};t.useAuthAdapter=function(e){return e.adapter&&"default"!==e.adapter.type?function(e,t){var n=o({},e);try{if(!(null==e?void 0:e.storage)&&(null==t?void 0:t.localStorage)&&(n.storage=new a({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=new t.reqClass({timeout:1e4,restrictedMethods:["get","post","upload","download","request"]});n.baseRequest=function(e,t){var n;return i(this,void 0,void 0,function(){var i,a,l,u;return s(this,function(s){switch(s.label){case 0:if(i={},a=(null===(n=t.method)||void 0===n?void 0:n.toLocaleLowerCase())||"get","function"!=typeof(l=null==r?void 0:r[a]))throw new Error("invalid 【".concat(a,"】 request method"));s.label=1;case 1:return s.trys.push([1,3,,4]),t.headers["content-type"]&&!t.headers["content-type"].includes("application/json")||"string"==typeof t.body||(t.data=t.data||t.body,t.body=JSON.stringify(t.body)),[4,l(o({url:e},t))];case 2:return i=s.sent(),i=c(i,o(o({},t),{url:e})),[3,4];case 3:throw u=s.sent(),i=u,u;case 4:if(null==i?void 0:i.error)throw i;return[2,i]}})})}}}catch(l){console.error("user adapter generate fail:",l)}return n}(e,e.adapter):u(e,e.adapter)}},3442:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoginState=t.Auth=void 0,t.generateAuthInstance=y,t.registerAuth=function(e){try{e.registerComponent(w)}catch(t){console.warn(t)}};var r=n(2191),o=n(1933),i=n(486),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)},a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(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},l=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},c=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},u=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},d="sign_out",p="sign_in",h="credentials_error",f="loginStateChanged",m=new i.CloudbaseEventEmitter,g=function(e){m.fire(f,s(s({},e),{eventType:h}))},_=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 c(this,void 0,void 0,function(){return u(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 c(this,void 0,void 0,function(){var e,t,n,r;return u(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 c(this,void 0,void 0,function(){var t;return u(this,function(n){switch(n.label){case 0:return[4,this.oauthInstance.authApi.setUserProfile(s({},e))];case 1:return t=n.sent(),this.setLocalUserInfo(t),[2]}})})},e.prototype.updateUserBasicInfo=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.updateUserBasicInfo(s({},e))];case 1:return t.sent(),this.setLocalUserInfo({username:e.username}),[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,i.throwError)(i.ERRORS.INVALID_PARAMS,"username must be a string"),this.update({username:e})},e.prototype.refresh=function(e){return c(this,void 0,void 0,function(){var t;return u(this,function(n){switch(n.label){case 0:return[4,this.oauthInstance.authApi.getUserInfo(e)];case 1:return t=n.sent(),this.setLocalUserInfo(t),[2,t]}})})},e.prototype.getLocalUserInfo=function(e){var t=this.cache.keys.userInfoKey;return this.cache.getStore(t)[e]},e.prototype.getLocalUserInfoAsync=function(e){return c(this,void 0,void 0,function(){var t;return u(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"].forEach(function(t){e[t]=n[t]})},e.prototype.setLocalUserInfo=function(e){var t=this.cache.keys.userInfoKey;this.cache.setStore(t,e),this.setUserInfo()},a([(0,i.catchErrorsDecorator)({title:"更新用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.update() 的语法或参数是否正确"," 2 - 用户信息中是否包含非法值","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"update",null),a([(0,i.catchErrorsDecorator)({title:"更新密码失败",messages:["请确认以下各项:"," 1 - 调用 User.updatePassword() 的语法或参数是否正确"," 3 - 新密码中是否包含非法字符","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[String,String]),l("design:returntype",void 0)],e.prototype,"updatePassword",null),a([(0,i.catchErrorsDecorator)({title:"更新用户名失败",messages:["请确认以下各项:"," 1 - 调用 User.updateUsername() 的语法或参数是否正确"," 2 - 当前环境是否开通了用户名密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[String]),l("design:returntype",void 0)],e.prototype,"updateUsername",null),a([(0,i.catchErrorsDecorator)({title:"刷新本地用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.refresh() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"refresh",null),e}(),v=t.LoginState=function(){function e(e){var t=e.envId,n=e.cache,r=e.oauthInstance;t||(0,i.throwError)(i.ERRORS.INVALID_PARAMS,"envId is not defined"),this.cache=n,this.oauthInstance=r,this.user=new _({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 c(this,void 0,void 0,function(){return u(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}(),b=t.Auth=function(){function e(e){this.config=e,this.cache=e.cache,this.oauthInstance=e.oauthInstance,e.publishable_key&&this.createLoginState()}return e.prototype.bindPhoneNumber=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.editContact(e)]})})},e.prototype.unbindProvider=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.unbindProvider(e)]})})},e.prototype.bindEmail=function(e){return this.oauthInstance.authApi.editContact(e)},e.prototype.verify=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.verify(e)]})})},e.prototype.getVerification=function(e,t){return c(this,void 0,void 0,function(){return u(this,function(n){return[2,this.oauthInstance.authApi.getVerification(e,t)]})})},Object.defineProperty(e.prototype,"currentUser",{get:function(){if("async"!==this.cache.mode){var e=this.hasLoginState();return e&&e.user||null}(0,i.printWarn)(i.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getCurrentUser insteed")},enumerable:!1,configurable:!0}),e.prototype.getCurrentUser=function(){return c(this,void 0,void 0,function(){var e;return u(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.signInAnonymously=function(e){return void 0===e&&(e={}),c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signInAnonymously(e)];case 1:return t.sent(),[2,this.createLoginState()]}})})},e.prototype.signInAnonymouslyInWx=function(e){var t=(void 0===e?{}:e).useWxCloud;return c(this,void 0,void 0,function(){var e,n,r=this;return u(this,function(o){switch(o.label){case 0:if(!i.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,n=function(n){return c(r,void 0,void 0,function(){var r,o;return u(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 c(r,void 0,void 0,function(){var r;return u(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})]}})})},e.prototype.bindOpenId=function(){return c(this,void 0,void 0,function(){var e,t,n=this;return u(this,function(r){switch(r.label){case 0:if(!i.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,t=function(t){return c(n,void 0,void 0,function(){var n;return u(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 c(n,void 0,void 0,function(){var n;return u(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]}})})},e.prototype.signInWithOpenId=function(e){var t=(void 0===e?{}:e).useWxCloud,n=void 0===t||t;return c(this,void 0,void 0,function(){var e,t,r=this;return u(this,function(o){switch(o.label){case 0:if(!i.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,t=function(t){return c(r,void 0,void 0,function(){var r,o;return u(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]}})})},[4,new Promise(function(e,n){wx.login({success:function(o){return c(r,void 0,void 0,function(){var r;return u(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 r=i.sent(),n(r),[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 1:return o.sent(),[2,this.createLoginState()]}})})},e.prototype.signInWithUnionId=function(){return c(this,void 0,void 0,function(){var e=this;return u(this,function(t){switch(t.label){case 0:if(!i.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 c(e,void 0,void 0,function(){var e,i,s,a,l;return u(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(),(s=i.provider_token)?[4,this.oauthInstance.authApi.signInWithProvider({provider_id:e,provider_token:s})]:(n(i),[2]);case 3:return(null==(a=c.sent())?void 0:a.error_code)?(n(a),[2]):(t(!0),[3,5]);case 4:return l=c.sent(),n(l),[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()]}})})},e.prototype.signInWithPhoneAuth=function(e){var t=e.phoneCode,n=void 0===t?"":t;return c(this,void 0,void 0,function(){var e,t,r,o,s;return u(this,function(a){switch(a.label){case 0:if(!i.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,t={provider_params:{provider_code_type:"phone"},provider_id:e.appId},[4,wx.login()];case 1:r=a.sent().code,t.provider_code=r,a.label=2;case 2:return a.trys.push([2,6,,7]),[4,this.oauthInstance.authApi.grantProviderToken(t)];case 3:if((o=a.sent()).error_code)throw o;return[4,this.oauthInstance.authApi.patchProviderToken({provider_token:o.provider_token,provider_id:e.appId,provider_params:{code:n,provider_code_type:"phone"}})];case 4:if((o=a.sent()).error_code)throw o;return[4,this.oauthInstance.authApi.signInWithProvider({provider_token:o.provider_token})];case 5:if(null==(s=a.sent())?void 0:s.error_code)throw s;return[3,7];case 6:throw a.sent();case 7:return[2,this.createLoginState()]}})})},e.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,s=void 0===i?"":i,a=e.bindInfo,l=void 0===a?undefined:a;return c(this,void 0,void 0,function(){return u(this,function(e){try{return[2,this.signInWithUsername({verificationInfo:n,verificationCode:o,bindInfo:l,username:s,loginType:"sms"})]}catch(t){throw t}})})},e.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,s=void 0===i?undefined:i,a=e.email,l=void 0===a?"":a;return c(this,void 0,void 0,function(){return u(this,function(e){try{return[2,this.signInWithUsername({verificationInfo:n,verificationCode:o,bindInfo:s,username:l,loginType:"email"})]}catch(t){throw t}})})},e.prototype.setCustomSignFunc=function(e){this.oauthInstance.authApi.setCustomSignFunc(e)},e.prototype.signInWithCustomTicket=function(){return c(this,void 0,void 0,function(){return u(this,function(e){switch(e.label){case 0:return[4,this.oauthInstance.authApi.signInWithCustomTicket()];case 1:return e.sent(),[2,this.createLoginState()]}})})},e.prototype.signIn=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signIn(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},e.prototype.signUp=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signUp(e)];case 1:return t.sent(),[2,this.createLoginState()]}})})},e.prototype.setPassword=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.setPassword(e)]})})},e.prototype.isUsernameRegistered=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return"string"!=typeof e&&(0,i.throwError)(i.ERRORS.INVALID_PARAMS,"username must be a string"),[4,this.oauthInstance.authApi.checkIfUserExist({username:e})];case 1:return[2,t.sent().exist]}})})},e.prototype.signOut=function(e){return c(this,void 0,void 0,function(){var t,n;return u(this,function(r){switch(r.label){case 0:return t=this.cache.keys.userInfoKey,[4,this.oauthInstance.authApi.signOut(e)];case 1:return n=r.sent(),[4,this.cache.removeStoreAsync(t)];case 2:return r.sent(),m.fire(f,{eventType:d}),[2,n]}})})},e.prototype.hasLoginState=function(){var e;if("async"!==this.cache.mode)return(null===(e=this.oauthInstance)||void 0===e?void 0:e.authApi.hasLoginStateSync())?new v({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance}):null;(0,i.printWarn)(i.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getLoginState insteed")},e.prototype.getLoginState=function(){return c(this,void 0,void 0,function(){var e;return u(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 v({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance})]:[2,null]}})})},e.prototype.getUserInfo=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.getUserInfo(e)]})})},e.prototype.getWedaUserInfo=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.getWedaUserInfo()]})})},e.prototype.updateUserBasicInfo=function(e){return c(this,void 0,void 0,function(){var t;return u(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]}})})},e.prototype.getAuthHeader=function(){return console.error("Auth.getAuthHeader API 已废弃"),{}},e.prototype.bindWithProvider=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.bindWithProvider(e)]})})},e.prototype.queryUser=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.queryUserProfile(e)]})})},e.prototype.getAccessToken=function(){return c(this,void 0,void 0,function(){return u(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}]}})})},e.prototype.grantProviderToken=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.grantProviderToken(e)]})})},e.prototype.patchProviderToken=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.patchProviderToken(e)]})})},e.prototype.signInWithProvider=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signInWithProvider(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},e.prototype.signInWithWechat=function(e){return void 0===e&&(e={}),c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signInWithWechat(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},e.prototype.grantToken=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.grantToken(e)];case 1:return t.sent(),[2,this.createLoginState()]}})})},e.prototype.genProviderRedirectUri=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.genProviderRedirectUri(e)]})})},e.prototype.resetPassword=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.resetPassword(e)]})})},e.prototype.deviceAuthorize=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.deviceAuthorize(e)]})})},e.prototype.sudo=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.sudo(e)]})})},e.prototype.deleteMe=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.deleteMe(e)]})})},e.prototype.getProviders=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.getProviders()]})})},e.prototype.loginScope=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.loginScope()]})})},e.prototype.loginGroups=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.loginGroups()]})})},e.prototype.onLoginStateChanged=function(e){return c(this,void 0,void 0,function(){var t,n=this;return u(this,function(r){switch(r.label){case 0:return m.on(f,function(t){return c(n,void 0,void 0,function(){var n,r,o;return u(this,function(i){switch(i.label){case 0:return(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.eventType)===h?[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,s(s({},t),n)),[2]}})})}),[4,this.getLoginState()];case 1:return t=r.sent(),e.call(this,t),[2]}})})},e.prototype.refreshTokenForce=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.refreshTokenForce(e)]})})},e.prototype.getCredentials=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.getCredentials()]})})},e.prototype.setCredentials=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.oauth2client.setCredentials(e)];case 1:return t.sent(),[2]}})})},e.prototype.getProviderSubType=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.getProviderSubType()]})})},e.prototype.createCaptchaData=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.createCaptchaData(e)]})})},e.prototype.verifyCaptchaData=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.verifyCaptchaData(e)]})})},e.prototype.getMiniProgramQrCode=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.getMiniProgramCode(e)]})})},e.prototype.getMiniProgramQrCodeStatus=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.getMiniProgramQrCodeStatus(e)]})})},e.prototype.modifyPassword=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.modifyPassword(e)]})})},e.prototype.modifyPasswordWithoutLogin=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.modifyPasswordWithoutLogin(e)]})})},e.prototype.getUserBehaviorLog=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.getUserBehaviorLog(e)]})})},e.prototype.toDefaultLoginPage=function(e){return void 0===e&&(e={}),c(this,void 0,void 0,function(){var t,n,r,o;return u(this,function(s){return t=e.config_version||"env",i.adapterForWxMp.isMatch()?wx.navigateTo({url:"/packages/$wd_system/pages/login/index"}):(n=e.redirect_uri||window.location.href,r=new URL(n),o="".concat(r.origin,"/__auth/?app_id=").concat(e.app_id||"","&env_id=").concat(this.config.env,"&client_id=").concat(this.config.clientId,"&config_version=").concat(t,"&redirect_uri=").concat(encodeURIComponent(n)),window.location.href=o),[2]})})},e.prototype.createLoginState=function(e,t){return c(this,void 0,void 0,function(){var n;return u(this,function(r){switch(r.label){case 0:return[4,(n=new v({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance})).checkLocalStateAsync()];case 1:return r.sent(),(null==t?void 0:t.asyncRefreshUser)?(n.user.refresh(e),[3,4]):[3,2];case 2:return[4,n.user.refresh(e)];case 3:r.sent(),r.label=4;case 4:return m.fire(f,{eventType:p}),[2,n]}})})},e.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,l=e.bindInfo,d=void 0===l?undefined:l,p=e.loginType,h=void 0===p?"":p;return c(this,void 0,void 0,function(){var e,t,r,i,l,c,p;return u(this,function(u){switch(u.label){case 0:return u.trys.push([0,8,,9]),[4,this.oauthInstance.authApi.verify({verification_id:n.verification_id,verification_code:o})];case 1:if(null==(e=u.sent())?void 0:e.error_code)throw e;return t=e.verification_token,r="+86 ".concat(a),i={phone_number:r},"email"===h&&(i={email:r=a}),n.is_user?[4,this.oauthInstance.authApi.signIn({username:r,verification_token:t})]:[3,5];case 2:if(null==(l=u.sent())?void 0:l.error_code)throw l;return d?[4,this.oauthInstance.authApi.bindWithProvider({provider_token:null==d?void 0:d.providerToken})]:[3,4];case 3:if(null==(c=u.sent())?void 0:c.error_code)throw c;u.label=4;case 4:return[3,7];case 5:return[4,this.oauthInstance.authApi.signUp(s(s({},i),{verification_token:t,provider_token:null==d?void 0:d.providerId}))];case 6:if(null==(p=u.sent())?void 0:p.error_code)throw p;u.label=7;case 7:return[2,this.createLoginState()];case 8:throw u.sent();case 9:return[2]}})})},a([(0,i.catchErrorsDecorator)({title:"绑定手机号失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindPhoneNumber() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"bindPhoneNumber",null),a([(0,i.catchErrorsDecorator)({title:"解除三方绑定失败",messages:["请确认以下各项:"," 1 - 调用 auth().unbindProvider() 的语法或参数是否正确"," 2 - 当前账户是否已经与此登录方式解绑","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"unbindProvider",null),a([(0,i.catchErrorsDecorator)({title:"绑定邮箱地址失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindEmail() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],e.prototype,"bindEmail",null),a([(0,i.catchErrorsDecorator)({title:"验证码验证失败",messages:["请确认以下各项:"," 1 - 调用 auth().verify() 的语法或参数是否正确"," 2 - 当前环境是否开通了手机验证码/邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"verify",null),a([(0,i.catchErrorsDecorator)({title:"获取验证码失败",messages:["请确认以下各项:"," 1 - 调用 auth().getVerification() 的语法或参数是否正确"," 2 - 当前环境是否开通了手机验证码/邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object,Object]),l("design:returntype",Promise)],e.prototype,"getVerification",null),a([(0,i.catchErrorsDecorator)({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 调用 auth().getCurrentUser() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"getCurrentUser",null),a([(0,i.catchErrorsDecorator)({title:"匿名登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了匿名登录"," 2 - 调用 auth().signInAnonymously() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInAnonymously",null),a([(0,i.catchErrorsDecorator)({title:"小程序匿名登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了匿名登录"," 2 - 调用 auth().signInAnonymouslyInWx() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInAnonymouslyInWx",null),a([(0,i.catchErrorsDecorator)({title:"小程序绑定OpenID失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序openId静默登录"," 2 - 调用 auth().bindOpenId() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"bindOpenId",null),a([(0,i.catchErrorsDecorator)({title:"小程序openId静默登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序openId静默登录"," 2 - 调用 auth().signInWithOpenId() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInWithOpenId",null),a([(0,i.catchErrorsDecorator)({title:"小程序unionId静默登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序unionId静默登录"," 2 - 调用 auth().signInWithUnionId() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"signInWithUnionId",null),a([(0,i.catchErrorsDecorator)({title:"小程序手机号授权登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序手机号授权登录"," 2 - 调用 auth().signInWithPhoneAuth() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInWithPhoneAuth",null),a([(0,i.catchErrorsDecorator)({title:"短信验证码登陆",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序短信验证码登陆"," 2 - 调用 auth().signInWithSms() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInWithSms",null),a([(0,i.catchErrorsDecorator)({title:"邮箱验证码登陆",messages:["请确认以下各项:"," 1 - 当前环境是否开启了邮箱登陆"," 2 - 调用 auth().signInWithEmail() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInWithEmail",null),a([(0,i.catchErrorsDecorator)({title:"自定义登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了自定义登录"," 2 - 调用 auth().signInWithCustomTicket() 的语法或参数是否正确"," 3 - ticket 是否归属于当前环境"," 4 - 创建 ticket 的自定义登录私钥是否过期","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"signInWithCustomTicket",null),a([(0,i.catchErrorsDecorator)({title:"注册失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了指定登录方式"," 2 - 调用 auth().signUp() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signUp",null),a([(0,i.catchErrorsDecorator)({title:"获取用户是否被占用失败",messages:["请确认以下各项:"," 1 - 调用 auth().isUsernameRegistered() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[String]),l("design:returntype",Promise)],e.prototype,"isUsernameRegistered",null),a([(0,i.catchErrorsDecorator)({title:"用户登出失败",messages:["请确认以下各项:"," 1 - 调用 auth().signOut() 的语法或参数是否正确"," 2 - 当前用户是否为匿名登录(匿名登录不支持signOut)","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signOut",null),a([(0,i.catchErrorsDecorator)({title:"获取本地登录态失败",messages:["请确认以下各项:"," 1 - 调用 auth().getLoginState() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"getLoginState",null),a([(0,i.catchErrorsDecorator)({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 是否已登录"," 2 - 调用 auth().getUserInfo() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"getUserInfo",null),a([(0,i.catchErrorsDecorator)({title:"获取微搭插件用户信息失败",messages:["请确认以下各项:"," 1 - 是否已登录"," 2 - 调用 auth().getWedaUserInfo() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"getWedaUserInfo",null),a([(0,i.catchErrorsDecorator)({title:"绑定第三方登录方式失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindWithProvider() 的语法或参数是否正确"," 2 - 此账户是否已经绑定此第三方","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"bindWithProvider",null),a([(0,i.catchErrorsDecorator)({title:"获取身份源类型",messages:["请确认以下各项:"," 1 - 调用 auth().getProviderSubType() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"getProviderSubType",null),e}();function y(e,t){var n=e.region,a=void 0===n?"ap-shanghai":n,l=e.i18n,c=e.publishable_key,u=(null==t?void 0:t.platform)||(0,i.useDefaultAdapter)(),d=u.runtime,p=u.adapter,h=t||{},f=h.env,m=h.clientId,_=h.debug,v=h.cache,y=h.app,w=(t||{}).apiOrigin;w||(w="https://".concat(f,".").concat(a,".tcb-api.tencentcloudapi.com"));var k={env:f,clientId:m,i18n:l,publishable_key:c},E=new r.CloudbaseOAuth((0,o.useAuthAdapter)(s(s({},k),{apiOrigin:w,apiPath:(null==e?void 0:e.apiPath)||r.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:p,onCredentialsError:g,headers:e.headers||{}})));return{authInstance:new b(s(s({},k),{region:a,persistence:e.persistence,debug:_,cache:v||new i.CloudbaseCache({persistence:e.persistence,keys:{userInfoKey:"user_info_".concat(f)},platformInfo:u}),runtime:d||"web",_fromApp:y,oauthInstance:E})),oauthInstance:E}}var w={name:"auth",namespace:"auth",entity:function(e){if(void 0===e&&(e={region:"",persistence:"local",apiPath:r.AUTH_API_PREFIX}),this.authInstance)return(0,i.printWarn)(i.ERRORS.INVALID_OPERATION,"every cloudbase instance should has only one auth object"),this.authInstance;var t=this.platform.adapter,n=e.persistence||t.primaryStorage;n&&n!==this.config.persistence&&this.updateConfig({persistence:n});var o=y(s(s({wxCloud:this.config.wxCloud,storage:this.config.storage},e),{persistence:this.config.persistence,i18n:this.config.i18n,publishable_key:this.config.publishable_key}),{env:this.config.env,clientId:this.config.clientId,apiOrigin:this.request.getBaseEndPoint(),platform:this.platform,cache:this.cache,app:this,debug:this.config.debug}),a=o.authInstance,l=o.oauthInstance;return this.oauthInstance=l,this.authInstance=a,this.authInstance}};try{cloudbase.registerComponent(w)}catch(k){}},486:function(e,t,n){"use strict";var r=n(477)["default"];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 l.CloudbaseCache}}),Object.defineProperty(t,"CloudbaseEventEmitter",{enumerable:!0,get:function(){return a.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 s.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 u.useDefaultAdapter}});var o=n(4442),i=n(7281),s=n(9325),a=n(4947),l=n(7174),c=r(n(4574)),u=n(3496)},4574:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wxMpStorage=t["default"]=t.WxRequest=t.WxMpWebSocket=void 0;var r,o=n(6885),i=n(7612),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)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 o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)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 s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},u="Error when aborting requestTask",d=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 s(t,e),t.prototype.post=function(e){var t=this;return new Promise(function(n,r){var i=e.url,s=e.data,a=e.headers,l=wx.request({url:(0,o.formatUrl)("https:",i),data:s,timeout:t._timeout,method:"POST",header:a,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{l.abort()}catch(n){}}}})})},t.prototype.upload=function(e){var t=this,n=this;return new Promise(function(r){return l(t,void 0,void 0,function(){var t,o,i,s,l,u;return c(this,function(c){return t=e.url,o=e.file,i=e.data,s=e.headers,l=e.onUploadProgress,u=wx.uploadFile({url:t,filePath:o,name:"file",formData:a({},i),header:s,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{u.abort()}catch(t){}}}}),l&&u.onProgressUpdate(function(e){l(e)}),[2]})})})},t.prototype.download=function(e){var t=this,n=this;return new Promise(function(r,i){var s=e.url,a=e.headers,l=wx.downloadFile({url:(0,o.formatUrl)("https:",s),header:a,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{l.abort()}catch(t){}}}})})},t.prototype.fetch=function(e){var t=e.url,n=e.body,r=e.enableAbort,s=e.headers,a=e.method,l=e.stream,c=void 0!==l&&l,d=e.signal,p=e.timeout,h=this,f=null!=p?p:this._timeout,m=null,g=new i.ReadableStream({start:function(e){m=e},cancel:function(){m=null}});return new Promise(function(e,i){c&&e({data:g});var l=wx.request({url:(0,o.formatUrl)("https:",t),data:n,timeout:f,method:a.toUpperCase(),header:s,success:function(t){var n;null===(n=m)||void 0===n||n.close(),!c&&e(t)},fail:function(e){var t;if(null===(t=m)||void 0===t||t.close(),i(e),c)throw e},complete:function(e){if(e&&e.errMsg&&f&&-1!==h._restrictedMethods.indexOf("post")&&r&&"request:fail timeout"===e.errMsg){console.warn(h._timeoutMsg);try{l.abort()}catch(t){console.warn(u,t)}}},enableChunked:c});if(l.onChunkReceived(function(e){var t;null===(t=m)||void 0===t||t.enqueue(new Uint8Array(e.data))}),d){var p=function(){try{l.abort()}catch(e){console.warn(u,e)}};d.aborted?p():d.addEventListener("abort",function(){return p()})}})},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(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:d,wsClass:h,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"]=f},1330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerCloudrun=function(e){try{e.registerComponent(d)}catch(t){console.warn(t)}},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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},a=r.constants.ERRORS,l="cloudrun";function c(e){return i(this,void 0,void 0,function(){var t,n,r,o,i,a,l,c,u;return s(this,function(s){switch(s.label){case 0:return t=e.name,n=e.data,r=e.path,o=void 0===r?"":r,i=e.method,a=e.header,l=void 0===a?{}:a,c="https://".concat(this.config.env,".api.tcloudbasegateway.com/v1/cloudrun/").concat(t),u=o.startsWith("/")?o:"/".concat(o),[4,this.request.fetch({method:i||"POST",headers:Object.assign({},{"Content-Type":"application/json; charset=utf-8"},l),body:n,url:"".concat(c).concat(u)})];case 1:return[4,s.sent().data];case 2:return[2,s.sent()]}})})}var u=new(function(){function e(){}return e.prototype.callContainer=function(e){return i(this,void 0,void 0,function(){var t,n,r;return s(this,function(i){switch(i.label){case 0:if(t=e.name,n=e.data,!t)throw new Error(JSON.stringify({code:a.INVALID_PARAMS,msg:"[".concat(l,".callContainer] invalid name")}));try{r=n?JSON.stringify(n):""}catch(s){throw new Error(JSON.stringify({code:a.INVALID_PARAMS,msg:"[".concat(l,".callContainer] invalid data")}))}return[4,c.call(this,o(o({},e),{data:r}))];case 1:return[2,i.sent()]}})})},e}()),d={name:l,entity:{callContainer:u.callContainer}};try{cloudbase.registerComponent(d)}catch(p){}},5293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerFunctions=function(e){try{e.registerComponent(_)}catch(t){console.warn(t)}};var r=n(3882),o=n(1330),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)},s=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(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},a=function(e,t){if("object"==typeof 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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},u=r.constants.getSdkName,d=r.constants.ERRORS,p=r.constants.COMMUNITY_SITE_URL,h=r.utils.execCallback,f=r.helpers.catchErrorsDecorator,m="functions",g=new(function(){function e(){}return e.prototype.callFunction=function(e,t){var n,s;return l(this,void 0,void 0,function(){var a,l,p,f,g,_,v,b,y,w,k,E,S,I,C,T,A,O,x;return c(this,function(c){switch(c.label){case 0:if(a=e.name,l=e.data,p=e.query,f=e.parse,g=e.search,_=e.type,v=e.path,b=void 0===v?"":v,y=e.method,w=e.header,k=void 0===w?{}:w,!a)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(m,".callFunction] invalid function name")}));try{E=l?JSON.stringify(l):""}catch(P){throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(m,".callFunction] invalid data")}))}return"cloudrun"!==_?[3,2]:(S=r.utils.generateRequestId(),[4,o.requestContainer.call(this,{name:a,data:E,path:b,method:y,header:i(i({},k),{"X-Request-Id":S})})]);case 1:return[2,{result:O=c.sent(),requestId:S}];case 2:I="functions.invokeFunction",C={inQuery:p,parse:f,search:g,function_name:a,request_data:E},T=this.request,c.label=3;case 3:return c.trys.push([3,5,,6]),[4,T.send(I,C,{defaultQuery:(null===(n=null==l?void 0:l.params)||void 0===n?void 0:n.action)?{action:null===(s=null==l?void 0:l.params)||void 0===s?void 0:s.action}:{}})];case 4:if((A=c.sent()).code)return[2,h(t,null,A)];if(O=A.data.response_data,f)return[2,h(t,null,{result:O,requestId:A.requestId})];try{return O=JSON.parse(A.data.response_data),[2,h(t,null,{result:O,requestId:A.requestId})]}catch(P){h(t,new Error("[".concat(u(),"][").concat(d.INVALID_PARAMS,"][").concat(m,".callFunction] response data must be json")))}return[3,6];case 5:return x=c.sent(),h(t,x),[3,6];case 6:return[2]}})})},s([f({customInfo:{className:"Cloudbase",methodName:"callFunction"},title:"函数调用失败",messages:["请确认以下各项:"," 1 - 调用 callFunction() 的语法或参数是否正确"," 2 - 当前环境下是否存在此函数"," 3 - 函数安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"callFunction",null),e}()),_={name:m,entity:{callFunction:g.callFunction}};try{cloudbase.registerComponent(_)}catch(v){}},9459:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(n(4283)),i=r(n(2622));o["default"].registerVersion(i["default"].version);try{window.cloudbase=o["default"]}catch(s){}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);t.registerAuth=r.registerAuth},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},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},3421:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.Auth=void 0;var o=n(4256),i=n(9502),s=n(8028),a=n(3721),l=r(n(3186));function c(e,t){const r=()=>{try{return n(5144)}catch(e){return}};try{if((t?.root?.globalThis||globalThis).IS_MP_BUILD)return;if(!process.env.IS_MP_BUILD&&e)return r()}catch(o){if(e)return r()}}class u{static parseParamsToSearch(e){return Object.keys(e).forEach(t=>{e[t]||delete e[t]}),new l["default"](e).toString()}constructor(e){let{request:t}=e,n=e.credentialsClient;if(!n){const t={apiOrigin:e.apiOrigin,apiPath:e.apiPath,clientId:e.clientId,storage:e.storage,env:e.env,baseRequest:e.baseRequest,anonymousSignInFunc:e.anonymousSignInFunc,wxCloud:e.wxCloud,onCredentialsError:e.onCredentialsError,headers:e.headers||{},i18n:e.i18n,publishable_key:e.publishable_key};n=new i.OAuth2Client(t)}if(!t){const r=n.request.bind(n),o=new s.Captcha({clientId:e.clientId,request:r,storage:e.storage,adapter:e.adapter,...e.captchaOptions});t=o.request.bind(o)}this.config={env:e.env,apiOrigin:e.apiOrigin,apiPath:e.apiPath,clientId:e.clientId,request:t,credentialsClient:n,storage:e.storage||i.defaultStorage,adapter:e.adapter}}getParamsByVersion(e,t){const n=(0,a.deepClone)(e),r={v2:o.ApiUrlsV2}[n?.version]?.[t]||o.ApiUrls[t];return n&&delete n.version,{params:n,url:r}}async signIn(e){const t=e.version||"v1",n=this.getParamsByVersion(e,"AUTH_SIGN_IN_URL");n.params.query&&delete n.params.query;const r=await this.getEncryptParams(n.params),o=await this.config.request(n.url,{method:"POST",body:r});return await this.config.credentialsClient.setCredentials({...o,version:t}),Promise.resolve(o)}async signInAnonymously(e={},t=!1){const n=await this.config.request(o.ApiUrls.AUTH_SIGN_IN_ANONYMOUSLY_URL,{method:"POST",body:e,useWxCloud:t});return await this.config.credentialsClient.setCredentials(n),Promise.resolve(n)}async signUp(e){const t=await this.config.request(o.ApiUrls.AUTH_SIGN_UP_URL,{method:"POST",body:e});return await this.config.credentialsClient.setCredentials(t),Promise.resolve(t)}async signOut(e){let t={};if(e){try{t=await this.config.request(o.ApiUrls.AUTH_SIGNOUT_URL,{method:"POST",withCredentials:!0,body:e})}catch(i){i.error!==o.ErrorType.UNAUTHENTICATED&&console.log("sign_out_error",i)}return await this.config.credentialsClient.setCredentials(),t}const n=await this.config.credentialsClient.getAccessToken(),r=await this.config.request(o.ApiUrls.AUTH_REVOKE_URL,{method:"POST",body:{token:n}});return await this.config.credentialsClient.setCredentials(),Promise.resolve(r)}async revokeAllDevices(){await this.config.request(o.ApiUrls.AUTH_REVOKE_ALL_URL,{method:"DELETE",withCredentials:!0})}async revokeDevice(e){await this.config.request(o.ApiUrls.AUTHORIZED_DEVICES_DELETE_URL+e.device_id,{method:"DELETE",withCredentials:!0})}async getVerification(e,t){let n=!1;return("CUR_USER"===e.target||await this.hasLoginState())&&(n=!0),this.config.request(o.ApiUrls.VERIFICATION_URL,{method:"POST",body:e,withCaptcha:t?.withCaptcha||!1,withCredentials:n})}async verify(e){const t=this.getParamsByVersion(e,"VERIFY_URL"),n=await this.config.request(t.url,{method:"POST",body:t.params});return"v2"===e?.version&&await this.config.credentialsClient.setCredentials({...n,version:"v2"}),n}async genProviderRedirectUri(e){const{provider_redirect_uri:t,other_params:n={},...r}=e;t&&!r.redirect_uri&&(r.redirect_uri=t);let i=`${o.ApiUrls.PROVIDER_URI_URL}?${u.parseParamsToSearch(r)}`;return Object.keys(n).forEach(e=>{const t=n[e];("sign_out_uri"!==e||t?.length>0)&&(i+=`&other_params[${e}]=${encodeURIComponent(t)}`)}),this.config.request(i,{method:"GET"})}async grantProviderToken(e,t=!1){return this.config.request(o.ApiUrls.PROVIDER_TOKEN_URL,{method:"POST",body:e,useWxCloud:t})}async patchProviderToken(e){return this.config.request(o.ApiUrls.PROVIDER_TOKEN_URL,{method:"PATCH",body:e})}async signInWithProvider(e,t=!1){const n=this.getParamsByVersion(e,"AUTH_SIGN_IN_WITH_PROVIDER_URL"),r=await this.config.request(n.url,{method:"POST",body:n.params,useWxCloud:t});return await this.config.credentialsClient.setCredentials({...r,version:e?.version||"v1"}),Promise.resolve(r)}async signInCustom(e){const t=await this.config.request(o.ApiUrls.AUTH_SIGN_IN_CUSTOM,{method:"POST",body:e});return await this.config.credentialsClient.setCredentials(t),Promise.resolve(t)}async signInWithWechat(e={}){const t=await this.config.request(o.ApiUrls.AUTH_SIGN_IN_WITH_WECHAT_URL,{method:"POST",body:e});return await this.config.credentialsClient.setCredentials(t),Promise.resolve(t)}async bindWithProvider(e){return this.config.request(o.ApiUrls.PROVIDER_BIND_URL,{method:"POST",body:e,withCredentials:!0})}async getUserProfile(e){return this.getUserInfo(e)}async getUserInfo(e={}){const t=this.getParamsByVersion(e,"USER_ME_URL");if(t.params?.query){const e=new l["default"](t.params.query);t.url+=`?${e.toString()}`}const n=await this.config.request(t.url,{method:"GET",withCredentials:!0});return n.sub&&(n.uid=n.sub),n}async getWedaUserInfo(){return await this.config.request(o.ApiUrls.WEDA_USER_URL,{method:"GET",withCredentials:!0})}async deleteMe(e){const t=this.getParamsByVersion(e,"USER_ME_URL"),n=`${t.url}?${u.parseParamsToSearch(t.params)}`;return this.config.request(n,{method:"DELETE",withCredentials:!0})}async hasLoginState(){try{return await this.config.credentialsClient.getAccessToken(),!0}catch(e){return!1}}hasLoginStateSync(){return this.config.credentialsClient.getCredentialsSync()}async getLoginState(){return this.config.credentialsClient.getCredentialsAsync()}async transByProvider(e){return this.config.request(o.ApiUrls.USER_TRANS_BY_PROVIDER_URL,{method:"PATCH",body:e,withCredentials:!0})}async grantToken(e){const t=this.getParamsByVersion(e,"AUTH_TOKEN_URL");return this.config.request(t.url,{method:"POST",body:t.params})}async getProviders(){return this.config.request(o.ApiUrls.PROVIDER_LIST,{method:"GET",withCredentials:!0})}async unbindProvider(e){return this.config.request(`${o.ApiUrls.PROVIDER_UNBIND_URL}/${e.provider_id}`,{method:"DELETE",withCredentials:!0})}async checkPassword(e){return this.config.request(`${o.ApiUrls.CHECK_PWD_URL}`,{method:"POST",withCredentials:!0,body:e})}async editContact(e){return this.config.request(`${o.ApiUrls.BIND_CONTACT_URL}`,{method:"PATCH",withCredentials:!0,body:e})}async setPassword(e){return this.config.request(`${o.ApiUrls.AUTH_SET_PASSWORD}`,{method:"PATCH",withCredentials:!0,body:e})}async updatePasswordByOld(e){const t=await this.sudo({password:e.old_password});return this.setPassword({sudo_token:t.sudo_token,new_password:e.new_password})}async sudo(e){return this.config.request(`${o.ApiUrls.SUDO_URL}`,{method:"POST",withCredentials:!0,body:e})}async sendVerificationCodeToCurrentUser(e){return e.target="CUR_USER",this.config.request(o.ApiUrls.VERIFICATION_URL,{method:"POST",body:e,withCredentials:!0,withCaptcha:!0})}async changeBoundProvider(e){return this.config.request(`${o.ApiUrls.PROVIDER_LIST}/${e.provider_id}/trans`,{method:"POST",body:{provider_trans_token:e.trans_token},withCredentials:!0})}async setUserProfile(e){return this.config.request(o.ApiUrls.USER_PRIFILE_URL,{method:"PATCH",body:e,withCredentials:!0})}async updateUserBasicInfo(e){return this.config.request(o.ApiUrls.USER_BASIC_EDIT_URL,{method:"POST",withCredentials:!0,body:e})}async queryUserProfile(e){const t=new l["default"](e);return this.config.request(`${o.ApiUrls.USER_QUERY_URL}?${t.toString()}`,{method:"GET",withCredentials:!0})}setCustomSignFunc(e){this.getCustomSignTicketFn=e}async signInWithCustomTicket(){const e=this.getCustomSignTicketFn;if(!e)return Promise.reject({error:"failed_precondition",error_description:"please use setCustomSignFunc to set custom sign function"});const t=await e();return this.signInCustom({provider_id:"custom",ticket:t})}async resetPassword(e){return this.config.request(o.ApiUrls.AUTH_RESET_PASSWORD,{method:"POST",body:e})}async authorize(e){return this.config.request(o.ApiUrls.AUTHORIZE_URL,{method:"POST",withCredentials:!0,body:e})}async authorizeDevice(e){return this.config.request(o.ApiUrls.AUTHORIZE_DEVICE_URL,{method:"POST",withCredentials:!0,body:e})}async deviceAuthorize(e){return this.config.request(o.ApiUrls.AUTH_GET_DEVICE_CODE,{method:"POST",body:e,withCredentials:!0})}async authorizeInfo(e){const t=`${o.ApiUrls.AUTHORIZE_INFO_URL}?${u.parseParamsToSearch(e)}`;let n=!0,r=!1;return await this.hasLoginState()&&(r=!0,n=!1),this.config.request(t,{method:"GET",withBasicAuth:n,withCredentials:r})}async checkUsername(e){return this.config.request(o.ApiUrls.CHECK_USERNAME,{method:"GET",body:e,withCredentials:!0})}async checkIfUserExist(e){const t=new l["default"](e);return this.config.request(`${o.ApiUrls.CHECK_IF_USER_EXIST}?${t.toString()}`,{method:"GET"})}async loginScope(){return this.config.credentialsClient.getScope()}async loginGroups(){return this.config.credentialsClient.getGroups()}async refreshTokenForce(e){const t=await this.config.credentialsClient.getCredentials();return await this.config.credentialsClient.refreshToken({...t,version:e?.version||"v1"})}async getCredentials(){return this.config.credentialsClient.getCredentials()}async getPublicKey(){return this.config.request(o.ApiUrlsV2.AUTH_PUBLIC_KEY,{method:"POST",body:{}})}async getEncryptParams(e){const{isEncrypt:t}=e;delete e.isEncrypt;const n=(0,a.deepClone)(e),r=c(t,this.config.adapter);if(!r)return e;let o="",i="";try{const e=await this.getPublicKey();if(o=e.public_key,i=e.public_key_thumbprint,!o||!i)throw e}catch(s){throw s}return{params:r.getEncryptInfo({publicKey:o,payload:n}),public_key_thumbprint:i}}async getProviderSubType(){return this.config.request(o.ApiUrls.GET_PROVIDER_TYPE,{method:"POST",body:{provider_id:"weda"}})}async verifyCaptchaData({token:e,key:t}){return this.config.request(o.ApiUrls.VERIFY_CAPTCHA_DATA_URL,{method:"POST",body:{token:e,key:t},withCredentials:!1})}async createCaptchaData({state:e,redirect_uri:t=undefined}){return this.config.request(o.ApiUrls.CAPTCHA_DATA_URL,{method:"POST",body:{state:e,redirect_uri:t},withCredentials:!1})}async getMiniProgramCode(e){return this.config.request(o.ApiUrls.GET_MINIPROGRAM_QRCODE,{method:"POST",body:e})}async getMiniProgramQrCodeStatus(e){return this.config.request(o.ApiUrls.GET_MINIPROGRAM_QRCODE_STATUS,{method:"POST",body:e})}async getUserBehaviorLog(e){const t=`${o.ApiUrls.GET_USER_BEHAVIOR_LOG}?${{LOGIN:"query[action]=USER_LOGIN",MODIFY:"ne_query[action]=USER_LOGIN"}[e.type]}&limit=${e.limit}${e.page_token?`&page_token=${e.page_token}`:""}`;return this.config.request(t,{method:"GET",withCredentials:!0})}async modifyPassword(e){let t="",n="";const r=c(!0,this.config.adapter);if(!r)throw new Error("do not support encrypt, a encrypt util required.");try{const e=await this.getPublicKey();if(t=e.public_key,n=e.public_key_thumbprint,!t||!n)throw e}catch(a){throw a}const i=e.password?r.getEncryptInfo({publicKey:t,payload:e.password}):"",s=r.getEncryptInfo({publicKey:t,payload:e.new_password});return this.config.request(o.ApiUrls.USER_BASIC_EDIT_URL,{method:"POST",withCredentials:!0,body:{user_id:e.user_id,encrypt_password:i,encrypt_new_password:s,public_key_thumbprint:n}})}async modifyPasswordWithoutLogin(e){let t="",n="";const r=c(!0,this.config.adapter);if(!r)throw new Error("do not support encrypt, a encrypt util required.");try{const e=await this.getPublicKey();if(t=e.public_key,n=e.public_key_thumbprint,!t||!n)throw e}catch(a){throw a}const i=e.password?r.getEncryptInfo({publicKey:t,payload:e.password}):"",s=r.getEncryptInfo({publicKey:t,payload:e.new_password});return this.config.request(o.ApiUrlsV2.AUTH_RESET_PASSWORD,{method:"POST",body:{username:e.username,password:i,new_password:s,public_key_thumbprint:n}})}}t.Auth=u},4256:function(e,t){"use strict";var n,r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t.VerificationUsages=t.ErrorType=t.ApiUrlsV2=t.ApiUrls=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"}(i||(t.ErrorType=i={}))},4622:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8028:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.Captcha=void 0;var o=n(4256),i=n(9502),s=n(6180),a=r(n(3186));t.Captcha=class{constructor(e){e.openURIWithCallback||(e.openURIWithCallback=this.getDefaultOpenURIWithCallback()),e.storage||(e.storage=i.defaultStorage),this.config=e,this.tokenSectionName=`captcha_${e.clientId}`}isMatch(){return this.config?.adapter?.isMatch?.()||(0,s.isMp)()}async request(e,t){t||(t={}),t.method||(t.method="GET");const n=`${t.method}:${e}`;let r,i=e;t.withCaptcha&&(i=await this.appendCaptchaTokenToURL(e,n,!1));try{r=await this.config.request(i,t)}catch(s){return s.error===o.ErrorType.CAPTCHA_REQUIRED||s.error===o.ErrorType.CAPTCHA_INVALID?(e=await this.appendCaptchaTokenToURL(e,n,s.error===o.ErrorType.CAPTCHA_INVALID),this.config.request(e,t)):Promise.reject(s)}return r}getDefaultOpenURIWithCallback(){if(!this.isMatch()&&!(0,s.isInMpWebView)()&&(window.location.search.indexOf("__captcha")>0&&(document.body.style.display="none"),null===document.getElementById("captcha_panel_wrap"))){const e=document.createElement("div");e.style.cssText="background-color: rgba(0, 0, 0, 0.7);position: fixed;left: 0px;right: 0px;top: 0px;bottom: 0px;padding: 9vw 0 0 0;display: none;z-index:100;",e.setAttribute("id","captcha_panel_wrap"),setTimeout(()=>{document.body.appendChild(e)},0)}return this.defaultOpenURIWithCallback}async defaultOpenURIWithCallback(e,t){const{width:n="355px",height:r="355px"}=t||{};if(e.match(/^(data:.*)$/))return Promise.reject({error:o.ErrorType.UNIMPLEMENTED,error_description:"need to impl captcha data"});const i=document.getElementById("captcha_panel_wrap"),s=document.createElement("iframe");return i.innerHTML="",s.setAttribute("src",e),s.setAttribute("id","review-panel-iframe"),s.style.cssText=`min-width:${n};display:block;height:${r};margin:0 auto;background-color: rgb(255, 255, 255);border: none;`,i.appendChild(s),i.style.display="block",new Promise((e,t)=>{s.onload=function(){try{const n=window.location,r=s.contentWindow.location;if(r.host+r.pathname===n.host+n.pathname){i.style.display="none";const n=new a["default"](r.search),o=n.get("captcha_token");return o?e({captcha_token:o,expires_in:Number(n.get("expires_in"))}):t({error:n.get("error"),error_description:n.get("error_description")})}i.style.display="block"}catch(n){i.style.display="block"}}})}async getCaptchaToken(e,t){if(!e){const e=await this.findCaptchaToken();if(e)return e}let n;if(this.isMatch()||(0,s.isInMpWebView)()){const e=await this.config.request(o.ApiUrls.CAPTCHA_DATA_URL,{method:"POST",body:{state:t,redirect_uri:""},withCredentials:!1});n={url:`${e.data}?state=${encodeURIComponent(t)}&token=${encodeURIComponent(e.token)}`}}else{const e=`${window.location.origin+window.location.pathname}?__captcha=on`;if(n=await this.config.request(o.ApiUrls.GET_CAPTCHA_URL,{method:"POST",body:{client_id:this.config.clientId,redirect_uri:e,state:t},withCredentials:!1}),n.captcha_token){const e={captcha_token:n.captcha_token,expires_in:n.expires_in};return this.saveCaptchaToken(e),n.captcha_token}}const r=await this.config.openURIWithCallback(n.url);return this.saveCaptchaToken(r),r.captcha_token}async appendCaptchaTokenToURL(e,t,n){const r=await this.getCaptchaToken(n,t);return e.indexOf("?")>0?e+=`&captcha_token=${r}`:e+=`?captcha_token=${r}`,e}async saveCaptchaToken(e){e.expires_at=new Date(Date.now()+1e3*(e.expires_in-10));const t=JSON.stringify(e);await this.config.storage.setItem(this.tokenSectionName,t)}async findCaptchaToken(){const e=await this.config.storage.getItem(this.tokenSectionName);if(e!==undefined&&null!==e)try{const t=JSON.parse(e);return t?.expires_at&&(t.expires_at=new Date(t.expires_at)),t.expires_at<new Date?null:t.captcha_token}catch(t){return await this.config.storage.removeItem(this.tokenSectionName),null}return null}}},2191:function(e,t,n){"use strict";var r=n(2032)["default"];Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AUTH_API_PREFIX",{enumerable:!0,get:function(){return s.AUTH_API_PREFIX}}),Object.defineProperty(t,"Auth",{enumerable:!0,get:function(){return i.Auth}}),t.authModels=t.CloudbaseOAuth=void 0;var o=n(9502),i=n(3421),s=n(4256),a=r(n(4622));t.authModels=a,t.CloudbaseOAuth=class{constructor(e){const{apiOrigin:t,apiPath:n=s.AUTH_API_PREFIX,clientId:r,env:a,storage:l,request:c,baseRequest:u,anonymousSignInFunc:d,wxCloud:p,adapter:h,onCredentialsError:f,headers:m,i18n:g,publishable_key:_}=e;this.oauth2client=new o.OAuth2Client({apiOrigin:t,apiPath:n,clientId:r,env:a,storage:l,baseRequest:u||c,anonymousSignInFunc:d,wxCloud:p,onCredentialsError:f,headers:m||{},i18n:g,publishable_key:_}),this.authApi=new i.Auth({credentialsClient:this.oauth2client,...e,request:c?this.oauth2client.request.bind(this.oauth2client):undefined,adapter:h})}}},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";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultStorage=t.defaultRequest=t.OAuth2Client=void 0,t.generateRequestId=m,t.toResponseError=void 0;var r=n(5354),o=n(4256),i=n(2430),s=n(3721),a=n(2984),l=n(2302),c=n(1435),u=n(3882);const d="x-request-id",p="x-device-id",h="device_id",f=async function(e,t){let n=null,o=null;try{const r=Object.assign({},t);r.method||(r.method="GET"),r.body&&"string"!=typeof r.body&&(r.body=JSON.stringify(r.body));const i=await fetch(e,r),s=await i.json();s?.error?(o=s,o.error_uri=new URL(e).pathname):n=s}catch(i){o={error:r.ErrorType.UNREACHABLE,error_description:i.message,error_uri:new URL(e).pathname}}if(o)throw o;return n};function m(){return(0,i.uuidv4)()}t.defaultRequest=f,t.toResponseError=(e,t)=>{let n;const o=t||{};if(e instanceof Error)n={error:o.error||r.ErrorType.LOCAL,error_description:o.error_description||e.message,error_uri:o.error_uri,details:o.details||e.stack};else{const t=e||{};n={error:o.error||t.error||r.ErrorType.LOCAL,error_description:o.error_description||t.error_description,error_uri:o.error_uri||t.error_uri,details:o.details||t.details}}return n};const g=t.defaultStorage=new class{constructor(e){this._env=e?.env||""}async getItem(e){return window.localStorage.getItem(`${e}${this._env}`)}async removeItem(e){window.localStorage.removeItem(`${e}${this._env}`)}async setItem(e,t){window.localStorage.setItem(`${e}${this._env}`,t)}getItemSync(e){return window.localStorage.getItem(`${e}${this._env}`)}removeItemSync(e){window.localStorage.removeItem(`${e}${this._env}`)}setItemSync(e,t){window.localStorage.setItem(`${e}${this._env}`,t)}};function _(e){let t=!0;return e?.expires_at&&e?.access_token&&(t=e.expires_at<new Date),t}class v{constructor(e){this.credentials=null,this.singlePromise=null,this.tokenSectionName=e.tokenSectionName,this.storage=e.storage,this.clientId=e.clientId,this.singlePromise=new a.SinglePromise({clientId:this.clientId}),this.credentials=e.credentials||null,this.credentials&&this.setCredentials(this.credentials)}getStorageCredentialsSync(){let e=null;const t=this.storage.getItemSync(this.tokenSectionName);if(t!==undefined&&null!==t)try{e=JSON.parse(t),e?.expires_at&&(e.expires_at=new Date(e.expires_at))}catch(n){this.storage.removeItem(this.tokenSectionName),e=null}return e}async setCredentials(e){if(e?.expires_in){if(e?.expires_at||(e.expires_at=new Date(Date.now()+1e3*(e.expires_in-30))),this.storage){const t=JSON.stringify(e);await this.storage.setItem(this.tokenSectionName,t)}this.credentials=e}else this.storage&&await this.storage.removeItem(this.tokenSectionName),this.credentials=null}async getCredentials(){return this.singlePromise.run("getCredentials",async()=>(_(this.credentials)&&(this.credentials=await this.getStorageCredentials()),this.credentials))}async getStorageCredentials(){return this.singlePromise.run("_getStorageCredentials",async()=>{let e=null;const t=await this.storage.getItem(this.tokenSectionName);if(t!==undefined&&null!==t)try{e=JSON.parse(t),e?.expires_at&&(e.expires_at=new Date(e.expires_at))}catch(n){await this.storage.removeItem(this.tokenSectionName),e=null}return e})}}class b{constructor(e){this.singlePromise=null,e.clientSecret||(e.clientSecret=""),!e.clientId&&e.env&&(e.clientId=e.env),this.apiOrigin=e.apiOrigin,this.apiPath=e.apiPath||o.AUTH_API_PREFIX,this.clientId=e.clientId,this.i18n=e.i18n,this.publishable_key=e.publishable_key,this.singlePromise=new a.SinglePromise({clientId:this.clientId}),this.retry=this.formatRetry(e.retry,b.defaultRetry),e.baseRequest?this.baseRequest=e.baseRequest:this.baseRequest=f,this.tokenInURL=e.tokenInURL,this.headers=e.headers,this.storage=e.storage||g,this.localCredentials=new v({tokenSectionName:`credentials_${e.clientId}`,storage:this.storage,clientId:e.clientId,credentials:this.publishable_key?{access_token:this.publishable_key,token_type:"Bearer",scope:"publishable_key",expires_at:new Date(+new Date+ +new Date),expires_in:+new Date+ +new Date}:null}),this.clientSecret=e.clientSecret,e.clientId&&(this.basicAuth=`Basic ${(0,l.weBtoa)(`${e.clientId}:${this.clientSecret}`)}`),this.wxCloud=e.wxCloud;try{(0,c.isMatch)()&&this.wxCloud===undefined&&e.env&&(wx.cloud.init({env:e.env}),this.wxCloud=wx.cloud)}catch(t){}this.refreshTokenFunc=e.refreshTokenFunc||this.defaultRefreshTokenFunc,this.anonymousSignInFunc=e.anonymousSignInFunc,this.onCredentialsError=e.onCredentialsError,u.langEvent.bus.on(u.langEvent.LANG_CHANGE_EVENT,e=>{this.i18n=e.data?.i18n||this.i18n})}setCredentials(e){return this.localCredentials.setCredentials(e)}async getAccessToken(){const e=await this.getCredentials();if(e?.access_token)return Promise.resolve(e.access_token);const t={error:r.ErrorType.UNAUTHENTICATED};return Promise.reject(t)}async request(e,t){t||(t={});const n=this.formatRetry(t.retry,this.retry);if(t.headers={...t.headers,[this.i18n?.LANG_HEADER_KEY]:this.i18n?.lang},this.headers&&(t.headers={...this.headers,...t.headers}),t.headers[d]||(t.headers[d]=m()),!t.headers[p]){const e=await this.getDeviceId();t.headers[p]=e}if(t?.withBasicAuth&&this.basicAuth&&(t.headers.Authorization=this.basicAuth),t?.withCredentials){const n=await this.getCredentials();n&&(this.tokenInURL?(e.indexOf("?")<0&&(e+="?"),e+=`access_token=${n.access_token}`):t.headers.Authorization=`${n.token_type} ${n.access_token}`)}else this.clientId&&e.indexOf("client_id")<0&&(e+=e.indexOf("?")<0?"?":"&",e+=`client_id=${this.clientId}`);e.startsWith("/")&&(e=`${this.apiOrigin}${this.apiPath}${e}`);let o=null;const i=n+1;for(let a=0;a<i;a++){try{o=t.useWxCloud?await this.wxCloudCallFunction(e,t):await this.baseRequest(e,t);break}catch(s){if(t.withCredentials&&s&&s.error===r.ErrorType.UNAUTHENTICATED)return await this.setCredentials(null),Promise.reject(s);if(a===n||!s||"unreachable"!==s.error)return Promise.reject(s)}await this.sleep(b.retryInterval)}return o}async wxCloudCallFunction(e,t){let n=null,o=null;try{let r="";try{r=await wx.getRendererUserAgent()}catch(i){}const{result:a}=await this.wxCloud.callFunction({name:"httpOverCallFunction",data:{url:e,method:t.method,headers:{origin:"https://servicewechat.com","User-Agent":r,...t.headers},body:t.body}});a?.body?.error_code?(o=a?.body,o.error_uri=(0,s.getPathName)(e)):n=a?.body}catch(i){o={error:r.ErrorType.UNREACHABLE,error_description:i.message,error_uri:(0,s.getPathName)(e)}}if(o)throw o;return n}async getCredentials(){let e=await this.localCredentials.getCredentials();if(!e){const e="credentials not found";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}if(_(e))if(e.refresh_token)try{e=await this.refreshToken(e)}catch(t){if("anonymous"!==e.scope)return this.onCredentialsError?.({msg:t.error_description}),Promise.reject(t);e=await this.anonymousLogin(e)}else{if("anonymous"!==e.scope){const e="no refresh token found in credentials";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}e=await this.anonymousLogin(e)}return e}getCredentialsSync(){return this.localCredentials.getStorageCredentialsSync()}getCredentialsAsync(){return this.getCredentials()}async getScope(){const e=await this.localCredentials.getCredentials();if(!e){const e="credentials not found";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}return e.scope}async getGroups(){const e=await this.localCredentials.getCredentials();if(!e){const e="credentials not found";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}return e.groups}async refreshToken(e){return this.singlePromise.run("_refreshToken",async()=>{if(!e||!e.refresh_token){const e="no refresh token found in credentials";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}try{const t=await this.refreshTokenFunc(e.refresh_token,e);return await this.localCredentials.setCredentials(t),t}catch(t){if(t.error===r.ErrorType.INVALID_GRANT){await this.localCredentials.setCredentials(null);const e=t.error_description;return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}return this.onCredentialsError?.({msg:t.error_description}),Promise.reject(t)}})}async anonymousLogin(e){return this.singlePromise.run("_anonymousLogin",async()=>{if(this.anonymousSignInFunc){const t=await this.anonymousSignInFunc(e);e=t||await this.localCredentials.getCredentials()}else e=await this.anonymousSignIn(e);return e})}checkRetry(e){let t=null;if(("number"!=typeof e||e<b.minRetry||e>b.maxRetry)&&(t={error:r.ErrorType.UNREACHABLE,error_description:"wrong options param: retry"}),t)throw t;return e}formatRetry(e,t){return void 0===e?t:this.checkRetry(e)}async sleep(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}async anonymousSignIn(e){return this.singlePromise.run("_anonymous",async()=>{if(!e||"anonymous"!==e.scope)return this.unAuthenticatedError("no anonymous in credentials");try{const e=await this.request(o.ApiUrls.AUTH_SIGN_IN_ANONYMOUSLY_URL,{method:"POST",withBasicAuth:!0,body:{}});return await this.localCredentials.setCredentials(e),e}catch(t){return t.error===r.ErrorType.INVALID_GRANT?(await this.localCredentials.setCredentials(null),this.unAuthenticatedError(t.error_description)):Promise.reject(t)}})}async defaultRefreshTokenFunc(e,t){if(e===undefined||""===e){const e="refresh token not found";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}let n=o.ApiUrls.AUTH_TOKEN_URL;return"v2"===t?.version&&(n=o.ApiUrlsV2.AUTH_TOKEN_URL),{...await this.request(n,{method:"POST",body:{client_id:this.clientId,client_secret:this.clientSecret,grant_type:"refresh_token",refresh_token:e}}),version:t?.version||"v1"}}async getDeviceId(){if(this.deviceID)return this.deviceID;let e=await this.storage.getItem(h);return"string"==typeof e&&e.length>=16&&e.length<=48||(e=(0,i.uuidv4)(),await this.storage.setItem(h,e)),this.deviceID=e,e}unAuthenticatedError(e){const t={error:r.ErrorType.UNAUTHENTICATED,error_description:e};return Promise.reject(t)}}t.OAuth2Client=b,b.defaultRetry=2,b.minRetry=0,b.maxRetry=5,b.retryInterval=1e3},2302:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64_url_decode=i,t.weAtob=void 0,t.weBtoa=function(e){let t,r,o,i;e=String(e);let s="",a=0;const l=e.length%3;for(;a<e.length;){if((r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>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,s+=n.charAt(t>>18&63)+n.charAt(t>>12&63)+n.charAt(t>>6&63)+n.charAt(63&t)}return l?s.slice(0,l-3)+"===".substring(l):s},t.weappJwtDecode=function(e,t){if("string"!=typeof e)throw new Error("Invalid token specified");const n=!0===(t=t||{}).header?0:1;try{return JSON.parse(i(e.split(".")[n]))}catch(r){throw new Error(`Invalid token specified: ${r}`?r.message:"")}};const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/,o=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.");let t;e+="==".slice(2-(3&e.length));let o,i,s="",a=0;for(;a<e.length;)t=n.indexOf(e.charAt(a++))<<18|n.indexOf(e.charAt(a++))<<12|(o=n.indexOf(e.charAt(a++)))<<6|(i=n.indexOf(e.charAt(a++))),s+=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 s};function i(e){let 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,e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t=`0${t}`),`%${t}`}))}(t)}catch(n){return o(t)}}t.weAtob=o},1435:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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}},5144:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getEncryptInfo=void 0;var o=r(n(7869)),i=n(3721);t.getEncryptInfo=({publicKey:e="",payload:t={}}={})=>{if(!e)return"";try{const n=(0,i.deepClone)(t),r=new o["default"];return r.setPublicKey(e),r.encryptLong("object"==typeof n?JSON.stringify(n):n)}catch(n){console.error("encrypt error:",n)}return""}},7869:function(e,t){"use strict";let n;if(Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0,!globalThis.IS_MP_BUILD){const T="undefined"!=typeof globalThis?globalThis.navigator:window.globalThis;function A(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function O(e,t){return e&t}function x(e,t){return e|t}function P(e,t){return e^t}function M(e,t){return e&~t}function N(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}function R(e){for(var t=0;0!=e;)e&=e-1,++t;return t}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function L(e){var t,n,o="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),o+=r.charAt(n>>6)+r.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),o+=r.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),o+=r.charAt(n>>2)+r.charAt((3&n)<<4));(3&o.length)>0;)o+="=";return o}function D(e){var t,n="",o=0,i=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var s=r.indexOf(e.charAt(t));s<0||(0==o?(n+=A(s>>2),i=3&s,o=1):1==o?(n+=A(i<<2|s>>4),i=15&s,o=2):2==o?(n+=A(i),n+=A(s>>2),i=3&s,o=3):(n+=A(i<<2|s>>4),n+=A(15&s),o=0))}return 1==o&&(n+=A(i<<2)),n}var o,i,s={decode:function(e){var t;if(o===undefined){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(o={},t=0;t<16;++t)o[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)o[n.charAt(t)]=t;for(t=0;t<8;++t)o[r.charAt(t)]=-1}var i=[],s=0,a=0;for(t=0;t<e.length;++t){var l=e.charAt(t);if("="==l)break;if(-1!=(l=o[l])){if(l===undefined)throw new Error("Illegal character at offset "+t);s|=l,++a>=2?(i[i.length]=s,s=0,a=0):s<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},a={decode:function(e){var t;if(i===undefined){var n="= \f\n\r\t \u2028\u2029";for(i=Object.create(null),t=0;t<64;++t)i["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(t=0;t<9;++t)i[n.charAt(t)]=-1}var r=[],o=0,s=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if("="==a)break;if(-1!=(a=i[a])){if(a===undefined)throw new Error("Illegal character at offset "+t);o|=a,++s>=4?(r[r.length]=o>>16,r[r.length]=o>>8&255,r[r.length]=255&o,o=0,s=0):o<<=6}}switch(s){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=a.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 a.decode(e)}},l=1e13;class ${constructor(e){this.buf=[+e||0]}mulAdd(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)}sub(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()}toString(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}valueOf(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*l+e[n];return t}simplify(){var e=this.buf;return 1==e.length?e[0]:this}}var c,u=/^(\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)?)?$/,d=/^(\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)?)?$/;function U(e,t){return e.length>t&&(e=e.substring(0,t)+"…"),e}class j{constructor(e,t){this.hexDigits="0123456789ABCDEF",e instanceof j?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=t)}get(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]}hexByte(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)}hexDump(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}isASCII(e,t){for(var n=e;n<t;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0}parseStringISO(e,t){for(var n="",r=e;r<t;++r)n+=String.fromCharCode(this.get(r));return n}parseStringUTF(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}parseStringBMP(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}parseTime(e,t,n){var r=this.parseStringISO(e,t),o=(n?u:d).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}parseInteger(e,t){for(var n,r=this.get(e),o=r>127,i=o?255:0,s="";r==i&&++e<t;)r=this.get(e);if(0===(n=t-e))return o?-1:0;if(n>4){for(s=r,n<<=3;!(128&(+s^i));)s=+s<<1,--n;s="("+n+" bit)\n"}o&&(r-=256);for(var a=new $(r),l=e+1;l<t;++l)a.mulAdd(256,this.get(l));return s+a.toString()}parseBitString(e,t,n){for(var r=this.get(e),o="("+((t-e-1<<3)-r)+" bit)\n",i="",s=e+1;s<t;++s){for(var a=this.get(s),l=s==t-1?r:0,c=7;c>=l;--c)i+=a>>c&1?"1":"0";if(i.length>n)return o+U(i,n)}return o+i}parseOctetString(e,t,n){if(this.isASCII(e,t))return U(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+="…"),o}parseOID(e,t,n){for(var r="",o=new $,i=0,s=e;s<t;++s){var a=this.get(s);if(o.mulAdd(128,127&a),i+=7,!(128&a)){if(""===r)if((o=o.simplify())instanceof $)o.sub(80),r="2."+o.toString();else{var l=o<80?o<40?0:1:2;r=l+"."+(o-40*l)}else r+="."+o.toString();if(r.length>n)return U(r,n);o=new $,i=0}}return i>0&&(r+=".incomplete"),r}}class F{constructor(e,t,n,r,o){if(!(r instanceof G))throw new Error("Invalid tag value.");this.stream=e,this.header=t,this.length=n,this.tag=r,this.sub=o}typeName(){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()}}content(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 U(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return U(this.stream.parseStringISO(t,t+n),e);case 30:return U(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null}toString(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"}toPrettyString(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}posStart(){return this.stream.pos}posContent(){return this.stream.pos+this.header}posEnd(){return this.stream.pos+this.header+Math.abs(this.length)}toHexString(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)}static decodeLength(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}getHexStringValue(){var e=this.toHexString(),t=2*this.header,n=2*this.length;return e.substr(t,n)}static decode(e){var t;t=e instanceof j?e:new j(e,0);var n=new j(t),r=new G(t),o=F.decodeLength(t),i=t.pos,s=i-n.pos,a=null,l=function(){var e=[];if(null!==o){for(var n=i+o;t.pos<n;)e[e.length]=F.decode(t);if(t.pos!=n)throw new Error("Content size is not correct for container starting at offset "+i)}else try{for(;;){var r=F.decode(t);if(r.tag.isEOC())break;e[e.length]=r}o=i-t.pos}catch(s){throw new Error("Exception while decoding undefined length content: "+s)}return e};if(r.tagConstructed)a=l();else if(r.isUniversal()&&(3==r.tagNumber||4==r.tagNumber))try{if(3==r.tagNumber&&0!=t.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");a=l();for(var c=0;c<a.length;++c)if(a[c].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(u){a=null}if(null===a){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+i);t.pos=i+Math.abs(o)}return new F(n,s,o,r,a)}}class G{constructor(e){var t=e.get();if(this.tagClass=t>>6,this.tagConstructed=!!(32&t),this.tagNumber=31&t,31==this.tagNumber){var n=new $;do{t=e.get(),n.mulAdd(128,127&t)}while(128&t);this.tagNumber=n.simplify()}}isUniversal(){return 0===this.tagClass}isEOC(){return 0===this.tagClass&&0===this.tagNumber}}var p=[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],h=(1<<26)/p[p.length-1];class q{constructor(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}toString(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="",s=this.t,a=this.DB-s*this.DB%t;if(s-- >0)for(a<this.DB&&(n=this[s]>>a)>0&&(o=!0,i=A(n));s>=0;)a<t?(n=(this[s]&(1<<a)-1)<<t-a,n|=this[--s]>>(a+=this.DB-t)):(n=this[s]>>(a-=t)&r,a<=0&&(a+=this.DB,--s)),n>0&&(o=!0),o&&(i+=A(n));return o?i:"0"}negate(){var e=z();return q.ZERO.subTo(this,e),e}abs(){return this.s<0?this.negate():this}compareTo(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}bitLength(){return this.t<=0?0:this.DB*(this.t-1)+X(this[this.t-1]^this.s&this.DM)}mod(e){var t=z();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(q.ZERO)>0&&e.subTo(t,t),t}modPowInt(e,t){var n;return n=e<256||t.isEven()?new m(t):new g(t),this.exp(e,n)}clone(){var e=z();return this.copyTo(e),e}intValue(){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]}byteValue(){return 0==this.t?this.s:this[0]<<24>>24}shortValue(){return 0==this.t?this.s:this[0]<<16>>16}signum(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}toByteArray(){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}equals(e){return 0==this.compareTo(e)}min(e){return this.compareTo(e)<0?this:e}max(e){return this.compareTo(e)>0?this:e}and(e){var t=z();return this.bitwiseTo(e,O,t),t}or(e){var t=z();return this.bitwiseTo(e,x,t),t}xor(e){var t=z();return this.bitwiseTo(e,P,t),t}andNot(e){var t=z();return this.bitwiseTo(e,M,t),t}not(){for(var e=z(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}shiftLeft(e){var t=z();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}shiftRight(e){var t=z();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}getLowestSetBit(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+N(this[e]);return this.s<0?this.t*this.DB:-1}bitCount(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=R(this[n]^t);return e}testBit(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:!!(this[t]&1<<e%this.DB)}setBit(e){return this.changeBit(e,x)}clearBit(e){return this.changeBit(e,M)}flipBit(e){return this.changeBit(e,P)}add(e){var t=z();return this.addTo(e,t),t}subtract(e){var t=z();return this.subTo(e,t),t}multiply(e){var t=z();return this.multiplyTo(e,t),t}divide(e){var t=z();return this.divRemTo(e,t,null),t}remainder(e){var t=z();return this.divRemTo(e,null,t),t}divideAndRemainder(e){var t=z(),n=z();return this.divRemTo(e,t,n),[t,n]}modPow(e,t){var n,r,o=e.bitLength(),i=Q(1);if(o<=0)return i;n=o<18?1:o<48?3:o<144?4:o<768?5:6,r=o<8?new m(t):t.isEven()?new _(t):new g(t);var s=[],a=3,l=n-1,c=(1<<n)-1;if(s[1]=r.convert(this),n>1){var u=z();for(r.sqrTo(s[1],u);a<=c;)s[a]=z(),r.mulTo(u,s[a-2],s[a]),a+=2}var d,p,h=e.t-1,f=!0,v=z();for(o=X(e[h])-1;h>=0;){for(o>=l?d=e[h]>>o-l&c:(d=(e[h]&(1<<o+1)-1)<<l-o,h>0&&(d|=e[h-1]>>this.DB+o-l)),a=n;!(1&d);)d>>=1,--a;if((o-=a)<0&&(o+=this.DB,--h),f)s[d].copyTo(i),f=!1;else{for(;a>1;)r.sqrTo(i,v),r.sqrTo(v,i),a-=2;a>0?r.sqrTo(i,v):(p=i,i=v,v=p),r.mulTo(v,s[d],i)}for(;h>=0&&!(e[h]&1<<o);)r.sqrTo(i,v),p=i,i=v,v=p,--o<0&&(o=this.DB-1,--h)}return r.revert(i)}modInverse(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return q.ZERO;for(var n=e.clone(),r=this.clone(),o=Q(1),i=Q(0),s=Q(0),a=Q(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),t?(o.isEven()&&i.isEven()||(o.addTo(this,o),i.subTo(e,i)),o.rShiftTo(1,o)):i.isEven()||i.subTo(e,i),i.rShiftTo(1,i);for(;r.isEven();)r.rShiftTo(1,r),t?(s.isEven()&&a.isEven()||(s.addTo(this,s),a.subTo(e,a)),s.rShiftTo(1,s)):a.isEven()||a.subTo(e,a),a.rShiftTo(1,a);n.compareTo(r)>=0?(n.subTo(r,n),t&&o.subTo(s,o),i.subTo(a,i)):(r.subTo(n,r),t&&s.subTo(o,s),a.subTo(i,a))}return 0!=r.compareTo(q.ONE)?q.ZERO:a.compareTo(e)>=0?a.subtract(e):a.signum()<0?(a.addTo(e,a),a.signum()<0?a.add(e):a):a}pow(e){return this.exp(e,new f)}gcd(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}isProbablePrime(e){var t,n=this.abs();if(1==n.t&&n[0]<=p[p.length-1]){for(t=0;t<p.length;++t)if(n[0]==p[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<p.length;){for(var r=p[t],o=t+1;o<p.length&&r<h;)r*=p[o++];for(r=n.modInt(r);t<o;)if(r%p[t++]==0)return!1}return n.millerRabin(e)}copyTo(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}fromInt(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}fromString(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var r=e.length,o=!1,i=0;--r>=0;){var s=8==n?255&+e[r]:K(e,r);s<0?"-"==e.charAt(r)&&(o=!0):(o=!1,0==i?this[this.t++]=s:i+n>this.DB?(this[this.t-1]|=(s&(1<<this.DB-i)-1)<<i,this[this.t++]=s>>this.DB-i):this[this.t-1]|=s<<i,(i+=n)>=this.DB&&(i-=this.DB))}8==n&&128&+e[0]&&(this.s=-1,i>0&&(this[this.t-1]|=(1<<this.DB-i)-1<<i)),this.clamp(),o&&q.ZERO.subTo(this,this)}clamp(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}dlShiftTo(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}drShiftTo(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}lShiftTo(e,t){for(var n=e%this.DB,r=this.DB-n,o=(1<<r)-1,i=Math.floor(e/this.DB),s=this.s<<n&this.DM,a=this.t-1;a>=0;--a)t[a+i+1]=this[a]>>r|s,s=(this[a]&o)<<n;for(a=i-1;a>=0;--a)t[a]=0;t[i]=s,t.t=this.t+i+1,t.s=this.s,t.clamp()}rShiftTo(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 s=n+1;s<this.t;++s)t[s-n-1]|=(this[s]&i)<<o,t[s-n]=this[s]>>r;r>0&&(t[this.t-n-1]|=(this.s&i)<<o),t.t=this.t-n,t.clamp()}}subTo(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()}multiplyTo(e,t){var n=this.abs(),r=e.abs(),o=n.t;for(t.t=o+r.t;--o>=0;)t[o]=0;for(o=0;o<r.t;++o)t[o+n.t]=n.am(0,r[o],t,o,0,n.t);t.s=0,t.clamp(),this.s!=e.s&&q.ZERO.subTo(t,t)}squareTo(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()}divRemTo(e,t,n){var r=e.abs();if(!(r.t<=0)){var o=this.abs();if(o.t<r.t)return null!=t&&t.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=z());var i=z(),s=this.s,a=e.s,l=this.DB-X(r[r.t-1]);l>0?(r.lShiftTo(l,i),o.lShiftTo(l,n)):(r.copyTo(i),o.copyTo(n));var c=i.t,u=i[c-1];if(0!=u){var d=u*(1<<this.F1)+(c>1?i[c-2]>>this.F2:0),p=this.FV/d,h=(1<<this.F1)/d,f=1<<this.F2,m=n.t,g=m-c,_=null==t?z():t;for(i.dlShiftTo(g,_),n.compareTo(_)>=0&&(n[n.t++]=1,n.subTo(_,n)),q.ONE.dlShiftTo(c,_),_.subTo(i,i);i.t<c;)i[i.t++]=0;for(;--g>=0;){var v=n[--m]==u?this.DM:Math.floor(n[m]*p+(n[m-1]+f)*h);if((n[m]+=i.am(0,v,n,g,0,c))<v)for(i.dlShiftTo(g,_),n.subTo(_,n);n[m]<--v;)n.subTo(_,n)}null!=t&&(n.drShiftTo(c,t),s!=a&&q.ZERO.subTo(t,t)),n.t=c,n.clamp(),l>0&&n.rShiftTo(l,n),s<0&&q.ZERO.subTo(n,n)}}}invDigit(){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}isEven(){return 0==(this.t>0?1&this[0]:this.s)}exp(e,t){if(e>4294967295||e<1)return q.ONE;var n=z(),r=z(),o=t.convert(this),i=X(e)-1;for(o.copyTo(n);--i>=0;)if(t.sqrTo(n,r),(e&1<<i)>0)t.mulTo(r,o,n);else{var s=n;n=r,r=s}return t.revert(n)}chunkSize(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}toRadix(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=Q(n),o=z(),i=z(),s="";for(this.divRemTo(r,o,i);o.signum()>0;)s=(n+i.intValue()).toString(e).substr(1)+s,o.divRemTo(r,o,i);return i.intValue().toString(e)+s}fromRadix(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),r=Math.pow(t,n),o=!1,i=0,s=0,a=0;a<e.length;++a){var l=K(e,a);l<0?"-"==e.charAt(a)&&0==this.signum()&&(o=!0):(s=t*s+l,++i>=n&&(this.dMultiply(r),this.dAddOffset(s,0),i=0,s=0))}i>0&&(this.dMultiply(Math.pow(t,i)),this.dAddOffset(s,0)),o&&q.ZERO.subTo(this,this)}fromNumber(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(q.ONE.shiftLeft(e-1),x,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(q.ONE.shiftLeft(e-1),this);else{var r=[],o=7&e;r.length=1+(e>>3),t.nextBytes(r),o>0?r[0]&=(1<<o)-1:r[0]=0,this.fromString(r,256)}}bitwiseTo(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()}changeBit(e,t){var n=q.ONE.shiftLeft(e);return this.bitwiseTo(n,t,n),n}addTo(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()}dMultiply(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}dAddOffset(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]}}multiplyLowerTo(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()}multiplyUpperTo(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)}modInt(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}millerRabin(e){var t=this.subtract(q.ONE),n=t.getLowestSetBit();if(n<=0)return!1;var r=t.shiftRight(n);(e=e+1>>1)>p.length&&(e=p.length);for(var o=z(),i=0;i<e;++i){o.fromInt(p[Math.floor(Math.random()*p.length)]);var s=o.modPow(r,this);if(0!=s.compareTo(q.ONE)&&0!=s.compareTo(t)){for(var a=1;a++<n&&0!=s.compareTo(t);)if(0==(s=s.modPowInt(2,this)).compareTo(q.ONE))return!1;if(0!=s.compareTo(t))return!1}}return!0}square(){var e=z();return this.squareTo(e),e}gcda(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(),s=r.getLowestSetBit();if(s<0)t(n);else{i<s&&(s=i),s>0&&(n.rShiftTo(s,n),r.rShiftTo(s,r));var a=()=>{(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(a,0):(s>0&&r.lShiftTo(s,r),setTimeout(function(){t(r)},0))};setTimeout(a,10)}}fromNumberAsync(e,t,n,r){if("number"==typeof t)if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(q.ONE.shiftLeft(e-1),x,this),this.isEven()&&this.dAddOffset(1,0);var o=this,i=function(){o.dAddOffset(2,0),o.bitLength()>e&&o.subTo(q.ONE.shiftLeft(e-1),o),o.isProbablePrime(t)?setTimeout(function(){r()},0):setTimeout(i,0)};setTimeout(i,0)}else{var s=[],a=7&e;s.length=1+(e>>3),t.nextBytes(s),a>0?s[0]&=(1<<a)-1:s[0]=0,this.fromString(s,256)}}}var f=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}(),m=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}(),g=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=z();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(q.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=z();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}(),_=function(){function e(e){this.m=e,this.r2=z(),this.q3=z(),q.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=z();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}();function z(){return new q(null)}function B(e,t){return new q(e,t)}function H(e,t,n,r,o,i){for(;--i>=0;){var s=t*this[e++]+n[r]+o;o=Math.floor(s/67108864),n[r++]=67108863&s}return o}function W(e,t,n,r,o,i){for(var s=32767&t,a=t>>15;--i>=0;){var l=32767&this[e],c=this[e++]>>15,u=a*l+c*s;o=((l=s*l+((32767&u)<<15)+n[r]+(1073741823&o))>>>30)+(u>>>15)+a*c+(o>>>30),n[r++]=1073741823&l}return o}function V(e,t,n,r,o,i){for(var s=16383&t,a=t>>14;--i>=0;){var l=16383&this[e],c=this[e++]>>14,u=a*l+c*s;o=((l=s*l+((16383&u)<<14)+n[r]+o)>>28)+(u>>14)+a*c,n[r++]=268435455&l}return o}void 0!==T&&"Microsoft Internet Explorer"==T?.appName?(q.prototype.am=W,c=30):"Netscape"!=T?.appName?(q.prototype.am=H,c=26):(q.prototype.am=V,c=28),q.prototype.DB=c,q.prototype.DM=(1<<c)-1,q.prototype.DV=1<<c,q.prototype.FV=Math.pow(2,52),q.prototype.F1=52-c,q.prototype.F2=2*c-52;var v,b,y=[];for(v="0".charCodeAt(0),b=0;b<=9;++b)y[v++]=b;for(v="a".charCodeAt(0),b=10;b<36;++b)y[v++]=b;for(v="A".charCodeAt(0),b=10;b<36;++b)y[v++]=b;function K(e,t){var n=y[e.charCodeAt(t)];return null==n?-1:n}function Q(e){var t=z();return t.fromInt(e),t}function X(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}q.ZERO=Q(0),q.ONE=Q(1);class Y{constructor(){this.i=0,this.j=0,this.S=[]}init(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}next(){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]}}var w,k,E=null;if(null==E){E=[],k=0;var S=void 0;if(window?.crypto&&window?.crypto.getRandomValues){var I=new Uint32Array(256);for(window?.crypto.getRandomValues(I),S=0;S<I.length;++S)E[k++]=255&I[S]}var C=function(e){if(this.count=this.count||0,this.count>=256||k>=256)window?.removeEventListener?window?.removeEventListener("mousemove",C,!1):window?.detachEvent&&window?.detachEvent("onmousemove",C);else try{var t=e.x+e.y;E[k++]=255&t,this.count+=1}catch(n){}};window?.addEventListener?window?.addEventListener("mousemove",C,!1):window?.attachEvent&&window?.attachEvent("onmousemove",C)}function J(){if(null==w){for(w=new Y;k<256;){var e=Math.floor(65536*Math.random());E[k++]=255&e}for(w.init(E),k=0;k<E.length;++k)E[k]=0;k=0}return w.next()}class Z{constructor(){}nextBytes(e){for(var t=0;t<e.length;++t)e[t]=J()}}function ee(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 Z,s=[];t>2;){for(s[0]=0;0==s[0];)i.nextBytes(s);n[--t]=s[0]}return n[--t]=2,n[--t]=0,new q(n)}class te{constructor(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}doPublic(e){return e.modPowInt(this.e,this.n)}doPrivate(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)}setPublic(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=B(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")}encrypt(e){var t=ee(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}encryptLong(e){var t=this,n=(this.n.bitLength()+7>>3)-11;try{var r="";return e.length>n?(e.match(/.{1,117}/g).forEach(function(e){var n=t.encrypt(e);r+=n}),L(r)):L(this.encrypt(e))}catch(o){return!1}}decryptLong(e){var t=this,n=this.n.bitLength()+7>>3;e=D(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}}setPrivate(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=B(e,16),this.e=parseInt(t,16),this.d=B(n,16)):console.error("Invalid RSA private key")}setPrivateEx(e,t,n,r,o,i,s,a){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=B(e,16),this.e=parseInt(t,16),this.d=B(n,16),this.p=B(r,16),this.q=B(o,16),this.dmp1=B(i,16),this.dmq1=B(s,16),this.coeff=B(a,16)):console.error("Invalid RSA private key")}generate(e,t){var n=new Z,r=e>>1;this.e=parseInt(t,16);for(var o=new q(t,16);;){for(;this.p=new q(e-r,1,n),0!=this.p.subtract(q.ONE).gcd(o).compareTo(q.ONE)||!this.p.isProbablePrime(10););for(;this.q=new q(r,1,n),0!=this.q.subtract(q.ONE).gcd(o).compareTo(q.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var i=this.p;this.p=this.q,this.q=i}var s=this.p.subtract(q.ONE),a=this.q.subtract(q.ONE),l=s.multiply(a);if(0==l.gcd(o).compareTo(q.ONE)){this.n=this.p.multiply(this.q),this.d=o.modInverse(l),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}}decrypt(e){var t=B(e,16),n=this.doPrivate(t);return null==n?null:ne(n,this.n.bitLength()+7>>3)}generateAsync(e,t,n){var r=new Z,o=e>>1;this.e=parseInt(t,16);var i=new q(t,16),s=this,a=()=>{var t=()=>{if(s.p.compareTo(s.q)<=0){var e=s.p;s.p=s.q,s.q=e}var t=s.p.subtract(q.ONE),r=s.q.subtract(q.ONE),o=t.multiply(r);0==o.gcd(i).compareTo(q.ONE)?(s.n=s.p.multiply(s.q),s.d=i.modInverse(o),s.dmp1=s.d.mod(t),s.dmq1=s.d.mod(r),s.coeff=s.q.modInverse(s.p),setTimeout(function(){n()},0)):setTimeout(a,0)},l=()=>{s.q=z(),s.q.fromNumberAsync(o,1,r,function(){s.q.subtract(q.ONE).gcda(i,function(e){0==e.compareTo(q.ONE)&&s.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(l,0)})})},c=()=>{s.p=z(),s.p.fromNumberAsync(e-o,1,r,function(){s.p.subtract(q.ONE).gcda(i,function(e){0==e.compareTo(q.ONE)&&s.p.isProbablePrime(10)?setTimeout(l,0):setTimeout(c,0)})})};setTimeout(c,0)};setTimeout(a,0)}}function ne(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}class re extends te{constructor(e=""){super(),e&&("string"==typeof e?this.parseKey(e):(this.hasPrivateKeyProperty(e)||this.hasPublicKeyProperty(e))&&this.parsePropertiesFrom(e))}parseKey(e){try{var t=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e)?s.decode(e):a.unarmor(e),o=F.decode(r);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=B(t,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var i=o.sub[3].getHexStringValue();this.d=B(i,16);var l=o.sub[4].getHexStringValue();this.p=B(l,16);var c=o.sub[5].getHexStringValue();this.q=B(c,16);var u=o.sub[6].getHexStringValue();this.dmp1=B(u,16);var d=o.sub[7].getHexStringValue();this.dmq1=B(d,16);var p=o.sub[8].getHexStringValue();this.coeff=B(p,16)}else{if(2!==o.sub.length)return!1;var h=o.sub[1].sub[0];t=h.sub[0].getHexStringValue(),this.n=B(t,16),n=h.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(f){return!1}}hasPublicKeyProperty(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")}hasPrivateKeyProperty(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")}parsePropertiesFrom(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=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},n.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new re(e)},n.prototype.setPrivateKey=function(e){this.setKey(e)},n.prototype.setPublicKey=function(e){this.setKey(e)},n.prototype.decrypt=function(e){try{return this.getKey().decrypt(D(e))}catch(t){return!1}},n.prototype.encrypt=function(e){try{return L(this.getKey().encrypt(e))}catch(t){return!1}},n.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}},n.prototype.getKey=function(e){if(!this.key){if(this.key=new re,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},n.version="3.1.4"}t["default"]=n},2984:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SinglePromise=void 0;let n=new Map;t.SinglePromise=class{constructor(e){this.clientId=e?.clientId||"",n=n||new Map}async run(e,t){e=`${this.clientId}_${e}`;let r=n.get(e);return r||(r=new Promise((r,o)=>{(async()=>{try{await this.runIdlePromise();const e=t();r(await e)}catch(i){o(i)}finally{n["delete"](e)}})()}),n.set(e,r)),r}runIdlePromise(){return Promise.resolve()}}},3721:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathName=t.deepClone=void 0;const n=e=>{const t=t=>{for(const 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.deepClone=n,t.getPathName=e=>{const t=e.match(/^(?:http(s)?:\/\/[^\/]+)?(\/[^\?#]*)/);return t&&t[2]||""}},6180:function(e,t){"use strict";function n(){if("undefined"==typeof globalThis)return!1;const{wx:e}=globalThis;if(void 0===e)return!1;if(globalThis.Page===undefined)return!1;if(!e.getSystemInfoSync)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.getSystemInfoSync())return!1;if("qq"===e.getSystemInfoSync().AppPlatform)return!1}catch(t){return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.isInMpWebView=function(){return r},t.isMp=n;let r=!1;function o(){r=r||typeof window!==undefined&&"miniprogram"===window.__wxjs_environment}try{n()||(r=r||!!navigator.userAgent.match(/miniprogram/i)||"miniprogram"===window.__wxjs_environment,window&&window.WeixinJSBridge&&window.WeixinJSBridge.invoke?o():"undefined"!=typeof document&&document.addEventListener("WeixinJSBridgeReady",o,!1))}catch(i){}},3186:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0,t["default"]=class{constructor(e){if(this.params={},"string"==typeof e)this.parse(e);else if(e&&"object"==typeof e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.append(t,e[t])}parse(e){e.split("&").forEach(e=>{const[t,n]=e.split("=").map(decodeURIComponent);this.append(t,n)})}append(e,t){this.params[e]?this.params[e]=this.params[e].concat([t]):this.params[e]=[t]}get(e){return this.params[e]?this.params[e][0]:null}getAll(e){return this.params[e]||[]}"delete"(e){delete this.params[e]}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}set(e,t){this.params[e]=[t]}toString(){const e=[];for(const t in this.params)Object.prototype.hasOwnProperty.call(this.params,t)&&this.params[t].forEach(n=>{e.push(`${encodeURIComponent(t)}=${encodeURIComponent(n)}`)});return e.join("&")}}},2430:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uuidv4=function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}},9549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerStorage=function(e){try{e.registerComponent(y)}catch(t){console.warn(t)}};var r,o=n(3882),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)},s=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(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},a=function(e,t){if("object"==typeof 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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};!function(e){e.put="put",e.post="post"}(r||(r={}));var u=o.constants.getSdkName,d=o.constants.ERRORS,p=o.constants.COMMUNITY_SITE_URL,h=o.utils.isArray,f=o.utils.isString,m=o.utils.isPalinObject,g=o.utils.execCallback,_=o.helpers.catchErrorsDecorator,v="storage",b=new(function(){function e(){}return e.prototype.uploadFile=function(e,t){return l(this,void 0,void 0,function(){var n,o,s,a,l,p,h,m,_,b,y,w,k,E,S,I,C,T,A,O,x,P,M,N,R;return c(this,function(c){switch(c.label){case 0:if(n=e.cloudPath,o=e.filePath,s=e.onUploadProgress,a=e.method,l=void 0===a?"put":a,p=e.headers,h=void 0===p?{}:p,!f(n)||!o)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".uploadFile] invalid params")}));return m={put:r.put,post:r.post}[l.toLocaleLowerCase()]||r.put,_=this.request,b={path:n,method:m},m===r.put&&(b.headers=h),[4,_.send("storage.getUploadMetadata",b)];case 1:return y=c.sent(),w=y.data,k=w.url,E=w.authorization,S=w.token,I=w.fileId,C=w.cosFileId,T=w.download_url,A=y.requestId,x=i(i({},O={url:k,file:o,name:n,onUploadProgress:s}),{method:r.put,headers:i(i({},h),{authorization:E,"x-cos-meta-fileid":C,"x-cos-security-token":S})}),P=i(i({},O),{method:r.post,data:{key:n,signature:E,"x-cos-meta-fileid":C,success_action_status:"201","x-cos-security-token":S}}),(R={})[r.put]={params:x,isSuccess:function(e){return e>=200&&e<300}},R[r.post]={params:P,isSuccess:function(e){return 201===e}},M=R,[4,_.upload(M[m].params)];case 2:return N=c.sent(),M[m].isSuccess(N.statusCode)?[2,g(t,null,{fileID:I,download_url:T,requestId:A})]:[2,g(t,new Error("[".concat(u(),"][").concat(d.OPERATION_FAIL,"][").concat(v,"]:").concat(N.data)))]}})})},e.prototype.getUploadMetadata=function(e,t){return l(this,void 0,void 0,function(){var n,r,o,i,s;return c(this,function(a){switch(a.label){case 0:if(n=e.cloudPath,!f(n))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getUploadMetadata] invalid cloudPath")}));r=this.request,o="storage.getUploadMetadata",a.label=1;case 1:return a.trys.push([1,3,,4]),[4,r.send(o,{path:n})];case 2:return i=a.sent(),[2,g(t,null,i)];case 3:return s=a.sent(),[2,g(t,s)];case 4:return[2]}})})},e.prototype.deleteFile=function(e,t){return l(this,void 0,void 0,function(){var n,r,o,i,s,a;return c(this,function(l){switch(l.label){case 0:if(!(n=e.fileList)||!h(n)||0===n.length)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".deleteFile] fileList must not be empty")}));for(r=0,o=n;r<o.length;r++)if(!(i=o[r])||!f(i))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".deleteFile] fileID must be string")}));return[4,this.request.send("storage.batchDeleteFile",{fileid_list:n})];case 1:return(s=l.sent()).code?[2,g(t,null,s)]:(a={fileList:s.data.delete_list,requestId:s.requestId},[2,g(t,null,a)])}})})},e.prototype.getTempFileURL=function(e,t){return l(this,void 0,void 0,function(){var n,r,o,i,s,a;return c(this,function(l){switch(l.label){case 0:if(!(n=e.fileList)||!h(n)||0===n.length)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getTempFileURL] fileList must not be empty")}));for(r=[],o=0,i=n;o<i.length;o++)if(s=i[o],m(s)){if(!Object.prototype.hasOwnProperty.call(s,"fileID")||!Object.prototype.hasOwnProperty.call(s,"maxAge"))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getTempFileURL] file info must include fileID and maxAge")}));r.push({fileid:s.fileID,max_age:s.maxAge})}else{if(!f(s))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getTempFileURL] invalid fileList")}));r.push({fileid:s})}return[4,this.request.send("storage.batchGetDownloadUrl",{file_list:r})];case 1:return(a=l.sent()).code?[2,g(t,null,a)]:[2,g(t,null,{fileList:a.data.download_list,requestId:a.requestId})]}})})},e.prototype.downloadFile=function(e,t){return l(this,void 0,void 0,function(){var n,r,o,i,s,a;return c(this,function(l){switch(l.label){case 0:if(n=e.fileID,!f(n))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getTempFileURL] fileID must be string")}));return[4,this.getTempFileURL.call(this,{fileList:[{fileID:n,maxAge:600}]})];case 1:return r=l.sent(),"SUCCESS"!==(o=r.fileList[0]).code?[2,g(t,o)]:(i=this.request,s=encodeURI(o.download_url),[4,i.download({url:s})]);case 2:return a=l.sent(),[2,g(t,null,a)]}})})},s([_({customInfo:{className:"Cloudbase",methodName:"uploadFile"},title:"上传文件失败",messages:["请确认以下各项:"," 1 - 调用 uploadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"uploadFile",null),s([_({customInfo:{className:"Cloudbase",methodName:"getUploadMetadata"},title:"获取上传元信息失败",messages:["请确认以下各项:"," 1 - 调用 getUploadMetadata() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"getUploadMetadata",null),s([_({customInfo:{className:"Cloudbase",methodName:"deleteFile"},title:"删除文件失败",messages:["请确认以下各项:"," 1 - 调用 deleteFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"deleteFile",null),s([_({customInfo:{className:"Cloudbase",methodName:"getTempFileURL"},title:"获取文件下载链接",messages:["请确认以下各项:"," 1 - 调用 getTempFileURL() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"getTempFileURL",null),s([_({customInfo:{className:"Cloudbase",methodName:"downloadFile"},title:"下载文件失败",messages:["请确认以下各项:"," 1 - 调用 downloadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"downloadFile",null),e}()),y={name:v,entity:{uploadFile:b.uploadFile,deleteFile:b.deleteFile,getTempFileURL:b.getTempFileURL,downloadFile:b.downloadFile,getUploadMetadata:b.getUploadMetadata}};try{cloudbase.registerComponent(y)}catch(w){}},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},s=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 a,l=s(n(9333)),c=n(4442);!function(e){e.WEB="web",e.WX_MP="wx_mp"}(a=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],s=i.isMatch,a=i.genAdapter,l=i.runtime;if(s())return{adapter:r({isMatch:s},a(t)),runtime:l}}},t.useDefaultAdapter=function(){return{adapter:l.genAdapter(),runtime:a.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)},s=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},a=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebRequest=t.genAdapter=void 0;var l=n(6885),c=n(4442),u=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,s=e.headers,a=void 0===s?{}:s,l={post:"post",put:"put"}[null==o?void 0:o.toLowerCase()]||"put",c=new FormData;return"post"===l?(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:l}),this.restrictedMethods.includes("upload"))):this.request(i(i({},e),{method:"put",headers:a,body:n}),this.restrictedMethods.includes("upload"))},t.prototype.download=function(e){return s(this,void 0,void 0,function(){var t,n,r,o;return a(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,this.get(i(i({},e),{headers:{},responseType:"blob"}))];case 1:return t=s.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 s.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 s(this,void 0,void 0,function(){var n,r,o,l,c,u,d,p,h,f,m,g=this;return a(this,function(_){switch(_.label){case 0:return n=new AbortController,r=e.url,o=e.enableAbort,l=void 0!==o&&o,c=e.stream,u=void 0!==c&&c,d=e.signal,p=e.timeout,h=null!=p?p:this.timeout,d&&(d.aborted&&n.abort(),d.addEventListener("abort",function(){return n.abort()})),f=null,l&&h&&(f=setTimeout(function(){console.warn(g.timeoutMsg),n.abort(new Error(g.timeoutMsg))},h)),[4,fetch(r,i(i({},e),{signal:n.signal})).then(function(e){return s(g,void 0,void 0,function(){var t,n,r;return a(this,function(o){switch(o.label){case 0:return clearTimeout(f),e.ok?(t=e,[3,3]):[3,1];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]}})})})["catch"](function(e){return clearTimeout(f),Promise.reject(e)})];case 1:return m=_.sent(),[2,{data:u?m.body:(null===(t=m.headers.get("content-type"))||void 0===t?void 0:t.includes("application/json"))?m.json():m.text(),statusCode:m.status,header:m.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,s,a=e.url,l=e.headers,d=void 0===l?{}:l,p=e.data,h=e.responseType,f=e.withCredentials,m=e.body,g=e.onUploadProgress,_=(0,c.formatUrl)((0,u.getProtocol)(),a,"get"===r?p:{}),v=new XMLHttpRequest;v.open(r,_),h&&(v.responseType=h),Object.keys(d).forEach(function(e){v.setRequestHeader(e,d[e])}),g&&v.upload.addEventListener("progress",g),v.onreadystatechange=function(){var e={};if(4===v.readyState){var t=v.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=v.status;try{e.data="blob"===h?v.response:JSON.parse(v.responseText)}catch(r){e.data="blob"===h?v.response:v.responseText}clearTimeout(i),o(e)}},t&&n.timeout&&(i=setTimeout(function(){console.warn(n.timeoutMsg),v.abort()},n.timeout)),s=(0,c.isFormData)(p)?p:"application/x-www-form-urlencoded"===d["content-type"]?(0,c.toQueryString)(p):m||(p?JSON.stringify(p):undefined),f&&(v.withCredentials=!0),v.send(s)})},t}(l.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=!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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.catchErrorsDecorator=void 0;var i=n(4442),s=n(7281),a=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(a=-1!==navigator.userAgent.indexOf("Firefox"));var l=a?/(\.js\/)?__decorate(\$\d+)?<@.*\d$/:/(\/\w+\.js\.)?__decorate(\$\d+)?\s*\(.*\)$/,c=/https?:\/\/.+:\d*\/.*\.js:\d+:\d+/;function u(e){var t=e.err,n=e.className,r=e.methodName,o=e.sourceLink;if(!o)return null;var i,s=t.stack.split("\n"),l=a?/^catchErrorsDecorator\/<\/descriptor.value@.*\d$/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]\\s*\\(.*\\)$")),u=a?/^catchErrorsDecorator\/<\/descriptor.value/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]")),d=s.findIndex(function(e){return l.test(e)});if(-1!==d){var p=s.filter(function(e,t){return t>d});p.unshift(s[d].replace(u,"".concat(n,".").concat(r)).replace(c,o)),(i=new Error).stack="".concat(a?"@debugger":"Error","\n").concat(p.join("\n"))}return i}t.catchErrorsDecorator=function(e){var t=e.mode,n=void 0===t?"async":t,a=e.customInfo,d=void 0===a?{}:a,p=e.title,h=e.messages,f=void 0===h?[]:h;return function(e,t,a){if(s.IS_DEBUG_MODE){var h=d.className||e.constructor.name,m=d.methodName||t,g=a.value,_=function(e){var t="",n=e.stack.split("\n"),r=n.findIndex(function(e){return l.test(e)});if(-1!==r){var o=c.exec(n[r+1]||"");t=o?o[0]:""}return t}(new Error);a.value="sync"===n?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u({err:new Error,className:h,methodName:m,sourceLink:_});try{return g.apply(this,e)}catch(d){var r=d,o=d.message,s=d.error,a=d.error_description,l={title:p||"".concat(h,".").concat(m," failed"),content:[{type:"error",body:d}]};if(o&&/^\{.*\}$/.test(o)){var c=JSON.parse(o);l.subtitle=o,c.code&&(n?(n.code=c.code,n.msg=c.msg):(d.code=c.code,d.message=c.msg),r=n||d,l.content=f.map(function(e){return{type:"info",body:e}}))}throw s&&a&&(l.subtitle=a,n?(n.code=s,n.msg=a):(d.code=s,d.message=a),r=n||d,l.content=f.map(function(e){return{type:"info",body:e}})),(0,i.printGroupLog)(l),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,s,a,l,c,d;return o(this,function(o){switch(o.label){case 0:t=u({err:new Error,className:h,methodName:m,sourceLink:_}),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,g.apply(this,e)];case 2:return[2,o.sent()];case 3:throw n=o.sent(),r=n,s=n.message,a=n.error,l=n.error_description,c={title:p||"".concat(h,".").concat(m," failed"),content:[{type:"error",body:n}]},s&&/^\{.*\}$/.test(s)&&(d=JSON.parse(s),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=f.map(function(e){return{type:"info",body:e}}))),a&&l&&(c.subtitle=l,t?(t.code=a,t.msg=l):(n.code=a,n.message=l),r=t||n,c.content=f.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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseCache=void 0;var a=n(6885),l=n(4442),c=n(7281),u=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}(a.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,l.printWarn)(c.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new u(t.root));case"none":return new u(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,l.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 s(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,l.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 s(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,l.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 s(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 s=n(4442),a=function(e,t){this.data=t||null,this.name=e};t.CloudbaseEvent=a;var l=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}(a);t.IErrorEvent=l;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,s.isInstanceOf)(e,l))return console.error(e.error),this;var n=(0,s.isString)(e)?new a(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 u=new c;t.addEventListener=function(e,t){u.on(e,t)},t.activateEvent=function(e,t){void 0===t&&(t={}),u.fire(e,t)},t.removeEventListener=function(e,t){u.off(e,t)}},4442:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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 r=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||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,r.getSdkName)(),"][").concat(e,"]:").concat(t))},t.printError=function(e,t){console.error({code:e,msg:"[".concat((0,r.getSdkName)(),"][").concat(e,"]:").concat(t)})},t.printInfo=function(e,t){console.log("[".concat((0,r.getSdkName)(),"][").concat(e,"]:").concat(t))},t.throwError=function(e,t){throw new Error(JSON.stringify({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,s=void 0===i?[]:i,a=e.printTrace,l=void 0!==a&&a,c=e.collapsed;void 0!==c&&c?(console.groupCollapsed||console.error)(n,o):(console.group||console.error)(n,o);for(var u=0,d=s;u<d.length;u++){var p=d[u],h=p.type,f=p.body;switch(h){case"info":console.log(f);break;case"warn":console.warn(f);break;case"error":console.error(f)}}l&&(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}},5751:function(e,t,n){"use strict";var r=n(2032)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.RUNTIME=void 0,t.useAdapters=function(e,t){for(var n=(0,s.isArray)(e)?e:[e],r=0,o=n;r<o.length;r++){var i=o[r],l=i.isMatch,c=i.genAdapter,u=i.runtime;if(l())return{adapter:a({isMatch:l},c(t)),runtime:u}}},t.useDefaultAdapter=function(){return{adapter:i.genAdapter(),runtime:o.WEB}};var o,i=r(n(2414)),s=n(4263),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)};!function(e){e.WEB="web",e.WX_MP="wx_mp"}(o||(t.RUNTIME=o={}))},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),s=n(1967),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)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)}),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)},c=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},u=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},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 a(t,e),t.prototype.get=function(e){return this.request(l(l({},e),{method:"get"}),this.restrictedMethods.includes("get"))},t.prototype.post=function(e){return this.request(l(l({},e),{method:"post"}),this.restrictedMethods.includes("post"))},t.prototype.put=function(e){return this.request(l(l({},e),{method:"put"}))},t.prototype.upload=function(e){var t=e.data,n=e.file,r=e.name,o=e.method,i=e.headers,s=void 0===i?{}:i,a={post:"post",put:"put"}[null==o?void 0:o.toLowerCase()]||"put",c=new FormData;return"post"===a?(Object.keys(t).forEach(function(e){c.append(e,t[e])}),c.append("key",r),c.append("file",n),this.request(l(l({},e),{data:c,method:a}),this.restrictedMethods.includes("upload"))):this.request(l(l({},e),{method:"put",headers:s,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 u(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.get(l(l({},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,s,a,d,p,h,f,m,g=this;return u(this,function(_){switch(_.label){case 0:return n=new AbortController,r=e.url,o=e.enableAbort,i=void 0!==o&&o,s=e.stream,a=void 0!==s&&s,d=e.signal,p=e.timeout,h=null!=p?p:this.timeout,d&&(d.aborted&&n.abort(),d.addEventListener("abort",function(){return n.abort()})),f=null,i&&h&&(f=setTimeout(function(){console.warn(g.timeoutMsg),n.abort(new Error(g.timeoutMsg))},h)),[4,fetch(r,l(l({},e),{signal:n.signal})).then(function(e){return c(g,void 0,void 0,function(){var t,n,r;return u(this,function(o){switch(o.label){case 0:return clearTimeout(f),e.ok?(t=e,[3,3]):[3,1];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]}})})})["catch"](function(e){return clearTimeout(f),Promise.reject(e)})];case 1:return m=_.sent(),[2,{data:a?m.body:(null===(t=m.headers.get("content-type"))||void 0===t?void 0:t.includes("application/json"))?m.json():m.text(),statusCode:m.status,header:m.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 a,l,c=e.url,u=e.headers,d=void 0===u?{}:u,p=e.data,h=e.responseType,f=e.withCredentials,m=e.body,g=e.onUploadProgress,_=(0,i.formatUrl)((0,s.getProtocol)(),c,"get"===r?p:{}),v=new XMLHttpRequest;v.open(r,_),h&&(v.responseType=h),Object.keys(d).forEach(function(e){v.setRequestHeader(e,d[e])}),g&&v.upload.addEventListener("progress",g),v.onreadystatechange=function(){var e={};if(4===v.readyState){var t=v.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=v.status;try{e.data="blob"===h?v.response:JSON.parse(v.responseText)}catch(r){e.data="blob"===h?v.response:v.responseText}clearTimeout(a),o(e)}},t&&n.timeout&&(a=setTimeout(function(){console.warn(n.timeoutMsg),v.abort()},n.timeout)),l=(0,i.isFormData)(p)?p:"application/x-www-form-urlencoded"===d["content-type"]?(0,i.toQueryString)(p):m||(p?JSON.stringify(p):undefined),f&&(v.withCredentials=!0),v.send(l)})},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=!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"}},6884: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,a=e.customInfo,d=void 0===a?{}:a,p=e.title,h=e.messages,f=void 0===h?[]:h;return function(e,t,a){if(o.IS_DEBUG_MODE){var h=d.className||e.constructor.name,m=d.methodName||t,g=a.value,_=function(e){var t="",n=e.stack.split("\n"),r=n.findIndex(function(e){return l.test(e)});if(-1!==r){var o=c.exec(n[r+1]||"");t=o?o[0]:""}return t}(new Error);a.value="sync"===n?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u({err:new Error,className:h,methodName:m,sourceLink:_});try{return g.apply(this,e)}catch(d){var o=d,i=d.message,s=d.error,a=d.error_description,l={title:p||"".concat(h,".").concat(m," failed"),content:[{type:"error",body:d}]};if(i&&/^\{.*\}$/.test(i)){var c=JSON.parse(i);l.subtitle=i,c.code&&(n?(n.code=c.code,n.msg=c.msg):(d.code=c.code,d.message=c.msg),o=n||d,l.content=f.map(function(e){return{type:"info",body:e}}))}throw s&&a&&(l.subtitle=a,n?(n.code=s,n.msg=a):(d.code=s,d.message=a),o=n||d,l.content=f.map(function(e){return{type:"info",body:e}})),(0,r.printGroupLog)(l),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,a,l,c,d;return s(this,function(s){switch(s.label){case 0:t=u({err:new Error,className:h,methodName:m,sourceLink:_}),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,g.apply(this,e)];case 2:return[2,s.sent()];case 3:throw n=s.sent(),o=n,i=n.message,a=n.error,l=n.error_description,c={title:p||"".concat(h,".").concat(m," 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=f.map(function(e){return{type:"info",body:e}}))),a&&l&&(c.subtitle=l,t?(t.code=a,t.msg=l):(n.code=a,n.message=l),o=t||n,c.content=f.map(function(e){return{type:"info",body:e}})),(0,r.printGroupLog)(c),o;case 4:return[2]}})})}}}};var r=n(4263),o=n(6884),i=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},a=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(a=-1!==navigator.userAgent.indexOf("Firefox"));var l=a?/(\.js\/)?__decorate(\$\d+)?<@.*\d$/:/(\/\w+\.js\.)?__decorate(\$\d+)?\s*\(.*\)$/,c=/https?:\/\/.+:\d*\/.*\.js:\d+:\d+/;function u(e){var t=e.err,n=e.className,r=e.methodName,o=e.sourceLink;if(!o)return null;var i,s=t.stack.split("\n"),l=a?/^catchErrorsDecorator\/<\/descriptor.value@.*\d$/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]\\s*\\(.*\\)$")),u=a?/^catchErrorsDecorator\/<\/descriptor.value/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]")),d=s.findIndex(function(e){return l.test(e)});if(-1!==d){var p=s.filter(function(e,t){return t>d});p.unshift(s[d].replace(u,"".concat(n,".").concat(r)).replace(c,o)),(i=new Error).stack="".concat(a?"@debugger":"Error","\n").concat(p.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)["default"],o=n(2032)["default"];Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbortController",{enumerable:!0,get:function(){return p["default"]}}),t.utils=t.langEvent=t.jwt=t.helpers=t.events=t.constants=t.cache=t.adapters=void 0;var i=o(n(6884));t.constants=i;var s=o(n(5751));t.adapters=s;var a=o(n(8305));t.cache=a;var l=o(n(4302));t.events=l;var c=o(n(6367));t.langEvent=c;var u=o(n(4263));t.utils=u;var d=o(n(500));t.helpers=d;var p=r(n(6817)),h=r(n(9804));t.jwt={decode:h["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),s=n(6884),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)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)}),l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},u=function(e){function t(t){var n=e.call(this)||this;return n.root=t,t.tcbCacheObject||(t.tcbCacheObject={}),n}return a(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,a=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)(s.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new u(t.root));case"none":return new u(t.root)}}(this.persistenceTag,this.platformInfo.adapter),this.keys=a)}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:s.ERRORS.OPERATION_FAIL,msg:"[".concat((0,s.getSdkName)(),"][").concat(s.ERRORS.OPERATION_FAIL,"]setStore failed"),info:o}))}}else(0,i.printWarn)(s.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use setStoreAsync insteed")},e.prototype.setStoreAsync=function(e,t,n){return l(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)(s.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getStoreAsync insteed")},e.prototype.getStoreAsync=function(e,t){var n;return l(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)(s.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use removeStoreAsync insteed")},e.prototype.removeStoreAsync=function(e){return l(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)}),s=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))},a=t.CloudbaseEvent=function(e,t){this.data=t||null,this.name=e},l=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}(a),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,l))return console.error(e.error),this;var n=(0,o.isString)(e)?new a(e,t||{}):e,r=n.name;if(this.listens(r)){n.target=this;for(var i=0,c=this.listeners[r]?s([],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||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.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,s=void 0===i?[]:i,a=e.printTrace,l=void 0!==a&&a,c=e.collapsed;void 0!==c&&c?(console.groupCollapsed||console.error)(n,o):(console.group||console.error)(n,o);for(var u=0,d=s;u<d.length;u++){var p=d[u],h=p.type,f=p.body;switch(h){case"info":console.log(f);break;case"warn":console.warn(f);break;case"error":console.error(f)}}l&&(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(6884);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)})},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;!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,s){return o((a=o(o(t,e),o(r,s)))<<(l=i)|a>>>32-l,n);var a,l}function s(e,t,n,r,o,s,a){return i(t&n|~t&r,e,t,o,s,a)}function a(e,t,n,r,o,s,a){return i(t&r|n&~r,e,t,o,s,a)}function l(e,t,n,r,o,s,a){return i(t^n^r,e,t,o,s,a)}function c(e,t,n,r,o,s,a){return i(n^(t|~r),e,t,o,s,a)}function u(e,t){var n,r,i,u,d;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var p=1732584193,h=-271733879,f=-1732584194,m=271733878;for(n=0;n<e.length;n+=16)r=p,i=h,u=f,d=m,p=s(p,h,f,m,e[n],7,-680876936),m=s(m,p,h,f,e[n+1],12,-389564586),f=s(f,m,p,h,e[n+2],17,606105819),h=s(h,f,m,p,e[n+3],22,-1044525330),p=s(p,h,f,m,e[n+4],7,-176418897),m=s(m,p,h,f,e[n+5],12,1200080426),f=s(f,m,p,h,e[n+6],17,-1473231341),h=s(h,f,m,p,e[n+7],22,-45705983),p=s(p,h,f,m,e[n+8],7,1770035416),m=s(m,p,h,f,e[n+9],12,-1958414417),f=s(f,m,p,h,e[n+10],17,-42063),h=s(h,f,m,p,e[n+11],22,-1990404162),p=s(p,h,f,m,e[n+12],7,1804603682),m=s(m,p,h,f,e[n+13],12,-40341101),f=s(f,m,p,h,e[n+14],17,-1502002290),p=a(p,h=s(h,f,m,p,e[n+15],22,1236535329),f,m,e[n+1],5,-165796510),m=a(m,p,h,f,e[n+6],9,-1069501632),f=a(f,m,p,h,e[n+11],14,643717713),h=a(h,f,m,p,e[n],20,-373897302),p=a(p,h,f,m,e[n+5],5,-701558691),m=a(m,p,h,f,e[n+10],9,38016083),f=a(f,m,p,h,e[n+15],14,-660478335),h=a(h,f,m,p,e[n+4],20,-405537848),p=a(p,h,f,m,e[n+9],5,568446438),m=a(m,p,h,f,e[n+14],9,-1019803690),f=a(f,m,p,h,e[n+3],14,-187363961),h=a(h,f,m,p,e[n+8],20,1163531501),p=a(p,h,f,m,e[n+13],5,-1444681467),m=a(m,p,h,f,e[n+2],9,-51403784),f=a(f,m,p,h,e[n+7],14,1735328473),p=l(p,h=a(h,f,m,p,e[n+12],20,-1926607734),f,m,e[n+5],4,-378558),m=l(m,p,h,f,e[n+8],11,-2022574463),f=l(f,m,p,h,e[n+11],16,1839030562),h=l(h,f,m,p,e[n+14],23,-35309556),p=l(p,h,f,m,e[n+1],4,-1530992060),m=l(m,p,h,f,e[n+4],11,1272893353),f=l(f,m,p,h,e[n+7],16,-155497632),h=l(h,f,m,p,e[n+10],23,-1094730640),p=l(p,h,f,m,e[n+13],4,681279174),m=l(m,p,h,f,e[n],11,-358537222),f=l(f,m,p,h,e[n+3],16,-722521979),h=l(h,f,m,p,e[n+6],23,76029189),p=l(p,h,f,m,e[n+9],4,-640364487),m=l(m,p,h,f,e[n+12],11,-421815835),f=l(f,m,p,h,e[n+15],16,530742520),p=c(p,h=l(h,f,m,p,e[n+2],23,-995338651),f,m,e[n],6,-198630844),m=c(m,p,h,f,e[n+7],10,1126891415),f=c(f,m,p,h,e[n+14],15,-1416354905),h=c(h,f,m,p,e[n+5],21,-57434055),p=c(p,h,f,m,e[n+12],6,1700485571),m=c(m,p,h,f,e[n+3],10,-1894986606),f=c(f,m,p,h,e[n+10],15,-1051523),h=c(h,f,m,p,e[n+1],21,-2054922799),p=c(p,h,f,m,e[n+8],6,1873313359),m=c(m,p,h,f,e[n+15],10,-30611744),f=c(f,m,p,h,e[n+6],15,-1560198380),h=c(h,f,m,p,e[n+13],21,1309151649),p=c(p,h,f,m,e[n+4],6,-145523070),m=c(m,p,h,f,e[n+11],10,-1120210379),f=c(f,m,p,h,e[n+2],15,718787259),h=c(h,f,m,p,e[n+9],21,-343485551),p=o(p,r),h=o(h,i),f=o(f,u),m=o(m,d);return[p,h,f,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 p(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 h(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 f(e){return unescape(encodeURIComponent(e))}function m(e){return function(e){return d(u(p(e),8*e.length))}(f(e))}function g(e,t){return function(e,t){var n,r,o=p(e),i=[],s=[];for(i[15]=s[15]=undefined,o.length>16&&(o=u(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],s[n]=1549556828^o[n];return r=u(i.concat(p(t)),512+8*t.length),d(u(s.concat(r),640))}(f(e),f(t))}function _(e,t,n){return t?n?g(t,e):h(g(t,e)):n?m(e):h(m(e))}(r=function(){return _}.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 s={};if(r)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&s[u[0]]||(void 0!==i&&("undefined"==typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},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){"use strict";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"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,s,a){var l,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),s?(l=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(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}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),s=Object(i.a)(o,r,[],!1,null,null,null);s.options.__file="packages/button/src/button.vue";var a=s.exports;a.install=function(e){e.component(a.name,a)},t["default"]=a}})},5735:function(e,t,n){"use strict";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"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,s,a){var l,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),s?(l=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(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}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),s=n(11),a=n.n(s),l=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 u(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l));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,s=r.boxSizing,a=r.contextStyle;l.setAttribute("style",a+";\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"),l.value=e.value||e.placeholder||"";var u=l.scrollHeight,d={};"border-box"===s?u+=i:"content-box"===s&&(u-=o),l.value="";var p=l.scrollHeight-o;if(null!==t){var h=p*t;"border-box"===s&&(h=h+o+i),u=Math.max(h,u),d.minHeight=h+"px"}if(null!==n){var f=p*n;"border-box"===s&&(f=f+o+i),u=Math.min(f,u)}return d.height=u+"px",l.parentNode&&l.parentNode.removeChild(l),l=null,d}var d=n(9),p=n.n(d),h=n(21),f={name:"ElInput",componentName:"ElInput",mixins:[i.a,a.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 p()({},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=u(this.$refs.textarea,t,n)}else this.textareaCalcStyle={minHeight:u(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(h.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)}},m=f,g=n(0),_=Object(g.a)(m,r,[],!1,null,null,null);_.options.__file="packages/input/src/input.vue";var v=_.exports;v.install=function(e){e.component(v.name,v)},t["default"]=v},9:function(e,t){e.exports=n(8589)}})},4511:function(e,t,n){"use strict";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"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,s,a){var l,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),s?(l=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(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}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 s={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}}},a=n(0),l=Object(a.a)(s,i,[],!1,null,null,null);l.options.__file="packages/loading/src/loading.vue";var c=l.exports,u=n(2),d=n(13),p=n(42),h=n.n(p),f=o.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(u.getStyle)(document.body,"position"),t.originalOverflow=Object(u.getStyle)(document.body,"overflow"),t.maskStyle.zIndex=d.PopupManager.nextZIndex(),Object(u.addClass)(t.mask,"is-fullscreen"),n(document.body,t,r)):(Object(u.removeClass)(t.mask,"is-fullscreen"),r.modifiers.body?(t.originalPosition=Object(u.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(u.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(u.getStyle)(t,"position"),n(t,t,r)))}):(h()(t.instance,function(e){if(t.instance.hiding){t.domVisible=!1;var n=r.modifiers.fullscreen||r.modifiers.body?document.body:t;Object(u.removeClass)(n,"el-loading-parent--relative"),Object(u.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(u.getStyle)(n,"display")||"hidden"===Object(u.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(u.addClass)(t,"el-loading-parent--relative"),r.modifiers.fullscreen&&r.modifiers.lock&&Object(u.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"),s=e.getAttribute("element-loading-background"),a=e.getAttribute("element-loading-custom-class"),l=r.context,c=new f({el:document.createElement("div"),data:{text:l&&l[o]||o,spinner:l&&l[i]||i,background:l&&l[s]||s,customClass:l&&l[a]||a,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,_=n(9),v=n.n(_),b=o.a.extend(c),y={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},w=void 0;b.prototype.originalPosition="",b.prototype.originalOverflow="",b.prototype.close=function(){var e=this;this.fullscreen&&(w=undefined),h()(this,function(t){var n=e.fullscreen||e.body?document.body:e.target;Object(u.removeClass)(n,"el-loading-parent--relative"),Object(u.removeClass)(n,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()},300),this.visible=!1};var k=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(!o.a.prototype.$isServer){if("string"==typeof(e=v()({},y,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 b({el:document.createElement("div"),data:e});return function(e,t,n){var r={};e.fullscreen?(n.originalPosition=Object(u.getStyle)(document.body,"position"),n.originalOverflow=Object(u.getStyle)(document.body,"overflow"),r.zIndex=d.PopupManager.nextZIndex()):e.body?(n.originalPosition=Object(u.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(u.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(u.addClass)(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object(u.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(g),e.prototype.$loading=k},directive:g,service:k}},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";t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=undefined;var r="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};t.hasClass=f,t.addClass=function(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),o=0,i=r.length;o<i;o++){var s=r[o];s&&(e.classList?e.classList.add(s):f(e,s)||(n+=" "+s))}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 s=n[o];s&&(e.classList?e.classList.remove(s):f(e,s)&&(r=r.replace(" "+s+" "," ")))}e.classList||e.setAttribute("class",u(r))}},t.setStyle=function _(e,t,n){if(e&&t)if("object"===(void 0===t?"undefined":r(t)))for(var o in t)t.hasOwnProperty(o)&&_(e,o,t[o]);else"opacity"===(t=d(t))&&c<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};var o,i=n(4478),s=((o=i)&&o.__esModule?o:{"default":o})["default"].prototype.$isServer,a=/([\:\-\_]+(.))/g,l=/^moz([A-Z])/,c=s?0:Number(document.documentMode),u=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},d=function(e){return e.replace(a,function(e,t,n,r){return r?n.toUpperCase():n}).replace(l,"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 f(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=c<9?function(e,t){if(!s){if(!e||!t)return null;"float"===(t=d(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=d(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=l(n(4478)),o=l(n(8589)),i=l(n(8432)),s=l(n(9686)),a=n(2865);function l(e){return e&&e.__esModule?e:{"default":e}}var c=1,u=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,a.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,a.getStyle)(document.body,"paddingRight"),10)),u=(0,s["default"])();var o=document.documentElement.clientHeight<document.body.scrollHeight,l=(0,a.getStyle)(document.body,"overflowY");u>0&&(o||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+u+"px"),(0,a.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,a.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},s=n(2865),a=!1,l=!1,c=void 0,u=function(){if(!i["default"].prototype.$isServer){var e=p.modalDom;return e?a=!0:(a=!1,e=document.createElement("div"),p.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(){p.doOnModalClick&&p.doOnModalClick()})),e}},d={},p={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 p.zIndex++},modalStack:[],doOnModalClick:function(){var e=p.modalStack[p.modalStack.length-1];if(e){var t=p.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 l=this.modalStack,c=0,d=l.length;c<d;c++)if(l[c].id===e)return;var p=u();(0,s.addClass)(p,"v-modal"),this.modalFade&&!a&&(0,s.addClass)(p,"v-modal-enter"),r&&r.trim().split(/\s+/).forEach(function(e){return(0,s.addClass)(p,e)}),setTimeout(function(){(0,s.removeClass)(p,"v-modal-enter")},200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(p):document.body.appendChild(p),t&&(p.style.zIndex=t),p.tabIndex=0,p.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:r})}},closeModal:function(e){var t=this.modalStack,n=u();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,s.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,s.addClass)(n,"v-modal-leave"),setTimeout(function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",p.modalDom=undefined),(0,s.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(p,"zIndex",{configurable:!0,get:function(){return l||(c=c||(i["default"].prototype.$ELEMENT||{}).zIndex||2e3,l=!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&&p.modalStack.length>0){var e=p.modalStack[p.modalStack.length-1];if(!e)return;return p.getInstance(e.id)}}();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}}),t["default"]=p},9686:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(i["default"].prototype.$isServer)return 0;if(s!==undefined)return s;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),s=t-r};var r,o=n(4478),i=(r=o)&&r.__esModule?r:{"default":r},s=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";t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=undefined;var r="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};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,i=n(4478),s=(o=i)&&o.__esModule?o:{"default":o},a=function(e){return e&&"[object Function]"==={}.toString.call(e)};"object"===("undefined"==typeof Int8Array?"undefined":r(Int8Array))||!s["default"].prototype.$isServer&&"function"==typeof document.childNodes||(t.isFunction=a=function(e){return"function"==typeof e||!1}),t.isFunction=a,t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return e!==undefined&&null!==e}},2417:function(e,t,n){"use strict";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 r="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};t.noop=function(){},t.hasOwn=function(e,t){return l.call(e,t)},t.toObject=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&c(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,s=o.length;i<s-1&&(r||n);++i){var a=o[i];if(!(a in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[a]}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 o,i=n(4478),s=(o=i)&&o.__esModule?o:{"default":o},a=n(6200),l=Object.prototype.hasOwnProperty;function c(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,s=n.length;i<s;i++){var a=n[i];if(!r)break;if(i===s-1){o=r[a];break}r=r[a]}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 u=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},d=(t.arrayFind=function(e,t){var n=u(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":r(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,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),r=(0,a.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(!d(e[n],t[n]))return!1;return!0},h=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?p(e,t):d(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)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(n(4478)),i=n(8784);const s=[],a="@@clickoutsideContext";let l,c=0;function u(e,t,n){return function(r={},o={}){!(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[a].methodName&&n.context[e[a].methodName]?n.context[e[a].methodName]():e[a].bindingFn&&e[a].bindingFn())}}!o["default"].prototype.$isServer&&(0,i.on)(document,"mousedown",e=>l=e),!o["default"].prototype.$isServer&&(0,i.on)(document,"mouseup",e=>{s.forEach(t=>t[a].documentHandler(e,l))}),t["default"]={bind(e,t,n){s.push(e);const r=c++;e[a]={id:r,documentHandler:u(e,t,n),methodName:t.expression,bindingFn:t.value}},update(e,t,n){e[a].documentHandler=u(e,t,n),e[a].methodName=t.expression,e[a].bindingFn=t.value},unbind(e){let t=s.length;for(let n=0;n<t;n++)if(s[n][a].id===e[a].id){s.splice(n,1);break}delete e[a]}}},8784:function(e,t,n){"use strict";var r=n(477)["default"];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 s=r[o];s&&(e.classList?e.classList.add(s):p(e,s)||(n+=" "+s))}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 s=n[o];s&&(e.classList?e.classList.remove(s):p(e,s)&&(r=r.replace(" "+s+" "," ")))}e.classList||e.setAttribute("class",l(r))}},t.setStyle=function m(e,t,n){if(e&&t)if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&m(e,r,t[r]);else"opacity"===(t=c(t))&&a<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};const o=r(n(4478))["default"].prototype.$isServer,i=/([\:\-\_]+(.))/g,s=/^moz([A-Z])/,a=o?0:Number(document.documentMode),l=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},c=function(e){return e.replace(i,function(e,t,n,r){return r?n.toUpperCase():n}).replace(s,"Moz$1")},u=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)},d=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){var r=function(){n&&n.apply(this,arguments),d(e,t,r)};u(e,t,r)};const h=t.getStyle=a<9?function(e,t){if(!o){if(!e||!t)return null;"float"===(t=c(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=c(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(r){return e.style[t]}}},f=(e,t)=>{if(o)return;const n=null!==t&&t!==undefined;return h(e,n?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};t.isScroll=f,t.getScrollContainer=(e,t)=>{if(o)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(f(n,t))return n;n=n.parentNode}return n},t.isInContainer=(e,t)=>{if(o||!e||!t)return!1;const n=e.getBoundingClientRect();let r;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}},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,s=0,a="";o=t.charAt(s++);~o&&(r=i%4?64*r+o:o,i++%4)?a+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return a};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,s=/(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,a=o.getAttribute("data-autoloader-path");if(null!=a)r=a.trim().replace(/\/?$/,"/");else{var l=o.src;i.test(l)?r=l.replace(i,"components/"):s.test(l)&&(r=l.replace(s,"$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(u)||d(r,function(){Prism.highlightElement(t)})}})}function u(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 s=r.length,a=0,l=!1;function h(){l||++a===s&&o&&o(r)}0!==s?r.forEach(function(r){!function(r,o,i){var s=r.indexOf("!")>=0;function a(){var e=n[r];e||(e=n[r]={callbacks:[]}),e.callbacks.push({success:o,error:i}),!s&&u(r)?p(r,"success"):!s&&e.error?p(r,"error"):!s&&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,p(r,"success")},function(){e.loading=!1,e.error=!0,p(r,"error")}))}r=r.replace("!","");var l=e[r=t[r]||r];l&&l.length?d(l,a,i):a()}(r,h,function(){l||(l=!0,i&&i(r))})}):o&&setTimeout(o,0)}function p(e,t){if(n[e]){for(var r=n[e].callbacks,o=0,i=r.length;o<i;o++){var s=r[o][t];s&&setTimeout(s,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),a("copy"),e(o,{getText:function(){return n.textContent},success:function(){a("copy-success"),s()},error:function(){a("copy-error"),setTimeout(function(){!function(e){window.getSelection().selectAllChildren(e)}(n)},1),s()}}),o;function s(){setTimeout(function(){a("copy")},r["copy-timeout"])}function a(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 s=document.createElement("div");s.classList.add("toolbar");var a=e,l=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);l&&(a=l.map(function(e){return t[e]||n})),a.forEach(function(e){var t=e(r);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),s.appendChild(n)}}),i.appendChild(s)}};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 f(e){return e instanceof i?new i(e.type,f(e.content),e.alias):Array.isArray(e)?e.map(f):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||{},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]=m(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]=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 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],s={};for(var a in i)if(i.hasOwnProperty(a)){if(a==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(a)||(s[a]=i[a])}var c=r[e];return r[e]=s,o.languages.DFS(o.languages,function(t,n){n===c&&t!=e&&(this[t]=s)}),s},DFS:function g(e,t,n,r){r=r||{};var i=o.util.objId;for(var s in e)if(e.hasOwnProperty(s)){t.call(e,s,e[s],n||s);var a=e[s],l=o.util.type(a);"Object"!==l||r[i(a)]?"Array"!==l||r[i(a)]||(r[i(a)]=!0,g(a,t,s,r)):(r[i(a)]=!0,g(a,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,s=0;i=r.elements[s++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=o.util.getLanguage(t),s=o.languages[i];o.util.setLanguage(t,i);var a=t.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&o.util.setLanguage(a,i);var l={element:t,language:i,grammar:s,code:t.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),r&&r.call(l.element)}if(o.hooks.run("before-sanity-check",l),(a=l.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(r&&r.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(o.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.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 l;return c(o,o.head,e),a(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 s(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 a(e,t,n,r,l,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var h=n[p];h=Array.isArray(h)?h:[h];for(var f=0;f<h.length;++f){if(d&&d.cause==p+","+f)return;var m=h[f],g=m.inside,_=!!m.lookbehind,v=!!m.greedy,b=m.alias;if(v&&!m.pattern.global){var y=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,y+"g")}for(var w=m.pattern||m,k=r.next,E=l;k!==t.tail&&!(d&&E>=d.reach);E+=k.value.length,k=k.next){var S=k.value;if(t.length>e.length)return;if(!(S instanceof i)){var I,C=1;if(v){if(!(I=s(w,E,e,_))||I.index>=e.length)break;var T=I.index,A=I.index+I[0].length,O=E;for(O+=k.value.length;T>=O;)O+=(k=k.next).value.length;if(E=O-=k.value.length,k.value instanceof i)continue;for(var x=k;x!==t.tail&&(O<A||"string"==typeof x.value);x=x.next)C++,O+=x.value.length;C--,S=e.slice(E,O),I.index-=E}else if(!(I=s(w,0,S,_)))continue;T=I.index;var P=I[0],M=S.slice(0,T),N=S.slice(T+P.length),R=E+S.length;d&&R>d.reach&&(d.reach=R);var L=k.prev;if(M&&(L=c(t,L,M),E+=M.length),u(t,L,C),k=c(t,L,new i(p,g?o.tokenize(P,g):P,b,P)),N&&c(t,k,N),C>1){var D={cause:p+","+f,reach:R};a(e,t,n,k.prev,E,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){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 u(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 _(e,t){if("string"==typeof e)return e;if(Array.isArray(e)){var n="";return e.forEach(function(e){n+=_(e,t)}),n}var r={type:e.type,content:_(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 s="";for(var a in r.attributes)s+=" "+a+'="'+(r.attributes[a]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+s+">"+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,s=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),s&&e.close()},!1),o):o;var d=o.util.currentScript();function p(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,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(s){var a=s.element;if(a.matches(i)){s.code="",a.setAttribute(t,n);var l=a.appendChild(document.createElement("CODE"));l.textContent="Loading…";var c=a.getAttribute("data-src"),u=s.language;if("none"===u){var d=(/\.(\w+)$/.exec(c)||[,"none"])[1];u=e[d]||d}r.util.setLanguage(l,u),r.util.setLanguage(a,u);var p=r.plugins.autoloader;p&&p.loadLanguages(u),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){a.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}(a.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),s=n[0],c=null==n[1]?i.length:n[1];s<0&&(s+=i.length),s=Math.max(0,Math.min(s-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),e=i.slice(s,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(s+1))}l.textContent=e,r.highlightElement(l)},function(e){a.setAttribute(t,"failed"),l.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 s=!1;r.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},8926:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(3671)),i=r(n(7986)),s=r(n(1547));t.A={components:{TkComments:o["default"],TkFooter:i["default"],TkAdmin:s["default"]},data(){return{showAdmin:!1,showAdminEntry:!1}},methods:{onShowAdminEntry(e){this.showAdminEntry=e}}}},3397:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(3491)),i=r(n(6370)),s=r(n(6359)),a=r(n(5910)),l=r(n(6412)),c=r(n(9801)),u=r(n(7136)),d=r(n(5545));t.A={data(){return{iconComment:o["default"],iconCommentSolid:i["default"],iconLike:s["default"],iconLikeSolid:a["default"],iconDislike:l["default"],iconDislikeSolid:c["default"],iconDelete:u["default"],iconDeleteSolid:d["default"]}},props:{liked:Boolean,disliked:Boolean,likeCount:Number,dislikeCount:Number,repliesCount:Number,showDislike:Boolean,showDelete:Boolean},computed:{likeCountStr(){return this.likeCount>0?`${this.likeCount}`:""},dislikeCountStr(){return this.dislikeCount>0?`${this.dislikeCount}`:""},repliesCountStr(){return this.repliesCount>0?`${this.repliesCount}`:""}},methods:{onLike(){this.$emit("like")},onDislike(){this.$emit("dislike")},onReply(){this.$emit("reply")},onDelete(){this.$emit("delete")}}}},4238:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(2889)),i=r(n(2232)),s=r(n(9658)),a=r(n(5085)),l=r(n(1534)),c=n(8129),u=r(n(9671));t.A={components:{TkAdminComment:i["default"],TkAdminConfig:s["default"],TkAdminImport:a["default"],TkAdminExport:l["default"]},props:{show:Boolean},data(){return{iconClose:u["default"],loading:!0,version:"",needUpdate:!1,isLogin:!1,isSetPassword:!0,isSetCredentials:!1,credentials:"",password:"",passwordConfirm:"",loginErrorMessage:"",activeTabName:"comment"}},computed:{canRegist(){return!this.isSetPassword&&!!this.password&&this.password===this.passwordConfirm&&(this.isSetCredentials||this.credentials)}},methods:{t:c.t,async onLogin(){if(!this.password)return void(this.loginErrorMessage=(0,c.t)("ADMIN_PASSWORD_REQUIRED"));this.loading=!0,this.loginErrorMessage="";const e=(0,o["default"])(this.password),t=await(0,c.call)(this.$tcb,"LOGIN",{password:e});if(t.result.message)this.loginErrorMessage=t.result.message;else if(t.result.ticket)try{await this.$tcb.auth.customAuthProvider().signIn(t.result.ticket),c.logger.log("登录成功"),this.password="",this.checkAuth()}catch(n){c.logger.error("登录失败",n)}else 0===t.result.code&&(c.logger.log("登录成功"),localStorage.setItem("twikoo-access-token",e),this.password="",this.checkAuth());this.loading=!1},async onLogout(e){e.preventDefault(),this.loading=!0,this.$tcb?(await this.$tcb.auth.signOut(),await this.$tcb.auth.anonymousAuthProvider().signIn()):localStorage.removeItem("twikoo-access-token"),this.isLogin=!1,this.loading=!1},async onRegist(){this.loading=!0;const e=(0,o["default"])(this.password),t=await(0,c.call)(this.$tcb,"SET_PASSWORD",{password:e,credentials:this.credentials});t.result.code?(this.loginErrorMessage=(0,c.t)("ADMIN_REGIST_FAILED"),t.result.message&&(this.loginErrorMessage+=","+t.result.message),c.logger.warn("Twikoo 注册失败",t)):(this.passwordMd5="",this.isSetPassword=!0,this.onLogin()),this.loading=!1},async onShow(){this.loading=!0,await this.checkAuth(),this.isLogin||(await this.checkIfPasswordSet(),this.focusPassword()),this.loading=!1},focusPassword(){setTimeout(()=>{this.$refs.focusme&&this.$refs.focusme.focus()},500)},async checkAuth(){if(this.$tcb){const e=await this.$tcb.auth.getCurrenUser();this.isLogin="CUSTOM"===e.loginType}else{const e=await(0,c.call)(this.$tcb,"GET_CONFIG");e&&e.result&&e.result.config&&(this.isLogin=e.result.config.IS_ADMIN)}},async checkIfPasswordSet(){try{const e=await(0,c.call)(this.$tcb,"GET_PASSWORD_STATUS");this.version=e.result.version,this.isSetPassword=e.result.status,this.isSetCredentials=!this.$tcb}catch(e){throw this.needUpdate=!0,this.loading=!1,e}},onClose(){this.$emit("close")}},watch:{show(e){e&&this.onShow()}}}},4555:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=n(1085),i=n(8129),s=n(2199),a=r(n(3867)),l=r(n(1222)),c=r(n(9671));t.A={components:{TkAvatar:a["default"],TkPagination:l["default"]},data(){return{loading:!0,comments:[],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:s.version,count:0,pageSize:5,currentPage:1,filter:{keyword:"",type:""},securityAlert:null,iconClose:c["default"]}},methods:{t:i.t,displayCreated(e){return(0,i.timeago)(e.created)},convertLink(e){return(0,i.convertLink)(e)},async getComments(){this.loading=!0;const e=await(0,i.call)(this.$tcb,"COMMENT_GET_FOR_ADMIN",{per:this.pageSize,page:this.currentPage,keyword:this.filter.keyword,type:this.filter.type});e.result&&!e.result.code&&(this.count=e.result.count,this.comments=e.result.data),this.$nextTick(()=>{(0,i.renderLinks)(this.$refs.comments),(0,i.renderMath)(this.$refs["comment-list"],this.$twikoo.katex),this.highlightCode()}),this.loading=!1},async getConfig(){const e=await(0,i.call)(this.$tcb,"GET_CONFIG_FOR_ADMIN");e.result&&!e.result.code&&(this.serverConfig=e.result.config,this.checkConfig())},checkConfig(){this.serverConfig.HIGHLIGHT||(this.serverConfig.HIGHLIGHT="true");let e={};const t=localStorage.getItem("twikoo");t&&(e=JSON.parse(t)),["nick","mail","avatar"].forEach(t=>{e[t]?this.serverConfig[t]=e[t]:this.serverConfig[t]=""}),!e.nick&&this.serverConfig.BLOGGER_NICK&&(e.nick=this.serverConfig.BLOGGER_NICK),!e.mail&&this.serverConfig.BLOGGER_EMAIL&&(e.mail=this.serverConfig.BLOGGER_EMAIL),!e.link&&this.serverConfig.SITE_URL&&(e.link=this.serverConfig.SITE_URL),localStorage.setItem("twikoo",JSON.stringify(e)),o.app.$emit("initMeta")},onPageSizeChange(e){this.pageSize=e,this.getComments()},switchPage(e){this.currentPage=e,this.getComments()},handleView(e){const t=`${e.url}#${e._id}`;try{if(new URL(t).hostname!==window.location.hostname)return void(this.securityAlert={commentId:e._id,message:(0,i.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,i.t)("ADMIN_COMMENT_PARSE_ERROR"),url:e.url}}}},async handleDelete(e){confirm((0,i.t)("ADMIN_COMMENT_DELETE_CONFIRM"))&&(this.loading=!0,await(0,i.call)(this.$tcb,"COMMENT_DELETE_FOR_ADMIN",{id:e._id}),await this.getComments(),this.loading=!1)},handleSpam(e,t){this.setComment(e,{isSpam:t})},handleTop(e,t){this.setComment(e,{top:t})},async setComment(e,t){this.loading=!0,await(0,i.call)(this.$tcb,"COMMENT_SET_FOR_ADMIN",{id:e._id,set:t}),await this.getComments(),this.loading=!1},highlightCode(){"true"===this.serverConfig.HIGHLIGHT&&(0,i.renderCode)(this.$refs["comment-list"],this.serverConfig.HIGHLIGHT_THEME,this.serverConfig.HIGHLIGHT_PLUGIN)}},async mounted(){await Promise.all([this.getConfig(),this.getComments()]),this.highlightCode()}}},4868:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(8129),o=n(2199),i=n(1085);t.A={data(){return{loading:!0,settings:[{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_COMMON"),items:[{key:"SITE_NAME",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SITE_NAME"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}虹墨空间站`,value:""},{key:"SITE_URL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SITE_URL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://www.imaegoo.com`,value:""},{key:"CORS_ALLOW_ORIGIN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_CORS_ALLOW_ORIGIN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://www.imaegoo.com`,value:""},{key:"BLOGGER_NICK",desc:(0,r.t)("ADMIN_CONFIG_ITEM_BLOGGER_NICK"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}iMaeGoo`,value:""},{key:"BLOGGER_EMAIL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_BLOGGER_EMAIL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}12345@qq.com`,value:""},{key:"COMMENT_PAGE_SIZE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_COMMENT_PAGE_SIZE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}8`,value:""},{key:"MASTER_TAG",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MASTER_TAG"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}站长`,value:""},{key:"COMMENT_BG_IMG",desc:(0,r.t)("ADMIN_CONFIG_ITEM_COMMENT_BG_IMG"),ph:"",value:""},{key:"GRAVATAR_CDN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_GRAVATAR_CDN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}sdn.geekzu.org`,value:""},{key:"DEFAULT_GRAVATAR",desc:(0,r.t)("ADMIN_CONFIG_ITEM_DEFAULT_GRAVATAR"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}mp`,value:""},{key:"COMMENT_PLACEHOLDER",desc:(0,r.t)("ADMIN_CONFIG_ITEM_COMMENT_PLACEHOLDER"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}`,value:""},{key:"SHOW_ORDER",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_ORDER"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""},{key:"SHOW_DISLIKE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_DISLIKE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""},{key:"DISPLAYED_FIELDS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_DISPLAYED_FIELDS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}nick,mail,link`,value:""},{key:"REQUIRED_FIELDS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_REQUIRED_FIELDS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}nick,mail,link`,value:""},{key:"HIDE_ADMIN_CRYPT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_HIDE_ADMIN_CRYPT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}admin`,value:""},{key:"QQ_API_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_QQ_API_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}your_api_key`,value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_PLUGIN"),items:[{key:"IMAGE_CDN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN"),options:[{value:"",label:(0,r.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,r.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN_URL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://piclist.example.com`,value:"",showIf:e=>["lskypro","piclist","easyimage"].includes(e("IMAGE_CDN"))},{key:"IMAGE_CDN_TOKEN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN_TOKEN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}example`,value:"",showIf:e=>e("IMAGE_CDN")&&"s3"!==e("IMAGE_CDN")},{key:"S3_REGION",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_REGION"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}us-east-1`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_BUCKET",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_BUCKET"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}my-bucket`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_ACCESS_KEY_ID",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_ACCESS_KEY_ID"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}AKIAIOSFODNN7EXAMPLE`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_SECRET_ACCESS_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_SECRET_ACCESS_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`,value:"",secret:!0,showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_ENDPOINT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_ENDPOINT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://xxx.r2.cloudflarestorage.com`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_FORCE_PATH_STYLE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_FORCE_PATH_STYLE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_CDN_URL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_CDN_URL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://cdn.example.com`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_PATH_PREFIX",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_PATH_PREFIX"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}images/twikoo`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"NSFW_API_URL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_NSFW_API_URL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://nsfw.example.com`,value:""},{key:"NSFW_THRESHOLD",desc:(0,r.t)("ADMIN_CONFIG_ITEM_NSFW_THRESHOLD"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}0.5`,value:""},{key:"SHOW_EMOTION",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_EMOTION"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}false`,value:""},{key:"EMOTION_CDN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_EMOTION_CDN"),ph:"",value:""},{key:"HIGHLIGHT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}false`,value:""},{key:"HIGHLIGHT_THEME",desc:(0,r.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_THEME"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}tomorrow`,value:""},{key:"HIGHLIGHT_PLUGIN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_PLUGIN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}showLanguage`,value:""},{key:"LIGHTBOX",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LIGHTBOX"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_PRIVACY"),items:[{key:"SHOW_UA",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_UA"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}false`,value:""},{key:"SHOW_REGION",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_REGION"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_SPAM"),items:[{key:"AKISMET_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_AKISMET_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}8651783edxxx`,value:""},{key:"QCLOUD_SECRET_ID",desc:(0,r.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_ID"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}AKI******************************IHw`,value:""},{key:"QCLOUD_SECRET_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}Xrk**************************3D7`,value:"",secret:!0},{key:"QCLOUD_CMS_BIZTYPE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_QCLOUD_CMS_BIZTYPE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}1787728329856520192`,value:""},{key:"LIMIT_PER_MINUTE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}5`,value:""},{key:"LIMIT_PER_MINUTE_ALL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE_ALL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}5`,value:""},{key:"LIMIT_LENGTH",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LIMIT_LENGTH"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}100`,value:""},{key:"FORBIDDEN_WORDS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_FORBIDDEN_WORDS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}快递,空包`,value:""},{key:"BLOCKED_WORDS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_BLOCKED_WORDS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}快递,空包`,value:""},{key:"NOTIFY_SPAM",desc:(0,r.t)("ADMIN_CONFIG_ITEM_NOTIFY_SPAM"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}false`,value:""},{key:"LLM_API_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_API_KEY"),ph:"sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",value:"",secret:!0},{key:"LLM_API_ENDPOINT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_API_ENDPOINT"),ph:"https://api.deepseek.com",value:""},{key:"LLM_MODEL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_MODEL"),ph:"deepseek-v4-pro",value:""},{key:"LLM_SPAM_PROMPT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_SPAM_PROMPT"),ph:"",value:"",type:"textarea"},{key:"LLM_MAX_RETRIES",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_MAX_RETRIES"),ph:"3",value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_CAPTCHA"),items:[{key:"CAPTCHA_PROVIDER",desc:(0,r.t)("ADMIN_CONFIG_ITEM_CAPTCHA_PROVIDER"),options:[{value:"",label:(0,r.t)("ADMIN_CONFIG_CAPTCHA_NONE")},{value:"Turnstile",label:(0,r.t)("ADMIN_CONFIG_CAPTCHA_TURNSTILE")},{value:"Geetest",label:(0,r.t)("ADMIN_CONFIG_CAPTCHA_GEETEST")},{value:"Cap",label:(0,r.t)("ADMIN_CONFIG_CAPTCHA_CAP")}],value:""},{key:"TURNSTILE_SITE_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_TURNSTILE_SITE_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}0x4AAAAAAAPLTtpBr_T12345`,value:"",showIf:e=>"Turnstile"===e("CAPTCHA_PROVIDER")},{key:"TURNSTILE_SECRET_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_TURNSTILE_SECRET_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}0x4AAAAAAAPLTmBm6gHmOnOqC1iwmU12345`,value:"",secret:!0,showIf:e=>"Turnstile"===e("CAPTCHA_PROVIDER")},{key:"GEETEST_CAPTCHA_ID",desc:(0,r.t)("ADMIN_CONFIG_ITEM_GEETEST_CAPTCHA_ID"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}your_captcha_id`,value:"",showIf:e=>"Geetest"===e("CAPTCHA_PROVIDER")},{key:"GEETEST_CAPTCHA_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_GEETEST_CAPTCHA_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}your_captcha_key`,value:"",secret:!0,showIf:e=>"Geetest"===e("CAPTCHA_PROVIDER")},{key:"CAP_API_ENDPOINT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_CAP_API_ENDPOINT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://cap.example.com/d9256640cb53/(留空=内嵌,无需外部服务)`,value:"",showIf:e=>"Cap"===e("CAPTCHA_PROVIDER")},{key:"CAP_SECRET_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_CAP_SECRET_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}仅外部 Cap 需要;内嵌模式可留空`,value:"",secret:!0,showIf:e=>"Cap"===e("CAPTCHA_PROVIDER")}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_IM"),items:[{key:"PUSHOO_CHANNEL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_PUSHOO_CHANNEL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}pushdeer`,value:""},{key:"PUSHOO_TOKEN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_PUSHOO_TOKEN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}PDU431TfFHZICvR6lJrFBswSRN1cJ*****zzFvR`,value:""},{key:"SC_MAIL_NOTIFY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SC_MAIL_NOTIFY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_MAIL"),items:[{key:"SENDER_EMAIL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SENDER_EMAIL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}blog@imaegoo.com`,value:""},{key:"SENDER_NAME",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SENDER_NAME"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}虹墨空间站评论提醒`,value:""},{key:"SMTP_SERVICE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_SERVICE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}QQ`,value:""},{key:"SMTP_HOST",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_HOST"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}smtp.qq.com`,value:""},{key:"SMTP_PORT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_PORT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}465`,value:""},{key:"SMTP_SECURE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_SECURE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""},{key:"SMTP_USER",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_USER"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}blog@imaegoo.com`,value:""},{key:"SMTP_PASS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_PASS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}password`,value:"",secret:!0},{key:"MAIL_SUBJECT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}您在虹墨空间站上的评论收到了回复`,value:""},{key:"MAIL_TEMPLATE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE"),ph:"",value:"",type:"textarea"},{key:"MAIL_SUBJECT_ADMIN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT_ADMIN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}虹墨空间站上有新评论了`,value:""},{key:"MAIL_TEMPLATE_ADMIN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE_ADMIN"),ph:"",value:"",type:"textarea"}]}],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:o.version,message:"",emailTestAddress:"",emailTestResult:""}},methods:{t:r.t,async readConfig(){this.loading=!0;const e=await(0,r.call)(this.$tcb,"GET_CONFIG_FOR_ADMIN");e.result&&!e.result.code&&(this.serverConfig=e.result.config,"undefined"==typeof this.serverConfig.CAPTCHA_PROVIDER&&(this.serverConfig.TURNSTILE_SITE_KEY?this.serverConfig.CAPTCHA_PROVIDER="Turnstile":this.serverConfig.GEETEST_CAPTCHA_ID&&(this.serverConfig.CAPTCHA_PROVIDER="Geetest")),"undefined"==typeof this.serverConfig.IMAGE_CDN&&(this.serverConfig.SHOW_IMAGE,this.serverConfig.IMAGE_CDN=""),this.resetConfig()),this.loading=!1},resetConfig(){for(const e of this.settings)for(const t of e.items)this.serverConfig[t.key]!==undefined?t.value=this.serverConfig[t.key]:t.value=""},showSetting(e){return"function"!=typeof e.showIf||e.showIf(e=>{for(const t of this.settings){const n=t.items.find(t=>t.key===e);if(n)return n.value}return null})},async saveConfig(){this.loading=!0,this.message="正在保存";const e={};for(const t of this.settings)for(const n of t.items)this.serverConfig[n.key]!==n.value&&(e[n.key]=n.value);e.IMAGE_CDN!==undefined&&(e.SHOW_IMAGE=e.IMAGE_CDN?"true":"false"),r.logger.log("保存配置",e),await(0,r.call)(this.$tcb,"SET_CONFIG",{config:e}),await this.readConfig(),i.app.$emit("configUpdated"),this.message="保存成功",this.loading=!1},async testEmail(){this.loading=!0;const e=await(0,r.call)(this.$tcb,"EMAIL_TEST",{mail:this.emailTestAddress});r.logger.log("邮件测试",e),this.emailTestResult=JSON.stringify(e),this.loading=!1}},mounted(){this.readConfig()}}},3396:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(8129);t.A={data(){return{loading:!1}},methods:{t:r.t,async doExport(e){this.loading=!0;try{const t=await(0,r.call)(this.$tcb,"COMMENT_EXPORT_FOR_ADMIN",{collection:e});t.result.data&&this.downloadJson(`twikoo-${e}.json`,t.result.data)}finally{this.loading=!1}},downloadJson(e,t){const 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";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(8129);t.A={data(){return{loading:!1,source:"",logText:"",warnText:{valine:(0,r.t)("ADMIN_IMPORT_TIP_VALINE"),disqus:(0,r.t)("ADMIN_IMPORT_TIP_DISQUS"),artalk:(0,r.t)("ADMIN_IMPORT_TIP_ARTALK"),artalk2:"",twikoo:""}}},methods:{t:r.t,async uploadFile(){if(!this.source)return void this.log((0,r.t)("ADMIN_IMPORT_SOURCE_REQUIRED"));const e=this.$refs.inputFile.files[0];if(e){this.log((0,r.t)("ADMIN_IMPORT_START")),this.loading=!0;try{if(this.$tcb){const t=await this.$tcb.app.uploadFile({cloudPath:`import/${Date.now()}`,filePath:e,onUploadProgress:e=>{const t=Math.round(100*e.loaded/e.total);this.log(`${(0,r.t)("ADMIN_IMPORT_UPLOADING")}${t}%`)}});this.log(`${(0,r.t)("ADMIN_IMPORT_UPLOADED")}${t.fileID}`),await this.importFile(t.fileID)}else await this.importFileToVercel(e)}catch(t){console.error(t),this.log(t.message)}this.loading=!1}else this.log((0,r.t)("ADMIN_IMPORT_FILE_REQUIRED"))},async importFile(e){this.log(`${(0,r.t)("ADMIN_IMPORT_IMPORTING")}${this.source}`);const t=await(0,r.call)(this.$tcb,"COMMENT_IMPORT_FOR_ADMIN",{fileId:e,source:this.source});this.logText+=t.result.log,this.log(`${(0,r.t)("ADMIN_IMPORT_IMPORTED")}${this.source}`)},async importFileToVercel(e){this.log(`${(0,r.t)("ADMIN_IMPORT_IMPORTING")}${this.source}`);const t=await(0,r.call)(this.$tcb,"COMMENT_IMPORT_FOR_ADMIN",{file:await(0,r.readAsText)(e),source:this.source});this.logText+=t.result.log,this.log(`${(0,r.t)("ADMIN_IMPORT_IMPORTED")}${this.source}`)},log(e){this.logText+=`${(new Date).toLocaleString()} ${e}\n`,this.$nextTick(this.scrollLogToBottom)},scrollLogToBottom(){if(this.$refs.logTextArea){const e=this.$refs.logTextArea.$refs.textarea;e.scrollTop=e.scrollHeight}}}}},4064:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(2889)),i=n(2570),s=n(8129),a=r(n(9587));t.A={props:{config:Object,avatar:String,nick:String,mail:String,mailMd5:String,link:String},data(){return{iconUser:a["default"]}},computed:{gravatarCdn(){return this.config&&this.config.GRAVATAR_CDN?this.config.GRAVATAR_CDN:"weavatar.com"},defaultGravatar(){return this.config&&this.config.DEFAULT_GRAVATAR?this.config.DEFAULT_GRAVATAR:`initials&name=${this.nick}`},avatarInner(){if(this.avatar)return this.avatar;if(this.mailMd5)return`https://${this.gravatarCdn}/avatar/${this.mailMd5}?d=${this.defaultGravatar}`;if(this.mail&&(0,s.isQQ)(this.mail))return(0,s.getQQAvatar)(this.mail);if(this.mail){const e="cravatar.cn"===this.gravatarCdn?o["default"]:i.sha256;return`https://${this.gravatarCdn}/avatar/${e((0,s.normalizeMail)(this.mail))}?d=${this.defaultGravatar}`}return""}},methods:{onClick(){this.$emit("click"),this.link&&(window.open((0,s.convertLink)(this.link),"_blank").opener=null)}}}},3572:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=n(8129),i=r(n(6085)),s=r(n(3867)),a=r(n(5941)),l=r(n(2531)),c=r(n(9396)),u=r(n(6937)),d=r(n(8974)),p=r(n(7397)),h=r(n(58)),f=r(n(8443)),m=r(n(740)),g=r(n(3793)),_=r(n(7051)),v=r(n(9039)),b=r(n(3982));const y={win:l["default"],mac:c["default"],ipad:c["default"],iphone:c["default"],ios:c["default"],android:u["default"],ubuntu:p["default"],linux:d["default"]},w={edge:_["default"],chrome:h["default"],firefox:f["default"],safari:m["default"],explorer:g["default"],ie:g["default"]};t.A={name:"tk-comment",components:{TkAction:i["default"],TkAvatar:s["default"],TkSubmit:a["default"]},data(){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(){return(0,o.timeago)(this.comment.created)},jsonTimestamp(){return new Date(this.comment.created).toJSON()},localeTime(){return new Date(this.comment.created).toLocaleString()},iconOs(){return this.getIconBy(this.comment.os,y)},iconBrowser(){return this.getIconBy(this.comment.browser,w)},iconLocation:()=>b["default"],showExpand(){return this.hasExpand&&!this.isExpanded},showCollapse(){return this.hasExpand&&this.isExpanded},showContentExpand(){return this.hasContentExpand&&!this.isContentExpanded},showContentCollapse(){return this.hasContentExpand&&this.isContentExpanded},convertedLink(){return(0,o.convertLink)(this.comment.link)}},methods:{t:o.t,getIconBy(e,t){const n=e.toLowerCase();for(const r in t)if(-1!==n.indexOf(r))return t[r];return v["default"]},showExpandIfNeed(){this.comment.replies&&this.comment.replies.length>0&&this.$refs["tk-replies"]&&(this.hasExpand=this.$refs["tk-replies"].scrollHeight>236)},showContentExpandIfNeed(){this.hasContentExpand=this.hasContentExpand||this.$refs["tk-content"].scrollHeight>500},showContentExpandIfNeedAfterImagesLoaded(){this.$refs["tk-content"].querySelectorAll("img").forEach(e=>{e.onload=this.showContentExpandIfNeed})},scrollToComment(){-1!==window.location.hash.indexOf(this.comment.id)&&(this.$refs["tk-comment"].scrollIntoView({behavior:"smooth"}),this.$emit("expand"))},scrollToPid(e){const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"center"})},async onLike(){this.likeLoading||(this.likeLoading=!0,await(0,o.call)(this.$tcb,"COMMENT_LIKE",{id:this.comment.id,type:"up"}),this.liked?this.ups--:(this.ups++,this.disliked&&this.downs--),this.liked=!this.liked,this.disliked=!1,this.likeLoading=!1)},async onDislike(){this.likeLoading||(this.likeLoading=!0,await(0,o.call)(this.$tcb,"COMMENT_LIKE",{id:this.comment.id,type:"down"}),this.disliked?this.downs--:(this.downs++,this.liked&&this.ups--),this.disliked=!this.disliked,this.liked=!1,this.likeLoading=!1)},onReply(e){this.pid=e,this.$emit("reply",this.comment.id)},async onDelete(){if(!confirm((0,o.t)("COMMENT_DELETE_CONFIRM")))return;const{result:e}=await(0,o.call)(this.$tcb,"COMMENT_DELETE_FOR_USER",{id:this.comment.id});e.code?alert(e.message):this.$emit("load")},onReplyReply(e){this.pid=e,e?this.$emit("reply",this.comment.id):this.$emit("reply","")},onCancel(){this.pid="",this.$emit("reply","")},onLoad(){this.pid="",this.$emit("reply",""),this.$emit("load"),this.onExpand()},onRefreshed(){this.$emit("refreshed"),this.$nextTick(()=>{this.comment.replies&&this.comment.replies.length>0&&this.$refs["tk-replies"]&&this.$refs["tk-replies"].lastElementChild.scrollIntoView({behavior:"smooth",block:"center"})})},onExpand(){this.isExpanded=!0},onCollapse(){this.isExpanded=!1},onContentExpand(){this.isContentExpanded=!0},onContentCollapse(){this.isContentExpanded=!1},async checkAuth(){if(this.$tcb){const e=await this.$tcb.auth.getCurrenUser();this.isLogin="CUSTOM"===e.loginType}else this.isLogin=this.$twikoo.serverConfig&&this.$twikoo.serverConfig.IS_ADMIN},handleSpam(e){this.setComment({isSpam:e})},handleTop(e){this.setComment({top:e})},popupLightbox(e){if("true"!==this.$twikoo.serverConfig.LIGHTBOX)return;const{target:t}=e;if("IMG"===t.tagName&&!t.classList.contains("tk-owo-emotion")){const e=document.createElement("div");e.className="tk-lightbox";const n=document.createElement("img");n.className="tk-lightbox-image",n.src=t.src,e.appendChild(n),e.addEventListener("click",()=>{document.body.removeChild(e)}),document.body.appendChild(e)}},async setComment(e){this.loading=!0,await(0,o.call)(this.$tcb,"COMMENT_SET_FOR_ADMIN",{id:this.comment.id,set:e}),this.loading=!1,Object.assign(this.comment,e)}},mounted(){this.$nextTick(this.showContentExpandIfNeed),this.$nextTick(this.showContentExpandIfNeedAfterImagesLoaded),this.$nextTick(this.showExpandIfNeed),this.$nextTick(this.scrollToComment),this.$nextTick(()=>{(0,o.renderLinks)(this.$refs.comment),(0,o.renderMath)(this.$refs.comment,this.$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){"true"===e&&this.$nextTick(()=>{(0,o.renderCode)(this.$refs.comment,this.config.HIGHLIGHT_THEME,this.config.HIGHLIGHT_PLUGIN)})},immediate:!0}}}},4333:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(504)),i=r(n(9966)),s=r(n(4478)),a=n(8129),l=n(1085),c=r(n(362)),u=r(n(5941));t.A={components:{TkSubmit:u["default"],TkComment:c["default"]},props:{showAdminEntry:Boolean},data(){return{loading:!0,loadingMore:!1,errorMessage:"",config:{},comments:[],showExpand:!0,count:0,replyId:"",loadedPages:1,currentSort:"newest",iconSetting:o["default"],iconRefresh:i["default"]}},methods:{t:a.t,async initConfig(){const e=await(0,a.call)(this.$tcb,"GET_CONFIG");e&&e.result&&e.result.config&&(this.config=e.result.config,s["default"].prototype.$twikoo.serverConfig=e.result.config)},async initComments(){this.loading=!0;const e=(0,a.getUrl)(this.$twikoo.path);await this.getComments({url:e,sort:this.currentSort}),this.loading=!1},refresh(){this.comments=[],this.loadedPages=1,this.initComments()},async refreshPreservingState(){this.loading=!0;try{const e=(0,a.getUrl)(this.$twikoo.path);await this.getComments({url:e,sort:this.currentSort});for(let t=1;t<this.loadedPages&&await this.loadNextPage(e);t++);}finally{this.loading=!1}this.$emit("refreshed")},setSort(e){this.currentSort!==e&&(this.currentSort=e,this.comments=[],this.loadedPages=1,this.initComments())},async onExpand(){if(!this.loadingMore){this.loadingMore=!0,this.loadedPages++;try{const e=(0,a.getUrl)(this.$twikoo.path);await this.loadNextPage(e)}finally{this.loadingMore=!1}}},getOldestCreated(){let e=Infinity;for(const t of this.comments)!t.top&&t.created<e&&(e=t.created);return e===Infinity?undefined:e},async loadNextPage(e){const t=this.getOldestCreated();return t!==undefined&&(await this.getComments({url:e,before:t,sort:this.currentSort}),!0)},onCommentLoaded(){"function"==typeof this.$twikoo.onCommentLoaded&&this.$twikoo.onCommentLoaded()},async getComments(e){try{const t=await(0,a.call)(this.$tcb,"COMMENT_GET",e);t&&t.result&&t.result.data&&(this.comments=e.before?this.comments.concat(t.result.data):t.result.data,this.showExpand=t.result.more,this.count=t.result.count||this.comments.length||0,this.$nextTick(this.onCommentLoaded))}catch(t){this.errorMessage=t.message}},onReply(e){this.replyId=e},openAdmin(){this.$emit("admin")}},mounted(){this.initConfig(),this.initComments(),l.app.$on("configUpdated",this.initConfig)}}},418:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(2199);t.A={data(){return{version:r.version}}}},2362:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(1085),o=n(8129),i=n(585);const s=/^[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(){return{metaInputs:[{key:"nick",locale:(0,o.t)("META_INPUT_NICK"),name:"nick",type:"text"},{key:"mail",locale:(0,o.t)("META_INPUT_MAIL"),name:"mail",type:"email"},{key:"link",locale:(0,o.t)("META_INPUT_LINK"),name:"link",type:"text"}],metaData:{nick:"",mail:"",link:""}}},computed:{displayedFields(){const 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(){return this.metaInputs.filter(e=>!!this.displayedFields[e.key])},requiredFields(){const 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:o.t,initMeta(){const e=localStorage.getItem("twikoo");if(e){const t=JSON.parse(e);this.metaData.nick=t.nick,this.metaData.mail=t.mail,this.metaData.link=t.link}this.updateMeta()},updateMeta(){localStorage.setItem("twikoo",JSON.stringify(this.metaData)),this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},checkValid(){const e=s.test(this.metaData.mail);return(this.metaData.nick||!this.requiredFields.nick)&&(e||!this.requiredFields.mail)&&(this.metaData.link||!this.requiredFields.link)},checkQQ(){if((0,o.isQQ)(this.metaData.nick)){const e=this.metaData.nick.replace(/@qq.com/gi,""),t=`${e}@qq.com`;this.metaData.mail=t,this.getQQNick(e)}},clearNickIfFromQQInput(){(0,o.isQQ)(this.metaData.nick)&&(this.metaData.nick="",this.updateMeta())},async getQQNick(e){try{const{result:t}=await(0,i.call)(null,"GET_QQ_NICK",{qq:e});t&&t.nick?(this.metaData.nick=t.nick,this.updateMeta()):this.clearNickIfFromQQInput()}catch(t){console.warn("获取 QQ 昵称失败:",t),this.clearNickIfFromQQInput()}},checkAdminCrypt(){const e=this.$root.$children[0],t=!this.config.HIDE_ADMIN_CRYPT||this.config.HIDE_ADMIN_CRYPT===this.metaData.nick;e.onShowAdminEntry(t)},onMetaChange(){this.checkQQ(),this.updateMeta(),this.checkAdminCrypt()}},watch:{nick(e){this.metaData.nick=e},mail(e){this.metaData.mail=e},link(e){this.metaData.link=e},requiredFields:{handler(e,t){this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},deep:!0},"config.VERSION"(){this.checkAdminCrypt()}},mounted(){r.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(){return{currentPage:1,userInput:0,userPageSize:0,pagers:[]}},computed:{pageCount(){return Math.ceil(this.total/this.pageSize)}},methods:{t:r.t,generatePager(){const e=[];for(let t=1;t<=this.pageCount;t++)Math.abs(this.currentPage-t)<3||1===t||t===this.pageCount?e.push({title:`${t}`,page:t}):Math.abs(this.currentPage-t)<4&&e.push({title:"...",page:t});this.pagers=e},currentChange(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(e){this.userPageSize=0,this.$emit("page-size-change",parseInt(e))},handleInput(e){this.userInput=parseInt(e)},handleInputPageSize(e){this.userPageSize=parseInt(e)}},watch:{total:{handler(){this.generatePager()},immediate:!0},pageSize:{handler(){this.generatePager()}}}}},147:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(1423)),i=r(n(5171)),s=r(n(6639)),a=r(n(2573)),l=r(n(1628)),c=n(8129),u=r(n(3867)),d=r(n(9323));const p=["apng","bmp","gif","jpeg","jpg","png","svg","tif","tiff","webp"];t.A={components:{TkAvatar:u["default"],TkMetaInput:d["default"]},directives:{Clickoutside:a["default"]},props:{replyId:String,pid:String,config:Object},data(){return{isSending:!1,isPreviewing:!1,isMetaValid:!1,errorMessage:"",owo:null,comment:"",commentHtml:"",nick:"",mail:"",link:"",turnstileLoad:null,geeTestLoad:null,geeTestCaptchaObj:null,capLoad:null,iconMarkdown:o["default"],iconEmotion:s["default"],iconImage:i["default"]}},computed:{captchaProvider(){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||this.config.CAP_BUILTIN?"Cap":""},showImage(){return!!this.config.IMAGE_CDN},canSend(){return!this.isSending&&!!this.isMetaValid&&!!this.comment.trim()},textarea(){return this.$refs.textarea?this.$refs.textarea.$refs.textarea:null},commentPlaceholder(){let e=this.$twikoo.placeholder||this.config.COMMENT_PLACEHOLDER||"";return e=e.replace(/<br>/g,"\n"),e},maxLength(){let e=parseInt(this.config.LIMIT_LENGTH);return Number.isNaN(e)&&(e=500),e>0?e:null}},methods:{t:c.t,initDraft(){const e=localStorage.getItem("twikoo-draft");!this.comment&&e&&(this.comment=e)},saveDraft(){localStorage.setItem("twikoo-draft",this.comment)},async initOwo(){if("true"===this.config.SHOW_EMOTION){const e=await(0,c.initOwoEmotions)(this.config.EMOTION_CDN||"https://owo.imaegoo.com/owo.json");this.owo=new l["default"]({logo:s["default"],container:this.$refs.owo,target:this.textarea,odata:e,position:"down",maxHeight:"250px"}),c.marked.setOptions({odata:(0,c.initMarkedOwo)(e)})}},initTurnstile(){"Turnstile"===this.captchaProvider&&this.config.TURNSTILE_SITE_KEY&&(window.turnstile?this.turnstileLoad=Promise.resolve():this.turnstileLoad=new Promise((e,t)=>{const n=document.createElement("script");n.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",n.onload=e,n.onerror=t,this.$refs["turnstile-container"].appendChild(n)}))},getTurnstileToken(){return new Promise((e,t)=>{this.turnstileLoad.then(()=>{const n=window.turnstile.render(this.$refs.turnstile,{sitekey:this.config.TURNSTILE_SITE_KEY,callback:t=>{e(t),setTimeout(()=>{window.turnstile.remove(n)},1e3)},"error-callback":t,"expired-callback":()=>{t(new Error("验证码已过期,请重试"))},"timeout-callback":()=>{t(new Error("验证码超时,请重试"))}})})})},initGeeTest(){"Geetest"===this.captchaProvider&&this.config.GEETEST_CAPTCHA_ID&&(window.initGeetest4?this.geeTestLoad=Promise.resolve():this.geeTestLoad=new Promise((e,t)=>{const n=document.createElement("script");n.src="https://static.geetest.com/v4/gt4.js",n.onload=e,n.onerror=t,this.$refs["geetest-container"].appendChild(n)}))},getGeeTestToken(){return new Promise((e,t)=>{this.geeTestLoad.then(()=>{window.initGeetest4({captchaId:this.config.GEETEST_CAPTCHA_ID,product:"bind",language:"zho"},n=>{this.geeTestCaptchaObj=n,n.onReady(()=>{n.showCaptcha()}).onSuccess(()=>{const t=n.getValidate();e({geeTestLotNumber:t.lot_number,geeTestCaptchaOutput:t.captcha_output,geeTestPassToken:t.pass_token,geeTestGenTime:t.gen_time})}).onError(e=>{t(e)}).onClose(()=>{t(new Error("验证已取消"))})})})})},initCap(){"Cap"===this.captchaProvider&&(this.config.CAP_API_ENDPOINT||this.config.CAP_BUILTIN)&&(this.config.CAP_BUILTIN&&(window.CAP_CUSTOM_FETCH=async(e,t={})=>{const n=String(e),r=t.body?JSON.parse(t.body):{};try{if(n.includes("challenge")){const e=await(0,c.call)(this.$tcb,"CAP_CHALLENGE"),t=e.result||e;return t.code&&0!==t.code?{ok:!1,json:async()=>({error:t.message||"challenge_failed"})}:{ok:!0,json:async()=>({challenge:t.challenge,token:t.token,expires:t.expires})}}if(n.includes("redeem")){const e=await(0,c.call)(this.$tcb,"CAP_REDEEM",r),t=e.result||e;return t.code&&0!==t.code&&!0!==t.success?{ok:!0,json:async()=>({success:!1,error:t.message||t.error||"redeem_failed"})}:{ok:!0,json:async()=>({success:t.success,token:t.token,expires:t.expires,message:t.message,error:t.error||t.message})}}return{ok:!1,json:async()=>({error:"unknown_cap_path"})}}catch(o){return{ok:!1,json:async()=>({error:o.message||"cap_fetch_failed"})}}}),window.Cap||customElements.get("cap-widget")?this.capLoad=Promise.resolve():this.capLoad=new Promise((e,t)=>{const n=document.createElement("script");n.src="https://cdn.jsdmirror.com/npm/@cap.js/widget",n.onload=e,n.onerror=t,this.$refs["cap-container"].appendChild(n)}))},getCapToken(){return new Promise((e,t)=>{this.capLoad.then(()=>{const n=document.createElement("cap-widget");n.setAttribute("id","cap-widget");const r=this.config.CAP_BUILTIN?"/":this.config.CAP_API_ENDPOINT;n.setAttribute("data-cap-api-endpoint",r),this.$refs["cap-container"].appendChild(n);const o=()=>{n&&n.parentNode&&n.parentNode.removeChild(n)};n.solve().then(n=>{o(),n.success?e(n.token):t(new Error("Cap验证失败"))})["catch"](e=>{o(),t(e)})})["catch"](t)})},onMetaUpdate(e){this.nick=e.meta.nick,this.mail=e.meta.mail,this.link=e.meta.link,this.isMetaValid=e.valid},cancel(){this.$emit("cancel")},onCommentInput(){this.saveDraft(),this.updatePreview()},preview(){this.isPreviewing=!this.isPreviewing,this.updatePreview()},updatePreview(){this.isPreviewing&&(this.commentHtml=(0,c.marked)(this.comment),this.$nextTick(()=>{(0,c.renderLinks)(this.$refs["comment-preview"]),(0,c.renderMath)(this.$refs["comment-preview"],this.$twikoo.katex),"true"===this.config.HIGHLIGHT&&(0,c.renderCode)(this.$refs["comment-preview"],this.config.HIGHLIGHT_THEME,this.config.HIGHLIGHT_PLUGIN)}))},async send(){this.isSending=!0;try{if(this.comment.match(new RegExp(`!\\[${(0,c.t)("IMAGE_UPLOAD_PLACEHOLDER")}.+\\]\\(\\)`)))throw new Error((0,c.t)("IMAGE_UPLOAD_PLEASE_WAIT"));const e={nick:this.nick,mail:this.mail,link:this.link,ua:await(0,c.getUserAgent)(),url:(0,c.getUrl)(this.$twikoo.path),href:(0,c.getHref)(this.$twikoo.href),comment:(0,c.marked)(this.comment),pid:this.pid?this.pid:this.replyId,rid:this.replyId};if("Turnstile"===this.captchaProvider&&this.config.TURNSTILE_SITE_KEY&&(e.turnstileToken=await this.getTurnstileToken()),"Geetest"===this.captchaProvider&&this.config.GEETEST_CAPTCHA_ID){const t=await this.getGeeTestToken();e.geeTestLotNumber=t.geeTestLotNumber,e.geeTestCaptchaOutput=t.geeTestCaptchaOutput,e.geeTestPassToken=t.geeTestPassToken,e.geeTestGenTime=t.geeTestGenTime}"Cap"===this.captchaProvider&&(this.config.CAP_API_ENDPOINT||this.config.CAP_BUILTIN)&&(e.capToken=await this.getCapToken());const t=await(0,c.call)(this.$tcb,"COMMENT_SUBMIT",e);if(!(t&&t.result&&t.result.id))throw new Error(t.result.message);this.comment="",this.errorMessage="",this.$emit("load"),this.saveDraft()}catch(e){c.logger.error("评论失败",e),this.errorMessage=`${(0,c.t)("COMMENT_FAILED")}: ${e&&e.message}`}finally{this.isSending=!1}},addEventListener(){this.textarea&&this.textarea.addEventListener("paste",this.onPaste)},onBgImgChange(){this.config.COMMENT_BG_IMG&&this.textarea&&(this.textarea.style["background-image"]=`url("${this.config.COMMENT_BG_IMG}")`)},onEnterKeyUp(e){(e.ctrlKey||e.metaKey)&&this.canSend&&(this.send(),e.preventDefault())},closeOwo(){this.owo&&this.owo.container.classList.contains("OwO-open")&&this.owo.toggle()},openSelectImage(){this.$refs.inputFile.click()},onSelectImage(){const e=this.$refs.inputFile.files[0];this.parseAndUploadPhoto(e)},onPaste(e){if(!e.clipboardData)return;let t;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)},async parseAndUploadPhoto(e){if(!e||!this.showImage)return;const t=e.name.split("."),n=t.length>1?t.pop():"";if(-1===p.indexOf(n.toLowerCase()))return;const r=this.getUserId(),o=`${Date.now()}-${r}`,i=t.join("."),s="image/gif"===e.type,a=s?i:i+".webp",l=s?n:"webp";this.paste(this.getImagePlaceholder(o,l));const u=this.config.IMAGE_CDN,d=await this.compressImage(e);!this.$tcb||u&&"qcloud"!==u?u?this.uploadPhotoToThirdParty(o,a,l,d):this.uploadFailed(o,l,(0,c.t)("IMAGE_UPLOAD_FAILED_NO_CONF")):this.uploadPhotoToQcloud(o,a,l,d)},getUserId(){return this.$tcb?this.$tcb.auth.currentUser.uid:localStorage.getItem("twikoo-access-token")},async compressImage(e){return"image/gif"===e.type?e:new Promise(t=>{const n=new FileReader;n.onload=n=>{const r=new Image;r.onload=()=>{const n=document.createElement("canvas");let o=r.width,i=r.height;const s=1920;(o>s||i>s)&&(o>i?(i=i*s/o,o=s):(o=o*s/i,i=s)),n.width=o,n.height=i,n.getContext("2d").drawImage(r,0,0,o,i);const a="image/webp",l=e.name.replace(/\.[^.]+$/,".webp");n.toBlob(e=>{t(new File([e],l,{type:a}))},a,.85)},r.src=n.target.result},n.readAsDataURL(e)})},async uploadPhotoToQcloud(e,t,n,r){try{const o=await this.$tcb.app.uploadFile({cloudPath:`tk-img/${e}.${n}`,filePath:r});if(o.fileID){const r=(await this.$tcb.app.getTempFileURL({fileList:[o.fileID]})).fileList[0].tempFileURL;this.uploadCompleted(e,t,n,r)}}catch(o){console.error(o),this.uploadFailed(e,n,o.message)}},async uploadPhotoToThirdParty(e,t,n,r){try{const{result:o}=await(0,c.call)(this.$tcb,"UPLOAD_IMAGE",{fileName:t,photo:await(0,c.blobToDataURL)(r)});o.data?this.uploadCompleted(e,t,n,o.data.url):1041===o.code?this.uploadFailed(e,n,(0,c.t)("IMAGE_UPLOAD_NSFW")):(console.error(o),this.uploadFailed(e,n,o.err))}catch(o){console.error(o),this.uploadFailed(e,n,o.message)}},uploadCompleted(e,t,n,r){t=t.replace(/[[\]]/g,"_"),this.comment=this.comment.replace(this.getImagePlaceholder(e,n),`![${t}](${r})`),this.$refs.inputFile.value=""},uploadFailed(e,t,n){this.comment=this.comment.replace(this.getImagePlaceholder(e,t),`_${(0,c.t)("IMAGE_UPLOAD_FAILED")}: ${n}_`),this.$refs.inputFile.value=""},paste(e){if(document.selection)document.selection.createRange().text=e;else if(this.textarea.selectionStart||0===this.textarea.selectionStart){const 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(e,t){return`![${(0,c.t)("IMAGE_UPLOAD_PLACEHOLDER")} ${e}.${t}]()`}},mounted(){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()}}}},4478:function(e,t,n){"use strict";e.exports=n(6615)},6615:function(e,t,n){"use strict";const r=Object.freeze({}),o=Array.isArray;function i(e){return null==e}function s(e){return null!=e}function a(e){return!0===e}function l(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return"function"==typeof e}function u(e){return null!==e&&"object"==typeof e}const d=Object.prototype.toString;function p(e){return"[object Object]"===d.call(e)}function h(e){const t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return s(e)&&"function"==typeof e.then&&"function"==typeof e["catch"]}function m(e){return null==e?"":Array.isArray(e)||p(e)&&e.toString===d?JSON.stringify(e,g,2):String(e)}function g(e,t){return t&&t.__v_isRef?t.value:t}function _(e){const t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?e=>n[e.toLowerCase()]:e=>n[e]}const b=v("key,ref,slot,slot-scope,is");function y(e,t){const n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);const r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}const w=Object.prototype.hasOwnProperty;function k(e,t){return w.call(e,t)}function E(e){const t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}const S=/-(\w)/g,I=E(e=>e.replace(S,(e,t)=>t?t.toUpperCase():"")),C=E(e=>e.charAt(0).toUpperCase()+e.slice(1)),T=/\B([A-Z])/g,A=E(e=>e.replace(T,"-$1").toLowerCase()),O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){const 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 x(e,t){t=t||0;let n=e.length-t;const r=new Array(n);for(;n--;)r[n]=e[n+t];return r}function P(e,t){for(const n in t)e[n]=t[n];return e}function M(e){const t={};for(let n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}function N(e,t,n){}const R=(e,t,n)=>!1,L=e=>e;function D(e,t){if(e===t)return!0;const n=u(e),r=u(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{const n=Array.isArray(e),r=Array.isArray(t);if(n&&r)return e.length===t.length&&e.every((e,n)=>D(e,t[n]));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(n||r)return!1;{const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>D(e[n],t[n]))}}catch(e){return!1}}function $(e,t){for(let n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function U(e){let t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function j(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}const F="data-server-rendered",G=["component","directive","filter"],q=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"];var z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:R,isReservedAttr:R,isUnknownElement:R,getTagNamespace:N,parsePlatformTagName:L,mustUseProp:R,async:!0,_lifecycleHooks:q};function B(e){const t=(e+"").charCodeAt(0);return 36===t||95===t}function H(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}const W=new RegExp(`[^${/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]`),V="__proto__"in{},K="undefined"!=typeof window,Q=K&&window.navigator.userAgent.toLowerCase(),X=Q&&/msie|trident/.test(Q),Y=Q&&Q.indexOf("msie 9.0")>0,J=Q&&Q.indexOf("edge/")>0;Q&&Q.indexOf("android");const Z=Q&&/iphone|ipad|ipod|ios/.test(Q);Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q);const ee=Q&&Q.match(/firefox\/(\d+)/),te={}.watch;let ne,re=!1;if(K)try{const e={};Object.defineProperty(e,"passive",{get(){re=!0}}),window.addEventListener("test-passive",null,e)}catch(r){}const oe=()=>(void 0===ne&&(ne=!K&&"undefined"!=typeof n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),ne),ie=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}const ae="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);let le;le="undefined"!=typeof Set&&se(Set)?Set:class{constructor(){this.set=Object.create(null)}has(e){return!0===this.set[e]}add(e){this.set[e]=!0}clear(){this.set=Object.create(null)}};let ce=null;function ue(e=null){e||ce&&ce._scope.off(),ce=e,e&&e._scope.on()}class de{constructor(e,t,n,r,o,i,s,a){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=s,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=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}get child(){return this.componentInstance}}const pe=(e="")=>{const t=new de;return t.text=e,t.isComment=!0,t};function he(e){return new de(void 0,void 0,void 0,String(e))}function fe(e){const t=new de(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}let me=0;const ge=[];class _e{constructor(){this._pending=!1,this.id=me++,this.subs=[]}addSub(e){this.subs.push(e)}removeSub(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,ge.push(this))}depend(e){_e.target&&_e.target.addDep(this)}notify(e){const t=this.subs.filter(e=>e);for(let n=0,r=t.length;n<r;n++)t[n].update()}}_e.target=null;const ve=[];function be(e){ve.push(e),_e.target=e}function ye(){ve.pop(),_e.target=ve[ve.length-1]}const we=Array.prototype,ke=Object.create(we);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){const t=we[e];H(ke,e,function(...n){const r=t.apply(this,n),o=this.__ob__;let i;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&o.observeArray(i),o.dep.notify(),r})});const Ee=Object.getOwnPropertyNames(ke),Se={};let Ie=!0;function Ce(e){Ie=e}const Te={notify:N,depend:N,addSub:N,removeSub:N};class Ae{constructor(e,t=!1,n=!1){if(this.value=e,this.shallow=t,this.mock=n,this.dep=n?Te:new _e,this.vmCount=0,H(e,"__ob__",this),o(e)){if(!n)if(V)e.__proto__=ke;else for(let t=0,n=Ee.length;t<n;t++){const n=Ee[t];H(e,n,ke[n])}t||this.observeArray(e)}else{const r=Object.keys(e);for(let o=0;o<r.length;o++)xe(e,r[o],Se,void 0,t,n)}}observeArray(e){for(let t=0,n=e.length;t<n;t++)Oe(e[t],!1,this.mock)}}function Oe(e,t,n){return e&&k(e,"__ob__")&&e.__ob__ instanceof Ae?e.__ob__:!Ie||!n&&oe()||!o(e)&&!p(e)||!Object.isExtensible(e)||e.__v_skip||Fe(e)||e instanceof de?void 0:new Ae(e,t,n)}function xe(e,t,n,r,i,s,a=!1){const l=new _e,c=Object.getOwnPropertyDescriptor(e,t);if(c&&!1===c.configurable)return;const u=c&&c.get,d=c&&c.set;u&&!d||n!==Se&&2!==arguments.length||(n=e[t]);let p=i?n&&n.__ob__:Oe(n,!1,s);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){const t=u?u.call(e):n;return _e.target&&(l.depend(),p&&(p.dep.depend(),o(t)&&Ne(t))),Fe(t)&&!i?t.value:t},set:function(t){const r=u?u.call(e):n;if(j(r,t)){if(d)d.call(e,t);else{if(u)return;if(!i&&Fe(r)&&!Fe(t))return void(r.value=t);n=t}p=i?t&&t.__ob__:Oe(t,!1,s),l.notify()}}}),l}function Pe(e,t,n){if(Ue(e))return;const r=e.__ob__;return o(e)&&h(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Oe(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(xe(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}function Me(e,t){if(o(e)&&h(t))return void e.splice(t,1);const n=e.__ob__;e._isVue||n&&n.vmCount||Ue(e)||k(e,t)&&(delete e[t],n&&n.dep.notify())}function Ne(e){for(let t,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),o(t)&&Ne(t)}function Re(e){return Le(e,!0),H(e,"__v_isShallow",!0),e}function Le(e,t){Ue(e)||Oe(e,t,oe())}function De(e){return Ue(e)?De(e.__v_raw):!(!e||!e.__ob__)}function $e(e){return!(!e||!e.__v_isShallow)}function Ue(e){return!(!e||!e.__v_isReadonly)}const je="__v_isRef";function Fe(e){return!(!e||!0!==e.__v_isRef)}function Ge(e,t){if(Fe(e))return e;const n={};return H(n,je,!0),H(n,"__v_isShallow",t),H(n,"dep",xe(n,"value",e,null,t,oe())),n}function qe(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>{const e=t[n];if(Fe(e))return e.value;{const t=e&&e.__ob__;return t&&t.dep.depend(),e}},set:e=>{const r=t[n];Fe(r)&&!Fe(e)?r.value=e:t[n]=e}})}function ze(e,t,n){const r=e[t];if(Fe(r))return r;const o={get value(){const r=e[t];return void 0===r?n:r},set value(n){e[t]=n}};return H(o,je,!0),o}function Be(e){return He(e,!1)}function He(e,t){if(!p(e))return e;if(Ue(e))return e;const n=t?"__v_rawToShallowReadonly":"__v_rawToReadonly",r=e[n];if(r)return r;const o=Object.create(Object.getPrototypeOf(e));H(e,n,o),H(o,"__v_isReadonly",!0),H(o,"__v_raw",e),Fe(e)&&H(o,je,!0),(t||$e(e))&&H(o,"__v_isShallow",!0);const i=Object.keys(e);for(let s=0;s<i.length;s++)We(o,e,i[s],t);return o}function We(e,t,n,r){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){const e=t[n];return r||!p(e)?e:Be(e)},set(){}})}const Ve="watcher",Ke=`${Ve} callback`,Qe=`${Ve} getter`,Xe=`${Ve} cleanup`;function Ye(e,t){return Ze(e,null,{flush:"post"})}const Je={};function Ze(e,t,{immediate:n,deep:i,flush:s="pre",onTrack:a,onTrigger:l}=r){const u=ce,d=(e,t,n=null)=>{const r=Bt(e,null,n,u,t);return i&&r&&r.__ob__&&r.__ob__.dep.depend(),r};let p,h,f=!1,m=!1;if(Fe(e)?(p=()=>e.value,f=$e(e)):De(e)?(p=()=>(e.__ob__.dep.depend(),e),i=!0):o(e)?(m=!0,f=e.some(e=>De(e)||$e(e)),p=()=>e.map(e=>Fe(e)?e.value:De(e)?(e.__ob__.dep.depend(),gn(e)):c(e)?d(e,Qe):void 0)):p=c(e)?t?()=>d(e,Qe):()=>{if(!u||!u._isDestroyed)return h&&h(),d(e,Ve,[g])}:N,t&&i){const e=p;p=()=>gn(e())}let g=e=>{h=_.onStop=()=>{d(e,Xe)}};if(oe())return g=N,t?n&&d(t,Ke,[p(),m?[]:void 0,g]):p(),N;const _=new yn(ce,p,N,{lazy:!0});_.noRecurse=!t;let v=m?[]:Je;return _.run=()=>{if(_.active)if(t){const e=_.get();(i||f||(m?e.some((e,t)=>j(e,v[t])):j(e,v)))&&(h&&h(),d(t,Ke,[e,v===Je?void 0:v,g]),v=e)}else _.get()},"sync"===s?_.update=_.run:"post"===s?(_.post=!0,_.update=()=>Gn(_)):_.update=()=>{if(u&&u===ce&&!u._isMounted){const e=u._preWatchers||(u._preWatchers=[]);e.indexOf(_)<0&&e.push(_)}else Gn(_)},t?n?_.run():v=_.get():"post"===s&&u?u.$once("hook:mounted",()=>_.get()):_.get(),()=>{_.teardown()}}let et;class tt{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=et,!e&&et&&(this.index=(et.scopes||(et.scopes=[])).push(this)-1)}run(e){if(this.active){const t=et;try{return et=this,e()}finally{et=t}}}on(){et=this}off(){et=this.parent}stop(e){if(this.active){let 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){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this.active=!1}}}function nt(){return et}function rt(e){const t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}const ot=E(e=>{const 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 it(e,t){function n(){const e=n.fns;if(!o(e))return Bt(e,null,arguments,t,"v-on handler");{const n=e.slice();for(let e=0;e<n.length;e++)Bt(n[e],null,arguments,t,"v-on handler")}}return n.fns=e,n}function st(e,t,n,r,o,s){let l,c,u,d;for(l in e)c=e[l],u=t[l],d=ot(l),i(c)||(i(u)?(i(c.fns)&&(c=e[l]=it(c,s)),a(d.once)&&(c=e[l]=o(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)i(e[l])&&(d=ot(l),r(d.name,t[l],d.capture))}function at(e,t,n){let r;e instanceof de&&(e=e.data.hook||(e.data.hook={}));const o=e[t];function l(){n.apply(this,arguments),y(r.fns,l)}i(o)?r=it([l]):s(o.fns)&&a(o.merged)?(r=o,r.fns.push(l)):r=it([o,l]),r.merged=!0,e[t]=r}function lt(e,t,n,r,o){if(s(t)){if(k(t,n))return e[n]=t[n],o||delete t[n],!0;if(k(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function ct(e){return l(e)?[he(e)]:o(e)?dt(e):void 0}function ut(e){return s(e)&&s(e.text)&&!1===e.isComment}function dt(e,t){const n=[];let r,c,u,d;for(r=0;r<e.length;r++)c=e[r],i(c)||"boolean"==typeof c||(u=n.length-1,d=n[u],o(c)?c.length>0&&(c=dt(c,`${t||""}_${r}`),ut(c[0])&&ut(d)&&(n[u]=he(d.text+c[0].text),c.shift()),n.push.apply(n,c)):l(c)?ut(d)?n[u]=he(d.text+c):""!==c&&n.push(he(c)):ut(c)&&ut(d)?n[u]=he(d.text+c.text):(a(e._isVList)&&s(c.tag)&&i(c.key)&&s(t)&&(c.key=`__vlist${t}_${r}__`),n.push(c)));return n}function pt(e,t){let n,r,i,a,l=null;if(o(e)||"string"==typeof e)for(l=new Array(e.length),n=0,r=e.length;n<r;n++)l[n]=t(e[n],n);else if("number"==typeof e)for(l=new Array(e),n=0;n<e;n++)l[n]=t(n+1,n);else if(u(e))if(ae&&e[Symbol.iterator]){l=[];const n=e[Symbol.iterator]();let r=n.next();for(;!r.done;)l.push(t(r.value,l.length)),r=n.next()}else for(i=Object.keys(e),l=new Array(i.length),n=0,r=i.length;n<r;n++)a=i[n],l[n]=t(e[a],a,n);return s(l)||(l=[]),l._isVList=!0,l}function ht(e,t,n,r){const o=this.$scopedSlots[e];let i;o?(n=n||{},r&&(n=P(P({},r),n)),i=o(n)||(c(t)?t():t)):i=this.$slots[e]||(c(t)?t():t);const s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function ft(e){return ir(this.$options,"filters",e)||L}function mt(e,t){return o(e)?-1===e.indexOf(t):e!==t}function gt(e,t,n,r,o){const i=z.keyCodes[t]||n;return o&&r&&!z.keyCodes[t]?mt(o,r):i?mt(i,e):r?A(r)!==t:void 0===e}function _t(e,t,n,r,i){if(n&&u(n)){let s;o(n)&&(n=M(n));for(const o in n){if("class"===o||"style"===o||b(o))s=e;else{const n=e.attrs&&e.attrs.type;s=r||z.mustUseProp(t,n,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}const a=I(o),l=A(o);a in s||l in s||(s[o]=n[o],!i)||((e.on||(e.on={}))[`update:${o}`]=function(e){n[o]=e})}}return e}function vt(e,t){const n=this._staticTrees||(this._staticTrees=[]);let r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),yt(r,`__static__${e}`,!1)),r}function bt(e,t,n){return yt(e,`__once__${t}${n?`_${n}`:""}`,!0),e}function yt(e,t,n){if(o(e))for(let r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&wt(e[r],`${t}_${r}`,n);else wt(e,t,n)}function wt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function kt(e,t){if(t&&p(t)){const n=e.on=e.on?P({},e.on):{};for(const e in t){const r=n[e],o=t[e];n[e]=r?[].concat(r,o):o}}return e}function Et(e,t,n,r){t=t||{$stable:!n};for(let i=0;i<e.length;i++){const r=e[i];o(r)?Et(r,t,n):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return r&&(t.$key=r),t}function St(e,t){for(let n=0;n<t.length;n+=2){const r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function It(e,t){return"string"==typeof e?t+e:e}function Ct(e){e._o=bt,e._n=_,e._s=m,e._l=pt,e._t=ht,e._q=D,e._i=$,e._m=vt,e._f=ft,e._k=gt,e._b=_t,e._v=he,e._e=pe,e._u=Et,e._g=kt,e._d=St,e._p=It}function Tt(e,t){if(!e||!e.length)return{};const n={};for(let r=0,o=e.length;r<o;r++){const o=e[r],i=o.data;if(i&&i.attrs&&i.attrs.slot&&delete i.attrs.slot,o.context!==t&&o.fnContext!==t||!i||null==i.slot)(n["default"]||(n["default"]=[])).push(o);else{const e=i.slot,t=n[e]||(n[e]=[]);"template"===o.tag?t.push.apply(t,o.children||[]):t.push(o)}}for(const r in n)n[r].every(At)&&delete n[r];return n}function At(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ot(e){return e.isComment&&e.asyncFactory}function xt(e,t,n,o){let i;const s=Object.keys(n).length>0,a=t?!!t.$stable:!s,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&o&&o!==r&&l===o.$key&&!s&&!o.$hasNormal)return o;i={};for(const r in t)t[r]&&"$"!==r[0]&&(i[r]=Pt(e,n,r,t[r]))}else i={};for(const r in n)r in i||(i[r]=Mt(n,r));return t&&Object.isExtensible(t)&&(t._normalized=i),H(i,"$stable",a),H(i,"$key",l),H(i,"$hasNormal",s),i}function Pt(e,t,n,r){const i=function(){const t=ce;ue(e);let n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"==typeof n&&!o(n)?[n]:ct(n);const i=n&&n[0];return ue(t),n&&(!i||1===n.length&&i.isComment&&!Ot(i))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function Mt(e,t){return()=>e[t]}function Nt(e){return{get attrs(){if(!e._attrsProxy){const t=e._attrsProxy={};H(t,"_v_attr_proxy",!0),Rt(t,e.$attrs,r,e,"$attrs")}return e._attrsProxy},get listeners(){return e._listenersProxy||Rt(e._listenersProxy={},e.$listeners,r,e,"$listeners"),e._listenersProxy},get slots(){return function(e){return e._slotsProxy||Dt(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}(e)},emit:O(e.$emit,e),expose(t){t&&Object.keys(t).forEach(n=>qe(e,t,n))}}}function Rt(e,t,n,r,o){let i=!1;for(const s in t)s in e?t[s]!==n[s]&&(i=!0):(i=!0,Lt(e,s,r,o));for(const s in e)s in t||(i=!0,delete e[s]);return i}function Lt(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>n[r][t]})}function Dt(e,t){for(const n in t)e[n]=t[n];for(const n in e)n in t||delete e[n]}function $t(){const e=ce;return e._setupContext||(e._setupContext=Nt(e))}let Ut=null;function jt(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e["default"]),u(e)?t.extend(e):e}function Ft(e){if(o(e))for(let t=0;t<e.length;t++){const n=e[t];if(s(n)&&(s(n.componentOptions)||Ot(n)))return n}}function Gt(e,t,n,r,i,d){return(o(n)||l(n))&&(i=r,r=n,n=void 0),a(d)&&(i=2),function(e,t,n,r,i){if(s(n)&&s(n.__ob__))return pe();if(s(n)&&s(n.is)&&(t=n.is),!t)return pe();let a,l;if(o(r)&&c(r[0])&&((n=n||{}).scopedSlots={"default":r[0]},r.length=0),2===i?r=ct(r):1===i&&(r=function(e){for(let t=0;t<e.length;t++)if(o(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t){let o;l=e.$vnode&&e.$vnode.ns||z.getTagNamespace(t),a=z.isReservedTag(t)?new de(z.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!s(o=ir(e.$options,"components",t))?new de(t,n,r,void 0,void 0,e):Qn(o,n,e,r,t)}else a=Qn(t,n,e,r);return o(a)?a:s(a)?(s(l)&&qt(a,l),s(n)&&function(e){u(e.style)&&gn(e.style),u(e["class"])&&gn(e["class"])}(n),a):pe()}(e,t,n,r,i)}function qt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),s(e.children))for(let r=0,o=e.children.length;r<o;r++){const o=e.children[r];s(o.tag)&&(i(o.ns)||a(n)&&"svg"!==o.tag)&&qt(o,t,n)}}function zt(e,t,n){be();try{if(t){let r=t;for(;r=r.$parent;){const o=r.$options.errorCaptured;if(o)for(let i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){Ht(e,r,"errorCaptured hook")}}}Ht(e,t,n)}finally{ye()}}function Bt(e,t,n,r,o){let i;try{i=n?e.apply(t,n):e.call(t),i&&!i._isVue&&f(i)&&!i._handled&&(i["catch"](e=>zt(e,r,o+" (Promise/async)")),i._handled=!0)}catch(e){zt(e,r,o)}return i}function Ht(e,t,n){if(z.errorHandler)try{return z.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Wt(t)}Wt(e)}function Wt(e,t,n){if(!K||"undefined"==typeof console)throw e;console.error(e)}let Vt=!1;const Kt=[];let Qt,Xt=!1;function Yt(){Xt=!1;const e=Kt.slice(0);Kt.length=0;for(let t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&se(Promise)){const e=Promise.resolve();Qt=()=>{e.then(Yt),Z&&setTimeout(N)},Vt=!0}else if(X||"undefined"==typeof MutationObserver||!se(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Qt="undefined"!=typeof setImmediate&&se(setImmediate)?()=>{setImmediate(Yt)}:()=>{setTimeout(Yt,0)};else{let e=1;const t=new MutationObserver(Yt),n=document.createTextNode(String(e));t.observe(n,{characterData:!0}),Qt=()=>{e=(e+1)%2,n.data=String(e)},Vt=!0}function Jt(e,t){let n;if(Kt.push(()=>{if(e)try{e.call(t)}catch(e){zt(e,t,"nextTick")}else n&&n(t)}),Xt||(Xt=!0,Qt()),!e&&"undefined"!=typeof Promise)return new Promise(e=>{n=e})}function Zt(e){return(t,n=ce)=>{if(n)return function(e,t,n){const r=e.$options;r[t]=tr(r[t],n)}(n,e,t)}}const en=Zt("beforeMount"),tn=Zt("mounted"),nn=Zt("beforeUpdate"),rn=Zt("updated"),on=Zt("beforeDestroy"),sn=Zt("destroyed"),an=Zt("activated"),ln=Zt("deactivated"),cn=Zt("serverPrefetch"),un=Zt("renderTracked"),dn=Zt("renderTriggered"),pn=Zt("errorCaptured"),hn="2.7.16";var fn=Object.freeze({__proto__:null,version:hn,defineComponent:function(e){return e},ref:function(e){return Ge(e,!1)},shallowRef:function(e){return Ge(e,!0)},isRef:Fe,toRef:ze,toRefs:function(e){const t=o(e)?new Array(e.length):{};for(const n in e)t[n]=ze(e,n);return t},unref:function(e){return Fe(e)?e.value:e},proxyRefs:function(e){if(De(e))return e;const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)qe(t,e,n[r]);return t},customRef:function(e){const t=new _e,{get:n,set:r}=e(()=>{t.depend()},()=>{t.notify()}),o={get value(){return n()},set value(e){r(e)}};return H(o,je,!0),o},triggerRef:function(e){e.dep&&e.dep.notify()},reactive:function(e){return Le(e,!1),e},isReactive:De,isReadonly:Ue,isShallow:$e,isProxy:function(e){return De(e)||Ue(e)},shallowReactive:Re,markRaw:function(e){return Object.isExtensible(e)&&H(e,"__v_skip",!0),e},toRaw:function Li(e){const t=e&&e.__v_raw;return t?Li(t):e},readonly:Be,shallowReadonly:function(e){return He(e,!0)},computed:function(e,t){let n,r;const o=c(e);o?(n=e,r=N):(n=e.get,r=e.set);const i=oe()?null:new yn(ce,n,N,{lazy:!0}),s={effect:i,get value(){return i?(i.dirty&&i.evaluate(),_e.target&&i.depend(),i.value):n()},set value(e){r(e)}};return H(s,je,!0),H(s,"__v_isReadonly",o),s},watch:function(e,t,n){return Ze(e,t,n)},watchEffect:function(e,t){return Ze(e,null,t)},watchPostEffect:Ye,watchSyncEffect:function(e,t){return Ze(e,null,{flush:"sync"})},EffectScope:tt,effectScope:function(e){return new tt(e)},onScopeDispose:function(e){et&&et.cleanups.push(e)},getCurrentScope:nt,provide:function(e,t){ce&&(rt(ce)[e]=t)},inject:function(e,t,n=!1){const r=ce;if(r){const o=r.$parent&&r.$parent._provided;if(o&&e in o)return o[e];if(arguments.length>1)return n&&c(t)?t.call(r):t}},h:function(e,t,n){return Gt(ce,e,t,n,2,!0)},getCurrentInstance:function(){return ce&&{proxy:ce}},useSlots:function(){return $t().slots},useAttrs:function(){return $t().attrs},useListeners:function(){return $t().listeners},mergeDefaults:function(e,t){const n=o(e)?e.reduce((e,t)=>(e[t]={},e),{}):e;for(const r in t){const e=n[r];e?o(e)||c(e)?n[r]={type:e,"default":t[r]}:e["default"]=t[r]:null===e&&(n[r]={"default":t[r]})}return n},nextTick:Jt,set:Pe,del:Me,useCssModule:function(e="$style"){return ce&&ce[e]||r},useCssVars:function(e){if(!K)return;const t=ce;t&&Ye(()=>{const n=t.$el,r=e(t,t._setupProxy);if(n&&1===n.nodeType){const e=n.style;for(const t in r)e.setProperty(`--${t}`,r[t])}})},defineAsyncComponent:function(e){c(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!1,onError:a}=e;let l=null,u=0;const d=()=>{let e;return l||(e=l=t()["catch"](e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise((t,n)=>{a(e,()=>t((u++,l=null,d())),()=>n(e),u+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t["default"]),t)))};return()=>({component:d(),delay:o,timeout:i,error:r,loading:n})},onBeforeMount:en,onMounted:tn,onBeforeUpdate:nn,onUpdated:rn,onBeforeUnmount:on,onUnmounted:sn,onActivated:an,onDeactivated:ln,onServerPrefetch:cn,onRenderTracked:un,onRenderTriggered:dn,onErrorCaptured:function(e,t=ce){pn(e,t)}});const mn=new le;function gn(e){return _n(e,mn),mn.clear(),e}function _n(e,t){let n,r;const i=o(e);if(!(!i&&!u(e)||e.__v_skip||Object.isFrozen(e)||e instanceof de)){if(e.__ob__){const n=e.__ob__.dep.id;if(t.has(n))return;t.add(n)}if(i)for(n=e.length;n--;)_n(e[n],t);else if(Fe(e))_n(e.value,t);else for(r=Object.keys(e),n=r.length;n--;)_n(e[r[n]],t)}}let vn,bn=0;class yn{constructor(e,t,n,r,o){!function(e,t=et){t&&t.active&&t.effects.push(e)}(this,et&&!et._vm?et:e?e._scope:void 0),(this.vm=e)&&o&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++bn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new le,this.newDepIds=new le,this.expression="",c(t)?this.getter=t:(this.getter=function(e){if(W.test(e))return;const t=e.split(".");return function(e){for(let n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}(t),this.getter||(this.getter=N)),this.value=this.lazy?void 0:this.get()}get(){let e;be(this);const t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;zt(e,t,`getter for watcher "${this.expression}"`)}finally{this.deep&&gn(e),ye(),this.cleanupDeps()}return e}addDep(e){const t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))}cleanupDeps(){let e=this.deps.length;for(;e--;){const t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}let t=this.depIds;this.depIds=this.newDepIds,this.newDepIds=t,this.newDepIds.clear(),t=this.deps,this.deps=this.newDeps,this.newDeps=t,this.newDeps.length=0}update(){this.lazy?this.dirty=!0:this.sync?this.run():Gn(this)}run(){if(this.active){const e=this.get();if(e!==this.value||u(e)||this.deep){const t=this.value;if(this.value=e,this.user){const n=`callback for watcher "${this.expression}"`;Bt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}}evaluate(){this.value=this.get(),this.dirty=!1}depend(){let e=this.deps.length;for(;e--;)this.deps[e].depend()}teardown(){if(this.vm&&!this.vm._isBeingDestroyed&&y(this.vm._scope.effects,this),this.active){let e=this.deps.length;for(;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}}}function wn(e,t){vn.$on(e,t)}function kn(e,t){vn.$off(e,t)}function En(e,t){const n=vn;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function Sn(e,t,n){vn=e,st(t,n||{},wn,kn,En,e),vn=void 0}let In=null;function Cn(e){const t=In;return In=e,()=>{In=t}}function Tn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function An(e,t){if(t){if(e._directInactive=!1,Tn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(let t=0;t<e.$children.length;t++)An(e.$children[t]);xn(e,"activated")}}function On(e,t){if(!(t&&(e._directInactive=!0,Tn(e))||e._inactive)){e._inactive=!0;for(let t=0;t<e.$children.length;t++)On(e.$children[t]);xn(e,"deactivated")}}function xn(e,t,n,r=!0){be();const o=ce,i=nt();r&&ue(e);const s=e.$options[t],a=`${t} hook`;if(s)for(let l=0,c=s.length;l<c;l++)Bt(s[l],e,n||null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),r&&(ue(o),i&&i.on()),ye()}const Pn=[],Mn=[];let Nn={},Rn=!1,Ln=!1,Dn=0,$n=0,Un=Date.now;if(K&&!X){const e=window.performance;e&&"function"==typeof e.now&&Un()>document.createEvent("Event").timeStamp&&(Un=()=>e.now())}const jn=(e,t)=>{if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Fn(){let e,t;for($n=Un(),Ln=!0,Pn.sort(jn),Dn=0;Dn<Pn.length;Dn++)e=Pn[Dn],e.before&&e.before(),t=e.id,Nn[t]=null,e.run();const n=Mn.slice(),r=Pn.slice();Dn=Pn.length=Mn.length=0,Nn={},Rn=Ln=!1,function(e){for(let t=0;t<e.length;t++)e[t]._inactive=!0,An(e[t],!0)}(n),function(e){let t=e.length;for(;t--;){const n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&xn(r,"updated")}}(r),(()=>{for(let e=0;e<ge.length;e++){const t=ge[e];t.subs=t.subs.filter(e=>e),t._pending=!1}ge.length=0})(),ie&&z.devtools&&ie.emit("flush")}function Gn(e){const t=e.id;if(null==Nn[t]&&(e!==_e.target||!e.noRecurse)){if(Nn[t]=!0,Ln){let t=Pn.length-1;for(;t>Dn&&Pn[t].id>e.id;)t--;Pn.splice(t+1,0,e)}else Pn.push(e);Rn||(Rn=!0,Jt(Fn))}}function qn(e,t){if(e){const n=Object.create(null),r=ae?Reflect.ownKeys(e):Object.keys(e);for(let o=0;o<r.length;o++){const i=r[o];if("__ob__"===i)continue;const s=e[i].from;if(s in t._provided)n[i]=t._provided[s];else if("default"in e[i]){const r=e[i]["default"];n[i]=c(r)?r.call(t):r}}return n}}function zn(e,t,n,i,s){const l=s.options;let c;k(i,"_uid")?(c=Object.create(i),c._original=i):(c=i,i=i._original);const u=a(l._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=qn(l.inject,i),this.slots=()=>(this.$slots||xt(i,e.scopedSlots,this.$slots=Tt(n,i)),this.$slots),Object.defineProperty(this,"scopedSlots",{enumerable:!0,get(){return xt(i,e.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=xt(i,e.scopedSlots,this.$slots)),l._scopeId?this._c=(e,t,n,r)=>{const s=Gt(c,e,t,n,r,d);return s&&!o(s)&&(s.fnScopeId=l._scopeId,s.fnContext=i),s}:this._c=(e,t,n,r)=>Gt(c,e,t,n,r,d)}function Bn(e,t,n,r,o){const i=fe(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Hn(e,t){for(const n in t)e[I(n)]=t[n]}function Wn(e){return e.name||e.__name||e._componentTag}Ct(zn.prototype);const Vn={init(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){const t=e;Vn.prepatch(t,t)}else(e.componentInstance=function(e,t){const n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return s(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,In)).$mount(t?e.elm:void 0,t)},prepatch(e,t){const n=t.componentOptions;!function(e,t,n,o,i){const s=o.data.scopedSlots,a=e.$scopedSlots,l=!!(s&&!s.$stable||a!==r&&!a.$stable||s&&e.$scopedSlots.$key!==s.$key||!s&&e.$scopedSlots.$key);let c=!!(i||e.$options._renderChildren||l);const u=e.$vnode;e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=i;const d=o.data.attrs||r;e._attrsProxy&&Rt(e._attrsProxy,d,u.data&&u.data.attrs||r,e,"$attrs")&&(c=!0),e.$attrs=d,n=n||r;const p=e.$options._parentListeners;if(e._listenersProxy&&Rt(e._listenersProxy,n,p||r,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,Sn(e,n,p),t&&e.$options.props){Ce(!1);const n=e._props,r=e.$options._propKeys||[];for(let o=0;o<r.length;o++){const i=r[o],s=e.$options.props;n[i]=sr(i,s,t,e)}Ce(!0),e.$options.propsData=t}c&&(e.$slots=Tt(i,o.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert(e){const{context:t,componentInstance:n}=e;var r;n._isMounted||(n._isMounted=!0,xn(n,"mounted")),e.data.keepAlive&&(t._isMounted?((r=n)._inactive=!1,Mn.push(r)):An(n,!0))},destroy(e){const{componentInstance:t}=e;t._isDestroyed||(e.data.keepAlive?On(t,!0):t.$destroy())}},Kn=Object.keys(Vn);function Qn(e,t,n,l,c){if(i(e))return;const d=n.$options._base;if(u(e)&&(e=d.extend(e)),"function"!=typeof e)return;let p;if(i(e.cid)&&(p=e,e=function(e,t){if(a(e.error)&&s(e.errorComp))return e.errorComp;if(s(e.resolved))return e.resolved;const n=Ut;if(n&&s(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&s(e.loadingComp))return e.loadingComp;if(n&&!s(e.owners)){const r=e.owners=[n];let o=!0,a=null,l=null;n.$on("hook:destroyed",()=>y(r,n));const c=e=>{for(let t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==a&&(clearTimeout(a),a=null),null!==l&&(clearTimeout(l),l=null))},d=U(n=>{e.resolved=jt(n,t),o?r.length=0:c(!0)}),p=U(t=>{s(e.errorComp)&&(e.error=!0,c(!0))}),h=e(d,p);return u(h)&&(f(h)?i(e.resolved)&&h.then(d,p):f(h.component)&&(h.component.then(d,p),s(h.error)&&(e.errorComp=jt(h.error,t)),s(h.loading)&&(e.loadingComp=jt(h.loading,t),0===h.delay?e.loading=!0:a=setTimeout(()=>{a=null,i(e.resolved)&&i(e.error)&&(e.loading=!0,c(!1))},h.delay||200)),s(h.timeout)&&(l=setTimeout(()=>{l=null,i(e.resolved)&&p(null)},h.timeout)))),o=!1,e.loading?e.loadingComp:e.resolved}}(p,d),void 0===e))return function(e,t,n,r,o){const i=pe();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(p,t,n,l,c);t=t||{},yr(e),s(t.model)&&function(e,t){const n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;const i=t.on||(t.on={}),a=i[r],l=t.model.callback;s(a)?(o(a)?-1===a.indexOf(l):a!==l)&&(i[r]=[l].concat(a)):i[r]=l}(e.options,t);const h=function(e,t){const n=t.options.props;if(i(n))return;const r={},{attrs:o,props:a}=e;if(s(o)||s(a))for(const i in n){const e=A(i);lt(r,a,i,e,!0)||lt(r,o,i,e,!1)}return r}(t,e);if(a(e.options.functional))return function(e,t,n,i,a){const l=e.options,c={},u=l.props;if(s(u))for(const o in u)c[o]=sr(o,u,t||r);else s(n.attrs)&&Hn(c,n.attrs),s(n.props)&&Hn(c,n.props);const d=new zn(n,c,a,i,e),p=l.render.call(null,d._c,d);if(p instanceof de)return Bn(p,n,d.parent,l);if(o(p)){const e=ct(p)||[],t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=Bn(e[r],n,d.parent,l);return t}}(e,h,t,n,l);const m=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){const e=t.slot;t={},e&&(t.slot=e)}!function(e){const t=e.hook||(e.hook={});for(let n=0;n<Kn.length;n++){const e=Kn[n],r=t[e],o=Vn[e];r===o||r&&r._merged||(t[e]=r?Xn(o,r):o)}}(t);const g=Wn(e.options)||c;return new de(`vue-component-${e.cid}${g?`-${g}`:""}`,t,void 0,void 0,void 0,n,{Ctor:e,propsData:h,listeners:m,tag:c,children:l},p)}function Xn(e,t){const n=(n,r)=>{e(n,r),t(n,r)};return n._merged=!0,n}let Yn=N;const Jn=z.optionMergeStrategies;function Zn(e,t,n=!0){if(!t)return e;let r,o,i;const s=ae?Reflect.ownKeys(t):Object.keys(t);for(let a=0;a<s.length;a++)r=s[a],"__ob__"!==r&&(o=e[r],i=t[r],n&&k(e,r)?o!==i&&p(o)&&p(i)&&Zn(o,i):Pe(e,r,i));return e}function er(e,t,n){return n?function(){const r=c(t)?t.call(n,n):t,o=c(e)?e.call(n,n):e;return r?Zn(r,o):o}:t?e?function(){return Zn(c(t)?t.call(this,this):t,c(e)?e.call(this,this):e)}:t:e}function tr(e,t){const n=t?e?e.concat(t):o(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function nr(e,t,n,r){const o=Object.create(e||null);return t?P(o,t):o}Jn.data=function(e,t,n){return n?er(e,t,n):t&&"function"!=typeof t?e:er(e,t)},q.forEach(e=>{Jn[e]=tr}),G.forEach(function(e){Jn[e+"s"]=nr}),Jn.watch=function(e,t,n,r){if(e===te&&(e=void 0),t===te&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;const i={};P(i,e);for(const s in t){let e=i[s];const n=t[s];e&&!o(e)&&(e=[e]),i[s]=e?e.concat(n):o(n)?n:[n]}return i},Jn.props=Jn.methods=Jn.inject=Jn.computed=function(e,t,n,r){if(!e)return t;const o=Object.create(null);return P(o,e),t&&P(o,t),o},Jn.provide=function(e,t){return e?function(){const n=Object.create(null);return Zn(n,c(e)?e.call(this):e),t&&Zn(n,c(t)?t.call(this):t,!1),n}:t};const rr=function(e,t){return void 0===t?e:t};function or(e,t,n){if(c(t)&&(t=t.options),function(e){const t=e.props;if(!t)return;const n={};let r,i,s;if(o(t))for(r=t.length;r--;)i=t[r],"string"==typeof i&&(s=I(i),n[s]={type:null});else if(p(t))for(const o in t)i=t[o],s=I(o),n[s]=p(i)?i:{type:i};e.props=n}(t),function(e){const t=e.inject;if(!t)return;const n=e.inject={};if(o(t))for(let r=0;r<t.length;r++)n[t[r]]={from:t[r]};else if(p(t))for(const r in t){const e=t[r];n[r]=p(e)?P({from:r},e):{from:e}}}(t),function(e){const t=e.directives;if(t)for(const n in t){const e=t[n];c(e)&&(t[n]={bind:e,update:e})}}(t),!t._base&&(t["extends"]&&(e=or(e,t["extends"],n)),t.mixins))for(let o=0,a=t.mixins.length;o<a;o++)e=or(e,t.mixins[o],n);const r={};let i;for(i in e)s(i);for(i in t)k(e,i)||s(i);function s(o){const i=Jn[o]||rr;r[o]=i(e[o],t[o],n,o)}return r}function ir(e,t,n,r){if("string"!=typeof n)return;const o=e[t];if(k(o,n))return o[n];const i=I(n);if(k(o,i))return o[i];const s=C(i);return k(o,s)?o[s]:o[n]||o[i]||o[s]}function sr(e,t,n,r){const o=t[e],i=!k(n,e);let s=n[e];const a=ur(Boolean,o.type);if(a>-1)if(i&&!k(o,"default"))s=!1;else if(""===s||s===A(e)){const e=ur(String,o.type);(e<0||a<e)&&(s=!0)}if(void 0===s){s=function(e,t,n){if(!k(t,"default"))return;const r=t["default"];return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:c(r)&&"Function"!==lr(t.type)?r.call(e):r}(r,o,e);const t=Ie;Ce(!0),Oe(s),Ce(t)}return s}const ar=/^\s*function (\w+)/;function lr(e){const t=e&&e.toString().match(ar);return t?t[1]:""}function cr(e,t){return lr(e)===lr(t)}function ur(e,t){if(!o(t))return cr(t,e)?0:-1;for(let n=0,r=t.length;n<r;n++)if(cr(t[n],e))return n;return-1}const dr={enumerable:!0,configurable:!0,get:N,set:N};function pr(e,t,n){dr.get=function(){return this[t][n]},dr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,dr)}function hr(e){const t=e.$options;if(t.props&&function(e,t){const n=e.$options.propsData||{},r=e._props=Re({}),o=e.$options._propKeys=[];!e.$parent||Ce(!1);for(const i in t)o.push(i),xe(r,i,sr(i,t,n,e),void 0,!0),i in e||pr(e,"_props",i);Ce(!0)}(e,t.props),function(e){const t=e.$options,n=t.setup;if(n){const r=e._setupContext=Nt(e);ue(e),be();const o=Bt(n,null,[e._props||Re({}),r],e,"setup");if(ye(),ue(),c(o))t.render=o;else if(u(o))if(e._setupState=o,o.__sfc){const t=e._setupProxy={};for(const e in o)"__sfc"!==e&&qe(t,o,e)}else for(const t in o)B(t)||qe(e,o,t)}}(e),t.methods&&function(e,t){e.$options.props;for(const n in t)e[n]="function"!=typeof t[n]?N:O(t[n],e)}(e,t.methods),t.data)!function(e){let t=e.$options.data;t=e._data=c(t)?function(e,t){be();try{return e.call(t,t)}catch(e){return zt(e,t,"data()"),{}}finally{ye()}}(t,e):t||{},p(t)||(t={});const n=Object.keys(t),r=e.$options.props;e.$options.methods;let o=n.length;for(;o--;){const t=n[o];r&&k(r,t)||B(t)||pr(e,"_data",t)}const i=Oe(t);i&&i.vmCount++}(e);else{const t=Oe(e._data={});t&&t.vmCount++}t.computed&&function(e,t){const n=e._computedWatchers=Object.create(null),r=oe();for(const o in t){const i=t[o],s=c(i)?i:i.get;r||(n[o]=new yn(e,s||N,N,fr)),o in e||mr(e,o,i)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(const n in t){const r=t[n];if(o(r))for(let t=0;t<r.length;t++)vr(e,n,r[t]);else vr(e,n,r)}}(e,t.watch)}const fr={lazy:!0};function mr(e,t,n){const r=!oe();c(n)?(dr.get=r?gr(t):_r(n),dr.set=N):(dr.get=n.get?r&&!1!==n.cache?gr(t):_r(n.get):N,dr.set=n.set||N),Object.defineProperty(e,t,dr)}function gr(e){return function(){const t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),_e.target&&t.depend(),t.value}}function _r(e){return function(){return e.call(this,this)}}function vr(e,t,n,r){return p(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}let br=0;function yr(e){let t=e.options;if(e["super"]){const n=yr(e["super"]);if(n!==e.superOptions){e.superOptions=n;const r=function(e){let t;const n=e.options,r=e.sealedOptions;for(const o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&P(e.extendOptions,r),t=e.options=or(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function wr(e){this._init(e)}function kr(e){return e&&(Wn(e.Ctor.options)||e.tag)}function Er(e,t){return o(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===d.call(n)&&e.test(t));var n}function Sr(e,t){const{cache:n,keys:r,_vnode:o,$vnode:i}=e;for(const s in n){const e=n[s];if(e){const i=e.name;i&&!t(i)&&Ir(n,s,r,o)}}i.componentOptions.children=void 0}function Ir(e,t,n,r){const o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){const t=this;t._uid=br++,t._isVue=!0,t.__v_skip=!0,t._scope=new tt(!0),t._scope.parent=void 0,t._scope._vm=!0,e&&e._isComponent?function(e,t){const n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;const 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=or(yr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){const t=e.$options;let 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;const t=e.$options._parentListeners;t&&Sn(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;const t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=Tt(t._renderChildren,o),e.$scopedSlots=n?xt(e.$parent,n.data.scopedSlots,e.$slots):r,e._c=(t,n,r,o)=>Gt(e,t,n,r,o,!1),e.$createElement=(t,n,r,o)=>Gt(e,t,n,r,o,!0);const i=n&&n.data;xe(e,"$attrs",i&&i.attrs||r,null,!0),xe(e,"$listeners",t._parentListeners||r,null,!0)}(t),xn(t,"beforeCreate",void 0,!1),function(e){const t=qn(e.$options.inject,e);t&&(Ce(!1),Object.keys(t).forEach(n=>{xe(e,n,t[n])}),Ce(!0))}(t),hr(t),function(e){const t=e.$options.provide;if(t){const n=c(t)?t.call(e):t;if(!u(n))return;const r=rt(e),o=ae?Reflect.ownKeys(n):Object.keys(n);for(let e=0;e<o.length;e++){const t=o[e];Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))}}}(t),xn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(wr),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=Pe,e.prototype.$delete=Me,e.prototype.$watch=function(e,t,n){const r=this;if(p(t))return vr(r,e,t,n);(n=n||{}).user=!0;const o=new yn(r,e,t,n);if(n.immediate){const e=`callback for immediate watcher "${o.expression}"`;be(),Bt(t,r,[o.value],r,e),ye()}return function(){o.teardown()}}}(wr),function(e){const t=/^hook:/;e.prototype.$on=function(e,n){const r=this;if(o(e))for(let t=0,o=e.length;t<o;t++)r.$on(e[t],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){const 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){const n=this;if(!arguments.length)return n._events=Object.create(null),n;if(o(e)){for(let r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}const r=n._events[e];if(!r)return n;if(!t)return n._events[e]=null,n;let i,s=r.length;for(;s--;)if(i=r[s],i===t||i.fn===t){r.splice(s,1);break}return n},e.prototype.$emit=function(e){const t=this;let n=t._events[e];if(n){n=n.length>1?x(n):n;const r=x(arguments,1),o=`event handler for "${e}"`;for(let e=0,i=n.length;e<i;e++)Bt(n[e],t,r,t,o)}return t}}(wr),function(e){e.prototype._update=function(e,t){const n=this,r=n.$el,o=n._vnode,i=Cn(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);let s=n;for(;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){const e=this;if(e._isBeingDestroyed)return;xn(e,"beforeDestroy"),e._isBeingDestroyed=!0;const t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),xn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}(wr),function(e){Ct(e.prototype),e.prototype.$nextTick=function(e){return Jt(e,this)},e.prototype._render=function(){const e=this,{render:t,_parentVnode:n}=e.$options;n&&e._isMounted&&(e.$scopedSlots=xt(e.$parent,n.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Dt(e._slotsProxy,e.$scopedSlots)),e.$vnode=n;const r=ce,i=Ut;let s;try{ue(e),Ut=e,s=t.call(e._renderProxy,e.$createElement)}catch(o){zt(o,e,"render"),s=e._vnode}finally{Ut=i,ue(r)}return o(s)&&1===s.length&&(s=s[0]),s instanceof de||(s=pe()),s.parent=n,s}}(wr);const Cr=[String,RegExp,Array];var Tr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Cr,exclude:Cr,max:[String,Number]},methods:{cacheVNode(){const{cache:e,keys:t,vnodeToCache:n,keyToCache:r}=this;if(n){const{tag:o,componentInstance:i,componentOptions:s}=n;e[r]={name:kr(s),tag:o,componentInstance:i},t.push(r),this.max&&t.length>parseInt(this.max)&&Ir(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created(){this.cache=Object.create(null),this.keys=[]},destroyed(){for(const e in this.cache)Ir(this.cache,e,this.keys)},mounted(){this.cacheVNode(),this.$watch("include",e=>{Sr(this,t=>Er(e,t))}),this.$watch("exclude",e=>{Sr(this,t=>!Er(e,t))})},updated(){this.cacheVNode()},render(){const e=this.$slots["default"],t=Ft(e),n=t&&t.componentOptions;if(n){const e=kr(n),{include:r,exclude:o}=this;if(r&&(!e||!Er(r,e))||o&&e&&Er(o,e))return t;const{cache:i,keys:s}=this,a=null==t.key?n.Ctor.cid+(n.tag?`::${n.tag}`:""):t.key;i[a]?(t.componentInstance=i[a].componentInstance,y(s,a),s.push(a)):(this.vnodeToCache=t,this.keyToCache=a),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){const t={get:()=>z};Object.defineProperty(e,"config",t),e.util={warn:Yn,extend:P,mergeOptions:or,defineReactive:xe},e.set=Pe,e["delete"]=Me,e.nextTick=Jt,e.observable=e=>(Oe(e),e),e.options=Object.create(null),G.forEach(t=>{e.options[t+"s"]=Object.create(null)}),e.options._base=e,P(e.options.components,Tr),function(e){e.use=function(e){const t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;const n=x(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=or(this.options,e),this}}(e),function(e){e.cid=0;let t=1;e.extend=function(e){e=e||{};const n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];const i=Wn(e)||Wn(n.options),s=function(e){this._init(e)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=t++,s.options=or(n.options,e),s["super"]=n,s.options.props&&function(e){const t=e.options.props;for(const n in t)pr(e.prototype,"_props",n)}(s),s.options.computed&&function(e){const t=e.options.computed;for(const n in t)mr(e.prototype,n,t[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,G.forEach(function(e){s[e]=n[e]}),i&&(s.options.components[i]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=P({},s.options),o[r]=s,s}}(e),function(e){G.forEach(t=>{e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(wr),Object.defineProperty(wr.prototype,"$isServer",{get:oe}),Object.defineProperty(wr.prototype,"$ssrContext",{get(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wr,"FunctionalRenderContext",{value:zn}),wr.version=hn;const Ar=v("style,class"),Or=v("input,textarea,option,select,progress"),xr=v("contenteditable,draggable,spellcheck"),Pr=v("events,caret,typing,plaintext-only"),Mr=v("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"),Nr="http://www.w3.org/1999/xlink",Rr=e=>":"===e.charAt(5)&&"xlink"===e.slice(0,5),Lr=e=>Rr(e)?e.slice(6,e.length):"",Dr=e=>null==e||!1===e;function $r(e,t){return{staticClass:Ur(e.staticClass,t.staticClass),"class":s(e["class"])?[e["class"],t["class"]]:t["class"]}}function Ur(e,t){return e?t?e+" "+t:e:t||""}function jr(e){return Array.isArray(e)?function(e){let t,n="";for(let r=0,o=e.length;r<o;r++)s(t=jr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):u(e)?function(e){let t="";for(const n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}const Fr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Gr=v("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"),qr=v("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=e=>Gr(e)||qr(e),Br=Object.create(null),Hr=v("text,number,password,search,email,tel,url");var Wr=Object.freeze({__proto__:null,createElement:function(e,t){const 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(Fr[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,"")}}),Vr={create(e,t){Kr(t)},update(e,t){e.data.ref!==t.data.ref&&(Kr(e,!0),Kr(t))},destroy(e){Kr(e,!0)}};function Kr(e,t){const n=e.data.ref;if(!s(n))return;const r=e.context,i=e.componentInstance||e.elm,a=t?null:i,l=t?void 0:i;if(c(n))return void Bt(n,r,[a],r,"template ref function");const u=e.data.refInFor,d="string"==typeof n||"number"==typeof n,p=Fe(n),h=r.$refs;if(d||p)if(u){const e=d?h[n]:n.value;t?o(e)&&y(e,i):o(e)?e.includes(i)||e.push(i):d?(h[n]=[i],Qr(r,n,h[n])):n.value=[i]}else if(d){if(t&&h[n]!==i)return;h[n]=l,Qr(r,n,a)}else if(p){if(t&&n.value!==i)return;n.value=a}}function Qr({_setupState:e},t,n){e&&k(e,t)&&(Fe(e[t])?e[t].value=n:e[t]=n)}const Xr=new de("",{},[]),Yr=["create","activate","update","remove","destroy"];function Jr(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&s(e.data)===s(t.data)&&function(e,t){if("input"!==e.tag)return!0;let n;const r=s(n=e.data)&&s(n=n.attrs)&&n.type,o=s(n=t.data)&&s(n=n.attrs)&&n.type;return r===o||Hr(r)&&Hr(o)}(e,t)||a(e.isAsyncPlaceholder)&&i(t.asyncFactory.error))}function Zr(e,t,n){let r,o;const i={};for(r=t;r<=n;++r)o=e[r].key,s(o)&&(i[o]=r);return i}var eo={create:to,update:to,destroy:function(e){to(e,Xr)}};function to(e,t){(e.data.directives||t.data.directives)&&function(e,t){const n=e===Xr,r=t===Xr,o=ro(e.data.directives,e.context),i=ro(t.data.directives,t.context),s=[],a=[];let l,c,u;for(l in i)c=o[l],u=i[l],c?(u.oldValue=c.value,u.oldArg=c.arg,io(u,"update",t,e),u.def&&u.def.componentUpdated&&a.push(u)):(io(u,"bind",t,e),u.def&&u.def.inserted&&s.push(u));if(s.length){const r=()=>{for(let n=0;n<s.length;n++)io(s[n],"inserted",t,e)};n?at(t,"insert",r):r()}if(a.length&&at(t,"postpatch",()=>{for(let n=0;n<a.length;n++)io(a[n],"componentUpdated",t,e)}),!n)for(l in o)i[l]||io(o[l],"unbind",e,e,r)}(e,t)}const no=Object.create(null);function ro(e,t){const n=Object.create(null);if(!e)return n;let r,o;for(r=0;r<e.length;r++){if(o=e[r],o.modifiers||(o.modifiers=no),n[oo(o)]=o,t._setupState&&t._setupState.__sfc){const e=o.def||ir(t,"_setupState","v-"+o.name);o.def="function"==typeof e?{bind:e,update:e}:e}o.def=o.def||ir(t.$options,"directives",o.name)}return n}function oo(e){return e.rawName||`${e.name}.${Object.keys(e.modifiers||{}).join(".")}`}function io(e,t,n,r,o){const i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){zt(r,n.context,`directive ${e.name} ${t} hook`)}}var so=[Vr,eo];function ao(e,t){const n=t.componentOptions;if(s(n)&&!1===n.Ctor.options.inheritAttrs)return;if(i(e.data.attrs)&&i(t.data.attrs))return;let r,o,l;const c=t.elm,u=e.data.attrs||{};let d=t.data.attrs||{};for(r in(s(d.__ob__)||a(d._v_attr_proxy))&&(d=t.data.attrs=P({},d)),d)o=d[r],l=u[r],l!==o&&lo(c,r,o,t.data.pre);for(r in(X||J)&&d.value!==u.value&&lo(c,"value",d.value),u)i(d[r])&&(Rr(r)?c.removeAttributeNS(Nr,Lr(r)):xr(r)||c.removeAttribute(r))}function lo(e,t,n,r){r||e.tagName.indexOf("-")>-1?co(e,t,n):Mr(t)?Dr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):xr(t)?e.setAttribute(t,((e,t)=>Dr(t)||"false"===t?"false":"contenteditable"===e&&Pr(t)?t:"true")(t,n)):Rr(t)?Dr(n)?e.removeAttributeNS(Nr,Lr(t)):e.setAttributeNS(Nr,t,n):co(e,t,n)}function co(e,t,n){if(Dr(n))e.removeAttribute(t);else{if(X&&!Y&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){const t=n=>{n.stopImmediatePropagation(),e.removeEventListener("input",t)};e.addEventListener("input",t),e.__ieph=!0}e.setAttribute(t,n)}}var uo={create:ao,update:ao};function po(e,t){const n=t.elm,r=t.data,o=e.data;if(i(r.staticClass)&&i(r["class"])&&(i(o)||i(o.staticClass)&&i(o["class"])))return;let a=function(e){let t=e.data,n=e,r=e;for(;s(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=$r(r.data,t));for(;s(n=n.parent);)n&&n.data&&(t=$r(t,n.data));return function(e,t){return s(e)||s(t)?Ur(e,jr(t)):""}(t.staticClass,t["class"])}(t);const l=n._transitionClasses;s(l)&&(a=Ur(a,jr(l))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}var ho={create:po,update:po};const fo="__r",mo="__c";let go;function _o(e,t,n){const r=go;return function o(){null!==t.apply(null,arguments)&&yo(e,o,n,r)}}const vo=Vt&&!(ee&&Number(ee[1])<=53);function bo(e,t,n,r){if(vo){const e=$n,n=t;t=n._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=e||t.timeStamp<=0||t.target.ownerDocument!==document)return n.apply(this,arguments)}}go.addEventListener(e,t,re?{capture:n,passive:r}:n)}function yo(e,t,n,r){(r||go).removeEventListener(e,t._wrapper||t,n)}function wo(e,t){if(i(e.data.on)&&i(t.data.on))return;const n=t.data.on||{},r=e.data.on||{};go=t.elm||e.elm,function(e){if(s(e[fo])){const t=X?"change":"input";e[t]=[].concat(e[fo],e[t]||[]),delete e[fo]}s(e[mo])&&(e.change=[].concat(e[mo],e.change||[]),delete e[mo])}(n),st(n,r,bo,yo,_o,t.context),go=void 0}var ko={create:wo,update:wo,destroy:e=>wo(e,Xr)};let Eo;function So(e,t){if(i(e.data.domProps)&&i(t.data.domProps))return;let n,r;const o=t.elm,l=e.data.domProps||{};let c=t.data.domProps||{};for(n in(s(c.__ob__)||a(c._v_attr_proxy))&&(c=t.data.domProps=P({},c)),l)n in c||(o[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===l[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;const e=i(r)?"":String(r);Io(o,e)&&(o.value=e)}else if("innerHTML"===n&&qr(o.tagName)&&i(o.innerHTML)){Eo=Eo||document.createElement("div"),Eo.innerHTML=`<svg>${r}</svg>`;const e=Eo.firstChild;for(;o.firstChild;)o.removeChild(o.firstChild);for(;e.firstChild;)o.appendChild(e.firstChild)}else if(r!==l[n])try{o[n]=r}catch(e){}}}function Io(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){let n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){const n=e.value,r=e._vModifiers;if(s(r)){if(r.number)return _(n)!==_(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Co={create:So,update:So};const To=E(function(e){const t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){const r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function Ao(e){const t=Oo(e.style);return e.staticStyle?P(e.staticStyle,t):t}function Oo(e){return Array.isArray(e)?M(e):"string"==typeof e?To(e):e}const xo=/^--/,Po=/\s*!important$/,Mo=(e,t,n)=>{if(xo.test(t))e.style.setProperty(t,n);else if(Po.test(n))e.style.setProperty(A(t),n.replace(Po,""),"important");else{const r=Lo(t);if(Array.isArray(n))for(let t=0,o=n.length;t<o;t++)e.style[r]=n[t];else e.style[r]=n}},No=["Webkit","Moz","ms"];let Ro;const Lo=E(function(e){if(Ro=Ro||document.createElement("div").style,"filter"!==(e=I(e))&&e in Ro)return e;const t=e.charAt(0).toUpperCase()+e.slice(1);for(let n=0;n<No.length;n++){const e=No[n]+t;if(e in Ro)return e}});function Do(e,t){const n=t.data,r=e.data;if(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))return;let o,a;const l=t.elm,c=r.staticStyle,u=r.normalizedStyle||r.style||{},d=c||u,p=Oo(t.data.style)||{};t.data.normalizedStyle=s(p.__ob__)?P({},p):p;const h=function(e){const t={};let n;{let r=e;for(;r.componentInstance;)r=r.componentInstance._vnode,r&&r.data&&(n=Ao(r.data))&&P(t,n)}(n=Ao(e.data))&&P(t,n);let r=e;for(;r=r.parent;)r.data&&(n=Ao(r.data))&&P(t,n);return t}(t);for(a in d)i(h[a])&&Mo(l,a,"");for(a in h)o=h[a],Mo(l,a,null==o?"":o)}var $o={create:Do,update:Do};const Uo=/\s+/;function jo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Uo).forEach(t=>e.classList.add(t)):e.classList.add(t);else{const n=` ${e.getAttribute("class")||""} `;n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Fo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Uo).forEach(t=>e.classList.remove(t)):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{let n=` ${e.getAttribute("class")||""} `;const r=" "+t+" ";for(;n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Go(e){if(e){if("object"==typeof e){const t={};return!1!==e.css&&P(t,qo(e.name||"v")),P(t,e),t}return"string"==typeof e?qo(e):void 0}}const qo=E(e=>({enterClass:`${e}-enter`,enterToClass:`${e}-enter-to`,enterActiveClass:`${e}-enter-active`,leaveClass:`${e}-leave`,leaveToClass:`${e}-leave-to`,leaveActiveClass:`${e}-leave-active`})),zo=K&&!Y,Bo="transition",Ho="animation";let Wo="transition",Vo="transitionend",Ko="animation",Qo="animationend";zo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Wo="WebkitTransition",Vo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ko="WebkitAnimation",Qo="webkitAnimationEnd"));const Xo=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:e=>e();function Yo(e){Xo(()=>{Xo(e)})}function Jo(e,t){const n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),jo(e,t))}function Zo(e,t){e._transitionClasses&&y(e._transitionClasses,t),Fo(e,t)}function ei(e,t,n){const{type:r,timeout:o,propCount:i}=ni(e,t);if(!r)return n();const s=r===Bo?Vo:Qo;let a=0;const l=()=>{e.removeEventListener(s,c),n()},c=t=>{t.target===e&&++a>=i&&l()};setTimeout(()=>{a<i&&l()},o+1),e.addEventListener(s,c)}const ti=/\b(transform|all)(,|$)/;function ni(e,t){const n=window.getComputedStyle(e),r=(n[Wo+"Delay"]||"").split(", "),o=(n[Wo+"Duration"]||"").split(", "),i=ri(r,o),s=(n[Ko+"Delay"]||"").split(", "),a=(n[Ko+"Duration"]||"").split(", "),l=ri(s,a);let c,u=0,d=0;return t===Bo?i>0&&(c=Bo,u=i,d=o.length):t===Ho?l>0&&(c=Ho,u=l,d=a.length):(u=Math.max(i,l),c=u>0?i>l?Bo:Ho:null,d=c?c===Bo?o.length:a.length:0),{type:c,timeout:u,propCount:d,hasTransform:c===Bo&&ti.test(n[Wo+"Property"])}}function ri(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((t,n)=>oi(t)+oi(e[n])))}function oi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ii(e,t){const n=e.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());const r=Go(e.data.transition);if(i(r))return;if(s(n._enterCb)||1!==n.nodeType)return;const{css:o,type:a,enterClass:l,enterToClass:d,enterActiveClass:p,appearClass:h,appearToClass:f,appearActiveClass:m,beforeEnter:g,enter:v,afterEnter:b,enterCancelled:y,beforeAppear:w,appear:k,afterAppear:E,appearCancelled:S,duration:I}=r;let C=In,T=In.$vnode;for(;T&&T.parent;)C=T.context,T=T.parent;const A=!C._isMounted||!e.isRootInsert;if(A&&!k&&""!==k)return;const O=A&&h?h:l,x=A&&m?m:p,P=A&&f?f:d,M=A&&w||g,N=A&&c(k)?k:v,R=A&&E||b,L=A&&S||y,D=_(u(I)?I.enter:I),$=!1!==o&&!Y,j=li(N),F=n._enterCb=U(()=>{$&&(Zo(n,P),Zo(n,x)),F.cancelled?($&&Zo(n,O),L&&L(n)):R&&R(n),n._enterCb=null});e.data.show||at(e,"insert",()=>{const 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,F)}),M&&M(n),$&&(Jo(n,O),Jo(n,x),Yo(()=>{Zo(n,O),F.cancelled||(Jo(n,P),j||(ai(D)?setTimeout(F,D):ei(n,a,F)))})),e.data.show&&(t&&t(),N&&N(n,F)),$||j||F()}function si(e,t){const n=e.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());const r=Go(e.data.transition);if(i(r)||1!==n.nodeType)return t();if(s(n._leaveCb))return;const{css:o,type:a,leaveClass:l,leaveToClass:c,leaveActiveClass:d,beforeLeave:p,leave:h,afterLeave:f,leaveCancelled:m,delayLeave:g,duration:v}=r,b=!1!==o&&!Y,y=li(h),w=_(u(v)?v.leave:v),k=n._leaveCb=U(()=>{n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(Zo(n,c),Zo(n,d)),k.cancelled?(b&&Zo(n,l),m&&m(n)):(t(),f&&f(n)),n._leaveCb=null});function E(){k.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),b&&(Jo(n,l),Jo(n,d),Yo(()=>{Zo(n,l),k.cancelled||(Jo(n,c),y||(ai(w)?setTimeout(k,w):ei(n,a,k)))})),h&&h(n,k),b||y||k())}g?g(E):E()}function ai(e){return"number"==typeof e&&!isNaN(e)}function li(e){if(i(e))return!1;const t=e.fns;return s(t)?li(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function ci(e,t){!0!==t.data.show&&ii(t)}const ui=function(e){let t,n;const r={},{modules:c,nodeOps:u}=e;for(t=0;t<Yr.length;++t)for(r[Yr[t]]=[],n=0;n<c.length;++n)s(c[n][Yr[t]])&&r[Yr[t]].push(c[n][Yr[t]]);function d(e){const t=u.parentNode(e);s(t)&&u.removeChild(t,e)}function p(e,t,n,o,i,l,c){if(s(e.elm)&&s(l)&&(e=l[c]=fe(e)),e.isRootInsert=!i,function(e,t,n,o){let i=e.data;if(s(i)){const l=s(e.componentInstance)&&i.keepAlive;if(s(i=i.hook)&&s(i=i.init)&&i(e,!1),s(e.componentInstance))return h(e,t),f(n,e.elm,o),a(l)&&function(e,t,n,o){let i,a=e;for(;a.componentInstance;)if(a=a.componentInstance._vnode,s(i=a.data)&&s(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](Xr,a);t.push(a);break}f(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o))return;const d=e.data,p=e.children,g=e.tag;s(g)?(e.elm=e.ns?u.createElementNS(e.ns,g):u.createElement(g,e),b(e),m(e,p,t),s(d)&&_(e,t),f(n,e.elm,o)):a(e.isComment)?(e.elm=u.createComment(e.text),f(n,e.elm,o)):(e.elm=u.createTextNode(e.text),f(n,e.elm,o))}function h(e,t){s(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(_(e,t),b(e)):(Kr(e),t.push(e))}function f(e,t,n){s(e)&&(s(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function m(e,t,n){if(o(t))for(let r=0;r<t.length;++r)p(t[r],n,e.elm,null,!0,t,r);else l(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return s(e.tag)}function _(e,n){for(let t=0;t<r.create.length;++t)r.create[t](Xr,e);t=e.data.hook,s(t)&&(s(t.create)&&t.create(Xr,e),s(t.insert)&&n.push(e))}function b(e){let t;if(s(t=e.fnScopeId))u.setStyleScope(e.elm,t);else{let n=e;for(;n;)s(t=n.context)&&s(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent}s(t=In)&&t!==e.context&&t!==e.fnContext&&s(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function y(e,t,n,r,o,i){for(;r<=o;++r)p(n[r],i,e,t,!1,n,r)}function w(e){let t,n;const o=e.data;if(s(o))for(s(t=o.hook)&&s(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(s(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function k(e,t,n){for(;t<=n;++t){const n=e[t];s(n)&&(s(n.tag)?(E(n),w(n)):d(n.elm))}}function E(e,t){if(s(t)||s(e.data)){let n;const o=r.remove.length+1;for(s(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&d(e)}return n.listeners=t,n}(e.elm,o),s(n=e.componentInstance)&&s(n=n._vnode)&&s(n.data)&&E(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);s(n=e.data.hook)&&s(n=n.remove)?n(e,t):t()}else d(e.elm)}function S(e,t,n,r){for(let o=n;o<r;o++){const n=t[o];if(s(n)&&Jr(e,n))return o}}function I(e,t,n,o,l,c){if(e===t)return;s(t.elm)&&s(o)&&(t=o[l]=fe(t));const d=t.elm=e.elm;if(a(e.isAsyncPlaceholder))return void(s(t.asyncFactory.resolved)?A(e.elm,t,n):t.isAsyncPlaceholder=!0);if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))return void(t.componentInstance=e.componentInstance);let h;const f=t.data;s(f)&&s(h=f.hook)&&s(h=h.prepatch)&&h(e,t);const m=e.children,_=t.children;if(s(f)&&g(t)){for(h=0;h<r.update.length;++h)r.update[h](e,t);s(h=f.hook)&&s(h=h.update)&&h(e,t)}i(t.text)?s(m)&&s(_)?m!==_&&function(e,t,n,r,o){let a,l,c,d,h=0,f=0,m=t.length-1,g=t[0],_=t[m],v=n.length-1,b=n[0],w=n[v];const E=!o;for(;h<=m&&f<=v;)i(g)?g=t[++h]:i(_)?_=t[--m]:Jr(g,b)?(I(g,b,r,n,f),g=t[++h],b=n[++f]):Jr(_,w)?(I(_,w,r,n,v),_=t[--m],w=n[--v]):Jr(g,w)?(I(g,w,r,n,v),E&&u.insertBefore(e,g.elm,u.nextSibling(_.elm)),g=t[++h],w=n[--v]):Jr(_,b)?(I(_,b,r,n,f),E&&u.insertBefore(e,_.elm,g.elm),_=t[--m],b=n[++f]):(i(a)&&(a=Zr(t,h,m)),l=s(b.key)?a[b.key]:S(b,t,h,m),i(l)?p(b,r,e,g.elm,!1,n,f):(c=t[l],Jr(c,b)?(I(c,b,r,n,f),t[l]=void 0,E&&u.insertBefore(e,c.elm,g.elm)):p(b,r,e,g.elm,!1,n,f)),b=n[++f]);h>m?(d=i(n[v+1])?null:n[v+1].elm,y(e,d,n,f,v,r)):f>v&&k(t,h,m)}(d,m,_,n,c):s(_)?(s(e.text)&&u.setTextContent(d,""),y(d,null,_,0,_.length-1,n)):s(m)?k(m,0,m.length-1):s(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),s(f)&&s(h=f.hook)&&s(h=h.postpatch)&&h(e,t)}function C(e,t,n){if(a(n)&&s(e.parent))e.parent.data.pendingInsert=t;else for(let r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}const T=v("attrs,class,staticClass,staticStyle,key");function A(e,t,n,r){let o;const{tag:i,data:l,children:c}=t;if(r=r||l&&l.pre,t.elm=e,a(t.isComment)&&s(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(s(l)&&(s(o=l.hook)&&s(o=o.init)&&o(t,!0),s(o=t.componentInstance)))return h(t,n),!0;if(s(i)){if(s(c))if(e.hasChildNodes())if(s(o=l)&&s(o=o.domProps)&&s(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{let t=!0,o=e.firstChild;for(let e=0;e<c.length;e++){if(!o||!A(o,c[e],n,r)){t=!1;break}o=o.nextSibling}if(!t||o)return!1}else m(t,c,n);if(s(l)){let e=!1;for(const r in l)if(!T(r)){e=!0,_(t,n);break}!e&&l["class"]&&gn(l["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,o){if(i(t))return void(s(e)&&w(e));let l=!1;const c=[];if(i(e))l=!0,p(t,c);else{const i=s(e.nodeType);if(!i&&Jr(e,t))I(e,t,c,null,null,o);else{if(i){if(1===e.nodeType&&e.hasAttribute(F)&&(e.removeAttribute(F),n=!0),a(n)&&A(e,t,c))return C(t,c,!0),e;d=e,e=new de(u.tagName(d).toLowerCase(),{},[],void 0,d)}const o=e.elm,l=u.parentNode(o);if(p(t,c,o._leaveCb?null:l,u.nextSibling(o)),s(t.parent)){let e=t.parent;const n=g(t);for(;e;){for(let t=0;t<r.destroy.length;++t)r.destroy[t](e);if(e.elm=t.elm,n){for(let n=0;n<r.create.length;++n)r.create[n](Xr,e);const t=e.data.hook.insert;if(t.merged){const e=t.fns.slice(1);for(let t=0;t<e.length;t++)e[t]()}}else Kr(e);e=e.parent}}s(l)?k([e],0,0):s(e.tag)&&w(e)}}var d;return C(t,c,l),t.elm}}({nodeOps:Wr,modules:[uo,ho,ko,Co,$o,K?{create:ci,activate:ci,remove(e,t){!0!==e.data.show?si(e,t):t()}}:{}].concat(so)});Y&&document.addEventListener("selectionchange",()=>{const e=document.activeElement;e&&e.vmodel&&vi(e,"input")});const di={inserted(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?at(n,"postpatch",()=>{di.componentUpdated(e,t,n)}):pi(e,t,n.context),e._vOptions=[].map.call(e.options,mi)):("textarea"===n.tag||Hr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",gi),e.addEventListener("compositionend",_i),e.addEventListener("change",_i),Y&&(e.vmodel=!0)))},componentUpdated(e,t,n){if("select"===n.tag){pi(e,t,n.context);const r=e._vOptions,o=e._vOptions=[].map.call(e.options,mi);o.some((e,t)=>!D(e,r[t]))&&(e.multiple?t.value.some(e=>fi(e,o)):t.value!==t.oldValue&&fi(t.value,o))&&vi(e,"change")}}};function pi(e,t,n){hi(e,t),(X||J)&&setTimeout(()=>{hi(e,t)},0)}function hi(e,t,n){const r=t.value,o=e.multiple;if(o&&!Array.isArray(r))return;let i,s;for(let a=0,l=e.options.length;a<l;a++)if(s=e.options[a],o)i=$(r,mi(s))>-1,s.selected!==i&&(s.selected=i);else if(D(mi(s),r))return void(e.selectedIndex!==a&&(e.selectedIndex=a));o||(e.selectedIndex=-1)}function fi(e,t){return t.every(t=>!D(t,e))}function mi(e){return"_value"in e?e._value:e.value}function gi(e){e.target.composing=!0}function _i(e){e.target.composing&&(e.target.composing=!1,vi(e.target,"input"))}function vi(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function bi(e){return!e.componentInstance||e.data&&e.data.transition?e:bi(e.componentInstance._vnode)}var yi={bind(e,{value:t},n){const r=(n=bi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;t&&r?(n.data.show=!0,ii(n,()=>{e.style.display=o})):e.style.display=t?o:"none"},update(e,{value:t,oldValue:n},r){!t!=!n&&((r=bi(r)).data&&r.data.transition?(r.data.show=!0,t?ii(r,()=>{e.style.display=e.__vOriginalDisplay}):si(r,()=>{e.style.display="none"})):e.style.display=t?e.__vOriginalDisplay:"none")},unbind(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}},wi={model:di,show:yi};const ki={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 Ei(e){const t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ei(Ft(t.children)):e}function Si(e){const t={},n=e.$options;for(const o in n.propsData)t[o]=e[o];const r=n._parentListeners;for(const o in r)t[I(o)]=r[o];return t}function Ii(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}const Ci=e=>e.tag||Ot(e),Ti=e=>"show"===e.name;var Ai={name:"transition",props:ki,abstract:!0,render(e){let t=this.$slots["default"];if(!t)return;if(t=t.filter(Ci),!t.length)return;const n=this.mode,r=t[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;const o=Ei(r);if(!o)return r;if(this._leaving)return Ii(e,r);const i=`__transition-${this._uid}-`;o.key=null==o.key?o.isComment?i+"comment":i+o.tag:l(o.key)?0===String(o.key).indexOf(i)?o.key:i+o.key:o.key;const s=(o.data||(o.data={})).transition=Si(this),a=this._vnode,c=Ei(a);if(o.data.directives&&o.data.directives.some(Ti)&&(o.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,c)&&!Ot(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){const t=c.data.transition=P({},s);if("out-in"===n)return this._leaving=!0,at(t,"afterLeave",()=>{this._leaving=!1,this.$forceUpdate()}),Ii(e,r);if("in-out"===n){if(Ot(o))return a;let e;const n=()=>{e()};at(s,"afterEnter",n),at(s,"enterCancelled",n),at(t,"delayLeave",t=>{e=t})}}return r}};const Oi=P({tag:String,moveClass:String},ki);delete Oi.mode;var xi={props:Oi,beforeMount(){const e=this._update;this._update=(t,n)=>{const r=Cn(this);this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept,r(),e.call(this,t,n)}},render(e){const t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots["default"]||[],i=this.children=[],s=Si(this);for(let a=0;a<o.length;a++){const e=o[a];e.tag&&null!=e.key&&0!==String(e.key).indexOf("__vlist")&&(i.push(e),n[e.key]=e,(e.data||(e.data={})).transition=s)}if(r){const o=[],i=[];for(let e=0;e<r.length;e++){const t=r[e];t.data.transition=s,t.data.pos=t.elm.getBoundingClientRect(),n[t.key]?o.push(t):i.push(t)}this.kept=e(t,null,o),this.removed=i}return e(t,null,i)},updated(){const e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Pi),e.forEach(Mi),e.forEach(Ni),this._reflow=document.body.offsetHeight,e.forEach(e=>{if(e.data.moved){const n=e.elm,r=n.style;Jo(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Vo,n._moveCb=function o(e){e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener(Vo,o),n._moveCb=null,Zo(n,t))})}}))},methods:{hasMove(e,t){if(!zo)return!1;if(this._hasMove)return this._hasMove;const n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(e=>{Fo(n,e)}),jo(n,t),n.style.display="none",this.$el.appendChild(n);const r=ni(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Pi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Mi(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ni(e){const 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;const t=e.elm.style;t.transform=t.WebkitTransform=`translate(${r}px,${o}px)`,t.transitionDuration="0s"}}var Ri={Transition:Ai,TransitionGroup:xi};wr.config.mustUseProp=(e,t,n)=>"value"===n&&Or(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e,wr.config.isReservedTag=zr,wr.config.isReservedAttr=Ar,wr.config.getTagNamespace=function(e){return qr(e)?"svg":"math"===e?"math":void 0},wr.config.isUnknownElement=function(e){if(!K)return!0;if(zr(e))return!1;if(e=e.toLowerCase(),null!=Br[e])return Br[e];const t=document.createElement(e);return e.indexOf("-")>-1?Br[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Br[e]=/HTMLUnknownElement/.test(t.toString())},P(wr.options.directives,wi),P(wr.options.components,Ri),wr.prototype.__patch__=K?ui:N,wr.prototype.$mount=function(e,t){return function(e,t,n){let r;e.$el=t,e.$options.render||(e.$options.render=pe),xn(e,"beforeMount"),r=()=>{e._update(e._render(),n)},new yn(e,r,N,{before(){e._isMounted&&!e._isDestroyed&&xn(e,"beforeUpdate")}},!0),n=!1;const o=e._preWatchers;if(o)for(let i=0;i<o.length;i++)o[i].run();return null==e.$vnode&&(e._isMounted=!0,xn(e,"mounted")),e}(this,e=e&&K?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},K&&setTimeout(()=>{z.devtools&&ie&&ie.emit("init",wr)},0),P(wr,fn),e.exports=wr},7612:function(e,t,n){"use strict";!function(e){function t(){}function r(e){return"object"==typeof e&&null!==e||"function"==typeof e}const o=t;function i(e,t){try{Object.defineProperty(e,"name",{value:t,configurable:!0})}catch(e){}}const s=Promise,a=Promise.resolve.bind(s),l=Promise.prototype.then,c=Promise.reject.bind(s),u=a;function d(e){return new s(e)}function p(e){return d(t=>t(e))}function h(e){return c(e)}function f(e,t,n){return l.call(e,t,n)}function m(e,t,n){f(f(e,t,n),void 0,o)}function g(e,t){m(e,t)}function _(e,t){m(e,void 0,t)}function v(e,t,n){return f(e,t,n)}function b(e){f(e,void 0,o)}let y=e=>{if("function"==typeof queueMicrotask)y=queueMicrotask;else{const e=p(void 0);y=t=>f(e,t)}return y(e)};function w(e,t,n){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,n)}function k(e,t,n){try{return p(w(e,t,n))}catch(e){return h(e)}}class E{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(e){const t=this._back;let 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}shift(){const e=this._front;let t=e;const n=this._cursor;let r=n+1;const 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}forEach(e){let t=this._cursor,n=this._front,r=n._elements;for(;!(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}peek(){const e=this._front,t=this._cursor;return e._elements[t]}}const S=Symbol("[[AbortSteps]]"),I=Symbol("[[ErrorSteps]]"),C=Symbol("[[CancelSteps]]"),T=Symbol("[[PullSteps]]"),A=Symbol("[[ReleaseSteps]]");function O(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?N(e):"closed"===t._state?function(e){N(e),D(e)}(e):R(e,t._storedError)}function x(e,t){return qn(e._ownerReadableStream,t)}function P(e){const t=e._ownerReadableStream;"readable"===t._state?L(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(e){R(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"))}(e),t._readableStreamController[A](),t._reader=void 0,e._ownerReadableStream=void 0}function M(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function N(e){e._closedPromise=d((t,n)=>{e._closedPromise_resolve=t,e._closedPromise_reject=n})}function R(e,t){N(e),L(e,t)}function L(e,t){void 0!==e._closedPromise_reject&&(b(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function D(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}const $=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},U=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function j(e,t){if(void 0!==e&&"object"!=typeof(n=e)&&"function"!=typeof n)throw new TypeError(`${t} is not an object.`);var n}function F(e,t){if("function"!=typeof e)throw new TypeError(`${t} is not a function.`)}function G(e,t){if(!function(e){return"object"==typeof e&&null!==e||"function"==typeof e}(e))throw new TypeError(`${t} is not an object.`)}function q(e,t,n){if(void 0===e)throw new TypeError(`Parameter ${t} is required in '${n}'.`)}function z(e,t,n){if(void 0===e)throw new TypeError(`${t} is required in '${n}'.`)}function B(e){return Number(e)}function H(e){return 0===e?0:e}function W(e,t){const n=Number.MAX_SAFE_INTEGER;let r=Number(e);if(r=H(r),!$(r))throw new TypeError(`${t} is not a finite number`);if(r=function(e){return H(U(e))}(r),r<0||r>n)throw new TypeError(`${t} is outside the accepted range of 0 to ${n}, inclusive`);return $(r)&&0!==r?r:0}function V(e,t){if(!Fn(e))throw new TypeError(`${t} is not a ReadableStream.`)}function K(e){return new Z(e)}function Q(e,t){e._reader._readRequests.push(t)}function X(e,t,n){const r=e._reader._readRequests.shift();n?r._closeSteps():r._chunkSteps(t)}function Y(e){return e._reader._readRequests.length}function J(e){const t=e._reader;return void 0!==t&&!!ee(t)}class Z{constructor(e){if(q(e,1,"ReadableStreamDefaultReader"),V(e,"First parameter"),Gn(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");O(this,e),this._readRequests=new E}get closed(){return ee(this)?this._closedPromise:h(re("closed"))}cancel(e=void 0){return ee(this)?void 0===this._ownerReadableStream?h(M("cancel")):x(this,e):h(re("cancel"))}read(){if(!ee(this))return h(re("read"));if(void 0===this._ownerReadableStream)return h(M("read from"));let e,t;const n=d((n,r)=>{e=n,t=r});return te(this,{_chunkSteps:t=>e({value:t,done:!1}),_closeSteps:()=>e({value:void 0,done:!0}),_errorSteps:e=>t(e)}),n}releaseLock(){if(!ee(this))throw re("releaseLock");void 0!==this._ownerReadableStream&&function(e){P(e),ne(e,new TypeError("Reader was released"))}(this)}}function ee(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")&&e instanceof Z}function te(e,t){const n=e._ownerReadableStream;n._disturbed=!0,"closed"===n._state?t._closeSteps():"errored"===n._state?t._errorSteps(n._storedError):n._readableStreamController[T](t)}function ne(e,t){const n=e._readRequests;e._readRequests=new E,n.forEach(e=>{e._errorSteps(t)})}function re(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}var oe,ie,se;function ae(e){return e.slice()}function le(e,t,n,r,o){new Uint8Array(e).set(new Uint8Array(n,r,o),t)}Object.defineProperties(Z.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(Z.prototype.cancel,"cancel"),i(Z.prototype.read,"read"),i(Z.prototype.releaseLock,"releaseLock"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Z.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});let ce=e=>(ce="function"==typeof e.transfer?e=>e.transfer():"function"==typeof structuredClone?e=>structuredClone(e,{transfer:[e]}):e=>e,ce(e)),ue=e=>(ue="boolean"==typeof e.detached?e=>e.detached:e=>0===e.byteLength,ue(e));function de(e,t,n){if(e.slice)return e.slice(t,n);const r=n-t,o=new ArrayBuffer(r);return le(o,0,e,t,r),o}function pe(e,t){const n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(`${String(t)} is not a function`);return n}}function he(e){try{const t=e.done,n=e.value;return f(u(n),e=>({done:t,value:e}))}catch(e){return h(e)}}const fe=null!==(se=null!==(oe=Symbol.asyncIterator)&&void 0!==oe?oe:null===(ie=Symbol["for"])||void 0===ie?void 0:ie.call(Symbol,"Symbol.asyncIterator"))&&void 0!==se?se:"@@asyncIterator";function me(e,t="sync",n){if(void 0===n)if("async"===t){if(void 0===(n=pe(e,fe)))return function(e){const t={next(){let t;try{t=ge(e)}catch(e){return h(e)}return he(t)},"return"(t){let n;try{const r=pe(e.iterator,"return");if(void 0===r)return p({done:!0,value:t});n=w(r,e.iterator,[t])}catch(e){return h(e)}return r(n)?he(n):h(new TypeError("The iterator.return() method must return an object"))}};return{iterator:t,nextMethod:t.next,done:!1}}(me(e,"sync",pe(e,Symbol.iterator)))}else n=pe(e,Symbol.iterator);if(void 0===n)throw new TypeError("The object is not iterable");const o=w(n,e,[]);if(!r(o))throw new TypeError("The iterator method must return an object");return{iterator:o,nextMethod:o.next,done:!1}}function ge(e){const t=w(e.nextMethod,e.iterator,[]);if(!r(t))throw new TypeError("The iterator.next() method must return an object");return t}class _e{constructor(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}next(){const e=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?v(this._ongoingPromise,e,e):e(),this._ongoingPromise}"return"(e){const t=()=>this._returnSteps(e);return this._ongoingPromise=this._ongoingPromise?v(this._ongoingPromise,t,t):t(),this._ongoingPromise}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});const e=this._reader;let t,n;const r=d((e,r)=>{t=e,n=r});return te(e,{_chunkSteps:e=>{this._ongoingPromise=void 0,y(()=>t({value:e,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,P(e),t({value:void 0,done:!0})},_errorSteps:t=>{this._ongoingPromise=void 0,this._isFinished=!0,P(e),n(t)}}),r}_returnSteps(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;const t=this._reader;if(!this._preventCancel){const n=x(t,e);return P(t),v(n,()=>({value:e,done:!0}))}return P(t),p({value:e,done:!0})}}const ve={next(){return be(this)?this._asyncIteratorImpl.next():h(ye("next"))},"return"(e){return be(this)?this._asyncIteratorImpl["return"](e):h(ye("return"))},[fe](){return this}};function be(e){if(!r(e))return!1;if(!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof _e}catch(e){return!1}}function ye(e){return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}Object.defineProperty(ve,fe,{enumerable:!1});const we=Number.isNaN||function(e){return e!=e};function ke(e){const t=de(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function Ee(e){const t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function Se(e,t,n){if("number"!=typeof(r=n)||we(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 Ie(e){e._queue=new E,e._queueTotalSize=0}function Ce(e){return e===DataView}class Te{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!xe(this))throw rt("view");return this._view}respond(e){if(!xe(this))throw rt("respond");if(q(e,1,"respond"),e=W(e,"First parameter"),void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(ue(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");et(this._associatedReadableByteStreamController,e)}respondWithNewView(e){if(!xe(this))throw rt("respondWithNewView");if(q(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(ue(e.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");tt(this._associatedReadableByteStreamController,e)}}Object.defineProperties(Te.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),i(Te.prototype.respond,"respond"),i(Te.prototype.respondWithNewView,"respondWithNewView"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Te.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class Ae{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!Oe(this))throw ot("byobRequest");return Je(this)}get desiredSize(){if(!Oe(this))throw ot("desiredSize");return Ze(this)}close(){if(!Oe(this))throw ot("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");const e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);Ke(this)}enqueue(e){if(!Oe(this))throw ot("enqueue");if(q(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");const t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);Qe(this,e)}error(e=void 0){if(!Oe(this))throw ot("error");Xe(this,e)}[C](e){Me(this),Ie(this);const t=this._cancelAlgorithm(e);return Ve(this),t}[T](e){const t=this._controlledReadableByteStream;if(this._queueTotalSize>0)return void Ye(this,e);const n=this._autoAllocateChunkSize;if(void 0!==n){let r;try{r=new ArrayBuffer(n)}catch(t){return void e._errorSteps(t)}const o={buffer:r,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}Q(t,e),Pe(this)}[A](){if(this._pendingPullIntos.length>0){const e=this._pendingPullIntos.peek();e.readerType="none",this._pendingPullIntos=new E,this._pendingPullIntos.push(e)}}}function Oe(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")&&e instanceof Ae}function xe(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")&&e instanceof Te}function Pe(e){const t=function(e){const t=e._controlledReadableByteStream;return"readable"===t._state&&!e._closeRequested&&!!e._started&&(!!(J(t)&&Y(t)>0)||!!(ct(t)&&lt(t)>0)||Ze(e)>0)}(e);t&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Pe(e)),null),t=>(Xe(e,t),null))))}function Me(e){qe(e),e._pendingPullIntos=new E}function Ne(e,t){let n=!1;"closed"===e._state&&(n=!0);const r=Le(t);"default"===t.readerType?X(e,r,n):function(e,t,n){const r=e._reader._readIntoRequests.shift();n?r._closeSteps(t):r._chunkSteps(t)}(e,r,n)}function Re(e,t){for(let n=0;n<t.length;++n)Ne(e,t[n])}function Le(e){const t=e.bytesFilled,n=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/n)}function De(e,t,n,r){e._queue.push({buffer:t,byteOffset:n,byteLength:r}),e._queueTotalSize+=r}function $e(e,t,n,r){let o;try{o=de(t,n,n+r)}catch(t){throw Xe(e,t),t}De(e,o,0,r)}function Ue(e,t){t.bytesFilled>0&&$e(e,t.buffer,t.byteOffset,t.bytesFilled),We(e)}function je(e,t){const n=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),r=t.bytesFilled+n;let o=n,i=!1;const s=r-r%t.elementSize;s>=t.minimumFill&&(o=s-t.bytesFilled,i=!0);const a=e._queue;for(;o>0;){const n=a.peek(),r=Math.min(o,n.byteLength),i=t.byteOffset+t.bytesFilled;le(t.buffer,i,n.buffer,n.byteOffset,r),n.byteLength===r?a.shift():(n.byteOffset+=r,n.byteLength-=r),e._queueTotalSize-=r,Fe(e,r,t),o-=r}return i}function Fe(e,t,n){n.bytesFilled+=t}function Ge(e){0===e._queueTotalSize&&e._closeRequested?(Ve(e),zn(e._controlledReadableByteStream)):Pe(e)}function qe(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function ze(e){const t=[];for(;e._pendingPullIntos.length>0&&0!==e._queueTotalSize;){const n=e._pendingPullIntos.peek();je(e,n)&&(We(e),t.push(n))}return t}function Be(e,t,n,r){const o=e._controlledReadableByteStream,i=t.constructor,s=function(e){return Ce(e)?1:e.BYTES_PER_ELEMENT}(i),{byteOffset:a,byteLength:l}=t,c=n*s;let u;try{u=ce(t.buffer)}catch(e){return void r._errorSteps(e)}const d={buffer:u,bufferByteLength:u.byteLength,byteOffset:a,byteLength:l,bytesFilled:0,minimumFill:c,elementSize:s,viewConstructor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(d),void at(o,r);if("closed"===o._state){const e=new i(d.buffer,d.byteOffset,0);return void r._closeSteps(e)}if(e._queueTotalSize>0){if(je(e,d)){const t=Le(d);return Ge(e),void r._chunkSteps(t)}if(e._closeRequested){const t=new TypeError("Insufficient bytes to fill elements in the given buffer");return Xe(e,t),void r._errorSteps(t)}}e._pendingPullIntos.push(d),at(o,r),Pe(e)}function He(e,t){const n=e._pendingPullIntos.peek();qe(e),"closed"===e._controlledReadableByteStream._state?function(e,t){"none"===t.readerType&&We(e);const n=e._controlledReadableByteStream;if(ct(n)){const t=[];for(;t.length<lt(n);)t.push(We(e));Re(n,t)}}(e,n):function(e,t,n){if(Fe(0,t,n),"none"===n.readerType){Ue(e,n);const t=ze(e);return void Re(e._controlledReadableByteStream,t)}if(n.bytesFilled<n.minimumFill)return;We(e);const r=n.bytesFilled%n.elementSize;if(r>0){const t=n.byteOffset+n.bytesFilled;$e(e,n.buffer,t-r,r)}n.bytesFilled-=r;const o=ze(e);Ne(e._controlledReadableByteStream,n),Re(e._controlledReadableByteStream,o)}(e,t,n),Pe(e)}function We(e){return e._pendingPullIntos.shift()}function Ve(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Ke(e){const t=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===t._state)if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek();if(t.bytesFilled%t.elementSize!==0){const t=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Xe(e,t),t}}Ve(e),zn(t)}}function Qe(e,t){const n=e._controlledReadableByteStream;if(e._closeRequested||"readable"!==n._state)return;const{buffer:r,byteOffset:o,byteLength:i}=t;if(ue(r))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");const s=ce(r);if(e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek();if(ue(t.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");qe(e),t.buffer=ce(t.buffer),"none"===t.readerType&&Ue(e,t)}J(n)?(function(e){const t=e._controlledReadableByteStream._reader;for(;t._readRequests.length>0;){if(0===e._queueTotalSize)return;Ye(e,t._readRequests.shift())}}(e),0===Y(n)?De(e,s,o,i):(e._pendingPullIntos.length>0&&We(e),X(n,new Uint8Array(s,o,i),!1))):ct(n)?(De(e,s,o,i),Re(n,ze(e))):De(e,s,o,i),Pe(e)}function Xe(e,t){const n=e._controlledReadableByteStream;"readable"===n._state&&(Me(e),Ie(e),Ve(e),Bn(n,t))}function Ye(e,t){const n=e._queue.shift();e._queueTotalSize-=n.byteLength,Ge(e);const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);t._chunkSteps(r)}function Je(e){if(null===e._byobRequest&&e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek(),n=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),r=Object.create(Te.prototype);!function(e,t,n){e._associatedReadableByteStreamController=t,e._view=n}(r,e,n),e._byobRequest=r}return e._byobRequest}function Ze(e){const t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function et(e,t){const 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=ce(n.buffer),He(e,t)}function tt(e,t){const 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");const r=t.byteLength;n.buffer=ce(t.buffer),He(e,r)}function nt(e,t,n,r,o,i,s){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,Ie(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,t._autoAllocateChunkSize=s,t._pendingPullIntos=new E,e._readableStreamController=t,m(p(n()),()=>(t._started=!0,Pe(t),null),e=>(Xe(t,e),null))}function rt(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function ot(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function it(e,t){if("byob"!=(e=`${e}`))throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}function st(e){return new ut(e)}function at(e,t){e._reader._readIntoRequests.push(t)}function lt(e){return e._reader._readIntoRequests.length}function ct(e){const t=e._reader;return void 0!==t&&!!dt(t)}Object.defineProperties(Ae.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),i(Ae.prototype.close,"close"),i(Ae.prototype.enqueue,"enqueue"),i(Ae.prototype.error,"error"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Ae.prototype,Symbol.toStringTag,{value:"ReadableByteStreamController",configurable:!0});class ut{constructor(e){if(q(e,1,"ReadableStreamBYOBReader"),V(e,"First parameter"),Gn(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Oe(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");O(this,e),this._readIntoRequests=new E}get closed(){return dt(this)?this._closedPromise:h(ft("closed"))}cancel(e=void 0){return dt(this)?void 0===this._ownerReadableStream?h(M("cancel")):x(this,e):h(ft("cancel"))}read(e,t={}){if(!dt(this))return h(ft("read"));if(!ArrayBuffer.isView(e))return h(new TypeError("view must be an array buffer view"));if(0===e.byteLength)return h(new TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return h(new TypeError("view's buffer must have non-zero byteLength"));if(ue(e.buffer))return h(new TypeError("view's buffer has been detached"));let n;try{n=function(e,t){var n;return j(e,t),{min:W(null!==(n=null==e?void 0:e.min)&&void 0!==n?n:1,`${t} has member 'min' that`)}}(t,"options")}catch(e){return h(e)}const r=n.min;if(0===r)return h(new TypeError("options.min must be greater than 0"));if(function(e){return Ce(e.constructor)}(e)){if(r>e.byteLength)return h(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(r>e.length)return h(new RangeError("options.min must be less than or equal to view's length"));if(void 0===this._ownerReadableStream)return h(M("read from"));let o,i;const s=d((e,t)=>{o=e,i=t});return pt(this,e,r,{_chunkSteps:e=>o({value:e,done:!1}),_closeSteps:e=>o({value:e,done:!0}),_errorSteps:e=>i(e)}),s}releaseLock(){if(!dt(this))throw ft("releaseLock");void 0!==this._ownerReadableStream&&function(e){P(e),ht(e,new TypeError("Reader was released"))}(this)}}function dt(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")&&e instanceof ut}function pt(e,t,n,r){const o=e._ownerReadableStream;o._disturbed=!0,"errored"===o._state?r._errorSteps(o._storedError):Be(o._readableStreamController,t,n,r)}function ht(e,t){const n=e._readIntoRequests;e._readIntoRequests=new E,n.forEach(e=>{e._errorSteps(t)})}function ft(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function mt(e,t){const{highWaterMark:n}=e;if(void 0===n)return t;if(we(n)||n<0)throw new RangeError("Invalid highWaterMark");return n}function gt(e){const{size:t}=e;return t||(()=>1)}function _t(e,t){j(e,t);const n=null==e?void 0:e.highWaterMark,r=null==e?void 0:e.size;return{highWaterMark:void 0===n?void 0:B(n),size:void 0===r?void 0:vt(r,`${t} has member 'size' that`)}}function vt(e,t){return F(e,t),t=>B(e(t))}function bt(e,t,n){return F(e,n),n=>k(e,t,[n])}function yt(e,t,n){return F(e,n),()=>k(e,t,[])}function wt(e,t,n){return F(e,n),n=>w(e,t,[n])}function kt(e,t,n){return F(e,n),(n,r)=>k(e,t,[n,r])}function Et(e,t){if(!Tt(e))throw new TypeError(`${t} is not a WritableStream.`)}Object.defineProperties(ut.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(ut.prototype.cancel,"cancel"),i(ut.prototype.read,"read"),i(ut.prototype.releaseLock,"releaseLock"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(ut.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});class St{constructor(e={},t={}){void 0===e?e=null:G(e,"First parameter");const n=_t(t,"Second parameter"),r=function(e,t){j(e,t);const 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,s=null==e?void 0:e.write;return{abort:void 0===n?void 0:bt(n,e,`${t} has member 'abort' that`),close:void 0===r?void 0:yt(r,e,`${t} has member 'close' that`),start:void 0===o?void 0:wt(o,e,`${t} has member 'start' that`),write:void 0===s?void 0:kt(s,e,`${t} has member 'write' that`),type:i}}(e,"First parameter");if(Ct(this),void 0!==r.type)throw new RangeError("Invalid type is specified");const o=gt(n);!function(e,t,n,r){const o=Object.create(Ht.prototype);let i,s,a,l;i=void 0!==t.start?()=>t.start(o):()=>{},s=void 0!==t.write?e=>t.write(e,o):()=>p(void 0),a=void 0!==t.close?()=>t.close():()=>p(void 0),l=void 0!==t.abort?e=>t.abort(e):()=>p(void 0),Vt(e,o,i,s,a,l,n,r)}(this,r,mt(n,1),o)}get locked(){if(!Tt(this))throw en("locked");return At(this)}abort(e=void 0){return Tt(this)?At(this)?h(new TypeError("Cannot abort a stream that already has a writer")):Ot(this,e):h(en("abort"))}close(){return Tt(this)?At(this)?h(new TypeError("Cannot close a stream that already has a writer")):Rt(this)?h(new TypeError("Cannot close an already-closing stream")):xt(this):h(en("close"))}getWriter(){if(!Tt(this))throw en("getWriter");return It(this)}}function It(e){return new $t(e)}function Ct(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new E,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 At(e){return void 0!==e._writer}function Ot(e,t){var n;if("closed"===e._state||"errored"===e._state)return p(void 0);e._writableStreamController._abortReason=t,null===(n=e._writableStreamController._abortController)||void 0===n||n.abort(t);const r=e._state;if("closed"===r||"errored"===r)return p(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;let o=!1;"erroring"===r&&(o=!0,t=void 0);const i=d((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 xt(e){const t=e._state;if("closed"===t||"errored"===t)return h(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));const n=d((t,n)=>{const r={_resolve:t,_reject:n};e._closeRequest=r}),r=e._writer;var o;return void 0!==r&&e._backpressure&&"writable"===t&&hn(r),Se(o=e._writableStreamController,Bt,0),Xt(o),n}function Pt(e,t){"writable"!==e._state?Nt(e):Mt(e,t)}function Mt(e,t){const n=e._writableStreamController;e._state="erroring",e._storedError=t;const r=e._writer;void 0!==r&&Gt(r,t),!function(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}(e)&&n._started&&Nt(e)}function Nt(e){e._state="errored",e._writableStreamController[I]();const t=e._storedError;if(e._writeRequests.forEach(e=>{e._reject(t)}),e._writeRequests=new E,void 0===e._pendingAbortRequest)return void Lt(e);const n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,n._wasAlreadyErroring)return n._reject(t),void Lt(e);m(e._writableStreamController[S](n._reason),()=>(n._resolve(),Lt(e),null),t=>(n._reject(t),Lt(e),null))}function Rt(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function Lt(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);const t=e._writer;void 0!==t&&an(t,e._storedError)}function Dt(e,t){const n=e._writer;void 0!==n&&t!==e._backpressure&&(t?function(e){cn(e)}(n):hn(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"==typeof Symbol.toStringTag&&Object.defineProperty(St.prototype,Symbol.toStringTag,{value:"WritableStream",configurable:!0});class $t{constructor(e){if(q(e,1,"WritableStreamDefaultWriter"),Et(e,"First parameter"),At(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;const t=e._state;if("writable"===t)!Rt(e)&&e._backpressure?cn(this):dn(this),on(this);else if("erroring"===t)un(this,e._storedError),on(this);else if("closed"===t)dn(this),on(n=this),ln(n);else{const t=e._storedError;un(this,t),sn(this,t)}var n}get closed(){return Ut(this)?this._closedPromise:h(nn("closed"))}get desiredSize(){if(!Ut(this))throw nn("desiredSize");if(void 0===this._ownerWritableStream)throw rn("desiredSize");return function(e){const t=e._ownerWritableStream,n=t._state;return"errored"===n||"erroring"===n?null:"closed"===n?0:Qt(t._writableStreamController)}(this)}get ready(){return Ut(this)?this._readyPromise:h(nn("ready"))}abort(e=void 0){return Ut(this)?void 0===this._ownerWritableStream?h(rn("abort")):function(e,t){return Ot(e._ownerWritableStream,t)}(this,e):h(nn("abort"))}close(){if(!Ut(this))return h(nn("close"));const e=this._ownerWritableStream;return void 0===e?h(rn("close")):Rt(e)?h(new TypeError("Cannot close an already-closing stream")):jt(this)}releaseLock(){if(!Ut(this))throw nn("releaseLock");void 0!==this._ownerWritableStream&&qt(this)}write(e=void 0){return Ut(this)?void 0===this._ownerWritableStream?h(rn("write to")):zt(this,e):h(nn("write"))}}function Ut(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")&&e instanceof $t}function jt(e){return xt(e._ownerWritableStream)}function Ft(e,t){"pending"===e._closedPromiseState?an(e,t):function(e,t){sn(e,t)}(e,t)}function Gt(e,t){"pending"===e._readyPromiseState?pn(e,t):function(e,t){un(e,t)}(e,t)}function qt(e){const t=e._ownerWritableStream,n=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Gt(e,n),Ft(e,n),t._writer=void 0,e._ownerWritableStream=void 0}function zt(e,t){const 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 Yt(e,t),1}}(r,t);if(n!==e._ownerWritableStream)return h(rn("write to"));const i=n._state;if("errored"===i)return h(n._storedError);if(Rt(n)||"closed"===i)return h(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===i)return h(n._storedError);const s=function(e){return d((t,n)=>{const r={_resolve:t,_reject:n};e._writeRequests.push(r)})}(n);return function(e,t,n){try{Se(e,t,n)}catch(t){return void Yt(e,t)}const r=e._controlledWritableStream;Rt(r)||"writable"!==r._state||Dt(r,Jt(e)),Xt(e)}(r,t,o),s}Object.defineProperties($t.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),i($t.prototype.abort,"abort"),i($t.prototype.close,"close"),i($t.prototype.releaseLock,"releaseLock"),i($t.prototype.write,"write"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty($t.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});const Bt={};class Ht{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Wt(this))throw tn("abortReason");return this._abortReason}get signal(){if(!Wt(this))throw tn("signal");if(void 0===this._abortController)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(e=void 0){if(!Wt(this))throw tn("error");"writable"===this._controlledWritableStream._state&&Zt(this,e)}[S](e){const t=this._abortAlgorithm(e);return Kt(this),t}[I](){Ie(this)}}function Wt(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")&&e instanceof Ht}function Vt(e,t,n,r,o,i,s,a){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,Ie(t),t._abortReason=void 0,t._abortController=function(){if("function"==typeof AbortController)return new AbortController}(),t._started=!1,t._strategySizeAlgorithm=a,t._strategyHWM=s,t._writeAlgorithm=r,t._closeAlgorithm=o,t._abortAlgorithm=i;const l=Jt(t);Dt(e,l),m(p(n()),()=>(t._started=!0,Xt(t),null),n=>(t._started=!0,Pt(e,n),null))}function Kt(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 Xt(e){const t=e._controlledWritableStream;if(!e._started)return;if(void 0!==t._inFlightWriteRequest)return;if("erroring"===t._state)return void Nt(t);if(0===e._queue.length)return;const n=e._queue.peek().value;n===Bt?function(e){const t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),Ee(e);const n=e._closeAlgorithm();Kt(e),m(n,()=>(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";const t=e._writer;void 0!==t&&ln(t)}(t),null),e=>(function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),Pt(e,t)}(t,e),null))}(e):function(e,t){const n=e._controlledWritableStream;!function(e){e._inFlightWriteRequest=e._writeRequests.shift()}(n),m(e._writeAlgorithm(t),()=>{!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(n);const t=n._state;if(Ee(e),!Rt(n)&&"writable"===t){const t=Jt(e);Dt(n,t)}return Xt(e),null},t=>("writable"===n._state&&Kt(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,Pt(e,t)}(n,t),null))}(e,n)}function Yt(e,t){"writable"===e._controlledWritableStream._state&&Zt(e,t)}function Jt(e){return Qt(e)<=0}function Zt(e,t){const n=e._controlledWritableStream;Kt(e),Mt(n,t)}function en(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function tn(e){return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function nn(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function rn(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function on(e){e._closedPromise=d((t,n)=>{e._closedPromise_resolve=t,e._closedPromise_reject=n,e._closedPromiseState="pending"})}function sn(e,t){on(e),an(e,t)}function an(e,t){void 0!==e._closedPromise_reject&&(b(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 cn(e){e._readyPromise=d((t,n)=>{e._readyPromise_resolve=t,e._readyPromise_reject=n}),e._readyPromiseState="pending"}function un(e,t){cn(e),pn(e,t)}function dn(e){cn(e),hn(e)}function pn(e,t){void 0!==e._readyPromise_reject&&(b(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function hn(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(Ht.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Ht.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});const fn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof n.g?n.g:void 0,mn=function(){const e=null==fn?void 0:fn.DOMException;return function(e){if("function"!=typeof e&&"object"!=typeof e)return!1;if("DOMException"!==e.name)return!1;try{return new e,!0}catch(e){return!1}}(e)?e:void 0}()||function(){const 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 gn(e,n,r,o,i,s){const a=K(e),l=It(n);e._disturbed=!0;let c=!1,u=p(void 0);return d((v,y)=>{let w;if(void 0!==s){if(w=()=>{const t=void 0!==s.reason?s.reason:new mn("Aborted","AbortError"),r=[];o||r.push(()=>"writable"===n._state?Ot(n,t):p(void 0)),i||r.push(()=>"readable"===e._state?qn(e,t):p(void 0)),T(()=>Promise.all(r.map(e=>e())),!0,t)},s.aborted)return void w();s.addEventListener("abort",w)}var k,E,S;if(C(e,a._closedPromise,e=>(o?A(!0,e):T(()=>Ot(n,e),!0,e),null)),C(n,l._closedPromise,t=>(i?A(!0,t):T(()=>qn(e,t),!0,t),null)),k=e,E=a._closedPromise,S=()=>(r?A():T(()=>function(e){const t=e._ownerWritableStream,n=t._state;return Rt(t)||"closed"===n?p(void 0):"errored"===n?h(t._storedError):jt(e)}(l)),null),"closed"===k._state?S():g(E,S),Rt(n)||"closed"===n._state){const t=new TypeError("the destination writable stream closed before all data could be piped to it");i?A(!0,t):T(()=>qn(e,t),!0,t)}function I(){const e=u;return f(u,()=>e!==u?I():void 0)}function C(e,t,n){"errored"===e._state?n(e._storedError):_(t,n)}function T(e,t,r){function o(){return m(e(),()=>O(t,r),e=>O(!0,e)),null}c||(c=!0,"writable"!==n._state||Rt(n)?o():g(I(),o))}function A(e,t){c||(c=!0,"writable"!==n._state||Rt(n)?O(e,t):g(I(),()=>O(e,t)))}function O(e,t){return qt(l),P(a),void 0!==s&&s.removeEventListener("abort",w),e?y(t):v(void 0),null}b(d((e,n)=>{!function r(o){o?e():f(c?p(!0):f(l._readyPromise,()=>d((e,n)=>{te(a,{_chunkSteps:n=>{u=f(zt(l,n),void 0,t),e(!1)},_closeSteps:()=>e(!0),_errorSteps:n})})),r,n)}(!1)}))})}class _n{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!vn(this))throw An("desiredSize");return In(this)}close(){if(!vn(this))throw An("close");if(!Cn(this))throw new TypeError("The stream is not in a state that permits close");kn(this)}enqueue(e=void 0){if(!vn(this))throw An("enqueue");if(!Cn(this))throw new TypeError("The stream is not in a state that permits enqueue");return En(this,e)}error(e=void 0){if(!vn(this))throw An("error");Sn(this,e)}[C](e){Ie(this);const t=this._cancelAlgorithm(e);return wn(this),t}[T](e){const t=this._controlledReadableStream;if(this._queue.length>0){const n=Ee(this);this._closeRequested&&0===this._queue.length?(wn(this),zn(t)):bn(this),e._chunkSteps(n)}else Q(t,e),bn(this)}[A](){}}function vn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")&&e instanceof _n}function bn(e){yn(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,bn(e)),null),t=>(Sn(e,t),null))))}function yn(e){const t=e._controlledReadableStream;return!!Cn(e)&&!!e._started&&(!!(Gn(t)&&Y(t)>0)||In(e)>0)}function wn(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function kn(e){if(!Cn(e))return;const t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(wn(e),zn(t))}function En(e,t){if(!Cn(e))return;const n=e._controlledReadableStream;if(Gn(n)&&Y(n)>0)X(n,t,!1);else{let n;try{n=e._strategySizeAlgorithm(t)}catch(t){throw Sn(e,t),t}try{Se(e,t,n)}catch(t){throw Sn(e,t),t}}bn(e)}function Sn(e,t){const n=e._controlledReadableStream;"readable"===n._state&&(Ie(e),wn(e),Bn(n,t))}function In(e){const t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Cn(e){const t=e._controlledReadableStream._state;return!e._closeRequested&&"readable"===t}function Tn(e,t,n,r,o,i,s){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Ie(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=s,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,e._readableStreamController=t,m(p(n()),()=>(t._started=!0,bn(t),null),e=>(Sn(t,e),null))}function An(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function On(e,t){return Oe(e._readableStreamController)?function(e){let t,n,r,o,i,s=K(e),a=!1,l=!1,c=!1,u=!1,h=!1;const f=d(e=>{i=e});function m(e){_(e._closedPromise,t=>(e!==s||(Xe(r._readableStreamController,t),Xe(o._readableStreamController,t),u&&h||i(void 0)),null))}function g(){dt(s)&&(P(s),s=K(e),m(s)),te(s,{_chunkSteps:t=>{y(()=>{l=!1,c=!1;const n=t;let s=t;if(!u&&!h)try{s=ke(t)}catch(t){return Xe(r._readableStreamController,t),Xe(o._readableStreamController,t),void i(qn(e,t))}u||Qe(r._readableStreamController,n),h||Qe(o._readableStreamController,s),a=!1,l?b():c&&w()})},_closeSteps:()=>{a=!1,u||Ke(r._readableStreamController),h||Ke(o._readableStreamController),r._readableStreamController._pendingPullIntos.length>0&&et(r._readableStreamController,0),o._readableStreamController._pendingPullIntos.length>0&&et(o._readableStreamController,0),u&&h||i(void 0)},_errorSteps:()=>{a=!1}})}function v(t,n){ee(s)&&(P(s),s=st(e),m(s));const d=n?o:r,p=n?r:o;pt(s,t,1,{_chunkSteps:t=>{y(()=>{l=!1,c=!1;const r=n?h:u;if(n?u:h)r||tt(d._readableStreamController,t);else{let n;try{n=ke(t)}catch(t){return Xe(d._readableStreamController,t),Xe(p._readableStreamController,t),void i(qn(e,t))}r||tt(d._readableStreamController,t),Qe(p._readableStreamController,n)}a=!1,l?b():c&&w()})},_closeSteps:e=>{a=!1;const t=n?h:u,r=n?u:h;t||Ke(d._readableStreamController),r||Ke(p._readableStreamController),void 0!==e&&(t||tt(d._readableStreamController,e),!r&&p._readableStreamController._pendingPullIntos.length>0&&et(p._readableStreamController,0)),t&&r||i(void 0)},_errorSteps:()=>{a=!1}})}function b(){if(a)return l=!0,p(void 0);a=!0;const e=Je(r._readableStreamController);return null===e?g():v(e._view,!1),p(void 0)}function w(){if(a)return c=!0,p(void 0);a=!0;const e=Je(o._readableStreamController);return null===e?g():v(e._view,!0),p(void 0)}function k(r){if(u=!0,t=r,h){const r=ae([t,n]),o=qn(e,r);i(o)}return f}function E(r){if(h=!0,n=r,u){const r=ae([t,n]),o=qn(e,r);i(o)}return f}function S(){}return r=Un(S,b,k),o=Un(S,w,E),m(s),[r,o]}(e):function(e){const t=K(e);let n,r,o,i,s,a=!1,l=!1,c=!1,u=!1;const h=d(e=>{s=e});function f(){return a?(l=!0,p(void 0)):(a=!0,te(t,{_chunkSteps:e=>{y(()=>{l=!1;const t=e,n=e;c||En(o._readableStreamController,t),u||En(i._readableStreamController,n),a=!1,l&&f()})},_closeSteps:()=>{a=!1,c||kn(o._readableStreamController),u||kn(i._readableStreamController),c&&u||s(void 0)},_errorSteps:()=>{a=!1}}),p(void 0))}function m(t){if(c=!0,n=t,u){const t=ae([n,r]),o=qn(e,t);s(o)}return h}function g(t){if(u=!0,r=t,c){const t=ae([n,r]),o=qn(e,t);s(o)}return h}function v(){}return o=$n(v,f,m),i=$n(v,f,g),_(t._closedPromise,e=>(Sn(o._readableStreamController,e),Sn(i._readableStreamController,e),c&&u||s(void 0),null)),[o,i]}(e)}function xn(e){return r(n=e)&&void 0!==n.getReader?function(e){let n;function o(){let t;try{t=e.read()}catch(e){return h(e)}return v(t,e=>{if(!r(e))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if(e.done)kn(n._readableStreamController);else{const t=e.value;En(n._readableStreamController,t)}})}function i(t){try{return p(e.cancel(t))}catch(e){return h(e)}}return n=$n(t,o,i,0),n}(e.getReader()):function(e){let n;const o=me(e,"async");function i(){let e;try{e=ge(o)}catch(e){return h(e)}return v(p(e),e=>{if(!r(e))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");if(e.done)kn(n._readableStreamController);else{const t=e.value;En(n._readableStreamController,t)}})}function s(e){const t=o.iterator;let n;try{n=pe(t,"return")}catch(e){return h(e)}return void 0===n?p(void 0):v(k(n,t,[e]),e=>{if(!r(e))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return n=$n(t,i,s,0),n}(e);var n}function Pn(e,t,n){return F(e,n),n=>k(e,t,[n])}function Mn(e,t,n){return F(e,n),n=>k(e,t,[n])}function Nn(e,t,n){return F(e,n),n=>w(e,t,[n])}function Rn(e,t){if("bytes"!=(e=`${e}`))throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}function Ln(e,t){j(e,t);const 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"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}(e))throw new TypeError(`${t} is not an AbortSignal.`)}(i,`${t} has member 'signal' that`),{preventAbort:Boolean(n),preventCancel:Boolean(r),preventClose:Boolean(o),signal:i}}Object.defineProperties(_n.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),i(_n.prototype.close,"close"),i(_n.prototype.enqueue,"enqueue"),i(_n.prototype.error,"error"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(_n.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});class Dn{constructor(e={},t={}){void 0===e?e=null:G(e,"First parameter");const n=_t(t,"Second parameter"),r=function(e,t){j(e,t);const n=e,r=null==n?void 0:n.autoAllocateChunkSize,o=null==n?void 0:n.cancel,i=null==n?void 0:n.pull,s=null==n?void 0:n.start,a=null==n?void 0:n.type;return{autoAllocateChunkSize:void 0===r?void 0:W(r,`${t} has member 'autoAllocateChunkSize' that`),cancel:void 0===o?void 0:Pn(o,n,`${t} has member 'cancel' that`),pull:void 0===i?void 0:Mn(i,n,`${t} has member 'pull' that`),start:void 0===s?void 0:Nn(s,n,`${t} has member 'start' that`),type:void 0===a?void 0:Rn(a,`${t} has member 'type' that`)}}(e,"First parameter");if(jn(this),"bytes"===r.type){if(void 0!==n.size)throw new RangeError("The strategy for a byte stream cannot have a size function");!function(e,t,n){const r=Object.create(Ae.prototype);let o,i,s;o=void 0!==t.start?()=>t.start(r):()=>{},i=void 0!==t.pull?()=>t.pull(r):()=>p(void 0),s=void 0!==t.cancel?e=>t.cancel(e):()=>p(void 0);const a=t.autoAllocateChunkSize;if(0===a)throw new TypeError("autoAllocateChunkSize must be greater than 0");nt(e,r,o,i,s,n,a)}(this,r,mt(n,0))}else{const e=gt(n);!function(e,t,n,r){const o=Object.create(_n.prototype);let i,s,a;i=void 0!==t.start?()=>t.start(o):()=>{},s=void 0!==t.pull?()=>t.pull(o):()=>p(void 0),a=void 0!==t.cancel?e=>t.cancel(e):()=>p(void 0),Tn(e,o,i,s,a,n,r)}(this,r,mt(n,1),e)}}get locked(){if(!Fn(this))throw Hn("locked");return Gn(this)}cancel(e=void 0){return Fn(this)?Gn(this)?h(new TypeError("Cannot cancel a stream that already has a reader")):qn(this,e):h(Hn("cancel"))}getReader(e=void 0){if(!Fn(this))throw Hn("getReader");return void 0===function(e,t){j(e,t);const n=null==e?void 0:e.mode;return{mode:void 0===n?void 0:it(n,`${t} has member 'mode' that`)}}(e,"First parameter").mode?K(this):st(this)}pipeThrough(e,t={}){if(!Fn(this))throw Hn("pipeThrough");q(e,1,"pipeThrough");const n=function(e,t){j(e,t);const n=null==e?void 0:e.readable;z(n,"readable","ReadableWritablePair"),V(n,`${t} has member 'readable' that`);const r=null==e?void 0:e.writable;return z(r,"writable","ReadableWritablePair"),Et(r,`${t} has member 'writable' that`),{readable:n,writable:r}}(e,"First parameter"),r=Ln(t,"Second parameter");if(Gn(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(At(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return b(gn(this,n.writable,r.preventClose,r.preventAbort,r.preventCancel,r.signal)),n.readable}pipeTo(e,t={}){if(!Fn(this))return h(Hn("pipeTo"));if(void 0===e)return h("Parameter 1 is required in 'pipeTo'.");if(!Tt(e))return h(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let n;try{n=Ln(t,"Second parameter")}catch(e){return h(e)}return Gn(this)?h(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):At(e)?h(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):gn(this,e,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!Fn(this))throw Hn("tee");return ae(On(this))}values(e=void 0){if(!Fn(this))throw Hn("values");return function(e,t){const n=K(e),r=new _e(n,t),o=Object.create(ve);return o._asyncIteratorImpl=r,o}(this,function(e){j(e,"First parameter");const t=null==e?void 0:e.preventCancel;return{preventCancel:Boolean(t)}}(e).preventCancel)}[fe](e){return this.values(e)}static from(e){return xn(e)}}function $n(e,t,n,r=1,o=()=>1){const i=Object.create(Dn.prototype);return jn(i),Tn(i,Object.create(_n.prototype),e,t,n,r,o),i}function Un(e,t,n){const r=Object.create(Dn.prototype);return jn(r),nt(r,Object.create(Ae.prototype),e,t,n,0,void 0),r}function jn(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function Fn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")&&e instanceof Dn}function Gn(e){return void 0!==e._reader}function qn(e,n){if(e._disturbed=!0,"closed"===e._state)return p(void 0);if("errored"===e._state)return h(e._storedError);zn(e);const r=e._reader;if(void 0!==r&&dt(r)){const e=r._readIntoRequests;r._readIntoRequests=new E,e.forEach(e=>{e._closeSteps(void 0)})}return v(e._readableStreamController[C](n),t)}function zn(e){e._state="closed";const t=e._reader;if(void 0!==t&&(D(t),ee(t))){const e=t._readRequests;t._readRequests=new E,e.forEach(e=>{e._closeSteps()})}}function Bn(e,t){e._state="errored",e._storedError=t;const n=e._reader;void 0!==n&&(L(n,t),ee(n)?ne(n,t):ht(n,t))}function Hn(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function Wn(e,t){j(e,t);const n=null==e?void 0:e.highWaterMark;return z(n,"highWaterMark","QueuingStrategyInit"),{highWaterMark:B(n)}}Object.defineProperties(Dn,{from:{enumerable:!0}}),Object.defineProperties(Dn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),i(Dn.from,"from"),i(Dn.prototype.cancel,"cancel"),i(Dn.prototype.getReader,"getReader"),i(Dn.prototype.pipeThrough,"pipeThrough"),i(Dn.prototype.pipeTo,"pipeTo"),i(Dn.prototype.tee,"tee"),i(Dn.prototype.values,"values"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Dn.prototype,Symbol.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(Dn.prototype,fe,{value:Dn.prototype.values,writable:!0,configurable:!0});const Vn=e=>e.byteLength;i(Vn,"size");class Kn{constructor(e){q(e,1,"ByteLengthQueuingStrategy"),e=Wn(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!Xn(this))throw Qn("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!Xn(this))throw Qn("size");return Vn}}function Qn(e){return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function Xn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")&&e instanceof Kn}Object.defineProperties(Kn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Kn.prototype,Symbol.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});const Yn=()=>1;i(Yn,"size");class Jn{constructor(e){q(e,1,"CountQueuingStrategy"),e=Wn(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!er(this))throw Zn("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!er(this))throw Zn("size");return Yn}}function Zn(e){return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function er(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")&&e instanceof Jn}function tr(e,t,n){return F(e,n),n=>k(e,t,[n])}function nr(e,t,n){return F(e,n),n=>w(e,t,[n])}function rr(e,t,n){return F(e,n),(n,r)=>k(e,t,[n,r])}function or(e,t,n){return F(e,n),n=>k(e,t,[n])}Object.defineProperties(Jn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Jn.prototype,Symbol.toStringTag,{value:"CountQueuingStrategy",configurable:!0});class ir{constructor(e={},t={},n={}){void 0===e&&(e=null);const r=_t(t,"Second parameter"),o=_t(n,"Third parameter"),i=function(e,t){j(e,t);const 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,s=null==e?void 0:e.transform,a=null==e?void 0:e.writableType;return{cancel:void 0===n?void 0:or(n,e,`${t} has member 'cancel' that`),flush:void 0===r?void 0:tr(r,e,`${t} has member 'flush' that`),readableType:o,start:void 0===i?void 0:nr(i,e,`${t} has member 'start' that`),transform:void 0===s?void 0:rr(s,e,`${t} has member 'transform' that`),writableType:a}}(e,"First parameter");if(void 0!==i.readableType)throw new RangeError("Invalid readableType specified");if(void 0!==i.writableType)throw new RangeError("Invalid writableType specified");const s=mt(o,0),a=gt(o),l=mt(r,1),c=gt(r);let u;!function(e,t,n,r,o,i){function s(){return t}function a(t){return function(e,t){const n=e._transformStreamController;return e._backpressure?v(e._backpressureChangePromise,()=>{const r=e._writable;if("erroring"===r._state)throw r._storedError;return mr(n,t)}):mr(n,t)}(e,t)}function l(t){return function(e,t){const n=e._transformStreamController;if(void 0!==n._finishPromise)return n._finishPromise;const r=e._readable;n._finishPromise=d((e,t)=>{n._finishPromise_resolve=e,n._finishPromise_reject=t});const o=n._cancelAlgorithm(t);return hr(n),m(o,()=>("errored"===r._state?vr(n,r._storedError):(Sn(r._readableStreamController,t),_r(n)),null),e=>(Sn(r._readableStreamController,e),vr(n,e),null)),n._finishPromise}(e,t)}function c(){return function(e){const t=e._transformStreamController;if(void 0!==t._finishPromise)return t._finishPromise;const n=e._readable;t._finishPromise=d((e,n)=>{t._finishPromise_resolve=e,t._finishPromise_reject=n});const r=t._flushAlgorithm();return hr(t),m(r,()=>("errored"===n._state?vr(t,n._storedError):(kn(n._readableStreamController),_r(t)),null),e=>(Sn(n._readableStreamController,e),vr(t,e),null)),t._finishPromise}(e)}function u(){return function(e){return ur(e,!1),e._backpressureChangePromise}(e)}function p(t){return function(e,t){const n=e._transformStreamController;if(void 0!==n._finishPromise)return n._finishPromise;const r=e._writable;n._finishPromise=d((e,t)=>{n._finishPromise_resolve=e,n._finishPromise_reject=t});const o=n._cancelAlgorithm(t);return hr(n),m(o,()=>("errored"===r._state?vr(n,r._storedError):(Yt(r._writableStreamController,t),cr(e),_r(n)),null),t=>(Yt(r._writableStreamController,t),cr(e),vr(n,t),null)),n._finishPromise}(e,t)}e._writable=function(e,t,n,r,o=1,i=()=>1){const s=Object.create(St.prototype);return Ct(s),Vt(s,Object.create(Ht.prototype),e,t,n,r,o,i),s}(s,a,c,l,n,r),e._readable=$n(s,u,p,o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,ur(e,!0),e._transformStreamController=void 0}(this,d(e=>{u=e}),l,c,s,a),function(e,t){const n=Object.create(dr.prototype);let r,o,i;r=void 0!==t.transform?e=>t.transform(e,n):e=>{try{return fr(n,e),p(void 0)}catch(e){return h(e)}},o=void 0!==t.flush?()=>t.flush(n):()=>p(void 0),i=void 0!==t.cancel?e=>t.cancel(e):()=>p(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,n,r,o,i)}(this,i),void 0!==i.start?u(i.start(this._transformStreamController)):u(void 0)}get readable(){if(!sr(this))throw br("readable");return this._readable}get writable(){if(!sr(this))throw br("writable");return this._writable}}function sr(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")&&e instanceof ir}function ar(e,t){Sn(e._readable._readableStreamController,t),lr(e,t)}function lr(e,t){hr(e._transformStreamController),Yt(e._writable._writableStreamController,t),cr(e)}function cr(e){e._backpressure&&ur(e,!1)}function ur(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=d(t=>{e._backpressureChangePromise_resolve=t}),e._backpressure=t}Object.defineProperties(ir.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(ir.prototype,Symbol.toStringTag,{value:"TransformStream",configurable:!0});class dr{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!pr(this))throw gr("desiredSize");return In(this._controlledTransformStream._readable._readableStreamController)}enqueue(e=void 0){if(!pr(this))throw gr("enqueue");fr(this,e)}error(e=void 0){if(!pr(this))throw gr("error");var t;t=e,ar(this._controlledTransformStream,t)}terminate(){if(!pr(this))throw gr("terminate");!function(e){const t=e._controlledTransformStream;kn(t._readable._readableStreamController),lr(t,new TypeError("TransformStream terminated"))}(this)}}function pr(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")&&e instanceof dr}function hr(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0,e._cancelAlgorithm=void 0}function fr(e,t){const n=e._controlledTransformStream,r=n._readable._readableStreamController;if(!Cn(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{En(r,t)}catch(e){throw lr(n,e),n._readable._storedError}const o=function(e){return!yn(e)}(r);o!==n._backpressure&&ur(n,!0)}function mr(e,t){return v(e._transformAlgorithm(t),void 0,t=>{throw ar(e._controlledTransformStream,t),t})}function gr(e){return new TypeError(`TransformStreamDefaultController.prototype.${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 vr(e,t){void 0!==e._finishPromise_reject&&(b(e._finishPromise),e._finishPromise_reject(t),e._finishPromise_resolve=void 0,e._finishPromise_reject=void 0)}function br(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}Object.defineProperties(dr.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),i(dr.prototype.enqueue,"enqueue"),i(dr.prototype.error,"error"),i(dr.prototype.terminate,"terminate"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(dr.prototype,Symbol.toStringTag,{value:"TransformStreamDefaultController",configurable:!0}),e.ByteLengthQueuingStrategy=Kn,e.CountQueuingStrategy=Jn,e.ReadableByteStreamController=Ae,e.ReadableStream=Dn,e.ReadableStreamBYOBReader=ut,e.ReadableStreamBYOBRequest=Te,e.ReadableStreamDefaultController=_n,e.ReadableStreamDefaultReader=Z,e.TransformStream=ir,e.TransformStreamDefaultController=dr,e.WritableStream=St,e.WritableStreamDefaultController=Ht,e.WritableStreamDefaultWriter=$t}(t)},3774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0;var r=n(4001),o=n(4008),i=n(5779),s=n(9105);function a(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 l(e){let t,n,r="";const 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}class c{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||o.defaults,this.options.tokenizer=this.options.tokenizer||new r.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};const t={block:i.block.normal,inline:i.inline.normal};this.options.pedantic?(t.block=i.block.pedantic,t.inline=i.inline.pedantic):this.options.gfm&&(t.block=i.block.gfm,this.options.breaks?t.inline=i.inline.breaks:t.inline=i.inline.gfm),this.tokenizer.rules=t}static get rules(){return{block:i.block,inline:i.inline}}static lex(e,t){return new c(t).lex(e)}static lexInline(e,t){return new c(t).inlineTokens(e)}lex(e){let 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}blockTokens(e,t=[]){let n,r,o,i;for(this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(o=e,this.options.extensions&&this.options.extensions.startBlock){let t=Infinity;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach(function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<Infinity&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(o)))r=t[t.length-1],i&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),i=o.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t){this.inlineQueue.push({src:e,tokens:t})}inlineTokens(e,t=[]){let n,r,o,i,c,u,d=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(d));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,i.index)+"["+(0,s.repeatString)("a",i[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(d));)d=d.slice(0,i.index)+"["+(0,s.repeatString)("a",i[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(d));)d=d.slice(0,i.index)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(c||(u=""),c=!1,n=this.tokenizer.owo(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,d,u))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,l))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,l))){if(o=e,this.options.extensions&&this.options.extensions.startInline){let t=Infinity;const n=e.slice(1);let r;this.options.extensions.startInline.forEach(function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<Infinity&&t>=0&&(o=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(o,a))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(u=n.raw.slice(-1)),c=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}t.Lexer=c},2817:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var r=n(7565),o=n(1674),i=n(2123),s=n(4008),a=n(9105);class l{constructor(e){this.options=e||s.defaults,this.options.renderer=this.options.renderer||new r.Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new o.TextRenderer,this.slugger=new i.Slugger}static parse(e,t){return new l(t).parse(e)}static parseInline(e,t){return new l(t).parseInline(e)}parse(e,t=!0){let n,r,o,i,s,l,c,u,d,p,h,f,m,g,_,v,b,y,w,k="";const E=e.length;for(n=0;n<E;n++)if(p=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[p.type]&&(w=this.options.extensions.renderers[p.type].call({parser:this},p),!1!==w||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type)))k+=w||"";else switch(p.type){case"space":continue;case"hr":k+=this.renderer.hr();continue;case"heading":k+=this.renderer.heading(this.parseInline(p.tokens),p.depth,(0,a.unescape)(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":k+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(u="",c="",i=p.header.length,r=0;r<i;r++)c+=this.renderer.tablecell(this.parseInline(p.header[r].tokens),{header:!0,align:p.align[r]});for(u+=this.renderer.tablerow(c),d="",i=p.rows.length,r=0;r<i;r++){for(l=p.rows[r],c="",s=l.length,o=0;o<s;o++)c+=this.renderer.tablecell(this.parseInline(l[o].tokens),{header:!1,align:p.align[o]});d+=this.renderer.tablerow(c)}k+=this.renderer.table(u,d);continue;case"blockquote":d=this.parse(p.tokens),k+=this.renderer.blockquote(d);continue;case"list":for(h=p.ordered,f=p.start,m=p.loose,i=p.items.length,d="",r=0;r<i;r++)_=p.items[r],v=_.checked,b=_.task,g="",_.task&&(y=this.renderer.checkbox(v),m?_.tokens.length>0&&"paragraph"===_.tokens[0].type?(_.tokens[0].text=y+" "+_.tokens[0].text,_.tokens[0].tokens&&_.tokens[0].tokens.length>0&&"text"===_.tokens[0].tokens[0].type&&(_.tokens[0].tokens[0].text=y+" "+_.tokens[0].tokens[0].text)):_.tokens.unshift({type:"text",text:y}):g+=y),g+=this.parse(_.tokens,m),d+=this.renderer.listitem(g,b,v);k+=this.renderer.list(d,h,f);continue;case"html":k+=this.renderer.html(p.text);continue;case"paragraph":k+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(d=p.tokens?this.parseInline(p.tokens):p.text;n+1<E&&"text"===e[n+1].type;)p=e[++n],d+="\n"+(p.tokens?this.parseInline(p.tokens):p.text);k+=t?this.renderer.paragraph(d):d;continue;default:{const e='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return k}parseInline(e,t){t=t||this.renderer;let n,r,o,i="";const s=e.length;for(n=0;n<s;n++)if(r=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(o=this.options.extensions.renderers[r.type].call({parser:this},r),!1!==o||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)))i+=o||"";else 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:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return i}}t.Parser=l},7565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var r=n(4008),o=n(9105);t.Renderer=class{constructor(e){this.options=e||r.defaults}owo(e){const t=this.options.odata;return t&&t[e]?'<img class="tk-owo-emotion" src="'+t[e]+'" alt=":'+e+':">':":"+e+":"}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+(0,o.escape)(r,!0)+'">'+(n?e:(0,o.escape)(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:(0,o.escape)(e,!0))+"</code></pre>\n"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(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"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=(0,o.cleanUrl)(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+(0,o.escape)(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=(0,o.cleanUrl)(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}}},2123:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slugger=void 0,t.Slugger=class{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}},1674:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderer=void 0,t.TextRenderer=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}},4001:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tokenizer=void 0;var r=n(4008),o=n(9105);function i(e,t,n,r){const i=t.href,s=t.title?(0,o.escape)(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:s,text:a,tokens:r.inlineTokens(a,[])};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:s,text:(0,o.escape)(a)}}t.Tokenizer=class{constructor(e){this.options=e||r.defaults}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:(0,o.rtrim)(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map(e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim():t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=(0,o.rtrim)(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}const n={type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(e,[]),text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,r,o,i,s,a,l,c,u,d,p,h,f=t[1].trim();const m=f.length>1,g={type:"list",raw:"",ordered:m,start:m?+f.slice(0,-1):"",loose:!1,items:[]};f=m?`\\d{1,9}\\${f.slice(-1)}`:`\\${f}`,this.options.pedantic&&(f=m?f:"[*+-]");const _=new RegExp(`^( {0,3}${f})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(h=!1,t=_.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(i=2,p=c.trimLeft()):(i=t[2].search(/[^ ]/),i=i>4?1:i,p=c.slice(i),i+=t[1].length),a=!1,!c&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),h=!0),!h){const t=new RegExp(`^ {0,${Math.min(3,i-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&(d=e.split("\n",1)[0],c=d,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!t.test(c));){if(c.search(/[^ ]/)>=i||!c.trim())p+="\n"+c.slice(i);else{if(a)break;p+="\n"+c}a||c.trim()||(a=!0),n+=d+"\n",e=e.substring(d.length+1)}}g.loose||(l?g.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p),r&&(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();const v=g.items.length;for(s=0;s<v;s++){this.lexer.state.top=!1,g.items[s].tokens=this.lexer.blockTokens(g.items[s].text,[]);const e=g.items[s].tokens.filter(e=>"space"===e.type),t=e.every(e=>{const t=e.raw.split("");let n=0;for(const r of t)if("\n"===r&&(n+=1),n>1)return!0;return!1});!g.loose&&e.length&&t&&(g.loose=!0,g.items[s].loose=!0)}return g}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={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&&(e.type="paragraph",e.text=this.options.sanitizer?this.options.sanitizer(t[0]):(0,o.escape)(t[0]),e.tokens=[],this.lexer.inline(e.text,e.tokens)),e}}def(e){const 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]}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:(0,o.splitCells)(t[1]).map(e=>({text:e})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r,i,s,a=e.align.length;for(n=0;n<a;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(a=e.rows.length,n=0;n<a;n++)e.rows[n]=(0,o.splitCells)(e.rows[n],e.header.length).map(e=>({text:e}));for(a=e.header.length,r=0;r<a;r++)e.header[r].tokens=[],this.lexer.inlineTokens(e.header[r].text,e.header[r].tokens);for(a=e.rows.length,r=0;r<a;r++)for(s=e.rows[r],i=0;i<s.length;i++)s[i].tokens=[],this.lexer.inlineTokens(s[i].text,s[i].tokens);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t){const e={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e={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(e.text,e.tokens),e}}text(e){const t=this.rules.block.text.exec(e);if(t){const e={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:(0,o.escape)(t[1])}}tag(e){const 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,o.escape)(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=(0,o.rtrim)(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=(0,o.findClosingBracket)(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),i(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return i(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;const o=r[1]||r[2]||"";if(!o||o&&(""===n||this.rules.inline.punctuation.exec(n))){const n=r[0].length-1;let o,i,s=n,a=0;const l="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!o)continue;if(i=o.length,r[3]||r[4]){s+=i;continue}if((r[5]||r[6])&&n%3&&!((n+i)%3)){a+=i;continue}if(s-=i,s>0)continue;if(i=Math.min(i,i+s+a),Math.min(n,i)%2){const t=e.slice(1,n+r.index+i);return{type:"em",raw:e.slice(0,n+r.index+i+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}const t=e.slice(2,n+r.index+i-1);return{type:"strong",raw:e.slice(0,n+r.index+i+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=(0,o.escape)(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}owo(e){const t=this.rules.inline.owo.exec(e);if(t&&t[0].length>1)return{type:"owo",raw:t[0],text:t[1]}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=(0,o.escape)(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=(0,o.escape)(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=(0,o.escape)(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=(0,o.escape)(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):(0,o.escape)(n[0]):n[0]:(0,o.escape)(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text: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=r=e},t.defaults=void 0,t.getDefaults=n;let r=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){let e;try{e=decodeURIComponent(c(n)).replace(d,"").toLowerCase()}catch(r){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!p.test(n)&&(n=_(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n},t.edit=function(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(u,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n},t.escape=function(e,t){if(t){if(n.test(e))return e.replace(r,a)}else if(o.test(e))return e.replace(i,a);return e},t.findClosingBracket=function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,o=0;for(;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])r++;else if(e[o]===t[1]&&(r--,r<0))return o;return-1},t.merge=function(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)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"";let n="";for(;t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e},t.resolveUrl=_,t.rtrim=v,t.splitCells=function(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,o=t;for(;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"}).split(/ \|/);let 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;const n=/[&<>"']/,r=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},a=e=>s[e],l=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function c(e){return e.replace(l,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const u=/(^|[^\[])\^/g,d=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,h={},f=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,g=/^([^:]+:\/*[^/]*)[\s\S]*$/;function _(e,t){h[" "+e]||(f.test(e)?h[" "+e]=e+"/":h[" "+e]=v(e,"/",!0));const n=-1===(e=h[" "+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 v(e,t,n){const r=e.length;if(0===r)return"";let o=0;for(;o<r;){const 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 s.Renderer}}),Object.defineProperty(t,"Slugger",{enumerable:!0,get:function(){return l.Slugger}}),Object.defineProperty(t,"TextRenderer",{enumerable:!0,get:function(){return a.TextRenderer}}),Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return i.Tokenizer}}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return u.defaults}}),Object.defineProperty(t,"getDefaults",{enumerable:!0,get:function(){return u.getDefaults}}),t.lexer=void 0,t.marked=d,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),s=n(7565),a=n(1674),l=n(2123),c=n(9105),u=n(4008);function d(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)({},d.defaults,t||{}),(0,c.checkSanitizeDeprecation)(t),n){const s=t.highlight;let a;try{a=r.Lexer.lex(e,t)}catch(i){return n(i)}const l=function(e){let r;if(!e)try{t.walkTokens&&d.walkTokens(a,t.walkTokens),r=o.Parser.parse(a,t)}catch(i){e=i}return t.highlight=s,e?n(e):n(null,r)};if(!s||s.length<3)return l();if(delete t.highlight,!a.length)return l();let c=0;return d.walkTokens(a,function(e){"code"===e.type&&(c++,setTimeout(()=>{s(e.text,e.lang,function(t,n){if(t)return l(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),c--,0===c&&l()})},0))}),void(0===c&&l())}try{const n=r.Lexer.lex(e,t);return t.walkTokens&&d.walkTokens(n,t.walkTokens),o.Parser.parse(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}}d.options=d.setOptions=function(e){return(0,c.merge)(d.defaults,e),(0,u.changeDefaults)(d.defaults),d},d.getDefaults=u.getDefaults,d.defaults=u.defaults,d.use=function(...e){const t=(0,c.merge)({},...e),n=d.defaults.extensions||{renderers:{},childTokens:{}};let r;e.forEach(e=>{if(e.extensions&&(r=!0,e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const t=n.renderers?n.renderers[e.name]:null;n.renderers[e.name]=t?function(...n){let r=e.renderer.apply(this,n);return!1===r&&(r=t.apply(this,n)),r}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");n[e.level]?n[e.level].unshift(e.tokenizer):n[e.level]=[e.tokenizer],e.start&&("block"===e.level?n.startBlock?n.startBlock.push(e.start):n.startBlock=[e.start]:"inline"===e.level&&(n.startInline?n.startInline.push(e.start):n.startInline=[e.start]))}e.childTokens&&(n.childTokens[e.name]=e.childTokens)})),e.renderer){const n=d.defaults.renderer||new s.Renderer;for(const t in e.renderer){const r=n[t];n[t]=(...o)=>{let i=e.renderer[t].apply(n,o);return!1===i&&(i=r.apply(n,o)),i}}t.renderer=n}if(e.tokenizer){const n=d.defaults.tokenizer||new i.Tokenizer;for(const t in e.tokenizer){const r=n[t];n[t]=(...o)=>{let i=e.tokenizer[t].apply(n,o);return!1===i&&(i=r.apply(n,o)),i}}t.tokenizer=n}if(e.walkTokens){const n=d.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens.call(this,t),n&&n.call(this,t)}}r&&(t.extensions=n),d.setOptions(t)})},d.walkTokens=function(e,t){for(const n of e)switch(t.call(d,n),n.type){case"table":for(const e of n.header)d.walkTokens(e.tokens,t);for(const e of n.rows)for(const n of e)d.walkTokens(n.tokens,t);break;case"list":d.walkTokens(n.items,t);break;default:d.defaults.extensions&&d.defaults.extensions.childTokens&&d.defaults.extensions.childTokens[n.type]?d.defaults.extensions.childTokens[n.type].forEach(function(e){d.walkTokens(n[e],t)}):n.tokens&&d.walkTokens(n.tokens,t)}},d.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)({},d.defaults,t||{}),(0,c.checkSanitizeDeprecation)(t);try{const n=r.Lexer.lexInline(e,t);return t.walkTokens&&d.walkTokens(n,t.walkTokens),o.Parser.parseInline(n,t)}catch(n){if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+(0,c.escape)(n.message+"",!0)+"</pre>";throw n}},d.Parser=o.Parser,d.parser=o.Parser.parse,d.Renderer=s.Renderer,d.TextRenderer=a.TextRenderer,d.Lexer=r.Lexer,d.lexer=r.Lexer.lex,d.Tokenizer=i.Tokenizer,d.Slugger=l.Slugger,d.parse=d,t.options=d.options,t.setOptions=d.setOptions,t.use=d.use,t.walkTokens=d.walkTokens,t.parseInline=d.parseInline,t.parse=d,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);const 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()});const 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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0,t["default"]=class{constructor(e){const t={logo:"OwO表情",container:document.getElementsByClassName("OwO")[0],target:document.getElementsByTagName("textarea")[0],position:"down",maxHeight:"250px",odata:{}};for(const n in t)t[n]&&!e[n]&&(e[n]=t[n]);this.container=e.container,this.target=e.target,"up"===e.position&&this.container.classList.add("OwO-up"),this.odata=e.odata,setTimeout(()=>{this.init(e)})}init(e){this.area=e.target,this.packages=Object.keys(this.odata);let t=`<div class="OwO-logo">${e.logo}</div><div class="OwO-body">`;for(let n=0;n<this.packages.length;n++){t+=`<ul class="OwO-items OwO-items-${this.odata[this.packages[n]].type}" style="max-height: ${parseInt(e.maxHeight)-53+"px"};">`;const r=this.odata[this.packages[n]].container;for(let e=0;e<r.length;e++){const n=r[e].icon.replace("<img",'<img loading="lazy"');t+=`<li class="OwO-item" title="${r[e].text}">${n}</li>`}t+="</ul>"}t+='<div class="OwO-bar"><ul class="OwO-packages">';for(let n=0;n<this.packages.length;n++)t+=`<li><span>${this.packages[n]}</span></li>`;t+="</ul></div></div>",this.container.innerHTML=t,this.logo=this.container.getElementsByClassName("OwO-logo")[0],this.logo.addEventListener("click",()=>{this.toggle()}),this.container.getElementsByClassName("OwO-body")[0].addEventListener("click",e=>{let t=null;if(e.target.classList.contains("OwO-item")?t=e.target:e.target.parentNode.classList.contains("OwO-item")&&(t=e.target.parentNode),t){const e=this.area.selectionEnd,n=this.area.value;let r=t.innerHTML;if(-1!==r.indexOf("<img"))if(t.title)r=":"+t.title+": ";else{const e=r.indexOf('src="')+5,n=r.indexOf('"',e);-1!==e&&-1!==n&&(r=`![${t.title||""}](${r.substring(e,n)})`)}this.area.value=n.slice(0,e)+r+n.slice(e),this.area.dispatchEvent(new InputEvent("input")),this.area.focus(),this.toggle()}}),this.packagesEle=this.container.getElementsByClassName("OwO-packages")[0];for(let n=0;n<this.packagesEle.children.length;n++)(e=>{this.packagesEle.children[n].addEventListener("click",()=>{this.tab(e)})})(n);this.tab(0)}toggle(){this.container.classList.contains("OwO-open")?this.container.classList.remove("OwO-open"):this.container.classList.add("OwO-open")}tab(e){const 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");const 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")}}},585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUrl=t.call=void 0;var r=n(1085);const o=e=>/^http(s)?:\/\//.test(e);t.isUrl=o,t.call=async(e,t,n={})=>{const i=e||(r.app?r.app.$tcb:null),s=n.envId||r.app.$twikoo.envId,a=n.funcName||r.app?.$twikoo.funcName||"twikoo";if(!i){if(o(s))return await new Promise((e,r)=>{try{const o=localStorage.getItem("twikoo-access-token"),i=new XMLHttpRequest;i.onreadystatechange=()=>{if(4===i.readyState)if(200===i.status){const t=JSON.parse(i.responseText);t.accessToken&&localStorage.setItem("twikoo-access-token",t.accessToken),e({result:t})}else r(i.status)},i.open("POST",s),i.setRequestHeader("Content-Type","application/json"),i.send(JSON.stringify({event:t,accessToken:o,...n,envId:s}))}catch(o){r(o)}});throw new Error("缺少 envId 配置 - https://twikoo.js.org")}try{return await i.app.callFunction({name:a,data:{event:t,...n}})}catch(l){let e;switch(t){case"COMMENT_LIKE":e="comment-like";break;case"COMMENT_GET":e="comment-get";break;case"COMMENT_SUBMIT":e="comment-submit";break;case"COUNTER_GET":e="counter-get"}if(e)return await i.app.callFunction({name:e,data:n});throw new Error("请升级 Twikoo 云函数版本再试,如果仍无法解决,请删除并重新创建 Twikoo 云函数 - https://twikoo.js.org")}}},7080:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQQAvatar=function(e){return`https://thirdqq.qlogo.cn/g?b=sdk&nk=${e.replace(/@qq.com/gi,"")}&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";Object.defineProperty(t,"__esModule",{value:!0}),t.initMarkedOwo=function(e){if(e&&Object.values(e)){const t={};return Object.values(e).forEach(e=>{e.container.forEach(e=>{const n=i(e.icon);n&&(t[e.text]=n)})}),t}},t.initOwoEmotions=async function(e){const t={},n=await Promise.all(e.split(",").map(e=>function(e){return new Promise(t=>{const n=new XMLHttpRequest;n.onreadystatechange=()=>{if(4===n.readyState)if(n.status>=200&&n.status<300||304===n.status){const e=function(e){try{return Object.values(e).forEach(e=>{if("image"===e.type)for(const t of e.container)t.text||(t.text=s(i(t.icon)))}),e}catch(t){r.logger.warn("OwO data is bad: ",t)}}(JSON.parse(n.responseText));t(e)}else r.logger.warn("OwO data request was unsuccessful: "+n.status)},n.open("get",e,!0),n.send(null)})}(e.trim())));return Object.assign(t,...n),t};var r=n(8129);const o=document.createElement("template");function i(e){try{return o.innerHTML=e,o.content.childNodes[0].src}catch(t){return""}}function s(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=n(1085);let o,i;const s=(e,t)=>{const n=document.getElementById("twikoo");i&&n.contains(i)||!e||"none"===e||(i=document.createElement("link"),i.href="default"===e?`${t}/themes/prism.min.css`:`${t}/themes/prism-${e}.min.css`,i.rel="stylesheet",i.type="text/css",n.appendChild(i))};t["default"]=(e,t,i)=>{const a=r.app&&r.app.$twikoo.prismCdn?r.app.$twikoo.prismCdn:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0";window.Prism=window.Prism||{},window.Prism.manual=!0,o||(o=n(1965),n(210),o.plugins.autoloader.languages_path=`${a}/components/`,i&&(n(8072),i.split(",").map(e=>e.trim()).forEach(e=>{"showLanguage"===e?n(4296):"copyButton"===e&&n(5472)}))),s(t,a),o.highlightAllUnder(e)}},7564:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;const n="ADMIN_COMMENT",r="ADMIN_CONFIG_CATEGORY",o="ADMIN_CONFIG_ITEM",i="ADMIN_IMPORT",s=["qmsg","serverchan","pushplus","pushplushxtrip","dingtalk","wecom","bark","gocqhttp","atri","pushdeer","igot","telegram","feishu"].map(e=>`"${e}"`),a=["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(e=>`"${e}"`),l=["default","coy","dark","funky","okaidia","solarizedlight","tomorrow","twilight"].map(e=>`"${e}"`),c=["showLanguage","copyButton"].map(e=>`"${e}"`),u=["qcloud","7bu (https://7bu.top)","see (https://s.ee)","lskypro","piclist","easyimage","chevereto","S3 / R2 / MinIO"].map(e=>`"${e}"`),d=["lskypro","piclist","easyimage","s3"].map(e=>`"${e}"`),p=["404","mp","identicon","monsterid","wavatar","retro","robohash","blank"].map(e=>`"${e}"`);t["default"]={ADMIN_CLIENT_VERSION:["前端版本:","前端版本:","前端版本:","Client version: ","Клиент версияси: ","クライアントバージョン:","클라이언트 버전: ","Phiên bản client: ","Versi klien: "],ADMIN_SERVER_VERSION:["云函数版本:","云函數版本:","雲端函式版本:","Server version: ","Сервернинг версияси: ","サーバーサイドバージョン: ","서버 버전: ","Phiên bản cloud function: ","Versi server: "],[n]:["评论管理","評論管理","留言管理","Comment","Изоҳ","コメント管理","댓글 관리","Quản lý bình luận","Manajemen Komentar"],[n+"_DELETE"]:["删除","刪除","移除","Delete","Ўчирмоқ","削除","삭제","Xóa","Hapus"],[n+"_DELETE_CONFIRM"]:["确认删除?","確認刪除?","確認移除?","Confirm deletion?","Ўчириш тасдиқлансинми?","本当に削除しますか?","정말 삭제하시겠습니까?","Xác nhận xóa?","Konfirmasi hapus?"],[n+"_FILTER_ALL"]:["全部","全部","全部","All","Ҳаммаси","全部","전체","Tất cả","Semua"],[n+"_FILTER_VISIBLE"]:["只看可见","只看可見","只看可見","Visible","Кўринадиган","表示中のみ","표시 댓글","Chỉ hiển thị","Hanya Terlihat"],[n+"_FILTER_HIDDEN"]:["只看隐藏","只看隱藏","只看隱藏","Hidden","Яширилган","非表示中のみ","숨김 댓글","Chỉ ẩn","Hanya Tersembunyi"],[n+"_HIDE"]:["隐藏","隱藏","隱藏","Hide","Яширмоқ","非表示","숨기기","Ẩn","Sembunyikan"],[n+"_IS_SPAM_SUFFIX"]:[" (已隐藏)"," (已隱藏)"," (已隱藏)"," (Hidden)"," (Яширилган)"," (非表示)"," (숨김 처리됨)"," (Đã ẩn)"," (Tersembunyi)"],[n+"_SEARCH"]:["搜索","搜索","搜尋","Search","Излаш","検索","검색","Tìm kiếm","Cari"],[n+"_SEARCH_PLACEHOLDER"]:["搜索昵称、邮箱、网址、IP、评论正文、文章地址","搜索暱稱、郵箱、網址、IP、評論正文、文章地址","搜索暱稱、郵件、網址、IP、留言正文、文章路徑","Search by nick, mail, website, IP, comment, or article path","Тахаллус, почта, веб-сайт, ИП, шарҳ ёки мақола йўли бўйича излаш","名前、メールアドレス、ウェブサイトURL、IPアドレス、コメント内容、記事のURLを検索","닉네임, 이메일, 웹사이트, IP, 댓글 내용, 게시글 주소로 검색","Tìm theo tên, email, website, IP, nội dung bình luận hoặc đường dẫn bài viết","Cari berdasarkan nama, email, situs web, IP, isi komentar, atau alamat artikel"],[n+"_SHOW"]:["显示","顯示","顯示","Show","Кўрсатиш","表示","표시","Hiển thị","Tampilkan"],[n+"_TOP"]:["置顶","置頂","置頂","Pin","Қадамоқ","固定する","고정","Ghim lên đầu","Sematkan"],[n+"_UNTOP"]:["取消置顶","取消置頂","取消置頂","Unpin","Қадоқни ечмоқ","固定を解除","고정 해제","Bỏ ghim","Lepas Sematan"],[n+"_VIEW"]:["查看","查看","檢視","View","Кўриниш","閲覧","보기","Xem","Lihat"],[n+"_SECURITY_ALERT"]:["评论链接与本站不同!出于安全考虑,请手动复制以下网址访问:","評論連結與本站不同!出於安全考慮,請手動複製以下網址訪問:","留言連結與本站不同!出於安全考慮,請手動複製以下網址訪問:","The comment link is different from this site! For security reasons, please manually copy the following URL to visit:","Шарҳ ҳаволаси бу сайтдан фарқ қилади! Хавфсизлик сабабларига кўра, илтимос, қуйидаги URL манзилни қўлда нусха олинг:","コメントリンクがこのサイトと異なります!セキュリティ上の理由から、以下のURLを手動でコピーしてアクセスしてください:","댓글 링크가 이 사이트와 다릅니다! 보안상의 이유로, 다음 URL을 수동으로 복사하여 방문하세요:","Liên kết bình luận khác với trang này! Vì lý do bảo mật, hãy sao chép thủ công URL sau để truy cập:","Tautan komentar berbeda dengan situs ini! Demi keamanan, silakan salin manual URL berikut untuk mengunjunginya:"],[n+"_PARSE_ERROR"]:["无法解析评论链接,请仔细检查链接后手动复制以下网址访问:","無法解析評論連結,請仔細檢查連結後手動複製以下網址訪問:","無法解析留言連結,請仔細檢查連結後手動複製以下網址訪問:","Unable to parse comment link. Please check and manually copy the following URL:","Шарҳ ҳаволасини таҳлил қилиб бўлмади. Илтимос, қуйидаги манзилни текширинг ва қўлда нусха олинг:","コメントリンクを解析できません。以下のURLを確認して手動でコピーしてください:","댓글 링크를 파싱할 수 없습니다. 다음 주소를 확인하고 수동으로 복사하세요:","Không thể phân tích liên kết bình luận. Hãy kiểm tra và sao chép thủ công URL sau:","Tidak dapat mengurai tautan komentar. Silakan periksa dan salin manual URL berikut:"],ADMIN_CONFIG:["配置管理","配置管理","設定值管理","Configuration","Конфигурация","設定管理","환경설정","Quản lý cấu hình","Manajemen Konfigurasi"],[r+"_COMMON"]:["通用","通用","一般","General","Умумий","一般","일반","Chung","Umum"],[r+"_IM"]:["即时通知","即時通知","即時通知","Instant notification","Тезкор хабарнома","即時通知","실시간 알림","Thông báo tức thì","Notifikasi Instan"],[r+"_MAIL"]:["邮件通知","郵件通知","郵件通知","Email notification","Электрон почта хабарномаси","メール通知","이메일 알림","Thông báo email","Notifikasi Email"],[r+"_PLUGIN"]:["插件","插件","擴充功能","Plugin","Плагин","プラグイン","플러그인","Plugin","Plugin"],[r+"_PRIVACY"]:["隐私","隱私","隱私權","Privacy","Шахсий қоидалар","プライバシー","개인정보","Quyền riêng tư","Privasi"],[r+"_SPAM"]:["反垃圾","反垃圾","防垃圾","Spam","Спам","スパム対策","스팸 관리","Chống spam","Anti-spam"],[r+"_CAPTCHA"]:["人机验证","人機驗證","人機驗證","CAPTCHA","CAPTCHA","CAPTCHA","CAPTCHA","CAPTCHA","CAPTCHA"],ADMIN_CONFIG_IMAGE_CDN_NONE:["无(不启用图片上传)","無(不啟用圖片上傳)","無(不啟用圖片上傳)","None (disable image upload)","Йўқ (расм юклашни ўчириш)","なし(画像アップロードを無効にする)","없음 (이미지 업로드 비활성화)","Không (tắt tải ảnh)","Tidak Ada (nonaktifkan unggahan gambar)"],ADMIN_CONFIG_CAPTCHA_NONE:["无","無","無","None","Йўқ","なし","없음","Không","Tidak Ada"],ADMIN_CONFIG_CAPTCHA_TURNSTILE:["Cloudflare 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","GeeTest"],ADMIN_CONFIG_CAPTCHA_CAP:["Cap","Cap","Cap","Cap","Cap","Cap","Cap","Cap"],ADMIN_CONFIG_EMAIL_TEST:["邮件通知测试","郵件通知測試","郵件通知測試","Email notification test","Электрон почта хабарномаси тести","メール通知テスト","이메일 알림 테스트","Kiểm tra thông báo email","Tes notifikasi email"],ADMIN_CONFIG_EMAIL_TEST_BTN:["发送测试邮件","發送測試郵件","發送測試郵件","Send test mail","Синов хатини юбориш","テストメールを送信","테스트 메일 발송","Gửi email thử","Kirim email tes"],ADMIN_CONFIG_EMAIL_TEST_HELP:["输入一个邮箱地址,发送测试邮件","輸入一個郵箱位址,發送測試郵件","輸入一個郵箱帳號,發送測試郵件","Input an email address & send test mail","Э-почта манзилини киритинг ва синов хатини юборинг","メールアドレスを入力してテストメールを送信","이메일 주소를 입력하고 테스트 메일을 발송하세요","Nhập địa chỉ email và gửi email thử","Masukkan alamat email dan kirim email tes"],ADMIN_CONFIG_EMAIL_TEST_RESULT:["测试结果:","測試結果:","測試結果:","Test result: ","Тест натижаси: ","テスト結果:","테스트 결과: ","Kết quả kiểm tra: ","Hasil tes: "],ADMIN_CONFIG_EXAMPLE:["示例:","示例:","範例:","Example: ","Намуна: ","例:","예시: ","Ví dụ: ","Contoh: "],[o+"_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','Bảo vệ spam Akismet. Đặt thành "MANUAL_REVIEW" để bật kiểm duyệt thủ công. Để trống nếu không dùng chống spam. Đăng ký: https://akismet.com','Perlindungan spam Akismet. Atur ke "MANUAL_REVIEW" untuk mengaktifkan peninjauan manual. Biarkan kosong jika tidak menggunakan anti-spam. Daftar Akismet: https://akismet.com'],[o+"_BLOGGER_NICK"]:["博主的昵称。","博主的昵稱。","站長的暱稱。","Admin nick name.","Админ исми.","管理者の名前。","관리자 닉네임.","Tên hiển thị của quản trị viên.","Nama panggilan admin."],[o+"_BLOGGER_EMAIL"]:["博主的邮箱地址,用于邮件通知、博主标识。","博主的郵箱地址,用於郵件通知、博主標識。","站長的郵箱帳號,用於郵件通知、站長認證。","Admin Email address. Used for Email notification and admin identification.","Админ электрон почта манзили. Электрон почта хабарномаси ва администратор идентификацияси учун фойдаланилади.","管理者のメールアドレス。メール通知と管理者の識別に使用されます。","관리자 이메일 주소. 이메일 알림 및 관리자 식별에 사용됩니다.","Địa chỉ email quản trị viên. Dùng cho thông báo email và nhận diện admin.","Alamat email admin. Digunakan untuk notifikasi email dan identifikasi admin."],[o+"_COMMENT_BG_IMG"]:["评论框自定义背景图片 URL 地址。","評論框自定義背景圖片 URL 地址。","留言區塊自訂背景圖片 URL 網址。","URL for custom background image.","Махсус фон расми учун УРЛ.","コメントボックスのカスタム背景画像のURL。","댓글창 배경 이미지 URL 주소.","URL ảnh nền tùy chỉnh cho khung bình luận.","URL untuk gambar latar belakang kustom."],[o+"_COMMENT_PAGE_SIZE"]:["评论列表分页大小,默认为 8。","評論列表分頁大小,預設為 8。","留言列表分頁大小,預設為 8。","Comment page size. Default: 8.","Изоҳ саҳифаси ўлчами. Стандарт: 8.","コメントリストのページサイズ。デフォルトは8。","한 페이지당 표시 댓글 수. 기본값: 8.","Số bình luận mỗi trang. Mặc định: 8.","Jumlah komentar per halaman. Bawaan: 8."],[o+"_COMMENT_PLACEHOLDER"]:["评论框提示信息,可用<br>换行,默认为空","評論框提示信息,可用<br>換行,預設為空","留言區塊提示資訊,可用<br>換行,預設空白","Comment placeholder. Use <br> to start a newline. Default: empty.","Изоҳ тўлдирувчиси. Янги қаторни бошлаш учун <бр> дан фойдаланинг. Стандарт: бўш.","コメントボックスのヒントメッセージ。<br>で改行。デフォルトは空。","댓글 입력창에 표시될 기본 문구. <br> 태그로 줄바꿈 가능. 기본값: 비어 있음.","Văn bản gợi ý trong khung bình luận. Dùng <br> để xuống dòng. Mặc định: trống.","Placeholder komentar. Gunakan <br> untuk baris baru. Bawaan: kosong."],[o+"_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; 여러 주소는 쉼표(,)로 구분.","Tên miền cho phép CORS. Lưu ý: cấu hình sai có thể gây lỗi tải. Mặc định: trống. Định dạng: https://blog.example.com; Nhiều tên miền dùng dấu phẩy.","Asal izin CORS, catatan: pengaturan yang salah dapat menyebabkan kegagalan memuat. Bawaan: kosong, format: https://blog.example.com; Jika perlu menambahkan beberapa nama domain, pisahkan dengan koma."],[o+"_DEFAULT_GRAVATAR"]:[`默认的头像显示。默认值(留空)为 "initials",可选:${p.join("、")}`,`預設的頭像顯示。預設值(留空)為 "initials",可選:${p.join("、")}`,`預設的大頭貼照圖示。預設值(留空)為 "initials",選項:${p.join("、")}`,`Avatar placeholder. Default (when empty): "initials". Choose from: ${p.join(", ")}`,`Аватар тўлдирувчиси. Стандарт (агар бўш қолдирилса): «идентификатор». Қуйидагилардан танланг: ${p.join(", ")}`,`デフォルトのプロフィール画像表示。デフォルト(空欄時)は "initials" で、選択肢は:${p.join("、")} です`,`프로필 기본 이미지. 기본값(비워둘 경우): "initials". 사용 가능 스타일: ${p.join(", ")}`,`Ảnh đại diện mặc định. Mặc định (để trống): "initials". : ${p.join(", ")}`,`Tampilan avatar default. Bawaan (bila kosong): "initials". Pilih dari: ${p.join(", ")}`],[o+"_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","CDN emoji, cách nhau bởi dấu phẩy. Mặc định: https://owo.imaegoo.com/owo.json","CDN Emoji, pisahkan dengan koma. Bawaan: https://owo.imaegoo.com/owo.json"],[o+"_FORBIDDEN_WORDS"]:["违禁词配置,包含违禁词的内容会直接标记为垃圾评论。英文逗号分隔。","違禁詞配置,包含違禁詞的內容會直接標記為垃圾評論。英文逗號分隔。","禁用詞語設定,包含禁用詞語的內容會直接標記為垃圾留言。使用英文逗號分隔。","Configure prohibited words. Comments containing prohibited words will be auto spammed. Separate by comma.","Тақиқланган сўзларни созланг. Тақиқланган сўзларни ўз ичига олган шарҳлар автоматик равишда спамга юборилади. Вергул билан ажратинг.","禁止ワード設定。禁止ワードを含むコンテンツは直ちにスパムコメントとしてマークされます。コンマで区切ってください。","금지어 설정. 금지어 포함 댓글은 스팸으로 숨김 처리 됩니다. 쉼표로 구분.","Cấu hình từ bị cấm. Bình luận chứa từ bị cấm sẽ bị đánh dấu spam. Cách nhau bởi dấu phẩy.","Konfigurasi kata terlarang. Komentar yang mengandung kata terlarang akan otomatis ditandai spam. Pisahkan dengan koma."],[o+"_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.","ブロックワード設定。ブロックワードを含むコンテンツは送信に失敗します。コンマで区切ってください。","차단어 설정. 차단어 포함 댓글은 등록에 실패합니다. 쉼표로 구분.","Cấu hình từ bị chặn. Bình luận chứa từ bị chặn sẽ không được gửi. Cách nhau bởi dấu phẩy.","Konfigurasi kata diblokir. Komentar yang mengandung kata diblokir akan gagal dikirim. Pisahkan dengan koma."],[o+"_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.","CDN ảnh đại diện tùy chỉnh. (Ví dụ: gravatar.com) Mặc định: weavatar.com.","Alamat CDN avatar kustom. Contoh: cn.gravatar.com, weavatar.com, cravatar.cn, sdn.geekzu.org, gravatar.loli.net, bawaan: weavatar.com."],[o+"_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.","Бошқарув панелига киришни яшириш учун шифрни ўрнатинг, фақат тахаллус майдонига худди шу шифр киритилганда бошқарув панелидаги ёзув кўрсатилади. Бошқарув киришини яширмаслик учун уни бўш қолдиринг.",'管理パネルのログイン画面を非表示にする。 "パスワード" を設定でき、 "名前" フィールドに同じ "パスワード" を入力した場合のみ、管理パネルのログイン画面が表示されます。空白の場合、管理パネルのログイン画面は非表示にされません。',"환경설정 버튼을 숨깁니다. 암호를 설정하여, 닉네임 입력란에 동일한 암호를 입력해야만 환경설정 버튼이 표시됩니다. 비워두면 버튼을 숨기지 않습니다.",'Đặt mật khẩu bí mật để ẩn nút vào trang quản trị. Chỉ khi nhập đúng mật khẩu vào ô "Tên" mới hiện nút. Để trống để không ẩn.',"Sembunyikan tombol panel manajemen. Atur kata sandi, hanya ketika kata sandi yang sama dimasukkan di kolom nama, tombol akan muncul. Kosongkan untuk tidak menyembunyikan."],[o+"_QQ_API_KEY"]:["QQ昵称API密钥,用于获取QQ昵称。前往 https://api.tqq.me/dashboard/api-keys 获取","QQ暱稱API密鑰,用於獲取QQ暱稱。前往 https://api.tqq.me/dashboard/api-keys 獲取","QQ暱稱API密鑰,用於獲取QQ暱稱。前往 https://api.tqq.me/dashboard/api-keys 獲取","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.tqq.me/dashboard/api-keys dan oling","QQニックネームAPIキー。QQニックネームの取得に使用します。https://api.tqq.me/dashboard/api-keys で取得","QQ 닉네임 API 키. https://api.tqq.me/dashboard/api-keys 에서 발급","API key lấy biệt danh QQ. Lấy tại https://api.tqq.me/dashboard/api-keys","Kunci API nama panggilan QQ. Dapatkan dari https://api.tqq.me/dashboard/api-keys"],[o+"_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.","Bật tô sáng code. Nếu theme xung đột, đặt thành false. Mặc định: true.","Aktifkan penyorotan kode. Jika tema Anda bertentangan dengan penyorotan kode, atur ke false. Bawaan: true."],[o+"_HIGHLIGHT_THEME"]:[`代码高亮主题,可选:${l.join("、")},访问 https://prismjs.com 可预览主题效果。如果您的主题和代码高亮有冲突,请设为 none。默认:none`,`代碼高亮主題,可選:${l.join("、")},訪問 https://prismjs.com 可預覽主題效果。如果您的主題和代碼高亮有衝突,請設為 none。預設:none`,`程式碼醒目顯示主題,選項:${l.join("、")},瀏覽 https://prismjs.com 可預覽主題效果。如果您的主題和此功能發生衝突,請設定為 none。預設:none`,`Code highlighting theme. Select from: ${l.join(", ")}. Visit https://prismjs.com for preview. If your theme conflicts with code highlighting, please set it to none. Default: none.`,`Кодни таъкидлаш мавзуси. Қуйидагилардан танланг: ${l.join(", ")}. Олдиндан кўриш учун https://prismjs.com сайтига ташриф буюринг. Агар мавзуингиз кодни ажратиб кўрсатишга зид бўлса, уни «Ҳеч» га ўрнатинг. Стандарт: йўқ.`,`コードハイライトのテーマ。選択肢:${l.join("、")}、テーマの効果をプレビューするには https://prismjs.com を訪問してください。テーマとコードハイライトに競合がある場合、noneに設定してください。デフォルト:none`,`코드 하이라이팅 테마. 사용 가능 테마: ${l.join(", ")}. https://prismjs.com 에서 미리보기를 확인하세요. 테마와 코드 하이라이팅이 충돌하면 none으로 설정하세요. 기본값: none.`,`Theme tô sáng code. Truy cập ${l.join(", ")}. https://prismjs.com để xem trước. Mặc định: none.`,`Tema penyorotan kode. Pilih dari: ${l.join(", ")}. Kunjungi https://prismjs.com untuk pratinjau. Jika tema Anda bertentangan dengan penyorotan kode, atur ke none. Bawaan: none.`],[o+"_HIGHLIGHT_PLUGIN"]:[`代码高亮插件,可选:${c.join("、")},分别表示:展示代码语言、展示代码拷贝按钮。可以同时设置多个选项,如果想要不添加任何代码高亮插件,请设为 none。默认:none。`,`代碼高亮插件,可選:${c.join("、")},分別表示:展示代碼語言、展示代碼拷貝按鈕。可以同時設置多個選項,如果想要不添加任何代碼高亮插件,請設為 none。預設:none。`,`代碼高亮外掛程式,可選:${c.join("、")},分別表示:展示代碼語言、展示代碼拷貝按鈕。 可以同時設置多個選項,如果想要不添加任何代碼高亮外掛程式,請設定為 none。預設:none。`,`Code highlight plug-in, optional: ${c.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. `,`Плагин подсветки кода, опционально: ${c.join(",")}, соответственно: показывать язык кода, показывать кнопку копирования кода. Вы можете установить несколько опций одновременно, если вы хотите не добавлять плагин подсветки кода, установите значение none. по умолчанию: none.`,`コード・ハイライト・プラグイン。オプション: ${c.join(",")}, それぞれ: コード言語の表示、コード・コピー・ボタンの表示。複数のオプションを同時に設定できますが、コード・ハイライト・プラグインを追加したくない場合は、noneに設定してください。`,`코드 하이라이트 추가 기능. 선택 가능: ${c.join(", ")}. (코드 언어 표시, 복사 버튼) 여러 기능을 동시에 설정할 수 있으며, 추가하지 않으려면 none으로 설정하세요. 기본값: none.`,`Plugin tô sáng code. Để không dùng plugin ${c.join(", ")}, đặt thành none. Mặc định: none.`,`Plugin penyorotan kode. Pilihan: ${c.join(", ")}, masing-masing: tampilkan bahasa kode, tampilkan tombol salin kode. Dapat mengatur beberapa opsi sekaligus. Jika tidak ingin plugin penyorotan kode, atur ke none. Bawaan: none.`],[o+"_IMAGE_CDN"]:[`插入图片所使用的图床,目前支持:${u.join("、")}`,`插入圖片所使用的圖床,目前支持:${u.join("、")}`,`插入圖片所使用的圖床,目前支援:${u.join("、")}`,`The image bed for image uploading. Select from: ${u.join(", ")}`,`Расм юклаш учун расм тўшаги. Қуйидагилардан танланг: ${u.join(", ")}`,`画像のアップロードに使用する画像ホスティングサービス。次のうちから選択してください:${u.join("、")}`,`댓글 이미지 업로드 기능에 사용될 호스팅 서비스. 사용 가능 목록: ${u.join(", ")}`,`Dịch vụ lưu trữ ảnh khi tải lên bình luận. ${u.join(", ")}`,`Penyedia hosting gambar untuk unggahan gambar. Pilih dari: ${u.join(", ")}`],[o+"_IMAGE_CDN_URL"]:[`图床的 URL,仅当 IMAGE_CDN 为 ${d.join(" / ")} 时需要填写`,`圖床的 URL,僅當 IMAGE_CDN 為 ${d.join(" / ")} 時需要填寫`,`圖床的 URL,僅當 IMAGE_CDN 為 ${d.join(" / ")} 時需要填寫`,`The URL for the image bed. Required if your IMAGE_CDN is one of these: ${d.join(", ")}`,`IMAGE_CDN томонидан белгиланган расм тўшаги URL. Агар сизнинг IMAGE_CDN шулардан бири бўлса: ${d.join(", ")}`,`IMAGE_CDNで設定した画像ホスティングサービスのURL。IMAGE_CDNが以下のいずれかの場合は入力が必要です:${d.join("、")}`,`이미지 저장소 URL. IMAGE_CDN 설정이 다음 중 하나인 경우 필요합니다: ${d.join(", ")}`,`URL của dịch vụ lưu trữ ảnh. Bắt buộc nếu IMAGE_CDN là một trong các giá trị tùy chỉnh. ${d.join(", ")}`,`URL hosting gambar. Wajib diisi jika IMAGE_CDN Anda adalah salah satu dari: ${d.join(", ")}`],[o+"_IMAGE_CDN_TOKEN"]:["图床 token。qcloud 图床无需设置","图床 token。qcloud 图床无需设置","圖床 token。qcloud 圖床不需設定","The image bed token. Unnessessary for qcloud","Тасвир токен белгиси. Қслоуд учун кераксиз","画像ホスティングトークン。qcloud画像ホスティングを利用する場合は設定の必要はありません","이미지 호스팅 토큰. qcloud은 설정 불필요.","Token dịch vụ lưu trữ ảnh. Không cần thiết cho qcloud.","Token hosting gambar. Tidak diperlukan untuk qcloud."],[o+"_NSFW_API_URL"]:["NSFW 图片检测 API 地址。免费服务:nsfw.qixz.cn,项目:github.com/HG-ha/nsfwpy","NSFW 圖片檢測 API 地址。免費服務:nsfw.qixz.cn,項目:github.com/HG-ha/nsfwpy","NSFW 圖片檢測 API 地址。免費服務:nsfw.qixz.cn,項目:github.com/HG-ha/nsfwpy","NSFW image detection API URL. Free services: nsfw.qixz.cn, project: github.com/HG-ha/nsfwpy","NSFW расмни аниқлаш API URL. Бепул хизматлар: nsfw.qixz.cn, лойиҳа: github.com/HG-ha/nsfwpy","NSFW画像検出API URL。無料サービス:nsfw.qixz.cn、プロジェクト:github.com/HG-ha/nsfwpy","NSFW 이미지 감지 API URL. 무료 서비스: nsfw.qixz.cn, 프로젝트: github.com/HG-ha/nsfwpy","URL API phát hiện ảnh NSFW. Dịch vụ miễn phí: nsfw.qixz.cn, dự án: github.com/HG-ha/nsfwpy","URL API deteksi gambar NSFW. Layanan gratis: nsfw.qixz.cn, proyek: github.com/HG-ha/nsfwpy"],[o+"_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","Ngưỡng phát hiện NSFW (0-1). Tải lên bị từ chối nếu điểm vượt ngưỡng. Mặc định: 0.5","Ambang deteksi NSFW (0-1). Unggahan akan ditolak jika skor melebihi nilai ini. Bawaan: 0.5"],[o+"_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 호환 서비스 사용 시 임의 값 입력 가능","Vùng S3, ví dụ us-east-1. Có thể nhập giá trị bất kỳ khi dùng dịch vụ tương thích S3 (Cloudflare R2, MinIO)","Region S3, misal us-east-1. Bisa diisi nilai apa saja saat menggunakan layanan yang kompatibel dengan S3 (misal Cloudflare R2, MinIO)"],[o+"_S3_BUCKET"]:["S3 存储桶名称","S3 儲存桶名稱","S3 儲存桶名稱","S3 bucket name","S3 bucket nomi","S3バケット名","S3 버킷 이름","Tên S3 bucket","Nama S3 bucket"],[o+"_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","S3 Access Key ID"],[o+"_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","S3 Secret Access Key"],[o+"_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 호환 서비스 사용 시 필요","Endpoint S3 tùy chỉnh. Bắt buộc khi dùng Cloudflare R2 hoặc MinIO","Endpoint S3 kustom. Wajib diisi jika menggunakan layanan yang kompatibel dengan S3 seperti Cloudflare R2 atau MinIO"],[o+"_S3_FORCE_PATH_STYLE"]:["设置 S3_ENDPOINT 时,是否将 S3_BUCKET 拼入上传地址路径。默认为 true,适用于 Cloudflare R2、MinIO 等 path-style S3 兼容端点;使用已绑定存储桶的自定义域名时设为 false,例如腾讯云 COS 自定义域名","設定 S3_ENDPOINT 時,是否將 S3_BUCKET 拼入上傳位址路徑。預設為 true,適用於 Cloudflare R2、MinIO 等 path-style S3 相容端點;使用已綁定儲存桶的自訂網域時設為 false,例如騰訊雲 COS 自訂網域","設定 S3_ENDPOINT 時,是否將 S3_BUCKET 加入上傳位址路徑。預設為 true,適用於 Cloudflare R2、MinIO 等 path-style S3 相容端點;使用已綁定儲存桶的自訂網域時設為 false,例如騰訊雲 COS 自訂網域","When S3_ENDPOINT is set, whether to append S3_BUCKET to the upload URL path. Default: true. Use true for Cloudflare R2, MinIO, and other path-style S3-compatible endpoints; set false for bucket-bound custom domains, such as Tencent Cloud COS custom domains.","S3_ENDPOINT sozlanganda S3_BUCKET ni yuklash URL yo'liga qo'shish-qo'shmaslik. Standart: true. Cloudflare R2, MinIO va boshqa path-style S3 mos endpointlar uchun true ishlating; bucketga bog'langan maxsus domenlar, masalan Tencent Cloud COS maxsus domenlari uchun false qiling.","S3_ENDPOINT 設定時、アップロード URL のパスに S3_BUCKET を追加するかどうか。デフォルト: true。Cloudflare R2、MinIO などの path-style S3 互換エンドポイントでは true を使用し、Tencent Cloud COS カスタムドメインなど、バケットに紐づくカスタムドメインでは false に設定します。","S3_ENDPOINT 설정 시 업로드 URL 경로에 S3_BUCKET을 추가할지 여부입니다. 기본값: true. Cloudflare R2, MinIO 등 path-style S3 호환 엔드포인트는 true를 사용하고, Tencent Cloud COS 커스텀 도메인처럼 버킷에 연결된 커스텀 도메인은 false로 설정하세요.","Khi đặt S3_ENDPOINT, xác định có thêm S3_BUCKET vào đường dẫn URL tải lên hay không. Mặc định: true. Dùng true cho Cloudflare R2, MinIO và endpoint tương thích S3 dạng path-style; đặt false cho tên miền tùy chỉnh đã gắn với bucket, ví dụ tên miền tùy chỉnh Tencent Cloud COS.","Saat S3_ENDPOINT diatur, apakah S3_BUCKET akan ditambahkan ke path URL unggahan. Bawaan: true. Gunakan true untuk Cloudflare R2, MinIO, dan endpoint kompatibel S3 path-style; atur false untuk domain kustom yang terikat bucket, misalnya domain kustom Tencent Cloud COS."],[o+"_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 사용","Tên miền CDN cho ảnh S3. Để trống để dùng URL S3/Endpoint mặc định","Domain akses gambar S3 (domain CDN). Kosongkan untuk menggunakan URL S3/Endpoint bawaan"],[o+"_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). 비워두면 루트에 저장","Tiền tố đường dẫn lưu trữ ảnh S3, ví dụ images/twikoo. Để trống để lưu ở thư mục gốc","Awalan path penyimpanan gambar S3, misal images/twikoo. Kosongkan untuk menyimpan di root"],[o+"_LIGHTBOX"]:["使用简易图片点击放大效果。默认:false","使用簡易圖片點擊放大效果。預設:false","使用簡易圖片點擊放大效果。預設:false","Use simple Lightbox effect. Default: false","Используйте простые эффекты лайтбокса. По умолчанию: false","シンプルな画像拡大機能を使用します。デフォルト:false","라이트박스 효과, 댓글 이미지 클릭 시 확대 효과 사용. 기본값: false","Bật hiệu ứng phóng to ảnh khi click. Mặc định: false","Gunakan efek Lightbox sederhana. Bawaan: false"],[o+"_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.","Giới hạn số bình luận mỗi IP trong 10 phút, 0 là không giới hạn. Mặc định: 10.","Batas komentar per IP setiap 10 menit, 0 tidak terbatas, bawaan: 10."],[o+"_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.","Giới hạn tổng số bình luận toàn site trong 10 phút, 0 là không giới hạn. Mặc định: 10.","Batas komentar seluruh situs setiap 10 menit, 0 tidak terbatas, bawaan: 10."],[o+"_LIMIT_LENGTH"]:["评论长度限制,0 为无限制,默认:500","評論長度限制,0 為無限制,預設:500","留言長度限制,0 為無限,預設:500","Comment length limitation, 0 is unlimited, default: 500.","Шарҳ узунлиги чеклови, 0 чексиз, стандарт: 500.","コメント長さの制限。0は無制限、デフォルト:500","댓글 길이 제한. 0은 무제한. 기본값: 500.","Giới hạn độ dài bình luận, 0 là không giới hạn. Mặc định: 500.","Batas panjang komentar, 0 tidak terbatas, bawaan: 500."],[o+"_MAIL_SUBJECT"]:["自定义通知邮件主题,留空则使用默认主题。","自定義通知郵件主題,留空則使用預設主題。","自訂通知郵件主題,留白則使用預設主題。","Custom Email notification subject. Leave it blank to use the default subject.","Махсус электрон почта хабарномаси мавзуси. Стандарт мавзуни ишлатиш учун уни бўш қолдиринг.","カスタム通知メールの件名。空白の場合はデフォルトの件名を使用します。","댓글 알림 이메일 제목 설정. 비워두면 기본 제목을 사용합니다.","Tiêu đề email thông báo tùy chỉnh. Để trống để dùng tiêu đề mặc định.","Subjek notifikasi email kustom. Kosongkan untuk menggunakan subjek bawaan."],[o+"_MAIL_SUBJECT_ADMIN"]:["自定义博主通知邮件主题,留空则使用默认主题。","自定義博主通知郵件主題,留空則使用預設主題。","自訂站長通知郵件主題,留白則使用預設主題。","Custom admin Email notification subject. Leave it blank to use the default subject.","Махсус администратор электрон почта хабарномаси мавзуси. Стандарт мавзуни ишлатиш учун уни бўш қолдиринг.","管理者へのカスタム通知メールの件名。空白の場合はデフォルトの件名を使用します。","관리자에게 발송되는 댓글 알림 이메일 제목 설정. 비워두면 기본 제목을 사용합니다.","Tiêu đề email thông báo cho quản trị viên tùy chỉnh. Để trống để dùng tiêu đề mặc định.","Subjek notifikasi email admin kustom. Kosongkan untuk menggunakan subjek bawaan."],[o+"_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}","Mẫu email thông báo tùy chỉnh. Để trống để dùng mẫu mặc định. : ${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","Template notifikasi email kustom. Kosongkan untuk menggunakan template bawaan. Kolom yang dapat disertakan: ${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}"],[o+"_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}","Mẫu email thông báo cho quản trị viên tùy chỉnh. Để trống để dùng mẫu mặc định. : ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","Template notifikasi email admin kustom. Kosongkan untuk menggunakan template bawaan. Kolom yang dapat disertakan: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}"],[o+"_MASTER_TAG"]:["博主标识自定义文字,默认为 “博主”。","博主標識自定義文字,預設為 “博主”。","站長認證自訂文字,預設為「博主」。","Custom admin identifier.","Махсус администратор идентификатори.",'管理者を表すカスタムテキスト。デフォルト:"ブロガー"',"관리자 태그 설정. (닉네임 옆에 표시됨. 예: 관리자)","Văn bản nhãn admin tùy chỉnh.",'Teks kustom identitas admin. Bawaan: "博主".'],[o+"_NOTIFY_SPAM"]:["垃圾评论是否发送通知,默认:true","垃圾評論是否發送通知,默認:true","垃圾留言是否發送通知,預設:true","Notifications for spam comments. Default: true.","Спам шарҳлар учун билдиришномалар. Стандарт: рост.","スパムコメントの通知を送信するかどうか。デフォルト:true","스팸 댓글 알림 발송 여부. 기본값: true.","Có gửi thông báo cho bình luận spam không. Mặc định: true.","Apakah mengirim notifikasi untuk komentar spam. Bawaan: true."],[o+"_CAPTCHA_PROVIDER"]:["人机验证码提供商","人機驗證碼提供商","人機驗證碼提供商","CAPTCHA Provider","CAPTCHA Provider","CAPTCHAプロバイダー","캡차 제공자","Nhà cung cấp CAPTCHA","Penyedia CAPTCHA"],[o+"_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","Site Key của Turnstile CAPTCHA. Lấy tại: https://dash.cloudflare.com/?to=/:account/turnstile","Kunci Situs Turnstile CAPTCHA. Dapatkan dari: https://dash.cloudflare.com/?to=/:account/turnstile"],[o+"_TURNSTILE_SECRET_KEY"]:["Turnstile 验证码的密钥","Turnstile 验证码的密钥","Turnstile 验证码的密钥","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHAのシークレットキー","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHA Secret Key","Kunci Rahasia Turnstile CAPTCHA"],[o+"_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","GeeTest CAPTCHA ID. Lấy tại: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. Dapatkan dari: https://console.geetest.com/sensbot/management"],[o+"_GEETEST_CAPTCHA_KEY"]:["极验验证码的 Captcha Key","极验验证码的 Captcha Key","极验验证码的 Captcha Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","Kunci GeeTest CAPTCHA"],[o+"_CAP_API_ENDPOINT"]:["Cap 验证码 API 端点。留空则使用内嵌 Cap(无需额外部署);外部 Standalone 格式:https://<实例地址>/<site_key>/","Cap 验证码 API 端点。留空则使用内嵌 Cap(无需额外部署);外部 Standalone 格式:https://<实例地址>/<site_key>/","Cap 验证码 API 端点。留空则使用内嵌 Cap(无需额外部署);外部 Standalone 格式:https://<实例地址>/<site_key>/","Cap CAPTCHA API endpoint. Leave empty for built-in Cap (no extra server). External Standalone format: https://<instance_url>/<site_key>/","Cap CAPTCHA API endpoint. Leave empty for built-in Cap (no extra server). External Standalone format: https://<instance_url>/<site_key>/","Cap CAPTCHA API Endpoint。空欄で内蔵 Cap を使用(追加サーバー不要)。外部 Standalone 形式: https://<instance_url>/<site_key>/","Cap CAPTCHA API Endpoint. 비우면 내장 Cap 사용(추가 서버 불필요). 외부 Standalone 형식: https://<instance_url>/<site_key>/","Endpoint API Cap CAPTCHA. Để trống = Cap tích hợp (không cần server ngoài). Standalone ngoài: https://<instance_url>/<site_key>/","Endpoint API Cap CAPTCHA. Kosongkan = Cap bawaan (tanpa server ekstra). Standalone eksternal: https://<instance_url>/<site_key>/"],[o+"_CAP_SECRET_KEY"]:["Cap Secret Key(仅外部 Standalone 需要;内嵌模式可留空)","Cap Secret Key(僅外部 Standalone 需要;內嵌模式可留空)","Cap Secret Key(僅外部 Standalone 需要;內嵌模式可留空)","Cap Secret Key (external Standalone only; leave empty for built-in)","Cap Secret Key (external Standalone only; leave empty for built-in)","Cap Secret Key(外部 Standalone のみ。内蔵時は空欄可)","Cap Secret Key (외부 Standalone 전용; 내장 모드는 비워둠)","Cap Secret Key (chỉ Standalone ngoài; để trống nếu dùng tích hợp)","Cap Secret Key (hanya Standalone eksternal; kosongkan untuk bawaan)"],[o+"_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","Tencent Cloud secret id để phát hiện spam. Khi cài cả Tencent Cloud và Akismet, chỉ Tencent Cloud có hiệu lực. Đăng ký: https://twikoo.js.org/cms.html","ID rahasia Tencent Cloud untuk deteksi spam komentar. Jika Tencent Cloud dan Akismet diatur bersamaan, hanya Tencent Cloud yang berlaku. Daftar: https://twikoo.js.org/cms.html"],[o+"_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 이름 (스팸 댓글 정책용). 스팸 차단 규칙 설정 가능.","Tên Biztype bảo mật nội dung Tencent Cloud dùng cho chính sách spam.","Nama Biztype Keamanan Konten Tencent Cloud untuk kebijakan komentar spam. Aturan pemblokiran spam dapat disesuaikan"],[o+"_QCLOUD_SECRET_KEY"]:["腾讯云 secret key","騰訊雲 secret key","騰訊雲 Secret Key","Tencent Cloud secret key.","Тенсент Клауд махфий калити.","Tencent Cloudのシークレットキー","Tencent Cloud Secret Key.","Tencent Cloud Secret Key.","Kunci rahasia Tencent Cloud."],[o+"_LLM_API_KEY"]:["LLM API Key,用于 AI 垃圾评论检测。仅在未配置腾讯云和 Akismet 时生效。","LLM API Key,用於 AI 垃圾評論檢測。僅在未配置騰訊雲和 Akismet 時生效。","LLM API Key,用於 AI 垃圾留言檢測。僅在未配置騰訊雲和 Akismet 時生效。","LLM API Key, used for AI spam comment detection. Only takes effect when Tencent Cloud and Akismet are not configured.","LLM API kaliti, spamni aniqlash uchun. Faqat Tencent Cloud va Akismet sozlangan bo'lmasa ishlaydi.","LLM APIキー。AIスパムコメント検出に使用されます。Tencent CloudとAkismetが設定されていない場合のみ有効になります。","LLM API 키. AI 스팸 댓글 감지에 사용됩니다. Tencent Cloud 및 Akismet이 설정되지 않은 경우에만 작동합니다.","LLM API Key, dùng để phát hiện spam bằng AI. Chỉ có hiệu lực khi Tencent Cloud và Akismet không được cấu hình.","LLM API Key, digunakan untuk deteksi komentar spam dengan AI. Hanya berlaku jika Tencent Cloud dan Akismet tidak dikonfigurasi."],[o+"_LLM_API_ENDPOINT"]:["LLM API 接口地址,默认:https://api.deepseek.com","LLM API 接口地址,預設:https://api.deepseek.com","LLM API 接口地址,預設:https://api.deepseek.com","LLM API endpoint URL, defaults to https://api.deepseek.com","LLM API endpoint manzili, standart: https://api.deepseek.com","LLM APIエンドポイントURL。デフォルト:https://api.deepseek.com","LLM API 엔드포인트 URL. 기본값: https://api.deepseek.com","Địa chỉ LLM API endpoint, mặc định: https://api.deepseek.com","URL endpoint LLM API, bawaan: https://api.deepseek.com"],[o+"_LLM_MODEL"]:["LLM 模型名称,默认:deepseek-v4-pro","LLM 模型名稱,預設:deepseek-v4-pro","LLM 模型名稱,預設:deepseek-v4-pro","LLM model name, default: deepseek-v4-pro","LLM model nomi, standart: deepseek-v4-pro","LLMモデル名。デフォルト:deepseek-v4-pro","LLM 모델 이름. 기본값: deepseek-v4-pro","Tên mô hình LLM, mặc định: deepseek-v4-pro","Nama model LLM, bawaan: deepseek-v4-pro"],[o+"_LLM_SPAM_PROMPT"]:["LLM 垃圾检测提示词(可选,留空则使用默认提示词)","LLM 垃圾檢測提示詞(可選,留空則使用預設提示詞)","LLM 垃圾檢測提示詞(可選,留白則使用預設提示詞)","LLM spam detection prompt (optional, uses default if left empty)","LLM spam prompt (ixtiyoriy, bo'sh qolsa standart ishlatiladi)","LLMスパム検出プロンプト(オプション。空の場合はデフォルトが使用されます)","LLM 스팸 감지 프롬프트 (옵션, 비워두면 기본값 사용)","Prompt phát hiện spam LLM (tùy chọn, để trống dùng mặc định)","Prompt deteksi spam LLM (opsional, kosongkan untuk menggunakan default)"],[o+"_LLM_MAX_RETRIES"]:["LLM 检测最大重试次数(默认 3 次)","LLM 檢測最大重試次數(預設 3 次)","LLM 檢測最大重試次數(預設 3 次)","LLM detection maximum retries (default 3)","LLM aniqlash uchun maksimal qayta urinishlar soni (standart 3)","LLM検出最大リトライ回数(デフォルト3回)","LLM 감지 최대 재시도 횟수 (기본 3회)","Số lần thử lại tối đa của LLM (mặc định 3)","Maksimal percobaan ulang deteksi LLM (bawaan 3)"],[o+"_PUSHOO_CHANNEL"]:[`即时消息推送平台名称,支持:${s.join("、")} 等`,`即時消息推送平台名称,支持:${s.join("、")} 等`,`即時訊息推送平台名稱,支援:${s.join("、")} 等`,`IM notification push channel. Support: ${s.join(", ")}`,`ИМ билдиришномаси суриш канали. Қўллаб-қувватлаш: ${s.join(", ")}`,`即時メッセージプッシュプラットフォームの名前。${s.join("、")} などに対応しています。`,`실시간 알림을 받을 서비스 설정. 지원: ${s.join(", ")}`,`Kênh gửi thông báo IM tức thì. ${s.join(", ")}`,`Saluran push notifikasi IM. Mendukung: ${s.join(", ")}`],[o+"_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 를 참조.","Token gửi thông báo IM. Xem https://pushoo.js.org để biết chi tiết","Token push notifikasi IM. Lihat https://pushoo.js.org untuk detailnya"],[o+"_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","Các ô nhập liệu hiển thị trên giao diện. Mặc định: nick,mail,link","Kotak input yang ditampilkan di antarmuka. Bawaan: nick,mail,link"],[o+"_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.','Trường bắt buộc khi bình luận. "nick,mail,link" là tất cả bắt buộc, "none" là tất cả tùy chọn. Mặc định: nick,mail.','Kolom wajib untuk komentar. Atur ke "nick,mail,link" berarti semua wajib, "none" berarti semua opsional. Bawaan: nick,mail.'],[o+"_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.","Có thông báo admin qua cả IM lẫn email không. Mặc định chỉ dùng IM. Mặc định: false.","Apakah akan memberitahu admin melalui IM dan email secara bersamaan, bawaan hanya melalui IM. Bawaan: false."],[o+"_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가 일치해야 메일 발송이 가능합니다.","Địa chỉ email gửi thông báo. Với hầu hết nhà cung cấp, SENDER_EMAIL phải giống SMTP_USER.","Alamat email untuk notifikasi email. Untuk sebagian besar penyedia layanan email, SENDER_EMAIL harus sama dengan SMTP_USER, jika tidak email tidak dapat dikirim."],[o+"_SENDER_NAME"]:["邮件通知标题。","郵件通知標題。","郵件通知標題。","The title for Email notification.","Электрон почта хабарномаси сарлавҳаси.","メール通知のタイトル","알림 이메일 발신자 이름.","Tiêu đề thông báo email.","Judul notifikasi email."],[o+"_SHOW_EMOTION"]:["启用插入表情功能,默认为:true","啟用插入表情功能,預設為:true","啟用插入表情功能,預設為:true","Enable emojis. Default: true.","Кулгичларни ёқинг. Стандарт: рост.","顔文字の挿入を有効にするかどうか。デフォルト:true","이모티콘 삽입 기능 활성화. 기본값: true.","Bật chức năng chèn emoji. Mặc định: true.","Aktifkan penyisipan emoji. Bawaan: true"],[o+"_SHOW_IMAGE"]:["启用插入图片功能,默认为:true","啟用插入圖片功能,預設為:true","啟用插入圖片功能,預設為:true","Enable picture uploading. Default: true.","Расм юклашни ёқинг. Стандарт: рост.","画像のアップロードを有効にするかどうか。デフォルト:true","이미지 업로드 기능 활성화. 기본값: true.","Bật chức năng tải ảnh lên. Mặc định: true.","Aktifkan pengunggahan gambar. Bawaan: true"],[o+"_SHOW_ORDER"]:["评论排序下拉框,默认为:true","評論排序下拉框,預設為:true","評論排序下拉框,預設為:true","Show sort dropdown. Default: true.","Изоҳларни тартиблаш очиладиган менюси. Стандарт: рост.","コメントの並べ替えドロップダウンを表示するかどうか。デフォルト:true","댓글 정렬 드롭다운 메뉴 표시 여부. 기본값: true.","Hiển thị dropdown sắp xếp bình luận. Mặc định: true.","Tampilkan dropdown urutan komentar. Bawaan: true"],[o+"_SHOW_DISLIKE"]:["评论点踩按钮,默认为:true","評論點踩按鈕,預設為:true","評論點踩按鈕,預設為:true","Show dislike button. Default: true.","Изоҳларни ёқтирмаслик тугмаси. Стандарт: рост.","「よくないね」ボタンを表示するかどうか。デフォルト:true","댓글 싫어요 버튼 표시 여부. 기본값: true.","Hiển thị nút không thích. Mặc định: true.","Tampilkan tombol tidak suka. Bawaan: true"],[o+"_SHOW_UA"]:["是否显示用户系统和浏览器,默认为:true","是否顯示使用者系統和瀏覽器,預設為:true","是否顯示使用者作業系統和瀏覽器,預設為:true","Show users' OS and browser. Default: true.","Фойдаланувчиларнинг ОС ва браузерини кўрсатиш. Стандарт: рост.","ユーザーのOSとブラウザーの情報を表示するかどうか。デフォルト:true","댓글 작성자의 운영체제 및 브라우저 표시 여부. 기본값: true.","Hiển thị hệ điều hành và trình duyệt người dùng. Mặc định: true.","Tampilkan OS dan peramban pengguna. Bawaan: true"],[o+"_SHOW_REGION"]:["是否显示用户 IP 属地到省,可能不准确,不支持 IPv6,默认为:false","是否顯示使用者 IP 屬地到省,預設為:false","是否顯示使用者 IP 所屬地(精確到省),預設為:false","Show users' IP region (province). Default: false.","Фойдаланувчиларнинг ИП ҳудудини (вилоят) кўрсатиш. Стандарт: нотўғри.","ユーザーIPの所在地(省)を表示するかどうか。正確でない場合があります。IPv6はサポートされていません。デフォルト:false","사용자 IP 지역(도/시 단위) 표시 여부 (부정확할 수 있음, IPv6 미지원). 기본값: false.","Hiển thị vùng IP người dùng (cấp tỉnh). Có thể không chính xác, không hỗ trợ IPv6. Mặc định: false.","Tampilkan wilayah IP pengguna (provinsi). Mungkin tidak akurat, tidak mendukung IPv6. Bawaan: false"],[o+"_SITE_NAME"]:["网站名称","網站名稱","網站名稱","Website name.","Вебсайт номи.","ウェブサイト名","웹사이트 이름.","Tên website.","Nama situs web"],[o+"_SITE_URL"]:["网站地址","網站地址","網站網址","Website URL.","Вебсайт URL.","ウェブサイトのアドレス","웹사이트 주소.","Địa chỉ website.","Alamat situs web"],[o+"_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를 설정한 경우 비워두세요.","Địa chỉ máy chủ SMTP tùy chỉnh. Để trống nếu đã cấu hình SMTP_SERVICE.","Alamat server SMTP kustom. Jika Anda telah mengonfigurasi SMTP_SERVICE, biarkan kosong."],[o+"_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 등 대부분 별도의 앱 비밀번호/인증 코드 사용)","Mật khẩu hòm thư gửi thông báo. Với QQ/163 hãy nhập mã ủy quyền.","Kata sandi kotak email notifikasi. Untuk email QQ/163, masukkan kode otorisasi."],[o+"_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를 설정한 경우 비워두세요.","Cổng SMTP tùy chỉnh. Để trống nếu đã cấu hình SMTP_SERVICE.","Port SMTP kustom. Jika Anda telah mengonfigurasi SMTP_SERVICE, biarkan kosong."],[o+"_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를 설정한 경우 비워두세요.",'Sử dụng TLS cho SMTP. Nhập "true" hoặc "false". Để trống nếu đã cấu hình SMTP_SERVICE.','Gunakan TLS untuk SMTP kustom. Masukkan "true" atau "false". Jika Anda telah mengonfigurasi SMTP_SERVICE, biarkan kosong.'],[o+"_SMTP_SERVICE"]:[`邮件通知邮箱服务商。支持:${a.join("、")}`,`郵件通知郵箱服務商。支持:${a.join("、")}`,`郵件通知郵箱服務提供商。支援:${a.join("、")}`,`Email service provider for Email notification. Support: ${a.join(", ")}`,`Электрон почта хабарномаси учун электрон почта хизмати провайдери. Қўллаб-қувватлаш: ${a.join(", ")}`,`メール通知メールボックスサービスプロバイダ。サポート: ${a.join(",")}.`,`알림 발송 이메일 서비스 선택. 지원 목록: ${a.join(", ")}`,`Nhà cung cấp dịch vụ email gửi thông báo. : ${a.join(", ")}`,`Penyedia layanan email untuk notifikasi. Mendukung: ${a.join(", ")}`],[o+"_SMTP_USER"]:["邮件通知邮箱用户名。","郵件通知郵箱用户名。","郵件通知郵箱使用者名稱。","Email notification mailbox username.","Электрон почта хабарномаси почта қутиси фойдаланувчи номи.","メール通知のメールボックスユーザー名。","선택한 이메일 알림 서비스 아이디","Tên đăng nhập hòm thư gửi thông báo.","Nama pengguna kotak email notifikasi."],ADMIN_CONFIG_RESET:["重置","重置","還原","Reset","Ресет","リセット","초기화","Đặt lại","Reset"],ADMIN_CONFIG_SAVE:["保存","保存","儲存","Save","Сақлаш","保存","저장","Lưu","Simpan"],ADMIN_CREDENTIALS:["私钥文件","私鑰文件","私鑰檔案","Private key file","Shaxsiy kalit fayli","秘密鍵ファイル","개인 키 파일","File khóa riêng tư","File kunci pribadi"],ADMIN_CREDENTIALS_FAQ:["如何获得私钥","如何獲得私鑰","如何獲取私鑰","How to get the private key","Shaxsiy kalitni qanday olish mumkin","秘密鍵を取得する方法","개인 키 발급 방법","Cách lấy khóa riêng tư","Cara mendapatkan kunci pribadi"],ADMIN_CREDENTIALS_PLACEHOLDER:["请粘贴私钥文件内容","請貼上私鑰文件內容","請貼上私鑰檔案內容","Please paste the contents of the private key file","Iltimos, shaxsiy kalit faylining mazmunini joylashtiring","秘密鍵ファイルの内容を貼り付けてください","개인 키 파일 내용을 붙여넣으세요","Hãy dán nội dung file khóa riêng tư vào đây","Silakan tempel isi file kunci pribadi"],ADMIN_FORGOT:["忘记密码","忘記密碼","忘記密碼","Forget your password","Парол унутилган","パスワードを忘れた","비밀번호 찾기","Quên mật khẩu","Lupa kata sandi"],ADMIN_EXPORT:["导出","匯出","匯出","Export","Экспорт","エクスポート","내보내기","Xuất dữ liệu","Ekspor"],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 파일로 내보냅니다. 댓글이 많아 내보내기 실패 또는 데이터 누락 발생 시, 데이터베이스에 직접 연결하여 수동으로 내보내세요.","Xuất toàn bộ dữ liệu thành file JSON. Nếu gặp lỗi hoặc thiếu dữ liệu, hãy kết nối cơ sở dữ liệu để xuất thủ công","Ekspor semua data sebagai file JSON. Jika ekspor gagal atau data hilang, sambungkan ke basis data untuk ekspor manual"],ADMIN_EXPORT_COMMENT:["导出评论","匯出評論","匯出評論","Export comment","Изохни экспорт килиш","コメントをエクスポート","댓글 내보내기","Xuất bình luận","Ekspor komentar"],ADMIN_EXPORT_COUNTER:["导出访问量","匯出訪問量","匯出訪問量","Export counter","Экспорт сони","ページビューをエクスポート","통계 내보내기","Xuất lượt truy cập","Ekspor penghitung"],[i]:["导入","匯入","匯入","Import","Импорт","インポート","가져오기","Nhập dữ liệu","Impor"],[i+"_FILE_REQUIRED"]:["未选择文件","未選擇文件","未選擇檔案","No file selected","Файлни танланмади","ファイルが選択されていません","파일이 선택되지 않았습니다","Chưa chọn file","Tidak ada file yang dipilih"],[i+"_IMPORTED"]:["完成导入 ","完成匯入 ","完成匯入 ","Imported ","Импорт қилинди ","インポート完了 ","가져오기 완료 ","Đã nhập ","Diimpor "],[i+"_IMPORTING"]:["开始导入 ","開始匯入 ","開始匯入 ","Importing ","Импорт қилинмоқда ","インポートを開始 ","가져오는 중 ","Đang nhập ","Mengimpor "],[i+"_LOG"]:["日志","日誌","日誌","Log","Лог","システムログ","로그","Nhật ký","Log"],[i+"_SELECT"]:["请选择","請選擇","請選擇","Select","Танланг","選択してください","선택하세요","Chọn","Pilih"],[i+"_SELECT_FILE"]:["选择文件","選擇文件","選擇檔案","Select file","Файлни танланг","ファイルを選択","파일 선택","Chọn file","Pilih file"],[i+"_SELECT_SOURCE"]:["选择源系统","選擇源系統","選擇來源系統","Select source","Манба танланг","ソースを選択","가져올 댓글 데이터 선택","Chọn nguồn dữ liệu","Pilih sumber"],[i+"_SOURCE_REQUIRED"]:["未选择源系统","未選擇源系統","未選擇來源系統","No source selected.","Ҳеч қандай манба танланмаган.","ソースが選択されていません","가져올 댓글 데이터가 선택되지 않았습니다.","Chưa chọn nguồn dữ liệu.","Sumber belum dipilih"],[i+"_START"]:["开始导入","開始匯入","開始匯入","Start import","Импортни бошлаш","インポートを開始","가져오기 시작","Bắt đầu nhập","Mulai impor"],[i+"_STARTING"]:["开始导入","開始匯入","開始匯入","Importing","Импорт қилинмоқда","インポート中です","가져오는 중","Đang nhập","Mengimpor"],[i+"_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 입니다.","Hãy tải lên file xuất Artalk định dạng JSON. Tên file thường là comments.data.json","Silakan unggah file ekspor Artalk dalam format JSON, nama file biasanya comments.data.json"],[i+"_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 입니다.","Hãy tải lên file xuất Disqus định dạng XML. Tên file thường là [tên-website]-[thời-gian]-all.xml","Silakan unggah file ekspor Disqus dalam format XML, nama file biasanya [nama situs]-[waktu ekspor]-all.xml"],[i+"_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 입니다.","Hãy tải lên file xuất Valine định dạng JSON. Tên file thường là Comment.json","Silakan unggah file ekspor Valine dalam format JSON, nama file biasanya Comment.json"],[i+"_UPLOADED"]:["上传完成 ","上傳完成 ","上傳完成 ","Uploaded ","Юкланди ","アップロード完了","업로드 완료 ","Đã tải lên ","Diunggah "],[i+"_UPLOADING"]:["已上传 ","已上傳 ","已上傳 ","Uploading ","Юкланмоқда ","アップロード中です","업로드 중 ","Đang tải lên ","Mengunggah "],[i+"_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가져오기 전에 댓글 데이터베이스를 백업하는 것이 좋습니다.","Hỗ trợ nhập bình luận từ file sao lưu hệ thống khác.\nDữ liệu an toàn, chức năng nhập thực hiện hoàn toàn trên môi trường cloud của bạn.\nNên sao lưu cơ sở dữ liệu bình luận trước khi nhập.","Mendukung impor komentar dari file cadangan sistem komentar lain.\nData aman, fungsi impor sepenuhnya dilakukan di lingkungan cloud Anda.\nDisarankan untuk mencadangkan basis data komentar sebelum mengimpor."],ADMIN_LOGIN:["登录","登入","登入","Sign in","Тизимга кириш","ログイン","로그인","Đăng nhập","Masuk"],ADMIN_LOGIN_TITLE:["Twikoo 评论管理","Twikoo 評論管理","Twikoo 留言管理","Twikoo Management Panel","Twikoo Бошқарув Панели","Twikoo コメント管理","Twikoo 관리자 패널","Twikoo Quản lý bình luận","Manajemen Komentar Twikoo"],ADMIN_LOGOUT:["退出登录","退出登入","登出","Sign out","Тизимдан чиқиш","ログアウト","로그아웃","Đăng xuất","Keluar"],ADMIN_NEED_UPDATE:["若要使用评论管理,请更新 Twikoo 云函数","若要使用評論管理,請更新 Twikoo 雲函數","若要使用留言管理功能,請更新 Twikoo 雲端函數","A new version of Twikoo is required for comment management.","Фикрларни бошқариш учун Твикоо нинг янги версияси талаб қилинади.","コメント管理を使用するには、Twikoo クラウド関数を更新してください","새 버전의 댓글 관리를 사용하려면 Twikoo Cloud Function을 업데이트하세요.","Cần cập nhật Twikoo Cloud Function để dùng quản lý bình luận.","Versi baru Twikoo diperlukan untuk manajemen komentar."],ADMIN_PASSWORD:["密码","密碼","密碼","Password","Пароль","パスワード","비밀번호","Mật khẩu","Kata Sandi"],ADMIN_PASSWORD_PLACEHOLDER:["请输入","請輸入","請輸入","Enter your password...","Паролингизни киритинг...","入力してください","비밀번호를 입력하세요...","Nhập mật khẩu...","Masukkan kata sandi..."],ADMIN_PASSWORD_REQUIRED:["请输入密码","請輸入密碼","請輸入密碼","Please enter your password","Илтимос, паролингизни киритинг","パスワードを入力してください","비밀번호를 입력하세요","Vui lòng nhập mật khẩu","Silakan masukkan kata sandi Anda"],ADMIN_REGIST:["注册","註冊","註冊","Register","Рўйхатдан ўтиш","登録","관리자 등록","Đăng ký","Daftar"],ADMIN_REGIST_FAILED:["注册失败","註冊失敗","註冊失敗","Register failed","Рўйхатдан ўтиш амалга ошмади","登録に失敗しました","관리자 등록 실패","Đăng ký thất bại","Pendaftaran gagal"],ADMIN_SET_PASSWORD:["设置密码","設置密碼","設定密碼","Set password","Пароль қўйиш","パスワードの設定","비밀번호 설정","Đặt mật khẩu","Atur kata sandi"],ADMIN_SET_PASSWORD_CONFIRM:["确认密码","確認密碼","確認密碼","Confirm password","Паролни тасдиқланг","パスワードの確認","비밀번호 확인","Xác nhận mật khẩu","Konfirmasi kata sandi"],ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER:["确认密码","確認密碼","確認密碼","Confirm password...","Паролни тасдиқлаш...","パスワードの確認","비밀번호 확인...","Xác nhận mật khẩu...","Konfirmasi kata sandi..."],ADMIN_SET_PASSWORD_PLACEHOLDER:["密码","密碼","密碼","Password","Пароль","パスワード","비밀번호","Mật khẩu","Kata sandi"],ADMIN_TITLE:["Twikoo 管理面板","Twikoo 管理面板","Twikoo 管理控制台","Twikoo Management Panel","Twikoo Бошқарув Панели","Twikoo管理パネル","Twikoo 관리 패널","Twikoo Bảng quản trị","Panel Manajemen Twikoo"],COMMENTS_COUNT_SUFFIX:[" 条评论"," 條評論"," 則留言"," comments"," изоҳлар"," 件のコメント","개의 댓글"," bình luận"," komentar"],COMMENTS_SORT_NEWEST:["最新","最新","最新","Newest","Энг янги","最新","최신","Mới nhất","Terbaru"],COMMENTS_SORT_OLDEST:["最早","最早","最早","Oldest","Энг эски","最古","오래됨","Cũ nhất","Terlama"],COMMENTS_SORT_POPULAR:["热门","熱門","熱門","Popular","Машҳур","人気","인기","Phổ biến","Populer"],COMMENTS_EXPAND:["查看更多","查看更多","檢視更多","Load more","Давомини юклаш","もっと見る","더 보기","Xem thêm","Muat lebih banyak"],COMMENTS_NO_COMMENTS:["没有评论","沒有評論","沒有留言","No comment","Изоҳларсиз","コメントはありません","아직 댓글이 없습니다.","Chưa có bình luận","Berikan pendapatmu"],COMMENT_EXPAND:["展开","展開","展開","Read more","Давомини ўқиш","全文を表示","더 보기","Xem thêm","Baca selengkapnya"],COMMENT_COLLAPSE:["收起","收起","閉合","Collapse","Очиш","折りたたむ","접기","Thu gọn","Ciutkan"],COMMENT_MASTER_TAG:["博主","博主","站長","Admin","Модератор","管理者","관리자","Admin","Admin"],COMMENT_REPLIED:["回复","回覆","回覆","Reply","Жавоб бериш","返信","답글","Trả lời","Balas"],COMMENT_DELETE_CONFIRM:["确认删除你的评论?","確認刪除你的評論?","確認刪除你的評論?","Delete your comment?","Izohingizni o'chirasizmi?","あなたのコメントを削除しますか?","댓글을 삭제하시겠습니까?","Xóa bình luận của bạn?","Hapus pendapat Anda?"],COMMENT_REVIEWING_TAG:["审核中","審核中","審核中","Pending","Кутилмоқда","検討中","검토 중","Đang duyệt","Tertunda"],COMMENT_TOP_TAG:["置顶","置頂","置頂","Pinned","Қадоқланган","固定","고정됨","Đã ghim","Disematkan"],COMMENT_FAILED:["评论失败","評論失敗","評論失敗","Comment failed","Фикр билдирилмади","コメント失敗","댓글 등록 실패","Gửi bình luận thất bại","Komentar gagal"],META_INPUT_LINK:["网址","網址","網址","Website","Веб-сайт","ウェブサイト","웹사이트","Website","Situs Web"],META_INPUT_MAIL:["邮箱","郵箱","郵箱","Email","Email","メールアドレス","이메일","Email","Email"],META_INPUT_NICK:["昵称","暱稱","暱稱","Nickname","Исм","名前","닉네임","Tên","Nama Panggilan"],META_INPUT_NOT_REQUIRED:["选填","選填","選填","Optional","Ихтиёрий","任意","선택","Tùy chọn","Opsional"],META_INPUT_REQUIRED:["必填","必填","必填","Required","Мажбурий","必須","필수","Bắt buộc","Wajib"],PAGINATION_COUNT_PREFIX:["共 ","共 ","共 ","","","合計 ","총 ","Tổng ","Total "],PAGINATION_COUNT_SUFFIX:[" 条"," 條"," 條"," entries"," ёзувлар"," 件","개"," mục"," entri"],PAGINATION_GOTO_PREFIX:["前往","前往","前往","Goto page","Саҳифага ўтиш","ページに移動","이동할 페이지: ","Đến trang","Ke halaman"],PAGINATION_GOTO_SUFFIX:["页","頁","頁","","ページ","","","","Halaman"],PAGINATION_PAGESIZE:["条/页","條/頁","則/頁","entries/page","ёзувлар/саҳифа","件/ページ","개/페이지","mục/trang","entri/halaman"],SUBMIT_CANCEL:["取消","取消","取消","Cancel","Бекор қилиш","キャンセル","취소","Hủy","Batal"],SUBMIT_PREVIEW:["预览","預覽","預覽","Preview","Кўриб чиқиш","プレビュー","미리보기","Xem trước","Pratinjau"],SUBMIT_SEND:["发送","發送","傳送","Send","Юбормоқ","送信","등록","Gửi","Kirim"],IMAGE_UPLOAD_PLACEHOLDER:["图片上传中","圖片上傳中","圖片上傳中","Uploading image","Расм юклаш","画像のアップロード中","이미지 업로드 중","Đang tải ảnh lên","Mengunggah gambar"],IMAGE_UPLOAD_FAILED:["图片上传失败","圖片上傳失敗","圖片上傳失敗","IMAGE UPLOAD FAILED","РАСМ ЮКЛАНМАДИ","画像のアップロード失敗","이미지 업로드 실패","TẢI ẢNH THẤT BẠI","UNGGAH GAMBAR GAGAL"],IMAGE_UPLOAD_NSFW:["图片包含不当内容,禁止上传","圖片包含不當內容,禁止上傳","圖片包含不當內容,禁止上傳","Image contains inappropriate content, upload rejected","Расм ноқулай мазмунни ўз ичига олади, юклаш рад қилинди","画像に不適切なコンテンツが含まれているため、アップロードが拒否されました","이미지에 부적절한 콘텐츠가 포함되어 있어 업로드가 거부되었습니다","Ảnh chứa nội dung không phù hợp, tải lên bị từ chối","Gambar mengandung konten tidak pantas, unggahan ditolak"],IMAGE_UPLOAD_FAILED_NO_CONF:["博主未配置图床服务","博主未配置圖床服務","博主未配置圖床服務","The blogger didn't configured any image bed service","Муаллиф ҳеч қандай тасвир хизматини созламаган","管理者が画像配信サービスを設定していません","블로거가 이미지 호스팅 서비스를 설정하지 않았습니다.","Quản trị viên chưa cấu hình dịch vụ lưu trữ ảnh","Admin belum mengatur layanan penyimpanan gambar"],IMAGE_UPLOAD_PLEASE_WAIT:["图片上传中,请稍候再发送","圖片上傳中,請稍候再發送","圖片上傳中,請稍候再傳送","Uploading image, please try again later","Расм юкланмоқда, кейинроқ қайта уриниб кўринг","画像のアップロードが完了するまでお待ちください","이미지 업로드 중입니다. 잠시 후 다시 시도해주세요.","Đang tải ảnh lên, vui lòng chờ rồi thử lại","Gambar sedang diunggah, tunggu sebentar"],SUBMIT_SENDING:["发送中","發送中","正在傳送","Sending","Юбориш","送信中","등록 중","Đang gửi","Mengirim"],TIMEAGO_DAYS:["天前","天前","天前","days ago","кунлар олдин","日前","일 전","ngày trước","hari lalu"],TIMEAGO_HOURS:["小时前","小時前","小時前","hours ago","соатлар олдин","時間前","시간 전","giờ trước","jam lalu"],TIMEAGO_MINUTES:["分钟前","分鐘前","分鐘前","minutes ago","дақиқалар олдин","分前","분 전","phút trước","menit lalu"],TIMEAGO_NOW:["刚刚","剛剛","剛剛","Just now","Ҳозиргина","たった今","방금 전","Vừa xong","Baru saja"],TIMEAGO_SECONDS:["秒前","秒前","秒前","seconds ago","сониялар олдин","秒前","초 전","giây trước","detik lalu"]}},5878:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.setLanguage=t["default"]=void 0;var o=r(n(7564));const 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,vi:7,"vi-VN":7,id:8,"id-id":8};let s="";t.setLanguage=(e={})=>{e.lang&&e.lang.toLowerCase()in i&&(s=e.lang)},t["default"]=(e,t)=>{const n=(t||s||navigator.language).toLowerCase();let r;return r=n&&i[n]?o["default"][e][i[n]]:o["default"][e][i["zh-cn"]],r||""}},8129:function(e,t,n){"use strict";var r=n(477)["default"],o=n(2032)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.blobToDataURL=void 0,Object.defineProperty(t,"call",{enumerable:!0,get:function(){return c.call}}),t.getHref=t.getFuncVer=t.getCommentsCountApi=t.convertLink=void 0,Object.defineProperty(t,"getQQAvatar",{enumerable:!0,get:function(){return u.getQQAvatar}}),t.getVisitorsCountApi=t.getUserAgent=t.getUrl=t.getRecentCommentsApi=void 0,Object.defineProperty(t,"initMarkedOwo",{enumerable:!0,get:function(){return d.initMarkedOwo}}),Object.defineProperty(t,"initOwoEmotions",{enumerable:!0,get:function(){return d.initOwoEmotions}}),t.isNotSet=void 0,Object.defineProperty(t,"isQQ",{enumerable:!0,get:function(){return u.isQQ}}),Object.defineProperty(t,"isUrl",{enumerable:!0,get:function(){return c.isUrl}}),t.logger=void 0,Object.defineProperty(t,"marked",{enumerable:!0,get:function(){return a["default"]}}),Object.defineProperty(t,"normalizeMail",{enumerable:!0,get:function(){return u.normalizeMail}}),t.readAsText=void 0,Object.defineProperty(t,"renderCode",{enumerable:!0,get:function(){return l["default"]}}),t.renderMath=t.renderLinks=void 0,Object.defineProperty(t,"setLanguage",{enumerable:!0,get:function(){return i.setLanguage}}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return i["default"]}}),Object.defineProperty(t,"timeago",{enumerable:!0,get:function(){return s["default"]}}),t.updateVisitorsCount=t.timestamp=void 0;var i=o(n(5878)),s=r(n(7435)),a=r(n(37)),l=r(n(4161)),c=n(585),u=n(7080),d=n(9212);t.isNotSet=e=>e===undefined||null===e||""===e;const p=t.logger={log:(e,t)=>{console.log(`Twikoo: ${e}`,t)},info:(e,t)=>{console.info(`Twikoo: ${e}`,t)},warn:(e,t)=>{console.warn(`Twikoo: ${e}`,t)},error:(e,t)=>{console.error(`Twikoo: ${e}`,t)}};let h;t.timestamp=(e=new Date)=>e.getTime(),t.convertLink=e=>e?"http"!==e.substring(0,4)?`http://${e}`:e:"",t.getFuncVer=async e=>(h||(h=await(0,c.call)(e,"GET_FUNC_VERSION")),h),t.getCommentsCountApi=async(e,t)=>{if(!(t.urls instanceof Array))throw new Error("urls 参数有误");return 0===t.urls.length?[]:(await(0,c.call)(e,"GET_COMMENTS_COUNT",t)).result.data},t.getRecentCommentsApi=async(e,t)=>{const n=await(0,c.call)(e,"GET_RECENT_COMMENTS",t);for(const r of n.result.data)r.relativeTime=(0,s["default"])(r.created);return n.result.data},t.getUserAgent=async()=>{let e=window.navigator.userAgent;try{const{platform:t}=navigator.userAgentData;if("Windows"===t||"macOS"===t){const{platformVersion:n}=await navigator.userAgentData.getHighEntropyValues(["platformVersion"]),r=parseInt(n.split(".")[0]);if("Windows"===t&&r>=13){const t="11.0";e=e.replace(/Windows NT 10\.0/i,`Windows NT ${t}`)}else if("macOS"===t&&r>=11){const t=n.replace(/\./g,"_");e=e.replace(/Mac OS X 10_[0-9]+_[0-9]+/i,`Mac OS X ${t}`)}}}catch(t){}return e};const f=e=>{let 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.getUrl=f;const m=e=>window.TWIKOO_MAGIC_HREF??e??window.location.href;t.getHref=m;const g=new Set(["localhost","127.0.0.1","0.0.0.0","::1"]),_=async(e,t={})=>(await(0,c.call)(e,"COUNTER_GET",{envId:t.envId,funcName:t.funcName,url:f(t.path),href:m(t.href),title:t.title??document.title})).result;t.getVisitorsCountApi=_,t.updateVisitorsCount=async(e,t={})=>{const n=document.getElementById("twikoo_visitors");if(!n||g.has(window.location.hostname))return null;try{const r=await _(e,t);return(r.time||0===r.time)&&(n.innerHTML=r.time),r}catch(r){return p.warn("Failed to update visitors count",r),null}},t.readAsText=e=>new Promise((t,n)=>{const r=new FileReader;r.readAsText(e),r.onloadend=()=>{r.error?n(r.error):t(r.result)}}),t.renderLinks=e=>{let t=[];e instanceof Array?e.forEach(e=>{t.push(...e.getElementsByTagName("a"))}):e instanceof Element&&(t=e.getElementsByTagName("a"));for(const n of t)n.setAttribute("target","_blank"),n.setAttribute("rel","noopener noreferrer nofollow ugc")},t.renderMath=(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=e=>new Promise(t=>{const n=new FileReader;n.onload=e=>{const 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}),r.marked.use({tokenizer:{code(){return undefined}}}),t["default"]=r.marked},824:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.install=async function(e,t={}){return i.sdk=e,function(e){const t=[];for(const n of o)n["default"]&&(0,r.isNotSet)(e[n.key])?e[n.key]=n["default"]:n.required&&(0,r.isNotSet)(e[n.key])&&t.push(n.key);if(t.length>0){for(const e of t)r.logger.warn(`${e} is required`);throw new Error("Twikoo: failed to init")}}(t),await async function(e){(function(e){i.app=i.sdk.init({env:e.envId,region:e.region})})(e),await async function(){return new Promise((e,t)=>{i.auth=i.app.auth({persistence:"local"}),i.auth.hasLoginState()?e():i.auth.anonymousAuthProvider().signIn().then(e)["catch"](t)})}()}(t),i},t.tcb=void 0;var r=n(8129);const o=[{key:"envId",required:!0}],i=t.tcb={sdk:null,app:null,auth:null}},7435:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n(8129);const o=e=>{const t=i(e.getDate(),2),n=i(e.getMonth()+1,2);return`${i(e.getFullYear(),2)}-${n}-${t}`},i=(e,t)=>{let n=e.toString();for(;n.length<t;)n="0"+n;return n};t["default"]=e=>{if("number"==typeof e&&(e=new Date(e)),e)try{const t=e.getTime(),n=Date.now()-t,i=Math.floor(n/864e5);if(0===i){const e=n%864e5,t=Math.floor(e/36e5);if(0===t){const t=e%36e5,n=Math.floor(t/6e4);if(0===n){const e=t%6e4;return Math.round(e/1e3)+` ${(0,r.t)("TIMEAGO_SECONDS")}`}return n+` ${(0,r.t)("TIMEAGO_MINUTES")}`}return t+` ${(0,r.t)("TIMEAGO_HOURS")}`}return i<0?(0,r.t)("TIMEAGO_NOW"):i<8?i+` ${(0,r.t)("TIMEAGO_DAYS")}`:o(e)}catch(t){r.logger.log("timeAgo 错误",t)}}},2199:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="1.7.16"},1085:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.render=t.app=void 0;var o=r(n(4478)),i=r(n(1463)),s=r(n(5735)),a=r(n(4511));n(622),n(8848),n(6756),n(4707);var l=r(n(7784));o["default"].use(i["default"]),o["default"].use(s["default"]),o["default"].use(a["default"]);let c=t.app=null;t.render=(e,n={})=>(o["default"].prototype.$tcb=e,o["default"].prototype.$twikoo=n,t.app=c=new o["default"]({render:e=>e(l["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),s=n.n(i)()(o());s.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"]=s},1315:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},9211:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},9737:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},8207:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},8699:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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.85);\n -webkit-backdrop-filter: blur(5px);\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 display: block;\n top: 1rem;\n left: calc(100% - 3rem);\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"]=s},5596:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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: center;\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-color: rgba(0, 0, 0, 0.2);\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"]=s},2268:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i),a=n(1778),l=n.n(a),c=new URL(n(1479),n.b),u=s()(o()),d=l()(c);u.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"]=u},8120:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},269:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},3373:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},4118:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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 .tk-content pre,\n.twikoo .tk-preview-container pre {\n overflow-x: auto;\n max-width: 100%;\n}\n.twikoo .tk-content pre code,\n.twikoo .tk-preview-container pre code {\n white-space: pre;\n word-break: normal;\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"]=s},9791:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},7239:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},6785:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},4284:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},6810:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},6937:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M131.2 61.9c5.3-.5 10.6 .6 15.3 3s8.6 6.2 11.3 10.8c17 29.5 34.2 58.9 51.2 88.4 3.5-1.4 7-2.7 10.5-3.9 31.3-10.9 64.2-16.6 97.4-16.9 1 0 2.1 0 3.2 0 38.1 0 76.2 7 111.6 21.1L483 75.7c1.8-3.2 4.3-6 7.2-8.2s6.2-3.9 9.8-4.8c3.1-.8 6.4-1.1 9.6-.8 4.2 .4 8.3 1.7 11.9 3.8 4 2.4 7.3 5.7 9.7 9.7 2 3.4 3.3 7.2 3.8 11.2s.1 8-1.2 11.7c-.6 1.9-1.4 3.7-2.4 5.5l-49.7 85.8c19.5 12.2 37.6 26.5 53.9 42.8 12.3 12.2 23.5 25.4 33.5 39.5 8.2 11.5 15.6 23.6 22.2 36.2 17.5 33.6 28.6 70.5 32.7 108.1l-608 0c4.1-37.7 15.2-74.5 32.7-108.1 14.5-27.9 33.4-53.5 55.7-75.7 16.5-16.4 34.7-30.9 54.5-43.1l-49.5-85.4c-3.7-6.4-4.7-14.1-2.8-21.2 1.9-7.1 6.4-13.1 12.7-16.8 3.6-2.2 7.7-3.5 11.9-3.8zm67.3 215.8c-12.2-8.1-30.1-2.5-40.1 12.5s-8.2 33.8 3.9 41.9 30.1 2.5 40.1-12.5 8.2-33.8-3.9-41.9zm283.6 12.5c-10-15-27.9-20.6-40.1-12.5s-13.9 26.9-3.9 41.9c10 15 27.9 20.6 40.1 12.5s13.9-26.9 3.9-41.9z"></path></svg>'},9396:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M319.1 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.7-55.8 .9-115.1 44.5-115.1 133.2 0 26.2 4.8 53.3 14.4 81.2 12.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.9zM262.5 104.5c27.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 512 512"><path fill="currentColor" d="M0 256c0-46.6 12.5-90.4 34.3-128.9L144.1 318.3c21.9 39.2 63.8 65.7 111.9 65.7 14.3 0 27.1-2.3 40.8-6.6L220.5 509.6C95.9 492.3 0 385.3 0 256zm365.1 65.6c12.3-19.2 18.9-42.5 18.9-65.6 0-38.2-16.8-72.5-43.3-96l152.7 0c12 29.6 18.6 62.1 18.6 96 0 141.4-114.6 255.1-256 256L365.1 321.6zM477.8 128L256 128c-62.9 0-113.7 44.1-125.5 102.7L54.2 98.5C101 38.5 174 0 256 0 350.8 0 433.5 51.5 477.8 128zM344 256a88 88 0 1 1 -176 0 88 88 0 1 1 176 0z"></path></svg>'},7051:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M120.1 37.4c41-25.2 87.6-38.2 134.9-37.4 168 0 257 123.8 257 219.5-.1 32.7-13 63.9-35.9 87.2-22.9 23.2-54 36.5-86.7 37-75.2 0-91.5-23.1-91.5-32 0-3.8 1.2-6.2 4.8-9.4l1-1.2 .4-1.6c10.5-11.5 15.9-26.2 15.9-41.6 0-78.7-82.2-142.7-184-142.7-37.5-.3-74.5 8.9-107.5 26.9 27-57.5 82.7-97.6 91.3-103.8 .8-.6 .3-.8 .3-.8zm15.6 318.1c-1.4 30 4.6 60 16.4 87.2 13.6 26.4 32.7 51 56.5 69.3-59.5-11.5-111.5-43.9-149.4-89.3-38.1-46.4-59.2-104.3-59.2-164.8 0-51.2 62.4-94.4 136-94.4 36.6-.6 72.4 10.9 101.8 32.7l-3.6 1.2c-51.5 17.6-98.5 90.7-98.5 158.1zM469.8 400l-.7 .1c-11.8 18.8-25.9 35.1-42.2 49.5-30.8 28-68.1 45.5-108.8 49.9-18.6 .3-36.8-3.2-53.8-11.4-25.6-10.3-47.1-30-61.6-53-14.4-23.9-21.1-51.7-19-79.6-.6-20.1 5.4-40.3 15-58.2 13.9 33.1 37.5 61.3 67.6 80.8s65.5 29.5 101.4 28.6c31 .3 62.1-6.7 90.2-20.5l1.9-.9c3.9-2.3 7.7-3.9 11.6 0 4.5 4.9 1.8 9.2-1.2 14-.2 .2-.3 .5-.4 .7z"></path></svg>'},8443:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M130.2 127.5l0 0zm351.4 45.4c-10.6-25.5-32.1-53-48.9-61.7 13.7 26.9 21.7 53.9 24.7 74 0 .1 0 .3 .1 .4-27.6-68.8-74.4-96.5-112.6-156.8-15-23.7-10.9-25.2-13.1-24.7l-.1 .1c-46.7 26-75.3 78.4-82.6 122.7-16.6 .9-32.9 5-47.9 12.1-1.4 .6-2.5 1.7-3.1 3s-.9 2.8-.6 4.3c.2 .8 .6 1.6 1.1 2.3s1.2 1.3 1.9 1.7 1.6 .7 2.4 .8 1.7 0 2.5-.3l.5-.2c15.5-7.3 32.4-11.2 49.5-11.3 62.8-.6 97.2 44 107.6 62.3-13-9.2-36.4-18.2-58.8-14.3 87.7 43.9 64.2 194.5-57.4 189.2-59.5-2.6-97.1-51-100.5-90.8 0 0 11.2-41.9 80.6-41.9 7.5 0 28.9-20.9 29.3-27-.1-2-42.5-18.9-59.1-35.2-8.8-8.7-13.1-12.9-16.8-16.1-2-1.7-4.1-3.3-6.3-4.8-5.6-19.5-5.8-40-.7-59.6-25.1 11.4-44.6 29.4-58.7 45.4l-.1 0c-9.7-12.2-9-52.6-8.4-61.1-.1-.5-7.2 3.7-8.2 4.3-8.6 6.1-16.5 12.9-23.8 20.4-16.3 16.6-44.1 50.2-55.5 101.2-4.5 20.4-6.8 44.4-6.8 52.3 0 134.7 109.2 243.9 243.9 243.9 120.6 0 223-87.2 240.4-202.6 11.6-76.7-14.7-131.1-14.7-132z"></path></svg>'},3793:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M483.1 159.7c10.9-24.6 21.4-60.4 21.4-87.9 0-72.7-79.6-98.4-209.7-38.6-107.6-7.2-211.2 73.7-237.1 186.5 30.9-34.9 78.3-82.3 122-101.2-54.3 48.3-100.6 109.4-135.7 173.2-20.7 37.9-44 99.2-44 145 0 98.6 92.9 86.5 180.3 42 31.4 15.4 66.6 15.6 101.7 15.6 97.1 0 184.2-54.3 216.8-146l-120.8 0c-52.5 88.6-196.8 53-196.8-47.4l328.8 0c6.4-43.6-1.7-95.7-26.9-141.2zM64.6 346.9C82.3 398 118.3 442.7 164.8 470.2 76.1 519.1-8.4 499.3 64.6 346.9zM180.5 238c2-55.2 50.3-94.9 104-94.9 53.4 0 102 39.7 104 94.9l-208 0zM365.1 50.4c21.4-10.3 48.6-22 72.6-22 31.4 0 54.3 21.7 54.3 53.7 0 20-7.4 49-14.6 67.9-26.3-42.3-66-81.6-112.3-99.6z"></path></svg>'},8974:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M220.9 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.7zM199 125c1.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-72 .5-45.9 5.1-131.2-75.8-131.3-102.4-.2-76.8 103.4-77.9 135.2-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.7l0 .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.8 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.1 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.4l0-.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.4 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 fill="currentColor" d="M593.8 59.1l-547.6 0C20.7 59.1 0 79.8 0 105.2L0 406.7c0 25.5 20.7 46.2 46.2 46.2l547.7 0c25.5 0 46.2-20.7 46.1-46.1l0-301.6c0-25.4-20.7-46.1-46.2-46.1zM338.5 360.6l-61.5 0 0-120-61.5 76.9-61.5-76.9 0 120-61.7 0 0-209.2 61.5 0 61.5 76.9 61.5-76.9 61.5 0 0 209.2 .2 0zm135.3 3.1l-92.3-107.7 61.5 0 0-104.6 61.5 0 0 104.6 61.5 0-92.2 107.7z"></path></svg>'},740:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M274.7 274.7L237.3 237.3 166 346 274.7 274.7zM256 8a248 248 0 1 0 0 496 248 248 0 1 0 0-496zM411.8 182.8l14.8-6.1c1-.4 2-.6 3.1-.6s2.1 .2 3.1 .6 1.8 1 2.6 1.7 1.3 1.6 1.7 2.6 .6 2 .6 3.1-.2 2.1-.6 3.1-1 1.9-1.7 2.6-1.6 1.3-2.6 1.7L418 197.6c-2 .8-4.2 .8-6.1 0s-3.5-2.4-4.3-4.3-.8-4.2 0-6.1 2.4-3.5 4.3-4.3zM314.4 94l6.1-14.8c.8-2 2.4-3.5 4.3-4.3s4.2-.8 6.1 0 3.5 2.4 4.3 4.3 .8 4.2 0 6.1l-6.1 14.8c-.8 2-2.4 3.5-4.3 4.3s-4.2 .8-6.1 0c-1-.4-1.9-1-2.6-1.7s-1.3-1.6-1.7-2.6-.6-2-.6-3.1 .2-2.1 .6-3.1zM256 60c2.1 0 4.2 .8 5.7 2.3S264 65.9 264 68l0 16c0 2.1-.8 4.2-2.3 5.7s-3.5 2.3-5.7 2.3-4.2-.8-5.7-2.3-2.3-3.5-2.3-5.7l0-16c0-2.1 .8-4.2 2.3-5.7S253.9 60 256 60zM181 74.9c1-.4 2-.6 3.1-.6s2.1 .2 3.1 .6 1.9 1 2.6 1.7 1.3 1.6 1.7 2.6L197.6 94c.4 1 .7 2 .7 3.1s-.2 2.1-.6 3.1-1 1.9-1.7 2.6-1.6 1.4-2.6 1.8-2 .6-3.1 .6-2.1-.2-3.1-.6-1.9-1-2.6-1.8-1.3-1.7-1.7-2.7l-6.1-14.8c-.8-2-.8-4.2 0-6.1s2.4-3.5 4.3-4.3zm-63.6 42.5c1.5-1.5 3.5-2.3 5.7-2.3s4.2 .8 5.7 2.3L140 128.7c1.5 1.5 2.3 3.5 2.3 5.6s-.8 4.1-2.3 5.6c-1.5 1.5-3.5 2.3-5.7 2.3s-4.2-.8-5.7-2.3l-11.3-11.3c-1.5-1.5-2.3-3.5-2.3-5.6s.8-4.1 2.3-5.6l0 0zM60 256c0-2.1 .8-4.2 2.3-5.7S65.9 248 68 248l16 0c2.1 0 4.2 .8 5.7 2.3s2.3 3.5 2.3 5.7-.8 4.2-2.3 5.7-3.5 2.3-5.7 2.3l-16 0c-2.1 0-4.2-.8-5.7-2.3S60 258.1 60 256zm40.2 73.2l-14.8 6.1c-1 .4-2 .6-3.1 .6s-2.1-.2-3.1-.6-1.9-1-2.6-1.7-1.3-1.6-1.7-2.6-.6-2-.6-3.1 .2-2.1 .6-3.1 1-1.9 1.7-2.6 1.6-1.3 2.6-1.7L94 314.4c2-.8 4.2-.8 6.1 0s3.5 2.4 4.3 4.3 .8 4.2 0 6.1-2.4 3.5-4.3 4.3zm4.3-136c-.4 1-1 1.9-1.7 2.6s-1.6 1.3-2.6 1.7-2 .6-3.1 .6-2.1-.2-3.1-.6l-14.8-6.1c-2-.8-3.5-2.4-4.3-4.3s-.8-4.2 0-6.1 2.4-3.5 4.3-4.3 4.2-.8 6.1 0l14.8 6.1c2 .8 3.5 2.4 4.3 4.3s.8 4.2 0 6.1l0 0zM197.6 418l-6.1 14.8c-.4 1-1 1.9-1.7 2.6s-1.6 1.3-2.6 1.7-2 .6-3.1 .6-2.1-.2-3.1-.6-1.9-1-2.6-1.7-1.3-1.6-1.7-2.6-.6-2-.6-3.1 .2-2.1 .6-3.1l6.1-14.8c.4-1 1-1.9 1.7-2.7s1.6-1.4 2.6-1.8 2-.6 3.1-.6 2.1 .2 3.1 .6 1.9 1 2.6 1.8 1.3 1.7 1.7 2.6 .6 2 .6 3.1-.2 2.1-.7 3.1zM264 444c0 2.1-.8 4.2-2.3 5.7s-3.5 2.3-5.7 2.3-4.2-.8-5.7-2.3-2.3-3.5-2.3-5.7l0-16c0-2.1 .8-4.2 2.3-5.7s3.5-2.3 5.7-2.3 4.2 .8 5.7 2.3 2.3 3.5 2.3 5.7l0 16zm67-6.9c-1 .4-2 .6-3.1 .6s-2.1-.2-3.1-.6-1.9-1-2.6-1.7-1.3-1.6-1.7-2.6L314.4 418c-.8-2-.8-4.2 0-6.1s2.4-3.5 4.3-4.3 4.2-.8 6.1 0 3.5 2.4 4.3 4.3l6.1 14.8c.8 2 .8 4.2 0 6.1s-2.4 3.5-4.3 4.3zm63.6-42.5c-1.5 1.5-3.5 2.3-5.7 2.3s-4.2-.8-5.7-2.3L372 383.3c-1.5-1.5-2.3-3.5-2.3-5.6s.8-4.1 2.3-5.6 3.5-2.3 5.7-2.3 4.2 .8 5.7 2.3l11.3 11.3c1.5 1.5 2.3 3.5 2.3 5.6s-.8 4.1-2.3 5.6l0 0zM286.2 286.2L110.3 401.7 225.8 225.8 401.7 110.3 286.2 286.2zM437.1 331c-.8 2-2.4 3.5-4.3 4.3s-4.2 .8-6.1 0l-14.8-6.1c-2-.8-3.5-2.4-4.3-4.3s-.8-4.2 0-6.1c.4-1 1-1.9 1.7-2.6s1.6-1.3 2.6-1.7 2-.6 3.1-.6 2.1 .2 3.1 .6l14.8 6.1c2 .8 3.5 2.4 4.3 4.3s.8 4.2 0 6.1zm6.9-67l-16 0c-2.1 0-4.2-.8-5.7-2.3s-2.3-3.5-2.3-5.7 .8-4.2 2.3-5.7 3.5-2.3 5.7-2.3l16 0c2.1 0 4.2 .8 5.7 2.3s2.3 3.5 2.3 5.7-.8 4.2-2.3 5.7-3.5 2.3-5.7 2.3z"></path></svg>'},7397:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M469.2 75c0-20.1-8-39.3-22.2-53.5s-33.4-22.2-53.5-22.2-39.3 8-53.5 22.2-22.2 33.4-22.2 53.5c0 20.1 8 39.3 22.1 53.5s33.4 22.1 53.5 22.1 39.3-8 53.5-22.1 22.1-33.4 22.1-53.5l.1 0zm-315 165.7a75.6 75.6 0 1 0 -151.2 0 75.6 75.6 0 1 0 151.2 0zM57 346c18.6 46.9 51 87 93 115.1s91.5 42.6 142 41.7c-14.7-18.6-22.9-41.5-23.2-65.2-6.8-.9-13.3-2.1-19.5-3.4-26.8-5.7-51.9-17.3-73.6-34s-39.3-38.1-51.7-62.5c-20.9 9.9-44.5 12.8-67.1 8.2l.1 .1zm395.1 89.8a75.6 75.6 0 1 0 -151.2 0 75.6 75.6 0 1 0 151.2 0zM444 351.6c18.5 14.8 31.6 35.2 37.2 58.2 33.3-41.3 52.6-92.2 54.8-145.2s-12.5-105.4-42.2-149.4c-8.6 21.5-24 39.6-43.8 51.6 15.4 28.6 22.9 60.8 21.9 93.2s-10.7 64-28 91.6l.1 0zM101.1 135.4c12.4 2.7 24.3 7.5 35.1 14.3 16.6-24.2 38.9-44.1 64.8-58S255.8 70.4 285.2 70c.2-5.9 .9-11.9 2-17.7 3.6-16.7 11.1-32.3 21.8-45.5-47.7-3.8-95.4 6-137.6 28.5S94.3 91.7 70.8 133.4c2.7-.2 5.3-.3 8-.3 7.5 0 15 .8 22.4 2.3l-.1 0z"></path></svg>'},2531:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M0 93.7l183.6-25.3 0 177.4-183.6 0 0-152.1zM0 418.3l183.6 25.3 0-175.2-183.6 0 0 149.9zm203.8 28l244.2 33.7 0-211.6-244.2 0 0 177.9zm0-380.6l0 180.1 244.2 0 0-213.8-244.2 33.7z"></path></svg>'},3491:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M51.9 384.9C19.3 344.6 0 294.4 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240 397.4 480 256 480c-36.5 0-71.2-7.2-102.6-20L37 509.9c-3.7 1.6-7.5 2.1-11.5 2.1-14.1 0-25.5-11.4-25.5-25.5 0-4.3 1.1-8.5 3.1-12.2l48.8-89.4zm37.3-30.2c12.2 15.1 14.1 36.1 4.8 53.2l-18 33.1 58.5-25.1c11.8-5.1 25.2-5.2 37.1-.3 25.7 10.5 54.2 16.4 84.3 16.4 117.8 0 208-88.8 208-192S373.8 48 256 48 48 136.8 48 240c0 42.8 15.1 82.4 41.2 114.7z"></path></svg>'},5171:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm128 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm136 72c8.5 0 16.4 4.5 20.7 11.8l80 136c4.4 7.4 4.4 16.6 .1 24.1S352.6 384 344 384l-240 0c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l17.2 24.6 46.5-79c4.3-7.3 12.2-11.8 20.7-11.8z"></path></svg>'},6639:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 256a208 208 0 1 0 -416 0 208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm118.3 58.2c-4.2-13.7 7.1-26.2 21.4-26.2l232.6 0c14.3 0 25.6 12.5 21.4 26.2-18 58.9-72.9 101.8-137.7 101.8S136.3 373.1 118.3 314.2zM144 192a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"></path></svg>'},6412:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M360 32l7.4 .4c35 3.6 62.5 32.2 64.4 67.7 17.8 11.8 30.1 31.4 32 53.9l.2 6c0 5.7-.7 11.2-2 16.5 10.2 11.5 16.8 26.3 17.8 42.7l.2 4.8c0 13.2-3.6 25.4-9.8 36 4.9 8.4 8.2 17.9 9.3 28l.4 8c0 37.3-28.3 67.9-64.6 71.6l-7.4 .4-109.7 0 14.1 30 3.1 7.6c12.5 35.7-1.8 75.5-34.2 95l-7.2 3.9c-37.5 17.6-81.7 3.6-102.6-31.2l-.6-.9-2.7-5-.6-1.2-30.1-64c-9.4 17.8-28 29.9-49.5 29.9l-32 0c-30.9 0-56-25.1-56-56L0 152c0-30.9 25.1-56 56-56l32 0c12.4 0 23.9 4.1 33.2 11 13.2-21.4 32-39.4 55-51.6l12.2-6.5 .7-.3 6.6-3.2 .7-.3 7.1-3c16.7-6.6 34.5-9.9 52.6-9.9L360 32zM255.9 80c-12 0-23.9 2.3-35.1 6.6l-4.7 2-5.3 2.6 0 0-12.2 6.5c-29.2 15.5-48.3 44.9-50.7 77.6l-.2 8 0 112.9 .1 4.1c.5 8.2 2.5 16.2 6 23.7l56.8 120.9 2.1 3.8c8.4 13.7 26 19.1 40.8 12.2l2.9-1.6c13-7.8 18.7-23.7 13.7-38l-1.2-3-30.2-64.2c-3.5-7.4-2.9-16.1 1.5-23.1s12-11.1 20.2-11.1l147.5 0 2.4-.1c11.3-1.1 20.3-10.1 21.4-21.4l.1-2.5c0-7.1-3.1-13.5-8.2-18-5.2-4.6-8.2-11.1-8.2-18s3-13.4 8.2-18c4.4-3.9 7.4-9.3 8-15.3l.2-2.7c0-8.4-4.4-15.9-11.2-20.2-10.7-6.9-14.2-20.9-8-32 1.5-2.6 2.5-5.6 2.9-8.6l.2-3.2c0-10.6-6.9-19.6-16.6-22.8-11.7-3.8-18.7-15.9-16-28 .2-.9 .3-1.8 .4-2.6l.2-2.6c0-12.4-9.5-22.6-21.6-23.8L360 80 255.9 80zM56 144c-4.4 0-8 3.6-8 8l0 224c0 4.4 3.6 8 8 8l32 0c4.4 0 8-3.6 8-8l0-224c0-4.4-3.6-8-8-8l-32 0z"></path></svg>'},6359:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M171.5 38.8C192.3 4 236.5-10 274 7.6l7.2 3.8C316 32.3 330 76.5 312.4 114l0 0-14.1 30 109.7 0 7.4 .4c36.3 3.7 64.6 34.4 64.6 71.6 0 13.2-3.6 25.4-9.8 36 6.1 10.6 9.7 22.8 9.8 36 0 18.3-6.9 34.8-18 47.5 1.3 5.3 2 10.8 2 16.5 0 25.1-12.9 47-32.2 59.9-1.9 35.5-29.4 64.2-64.4 67.7l-7.4 .4-104.1 0c-18 0-35.9-3.4-52.6-9.9l-7.1-3-.7-.3-6.6-3.2-.7-.3-12.2-6.5c-12.3-6.5-23.3-14.7-32.9-24.1-4.1 26.9-27.3 47.4-55.3 47.4l-32 0c-30.9 0-56-25.1-56-56L0 200c0-30.9 25.1-56 56-56l32 0c10.8 0 20.9 3.1 29.5 8.5l50.1-106.5 .6-1.2 2.7-5 .6-.9zM56 192c-4.4 0-8 3.6-8 8l0 224c0 4.4 3.6 8 8 8l32 0c4.4 0 8-3.6 8-8l0-224c0-4.4-3.6-8-8-8l-32 0zM253.6 51c-14.8-6.9-32.3-1.6-40.7 12l-2.2 4-56.8 120.9c-3.5 7.5-5.5 15.5-6 23.7l-.1 4.2 0 112.9 .2 7.9c2.4 32.7 21.4 62.1 50.7 77.7l11.5 6.1 6.3 3.1c12.4 5.6 25.8 8.5 39.4 8.5l104.1 0 2.4-.1c12.1-1.2 21.6-11.5 21.6-23.9l-.2-2.6c-.1-.9-.2-1.7-.4-2.6-2.7-12.1 4.3-24.2 16-28 9.7-3.1 16.6-12.2 16.6-22.8 0-4.3-1.1-8.2-3.1-11.8-6.3-11.1-2.8-25.2 8-32 6.8-4.3 11.2-11.8 11.2-20.2 0-7.1-3.1-13.5-8.2-18-5.2-4.6-8.2-11.1-8.2-18s3-13.4 8.2-18c5.1-4.5 8.2-10.9 8.2-18l-.1-2.4c-1.1-11.3-10.1-20.3-21.4-21.4l-2.4-.1-147.5 0c-8.2 0-15.8-4.2-20.2-11.1-4.4-6.9-5-15.7-1.5-23.1L269 93.6c7-15 1.4-32.7-12.5-41L253.6 51z"></path></svg>'},7136:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M166.2-16c-13.3 0-25.3 8.3-30 20.8L120 48 24 48C10.7 48 0 58.7 0 72S10.7 96 24 96l400 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-96 0-16.2-43.2C307.1-7.7 295.2-16 281.8-16L166.2-16zM32 144l0 304c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-304-48 0 0 304c0 8.8-7.2 16-16 16L96 464c-8.8 0-16-7.2-16-16l0-304-48 0zm160 72c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 176c0 13.3 10.7 24 24 24s24-10.7 24-24l0-176zm112 0c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 176c0 13.3 10.7 24 24 24s24-10.7 24-24l0-176z"></path></svg>'},9039:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M48 224l0 160c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-160-416 0zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z"></path></svg>'},504:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"></path></svg>'},6370:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M512 240c0 132.5-114.6 240-256 240-37.1 0-72.3-7.4-104.1-20.7L33.5 510.1c-9.4 4-20.2 1.7-27.1-5.8S-2 485.8 2.8 476.8l48.8-92.2C19.2 344.3 0 294.3 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240z"></path></svg>'},3982:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M477.9 75.5c4.5-11.8 1.7-25.2-7.2-34.1s-22.3-11.8-34.1-7.2l-416 160C7.9 199-.3 211.2 0 224.7s9.1 25.4 21.9 29.6l176.8 58.9 58.9 176.8c4.3 12.8 16.1 21.6 29.6 21.9s25.7-7.9 30.6-20.5l160-416z"></path></svg>'},9966:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z"></path></svg>'},9801:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M384 32c26.5 0 48 21.5 48 48 0 6.3-1.3 12.2-3.4 17.7 20.4 5.5 35.4 24.1 35.4 46.3 0 9.1-2.6 17.6-7 24.9 22.2 4.2 39 23.7 39 47.1 0 19.7-11.9 36.6-28.9 44 17 7.4 28.9 24.3 28.9 44 0 26.5-21.5 48-48 48l-160 0 28.2 70.4c2.5 6.3 3.8 13.1 3.8 19.9l0 4.2c0 27.3-22.1 49.4-49.4 49.4-18.7 0-35.8-10.6-44.2-27.3L170.1 356.3c-6.7-13.3-10.1-28-10.1-42.9l0-186.6c0-19.4 8.9-37.8 24-50l12.2-9.7C224.6 44.4 259.8 32 296.1 32L384 32zM80 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-48 0c-17.7 0-32-14.3-32-32L0 128c0-17.7 14.3-32 32-32l48 0z"></path></svg>'},5910:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M80 160c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-48 0c-17.7 0-32-14.3-32-32L0 192c0-17.7 14.3-32 32-32l48 0zM270.6 16C297.9 16 320 38.1 320 65.4l0 4.2c0 6.8-1.3 13.6-3.8 19.9L288 160 448 160c26.5 0 48 21.5 48 48 0 19.7-11.9 36.6-28.9 44 17 7.4 28.9 24.3 28.9 44 0 23.4-16.8 42.9-39 47.1 4.4 7.3 7 15.8 7 24.9 0 22.2-15 40.8-35.4 46.3 2.2 5.5 3.4 11.5 3.4 17.7 0 26.5-21.5 48-48 48l-87.9 0c-36.3 0-71.6-12.4-99.9-35.1L184 435.2c-15.2-12.1-24-30.5-24-50l0-186.6c0-14.9 3.5-29.6 10.1-42.9L226.3 43.3C234.7 26.6 251.8 16 270.6 16z"></path></svg>'},9671:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"></path></svg>'},5545:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M136.7 5.9C141.1-7.2 153.3-16 167.1-16l113.9 0c13.8 0 26 8.8 30.4 21.9L320 32 416 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 8.7-26.1zM32 144l384 0 0 304c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-304zm88 64c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24z"></path></svg>'},9587:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M399 384.2C376.9 345.8 335.4 320 288 320l-64 0c-47.4 0-88.9 25.8-111 64.2 35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z"></path></svg>'},7784:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(8926),i=o.A,s=(n(1288),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},6085:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(3397),i=o.A,s=(n(2234),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},1547:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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:function(t){return t.preventDefault(),e.onLogout.apply(null,arguments)}}},[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.staticRenderFns=[]}),o=n(4238),i=o.A,s=(n(6852),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},2232:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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:${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.staticRenderFns=[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(" 进行升级")])}]}),o=n(4555),i=o.A,s=(n(7461),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},9658:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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("form",{on:{submit:function(t){return t.preventDefault(),e.saveConfig.apply(null,arguments)}}},[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):"textarea"===n.type?t("el-input",{attrs:{type:"textarea",rows:5,placeholder:n.ph,size:"small"},model:{value:n.value,callback:function(t){e.$set(n,"value",t)},expression:"setting.value"}}):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","native-type":"submit"}},[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.staticRenderFns=[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(" 进行升级")])}]}),o=n(4868),i=o.A,s=(n(203),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},1534:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(3396),i=o.A,s=(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports},5085:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(9865),i=o.A,s=(n(8087),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},3867:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(4064),i=o.A,s=(n(4624),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},362:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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:"#"},on:{click:function(t){return t.preventDefault(),e.scrollToPid(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,refreshed:e.onRefreshed}})}),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.staticRenderFns=[]}),o=n(3572),i=o.A,s=(n(4098),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},3671:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.refreshPreservingState}})}),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.staticRenderFns=[]}),o=n(4333),i=o.A,s=(n(5907),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},7986:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(418),i=o.A,s=(n(4070),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},9323:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(2362),i=o.A,s=(n(1116),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},1222:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(9171),i=o.A,s=(n(292),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},5941:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(147),i=o.A,s=(n(6201),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},4486:function(e,t,n){"use strict";function r(e,t,n,r,o,i,s,a){var l,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),s?(l=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(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}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(1890).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(1890).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(1890).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(1890).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(1890).A)("0e5e9eca",r,!0,{})},6852:function(e,t,n){var r=n(8699);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("72128682",r,!0,{})},7461:function(e,t,n){var r=n(5596);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("b81ae95e",r,!0,{})},203:function(e,t,n){var r=n(2268);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("5553691a",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(1890).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(1890).A)("5a1fa943",r,!0,{})},4098:function(e,t,n){var r=n(3373);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("0a0def4a",r,!0,{})},5907:function(e,t,n){var r=n(4118);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("9cd226fe",r,!0,{})},4070:function(e,t,n){var r=n(9791);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("77fbf48a",r,!0,{})},1116:function(e,t,n){var r=n(7239);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("402739a7",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(1890).A)("88983344",r,!0,{})},6201:function(e,t,n){var r=n(4284);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("ac52a366",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(1890).A)("8be46386",r,!0,{})},1890:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n.cjs(function(e,t){t.A=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],s=i[0],a={id:e+":"+o,css:i[1],media:i[2],sourceMap:i[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}}),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={},s=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,o){c=n,d=o||{};var s=(0,r.A)(e,t);return m(s),function(t){for(var n=[],o=0;o<s.length;o++){var a=s[o];(l=i[a.id]).refs--,n.push(l)}for(t?m(s=(0,r.A)(e,t)):s=[],o=0;o<n.length;o++){var l;if(0===(l=n[o]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete i[l.id]}}}}function m(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(_(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(o=0;o<n.parts.length;o++)s.push(_(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:s}}}}function g(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function _(e){var t,n,r=document.querySelector("style["+p+'~="'+e.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(h){var o=l++;r=a||(a=g()),t=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=g(),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 v,b=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function y(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[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(p,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"},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},2032:function(e,t,n){"use strict";var r=n(9367)["default"];function o(t,n){if("function"==typeof WeakMap)var i=new WeakMap,s=new WeakMap;return(e.exports=o=function(e,t){if(!t&&e&&e.__esModule)return e;var n,o,a={__proto__:null,"default":e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(n=t?s:i){if(n.has(e))return n.get(e);n.set(e,a)}for(var l in e)"default"!==l&&{}.hasOwnProperty.call(e,l)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,l))&&(o.get||o.set)?n(a,l,o):a[l]=e[l]);return a},e.exports.__esModule=!0,e.exports["default"]=e.exports)(t,n)}e.exports=o,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},2570:function(e){"use strict";var t="undefined"!=typeof ArrayBuffer,n=function(e){if("string"==typeof e)return[e,!0];if(Array.isArray(e))return[e,!1];if(t&&e){if(e.constructor===ArrayBuffer)return[new Uint8Array(e),!1];if(ArrayBuffer.isView(e))return[e,!1]}throw new Error("input is invalid type")},r="0123456789abcdef".split(""),o=[-2147483648,8388608,32768,128],i=[24,16,8,0],s=[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],a=["hex","array","digest","arrayBuffer"],l=[],c=function(e,t){return function(n){return new h(t,!0).update(n)[e]()}},u=function(e){var t=c("hex",e);t.create=function(){return new h(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<a.length;++n){var r=a[n];t[r]=c(r,e)}return t},d=function(e,t){return function(n,r){return new f(n,t,!0).update(r)[e]()}},p=function(e){var t=d("hex",e);t.create=function(t){return new f(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<a.length;++n){var r=a[n];t[r]=d(r,e)}return t};function h(e,t){t?(l[0]=l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0,this.blocks=l):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 f(e,t,r){var o,i=n(e);if(e=i[0],i[1]){var s,a=[],l=e.length,c=0;for(o=0;o<l;++o)(s=e.charCodeAt(o))<128?a[c++]=s:s<2048?(a[c++]=192|s>>>6,a[c++]=128|63&s):s<55296||s>=57344?(a[c++]=224|s>>>12,a[c++]=128|s>>>6&63,a[c++]=128|63&s):(s=65536+((1023&s)<<10|1023&e.charCodeAt(++o)),a[c++]=240|s>>>18,a[c++]=128|s>>>12&63,a[c++]=128|s>>>6&63,a[c++]=128|63&s);e=a}e.length>64&&(e=new h(t,!0).update(e).array());var u=[],d=[];for(o=0;o<64;++o){var p=e[o]||0;u[o]=92^p,d[o]=54^p}h.call(this,t,r),this.update(d),this.oKeyPad=u,this.inner=!0,this.sharedMemory=r}h.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t=n(e);e=t[0];for(var r,o,s=t[1],a=0,l=e.length,c=this.blocks;a<l;){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),s)for(o=this.start;a<l&&o<64;++a)(r=e.charCodeAt(a))<128?c[o>>>2]|=r<<i[3&o++]:r<2048?(c[o>>>2]|=(192|r>>>6)<<i[3&o++],c[o>>>2]|=(128|63&r)<<i[3&o++]):r<55296||r>=57344?(c[o>>>2]|=(224|r>>>12)<<i[3&o++],c[o>>>2]|=(128|r>>>6&63)<<i[3&o++],c[o>>>2]|=(128|63&r)<<i[3&o++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++a)),c[o>>>2]|=(240|r>>>18)<<i[3&o++],c[o>>>2]|=(128|r>>>12&63)<<i[3&o++],c[o>>>2]|=(128|r>>>6&63)<<i[3&o++],c[o>>>2]|=(128|63&r)<<i[3&o++]);else for(o=this.start;a<l&&o<64;++a)c[o>>>2]|=e[a]<<i[3&o++];this.lastByteIndex=o,this.bytes+=o-this.start,o>=64?(this.block=c[16],this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},h.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=o[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()}},h.prototype.hash=function(){var e,t,n,r,o,i,a,l,c,u=this.h0,d=this.h1,p=this.h2,h=this.h3,f=this.h4,m=this.h5,g=this.h6,_=this.h7,v=this.blocks;for(e=16;e<64;++e)t=((o=v[e-15])>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,n=((o=v[e-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,v[e]=v[e-16]+t+v[e-7]+n|0;for(c=d&p,e=0;e<64;e+=4)this.first?(this.is224?(i=300032,_=(o=v[0]-1413257819)-150054599|0,h=o+24177077|0):(i=704751109,_=(o=v[0]-210244248)-1521486534|0,h=o+143694565|0),this.first=!1):(t=(u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10),r=(i=u&d)^u&p^c,_=h+(o=_+(n=(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&m^~f&g)+s[e]+v[e])|0,h=o+(t+r)|0),t=(h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10),r=(a=h&u)^h&d^i,g=p+(o=g+(n=(_>>>6|_<<26)^(_>>>11|_<<21)^(_>>>25|_<<7))+(_&f^~_&m)+s[e+1]+v[e+1])|0,t=((p=o+(t+r)|0)>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10),r=(l=p&h)^p&u^a,m=d+(o=m+(n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&_^~g&f)+s[e+2]+v[e+2])|0,t=((d=o+(t+r)|0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(c=d&p)^d&h^l,f=u+(o=f+(n=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&g^~m&_)+s[e+3]+v[e+3])|0,u=o+(t+r)|0,this.chromeBugWorkAround=!0;this.h0=this.h0+u|0,this.h1=this.h1+d|0,this.h2=this.h2+p|0,this.h3=this.h3+h|0,this.h4=this.h4+f|0,this.h5=this.h5+m|0,this.h6=this.h6+g|0,this.h7=this.h7+_|0},h.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,o=this.h3,i=this.h4,s=this.h5,a=this.h6,l=this.h7,c=r[e>>>28&15]+r[e>>>24&15]+r[e>>>20&15]+r[e>>>16&15]+r[e>>>12&15]+r[e>>>8&15]+r[e>>>4&15]+r[15&e]+r[t>>>28&15]+r[t>>>24&15]+r[t>>>20&15]+r[t>>>16&15]+r[t>>>12&15]+r[t>>>8&15]+r[t>>>4&15]+r[15&t]+r[n>>>28&15]+r[n>>>24&15]+r[n>>>20&15]+r[n>>>16&15]+r[n>>>12&15]+r[n>>>8&15]+r[n>>>4&15]+r[15&n]+r[o>>>28&15]+r[o>>>24&15]+r[o>>>20&15]+r[o>>>16&15]+r[o>>>12&15]+r[o>>>8&15]+r[o>>>4&15]+r[15&o]+r[i>>>28&15]+r[i>>>24&15]+r[i>>>20&15]+r[i>>>16&15]+r[i>>>12&15]+r[i>>>8&15]+r[i>>>4&15]+r[15&i]+r[s>>>28&15]+r[s>>>24&15]+r[s>>>20&15]+r[s>>>16&15]+r[s>>>12&15]+r[s>>>8&15]+r[s>>>4&15]+r[15&s]+r[a>>>28&15]+r[a>>>24&15]+r[a>>>20&15]+r[a>>>16&15]+r[a>>>12&15]+r[a>>>8&15]+r[a>>>4&15]+r[15&a];return this.is224||(c+=r[l>>>28&15]+r[l>>>24&15]+r[l>>>20&15]+r[l>>>16&15]+r[l>>>12&15]+r[l>>>8&15]+r[l>>>4&15]+r[15&l]),c},h.prototype.toString=h.prototype.hex,h.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,o=this.h4,i=this.h5,s=this.h6,a=this.h7,l=[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,s>>>24&255,s>>>16&255,s>>>8&255,255&s];return this.is224||l.push(a>>>24&255,a>>>16&255,a>>>8&255,255&a),l},h.prototype.array=h.prototype.digest,h.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},f.prototype=new h,f.prototype.finalize=function(){if(h.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();h.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),h.prototype.finalize.call(this)}};var m=u(),g=u(!0);m.sha256=m,m.sha224=g,m.hmac=p(),g.hmac=p(!0),e.exports=m},2622:function(e){"use strict";e.exports=JSON.parse('{"name":"@cloudbase/app","version":"4.0.0","description":"cloudbase javascript sdk core","main":"dist/cjs/index.js","module":"dist/esm/index.js","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.2.0","@cloudbase/types":"4.0.0","@cloudbase/utilities":"4.0.0"},"gitHead":"e489e90352537598cac4ce36b64ed3184b0d41b1"}')}},t={};function n(r){var o=t[r];if(o!==undefined)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,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){if(Array.isArray(t))for(var r=0;r<t.length;){var o=t[r++],i=t[r++];n.o(e,o)?0===i&&r++:0===i?Object.defineProperty(e,o,{enumerable:!0,value:t[r++]}):Object.defineProperty(e,o,{enumerable:!0,get:i})}else for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},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.cjs=function(e){var t={exports:{}};return e.call(t.exports,t,t.exports),t.exports},n.b="undefined"!=typeof document&&document.baseURI||self.location.href;var r={};return function(){"use strict";var e=r,t=n(477)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,e.getCommentsCount=async function(e={}){const t=(0,a.isUrl)(e.envId)?null:await c(e);return await(0,a.getCommentsCountApi)(t,e)},e.getRecentComments=async function(e={}){const t=(0,a.isUrl)(e.envId)?null:await c(e);return await(0,a.getRecentCommentsApi)(t,e)},e.getVisitorsCount=async function(e={}){const t=(0,a.isUrl)(e.envId)?null:await c(e);return await(0,a.getVisitorsCountApi)(t,e)},e.init=u,Object.defineProperty(e,"version",{enumerable:!0,get:function(){return o.version}});var o=n(2199),i=n(824),s=n(1085),a=n(8129),l=t(n(9459));async function c(e){return await(0,i.install)(l["default"],e)}async function u(e={}){const t=(0,a.isUrl)(e.envId)?null:await c(e);(0,a.setLanguage)(e),(0,s.render)(t,e),await(0,a.updateVisitorsCount)(t,e)}n(9744),n(7441),n(5417),e["default"]=u}(),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=m,t.wxMpStorage=void 0;var r,o=n(6885),i=n(7612),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)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 o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)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 s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},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},d="Error when aborting requestTask",p=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 s(t,e),t.prototype.post=function(e){var t=this;return new Promise(function(n,r){var i=e.url,s=e.data,a=e.headers,l=wx.request({url:(0,o.formatUrl)("https:",i),data:s,timeout:t._timeout,method:"POST",header:a,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{l.abort()}catch(n){}}}})})},t.prototype.get=function(e){var t=this;return new Promise(function(n,r){var i=e.url,s=e.body,a=e.headers,l=(0,o.formatUrl)("https:",i),c=wx.request({url:l,data:s,timeout:t._timeout,method:"GET",header:a,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 l(t,void 0,void 0,function(){var t,o,i,s,l,u;return c(this,function(c){return t=e.url,o=e.file,i=e.data,s=e.headers,l=e.onUploadProgress,u=wx.uploadFile({url:t,filePath:o,name:"file",formData:a({},i),header:s,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{u.abort()}catch(t){}}}}),l&&u.onProgressUpdate(function(e){l(e)}),[2]})})})},t.prototype.download=function(e){var t=this,n=this;return new Promise(function(r,i){var s=e.url,a=e.headers,l=wx.downloadFile({url:(0,o.formatUrl)("https:",s),header:a,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{l.abort()}catch(t){}}}})})},t.prototype.fetch=function(e){var t=e.url,n=e.body,r=e.enableAbort,s=e.headers,a=e.method,l=e.stream,c=void 0!==l&&l,u=e.signal,p=e.timeout,h=this,f=null!=p?p:this._timeout,m=null,g=new i.ReadableStream({start:function(e){m=e},cancel:function(){m=null}});return new Promise(function(e,i){c&&e({data:g});var l=wx.request({url:(0,o.formatUrl)("https:",t),data:n,timeout:f,method:a.toUpperCase(),header:s,success:function(t){null==m||m.close(),!c&&e(t)},fail:function(e){if(null==m||m.close(),i(e),c)throw e},complete:function(e){if(e&&e.errMsg&&f&&-1!==h._restrictedMethods.indexOf("post")&&r&&"request:fail timeout"===e.errMsg){console.warn(h._timeoutMsg);try{l.abort()}catch(t){console.warn(d,t)}}},enableChunked:c});if(l.onChunkReceived(function(e){null==m||m.enqueue(new Uint8Array(e.data))}),u){var p=function(){try{l.abort()}catch(e){console.warn(d,e)}};u.aborted?p():u.addEventListener("abort",function(){return p()})}})},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(a(a({},e),{method:t,headers:r}))},t}(o.AbstractSDKRequest),h=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()}},f=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}};function m(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 g={genAdapter:function(e){return{root:{globalThis:{}},reqClass:p,wsClass:f,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 s=i[2];s&&(r=m(s))}console.log("openURIWithCallback queryObj",r);var l=r.token,c=u(r,["token"]);return/^data:/.test(o)&&!l?Promise.reject({error:"invalid_argument",error_description:"invalie captcha data: "+t}):l?new Promise(function(e){console.log("wait for captcha..."),n.$emit("CAPTCHA_DATA_CHANGE",a(a({},c),{token:l,url:o})),n.$once("RESOLVE_CAPTCHA_DATA",function(t){e(t)})}):Promise.reject({error:"unimplemented",error_description:"need to impl captcha data"})}},localStorage:h,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"]=g},3052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAUTH2_LOGINTYPE_PREFIX=t.LOGINTYPE=t.DATA_VERSION=void 0,t.getBaseEndPoint=function(e){var t=m(e,"CLOUD_API"),n=t.protocol,r=t.baseUrl;return"".concat(n).concat(r).match(/(http(s)?:)?\/\/([^/?#]*)/)[0]},t.getEndPointInfo=m,t.getSdkName=function(){return l},t.getSdkVersion=function(){return a},t.setEndPointInfo=f,t.setGatewayEndPointWithEnv=function(e,t){f({endPointKey:"GATEWAY",env:e,baseUrl:"//".concat(e,".api.tcloudbasegateway.com/v1"),protocol:t})},t.setRegionLevelEndpoint=function(e,t,n){var r=t?"//".concat(e,".").concat(t,".tcb-api.tencentcloudapi.com/web"):"//".concat(e,".ap-shanghai.tcb-api.tencentcloudapi.com/web");f({env:e,region:t,baseUrl:r,protocol:n,endPointKey:"CLOUD_API"})},t.setSdkName=function(e){l=e,i(e)},t.setSdkVersion=function(e){a=e};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=r.constants.setSdkName,s=r.constants.setProtocol,a="",l="@cloudbase/js-sdk";t.DATA_VERSION="2020-01-10";var c,u=[],d=["env","endPointKey","region"],p="https:";function h(e){return u.find(function(t){return d.filter(function(t){return null!=e[t]}).every(function(n){return t[n]===e[n]})})}function f(e){var t,n,r=h(e);r?(null!=e.baseUrl&&(r.baseUrl=e.baseUrl),null!=e.protocol&&(r.protocol=e.protocol)):u.push(o(o({},e),{protocol:null!==(t=e.protocol)&&void 0!==t?t:p})),"CLOUD_API"===e.endPointKey&&s(null!==(n=e.protocol)&&void 0!==n?n:p)}function m(e,t,n){return h({env:e,endPointKey:t,region:n})}!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"}(c||(t.LOGINTYPE=c={})),t.OAUTH2_LOGINTYPE_PREFIX="OAUTH2"},4283:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LANGS",{enumerable:!0,get:function(){return d.LANGS}}),t["default"]=t.cloudbase=void 0,Object.defineProperty(t,"getBaseEndPoint",{enumerable:!0,get:function(){return u.getBaseEndPoint}});var o=n(3882),i=r(n(3007)),s=n(3219),a=n(4319),l=n(1706),c=n(6153),u=n(3052),d=n(9738),p=n(9715),h=function(){return h=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},h.apply(this,arguments)},f=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(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},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},g=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},_=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},v=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},b=o.adapters.useAdapters,y=o.adapters.useDefaultAdapter,w=o.constants.ERRORS,k=o.constants.COMMUNITY_SITE_URL,S=o.utils.printWarn,E=o.helpers.catchErrorsDecorator,I={timeout:15e3,persistence:"local"},C=6e5,T={},A=function(){function e(e){this.cloudbaseConfig=e||this.cloudbaseConfig,this.authInstance=null,this.oauthInstance=null,this.version=(0,u.getSdkVersion)()}return Object.defineProperty(e.prototype,"config",{get:function(){return this.cloudbaseConfig},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"platform",{get:function(){return a.Platform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cache",{get:function(){return(0,l.getCacheByEnvId)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localCache",{get:function(){return(0,l.getLocalCache)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"request",{get:function(){return(0,c.getRequestByEnvId)(this.cloudbaseConfig.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apis",{get:function(){return p.generateApis.call(this)},enumerable:!1,configurable:!0}),e.prototype.init=function(t){var n;if(!t.env)throw new Error(JSON.stringify({code:w.INVALID_PARAMS,msg:"env must not be specified"}));a.Platform.adapter||this.useDefaultAdapter();var r={timeout:t.timeout||5e3,timeoutMsg:"[".concat((0,u.getSdkName)(),"][REQUEST TIMEOUT] request had been abort since didn't finished within").concat(t.timeout/1e3,"s")};this.requestClient=new a.Platform.adapter.reqClass(r),this.cloudbaseConfig=h(h(h({},I),t),{i18n:(0,d.i18nProxy)(a.Platform,t)}),delete this.cloudbaseConfig.lang,this.cloudbaseConfig.timeout=this.formatTimeout(this.cloudbaseConfig.timeout);var o=this.cloudbaseConfig,i=o.env,s=o.persistence,p=o.debug,f=o.timeout,m=o.oauthClient,g=o.i18n;(0,l.initCache)({env:i,persistence:s,debug:p,platformInfo:this.platform}),(0,u.setRegionLevelEndpoint)(i,t.region||""),(0,u.setGatewayEndPointWithEnv)(i);var _=new e(this.cloudbaseConfig);return(0,c.initRequest)({env:i,region:t.region||"",timeout:f,oauthClient:m,_fromApp:_,i18n:g}),_.requestClient=this.requestClient,null===(n=null==this?void 0:this.fire)||void 0===n||n.call(this,"cloudbase_init",_),_},e.prototype.updateConfig=function(e){var t=e.persistence,n=e.debug;this.cloudbaseConfig.persistence=t,this.cloudbaseConfig.debug=n,(0,l.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){T[e.name]=e},e.prototype.invokeExtension=function(e,t){return g(this,void 0,void 0,function(){var n;return _(this,function(r){switch(r.label){case 0:if(!(n=T[e]))throw new Error(JSON.stringify({code:w.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=b(e,t)||{},r=n.adapter,o=n.runtime;r&&(a.Platform.adapter=r),o&&(a.Platform.runtime=o)},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,u.setSdkVersion)(e),this.version=e},e.prototype.registerSdkName=function(e){(0,u.setSdkName)(e)},e.prototype.registerEndPoint=function(e,t){(0,u.setEndPointInfo)({baseUrl:e,protocol:t,env:this.config.env,endPointKey:"CLOUD_API"})},e.prototype.registerEndPointWithKey=function(e){(0,u.setEndPointInfo)({env:this.config.env,endPointKey:e.key,baseUrl:e.url,protocol:e.protocol})},e.prototype.getEndPointWithKey=function(e){var t=(0,u.getEndPointInfo)(this.config.env,e);return{BASE_URL:t.baseUrl,PROTOCOL:t.protocol}},e.prototype.parseCaptcha=function(e){var t={},n=e.match(/^(data:.*?)(\?[^#\s]*)?$/);if(n){e=n[1];var r=n[2];r&&(t=o.utils.parseQueryString(r))}var i=t.token,s=v(t,["token"]);return/^data:/.test(e)&&!i?{error:"invalid_argument",error_description:"invalid captcha data: ".concat(e)}:i?{state:s.state,token:i,captchaData:e}:{error:"unimplemented",error_description:"need to impl captcha data"}},e.prototype.useDefaultAdapter=function(){var e=y(),t=e.adapter,n=e.runtime;a.Platform.adapter=t,a.Platform.runtime=n},e.prototype.formatTimeout=function(e){switch(!0){case e>C:return S(w.INVALID_PARAMS,"timeout is greater than maximum value[10min]"),C;case e<100:return S(w.INVALID_PARAMS,"timeout is less than maximum value[100ms]"),100;default:return e}},f([E({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(k)]}),m("design:type",Function),m("design:paramtypes",[Object]),m("design:returntype",e)],e.prototype,"init",null),f([E({title:"调用扩展能力失败",messages:["请确认以下各项:"," 1 - 调用 invokeExtension() 的语法或参数是否正确"," 2 - 被调用的扩展能力是否已经安装并通过 registerExtension() 注册","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(k)]}),m("design:type",Function),m("design:paramtypes",[String,Object]),m("design:returntype",Promise)],e.prototype,"invokeExtension",null),e}(),O=t.cloudbase=new A;O.useAdapters(i["default"]),t["default"]=O},4319:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Platform=void 0,t.Platform={}},1706:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheByEnvId=function(e){return a[e]},t.getLocalCache=function(e){return l[e]},t.initCache=function(e){var t=e.env,n=e.platformInfo,r={userInfoKey:"".concat(i,"_").concat(t)};a[t]=a[t]||new s(o(o({},e),{keys:r,platformInfo:n})),l[t]=l[t]||new s(o(o({},e),{keys:r,platformInfo:n,persistence:"local"}))};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="user_info",s=r.cache.CloudbaseCache,a={},l={}},9715:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callApi=a,t.generateApis=function(){var e=this;return new Proxy({},{get:function(t,n){if("string"==typeof n)return c.call(e,n)}})},t.generateCallApis=c;var r=n(7281),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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};function a(e,t){var n,a,l;return i(this,void 0,void 0,function(){var i,c,u,d,p,h,f,m,g,_,v,b,y,w,k;return s(this,function(s){switch(s.label){case 0:if(c=(i=e||{}).name,u=i.body,d=i.path,p=void 0===d?"":d,h=i.method,f=void 0===h?"POST":h,m=i.headers,g=void 0===m?{}:m,_=i.token,!c)throw new Error(JSON.stringify({code:r.ERRORS.INVALID_PARAMS,msg:"[apis] invalid api name"}));return v=this.getEndPointWithKey("GATEWAY"),b=v.BASE_URL,y=v.PROTOCOL,w="".concat(y).concat(b,"/apis/").concat(c),k=p.startsWith("/")?p:"/".concat(p),[4,this.request.fetch(o({url:"".concat(w).concat(k),method:f||"POST",headers:o({"Content-Type":"application/json; charset=utf-8"},g),body:u,token:(null===(n=null==_?void 0:_.trim)||void 0===n?void 0:n.call(_))||(null===(l=null===(a=g.Authorization)||void 0===a?void 0:a.replace)||void 0===l?void 0:l.call(a,/^Bearer /,""))||""},t))];case 1:return[4,s.sent().data];case 2:return[2,s.sent()]}})})}var l=["GET","POST","PUT","DELETE","HEAD","OPTIONS","PATCH","REQUEST"];function c(e){var t=this;return new Proxy({},{get:function(n,r){if("string"!=typeof r)throw new Error("[apis] method must be string");var c=r.toLocaleUpperCase();if(!l.includes(c))throw new Error("[apis] invalid method: ".concat(r));return function(n,r){return i(t,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return[4,a.call(this,o({name:e,method:("REQUEST"===c?n.method:c)||"POST"},n),r)];case 1:return[2,t.sent()]}})})}}})}},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,l=t.entity,c=t.injectEvents,u=t.IIFE,d=void 0!==u&&u;if(s[n]||r&&e[r])throw new Error(JSON.stringify({code:i.INVALID_OPERATION,msg:"Duplicate component ".concat(n)}));if(d){if(!l||"function"!=typeof l)throw new Error(JSON.stringify({code:i.INVALID_PARAMS,msg:"IIFE component's entity must be a function"}));l.call(e)}if(s[n]=t,r?e.prototype[r]=l:a(e.prototype,l),c){var p=c.bus,h=c.events;if(!p||!h||0===h.length)return;var f=e.prototype.fire||function(){};e.prototype.events||(e.prototype.events={}),(e.prototype.events||{})[n]?e.prototype.events[n].events=o(o([],e.prototype.events[n].events,!0),h,!0):e.prototype.events[n]={bus:p,events:h},e.prototype.fire=function(e,t){f(e,t);for(var n=0,r=Object.keys(this.events);n<r.length;n++){var o=r[n],i=this.events[o],s=i.bus;if(i.events.includes(e)){s.fire(e,t);break}}}}},t.registerHook=function(e,t){var n=t.entity,r=t.target;if(Object.prototype.hasOwnProperty.call(e,r))throw new Error(JSON.stringify({code:i.INVALID_OPERATION,msg:"target:".concat(r," is not exist")}));var s=e.prototype[r];if("function"!=typeof s)throw new Error(JSON.stringify({code:i.INVALID_OPERATION,msg:"target:".concat(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,o([this],e,!1)),s.call.apply(s,o([this],e,!1))}};var r=n(3882),o=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))},i=r.constants.ERRORS,s={};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}},9738:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.t=t.langMap=t.i18nProxy=t.LANG_HEADER_KEY=t.LANGS=void 0;var r,o,i=n(3882);!function(e){e.ZH="zh-CN",e.EN="en-US"}(o||(t.LANGS=o={}));var s=t.LANG_HEADER_KEY="Accept-Language",a=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),l=function(e,t){var n;return(null===(n=a[t])||void 0===n?void 0:n[e])||e};t.t=l,t.i18nProxy=function(e,t){var n,r,a=function(e){return"lang_".concat(e.clientId||e.env)}(t),c=(e.adapter||{}).localStorage,u=t.lang||(null===(n=null==c?void 0:c.getItem)||void 0===n?void 0:n.call(c,a))||o.ZH;return null===(r=null==c?void 0:c.setItem)||void 0===r||r.call(c,a,u),new Proxy({t:function(e){return l(e,u)},LANG_HEADER_KEY:s,lang:u},{get:function(e,t){var n;return"lang"===t&&(null===(n=null==c?void 0:c.getItem)||void 0===n?void 0:n.call(c,a))||e[t]},set:function(e,t,n){var r;return"lang"===t&&n!==e[t]&&(e[t]=n,e.t=function(e){return l(e,n)},null===(r=null==c?void 0:c.setItem)||void 0===r||r.call(c,a,n),i.langEvent.bus.fire(i.langEvent.LANG_CHANGE_EVENT,{i18n:e})),e[t]=n,!0}})}},6153:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseRequest=void 0,t.getRequestByEnvId=function(e){return b[e]},t.initRequest=function(e){b[e.env]=new v(a(a({},e),{"throw":!0}))};var r=n(3052),o=n(3882),i=n(1706),s=n(4319),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)},l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},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},d=o.constants.ERRORS,p=o.utils.genSeqId,h=o.utils.isFormData,f=o.utils.formatUrl,m=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"];function g(e,t,n){var r=e[t];e[t]=function(t){var o={},i={};n.forEach(function(n){var r=n.call(e,t),s=r.data,a=r.headers;Object.assign(o,s),Object.assign(i,a)});var s=t.data;return s&&(h(s)?Object.keys(o).forEach(function(e){s.append(e,o[e])}):t.data=a(a({},s),o)),t.headers=a(a({},t.headers||{}),i),r.call(e,t)}}function _(){var e=p();return{data:{seqId:e},headers:{"X-SDK-Version":"@cloudbase/js-sdk/".concat((0,r.getSdkVersion)()),"x-seqid":e}}}var v=t.CloudbaseRequest=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"]};this.reqClass=new s.Platform.adapter.reqClass(n),this.throwWhenRequestFail=e["throw"]||!1,this.localCache=(0,i.getLocalCache)(this.config.env),g(this.reqClass,"post",[_]),g(this.reqClass,"upload",[_]),g(this.reqClass,"download",[_]),o.langEvent.bus.on(o.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.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},e.prototype.post=function(e){return l(this,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,this.reqClass.post(a(a({},e),{headers:a(a({},e.headers),this.getDefaultHeaders())}))];case 1:return[2,t.sent()]}})})},e.prototype.upload=function(e){return l(this,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,this.reqClass.upload(a(a({},e),{headers:a(a({},e.headers),this.getDefaultHeaders())}))];case 1:return[2,t.sent()]}})})},e.prototype.download=function(e){return l(this,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,this.reqClass.download(a(a({},e),{headers:a(a({},e.headers),this.getDefaultHeaders())}))];case 1:return[2,t.sent()]}})})},e.prototype.getBaseEndPoint=function(){return(0,r.getBaseEndPoint)(this.config.env)},e.prototype.getOauthAccessTokenV2=function(e){return l(this,void 0,void 0,function(){var t,n;return c(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){var o,i;return l(this,void 0,void 0,function(){var s,l,u,d,p,h,g,_,v,b,y,w,k,S,E,I,C,T,A,O;return c(this,function(c){switch(c.label){case 0:if(s="x-tcb-trace_".concat(this.config.env),l="application/x-www-form-urlencoded",u=a({action:e,dataVersion:r.DATA_VERSION,env:this.config.env},t),-1!==m.indexOf(e))return[3,2];if(!(d=this.config._fromApp).oauthInstance)throw new Error("you can't request without auth");return p=d.oauthInstance,h=p.oauth2client,g=u,[4,this.getOauthAccessTokenV2(h)];case 1:g.access_token=c.sent().accessToken,c.label=2;case 2:return"storage.uploadFile"===e?(_=new FormData,Object.keys(_).forEach(function(e){Object.prototype.hasOwnProperty.call(_,e)&&_[e]!==undefined&&_.append(e,u[e])}),l="multipart/form-data"):(l="application/json;charset=UTF-8",_={},Object.keys(u).forEach(function(e){u[e]!==undefined&&(_[e]=u[e])})),v={headers:a({"content-type":l},this.getDefaultHeaders())},(null==n?void 0:n.onUploadProgress)&&(v.onUploadProgress=n.onUploadProgress),this.config.region&&(v.headers["X-TCB-Region"]=this.config.region),(b=this.localCache.getStore(s))&&(v.headers["X-TCB-Trace"]=b),y=(null==n?void 0:n.parse)!==undefined?n.parse:t.parse,w=(null==n?void 0:n.inQuery)!==undefined?n.inQuery:t.inQuery,k=(null==n?void 0:n.search)!==undefined?n.search:t.search,S=a(a({},(null==n?void 0:n.defaultQuery)||{}),{env:this.config.env}),y&&(S.parse=!0),w&&(S=a(a({},w),S)),E=(0,r.getEndPointInfo)(this.config.env,"CLOUD_API"),I=E.baseUrl,C=E.protocol,T=n.pathname?f(C,"".concat(null===(o=(0,r.getBaseEndPoint)(this.config.env))||void 0===o?void 0:o.replace(/^https?:/,""),"/").concat(n.pathname),S):f(C,I,S),k&&(T+=k),[4,this.post(a({url:T,data:_},v))];case 3:if(A=c.sent(),(O=null===(i=A.header)||void 0===i?void 0:i["x-tcb-trace"])&&this.localCache.setStore(s,O),200!==Number(A.status)&&200!==Number(A.statusCode)||!A.data)throw new Error("network request error");return[2,A]}})})},e.prototype.fetch=function(e){var t,n,o,i,s,d,p,h;return l(this,void 0,void 0,function(){var f,m,g,_,v,b,y,w=this;return c(this,function(k){switch(k.label){case 0:f=e.token,m=e.headers,g=void 0===m?{}:m,_=u(e,["token","headers"]),v=function(){return l(w,void 0,void 0,function(){var e,t,n;return c(this,function(r){switch(r.label){case 0:if(null!=f)return[2,f];if(!(e=this.config._fromApp).oauthInstance)throw new Error("you can't request without auth");return t=e.oauthInstance,n=t.oauth2client,[4,this.getOauthAccessTokenV2(n)];case 1:return[2,r.sent().accessToken]}})})},b=function(){return l(w,void 0,void 0,function(){var e,t,n,o,i;return c(this,function(s){switch(s.label){case 0:return t=(e=this.reqClass).fetch,o={},i={"X-SDK-Version":"@cloudbase/js-sdk/".concat((0,r.getSdkVersion)())},n="Bearer ".concat,[4,v()];case 1:return[2,t.apply(e,[a.apply(void 0,[(o.headers=a.apply(void 0,[a.apply(void 0,[(i.Authorization=n.apply("Bearer ",[s.sent()]),i),this.getDefaultHeaders()]),g]),o),_])])]}})})},k.label=1;case 1:return k.trys.push([1,3,,6]),[4,b()];case 2:return[2,k.sent()];case 3:if("ACCESS_TOKEN_EXPIRED"!==(null==(y=k.sent())?void 0:y.code))return[3,5];if("function"!=typeof(null===(i=null===(o=null===(n=null===(t=this.config)||void 0===t?void 0:t._fromApp)||void 0===n?void 0:n.oauthInstance)||void 0===o?void 0:o.authApi)||void 0===i?void 0:i.refreshTokenForce))throw y;return[4,null===(h=null===(p=null===(d=null===(s=this.config)||void 0===s?void 0:s._fromApp)||void 0===d?void 0:d.oauthInstance)||void 0===p?void 0:p.authApi)||void 0===h?void 0:h.refreshTokenForce()];case 4:return k.sent(),[2,b()];case 5:throw y;case 6:return[2]}})})},e.prototype.send=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),l(this,void 0,void 0,function(){var r;return c(this,function(o){switch(o.label){case 0:return[4,this.request(e,t,a(a({},n),{onUploadProgress:t.onUploadProgress}))];case 1:if((r=o.sent()).data.code&&this.throwWhenRequestFail)throw new Error(JSON.stringify({code:d.OPERATION_FAIL,msg:"[".concat(r.data.code,"] ").concat(r.data.message)}));return[2,r.data]}})})},e}(),b={}},1933:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAuthAdapter=void 0;var r=n(486),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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},a=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 i(this,void 0,void 0,function(){return s(this,function(t){return[2,this.localStorage.getItem(e)]})})},e.prototype.removeItem=function(e){return i(this,void 0,void 0,function(){return s(this,function(t){return this.localStorage.removeItem(e),[2]})})},e.prototype.setItem=function(e,t){return i(this,void 0,void 0,function(){return s(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=/^[^:]+:\/\/[^/]+(\/[^?#]+)/,c=function(e,t){var n,r,o,i,s=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||s),(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)||{}},u=function(e,t){if(!r.adapterForWxMp.isMatch()||e.storage&&e.baseRequest)return e;var n=o({},e),l={};try{var u=r.adapterForWxMp.genAdapter(),d=u.localStorage,p=u.reqClass;if(d&&(l.storage=new a({localStorage:d,adapter:t})),p){var h=new p({timeout:1e4,restrictedMethods:["get","post","upload","download","request"]});l.request=function(e){return function(t,n){return i(this,void 0,void 0,function(){return s(this,function(r){return[2,new Promise(function(r,i){var s=Object.assign({},n);s.body&&"string"!=typeof s.body&&(s.body=JSON.stringify(s.body));var a=wx.request({url:t,data:s.body,timeout:e._timeout,method:s.method||"GET",header:s.headers,success:function(e){(e=c(e,o(o({},n),{url:t}))).error&&i(e),r(e)},fail:function(e){i({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{a.abort()}catch(n){}}}})})]})})}}(h)}return n.captchaOptions&&(l.baseRequest=l.request,l.request=undefined),o(o({},n),l)}catch(f){console.error("adapter generate fail:",f)}return n};t.useAuthAdapter=function(e){return e.adapter&&"default"!==e.adapter.type?function(e,t){var n=o({},e);try{if(!(null==e?void 0:e.storage)&&(null==t?void 0:t.localStorage)&&(n.storage=new a({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=new t.reqClass({timeout:1e4,restrictedMethods:["get","post","upload","download","request"]});n.baseRequest=function(e,t){var n;return i(this,void 0,void 0,function(){var i,a,l,u;return s(this,function(s){switch(s.label){case 0:if(i={},a=(null===(n=t.method)||void 0===n?void 0:n.toLocaleLowerCase())||"get","function"!=typeof(l=null==r?void 0:r[a]))throw new Error("invalid 【".concat(a,"】 request method"));s.label=1;case 1:return s.trys.push([1,3,,4]),t.headers["content-type"]&&!t.headers["content-type"].includes("application/json")||"string"==typeof t.body||(t.data=t.data||t.body,t.body=JSON.stringify(t.body)),[4,l(o({url:e},t))];case 2:return i=s.sent(),i=c(i,o(o({},t),{url:e})),[3,4];case 3:throw u=s.sent(),i=u,u;case 4:if(null==i?void 0:i.error)throw i;return[2,i]}})})}}}catch(l){console.error("user adapter generate fail:",l)}return n}(e,e.adapter):u(e,e.adapter)}},3442:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoginState=t.Auth=void 0,t.generateAuthInstance=y,t.registerAuth=function(e){try{e.registerComponent(w)}catch(t){console.warn(t)}};var r=n(2191),o=n(1933),i=n(486),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)},a=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(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},l=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},c=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},u=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},d="sign_out",p="sign_in",h="credentials_error",f="loginStateChanged",m=new i.CloudbaseEventEmitter,g=function(e){m.fire(f,s(s({},e),{eventType:h}))},_=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 c(this,void 0,void 0,function(){return u(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 c(this,void 0,void 0,function(){var e,t,n,r;return u(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 c(this,void 0,void 0,function(){var t;return u(this,function(n){switch(n.label){case 0:return[4,this.oauthInstance.authApi.setUserProfile(s({},e))];case 1:return t=n.sent(),this.setLocalUserInfo(t),[2]}})})},e.prototype.updateUserBasicInfo=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.updateUserBasicInfo(s({},e))];case 1:return t.sent(),this.setLocalUserInfo({username:e.username}),[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,i.throwError)(i.ERRORS.INVALID_PARAMS,"username must be a string"),this.update({username:e})},e.prototype.refresh=function(e){return c(this,void 0,void 0,function(){var t;return u(this,function(n){switch(n.label){case 0:return[4,this.oauthInstance.authApi.getUserInfo(e)];case 1:return t=n.sent(),this.setLocalUserInfo(t),[2,t]}})})},e.prototype.getLocalUserInfo=function(e){var t=this.cache.keys.userInfoKey;return this.cache.getStore(t)[e]},e.prototype.getLocalUserInfoAsync=function(e){return c(this,void 0,void 0,function(){var t;return u(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"].forEach(function(t){e[t]=n[t]})},e.prototype.setLocalUserInfo=function(e){var t=this.cache.keys.userInfoKey;this.cache.setStore(t,e),this.setUserInfo()},a([(0,i.catchErrorsDecorator)({title:"更新用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.update() 的语法或参数是否正确"," 2 - 用户信息中是否包含非法值","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"update",null),a([(0,i.catchErrorsDecorator)({title:"更新密码失败",messages:["请确认以下各项:"," 1 - 调用 User.updatePassword() 的语法或参数是否正确"," 3 - 新密码中是否包含非法字符","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[String,String]),l("design:returntype",void 0)],e.prototype,"updatePassword",null),a([(0,i.catchErrorsDecorator)({title:"更新用户名失败",messages:["请确认以下各项:"," 1 - 调用 User.updateUsername() 的语法或参数是否正确"," 2 - 当前环境是否开通了用户名密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[String]),l("design:returntype",void 0)],e.prototype,"updateUsername",null),a([(0,i.catchErrorsDecorator)({title:"刷新本地用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.refresh() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"refresh",null),e}(),v=t.LoginState=function(){function e(e){var t=e.envId,n=e.cache,r=e.oauthInstance;t||(0,i.throwError)(i.ERRORS.INVALID_PARAMS,"envId is not defined"),this.cache=n,this.oauthInstance=r,this.user=new _({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 c(this,void 0,void 0,function(){return u(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}(),b=t.Auth=function(){function e(e){this.config=e,this.cache=e.cache,this.oauthInstance=e.oauthInstance,e.publishable_key&&this.createLoginState()}return e.prototype.bindPhoneNumber=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.editContact(e)]})})},e.prototype.unbindProvider=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.unbindProvider(e)]})})},e.prototype.bindEmail=function(e){return this.oauthInstance.authApi.editContact(e)},e.prototype.verify=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.verify(e)]})})},e.prototype.getVerification=function(e,t){return c(this,void 0,void 0,function(){return u(this,function(n){return[2,this.oauthInstance.authApi.getVerification(e,t)]})})},Object.defineProperty(e.prototype,"currentUser",{get:function(){if("async"!==this.cache.mode){var e=this.hasLoginState();return e&&e.user||null}(0,i.printWarn)(i.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getCurrentUser insteed")},enumerable:!1,configurable:!0}),e.prototype.getCurrentUser=function(){return c(this,void 0,void 0,function(){var e;return u(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.signInAnonymously=function(e){return void 0===e&&(e={}),c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signInAnonymously(e)];case 1:return t.sent(),[2,this.createLoginState()]}})})},e.prototype.signInAnonymouslyInWx=function(e){var t=(void 0===e?{}:e).useWxCloud;return c(this,void 0,void 0,function(){var e,n,r=this;return u(this,function(o){switch(o.label){case 0:if(!i.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,n=function(n){return c(r,void 0,void 0,function(){var r,o;return u(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 c(r,void 0,void 0,function(){var r;return u(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})]}})})},e.prototype.bindOpenId=function(){return c(this,void 0,void 0,function(){var e,t,n=this;return u(this,function(r){switch(r.label){case 0:if(!i.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,t=function(t){return c(n,void 0,void 0,function(){var n;return u(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 c(n,void 0,void 0,function(){var n;return u(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]}})})},e.prototype.signInWithOpenId=function(e){var t=(void 0===e?{}:e).useWxCloud,n=void 0===t||t;return c(this,void 0,void 0,function(){var e,t,r=this;return u(this,function(o){switch(o.label){case 0:if(!i.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,t=function(t){return c(r,void 0,void 0,function(){var r,o;return u(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]}})})},[4,new Promise(function(e,n){wx.login({success:function(o){return c(r,void 0,void 0,function(){var r;return u(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 r=i.sent(),n(r),[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 1:return o.sent(),[2,this.createLoginState()]}})})},e.prototype.signInWithUnionId=function(){return c(this,void 0,void 0,function(){var e=this;return u(this,function(t){switch(t.label){case 0:if(!i.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 c(e,void 0,void 0,function(){var e,i,s,a,l;return u(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(),(s=i.provider_token)?[4,this.oauthInstance.authApi.signInWithProvider({provider_id:e,provider_token:s})]:(n(i),[2]);case 3:return(null==(a=c.sent())?void 0:a.error_code)?(n(a),[2]):(t(!0),[3,5]);case 4:return l=c.sent(),n(l),[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()]}})})},e.prototype.signInWithPhoneAuth=function(e){var t=e.phoneCode,n=void 0===t?"":t;return c(this,void 0,void 0,function(){var e,t,r,o,s;return u(this,function(a){switch(a.label){case 0:if(!i.adapterForWxMp.isMatch())throw Error("wx api undefined");return e=wx.getAccountInfoSync().miniProgram,t={provider_params:{provider_code_type:"phone"},provider_id:e.appId},[4,wx.login()];case 1:r=a.sent().code,t.provider_code=r,a.label=2;case 2:return a.trys.push([2,6,,7]),[4,this.oauthInstance.authApi.grantProviderToken(t)];case 3:if((o=a.sent()).error_code)throw o;return[4,this.oauthInstance.authApi.patchProviderToken({provider_token:o.provider_token,provider_id:e.appId,provider_params:{code:n,provider_code_type:"phone"}})];case 4:if((o=a.sent()).error_code)throw o;return[4,this.oauthInstance.authApi.signInWithProvider({provider_token:o.provider_token})];case 5:if(null==(s=a.sent())?void 0:s.error_code)throw s;return[3,7];case 6:throw a.sent();case 7:return[2,this.createLoginState()]}})})},e.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,s=void 0===i?"":i,a=e.bindInfo,l=void 0===a?undefined:a;return c(this,void 0,void 0,function(){return u(this,function(e){try{return[2,this.signInWithUsername({verificationInfo:n,verificationCode:o,bindInfo:l,username:s,loginType:"sms"})]}catch(t){throw t}})})},e.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,s=void 0===i?undefined:i,a=e.email,l=void 0===a?"":a;return c(this,void 0,void 0,function(){return u(this,function(e){try{return[2,this.signInWithUsername({verificationInfo:n,verificationCode:o,bindInfo:s,username:l,loginType:"email"})]}catch(t){throw t}})})},e.prototype.setCustomSignFunc=function(e){this.oauthInstance.authApi.setCustomSignFunc(e)},e.prototype.signInWithCustomTicket=function(){return c(this,void 0,void 0,function(){return u(this,function(e){switch(e.label){case 0:return[4,this.oauthInstance.authApi.signInWithCustomTicket()];case 1:return e.sent(),[2,this.createLoginState()]}})})},e.prototype.signIn=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signIn(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},e.prototype.signUp=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signUp(e)];case 1:return t.sent(),[2,this.createLoginState()]}})})},e.prototype.setPassword=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.setPassword(e)]})})},e.prototype.isUsernameRegistered=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return"string"!=typeof e&&(0,i.throwError)(i.ERRORS.INVALID_PARAMS,"username must be a string"),[4,this.oauthInstance.authApi.checkIfUserExist({username:e})];case 1:return[2,t.sent().exist]}})})},e.prototype.signOut=function(e){return c(this,void 0,void 0,function(){var t,n;return u(this,function(r){switch(r.label){case 0:return t=this.cache.keys.userInfoKey,[4,this.oauthInstance.authApi.signOut(e)];case 1:return n=r.sent(),[4,this.cache.removeStoreAsync(t)];case 2:return r.sent(),m.fire(f,{eventType:d}),[2,n]}})})},e.prototype.hasLoginState=function(){var e;if("async"!==this.cache.mode)return(null===(e=this.oauthInstance)||void 0===e?void 0:e.authApi.hasLoginStateSync())?new v({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance}):null;(0,i.printWarn)(i.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getLoginState insteed")},e.prototype.getLoginState=function(){return c(this,void 0,void 0,function(){var e;return u(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 v({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance})]:[2,null]}})})},e.prototype.getUserInfo=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.getUserInfo(e)]})})},e.prototype.getWedaUserInfo=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.getWedaUserInfo()]})})},e.prototype.updateUserBasicInfo=function(e){return c(this,void 0,void 0,function(){var t;return u(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]}})})},e.prototype.getAuthHeader=function(){return console.error("Auth.getAuthHeader API 已废弃"),{}},e.prototype.bindWithProvider=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.bindWithProvider(e)]})})},e.prototype.queryUser=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.queryUserProfile(e)]})})},e.prototype.getAccessToken=function(){return c(this,void 0,void 0,function(){return u(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}]}})})},e.prototype.grantProviderToken=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.grantProviderToken(e)]})})},e.prototype.patchProviderToken=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.patchProviderToken(e)]})})},e.prototype.signInWithProvider=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signInWithProvider(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},e.prototype.signInWithWechat=function(e){return void 0===e&&(e={}),c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.signInWithWechat(e)];case 1:return t.sent(),[2,this.createLoginState(e)]}})})},e.prototype.grantToken=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.authApi.grantToken(e)];case 1:return t.sent(),[2,this.createLoginState()]}})})},e.prototype.genProviderRedirectUri=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.genProviderRedirectUri(e)]})})},e.prototype.resetPassword=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.resetPassword(e)]})})},e.prototype.deviceAuthorize=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.deviceAuthorize(e)]})})},e.prototype.sudo=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.sudo(e)]})})},e.prototype.deleteMe=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.deleteMe(e)]})})},e.prototype.getProviders=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.getProviders()]})})},e.prototype.loginScope=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.loginScope()]})})},e.prototype.loginGroups=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.loginGroups()]})})},e.prototype.onLoginStateChanged=function(e){return c(this,void 0,void 0,function(){var t,n=this;return u(this,function(r){switch(r.label){case 0:return m.on(f,function(t){return c(n,void 0,void 0,function(){var n,r,o;return u(this,function(i){switch(i.label){case 0:return(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.eventType)===h?[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,s(s({},t),n)),[2]}})})}),[4,this.getLoginState()];case 1:return t=r.sent(),e.call(this,t),[2]}})})},e.prototype.refreshTokenForce=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.refreshTokenForce(e)]})})},e.prototype.getCredentials=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.getCredentials()]})})},e.prototype.setCredentials=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){switch(t.label){case 0:return[4,this.oauthInstance.oauth2client.setCredentials(e)];case 1:return t.sent(),[2]}})})},e.prototype.getProviderSubType=function(){return c(this,void 0,void 0,function(){return u(this,function(e){return[2,this.oauthInstance.authApi.getProviderSubType()]})})},e.prototype.createCaptchaData=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.createCaptchaData(e)]})})},e.prototype.verifyCaptchaData=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.verifyCaptchaData(e)]})})},e.prototype.getMiniProgramQrCode=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.getMiniProgramCode(e)]})})},e.prototype.getMiniProgramQrCodeStatus=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.getMiniProgramQrCodeStatus(e)]})})},e.prototype.modifyPassword=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.modifyPassword(e)]})})},e.prototype.modifyPasswordWithoutLogin=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.modifyPasswordWithoutLogin(e)]})})},e.prototype.getUserBehaviorLog=function(e){return c(this,void 0,void 0,function(){return u(this,function(t){return[2,this.oauthInstance.authApi.getUserBehaviorLog(e)]})})},e.prototype.toDefaultLoginPage=function(e){return void 0===e&&(e={}),c(this,void 0,void 0,function(){var t,n,r,o;return u(this,function(s){return t=e.config_version||"env",i.adapterForWxMp.isMatch()?wx.navigateTo({url:"/packages/$wd_system/pages/login/index"}):(n=e.redirect_uri||window.location.href,r=new URL(n),o="".concat(r.origin,"/__auth/?app_id=").concat(e.app_id||"","&env_id=").concat(this.config.env,"&client_id=").concat(this.config.clientId,"&config_version=").concat(t,"&redirect_uri=").concat(encodeURIComponent(n)),window.location.href=o),[2]})})},e.prototype.createLoginState=function(e,t){return c(this,void 0,void 0,function(){var n;return u(this,function(r){switch(r.label){case 0:return[4,(n=new v({envId:this.config.env,cache:this.cache,oauthInstance:this.oauthInstance})).checkLocalStateAsync()];case 1:return r.sent(),(null==t?void 0:t.asyncRefreshUser)?(n.user.refresh(e),[3,4]):[3,2];case 2:return[4,n.user.refresh(e)];case 3:r.sent(),r.label=4;case 4:return m.fire(f,{eventType:p}),[2,n]}})})},e.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,l=e.bindInfo,d=void 0===l?undefined:l,p=e.loginType,h=void 0===p?"":p;return c(this,void 0,void 0,function(){var e,t,r,i,l,c,p;return u(this,function(u){switch(u.label){case 0:return u.trys.push([0,8,,9]),[4,this.oauthInstance.authApi.verify({verification_id:n.verification_id,verification_code:o})];case 1:if(null==(e=u.sent())?void 0:e.error_code)throw e;return t=e.verification_token,r="+86 ".concat(a),i={phone_number:r},"email"===h&&(i={email:r=a}),n.is_user?[4,this.oauthInstance.authApi.signIn({username:r,verification_token:t})]:[3,5];case 2:if(null==(l=u.sent())?void 0:l.error_code)throw l;return d?[4,this.oauthInstance.authApi.bindWithProvider({provider_token:null==d?void 0:d.providerToken})]:[3,4];case 3:if(null==(c=u.sent())?void 0:c.error_code)throw c;u.label=4;case 4:return[3,7];case 5:return[4,this.oauthInstance.authApi.signUp(s(s({},i),{verification_token:t,provider_token:null==d?void 0:d.providerId}))];case 6:if(null==(p=u.sent())?void 0:p.error_code)throw p;u.label=7;case 7:return[2,this.createLoginState()];case 8:throw u.sent();case 9:return[2]}})})},a([(0,i.catchErrorsDecorator)({title:"绑定手机号失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindPhoneNumber() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"bindPhoneNumber",null),a([(0,i.catchErrorsDecorator)({title:"解除三方绑定失败",messages:["请确认以下各项:"," 1 - 调用 auth().unbindProvider() 的语法或参数是否正确"," 2 - 当前账户是否已经与此登录方式解绑","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"unbindProvider",null),a([(0,i.catchErrorsDecorator)({title:"绑定邮箱地址失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindEmail() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],e.prototype,"bindEmail",null),a([(0,i.catchErrorsDecorator)({title:"验证码验证失败",messages:["请确认以下各项:"," 1 - 调用 auth().verify() 的语法或参数是否正确"," 2 - 当前环境是否开通了手机验证码/邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"verify",null),a([(0,i.catchErrorsDecorator)({title:"获取验证码失败",messages:["请确认以下各项:"," 1 - 调用 auth().getVerification() 的语法或参数是否正确"," 2 - 当前环境是否开通了手机验证码/邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object,Object]),l("design:returntype",Promise)],e.prototype,"getVerification",null),a([(0,i.catchErrorsDecorator)({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 调用 auth().getCurrentUser() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"getCurrentUser",null),a([(0,i.catchErrorsDecorator)({title:"匿名登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了匿名登录"," 2 - 调用 auth().signInAnonymously() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInAnonymously",null),a([(0,i.catchErrorsDecorator)({title:"小程序匿名登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了匿名登录"," 2 - 调用 auth().signInAnonymouslyInWx() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInAnonymouslyInWx",null),a([(0,i.catchErrorsDecorator)({title:"小程序绑定OpenID失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序openId静默登录"," 2 - 调用 auth().bindOpenId() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"bindOpenId",null),a([(0,i.catchErrorsDecorator)({title:"小程序openId静默登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序openId静默登录"," 2 - 调用 auth().signInWithOpenId() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInWithOpenId",null),a([(0,i.catchErrorsDecorator)({title:"小程序unionId静默登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序unionId静默登录"," 2 - 调用 auth().signInWithUnionId() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"signInWithUnionId",null),a([(0,i.catchErrorsDecorator)({title:"小程序手机号授权登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序手机号授权登录"," 2 - 调用 auth().signInWithPhoneAuth() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInWithPhoneAuth",null),a([(0,i.catchErrorsDecorator)({title:"短信验证码登陆",messages:["请确认以下各项:"," 1 - 当前环境是否开启了小程序短信验证码登陆"," 2 - 调用 auth().signInWithSms() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInWithSms",null),a([(0,i.catchErrorsDecorator)({title:"邮箱验证码登陆",messages:["请确认以下各项:"," 1 - 当前环境是否开启了邮箱登陆"," 2 - 调用 auth().signInWithEmail() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signInWithEmail",null),a([(0,i.catchErrorsDecorator)({title:"自定义登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了自定义登录"," 2 - 调用 auth().signInWithCustomTicket() 的语法或参数是否正确"," 3 - ticket 是否归属于当前环境"," 4 - 创建 ticket 的自定义登录私钥是否过期","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"signInWithCustomTicket",null),a([(0,i.catchErrorsDecorator)({title:"注册失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了指定登录方式"," 2 - 调用 auth().signUp() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signUp",null),a([(0,i.catchErrorsDecorator)({title:"获取用户是否被占用失败",messages:["请确认以下各项:"," 1 - 调用 auth().isUsernameRegistered() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[String]),l("design:returntype",Promise)],e.prototype,"isUsernameRegistered",null),a([(0,i.catchErrorsDecorator)({title:"用户登出失败",messages:["请确认以下各项:"," 1 - 调用 auth().signOut() 的语法或参数是否正确"," 2 - 当前用户是否为匿名登录(匿名登录不支持signOut)","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"signOut",null),a([(0,i.catchErrorsDecorator)({title:"获取本地登录态失败",messages:["请确认以下各项:"," 1 - 调用 auth().getLoginState() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"getLoginState",null),a([(0,i.catchErrorsDecorator)({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 是否已登录"," 2 - 调用 auth().getUserInfo() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"getUserInfo",null),a([(0,i.catchErrorsDecorator)({title:"获取微搭插件用户信息失败",messages:["请确认以下各项:"," 1 - 是否已登录"," 2 - 调用 auth().getWedaUserInfo() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"getWedaUserInfo",null),a([(0,i.catchErrorsDecorator)({title:"绑定第三方登录方式失败",messages:["请确认以下各项:"," 1 - 调用 auth().bindWithProvider() 的语法或参数是否正确"," 2 - 此账户是否已经绑定此第三方","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"bindWithProvider",null),a([(0,i.catchErrorsDecorator)({title:"获取身份源类型",messages:["请确认以下各项:"," 1 - 调用 auth().getProviderSubType() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(i.COMMUNITY_SITE_URL)]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"getProviderSubType",null),e}();function y(e,t){var n=e.region,a=void 0===n?"ap-shanghai":n,l=e.i18n,c=e.publishable_key,u=(null==t?void 0:t.platform)||(0,i.useDefaultAdapter)(),d=u.runtime,p=u.adapter,h=t||{},f=h.env,m=h.clientId,_=h.debug,v=h.cache,y=h.app,w=(t||{}).apiOrigin;w||(w="https://".concat(f,".").concat(a,".tcb-api.tencentcloudapi.com"));var k={env:f,clientId:m,i18n:l,publishable_key:c},S=new r.CloudbaseOAuth((0,o.useAuthAdapter)(s(s({},k),{apiOrigin:w,apiPath:(null==e?void 0:e.apiPath)||r.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:p,onCredentialsError:g,headers:e.headers||{}})));return{authInstance:new b(s(s({},k),{region:a,persistence:e.persistence,debug:_,cache:v||new i.CloudbaseCache({persistence:e.persistence,keys:{userInfoKey:"user_info_".concat(f)},platformInfo:u}),runtime:d||"web",_fromApp:y,oauthInstance:S})),oauthInstance:S}}var w={name:"auth",namespace:"auth",entity:function(e){if(void 0===e&&(e={region:"",persistence:"local",apiPath:r.AUTH_API_PREFIX}),this.authInstance)return(0,i.printWarn)(i.ERRORS.INVALID_OPERATION,"every cloudbase instance should has only one auth object"),this.authInstance;var t=this.platform.adapter,n=e.persistence||t.primaryStorage;n&&n!==this.config.persistence&&this.updateConfig({persistence:n});var o=y(s(s({wxCloud:this.config.wxCloud,storage:this.config.storage},e),{persistence:this.config.persistence,i18n:this.config.i18n,publishable_key:this.config.publishable_key}),{env:this.config.env,clientId:this.config.clientId,apiOrigin:this.request.getBaseEndPoint(),platform:this.platform,cache:this.cache,app:this,debug:this.config.debug}),a=o.authInstance,l=o.oauthInstance;return this.oauthInstance=l,this.authInstance=a,this.authInstance}};try{cloudbase.registerComponent(w)}catch(k){}},486:function(e,t,n){"use strict";var r=n(477)["default"];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 l.CloudbaseCache}}),Object.defineProperty(t,"CloudbaseEventEmitter",{enumerable:!0,get:function(){return a.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 s.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 u.useDefaultAdapter}});var o=n(4442),i=n(7281),s=n(9325),a=n(4947),l=n(7174),c=r(n(4574)),u=n(3496)},4574:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wxMpStorage=t["default"]=t.WxRequest=t.WxMpWebSocket=void 0;var r,o=n(6885),i=n(7612),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)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 o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)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 s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},u="Error when aborting requestTask",d=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 s(t,e),t.prototype.post=function(e){var t=this;return new Promise(function(n,r){var i=e.url,s=e.data,a=e.headers,l=wx.request({url:(0,o.formatUrl)("https:",i),data:s,timeout:t._timeout,method:"POST",header:a,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{l.abort()}catch(n){}}}})})},t.prototype.upload=function(e){var t=this,n=this;return new Promise(function(r){return l(t,void 0,void 0,function(){var t,o,i,s,l,u;return c(this,function(c){return t=e.url,o=e.file,i=e.data,s=e.headers,l=e.onUploadProgress,u=wx.uploadFile({url:t,filePath:o,name:"file",formData:a({},i),header:s,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{u.abort()}catch(t){}}}}),l&&u.onProgressUpdate(function(e){l(e)}),[2]})})})},t.prototype.download=function(e){var t=this,n=this;return new Promise(function(r,i){var s=e.url,a=e.headers,l=wx.downloadFile({url:(0,o.formatUrl)("https:",s),header:a,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{l.abort()}catch(t){}}}})})},t.prototype.fetch=function(e){var t=e.url,n=e.body,r=e.enableAbort,s=e.headers,a=e.method,l=e.stream,c=void 0!==l&&l,d=e.signal,p=e.timeout,h=this,f=null!=p?p:this._timeout,m=null,g=new i.ReadableStream({start:function(e){m=e},cancel:function(){m=null}});return new Promise(function(e,i){c&&e({data:g});var l=wx.request({url:(0,o.formatUrl)("https:",t),data:n,timeout:f,method:a.toUpperCase(),header:s,success:function(t){var n;null===(n=m)||void 0===n||n.close(),!c&&e(t)},fail:function(e){var t;if(null===(t=m)||void 0===t||t.close(),i(e),c)throw e},complete:function(e){if(e&&e.errMsg&&f&&-1!==h._restrictedMethods.indexOf("post")&&r&&"request:fail timeout"===e.errMsg){console.warn(h._timeoutMsg);try{l.abort()}catch(t){console.warn(u,t)}}},enableChunked:c});if(l.onChunkReceived(function(e){var t;null===(t=m)||void 0===t||t.enqueue(new Uint8Array(e.data))}),d){var p=function(){try{l.abort()}catch(e){console.warn(u,e)}};d.aborted?p():d.addEventListener("abort",function(){return p()})}})},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(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:d,wsClass:h,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"]=f},1330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerCloudrun=function(e){try{e.registerComponent(d)}catch(t){console.warn(t)}},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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},a=r.constants.ERRORS,l="cloudrun";function c(e){return i(this,void 0,void 0,function(){var t,n,r,o,i,a,l,c,u;return s(this,function(s){switch(s.label){case 0:return t=e.name,n=e.data,r=e.path,o=void 0===r?"":r,i=e.method,a=e.header,l=void 0===a?{}:a,c="https://".concat(this.config.env,".api.tcloudbasegateway.com/v1/cloudrun/").concat(t),u=o.startsWith("/")?o:"/".concat(o),[4,this.request.fetch({method:i||"POST",headers:Object.assign({},{"Content-Type":"application/json; charset=utf-8"},l),body:n,url:"".concat(c).concat(u)})];case 1:return[4,s.sent().data];case 2:return[2,s.sent()]}})})}var u=new(function(){function e(){}return e.prototype.callContainer=function(e){return i(this,void 0,void 0,function(){var t,n,r;return s(this,function(i){switch(i.label){case 0:if(t=e.name,n=e.data,!t)throw new Error(JSON.stringify({code:a.INVALID_PARAMS,msg:"[".concat(l,".callContainer] invalid name")}));try{r=n?JSON.stringify(n):""}catch(s){throw new Error(JSON.stringify({code:a.INVALID_PARAMS,msg:"[".concat(l,".callContainer] invalid data")}))}return[4,c.call(this,o(o({},e),{data:r}))];case 1:return[2,i.sent()]}})})},e}()),d={name:l,entity:{callContainer:u.callContainer}};try{cloudbase.registerComponent(d)}catch(p){}},5293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerFunctions=function(e){try{e.registerComponent(_)}catch(t){console.warn(t)}};var r=n(3882),o=n(1330),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)},s=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(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},a=function(e,t){if("object"==typeof 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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},u=r.constants.getSdkName,d=r.constants.ERRORS,p=r.constants.COMMUNITY_SITE_URL,h=r.utils.execCallback,f=r.helpers.catchErrorsDecorator,m="functions",g=new(function(){function e(){}return e.prototype.callFunction=function(e,t){var n,s;return l(this,void 0,void 0,function(){var a,l,p,f,g,_,v,b,y,w,k,S,E,I,C,T,A,O,x;return c(this,function(c){switch(c.label){case 0:if(a=e.name,l=e.data,p=e.query,f=e.parse,g=e.search,_=e.type,v=e.path,b=void 0===v?"":v,y=e.method,w=e.header,k=void 0===w?{}:w,!a)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(m,".callFunction] invalid function name")}));try{S=l?JSON.stringify(l):""}catch(P){throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(m,".callFunction] invalid data")}))}return"cloudrun"!==_?[3,2]:(E=r.utils.generateRequestId(),[4,o.requestContainer.call(this,{name:a,data:S,path:b,method:y,header:i(i({},k),{"X-Request-Id":E})})]);case 1:return[2,{result:O=c.sent(),requestId:E}];case 2:I="functions.invokeFunction",C={inQuery:p,parse:f,search:g,function_name:a,request_data:S},T=this.request,c.label=3;case 3:return c.trys.push([3,5,,6]),[4,T.send(I,C,{defaultQuery:(null===(n=null==l?void 0:l.params)||void 0===n?void 0:n.action)?{action:null===(s=null==l?void 0:l.params)||void 0===s?void 0:s.action}:{}})];case 4:if((A=c.sent()).code)return[2,h(t,null,A)];if(O=A.data.response_data,f)return[2,h(t,null,{result:O,requestId:A.requestId})];try{return O=JSON.parse(A.data.response_data),[2,h(t,null,{result:O,requestId:A.requestId})]}catch(P){h(t,new Error("[".concat(u(),"][").concat(d.INVALID_PARAMS,"][").concat(m,".callFunction] response data must be json")))}return[3,6];case 5:return x=c.sent(),h(t,x),[3,6];case 6:return[2]}})})},s([f({customInfo:{className:"Cloudbase",methodName:"callFunction"},title:"函数调用失败",messages:["请确认以下各项:"," 1 - 调用 callFunction() 的语法或参数是否正确"," 2 - 当前环境下是否存在此函数"," 3 - 函数安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"callFunction",null),e}()),_={name:m,entity:{callFunction:g.callFunction}};try{cloudbase.registerComponent(_)}catch(v){}},9459:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(n(4283)),i=r(n(2622));o["default"].registerVersion(i["default"].version);try{window.cloudbase=o["default"]}catch(s){}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);t.registerAuth=r.registerAuth},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},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},3421:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.Auth=void 0;var o=n(4256),i=n(9502),s=n(8028),a=n(3721),l=r(n(3186));function c(e,t){const r=()=>{try{return n(5144)}catch(e){return}};try{if((t?.root?.globalThis||globalThis).IS_MP_BUILD)return;if(!process.env.IS_MP_BUILD&&e)return r()}catch(o){if(e)return r()}}class u{static parseParamsToSearch(e){return Object.keys(e).forEach(t=>{e[t]||delete e[t]}),new l["default"](e).toString()}constructor(e){let{request:t}=e,n=e.credentialsClient;if(!n){const t={apiOrigin:e.apiOrigin,apiPath:e.apiPath,clientId:e.clientId,storage:e.storage,env:e.env,baseRequest:e.baseRequest,anonymousSignInFunc:e.anonymousSignInFunc,wxCloud:e.wxCloud,onCredentialsError:e.onCredentialsError,headers:e.headers||{},i18n:e.i18n,publishable_key:e.publishable_key};n=new i.OAuth2Client(t)}if(!t){const r=n.request.bind(n),o=new s.Captcha({clientId:e.clientId,request:r,storage:e.storage,adapter:e.adapter,...e.captchaOptions});t=o.request.bind(o)}this.config={env:e.env,apiOrigin:e.apiOrigin,apiPath:e.apiPath,clientId:e.clientId,request:t,credentialsClient:n,storage:e.storage||i.defaultStorage,adapter:e.adapter}}getParamsByVersion(e,t){const n=(0,a.deepClone)(e),r={v2:o.ApiUrlsV2}[n?.version]?.[t]||o.ApiUrls[t];return n&&delete n.version,{params:n,url:r}}async signIn(e){const t=e.version||"v1",n=this.getParamsByVersion(e,"AUTH_SIGN_IN_URL");n.params.query&&delete n.params.query;const r=await this.getEncryptParams(n.params),o=await this.config.request(n.url,{method:"POST",body:r});return await this.config.credentialsClient.setCredentials({...o,version:t}),Promise.resolve(o)}async signInAnonymously(e={},t=!1){const n=await this.config.request(o.ApiUrls.AUTH_SIGN_IN_ANONYMOUSLY_URL,{method:"POST",body:e,useWxCloud:t});return await this.config.credentialsClient.setCredentials(n),Promise.resolve(n)}async signUp(e){const t=await this.config.request(o.ApiUrls.AUTH_SIGN_UP_URL,{method:"POST",body:e});return await this.config.credentialsClient.setCredentials(t),Promise.resolve(t)}async signOut(e){let t={};if(e){try{t=await this.config.request(o.ApiUrls.AUTH_SIGNOUT_URL,{method:"POST",withCredentials:!0,body:e})}catch(i){i.error!==o.ErrorType.UNAUTHENTICATED&&console.log("sign_out_error",i)}return await this.config.credentialsClient.setCredentials(),t}const n=await this.config.credentialsClient.getAccessToken(),r=await this.config.request(o.ApiUrls.AUTH_REVOKE_URL,{method:"POST",body:{token:n}});return await this.config.credentialsClient.setCredentials(),Promise.resolve(r)}async revokeAllDevices(){await this.config.request(o.ApiUrls.AUTH_REVOKE_ALL_URL,{method:"DELETE",withCredentials:!0})}async revokeDevice(e){await this.config.request(o.ApiUrls.AUTHORIZED_DEVICES_DELETE_URL+e.device_id,{method:"DELETE",withCredentials:!0})}async getVerification(e,t){let n=!1;return("CUR_USER"===e.target||await this.hasLoginState())&&(n=!0),this.config.request(o.ApiUrls.VERIFICATION_URL,{method:"POST",body:e,withCaptcha:t?.withCaptcha||!1,withCredentials:n})}async verify(e){const t=this.getParamsByVersion(e,"VERIFY_URL"),n=await this.config.request(t.url,{method:"POST",body:t.params});return"v2"===e?.version&&await this.config.credentialsClient.setCredentials({...n,version:"v2"}),n}async genProviderRedirectUri(e){const{provider_redirect_uri:t,other_params:n={},...r}=e;t&&!r.redirect_uri&&(r.redirect_uri=t);let i=`${o.ApiUrls.PROVIDER_URI_URL}?${u.parseParamsToSearch(r)}`;return Object.keys(n).forEach(e=>{const t=n[e];("sign_out_uri"!==e||t?.length>0)&&(i+=`&other_params[${e}]=${encodeURIComponent(t)}`)}),this.config.request(i,{method:"GET"})}async grantProviderToken(e,t=!1){return this.config.request(o.ApiUrls.PROVIDER_TOKEN_URL,{method:"POST",body:e,useWxCloud:t})}async patchProviderToken(e){return this.config.request(o.ApiUrls.PROVIDER_TOKEN_URL,{method:"PATCH",body:e})}async signInWithProvider(e,t=!1){const n=this.getParamsByVersion(e,"AUTH_SIGN_IN_WITH_PROVIDER_URL"),r=await this.config.request(n.url,{method:"POST",body:n.params,useWxCloud:t});return await this.config.credentialsClient.setCredentials({...r,version:e?.version||"v1"}),Promise.resolve(r)}async signInCustom(e){const t=await this.config.request(o.ApiUrls.AUTH_SIGN_IN_CUSTOM,{method:"POST",body:e});return await this.config.credentialsClient.setCredentials(t),Promise.resolve(t)}async signInWithWechat(e={}){const t=await this.config.request(o.ApiUrls.AUTH_SIGN_IN_WITH_WECHAT_URL,{method:"POST",body:e});return await this.config.credentialsClient.setCredentials(t),Promise.resolve(t)}async bindWithProvider(e){return this.config.request(o.ApiUrls.PROVIDER_BIND_URL,{method:"POST",body:e,withCredentials:!0})}async getUserProfile(e){return this.getUserInfo(e)}async getUserInfo(e={}){const t=this.getParamsByVersion(e,"USER_ME_URL");if(t.params?.query){const e=new l["default"](t.params.query);t.url+=`?${e.toString()}`}const n=await this.config.request(t.url,{method:"GET",withCredentials:!0});return n.sub&&(n.uid=n.sub),n}async getWedaUserInfo(){return await this.config.request(o.ApiUrls.WEDA_USER_URL,{method:"GET",withCredentials:!0})}async deleteMe(e){const t=this.getParamsByVersion(e,"USER_ME_URL"),n=`${t.url}?${u.parseParamsToSearch(t.params)}`;return this.config.request(n,{method:"DELETE",withCredentials:!0})}async hasLoginState(){try{return await this.config.credentialsClient.getAccessToken(),!0}catch(e){return!1}}hasLoginStateSync(){return this.config.credentialsClient.getCredentialsSync()}async getLoginState(){return this.config.credentialsClient.getCredentialsAsync()}async transByProvider(e){return this.config.request(o.ApiUrls.USER_TRANS_BY_PROVIDER_URL,{method:"PATCH",body:e,withCredentials:!0})}async grantToken(e){const t=this.getParamsByVersion(e,"AUTH_TOKEN_URL");return this.config.request(t.url,{method:"POST",body:t.params})}async getProviders(){return this.config.request(o.ApiUrls.PROVIDER_LIST,{method:"GET",withCredentials:!0})}async unbindProvider(e){return this.config.request(`${o.ApiUrls.PROVIDER_UNBIND_URL}/${e.provider_id}`,{method:"DELETE",withCredentials:!0})}async checkPassword(e){return this.config.request(`${o.ApiUrls.CHECK_PWD_URL}`,{method:"POST",withCredentials:!0,body:e})}async editContact(e){return this.config.request(`${o.ApiUrls.BIND_CONTACT_URL}`,{method:"PATCH",withCredentials:!0,body:e})}async setPassword(e){return this.config.request(`${o.ApiUrls.AUTH_SET_PASSWORD}`,{method:"PATCH",withCredentials:!0,body:e})}async updatePasswordByOld(e){const t=await this.sudo({password:e.old_password});return this.setPassword({sudo_token:t.sudo_token,new_password:e.new_password})}async sudo(e){return this.config.request(`${o.ApiUrls.SUDO_URL}`,{method:"POST",withCredentials:!0,body:e})}async sendVerificationCodeToCurrentUser(e){return e.target="CUR_USER",this.config.request(o.ApiUrls.VERIFICATION_URL,{method:"POST",body:e,withCredentials:!0,withCaptcha:!0})}async changeBoundProvider(e){return this.config.request(`${o.ApiUrls.PROVIDER_LIST}/${e.provider_id}/trans`,{method:"POST",body:{provider_trans_token:e.trans_token},withCredentials:!0})}async setUserProfile(e){return this.config.request(o.ApiUrls.USER_PRIFILE_URL,{method:"PATCH",body:e,withCredentials:!0})}async updateUserBasicInfo(e){return this.config.request(o.ApiUrls.USER_BASIC_EDIT_URL,{method:"POST",withCredentials:!0,body:e})}async queryUserProfile(e){const t=new l["default"](e);return this.config.request(`${o.ApiUrls.USER_QUERY_URL}?${t.toString()}`,{method:"GET",withCredentials:!0})}setCustomSignFunc(e){this.getCustomSignTicketFn=e}async signInWithCustomTicket(){const e=this.getCustomSignTicketFn;if(!e)return Promise.reject({error:"failed_precondition",error_description:"please use setCustomSignFunc to set custom sign function"});const t=await e();return this.signInCustom({provider_id:"custom",ticket:t})}async resetPassword(e){return this.config.request(o.ApiUrls.AUTH_RESET_PASSWORD,{method:"POST",body:e})}async authorize(e){return this.config.request(o.ApiUrls.AUTHORIZE_URL,{method:"POST",withCredentials:!0,body:e})}async authorizeDevice(e){return this.config.request(o.ApiUrls.AUTHORIZE_DEVICE_URL,{method:"POST",withCredentials:!0,body:e})}async deviceAuthorize(e){return this.config.request(o.ApiUrls.AUTH_GET_DEVICE_CODE,{method:"POST",body:e,withCredentials:!0})}async authorizeInfo(e){const t=`${o.ApiUrls.AUTHORIZE_INFO_URL}?${u.parseParamsToSearch(e)}`;let n=!0,r=!1;return await this.hasLoginState()&&(r=!0,n=!1),this.config.request(t,{method:"GET",withBasicAuth:n,withCredentials:r})}async checkUsername(e){return this.config.request(o.ApiUrls.CHECK_USERNAME,{method:"GET",body:e,withCredentials:!0})}async checkIfUserExist(e){const t=new l["default"](e);return this.config.request(`${o.ApiUrls.CHECK_IF_USER_EXIST}?${t.toString()}`,{method:"GET"})}async loginScope(){return this.config.credentialsClient.getScope()}async loginGroups(){return this.config.credentialsClient.getGroups()}async refreshTokenForce(e){const t=await this.config.credentialsClient.getCredentials();return await this.config.credentialsClient.refreshToken({...t,version:e?.version||"v1"})}async getCredentials(){return this.config.credentialsClient.getCredentials()}async getPublicKey(){return this.config.request(o.ApiUrlsV2.AUTH_PUBLIC_KEY,{method:"POST",body:{}})}async getEncryptParams(e){const{isEncrypt:t}=e;delete e.isEncrypt;const n=(0,a.deepClone)(e),r=c(t,this.config.adapter);if(!r)return e;let o="",i="";try{const e=await this.getPublicKey();if(o=e.public_key,i=e.public_key_thumbprint,!o||!i)throw e}catch(s){throw s}return{params:r.getEncryptInfo({publicKey:o,payload:n}),public_key_thumbprint:i}}async getProviderSubType(){return this.config.request(o.ApiUrls.GET_PROVIDER_TYPE,{method:"POST",body:{provider_id:"weda"}})}async verifyCaptchaData({token:e,key:t}){return this.config.request(o.ApiUrls.VERIFY_CAPTCHA_DATA_URL,{method:"POST",body:{token:e,key:t},withCredentials:!1})}async createCaptchaData({state:e,redirect_uri:t=undefined}){return this.config.request(o.ApiUrls.CAPTCHA_DATA_URL,{method:"POST",body:{state:e,redirect_uri:t},withCredentials:!1})}async getMiniProgramCode(e){return this.config.request(o.ApiUrls.GET_MINIPROGRAM_QRCODE,{method:"POST",body:e})}async getMiniProgramQrCodeStatus(e){return this.config.request(o.ApiUrls.GET_MINIPROGRAM_QRCODE_STATUS,{method:"POST",body:e})}async getUserBehaviorLog(e){const t=`${o.ApiUrls.GET_USER_BEHAVIOR_LOG}?${{LOGIN:"query[action]=USER_LOGIN",MODIFY:"ne_query[action]=USER_LOGIN"}[e.type]}&limit=${e.limit}${e.page_token?`&page_token=${e.page_token}`:""}`;return this.config.request(t,{method:"GET",withCredentials:!0})}async modifyPassword(e){let t="",n="";const r=c(!0,this.config.adapter);if(!r)throw new Error("do not support encrypt, a encrypt util required.");try{const e=await this.getPublicKey();if(t=e.public_key,n=e.public_key_thumbprint,!t||!n)throw e}catch(a){throw a}const i=e.password?r.getEncryptInfo({publicKey:t,payload:e.password}):"",s=r.getEncryptInfo({publicKey:t,payload:e.new_password});return this.config.request(o.ApiUrls.USER_BASIC_EDIT_URL,{method:"POST",withCredentials:!0,body:{user_id:e.user_id,encrypt_password:i,encrypt_new_password:s,public_key_thumbprint:n}})}async modifyPasswordWithoutLogin(e){let t="",n="";const r=c(!0,this.config.adapter);if(!r)throw new Error("do not support encrypt, a encrypt util required.");try{const e=await this.getPublicKey();if(t=e.public_key,n=e.public_key_thumbprint,!t||!n)throw e}catch(a){throw a}const i=e.password?r.getEncryptInfo({publicKey:t,payload:e.password}):"",s=r.getEncryptInfo({publicKey:t,payload:e.new_password});return this.config.request(o.ApiUrlsV2.AUTH_RESET_PASSWORD,{method:"POST",body:{username:e.username,password:i,new_password:s,public_key_thumbprint:n}})}}t.Auth=u},4256:function(e,t){"use strict";var n,r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t.VerificationUsages=t.ErrorType=t.ApiUrlsV2=t.ApiUrls=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"}(i||(t.ErrorType=i={}))},4622:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8028:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.Captcha=void 0;var o=n(4256),i=n(9502),s=n(6180),a=r(n(3186));t.Captcha=class{constructor(e){e.openURIWithCallback||(e.openURIWithCallback=this.getDefaultOpenURIWithCallback()),e.storage||(e.storage=i.defaultStorage),this.config=e,this.tokenSectionName=`captcha_${e.clientId}`}isMatch(){return this.config?.adapter?.isMatch?.()||(0,s.isMp)()}async request(e,t){t||(t={}),t.method||(t.method="GET");const n=`${t.method}:${e}`;let r,i=e;t.withCaptcha&&(i=await this.appendCaptchaTokenToURL(e,n,!1));try{r=await this.config.request(i,t)}catch(s){return s.error===o.ErrorType.CAPTCHA_REQUIRED||s.error===o.ErrorType.CAPTCHA_INVALID?(e=await this.appendCaptchaTokenToURL(e,n,s.error===o.ErrorType.CAPTCHA_INVALID),this.config.request(e,t)):Promise.reject(s)}return r}getDefaultOpenURIWithCallback(){if(!this.isMatch()&&!(0,s.isInMpWebView)()&&(window.location.search.indexOf("__captcha")>0&&(document.body.style.display="none"),null===document.getElementById("captcha_panel_wrap"))){const e=document.createElement("div");e.style.cssText="background-color: rgba(0, 0, 0, 0.7);position: fixed;left: 0px;right: 0px;top: 0px;bottom: 0px;padding: 9vw 0 0 0;display: none;z-index:100;",e.setAttribute("id","captcha_panel_wrap"),setTimeout(()=>{document.body.appendChild(e)},0)}return this.defaultOpenURIWithCallback}async defaultOpenURIWithCallback(e,t){const{width:n="355px",height:r="355px"}=t||{};if(e.match(/^(data:.*)$/))return Promise.reject({error:o.ErrorType.UNIMPLEMENTED,error_description:"need to impl captcha data"});const i=document.getElementById("captcha_panel_wrap"),s=document.createElement("iframe");return i.innerHTML="",s.setAttribute("src",e),s.setAttribute("id","review-panel-iframe"),s.style.cssText=`min-width:${n};display:block;height:${r};margin:0 auto;background-color: rgb(255, 255, 255);border: none;`,i.appendChild(s),i.style.display="block",new Promise((e,t)=>{s.onload=function(){try{const n=window.location,r=s.contentWindow.location;if(r.host+r.pathname===n.host+n.pathname){i.style.display="none";const n=new a["default"](r.search),o=n.get("captcha_token");return o?e({captcha_token:o,expires_in:Number(n.get("expires_in"))}):t({error:n.get("error"),error_description:n.get("error_description")})}i.style.display="block"}catch(n){i.style.display="block"}}})}async getCaptchaToken(e,t){if(!e){const e=await this.findCaptchaToken();if(e)return e}let n;if(this.isMatch()||(0,s.isInMpWebView)()){const e=await this.config.request(o.ApiUrls.CAPTCHA_DATA_URL,{method:"POST",body:{state:t,redirect_uri:""},withCredentials:!1});n={url:`${e.data}?state=${encodeURIComponent(t)}&token=${encodeURIComponent(e.token)}`}}else{const e=`${window.location.origin+window.location.pathname}?__captcha=on`;if(n=await this.config.request(o.ApiUrls.GET_CAPTCHA_URL,{method:"POST",body:{client_id:this.config.clientId,redirect_uri:e,state:t},withCredentials:!1}),n.captcha_token){const e={captcha_token:n.captcha_token,expires_in:n.expires_in};return this.saveCaptchaToken(e),n.captcha_token}}const r=await this.config.openURIWithCallback(n.url);return this.saveCaptchaToken(r),r.captcha_token}async appendCaptchaTokenToURL(e,t,n){const r=await this.getCaptchaToken(n,t);return e.indexOf("?")>0?e+=`&captcha_token=${r}`:e+=`?captcha_token=${r}`,e}async saveCaptchaToken(e){e.expires_at=new Date(Date.now()+1e3*(e.expires_in-10));const t=JSON.stringify(e);await this.config.storage.setItem(this.tokenSectionName,t)}async findCaptchaToken(){const e=await this.config.storage.getItem(this.tokenSectionName);if(e!==undefined&&null!==e)try{const t=JSON.parse(e);return t?.expires_at&&(t.expires_at=new Date(t.expires_at)),t.expires_at<new Date?null:t.captcha_token}catch(t){return await this.config.storage.removeItem(this.tokenSectionName),null}return null}}},2191:function(e,t,n){"use strict";var r=n(2032)["default"];Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AUTH_API_PREFIX",{enumerable:!0,get:function(){return s.AUTH_API_PREFIX}}),Object.defineProperty(t,"Auth",{enumerable:!0,get:function(){return i.Auth}}),t.authModels=t.CloudbaseOAuth=void 0;var o=n(9502),i=n(3421),s=n(4256),a=r(n(4622));t.authModels=a,t.CloudbaseOAuth=class{constructor(e){const{apiOrigin:t,apiPath:n=s.AUTH_API_PREFIX,clientId:r,env:a,storage:l,request:c,baseRequest:u,anonymousSignInFunc:d,wxCloud:p,adapter:h,onCredentialsError:f,headers:m,i18n:g,publishable_key:_}=e;this.oauth2client=new o.OAuth2Client({apiOrigin:t,apiPath:n,clientId:r,env:a,storage:l,baseRequest:u||c,anonymousSignInFunc:d,wxCloud:p,onCredentialsError:f,headers:m||{},i18n:g,publishable_key:_}),this.authApi=new i.Auth({credentialsClient:this.oauth2client,...e,request:c?this.oauth2client.request.bind(this.oauth2client):undefined,adapter:h})}}},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";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultStorage=t.defaultRequest=t.OAuth2Client=void 0,t.generateRequestId=m,t.toResponseError=void 0;var r=n(5354),o=n(4256),i=n(2430),s=n(3721),a=n(2984),l=n(2302),c=n(1435),u=n(3882);const d="x-request-id",p="x-device-id",h="device_id",f=async function(e,t){let n=null,o=null;try{const r=Object.assign({},t);r.method||(r.method="GET"),r.body&&"string"!=typeof r.body&&(r.body=JSON.stringify(r.body));const i=await fetch(e,r),s=await i.json();s?.error?(o=s,o.error_uri=new URL(e).pathname):n=s}catch(i){o={error:r.ErrorType.UNREACHABLE,error_description:i.message,error_uri:new URL(e).pathname}}if(o)throw o;return n};function m(){return(0,i.uuidv4)()}t.defaultRequest=f,t.toResponseError=(e,t)=>{let n;const o=t||{};if(e instanceof Error)n={error:o.error||r.ErrorType.LOCAL,error_description:o.error_description||e.message,error_uri:o.error_uri,details:o.details||e.stack};else{const t=e||{};n={error:o.error||t.error||r.ErrorType.LOCAL,error_description:o.error_description||t.error_description,error_uri:o.error_uri||t.error_uri,details:o.details||t.details}}return n};const g=t.defaultStorage=new class{constructor(e){this._env=e?.env||""}async getItem(e){return window.localStorage.getItem(`${e}${this._env}`)}async removeItem(e){window.localStorage.removeItem(`${e}${this._env}`)}async setItem(e,t){window.localStorage.setItem(`${e}${this._env}`,t)}getItemSync(e){return window.localStorage.getItem(`${e}${this._env}`)}removeItemSync(e){window.localStorage.removeItem(`${e}${this._env}`)}setItemSync(e,t){window.localStorage.setItem(`${e}${this._env}`,t)}};function _(e){let t=!0;return e?.expires_at&&e?.access_token&&(t=e.expires_at<new Date),t}class v{constructor(e){this.credentials=null,this.singlePromise=null,this.tokenSectionName=e.tokenSectionName,this.storage=e.storage,this.clientId=e.clientId,this.singlePromise=new a.SinglePromise({clientId:this.clientId}),this.credentials=e.credentials||null,this.credentials&&this.setCredentials(this.credentials)}getStorageCredentialsSync(){let e=null;const t=this.storage.getItemSync(this.tokenSectionName);if(t!==undefined&&null!==t)try{e=JSON.parse(t),e?.expires_at&&(e.expires_at=new Date(e.expires_at))}catch(n){this.storage.removeItem(this.tokenSectionName),e=null}return e}async setCredentials(e){if(e?.expires_in){if(e?.expires_at||(e.expires_at=new Date(Date.now()+1e3*(e.expires_in-30))),this.storage){const t=JSON.stringify(e);await this.storage.setItem(this.tokenSectionName,t)}this.credentials=e}else this.storage&&await this.storage.removeItem(this.tokenSectionName),this.credentials=null}async getCredentials(){return this.singlePromise.run("getCredentials",async()=>(_(this.credentials)&&(this.credentials=await this.getStorageCredentials()),this.credentials))}async getStorageCredentials(){return this.singlePromise.run("_getStorageCredentials",async()=>{let e=null;const t=await this.storage.getItem(this.tokenSectionName);if(t!==undefined&&null!==t)try{e=JSON.parse(t),e?.expires_at&&(e.expires_at=new Date(e.expires_at))}catch(n){await this.storage.removeItem(this.tokenSectionName),e=null}return e})}}class b{constructor(e){this.singlePromise=null,e.clientSecret||(e.clientSecret=""),!e.clientId&&e.env&&(e.clientId=e.env),this.apiOrigin=e.apiOrigin,this.apiPath=e.apiPath||o.AUTH_API_PREFIX,this.clientId=e.clientId,this.i18n=e.i18n,this.publishable_key=e.publishable_key,this.singlePromise=new a.SinglePromise({clientId:this.clientId}),this.retry=this.formatRetry(e.retry,b.defaultRetry),e.baseRequest?this.baseRequest=e.baseRequest:this.baseRequest=f,this.tokenInURL=e.tokenInURL,this.headers=e.headers,this.storage=e.storage||g,this.localCredentials=new v({tokenSectionName:`credentials_${e.clientId}`,storage:this.storage,clientId:e.clientId,credentials:this.publishable_key?{access_token:this.publishable_key,token_type:"Bearer",scope:"publishable_key",expires_at:new Date(+new Date+ +new Date),expires_in:+new Date+ +new Date}:null}),this.clientSecret=e.clientSecret,e.clientId&&(this.basicAuth=`Basic ${(0,l.weBtoa)(`${e.clientId}:${this.clientSecret}`)}`),this.wxCloud=e.wxCloud;try{(0,c.isMatch)()&&this.wxCloud===undefined&&e.env&&(wx.cloud.init({env:e.env}),this.wxCloud=wx.cloud)}catch(t){}this.refreshTokenFunc=e.refreshTokenFunc||this.defaultRefreshTokenFunc,this.anonymousSignInFunc=e.anonymousSignInFunc,this.onCredentialsError=e.onCredentialsError,u.langEvent.bus.on(u.langEvent.LANG_CHANGE_EVENT,e=>{this.i18n=e.data?.i18n||this.i18n})}setCredentials(e){return this.localCredentials.setCredentials(e)}async getAccessToken(){const e=await this.getCredentials();if(e?.access_token)return Promise.resolve(e.access_token);const t={error:r.ErrorType.UNAUTHENTICATED};return Promise.reject(t)}async request(e,t){t||(t={});const n=this.formatRetry(t.retry,this.retry);if(t.headers={...t.headers,[this.i18n?.LANG_HEADER_KEY]:this.i18n?.lang},this.headers&&(t.headers={...this.headers,...t.headers}),t.headers[d]||(t.headers[d]=m()),!t.headers[p]){const e=await this.getDeviceId();t.headers[p]=e}if(t?.withBasicAuth&&this.basicAuth&&(t.headers.Authorization=this.basicAuth),t?.withCredentials){const n=await this.getCredentials();n&&(this.tokenInURL?(e.indexOf("?")<0&&(e+="?"),e+=`access_token=${n.access_token}`):t.headers.Authorization=`${n.token_type} ${n.access_token}`)}else this.clientId&&e.indexOf("client_id")<0&&(e+=e.indexOf("?")<0?"?":"&",e+=`client_id=${this.clientId}`);e.startsWith("/")&&(e=`${this.apiOrigin}${this.apiPath}${e}`);let o=null;const i=n+1;for(let a=0;a<i;a++){try{o=t.useWxCloud?await this.wxCloudCallFunction(e,t):await this.baseRequest(e,t);break}catch(s){if(t.withCredentials&&s&&s.error===r.ErrorType.UNAUTHENTICATED)return await this.setCredentials(null),Promise.reject(s);if(a===n||!s||"unreachable"!==s.error)return Promise.reject(s)}await this.sleep(b.retryInterval)}return o}async wxCloudCallFunction(e,t){let n=null,o=null;try{let r="";try{r=await wx.getRendererUserAgent()}catch(i){}const{result:a}=await this.wxCloud.callFunction({name:"httpOverCallFunction",data:{url:e,method:t.method,headers:{origin:"https://servicewechat.com","User-Agent":r,...t.headers},body:t.body}});a?.body?.error_code?(o=a?.body,o.error_uri=(0,s.getPathName)(e)):n=a?.body}catch(i){o={error:r.ErrorType.UNREACHABLE,error_description:i.message,error_uri:(0,s.getPathName)(e)}}if(o)throw o;return n}async getCredentials(){let e=await this.localCredentials.getCredentials();if(!e){const e="credentials not found";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}if(_(e))if(e.refresh_token)try{e=await this.refreshToken(e)}catch(t){if("anonymous"!==e.scope)return this.onCredentialsError?.({msg:t.error_description}),Promise.reject(t);e=await this.anonymousLogin(e)}else{if("anonymous"!==e.scope){const e="no refresh token found in credentials";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}e=await this.anonymousLogin(e)}return e}getCredentialsSync(){return this.localCredentials.getStorageCredentialsSync()}getCredentialsAsync(){return this.getCredentials()}async getScope(){const e=await this.localCredentials.getCredentials();if(!e){const e="credentials not found";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}return e.scope}async getGroups(){const e=await this.localCredentials.getCredentials();if(!e){const e="credentials not found";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}return e.groups}async refreshToken(e){return this.singlePromise.run("_refreshToken",async()=>{if(!e||!e.refresh_token){const e="no refresh token found in credentials";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}try{const t=await this.refreshTokenFunc(e.refresh_token,e);return await this.localCredentials.setCredentials(t),t}catch(t){if(t.error===r.ErrorType.INVALID_GRANT){await this.localCredentials.setCredentials(null);const e=t.error_description;return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}return this.onCredentialsError?.({msg:t.error_description}),Promise.reject(t)}})}async anonymousLogin(e){return this.singlePromise.run("_anonymousLogin",async()=>{if(this.anonymousSignInFunc){const t=await this.anonymousSignInFunc(e);e=t||await this.localCredentials.getCredentials()}else e=await this.anonymousSignIn(e);return e})}checkRetry(e){let t=null;if(("number"!=typeof e||e<b.minRetry||e>b.maxRetry)&&(t={error:r.ErrorType.UNREACHABLE,error_description:"wrong options param: retry"}),t)throw t;return e}formatRetry(e,t){return void 0===e?t:this.checkRetry(e)}async sleep(e){return new Promise(t=>{setTimeout(()=>{t()},e)})}async anonymousSignIn(e){return this.singlePromise.run("_anonymous",async()=>{if(!e||"anonymous"!==e.scope)return this.unAuthenticatedError("no anonymous in credentials");try{const e=await this.request(o.ApiUrls.AUTH_SIGN_IN_ANONYMOUSLY_URL,{method:"POST",withBasicAuth:!0,body:{}});return await this.localCredentials.setCredentials(e),e}catch(t){return t.error===r.ErrorType.INVALID_GRANT?(await this.localCredentials.setCredentials(null),this.unAuthenticatedError(t.error_description)):Promise.reject(t)}})}async defaultRefreshTokenFunc(e,t){if(e===undefined||""===e){const e="refresh token not found";return this.onCredentialsError?.({msg:e}),this.unAuthenticatedError(e)}let n=o.ApiUrls.AUTH_TOKEN_URL;return"v2"===t?.version&&(n=o.ApiUrlsV2.AUTH_TOKEN_URL),{...await this.request(n,{method:"POST",body:{client_id:this.clientId,client_secret:this.clientSecret,grant_type:"refresh_token",refresh_token:e}}),version:t?.version||"v1"}}async getDeviceId(){if(this.deviceID)return this.deviceID;let e=await this.storage.getItem(h);return"string"==typeof e&&e.length>=16&&e.length<=48||(e=(0,i.uuidv4)(),await this.storage.setItem(h,e)),this.deviceID=e,e}unAuthenticatedError(e){const t={error:r.ErrorType.UNAUTHENTICATED,error_description:e};return Promise.reject(t)}}t.OAuth2Client=b,b.defaultRetry=2,b.minRetry=0,b.maxRetry=5,b.retryInterval=1e3},2302:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64_url_decode=i,t.weAtob=void 0,t.weBtoa=function(e){let t,r,o,i;e=String(e);let s="",a=0;const l=e.length%3;for(;a<e.length;){if((r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>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,s+=n.charAt(t>>18&63)+n.charAt(t>>12&63)+n.charAt(t>>6&63)+n.charAt(63&t)}return l?s.slice(0,l-3)+"===".substring(l):s},t.weappJwtDecode=function(e,t){if("string"!=typeof e)throw new Error("Invalid token specified");const n=!0===(t=t||{}).header?0:1;try{return JSON.parse(i(e.split(".")[n]))}catch(r){throw new Error(`Invalid token specified: ${r}`?r.message:"")}};const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/,o=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.");let t;e+="==".slice(2-(3&e.length));let o,i,s="",a=0;for(;a<e.length;)t=n.indexOf(e.charAt(a++))<<18|n.indexOf(e.charAt(a++))<<12|(o=n.indexOf(e.charAt(a++)))<<6|(i=n.indexOf(e.charAt(a++))),s+=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 s};function i(e){let 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,e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t=`0${t}`),`%${t}`}))}(t)}catch(n){return o(t)}}t.weAtob=o},1435:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.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}},5144:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getEncryptInfo=void 0;var o=r(n(7869)),i=n(3721);t.getEncryptInfo=({publicKey:e="",payload:t={}}={})=>{if(!e)return"";try{const n=(0,i.deepClone)(t),r=new o["default"];return r.setPublicKey(e),r.encryptLong("object"==typeof n?JSON.stringify(n):n)}catch(n){console.error("encrypt error:",n)}return""}},7869:function(e,t){"use strict";let n;if(Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0,!globalThis.IS_MP_BUILD){const T="undefined"!=typeof globalThis?globalThis.navigator:window.globalThis;function A(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function O(e,t){return e&t}function x(e,t){return e|t}function P(e,t){return e^t}function M(e,t){return e&~t}function N(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}function R(e){for(var t=0;0!=e;)e&=e-1,++t;return t}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function L(e){var t,n,o="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),o+=r.charAt(n>>6)+r.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),o+=r.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),o+=r.charAt(n>>2)+r.charAt((3&n)<<4));(3&o.length)>0;)o+="=";return o}function D(e){var t,n="",o=0,i=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var s=r.indexOf(e.charAt(t));s<0||(0==o?(n+=A(s>>2),i=3&s,o=1):1==o?(n+=A(i<<2|s>>4),i=15&s,o=2):2==o?(n+=A(i),n+=A(s>>2),i=3&s,o=3):(n+=A(i<<2|s>>4),n+=A(15&s),o=0))}return 1==o&&(n+=A(i<<2)),n}var o,i,s={decode:function(e){var t;if(o===undefined){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(o={},t=0;t<16;++t)o[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)o[n.charAt(t)]=t;for(t=0;t<8;++t)o[r.charAt(t)]=-1}var i=[],s=0,a=0;for(t=0;t<e.length;++t){var l=e.charAt(t);if("="==l)break;if(-1!=(l=o[l])){if(l===undefined)throw new Error("Illegal character at offset "+t);s|=l,++a>=2?(i[i.length]=s,s=0,a=0):s<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return i}},a={decode:function(e){var t;if(i===undefined){var n="= \f\n\r\t \u2028\u2029";for(i=Object.create(null),t=0;t<64;++t)i["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(t=0;t<9;++t)i[n.charAt(t)]=-1}var r=[],o=0,s=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if("="==a)break;if(-1!=(a=i[a])){if(a===undefined)throw new Error("Illegal character at offset "+t);o|=a,++s>=4?(r[r.length]=o>>16,r[r.length]=o>>8&255,r[r.length]=255&o,o=0,s=0):o<<=6}}switch(s){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=a.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 a.decode(e)}},l=1e13;class ${constructor(e){this.buf=[+e||0]}mulAdd(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)}sub(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()}toString(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}valueOf(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*l+e[n];return t}simplify(){var e=this.buf;return 1==e.length?e[0]:this}}var c,u=/^(\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)?)?$/,d=/^(\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)?)?$/;function U(e,t){return e.length>t&&(e=e.substring(0,t)+"…"),e}class j{constructor(e,t){this.hexDigits="0123456789ABCDEF",e instanceof j?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=t)}get(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]}hexByte(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)}hexDump(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}isASCII(e,t){for(var n=e;n<t;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0}parseStringISO(e,t){for(var n="",r=e;r<t;++r)n+=String.fromCharCode(this.get(r));return n}parseStringUTF(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}parseStringBMP(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}parseTime(e,t,n){var r=this.parseStringISO(e,t),o=(n?u:d).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}parseInteger(e,t){for(var n,r=this.get(e),o=r>127,i=o?255:0,s="";r==i&&++e<t;)r=this.get(e);if(0===(n=t-e))return o?-1:0;if(n>4){for(s=r,n<<=3;!(128&(+s^i));)s=+s<<1,--n;s="("+n+" bit)\n"}o&&(r-=256);for(var a=new $(r),l=e+1;l<t;++l)a.mulAdd(256,this.get(l));return s+a.toString()}parseBitString(e,t,n){for(var r=this.get(e),o="("+((t-e-1<<3)-r)+" bit)\n",i="",s=e+1;s<t;++s){for(var a=this.get(s),l=s==t-1?r:0,c=7;c>=l;--c)i+=a>>c&1?"1":"0";if(i.length>n)return o+U(i,n)}return o+i}parseOctetString(e,t,n){if(this.isASCII(e,t))return U(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+="…"),o}parseOID(e,t,n){for(var r="",o=new $,i=0,s=e;s<t;++s){var a=this.get(s);if(o.mulAdd(128,127&a),i+=7,!(128&a)){if(""===r)if((o=o.simplify())instanceof $)o.sub(80),r="2."+o.toString();else{var l=o<80?o<40?0:1:2;r=l+"."+(o-40*l)}else r+="."+o.toString();if(r.length>n)return U(r,n);o=new $,i=0}}return i>0&&(r+=".incomplete"),r}}class F{constructor(e,t,n,r,o){if(!(r instanceof G))throw new Error("Invalid tag value.");this.stream=e,this.header=t,this.length=n,this.tag=r,this.sub=o}typeName(){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()}}content(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 U(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return U(this.stream.parseStringISO(t,t+n),e);case 30:return U(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null}toString(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"}toPrettyString(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}posStart(){return this.stream.pos}posContent(){return this.stream.pos+this.header}posEnd(){return this.stream.pos+this.header+Math.abs(this.length)}toHexString(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)}static decodeLength(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}getHexStringValue(){var e=this.toHexString(),t=2*this.header,n=2*this.length;return e.substr(t,n)}static decode(e){var t;t=e instanceof j?e:new j(e,0);var n=new j(t),r=new G(t),o=F.decodeLength(t),i=t.pos,s=i-n.pos,a=null,l=function(){var e=[];if(null!==o){for(var n=i+o;t.pos<n;)e[e.length]=F.decode(t);if(t.pos!=n)throw new Error("Content size is not correct for container starting at offset "+i)}else try{for(;;){var r=F.decode(t);if(r.tag.isEOC())break;e[e.length]=r}o=i-t.pos}catch(s){throw new Error("Exception while decoding undefined length content: "+s)}return e};if(r.tagConstructed)a=l();else if(r.isUniversal()&&(3==r.tagNumber||4==r.tagNumber))try{if(3==r.tagNumber&&0!=t.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");a=l();for(var c=0;c<a.length;++c)if(a[c].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(u){a=null}if(null===a){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+i);t.pos=i+Math.abs(o)}return new F(n,s,o,r,a)}}class G{constructor(e){var t=e.get();if(this.tagClass=t>>6,this.tagConstructed=!!(32&t),this.tagNumber=31&t,31==this.tagNumber){var n=new $;do{t=e.get(),n.mulAdd(128,127&t)}while(128&t);this.tagNumber=n.simplify()}}isUniversal(){return 0===this.tagClass}isEOC(){return 0===this.tagClass&&0===this.tagNumber}}var p=[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],h=(1<<26)/p[p.length-1];class q{constructor(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}toString(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="",s=this.t,a=this.DB-s*this.DB%t;if(s-- >0)for(a<this.DB&&(n=this[s]>>a)>0&&(o=!0,i=A(n));s>=0;)a<t?(n=(this[s]&(1<<a)-1)<<t-a,n|=this[--s]>>(a+=this.DB-t)):(n=this[s]>>(a-=t)&r,a<=0&&(a+=this.DB,--s)),n>0&&(o=!0),o&&(i+=A(n));return o?i:"0"}negate(){var e=z();return q.ZERO.subTo(this,e),e}abs(){return this.s<0?this.negate():this}compareTo(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}bitLength(){return this.t<=0?0:this.DB*(this.t-1)+X(this[this.t-1]^this.s&this.DM)}mod(e){var t=z();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(q.ZERO)>0&&e.subTo(t,t),t}modPowInt(e,t){var n;return n=e<256||t.isEven()?new m(t):new g(t),this.exp(e,n)}clone(){var e=z();return this.copyTo(e),e}intValue(){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]}byteValue(){return 0==this.t?this.s:this[0]<<24>>24}shortValue(){return 0==this.t?this.s:this[0]<<16>>16}signum(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}toByteArray(){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}equals(e){return 0==this.compareTo(e)}min(e){return this.compareTo(e)<0?this:e}max(e){return this.compareTo(e)>0?this:e}and(e){var t=z();return this.bitwiseTo(e,O,t),t}or(e){var t=z();return this.bitwiseTo(e,x,t),t}xor(e){var t=z();return this.bitwiseTo(e,P,t),t}andNot(e){var t=z();return this.bitwiseTo(e,M,t),t}not(){for(var e=z(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}shiftLeft(e){var t=z();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}shiftRight(e){var t=z();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}getLowestSetBit(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+N(this[e]);return this.s<0?this.t*this.DB:-1}bitCount(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=R(this[n]^t);return e}testBit(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:!!(this[t]&1<<e%this.DB)}setBit(e){return this.changeBit(e,x)}clearBit(e){return this.changeBit(e,M)}flipBit(e){return this.changeBit(e,P)}add(e){var t=z();return this.addTo(e,t),t}subtract(e){var t=z();return this.subTo(e,t),t}multiply(e){var t=z();return this.multiplyTo(e,t),t}divide(e){var t=z();return this.divRemTo(e,t,null),t}remainder(e){var t=z();return this.divRemTo(e,null,t),t}divideAndRemainder(e){var t=z(),n=z();return this.divRemTo(e,t,n),[t,n]}modPow(e,t){var n,r,o=e.bitLength(),i=Q(1);if(o<=0)return i;n=o<18?1:o<48?3:o<144?4:o<768?5:6,r=o<8?new m(t):t.isEven()?new _(t):new g(t);var s=[],a=3,l=n-1,c=(1<<n)-1;if(s[1]=r.convert(this),n>1){var u=z();for(r.sqrTo(s[1],u);a<=c;)s[a]=z(),r.mulTo(u,s[a-2],s[a]),a+=2}var d,p,h=e.t-1,f=!0,v=z();for(o=X(e[h])-1;h>=0;){for(o>=l?d=e[h]>>o-l&c:(d=(e[h]&(1<<o+1)-1)<<l-o,h>0&&(d|=e[h-1]>>this.DB+o-l)),a=n;!(1&d);)d>>=1,--a;if((o-=a)<0&&(o+=this.DB,--h),f)s[d].copyTo(i),f=!1;else{for(;a>1;)r.sqrTo(i,v),r.sqrTo(v,i),a-=2;a>0?r.sqrTo(i,v):(p=i,i=v,v=p),r.mulTo(v,s[d],i)}for(;h>=0&&!(e[h]&1<<o);)r.sqrTo(i,v),p=i,i=v,v=p,--o<0&&(o=this.DB-1,--h)}return r.revert(i)}modInverse(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return q.ZERO;for(var n=e.clone(),r=this.clone(),o=Q(1),i=Q(0),s=Q(0),a=Q(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),t?(o.isEven()&&i.isEven()||(o.addTo(this,o),i.subTo(e,i)),o.rShiftTo(1,o)):i.isEven()||i.subTo(e,i),i.rShiftTo(1,i);for(;r.isEven();)r.rShiftTo(1,r),t?(s.isEven()&&a.isEven()||(s.addTo(this,s),a.subTo(e,a)),s.rShiftTo(1,s)):a.isEven()||a.subTo(e,a),a.rShiftTo(1,a);n.compareTo(r)>=0?(n.subTo(r,n),t&&o.subTo(s,o),i.subTo(a,i)):(r.subTo(n,r),t&&s.subTo(o,s),a.subTo(i,a))}return 0!=r.compareTo(q.ONE)?q.ZERO:a.compareTo(e)>=0?a.subtract(e):a.signum()<0?(a.addTo(e,a),a.signum()<0?a.add(e):a):a}pow(e){return this.exp(e,new f)}gcd(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}isProbablePrime(e){var t,n=this.abs();if(1==n.t&&n[0]<=p[p.length-1]){for(t=0;t<p.length;++t)if(n[0]==p[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<p.length;){for(var r=p[t],o=t+1;o<p.length&&r<h;)r*=p[o++];for(r=n.modInt(r);t<o;)if(r%p[t++]==0)return!1}return n.millerRabin(e)}copyTo(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}fromInt(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}fromString(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var r=e.length,o=!1,i=0;--r>=0;){var s=8==n?255&+e[r]:K(e,r);s<0?"-"==e.charAt(r)&&(o=!0):(o=!1,0==i?this[this.t++]=s:i+n>this.DB?(this[this.t-1]|=(s&(1<<this.DB-i)-1)<<i,this[this.t++]=s>>this.DB-i):this[this.t-1]|=s<<i,(i+=n)>=this.DB&&(i-=this.DB))}8==n&&128&+e[0]&&(this.s=-1,i>0&&(this[this.t-1]|=(1<<this.DB-i)-1<<i)),this.clamp(),o&&q.ZERO.subTo(this,this)}clamp(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}dlShiftTo(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}drShiftTo(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}lShiftTo(e,t){for(var n=e%this.DB,r=this.DB-n,o=(1<<r)-1,i=Math.floor(e/this.DB),s=this.s<<n&this.DM,a=this.t-1;a>=0;--a)t[a+i+1]=this[a]>>r|s,s=(this[a]&o)<<n;for(a=i-1;a>=0;--a)t[a]=0;t[i]=s,t.t=this.t+i+1,t.s=this.s,t.clamp()}rShiftTo(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 s=n+1;s<this.t;++s)t[s-n-1]|=(this[s]&i)<<o,t[s-n]=this[s]>>r;r>0&&(t[this.t-n-1]|=(this.s&i)<<o),t.t=this.t-n,t.clamp()}}subTo(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()}multiplyTo(e,t){var n=this.abs(),r=e.abs(),o=n.t;for(t.t=o+r.t;--o>=0;)t[o]=0;for(o=0;o<r.t;++o)t[o+n.t]=n.am(0,r[o],t,o,0,n.t);t.s=0,t.clamp(),this.s!=e.s&&q.ZERO.subTo(t,t)}squareTo(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()}divRemTo(e,t,n){var r=e.abs();if(!(r.t<=0)){var o=this.abs();if(o.t<r.t)return null!=t&&t.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=z());var i=z(),s=this.s,a=e.s,l=this.DB-X(r[r.t-1]);l>0?(r.lShiftTo(l,i),o.lShiftTo(l,n)):(r.copyTo(i),o.copyTo(n));var c=i.t,u=i[c-1];if(0!=u){var d=u*(1<<this.F1)+(c>1?i[c-2]>>this.F2:0),p=this.FV/d,h=(1<<this.F1)/d,f=1<<this.F2,m=n.t,g=m-c,_=null==t?z():t;for(i.dlShiftTo(g,_),n.compareTo(_)>=0&&(n[n.t++]=1,n.subTo(_,n)),q.ONE.dlShiftTo(c,_),_.subTo(i,i);i.t<c;)i[i.t++]=0;for(;--g>=0;){var v=n[--m]==u?this.DM:Math.floor(n[m]*p+(n[m-1]+f)*h);if((n[m]+=i.am(0,v,n,g,0,c))<v)for(i.dlShiftTo(g,_),n.subTo(_,n);n[m]<--v;)n.subTo(_,n)}null!=t&&(n.drShiftTo(c,t),s!=a&&q.ZERO.subTo(t,t)),n.t=c,n.clamp(),l>0&&n.rShiftTo(l,n),s<0&&q.ZERO.subTo(n,n)}}}invDigit(){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}isEven(){return 0==(this.t>0?1&this[0]:this.s)}exp(e,t){if(e>4294967295||e<1)return q.ONE;var n=z(),r=z(),o=t.convert(this),i=X(e)-1;for(o.copyTo(n);--i>=0;)if(t.sqrTo(n,r),(e&1<<i)>0)t.mulTo(r,o,n);else{var s=n;n=r,r=s}return t.revert(n)}chunkSize(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}toRadix(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=Q(n),o=z(),i=z(),s="";for(this.divRemTo(r,o,i);o.signum()>0;)s=(n+i.intValue()).toString(e).substr(1)+s,o.divRemTo(r,o,i);return i.intValue().toString(e)+s}fromRadix(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),r=Math.pow(t,n),o=!1,i=0,s=0,a=0;a<e.length;++a){var l=K(e,a);l<0?"-"==e.charAt(a)&&0==this.signum()&&(o=!0):(s=t*s+l,++i>=n&&(this.dMultiply(r),this.dAddOffset(s,0),i=0,s=0))}i>0&&(this.dMultiply(Math.pow(t,i)),this.dAddOffset(s,0)),o&&q.ZERO.subTo(this,this)}fromNumber(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(q.ONE.shiftLeft(e-1),x,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(q.ONE.shiftLeft(e-1),this);else{var r=[],o=7&e;r.length=1+(e>>3),t.nextBytes(r),o>0?r[0]&=(1<<o)-1:r[0]=0,this.fromString(r,256)}}bitwiseTo(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()}changeBit(e,t){var n=q.ONE.shiftLeft(e);return this.bitwiseTo(n,t,n),n}addTo(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()}dMultiply(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}dAddOffset(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]}}multiplyLowerTo(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()}multiplyUpperTo(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)}modInt(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}millerRabin(e){var t=this.subtract(q.ONE),n=t.getLowestSetBit();if(n<=0)return!1;var r=t.shiftRight(n);(e=e+1>>1)>p.length&&(e=p.length);for(var o=z(),i=0;i<e;++i){o.fromInt(p[Math.floor(Math.random()*p.length)]);var s=o.modPow(r,this);if(0!=s.compareTo(q.ONE)&&0!=s.compareTo(t)){for(var a=1;a++<n&&0!=s.compareTo(t);)if(0==(s=s.modPowInt(2,this)).compareTo(q.ONE))return!1;if(0!=s.compareTo(t))return!1}}return!0}square(){var e=z();return this.squareTo(e),e}gcda(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(),s=r.getLowestSetBit();if(s<0)t(n);else{i<s&&(s=i),s>0&&(n.rShiftTo(s,n),r.rShiftTo(s,r));var a=()=>{(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(a,0):(s>0&&r.lShiftTo(s,r),setTimeout(function(){t(r)},0))};setTimeout(a,10)}}fromNumberAsync(e,t,n,r){if("number"==typeof t)if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(q.ONE.shiftLeft(e-1),x,this),this.isEven()&&this.dAddOffset(1,0);var o=this,i=function(){o.dAddOffset(2,0),o.bitLength()>e&&o.subTo(q.ONE.shiftLeft(e-1),o),o.isProbablePrime(t)?setTimeout(function(){r()},0):setTimeout(i,0)};setTimeout(i,0)}else{var s=[],a=7&e;s.length=1+(e>>3),t.nextBytes(s),a>0?s[0]&=(1<<a)-1:s[0]=0,this.fromString(s,256)}}}var f=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}(),m=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}(),g=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=z();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(q.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=z();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}(),_=function(){function e(e){this.m=e,this.r2=z(),this.q3=z(),q.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=z();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}();function z(){return new q(null)}function B(e,t){return new q(e,t)}function H(e,t,n,r,o,i){for(;--i>=0;){var s=t*this[e++]+n[r]+o;o=Math.floor(s/67108864),n[r++]=67108863&s}return o}function V(e,t,n,r,o,i){for(var s=32767&t,a=t>>15;--i>=0;){var l=32767&this[e],c=this[e++]>>15,u=a*l+c*s;o=((l=s*l+((32767&u)<<15)+n[r]+(1073741823&o))>>>30)+(u>>>15)+a*c+(o>>>30),n[r++]=1073741823&l}return o}function W(e,t,n,r,o,i){for(var s=16383&t,a=t>>14;--i>=0;){var l=16383&this[e],c=this[e++]>>14,u=a*l+c*s;o=((l=s*l+((16383&u)<<14)+n[r]+o)>>28)+(u>>14)+a*c,n[r++]=268435455&l}return o}void 0!==T&&"Microsoft Internet Explorer"==T?.appName?(q.prototype.am=V,c=30):"Netscape"!=T?.appName?(q.prototype.am=H,c=26):(q.prototype.am=W,c=28),q.prototype.DB=c,q.prototype.DM=(1<<c)-1,q.prototype.DV=1<<c,q.prototype.FV=Math.pow(2,52),q.prototype.F1=52-c,q.prototype.F2=2*c-52;var v,b,y=[];for(v="0".charCodeAt(0),b=0;b<=9;++b)y[v++]=b;for(v="a".charCodeAt(0),b=10;b<36;++b)y[v++]=b;for(v="A".charCodeAt(0),b=10;b<36;++b)y[v++]=b;function K(e,t){var n=y[e.charCodeAt(t)];return null==n?-1:n}function Q(e){var t=z();return t.fromInt(e),t}function X(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}q.ZERO=Q(0),q.ONE=Q(1);class Y{constructor(){this.i=0,this.j=0,this.S=[]}init(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}next(){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]}}var w,k,S=null;if(null==S){S=[],k=0;var E=void 0;if(window?.crypto&&window?.crypto.getRandomValues){var I=new Uint32Array(256);for(window?.crypto.getRandomValues(I),E=0;E<I.length;++E)S[k++]=255&I[E]}var C=function(e){if(this.count=this.count||0,this.count>=256||k>=256)window?.removeEventListener?window?.removeEventListener("mousemove",C,!1):window?.detachEvent&&window?.detachEvent("onmousemove",C);else try{var t=e.x+e.y;S[k++]=255&t,this.count+=1}catch(n){}};window?.addEventListener?window?.addEventListener("mousemove",C,!1):window?.attachEvent&&window?.attachEvent("onmousemove",C)}function J(){if(null==w){for(w=new Y;k<256;){var e=Math.floor(65536*Math.random());S[k++]=255&e}for(w.init(S),k=0;k<S.length;++k)S[k]=0;k=0}return w.next()}class Z{constructor(){}nextBytes(e){for(var t=0;t<e.length;++t)e[t]=J()}}function ee(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 Z,s=[];t>2;){for(s[0]=0;0==s[0];)i.nextBytes(s);n[--t]=s[0]}return n[--t]=2,n[--t]=0,new q(n)}class te{constructor(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}doPublic(e){return e.modPowInt(this.e,this.n)}doPrivate(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)}setPublic(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=B(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")}encrypt(e){var t=ee(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}encryptLong(e){var t=this,n=(this.n.bitLength()+7>>3)-11;try{var r="";return e.length>n?(e.match(/.{1,117}/g).forEach(function(e){var n=t.encrypt(e);r+=n}),L(r)):L(this.encrypt(e))}catch(o){return!1}}decryptLong(e){var t=this,n=this.n.bitLength()+7>>3;e=D(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}}setPrivate(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=B(e,16),this.e=parseInt(t,16),this.d=B(n,16)):console.error("Invalid RSA private key")}setPrivateEx(e,t,n,r,o,i,s,a){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=B(e,16),this.e=parseInt(t,16),this.d=B(n,16),this.p=B(r,16),this.q=B(o,16),this.dmp1=B(i,16),this.dmq1=B(s,16),this.coeff=B(a,16)):console.error("Invalid RSA private key")}generate(e,t){var n=new Z,r=e>>1;this.e=parseInt(t,16);for(var o=new q(t,16);;){for(;this.p=new q(e-r,1,n),0!=this.p.subtract(q.ONE).gcd(o).compareTo(q.ONE)||!this.p.isProbablePrime(10););for(;this.q=new q(r,1,n),0!=this.q.subtract(q.ONE).gcd(o).compareTo(q.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var i=this.p;this.p=this.q,this.q=i}var s=this.p.subtract(q.ONE),a=this.q.subtract(q.ONE),l=s.multiply(a);if(0==l.gcd(o).compareTo(q.ONE)){this.n=this.p.multiply(this.q),this.d=o.modInverse(l),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}}decrypt(e){var t=B(e,16),n=this.doPrivate(t);return null==n?null:ne(n,this.n.bitLength()+7>>3)}generateAsync(e,t,n){var r=new Z,o=e>>1;this.e=parseInt(t,16);var i=new q(t,16),s=this,a=()=>{var t=()=>{if(s.p.compareTo(s.q)<=0){var e=s.p;s.p=s.q,s.q=e}var t=s.p.subtract(q.ONE),r=s.q.subtract(q.ONE),o=t.multiply(r);0==o.gcd(i).compareTo(q.ONE)?(s.n=s.p.multiply(s.q),s.d=i.modInverse(o),s.dmp1=s.d.mod(t),s.dmq1=s.d.mod(r),s.coeff=s.q.modInverse(s.p),setTimeout(function(){n()},0)):setTimeout(a,0)},l=()=>{s.q=z(),s.q.fromNumberAsync(o,1,r,function(){s.q.subtract(q.ONE).gcda(i,function(e){0==e.compareTo(q.ONE)&&s.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(l,0)})})},c=()=>{s.p=z(),s.p.fromNumberAsync(e-o,1,r,function(){s.p.subtract(q.ONE).gcda(i,function(e){0==e.compareTo(q.ONE)&&s.p.isProbablePrime(10)?setTimeout(l,0):setTimeout(c,0)})})};setTimeout(c,0)};setTimeout(a,0)}}function ne(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}class re extends te{constructor(e=""){super(),e&&("string"==typeof e?this.parseKey(e):(this.hasPrivateKeyProperty(e)||this.hasPublicKeyProperty(e))&&this.parsePropertiesFrom(e))}parseKey(e){try{var t=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e)?s.decode(e):a.unarmor(e),o=F.decode(r);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=B(t,16),n=o.sub[2].getHexStringValue(),this.e=parseInt(n,16);var i=o.sub[3].getHexStringValue();this.d=B(i,16);var l=o.sub[4].getHexStringValue();this.p=B(l,16);var c=o.sub[5].getHexStringValue();this.q=B(c,16);var u=o.sub[6].getHexStringValue();this.dmp1=B(u,16);var d=o.sub[7].getHexStringValue();this.dmq1=B(d,16);var p=o.sub[8].getHexStringValue();this.coeff=B(p,16)}else{if(2!==o.sub.length)return!1;var h=o.sub[1].sub[0];t=h.sub[0].getHexStringValue(),this.n=B(t,16),n=h.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(f){return!1}}hasPublicKeyProperty(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")}hasPrivateKeyProperty(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")}parsePropertiesFrom(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=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},n.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new re(e)},n.prototype.setPrivateKey=function(e){this.setKey(e)},n.prototype.setPublicKey=function(e){this.setKey(e)},n.prototype.decrypt=function(e){try{return this.getKey().decrypt(D(e))}catch(t){return!1}},n.prototype.encrypt=function(e){try{return L(this.getKey().encrypt(e))}catch(t){return!1}},n.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}},n.prototype.getKey=function(e){if(!this.key){if(this.key=new re,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},n.version="3.1.4"}t["default"]=n},2984:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SinglePromise=void 0;let n=new Map;t.SinglePromise=class{constructor(e){this.clientId=e?.clientId||"",n=n||new Map}async run(e,t){e=`${this.clientId}_${e}`;let r=n.get(e);return r||(r=new Promise((r,o)=>{(async()=>{try{await this.runIdlePromise();const e=t();r(await e)}catch(i){o(i)}finally{n["delete"](e)}})()}),n.set(e,r)),r}runIdlePromise(){return Promise.resolve()}}},3721:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathName=t.deepClone=void 0;const n=e=>{const t=t=>{for(const 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.deepClone=n,t.getPathName=e=>{const t=e.match(/^(?:http(s)?:\/\/[^\/]+)?(\/[^\?#]*)/);return t&&t[2]||""}},6180:function(e,t){"use strict";function n(){if("undefined"==typeof globalThis)return!1;const{wx:e}=globalThis;if(void 0===e)return!1;if(globalThis.Page===undefined)return!1;if(!e.getSystemInfoSync)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.getSystemInfoSync())return!1;if("qq"===e.getSystemInfoSync().AppPlatform)return!1}catch(t){return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.isInMpWebView=function(){return r},t.isMp=n;let r=!1;function o(){r=r||typeof window!==undefined&&"miniprogram"===window.__wxjs_environment}try{n()||(r=r||!!navigator.userAgent.match(/miniprogram/i)||"miniprogram"===window.__wxjs_environment,window&&window.WeixinJSBridge&&window.WeixinJSBridge.invoke?o():"undefined"!=typeof document&&document.addEventListener("WeixinJSBridgeReady",o,!1))}catch(i){}},3186:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0,t["default"]=class{constructor(e){if(this.params={},"string"==typeof e)this.parse(e);else if(e&&"object"==typeof e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.append(t,e[t])}parse(e){e.split("&").forEach(e=>{const[t,n]=e.split("=").map(decodeURIComponent);this.append(t,n)})}append(e,t){this.params[e]?this.params[e]=this.params[e].concat([t]):this.params[e]=[t]}get(e){return this.params[e]?this.params[e][0]:null}getAll(e){return this.params[e]||[]}"delete"(e){delete this.params[e]}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}set(e,t){this.params[e]=[t]}toString(){const e=[];for(const t in this.params)Object.prototype.hasOwnProperty.call(this.params,t)&&this.params[t].forEach(n=>{e.push(`${encodeURIComponent(t)}=${encodeURIComponent(n)}`)});return e.join("&")}}},2430:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uuidv4=function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}},9549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerStorage=function(e){try{e.registerComponent(y)}catch(t){console.warn(t)}};var r,o=n(3882),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)},s=function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(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},a=function(e,t){if("object"==typeof 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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};!function(e){e.put="put",e.post="post"}(r||(r={}));var u=o.constants.getSdkName,d=o.constants.ERRORS,p=o.constants.COMMUNITY_SITE_URL,h=o.utils.isArray,f=o.utils.isString,m=o.utils.isPalinObject,g=o.utils.execCallback,_=o.helpers.catchErrorsDecorator,v="storage",b=new(function(){function e(){}return e.prototype.uploadFile=function(e,t){return l(this,void 0,void 0,function(){var n,o,s,a,l,p,h,m,_,b,y,w,k,S,E,I,C,T,A,O,x,P,M,N,R;return c(this,function(c){switch(c.label){case 0:if(n=e.cloudPath,o=e.filePath,s=e.onUploadProgress,a=e.method,l=void 0===a?"put":a,p=e.headers,h=void 0===p?{}:p,!f(n)||!o)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".uploadFile] invalid params")}));return m={put:r.put,post:r.post}[l.toLocaleLowerCase()]||r.put,_=this.request,b={path:n,method:m},m===r.put&&(b.headers=h),[4,_.send("storage.getUploadMetadata",b)];case 1:return y=c.sent(),w=y.data,k=w.url,S=w.authorization,E=w.token,I=w.fileId,C=w.cosFileId,T=w.download_url,A=y.requestId,x=i(i({},O={url:k,file:o,name:n,onUploadProgress:s}),{method:r.put,headers:i(i({},h),{authorization:S,"x-cos-meta-fileid":C,"x-cos-security-token":E})}),P=i(i({},O),{method:r.post,data:{key:n,signature:S,"x-cos-meta-fileid":C,success_action_status:"201","x-cos-security-token":E}}),(R={})[r.put]={params:x,isSuccess:function(e){return e>=200&&e<300}},R[r.post]={params:P,isSuccess:function(e){return 201===e}},M=R,[4,_.upload(M[m].params)];case 2:return N=c.sent(),M[m].isSuccess(N.statusCode)?[2,g(t,null,{fileID:I,download_url:T,requestId:A})]:[2,g(t,new Error("[".concat(u(),"][").concat(d.OPERATION_FAIL,"][").concat(v,"]:").concat(N.data)))]}})})},e.prototype.getUploadMetadata=function(e,t){return l(this,void 0,void 0,function(){var n,r,o,i,s;return c(this,function(a){switch(a.label){case 0:if(n=e.cloudPath,!f(n))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getUploadMetadata] invalid cloudPath")}));r=this.request,o="storage.getUploadMetadata",a.label=1;case 1:return a.trys.push([1,3,,4]),[4,r.send(o,{path:n})];case 2:return i=a.sent(),[2,g(t,null,i)];case 3:return s=a.sent(),[2,g(t,s)];case 4:return[2]}})})},e.prototype.deleteFile=function(e,t){return l(this,void 0,void 0,function(){var n,r,o,i,s,a;return c(this,function(l){switch(l.label){case 0:if(!(n=e.fileList)||!h(n)||0===n.length)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".deleteFile] fileList must not be empty")}));for(r=0,o=n;r<o.length;r++)if(!(i=o[r])||!f(i))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".deleteFile] fileID must be string")}));return[4,this.request.send("storage.batchDeleteFile",{fileid_list:n})];case 1:return(s=l.sent()).code?[2,g(t,null,s)]:(a={fileList:s.data.delete_list,requestId:s.requestId},[2,g(t,null,a)])}})})},e.prototype.getTempFileURL=function(e,t){return l(this,void 0,void 0,function(){var n,r,o,i,s,a;return c(this,function(l){switch(l.label){case 0:if(!(n=e.fileList)||!h(n)||0===n.length)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getTempFileURL] fileList must not be empty")}));for(r=[],o=0,i=n;o<i.length;o++)if(s=i[o],m(s)){if(!Object.prototype.hasOwnProperty.call(s,"fileID")||!Object.prototype.hasOwnProperty.call(s,"maxAge"))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getTempFileURL] file info must include fileID and maxAge")}));r.push({fileid:s.fileID,max_age:s.maxAge})}else{if(!f(s))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getTempFileURL] invalid fileList")}));r.push({fileid:s})}return[4,this.request.send("storage.batchGetDownloadUrl",{file_list:r})];case 1:return(a=l.sent()).code?[2,g(t,null,a)]:[2,g(t,null,{fileList:a.data.download_list,requestId:a.requestId})]}})})},e.prototype.downloadFile=function(e,t){return l(this,void 0,void 0,function(){var n,r,o,i,s,a;return c(this,function(l){switch(l.label){case 0:if(n=e.fileID,!f(n))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[".concat(v,".getTempFileURL] fileID must be string")}));return[4,this.getTempFileURL.call(this,{fileList:[{fileID:n,maxAge:600}]})];case 1:return r=l.sent(),"SUCCESS"!==(o=r.fileList[0]).code?[2,g(t,o)]:(i=this.request,s=encodeURI(o.download_url),[4,i.download({url:s})]);case 2:return a=l.sent(),[2,g(t,null,a)]}})})},s([_({customInfo:{className:"Cloudbase",methodName:"uploadFile"},title:"上传文件失败",messages:["请确认以下各项:"," 1 - 调用 uploadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"uploadFile",null),s([_({customInfo:{className:"Cloudbase",methodName:"getUploadMetadata"},title:"获取上传元信息失败",messages:["请确认以下各项:"," 1 - 调用 getUploadMetadata() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"getUploadMetadata",null),s([_({customInfo:{className:"Cloudbase",methodName:"deleteFile"},title:"删除文件失败",messages:["请确认以下各项:"," 1 - 调用 deleteFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"deleteFile",null),s([_({customInfo:{className:"Cloudbase",methodName:"getTempFileURL"},title:"获取文件下载链接",messages:["请确认以下各项:"," 1 - 调用 getTempFileURL() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"getTempFileURL",null),s([_({customInfo:{className:"Cloudbase",methodName:"downloadFile"},title:"下载文件失败",messages:["请确认以下各项:"," 1 - 调用 downloadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:".concat(p)]}),a("design:type",Function),a("design:paramtypes",[Object,Function]),a("design:returntype",Promise)],e.prototype,"downloadFile",null),e}()),y={name:v,entity:{uploadFile:b.uploadFile,deleteFile:b.deleteFile,getTempFileURL:b.getTempFileURL,downloadFile:b.downloadFile,getUploadMetadata:b.getUploadMetadata}};try{cloudbase.registerComponent(y)}catch(w){}},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},s=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 a,l=s(n(9333)),c=n(4442);!function(e){e.WEB="web",e.WX_MP="wx_mp"}(a=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],s=i.isMatch,a=i.genAdapter,l=i.runtime;if(s())return{adapter:r({isMatch:s},a(t)),runtime:l}}},t.useDefaultAdapter=function(){return{adapter:l.genAdapter(),runtime:a.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)},s=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},a=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebRequest=t.genAdapter=void 0;var l=n(6885),c=n(4442),u=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,s=e.headers,a=void 0===s?{}:s,l={post:"post",put:"put"}[null==o?void 0:o.toLowerCase()]||"put",c=new FormData;return"post"===l?(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:l}),this.restrictedMethods.includes("upload"))):this.request(i(i({},e),{method:"put",headers:a,body:n}),this.restrictedMethods.includes("upload"))},t.prototype.download=function(e){return s(this,void 0,void 0,function(){var t,n,r,o;return a(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,this.get(i(i({},e),{headers:{},responseType:"blob"}))];case 1:return t=s.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 s.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 s(this,void 0,void 0,function(){var n,r,o,l,c,u,d,p,h,f,m,g=this;return a(this,function(_){switch(_.label){case 0:return n=new AbortController,r=e.url,o=e.enableAbort,l=void 0!==o&&o,c=e.stream,u=void 0!==c&&c,d=e.signal,p=e.timeout,h=null!=p?p:this.timeout,d&&(d.aborted&&n.abort(),d.addEventListener("abort",function(){return n.abort()})),f=null,l&&h&&(f=setTimeout(function(){console.warn(g.timeoutMsg),n.abort(new Error(g.timeoutMsg))},h)),[4,fetch(r,i(i({},e),{signal:n.signal})).then(function(e){return s(g,void 0,void 0,function(){var t,n,r;return a(this,function(o){switch(o.label){case 0:return clearTimeout(f),e.ok?(t=e,[3,3]):[3,1];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]}})})})["catch"](function(e){return clearTimeout(f),Promise.reject(e)})];case 1:return m=_.sent(),[2,{data:u?m.body:(null===(t=m.headers.get("content-type"))||void 0===t?void 0:t.includes("application/json"))?m.json():m.text(),statusCode:m.status,header:m.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,s,a=e.url,l=e.headers,d=void 0===l?{}:l,p=e.data,h=e.responseType,f=e.withCredentials,m=e.body,g=e.onUploadProgress,_=(0,c.formatUrl)((0,u.getProtocol)(),a,"get"===r?p:{}),v=new XMLHttpRequest;v.open(r,_),h&&(v.responseType=h),Object.keys(d).forEach(function(e){v.setRequestHeader(e,d[e])}),g&&v.upload.addEventListener("progress",g),v.onreadystatechange=function(){var e={};if(4===v.readyState){var t=v.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=v.status;try{e.data="blob"===h?v.response:JSON.parse(v.responseText)}catch(r){e.data="blob"===h?v.response:v.responseText}clearTimeout(i),o(e)}},t&&n.timeout&&(i=setTimeout(function(){console.warn(n.timeoutMsg),v.abort()},n.timeout)),s=(0,c.isFormData)(p)?p:"application/x-www-form-urlencoded"===d["content-type"]?(0,c.toQueryString)(p):m||(p?JSON.stringify(p):undefined),f&&(v.withCredentials=!0),v.send(s)})},t}(l.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=!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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.catchErrorsDecorator=void 0;var i=n(4442),s=n(7281),a=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(a=-1!==navigator.userAgent.indexOf("Firefox"));var l=a?/(\.js\/)?__decorate(\$\d+)?<@.*\d$/:/(\/\w+\.js\.)?__decorate(\$\d+)?\s*\(.*\)$/,c=/https?:\/\/.+:\d*\/.*\.js:\d+:\d+/;function u(e){var t=e.err,n=e.className,r=e.methodName,o=e.sourceLink;if(!o)return null;var i,s=t.stack.split("\n"),l=a?/^catchErrorsDecorator\/<\/descriptor.value@.*\d$/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]\\s*\\(.*\\)$")),u=a?/^catchErrorsDecorator\/<\/descriptor.value/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]")),d=s.findIndex(function(e){return l.test(e)});if(-1!==d){var p=s.filter(function(e,t){return t>d});p.unshift(s[d].replace(u,"".concat(n,".").concat(r)).replace(c,o)),(i=new Error).stack="".concat(a?"@debugger":"Error","\n").concat(p.join("\n"))}return i}t.catchErrorsDecorator=function(e){var t=e.mode,n=void 0===t?"async":t,a=e.customInfo,d=void 0===a?{}:a,p=e.title,h=e.messages,f=void 0===h?[]:h;return function(e,t,a){if(s.IS_DEBUG_MODE){var h=d.className||e.constructor.name,m=d.methodName||t,g=a.value,_=function(e){var t="",n=e.stack.split("\n"),r=n.findIndex(function(e){return l.test(e)});if(-1!==r){var o=c.exec(n[r+1]||"");t=o?o[0]:""}return t}(new Error);a.value="sync"===n?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u({err:new Error,className:h,methodName:m,sourceLink:_});try{return g.apply(this,e)}catch(d){var r=d,o=d.message,s=d.error,a=d.error_description,l={title:p||"".concat(h,".").concat(m," failed"),content:[{type:"error",body:d}]};if(o&&/^\{.*\}$/.test(o)){var c=JSON.parse(o);l.subtitle=o,c.code&&(n?(n.code=c.code,n.msg=c.msg):(d.code=c.code,d.message=c.msg),r=n||d,l.content=f.map(function(e){return{type:"info",body:e}}))}throw s&&a&&(l.subtitle=a,n?(n.code=s,n.msg=a):(d.code=s,d.message=a),r=n||d,l.content=f.map(function(e){return{type:"info",body:e}})),(0,i.printGroupLog)(l),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,s,a,l,c,d;return o(this,function(o){switch(o.label){case 0:t=u({err:new Error,className:h,methodName:m,sourceLink:_}),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,g.apply(this,e)];case 2:return[2,o.sent()];case 3:throw n=o.sent(),r=n,s=n.message,a=n.error,l=n.error_description,c={title:p||"".concat(h,".").concat(m," failed"),content:[{type:"error",body:n}]},s&&/^\{.*\}$/.test(s)&&(d=JSON.parse(s),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=f.map(function(e){return{type:"info",body:e}}))),a&&l&&(c.subtitle=l,t?(t.code=a,t.msg=l):(n.code=a,n.message=l),r=t||n,c.content=f.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 s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseCache=void 0;var a=n(6885),l=n(4442),c=n(7281),u=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}(a.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,l.printWarn)(c.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new u(t.root));case"none":return new u(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,l.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 s(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,l.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 s(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,l.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 s(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 s=n(4442),a=function(e,t){this.data=t||null,this.name=e};t.CloudbaseEvent=a;var l=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}(a);t.IErrorEvent=l;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,s.isInstanceOf)(e,l))return console.error(e.error),this;var n=(0,s.isString)(e)?new a(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 u=new c;t.addEventListener=function(e,t){u.on(e,t)},t.activateEvent=function(e,t){void 0===t&&(t={}),u.fire(e,t)},t.removeEventListener=function(e,t){u.off(e,t)}},4442:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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 r=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||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,r.getSdkName)(),"][").concat(e,"]:").concat(t))},t.printError=function(e,t){console.error({code:e,msg:"[".concat((0,r.getSdkName)(),"][").concat(e,"]:").concat(t)})},t.printInfo=function(e,t){console.log("[".concat((0,r.getSdkName)(),"][").concat(e,"]:").concat(t))},t.throwError=function(e,t){throw new Error(JSON.stringify({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,s=void 0===i?[]:i,a=e.printTrace,l=void 0!==a&&a,c=e.collapsed;void 0!==c&&c?(console.groupCollapsed||console.error)(n,o):(console.group||console.error)(n,o);for(var u=0,d=s;u<d.length;u++){var p=d[u],h=p.type,f=p.body;switch(h){case"info":console.log(f);break;case"warn":console.warn(f);break;case"error":console.error(f)}}l&&(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}},5751:function(e,t,n){"use strict";var r=n(2032)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.RUNTIME=void 0,t.useAdapters=function(e,t){for(var n=(0,s.isArray)(e)?e:[e],r=0,o=n;r<o.length;r++){var i=o[r],l=i.isMatch,c=i.genAdapter,u=i.runtime;if(l())return{adapter:a({isMatch:l},c(t)),runtime:u}}},t.useDefaultAdapter=function(){return{adapter:i.genAdapter(),runtime:o.WEB}};var o,i=r(n(2414)),s=n(4263),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)};!function(e){e.WEB="web",e.WX_MP="wx_mp"}(o||(t.RUNTIME=o={}))},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),s=n(1967),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)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)}),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)},c=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},u=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},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 a(t,e),t.prototype.get=function(e){return this.request(l(l({},e),{method:"get"}),this.restrictedMethods.includes("get"))},t.prototype.post=function(e){return this.request(l(l({},e),{method:"post"}),this.restrictedMethods.includes("post"))},t.prototype.put=function(e){return this.request(l(l({},e),{method:"put"}))},t.prototype.upload=function(e){var t=e.data,n=e.file,r=e.name,o=e.method,i=e.headers,s=void 0===i?{}:i,a={post:"post",put:"put"}[null==o?void 0:o.toLowerCase()]||"put",c=new FormData;return"post"===a?(Object.keys(t).forEach(function(e){c.append(e,t[e])}),c.append("key",r),c.append("file",n),this.request(l(l({},e),{data:c,method:a}),this.restrictedMethods.includes("upload"))):this.request(l(l({},e),{method:"put",headers:s,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 u(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.get(l(l({},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,s,a,d,p,h,f,m,g=this;return u(this,function(_){switch(_.label){case 0:return n=new AbortController,r=e.url,o=e.enableAbort,i=void 0!==o&&o,s=e.stream,a=void 0!==s&&s,d=e.signal,p=e.timeout,h=null!=p?p:this.timeout,d&&(d.aborted&&n.abort(),d.addEventListener("abort",function(){return n.abort()})),f=null,i&&h&&(f=setTimeout(function(){console.warn(g.timeoutMsg),n.abort(new Error(g.timeoutMsg))},h)),[4,fetch(r,l(l({},e),{signal:n.signal})).then(function(e){return c(g,void 0,void 0,function(){var t,n,r;return u(this,function(o){switch(o.label){case 0:return clearTimeout(f),e.ok?(t=e,[3,3]):[3,1];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]}})})})["catch"](function(e){return clearTimeout(f),Promise.reject(e)})];case 1:return m=_.sent(),[2,{data:a?m.body:(null===(t=m.headers.get("content-type"))||void 0===t?void 0:t.includes("application/json"))?m.json():m.text(),statusCode:m.status,header:m.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 a,l,c=e.url,u=e.headers,d=void 0===u?{}:u,p=e.data,h=e.responseType,f=e.withCredentials,m=e.body,g=e.onUploadProgress,_=(0,i.formatUrl)((0,s.getProtocol)(),c,"get"===r?p:{}),v=new XMLHttpRequest;v.open(r,_),h&&(v.responseType=h),Object.keys(d).forEach(function(e){v.setRequestHeader(e,d[e])}),g&&v.upload.addEventListener("progress",g),v.onreadystatechange=function(){var e={};if(4===v.readyState){var t=v.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=v.status;try{e.data="blob"===h?v.response:JSON.parse(v.responseText)}catch(r){e.data="blob"===h?v.response:v.responseText}clearTimeout(a),o(e)}},t&&n.timeout&&(a=setTimeout(function(){console.warn(n.timeoutMsg),v.abort()},n.timeout)),l=(0,i.isFormData)(p)?p:"application/x-www-form-urlencoded"===d["content-type"]?(0,i.toQueryString)(p):m||(p?JSON.stringify(p):undefined),f&&(v.withCredentials=!0),v.send(l)})},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=!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"}},6884: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,a=e.customInfo,d=void 0===a?{}:a,p=e.title,h=e.messages,f=void 0===h?[]:h;return function(e,t,a){if(o.IS_DEBUG_MODE){var h=d.className||e.constructor.name,m=d.methodName||t,g=a.value,_=function(e){var t="",n=e.stack.split("\n"),r=n.findIndex(function(e){return l.test(e)});if(-1!==r){var o=c.exec(n[r+1]||"");t=o?o[0]:""}return t}(new Error);a.value="sync"===n?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u({err:new Error,className:h,methodName:m,sourceLink:_});try{return g.apply(this,e)}catch(d){var o=d,i=d.message,s=d.error,a=d.error_description,l={title:p||"".concat(h,".").concat(m," failed"),content:[{type:"error",body:d}]};if(i&&/^\{.*\}$/.test(i)){var c=JSON.parse(i);l.subtitle=i,c.code&&(n?(n.code=c.code,n.msg=c.msg):(d.code=c.code,d.message=c.msg),o=n||d,l.content=f.map(function(e){return{type:"info",body:e}}))}throw s&&a&&(l.subtitle=a,n?(n.code=s,n.msg=a):(d.code=s,d.message=a),o=n||d,l.content=f.map(function(e){return{type:"info",body:e}})),(0,r.printGroupLog)(l),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,a,l,c,d;return s(this,function(s){switch(s.label){case 0:t=u({err:new Error,className:h,methodName:m,sourceLink:_}),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,g.apply(this,e)];case 2:return[2,s.sent()];case 3:throw n=s.sent(),o=n,i=n.message,a=n.error,l=n.error_description,c={title:p||"".concat(h,".").concat(m," 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=f.map(function(e){return{type:"info",body:e}}))),a&&l&&(c.subtitle=l,t?(t.code=a,t.msg=l):(n.code=a,n.message=l),o=t||n,c.content=f.map(function(e){return{type:"info",body:e}})),(0,r.printGroupLog)(c),o;case 4:return[2]}})})}}}};var r=n(4263),o=n(6884),i=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},a=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(a=-1!==navigator.userAgent.indexOf("Firefox"));var l=a?/(\.js\/)?__decorate(\$\d+)?<@.*\d$/:/(\/\w+\.js\.)?__decorate(\$\d+)?\s*\(.*\)$/,c=/https?:\/\/.+:\d*\/.*\.js:\d+:\d+/;function u(e){var t=e.err,n=e.className,r=e.methodName,o=e.sourceLink;if(!o)return null;var i,s=t.stack.split("\n"),l=a?/^catchErrorsDecorator\/<\/descriptor.value@.*\d$/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]\\s*\\(.*\\)$")),u=a?/^catchErrorsDecorator\/<\/descriptor.value/:new RegExp("".concat(n,"\\.descriptor.value\\s*\\[as\\s").concat(r,"\\]")),d=s.findIndex(function(e){return l.test(e)});if(-1!==d){var p=s.filter(function(e,t){return t>d});p.unshift(s[d].replace(u,"".concat(n,".").concat(r)).replace(c,o)),(i=new Error).stack="".concat(a?"@debugger":"Error","\n").concat(p.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)["default"],o=n(2032)["default"];Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AbortController",{enumerable:!0,get:function(){return p["default"]}}),t.utils=t.langEvent=t.jwt=t.helpers=t.events=t.constants=t.cache=t.adapters=void 0;var i=o(n(6884));t.constants=i;var s=o(n(5751));t.adapters=s;var a=o(n(8305));t.cache=a;var l=o(n(4302));t.events=l;var c=o(n(6367));t.langEvent=c;var u=o(n(4263));t.utils=u;var d=o(n(500));t.helpers=d;var p=r(n(6817)),h=r(n(9804));t.jwt={decode:h["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),s=n(6884),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)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)}),l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},c=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},u=function(e){function t(t){var n=e.call(this)||this;return n.root=t,t.tcbCacheObject||(t.tcbCacheObject={}),n}return a(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,a=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)(s.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new u(t.root));case"none":return new u(t.root)}}(this.persistenceTag,this.platformInfo.adapter),this.keys=a)}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:s.ERRORS.OPERATION_FAIL,msg:"[".concat((0,s.getSdkName)(),"][").concat(s.ERRORS.OPERATION_FAIL,"]setStore failed"),info:o}))}}else(0,i.printWarn)(s.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use setStoreAsync insteed")},e.prototype.setStoreAsync=function(e,t,n){return l(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)(s.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getStoreAsync insteed")},e.prototype.getStoreAsync=function(e,t){var n;return l(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)(s.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use removeStoreAsync insteed")},e.prototype.removeStoreAsync=function(e){return l(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)}),s=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))},a=t.CloudbaseEvent=function(e,t){this.data=t||null,this.name=e},l=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}(a),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,l))return console.error(e.error),this;var n=(0,o.isString)(e)?new a(e,t||{}):e,r=n.name;if(this.listens(r)){n.target=this;for(var i=0,c=this.listeners[r]?s([],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||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.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,s=void 0===i?[]:i,a=e.printTrace,l=void 0!==a&&a,c=e.collapsed;void 0!==c&&c?(console.groupCollapsed||console.error)(n,o):(console.group||console.error)(n,o);for(var u=0,d=s;u<d.length;u++){var p=d[u],h=p.type,f=p.body;switch(h){case"info":console.log(f);break;case"warn":console.warn(f);break;case"error":console.error(f)}}l&&(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(6884);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)})},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;!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,s){return o((a=o(o(t,e),o(r,s)))<<(l=i)|a>>>32-l,n);var a,l}function s(e,t,n,r,o,s,a){return i(t&n|~t&r,e,t,o,s,a)}function a(e,t,n,r,o,s,a){return i(t&r|n&~r,e,t,o,s,a)}function l(e,t,n,r,o,s,a){return i(t^n^r,e,t,o,s,a)}function c(e,t,n,r,o,s,a){return i(n^(t|~r),e,t,o,s,a)}function u(e,t){var n,r,i,u,d;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var p=1732584193,h=-271733879,f=-1732584194,m=271733878;for(n=0;n<e.length;n+=16)r=p,i=h,u=f,d=m,p=s(p,h,f,m,e[n],7,-680876936),m=s(m,p,h,f,e[n+1],12,-389564586),f=s(f,m,p,h,e[n+2],17,606105819),h=s(h,f,m,p,e[n+3],22,-1044525330),p=s(p,h,f,m,e[n+4],7,-176418897),m=s(m,p,h,f,e[n+5],12,1200080426),f=s(f,m,p,h,e[n+6],17,-1473231341),h=s(h,f,m,p,e[n+7],22,-45705983),p=s(p,h,f,m,e[n+8],7,1770035416),m=s(m,p,h,f,e[n+9],12,-1958414417),f=s(f,m,p,h,e[n+10],17,-42063),h=s(h,f,m,p,e[n+11],22,-1990404162),p=s(p,h,f,m,e[n+12],7,1804603682),m=s(m,p,h,f,e[n+13],12,-40341101),f=s(f,m,p,h,e[n+14],17,-1502002290),p=a(p,h=s(h,f,m,p,e[n+15],22,1236535329),f,m,e[n+1],5,-165796510),m=a(m,p,h,f,e[n+6],9,-1069501632),f=a(f,m,p,h,e[n+11],14,643717713),h=a(h,f,m,p,e[n],20,-373897302),p=a(p,h,f,m,e[n+5],5,-701558691),m=a(m,p,h,f,e[n+10],9,38016083),f=a(f,m,p,h,e[n+15],14,-660478335),h=a(h,f,m,p,e[n+4],20,-405537848),p=a(p,h,f,m,e[n+9],5,568446438),m=a(m,p,h,f,e[n+14],9,-1019803690),f=a(f,m,p,h,e[n+3],14,-187363961),h=a(h,f,m,p,e[n+8],20,1163531501),p=a(p,h,f,m,e[n+13],5,-1444681467),m=a(m,p,h,f,e[n+2],9,-51403784),f=a(f,m,p,h,e[n+7],14,1735328473),p=l(p,h=a(h,f,m,p,e[n+12],20,-1926607734),f,m,e[n+5],4,-378558),m=l(m,p,h,f,e[n+8],11,-2022574463),f=l(f,m,p,h,e[n+11],16,1839030562),h=l(h,f,m,p,e[n+14],23,-35309556),p=l(p,h,f,m,e[n+1],4,-1530992060),m=l(m,p,h,f,e[n+4],11,1272893353),f=l(f,m,p,h,e[n+7],16,-155497632),h=l(h,f,m,p,e[n+10],23,-1094730640),p=l(p,h,f,m,e[n+13],4,681279174),m=l(m,p,h,f,e[n],11,-358537222),f=l(f,m,p,h,e[n+3],16,-722521979),h=l(h,f,m,p,e[n+6],23,76029189),p=l(p,h,f,m,e[n+9],4,-640364487),m=l(m,p,h,f,e[n+12],11,-421815835),f=l(f,m,p,h,e[n+15],16,530742520),p=c(p,h=l(h,f,m,p,e[n+2],23,-995338651),f,m,e[n],6,-198630844),m=c(m,p,h,f,e[n+7],10,1126891415),f=c(f,m,p,h,e[n+14],15,-1416354905),h=c(h,f,m,p,e[n+5],21,-57434055),p=c(p,h,f,m,e[n+12],6,1700485571),m=c(m,p,h,f,e[n+3],10,-1894986606),f=c(f,m,p,h,e[n+10],15,-1051523),h=c(h,f,m,p,e[n+1],21,-2054922799),p=c(p,h,f,m,e[n+8],6,1873313359),m=c(m,p,h,f,e[n+15],10,-30611744),f=c(f,m,p,h,e[n+6],15,-1560198380),h=c(h,f,m,p,e[n+13],21,1309151649),p=c(p,h,f,m,e[n+4],6,-145523070),m=c(m,p,h,f,e[n+11],10,-1120210379),f=c(f,m,p,h,e[n+2],15,718787259),h=c(h,f,m,p,e[n+9],21,-343485551),p=o(p,r),h=o(h,i),f=o(f,u),m=o(m,d);return[p,h,f,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 p(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 h(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 f(e){return unescape(encodeURIComponent(e))}function m(e){return function(e){return d(u(p(e),8*e.length))}(f(e))}function g(e,t){return function(e,t){var n,r,o=p(e),i=[],s=[];for(i[15]=s[15]=undefined,o.length>16&&(o=u(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],s[n]=1549556828^o[n];return r=u(i.concat(p(t)),512+8*t.length),d(u(s.concat(r),640))}(f(e),f(t))}function _(e,t,n){return t?n?g(t,e):h(g(t,e)):n?m(e):h(m(e))}(r=function(){return _}.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 s={};if(r)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&s[u[0]]||(void 0!==i&&("undefined"==typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},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){"use strict";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"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,s,a){var l,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),s?(l=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(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}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),s=Object(i.a)(o,r,[],!1,null,null,null);s.options.__file="packages/button/src/button.vue";var a=s.exports;a.install=function(e){e.component(a.name,a)},t["default"]=a}})},5735:function(e,t,n){"use strict";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"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,s,a){var l,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),s?(l=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(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}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),s=n(11),a=n.n(s),l=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 u(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l));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,s=r.boxSizing,a=r.contextStyle;l.setAttribute("style",a+";\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"),l.value=e.value||e.placeholder||"";var u=l.scrollHeight,d={};"border-box"===s?u+=i:"content-box"===s&&(u-=o),l.value="";var p=l.scrollHeight-o;if(null!==t){var h=p*t;"border-box"===s&&(h=h+o+i),u=Math.max(h,u),d.minHeight=h+"px"}if(null!==n){var f=p*n;"border-box"===s&&(f=f+o+i),u=Math.min(f,u)}return d.height=u+"px",l.parentNode&&l.parentNode.removeChild(l),l=null,d}var d=n(9),p=n.n(d),h=n(21),f={name:"ElInput",componentName:"ElInput",mixins:[i.a,a.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 p()({},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=u(this.$refs.textarea,t,n)}else this.textareaCalcStyle={minHeight:u(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(h.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)}},m=f,g=n(0),_=Object(g.a)(m,r,[],!1,null,null,null);_.options.__file="packages/input/src/input.vue";var v=_.exports;v.install=function(e){e.component(v.name,v)},t["default"]=v},9:function(e,t){e.exports=n(8589)}})},4511:function(e,t,n){"use strict";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"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,s,a){var l,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),s?(l=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(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}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 s={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}}},a=n(0),l=Object(a.a)(s,i,[],!1,null,null,null);l.options.__file="packages/loading/src/loading.vue";var c=l.exports,u=n(2),d=n(13),p=n(42),h=n.n(p),f=o.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(u.getStyle)(document.body,"position"),t.originalOverflow=Object(u.getStyle)(document.body,"overflow"),t.maskStyle.zIndex=d.PopupManager.nextZIndex(),Object(u.addClass)(t.mask,"is-fullscreen"),n(document.body,t,r)):(Object(u.removeClass)(t.mask,"is-fullscreen"),r.modifiers.body?(t.originalPosition=Object(u.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(u.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(u.getStyle)(t,"position"),n(t,t,r)))}):(h()(t.instance,function(e){if(t.instance.hiding){t.domVisible=!1;var n=r.modifiers.fullscreen||r.modifiers.body?document.body:t;Object(u.removeClass)(n,"el-loading-parent--relative"),Object(u.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(u.getStyle)(n,"display")||"hidden"===Object(u.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(u.addClass)(t,"el-loading-parent--relative"),r.modifiers.fullscreen&&r.modifiers.lock&&Object(u.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"),s=e.getAttribute("element-loading-background"),a=e.getAttribute("element-loading-custom-class"),l=r.context,c=new f({el:document.createElement("div"),data:{text:l&&l[o]||o,spinner:l&&l[i]||i,background:l&&l[s]||s,customClass:l&&l[a]||a,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,_=n(9),v=n.n(_),b=o.a.extend(c),y={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},w=void 0;b.prototype.originalPosition="",b.prototype.originalOverflow="",b.prototype.close=function(){var e=this;this.fullscreen&&(w=undefined),h()(this,function(t){var n=e.fullscreen||e.body?document.body:e.target;Object(u.removeClass)(n,"el-loading-parent--relative"),Object(u.removeClass)(n,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()},300),this.visible=!1};var k=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(!o.a.prototype.$isServer){if("string"==typeof(e=v()({},y,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 b({el:document.createElement("div"),data:e});return function(e,t,n){var r={};e.fullscreen?(n.originalPosition=Object(u.getStyle)(document.body,"position"),n.originalOverflow=Object(u.getStyle)(document.body,"overflow"),r.zIndex=d.PopupManager.nextZIndex()):e.body?(n.originalPosition=Object(u.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(u.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(u.addClass)(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object(u.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(g),e.prototype.$loading=k},directive:g,service:k}},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";t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=undefined;var r="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};t.hasClass=f,t.addClass=function(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),o=0,i=r.length;o<i;o++){var s=r[o];s&&(e.classList?e.classList.add(s):f(e,s)||(n+=" "+s))}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 s=n[o];s&&(e.classList?e.classList.remove(s):f(e,s)&&(r=r.replace(" "+s+" "," ")))}e.classList||e.setAttribute("class",u(r))}},t.setStyle=function _(e,t,n){if(e&&t)if("object"===(void 0===t?"undefined":r(t)))for(var o in t)t.hasOwnProperty(o)&&_(e,o,t[o]);else"opacity"===(t=d(t))&&c<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};var o,i=n(4478),s=((o=i)&&o.__esModule?o:{"default":o})["default"].prototype.$isServer,a=/([\:\-\_]+(.))/g,l=/^moz([A-Z])/,c=s?0:Number(document.documentMode),u=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},d=function(e){return e.replace(a,function(e,t,n,r){return r?n.toUpperCase():n}).replace(l,"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 f(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=c<9?function(e,t){if(!s){if(!e||!t)return null;"float"===(t=d(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=d(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=l(n(4478)),o=l(n(8589)),i=l(n(8432)),s=l(n(9686)),a=n(2865);function l(e){return e&&e.__esModule?e:{"default":e}}var c=1,u=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,a.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,a.getStyle)(document.body,"paddingRight"),10)),u=(0,s["default"])();var o=document.documentElement.clientHeight<document.body.scrollHeight,l=(0,a.getStyle)(document.body,"overflowY");u>0&&(o||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+u+"px"),(0,a.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,a.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},s=n(2865),a=!1,l=!1,c=void 0,u=function(){if(!i["default"].prototype.$isServer){var e=p.modalDom;return e?a=!0:(a=!1,e=document.createElement("div"),p.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(){p.doOnModalClick&&p.doOnModalClick()})),e}},d={},p={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 p.zIndex++},modalStack:[],doOnModalClick:function(){var e=p.modalStack[p.modalStack.length-1];if(e){var t=p.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 l=this.modalStack,c=0,d=l.length;c<d;c++)if(l[c].id===e)return;var p=u();(0,s.addClass)(p,"v-modal"),this.modalFade&&!a&&(0,s.addClass)(p,"v-modal-enter"),r&&r.trim().split(/\s+/).forEach(function(e){return(0,s.addClass)(p,e)}),setTimeout(function(){(0,s.removeClass)(p,"v-modal-enter")},200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(p):document.body.appendChild(p),t&&(p.style.zIndex=t),p.tabIndex=0,p.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:r})}},closeModal:function(e){var t=this.modalStack,n=u();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,s.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,s.addClass)(n,"v-modal-leave"),setTimeout(function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",p.modalDom=undefined),(0,s.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(p,"zIndex",{configurable:!0,get:function(){return l||(c=c||(i["default"].prototype.$ELEMENT||{}).zIndex||2e3,l=!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&&p.modalStack.length>0){var e=p.modalStack[p.modalStack.length-1];if(!e)return;return p.getInstance(e.id)}}();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}}),t["default"]=p},9686:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(i["default"].prototype.$isServer)return 0;if(s!==undefined)return s;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),s=t-r};var r,o=n(4478),i=(r=o)&&r.__esModule?r:{"default":r},s=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";t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=undefined;var r="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};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,i=n(4478),s=(o=i)&&o.__esModule?o:{"default":o},a=function(e){return e&&"[object Function]"==={}.toString.call(e)};"object"===("undefined"==typeof Int8Array?"undefined":r(Int8Array))||!s["default"].prototype.$isServer&&"function"==typeof document.childNodes||(t.isFunction=a=function(e){return"function"==typeof e||!1}),t.isFunction=a,t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return e!==undefined&&null!==e}},2417:function(e,t,n){"use strict";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 r="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};t.noop=function(){},t.hasOwn=function(e,t){return l.call(e,t)},t.toObject=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&c(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,s=o.length;i<s-1&&(r||n);++i){var a=o[i];if(!(a in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[a]}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 o,i=n(4478),s=(o=i)&&o.__esModule?o:{"default":o},a=n(6200),l=Object.prototype.hasOwnProperty;function c(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,s=n.length;i<s;i++){var a=n[i];if(!r)break;if(i===s-1){o=r[a];break}r=r[a]}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 u=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},d=(t.arrayFind=function(e,t){var n=u(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":r(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,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),r=(0,a.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(!d(e[n],t[n]))return!1;return!0},h=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?p(e,t):d(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)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(n(4478)),i=n(8784);const s=[],a="@@clickoutsideContext";let l,c=0;function u(e,t,n){return function(r={},o={}){!(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[a].methodName&&n.context[e[a].methodName]?n.context[e[a].methodName]():e[a].bindingFn&&e[a].bindingFn())}}!o["default"].prototype.$isServer&&(0,i.on)(document,"mousedown",e=>l=e),!o["default"].prototype.$isServer&&(0,i.on)(document,"mouseup",e=>{s.forEach(t=>t[a].documentHandler(e,l))}),t["default"]={bind(e,t,n){s.push(e);const r=c++;e[a]={id:r,documentHandler:u(e,t,n),methodName:t.expression,bindingFn:t.value}},update(e,t,n){e[a].documentHandler=u(e,t,n),e[a].methodName=t.expression,e[a].bindingFn=t.value},unbind(e){let t=s.length;for(let n=0;n<t;n++)if(s[n][a].id===e[a].id){s.splice(n,1);break}delete e[a]}}},8784:function(e,t,n){"use strict";var r=n(477)["default"];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 s=r[o];s&&(e.classList?e.classList.add(s):p(e,s)||(n+=" "+s))}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 s=n[o];s&&(e.classList?e.classList.remove(s):p(e,s)&&(r=r.replace(" "+s+" "," ")))}e.classList||e.setAttribute("class",l(r))}},t.setStyle=function m(e,t,n){if(e&&t)if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&m(e,r,t[r]);else"opacity"===(t=c(t))&&a<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};const o=r(n(4478))["default"].prototype.$isServer,i=/([\:\-\_]+(.))/g,s=/^moz([A-Z])/,a=o?0:Number(document.documentMode),l=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},c=function(e){return e.replace(i,function(e,t,n,r){return r?n.toUpperCase():n}).replace(s,"Moz$1")},u=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)},d=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){var r=function(){n&&n.apply(this,arguments),d(e,t,r)};u(e,t,r)};const h=t.getStyle=a<9?function(e,t){if(!o){if(!e||!t)return null;"float"===(t=c(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=c(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(r){return e.style[t]}}},f=(e,t)=>{if(o)return;const n=null!==t&&t!==undefined;return h(e,n?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};t.isScroll=f,t.getScrollContainer=(e,t)=>{if(o)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(f(n,t))return n;n=n.parentNode}return n},t.isInContainer=(e,t)=>{if(o||!e||!t)return!1;const n=e.getBoundingClientRect();let r;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}},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,s=0,a="";o=t.charAt(s++);~o&&(r=i%4?64*r+o:o,i++%4)?a+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return a};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,s=/(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,a=o.getAttribute("data-autoloader-path");if(null!=a)r=a.trim().replace(/\/?$/,"/");else{var l=o.src;i.test(l)?r=l.replace(i,"components/"):s.test(l)&&(r=l.replace(s,"$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(u)||d(r,function(){Prism.highlightElement(t)})}})}function u(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 s=r.length,a=0,l=!1;function h(){l||++a===s&&o&&o(r)}0!==s?r.forEach(function(r){!function(r,o,i){var s=r.indexOf("!")>=0;function a(){var e=n[r];e||(e=n[r]={callbacks:[]}),e.callbacks.push({success:o,error:i}),!s&&u(r)?p(r,"success"):!s&&e.error?p(r,"error"):!s&&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,p(r,"success")},function(){e.loading=!1,e.error=!0,p(r,"error")}))}r=r.replace("!","");var l=e[r=t[r]||r];l&&l.length?d(l,a,i):a()}(r,h,function(){l||(l=!0,i&&i(r))})}):o&&setTimeout(o,0)}function p(e,t){if(n[e]){for(var r=n[e].callbacks,o=0,i=r.length;o<i;o++){var s=r[o][t];s&&setTimeout(s,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),a("copy"),e(o,{getText:function(){return n.textContent},success:function(){a("copy-success"),s()},error:function(){a("copy-error"),setTimeout(function(){!function(e){window.getSelection().selectAllChildren(e)}(n)},1),s()}}),o;function s(){setTimeout(function(){a("copy")},r["copy-timeout"])}function a(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 s=document.createElement("div");s.classList.add("toolbar");var a=e,l=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);l&&(a=l.map(function(e){return t[e]||n})),a.forEach(function(e){var t=e(r);if(t){var n=document.createElement("div");n.classList.add("toolbar-item"),n.appendChild(t),s.appendChild(n)}}),i.appendChild(s)}};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 f(e){return e instanceof i?new i(e.type,f(e.content),e.alias):Array.isArray(e)?e.map(f):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||{},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]=m(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]=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 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],s={};for(var a in i)if(i.hasOwnProperty(a)){if(a==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(a)||(s[a]=i[a])}var c=r[e];return r[e]=s,o.languages.DFS(o.languages,function(t,n){n===c&&t!=e&&(this[t]=s)}),s},DFS:function g(e,t,n,r){r=r||{};var i=o.util.objId;for(var s in e)if(e.hasOwnProperty(s)){t.call(e,s,e[s],n||s);var a=e[s],l=o.util.type(a);"Object"!==l||r[i(a)]?"Array"!==l||r[i(a)]||(r[i(a)]=!0,g(a,t,s,r)):(r[i(a)]=!0,g(a,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,s=0;i=r.elements[s++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=o.util.getLanguage(t),s=o.languages[i];o.util.setLanguage(t,i);var a=t.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&o.util.setLanguage(a,i);var l={element:t,language:i,grammar:s,code:t.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),r&&r.call(l.element)}if(o.hooks.run("before-sanity-check",l),(a=l.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(r&&r.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(o.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.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 l;return c(o,o.head,e),a(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 s(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 a(e,t,n,r,l,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var h=n[p];h=Array.isArray(h)?h:[h];for(var f=0;f<h.length;++f){if(d&&d.cause==p+","+f)return;var m=h[f],g=m.inside,_=!!m.lookbehind,v=!!m.greedy,b=m.alias;if(v&&!m.pattern.global){var y=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,y+"g")}for(var w=m.pattern||m,k=r.next,S=l;k!==t.tail&&!(d&&S>=d.reach);S+=k.value.length,k=k.next){var E=k.value;if(t.length>e.length)return;if(!(E instanceof i)){var I,C=1;if(v){if(!(I=s(w,S,e,_))||I.index>=e.length)break;var T=I.index,A=I.index+I[0].length,O=S;for(O+=k.value.length;T>=O;)O+=(k=k.next).value.length;if(S=O-=k.value.length,k.value instanceof i)continue;for(var x=k;x!==t.tail&&(O<A||"string"==typeof x.value);x=x.next)C++,O+=x.value.length;C--,E=e.slice(S,O),I.index-=S}else if(!(I=s(w,0,E,_)))continue;T=I.index;var P=I[0],M=E.slice(0,T),N=E.slice(T+P.length),R=S+E.length;d&&R>d.reach&&(d.reach=R);var L=k.prev;if(M&&(L=c(t,L,M),S+=M.length),u(t,L,C),k=c(t,L,new i(p,g?o.tokenize(P,g):P,b,P)),N&&c(t,k,N),C>1){var D={cause:p+","+f,reach:R};a(e,t,n,k.prev,S,D),d&&D.reach>d.reach&&(d.reach=D.reach)}}}}}}function l(){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 u(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 _(e,t){if("string"==typeof e)return e;if(Array.isArray(e)){var n="";return e.forEach(function(e){n+=_(e,t)}),n}var r={type:e.type,content:_(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 s="";for(var a in r.attributes)s+=" "+a+'="'+(r.attributes[a]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+s+">"+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,s=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),s&&e.close()},!1),o):o;var d=o.util.currentScript();function p(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,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(s){var a=s.element;if(a.matches(i)){s.code="",a.setAttribute(t,n);var l=a.appendChild(document.createElement("CODE"));l.textContent="Loading…";var c=a.getAttribute("data-src"),u=s.language;if("none"===u){var d=(/\.(\w+)$/.exec(c)||[,"none"])[1];u=e[d]||d}r.util.setLanguage(l,u),r.util.setLanguage(a,u);var p=r.plugins.autoloader;p&&p.loadLanguages(u),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){a.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}(a.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),s=n[0],c=null==n[1]?i.length:n[1];s<0&&(s+=i.length),s=Math.max(0,Math.min(s-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),e=i.slice(s,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(s+1))}l.textContent=e,r.highlightElement(l)},function(e){a.setAttribute(t,"failed"),l.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 s=!1;r.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},8926:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(9392)),i=r(n(7986)),s=r(n(1547));t.A={components:{TkComments:o["default"],TkFooter:i["default"],TkAdmin:s["default"]},data(){return{showAdmin:!1,showAdminEntry:!1}},methods:{onShowAdminEntry(e){this.showAdminEntry=e}}}},3397:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(3491)),i=r(n(6370)),s=r(n(6359)),a=r(n(5910)),l=r(n(6412)),c=r(n(9801)),u=r(n(7136)),d=r(n(5545));t.A={data(){return{iconComment:o["default"],iconCommentSolid:i["default"],iconLike:s["default"],iconLikeSolid:a["default"],iconDislike:l["default"],iconDislikeSolid:c["default"],iconDelete:u["default"],iconDeleteSolid:d["default"]}},props:{liked:Boolean,disliked:Boolean,likeCount:Number,dislikeCount:Number,repliesCount:Number,showDislike:Boolean,showDelete:Boolean},computed:{likeCountStr(){return this.likeCount>0?`${this.likeCount}`:""},dislikeCountStr(){return this.dislikeCount>0?`${this.dislikeCount}`:""},repliesCountStr(){return this.repliesCount>0?`${this.repliesCount}`:""}},methods:{onLike(){this.$emit("like")},onDislike(){this.$emit("dislike")},onReply(){this.$emit("reply")},onDelete(){this.$emit("delete")}}}},4238:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(2889)),i=r(n(2232)),s=r(n(9658)),a=r(n(5085)),l=r(n(1534)),c=n(8129),u=r(n(9671));t.A={components:{TkAdminComment:i["default"],TkAdminConfig:s["default"],TkAdminImport:a["default"],TkAdminExport:l["default"]},props:{show:Boolean},data(){return{iconClose:u["default"],loading:!0,version:"",needUpdate:!1,isLogin:!1,isSetPassword:!0,isSetCredentials:!1,credentials:"",password:"",passwordConfirm:"",loginErrorMessage:"",activeTabName:"comment"}},computed:{canRegist(){return!this.isSetPassword&&!!this.password&&this.password===this.passwordConfirm&&(this.isSetCredentials||this.credentials)}},methods:{t:c.t,async onLogin(){if(!this.password)return void(this.loginErrorMessage=(0,c.t)("ADMIN_PASSWORD_REQUIRED"));this.loading=!0,this.loginErrorMessage="";const e=(0,o["default"])(this.password),t=await(0,c.call)(this.$tcb,"LOGIN",{password:e});if(t.result.message)this.loginErrorMessage=t.result.message;else if(t.result.ticket)try{await this.$tcb.auth.customAuthProvider().signIn(t.result.ticket),c.logger.log("登录成功"),this.password="",this.checkAuth()}catch(n){c.logger.error("登录失败",n)}else 0===t.result.code&&(c.logger.log("登录成功"),localStorage.setItem("twikoo-access-token",e),this.password="",this.checkAuth());this.loading=!1},async onLogout(e){e.preventDefault(),this.loading=!0,this.$tcb?(await this.$tcb.auth.signOut(),await this.$tcb.auth.anonymousAuthProvider().signIn()):localStorage.removeItem("twikoo-access-token"),this.isLogin=!1,this.loading=!1},async onRegist(){this.loading=!0;const e=(0,o["default"])(this.password),t=await(0,c.call)(this.$tcb,"SET_PASSWORD",{password:e,credentials:this.credentials});t.result.code?(this.loginErrorMessage=(0,c.t)("ADMIN_REGIST_FAILED"),t.result.message&&(this.loginErrorMessage+=","+t.result.message),c.logger.warn("Twikoo 注册失败",t)):(this.passwordMd5="",this.isSetPassword=!0,this.onLogin()),this.loading=!1},async onShow(){this.loading=!0,await this.checkAuth(),this.isLogin||(await this.checkIfPasswordSet(),this.focusPassword()),this.loading=!1},focusPassword(){setTimeout(()=>{this.$refs.focusme&&this.$refs.focusme.focus()},500)},async checkAuth(){if(this.$tcb){const e=await this.$tcb.auth.getCurrenUser();this.isLogin="CUSTOM"===e.loginType}else{const e=await(0,c.call)(this.$tcb,"GET_CONFIG");e&&e.result&&e.result.config&&(this.isLogin=e.result.config.IS_ADMIN)}},async checkIfPasswordSet(){try{const e=await(0,c.call)(this.$tcb,"GET_PASSWORD_STATUS");this.version=e.result.version,this.isSetPassword=e.result.status,this.isSetCredentials=!this.$tcb}catch(e){throw this.needUpdate=!0,this.loading=!1,e}},onClose(){this.$emit("close")}},watch:{show(e){e&&this.onShow()}}}},4555:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=n(1085),i=n(8129),s=n(2199),a=r(n(3867)),l=r(n(1222)),c=r(n(9671));t.A={components:{TkAvatar:a["default"],TkPagination:l["default"]},data(){return{loading:!0,comments:[],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:s.version,count:0,pageSize:5,currentPage:1,filter:{keyword:"",type:""},securityAlert:null,iconClose:c["default"]}},methods:{t:i.t,displayCreated(e){return(0,i.timeago)(e.created)},convertLink(e){return(0,i.convertLink)(e)},async getComments(){this.loading=!0;const e=await(0,i.call)(this.$tcb,"COMMENT_GET_FOR_ADMIN",{per:this.pageSize,page:this.currentPage,keyword:this.filter.keyword,type:this.filter.type});e.result&&!e.result.code&&(this.count=e.result.count,this.comments=e.result.data),this.$nextTick(()=>{(0,i.renderLinks)(this.$refs.comments),(0,i.renderMath)(this.$refs["comment-list"],this.$twikoo.katex),this.highlightCode()}),this.loading=!1},async getConfig(){const e=await(0,i.call)(this.$tcb,"GET_CONFIG_FOR_ADMIN");e.result&&!e.result.code&&(this.serverConfig=e.result.config,this.checkConfig())},checkConfig(){this.serverConfig.HIGHLIGHT||(this.serverConfig.HIGHLIGHT="true");let e={};const t=localStorage.getItem("twikoo");t&&(e=JSON.parse(t)),["nick","mail","avatar"].forEach(t=>{e[t]?this.serverConfig[t]=e[t]:this.serverConfig[t]=""}),!e.nick&&this.serverConfig.BLOGGER_NICK&&(e.nick=this.serverConfig.BLOGGER_NICK),!e.mail&&this.serverConfig.BLOGGER_EMAIL&&(e.mail=this.serverConfig.BLOGGER_EMAIL),!e.link&&this.serverConfig.SITE_URL&&(e.link=this.serverConfig.SITE_URL),localStorage.setItem("twikoo",JSON.stringify(e)),o.app.$emit("initMeta")},onPageSizeChange(e){this.pageSize=e,this.getComments()},switchPage(e){this.currentPage=e,this.getComments()},handleView(e){const t=`${e.url}#${e._id}`;try{if(new URL(t).hostname!==window.location.hostname)return void(this.securityAlert={commentId:e._id,message:(0,i.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,i.t)("ADMIN_COMMENT_PARSE_ERROR"),url:e.url}}}},async handleDelete(e){confirm((0,i.t)("ADMIN_COMMENT_DELETE_CONFIRM"))&&(this.loading=!0,await(0,i.call)(this.$tcb,"COMMENT_DELETE_FOR_ADMIN",{id:e._id}),await this.getComments(),this.loading=!1)},handleSpam(e,t){this.setComment(e,{isSpam:t})},handleTop(e,t){this.setComment(e,{top:t})},async setComment(e,t){this.loading=!0,await(0,i.call)(this.$tcb,"COMMENT_SET_FOR_ADMIN",{id:e._id,set:t}),await this.getComments(),this.loading=!1},highlightCode(){"true"===this.serverConfig.HIGHLIGHT&&(0,i.renderCode)(this.$refs["comment-list"],this.serverConfig.HIGHLIGHT_THEME,this.serverConfig.HIGHLIGHT_PLUGIN)}},async mounted(){await Promise.all([this.getConfig(),this.getComments()]),this.highlightCode()}}},4868:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(8129),o=n(2199),i=n(1085);t.A={data(){return{loading:!0,settings:[{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_COMMON"),items:[{key:"SITE_NAME",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SITE_NAME"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}虹墨空间站`,value:""},{key:"SITE_URL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SITE_URL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://www.imaegoo.com`,value:""},{key:"CORS_ALLOW_ORIGIN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_CORS_ALLOW_ORIGIN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://www.imaegoo.com`,value:""},{key:"BLOGGER_NICK",desc:(0,r.t)("ADMIN_CONFIG_ITEM_BLOGGER_NICK"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}iMaeGoo`,value:""},{key:"BLOGGER_EMAIL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_BLOGGER_EMAIL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}12345@qq.com`,value:""},{key:"COMMENT_PAGE_SIZE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_COMMENT_PAGE_SIZE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}8`,value:""},{key:"MASTER_TAG",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MASTER_TAG"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}站长`,value:""},{key:"COMMENT_BG_IMG",desc:(0,r.t)("ADMIN_CONFIG_ITEM_COMMENT_BG_IMG"),ph:"",value:""},{key:"GRAVATAR_CDN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_GRAVATAR_CDN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}sdn.geekzu.org`,value:""},{key:"DEFAULT_GRAVATAR",desc:(0,r.t)("ADMIN_CONFIG_ITEM_DEFAULT_GRAVATAR"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}mp`,value:""},{key:"COMMENT_PLACEHOLDER",desc:(0,r.t)("ADMIN_CONFIG_ITEM_COMMENT_PLACEHOLDER"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}`,value:""},{key:"SHOW_ORDER",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_ORDER"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""},{key:"SHOW_DISLIKE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_DISLIKE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""},{key:"DISPLAYED_FIELDS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_DISPLAYED_FIELDS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}nick,mail,link`,value:""},{key:"REQUIRED_FIELDS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_REQUIRED_FIELDS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}nick,mail,link`,value:""},{key:"HIDE_ADMIN_CRYPT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_HIDE_ADMIN_CRYPT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}admin`,value:""},{key:"QQ_API_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_QQ_API_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}your_api_key`,value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_PLUGIN"),items:[{key:"IMAGE_CDN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN"),options:[{value:"",label:(0,r.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,r.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN_URL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://piclist.example.com`,value:"",showIf:e=>["lskypro","piclist","easyimage"].includes(e("IMAGE_CDN"))},{key:"IMAGE_CDN_TOKEN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN_TOKEN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}example`,value:"",showIf:e=>e("IMAGE_CDN")&&"s3"!==e("IMAGE_CDN")},{key:"S3_REGION",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_REGION"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}us-east-1`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_BUCKET",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_BUCKET"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}my-bucket`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_ACCESS_KEY_ID",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_ACCESS_KEY_ID"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}AKIAIOSFODNN7EXAMPLE`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_SECRET_ACCESS_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_SECRET_ACCESS_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`,value:"",secret:!0,showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_ENDPOINT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_ENDPOINT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://xxx.r2.cloudflarestorage.com`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_FORCE_PATH_STYLE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_FORCE_PATH_STYLE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_CDN_URL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_CDN_URL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://cdn.example.com`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"S3_PATH_PREFIX",desc:(0,r.t)("ADMIN_CONFIG_ITEM_S3_PATH_PREFIX"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}images/twikoo`,value:"",showIf:e=>"s3"===e("IMAGE_CDN")},{key:"NSFW_API_URL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_NSFW_API_URL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://nsfw.example.com`,value:""},{key:"NSFW_THRESHOLD",desc:(0,r.t)("ADMIN_CONFIG_ITEM_NSFW_THRESHOLD"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}0.5`,value:""},{key:"SHOW_EMOTION",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_EMOTION"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}false`,value:""},{key:"EMOTION_CDN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_EMOTION_CDN"),ph:"",value:""},{key:"HIGHLIGHT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}false`,value:""},{key:"HIGHLIGHT_THEME",desc:(0,r.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_THEME"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}tomorrow`,value:""},{key:"HIGHLIGHT_PLUGIN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_PLUGIN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}showLanguage`,value:""},{key:"LIGHTBOX",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LIGHTBOX"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_PRIVACY"),items:[{key:"SHOW_UA",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_UA"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}false`,value:""},{key:"SHOW_REGION",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SHOW_REGION"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_SPAM"),items:[{key:"AKISMET_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_AKISMET_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}8651783edxxx`,value:""},{key:"QCLOUD_SECRET_ID",desc:(0,r.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_ID"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}AKI******************************IHw`,value:""},{key:"QCLOUD_SECRET_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}Xrk**************************3D7`,value:"",secret:!0},{key:"QCLOUD_CMS_BIZTYPE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_QCLOUD_CMS_BIZTYPE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}1787728329856520192`,value:""},{key:"LIMIT_PER_MINUTE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}5`,value:""},{key:"LIMIT_PER_MINUTE_ALL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE_ALL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}5`,value:""},{key:"LIMIT_LENGTH",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LIMIT_LENGTH"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}100`,value:""},{key:"FORBIDDEN_WORDS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_FORBIDDEN_WORDS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}快递,空包`,value:""},{key:"BLOCKED_WORDS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_BLOCKED_WORDS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}快递,空包`,value:""},{key:"NOTIFY_SPAM",desc:(0,r.t)("ADMIN_CONFIG_ITEM_NOTIFY_SPAM"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}false`,value:""},{key:"LLM_API_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_API_KEY"),ph:"sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",value:"",secret:!0},{key:"LLM_API_ENDPOINT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_API_ENDPOINT"),ph:"https://api.deepseek.com",value:""},{key:"LLM_MODEL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_MODEL"),ph:"deepseek-v4-pro",value:""},{key:"LLM_SPAM_PROMPT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_SPAM_PROMPT"),ph:"",value:"",type:"textarea"},{key:"LLM_MAX_RETRIES",desc:(0,r.t)("ADMIN_CONFIG_ITEM_LLM_MAX_RETRIES"),ph:"3",value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_CAPTCHA"),items:[{key:"CAPTCHA_PROVIDER",desc:(0,r.t)("ADMIN_CONFIG_ITEM_CAPTCHA_PROVIDER"),options:[{value:"",label:(0,r.t)("ADMIN_CONFIG_CAPTCHA_NONE")},{value:"Turnstile",label:(0,r.t)("ADMIN_CONFIG_CAPTCHA_TURNSTILE")},{value:"Geetest",label:(0,r.t)("ADMIN_CONFIG_CAPTCHA_GEETEST")},{value:"Cap",label:(0,r.t)("ADMIN_CONFIG_CAPTCHA_CAP")}],value:""},{key:"TURNSTILE_SITE_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_TURNSTILE_SITE_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}0x4AAAAAAAPLTtpBr_T12345`,value:"",showIf:e=>"Turnstile"===e("CAPTCHA_PROVIDER")},{key:"TURNSTILE_SECRET_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_TURNSTILE_SECRET_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}0x4AAAAAAAPLTmBm6gHmOnOqC1iwmU12345`,value:"",secret:!0,showIf:e=>"Turnstile"===e("CAPTCHA_PROVIDER")},{key:"GEETEST_CAPTCHA_ID",desc:(0,r.t)("ADMIN_CONFIG_ITEM_GEETEST_CAPTCHA_ID"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}your_captcha_id`,value:"",showIf:e=>"Geetest"===e("CAPTCHA_PROVIDER")},{key:"GEETEST_CAPTCHA_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_GEETEST_CAPTCHA_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}your_captcha_key`,value:"",secret:!0,showIf:e=>"Geetest"===e("CAPTCHA_PROVIDER")},{key:"CAP_API_ENDPOINT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_CAP_API_ENDPOINT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}https://cap.example.com/d9256640cb53/(留空=内嵌,无需外部服务)`,value:"",showIf:e=>"Cap"===e("CAPTCHA_PROVIDER")},{key:"CAP_SECRET_KEY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_CAP_SECRET_KEY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}仅外部 Cap 需要;内嵌模式可留空`,value:"",secret:!0,showIf:e=>"Cap"===e("CAPTCHA_PROVIDER")}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_IM"),items:[{key:"PUSHOO_CHANNEL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_PUSHOO_CHANNEL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}pushdeer`,value:""},{key:"PUSHOO_TOKEN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_PUSHOO_TOKEN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}PDU431TfFHZICvR6lJrFBswSRN1cJ*****zzFvR`,value:""},{key:"SC_MAIL_NOTIFY",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SC_MAIL_NOTIFY"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""}]},{name:(0,r.t)("ADMIN_CONFIG_CATEGORY_MAIL"),items:[{key:"SENDER_EMAIL",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SENDER_EMAIL"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}blog@imaegoo.com`,value:""},{key:"SENDER_NAME",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SENDER_NAME"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}虹墨空间站评论提醒`,value:""},{key:"SMTP_SERVICE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_SERVICE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}QQ`,value:""},{key:"SMTP_HOST",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_HOST"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}smtp.qq.com`,value:""},{key:"SMTP_PORT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_PORT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}465`,value:""},{key:"SMTP_SECURE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_SECURE"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}true`,value:""},{key:"SMTP_USER",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_USER"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}blog@imaegoo.com`,value:""},{key:"SMTP_PASS",desc:(0,r.t)("ADMIN_CONFIG_ITEM_SMTP_PASS"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}password`,value:"",secret:!0},{key:"MAIL_SUBJECT",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}您在虹墨空间站上的评论收到了回复`,value:""},{key:"MAIL_TEMPLATE",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE"),ph:"",value:"",type:"textarea"},{key:"MAIL_SUBJECT_ADMIN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT_ADMIN"),ph:`${(0,r.t)("ADMIN_CONFIG_EXAMPLE")}虹墨空间站上有新评论了`,value:""},{key:"MAIL_TEMPLATE_ADMIN",desc:(0,r.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE_ADMIN"),ph:"",value:"",type:"textarea"}]}],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:o.version,message:"",emailTestAddress:"",emailTestResult:""}},methods:{t:r.t,async readConfig(){this.loading=!0;const e=await(0,r.call)(this.$tcb,"GET_CONFIG_FOR_ADMIN");e.result&&!e.result.code&&(this.serverConfig=e.result.config,"undefined"==typeof this.serverConfig.CAPTCHA_PROVIDER&&(this.serverConfig.TURNSTILE_SITE_KEY?this.serverConfig.CAPTCHA_PROVIDER="Turnstile":this.serverConfig.GEETEST_CAPTCHA_ID&&(this.serverConfig.CAPTCHA_PROVIDER="Geetest")),"undefined"==typeof this.serverConfig.IMAGE_CDN&&(this.serverConfig.SHOW_IMAGE,this.serverConfig.IMAGE_CDN=""),this.resetConfig()),this.loading=!1},resetConfig(){for(const e of this.settings)for(const t of e.items)this.serverConfig[t.key]!==undefined?t.value=this.serverConfig[t.key]:t.value=""},showSetting(e){return"function"!=typeof e.showIf||e.showIf(e=>{for(const t of this.settings){const n=t.items.find(t=>t.key===e);if(n)return n.value}return null})},async saveConfig(){this.loading=!0,this.message="正在保存";const e={};for(const t of this.settings)for(const n of t.items)this.serverConfig[n.key]!==n.value&&(e[n.key]=n.value);e.IMAGE_CDN!==undefined&&(e.SHOW_IMAGE=e.IMAGE_CDN?"true":"false"),r.logger.log("保存配置",e),await(0,r.call)(this.$tcb,"SET_CONFIG",{config:e}),await this.readConfig(),i.app.$emit("configUpdated"),this.message="保存成功",this.loading=!1},async testEmail(){this.loading=!0;const e=await(0,r.call)(this.$tcb,"EMAIL_TEST",{mail:this.emailTestAddress});r.logger.log("邮件测试",e),this.emailTestResult=JSON.stringify(e),this.loading=!1}},mounted(){this.readConfig()}}},3396:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(8129);t.A={data(){return{loading:!1}},methods:{t:r.t,async doExport(e){this.loading=!0;try{const t=await(0,r.call)(this.$tcb,"COMMENT_EXPORT_FOR_ADMIN",{collection:e});t.result.data&&this.downloadJson(`twikoo-${e}.json`,t.result.data)}finally{this.loading=!1}},downloadJson(e,t){const 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";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(8129);t.A={data(){return{loading:!1,source:"",logText:"",warnText:{valine:(0,r.t)("ADMIN_IMPORT_TIP_VALINE"),disqus:(0,r.t)("ADMIN_IMPORT_TIP_DISQUS"),artalk:(0,r.t)("ADMIN_IMPORT_TIP_ARTALK"),artalk2:"",twikoo:""}}},methods:{t:r.t,async uploadFile(){if(!this.source)return void this.log((0,r.t)("ADMIN_IMPORT_SOURCE_REQUIRED"));const e=this.$refs.inputFile.files[0];if(e){this.log((0,r.t)("ADMIN_IMPORT_START")),this.loading=!0;try{if(this.$tcb){const t=await this.$tcb.app.uploadFile({cloudPath:`import/${Date.now()}`,filePath:e,onUploadProgress:e=>{const t=Math.round(100*e.loaded/e.total);this.log(`${(0,r.t)("ADMIN_IMPORT_UPLOADING")}${t}%`)}});this.log(`${(0,r.t)("ADMIN_IMPORT_UPLOADED")}${t.fileID}`),await this.importFile(t.fileID)}else await this.importFileToVercel(e)}catch(t){console.error(t),this.log(t.message)}this.loading=!1}else this.log((0,r.t)("ADMIN_IMPORT_FILE_REQUIRED"))},async importFile(e){this.log(`${(0,r.t)("ADMIN_IMPORT_IMPORTING")}${this.source}`);const t=await(0,r.call)(this.$tcb,"COMMENT_IMPORT_FOR_ADMIN",{fileId:e,source:this.source});this.logText+=t.result.log,this.log(`${(0,r.t)("ADMIN_IMPORT_IMPORTED")}${this.source}`)},async importFileToVercel(e){this.log(`${(0,r.t)("ADMIN_IMPORT_IMPORTING")}${this.source}`);const t=await(0,r.call)(this.$tcb,"COMMENT_IMPORT_FOR_ADMIN",{file:await(0,r.readAsText)(e),source:this.source});this.logText+=t.result.log,this.log(`${(0,r.t)("ADMIN_IMPORT_IMPORTED")}${this.source}`)},log(e){this.logText+=`${(new Date).toLocaleString()} ${e}\n`,this.$nextTick(this.scrollLogToBottom)},scrollLogToBottom(){if(this.$refs.logTextArea){const e=this.$refs.logTextArea.$refs.textarea;e.scrollTop=e.scrollHeight}}}}},4064:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(2889)),i=n(2570),s=n(8129),a=r(n(9587));t.A={props:{config:Object,avatar:String,nick:String,mail:String,mailMd5:String,link:String},data(){return{iconUser:a["default"]}},computed:{gravatarCdn(){return this.config&&this.config.GRAVATAR_CDN?this.config.GRAVATAR_CDN:"weavatar.com"},defaultGravatar(){return this.config&&this.config.DEFAULT_GRAVATAR?this.config.DEFAULT_GRAVATAR:`initials&name=${this.nick}`},avatarInner(){if(this.avatar)return this.avatar;if(this.mailMd5)return`https://${this.gravatarCdn}/avatar/${this.mailMd5}?d=${this.defaultGravatar}`;if(this.mail&&(0,s.isQQ)(this.mail))return(0,s.getQQAvatar)(this.mail);if(this.mail){const e="cravatar.cn"===this.gravatarCdn?o["default"]:i.sha256;return`https://${this.gravatarCdn}/avatar/${e((0,s.normalizeMail)(this.mail))}?d=${this.defaultGravatar}`}return""}},methods:{onClick(){this.$emit("click"),this.link&&(window.open((0,s.convertLink)(this.link),"_blank").opener=null)}}}},3572:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=n(8129),i=r(n(6085)),s=r(n(3867)),a=r(n(5941)),l=r(n(2531)),c=r(n(9396)),u=r(n(6937)),d=r(n(8974)),p=r(n(7397)),h=r(n(58)),f=r(n(8443)),m=r(n(740)),g=r(n(3793)),_=r(n(7051)),v=r(n(9039)),b=r(n(3982));const y={win:l["default"],mac:c["default"],ipad:c["default"],iphone:c["default"],ios:c["default"],android:u["default"],ubuntu:p["default"],linux:d["default"]},w={edge:_["default"],chrome:h["default"],firefox:f["default"],safari:m["default"],explorer:g["default"],ie:g["default"]};t.A={name:"tk-comment",components:{TkAction:i["default"],TkAvatar:s["default"],TkSubmit:a["default"]},data(){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(){return(0,o.timeago)(this.comment.created)},jsonTimestamp(){return new Date(this.comment.created).toJSON()},localeTime(){return new Date(this.comment.created).toLocaleString()},iconOs(){return this.getIconBy(this.comment.os,y)},iconBrowser(){return this.getIconBy(this.comment.browser,w)},iconLocation:()=>b["default"],showExpand(){return this.hasExpand&&!this.isExpanded},showCollapse(){return this.hasExpand&&this.isExpanded},showContentExpand(){return this.hasContentExpand&&!this.isContentExpanded},showContentCollapse(){return this.hasContentExpand&&this.isContentExpanded},convertedLink(){return(0,o.convertLink)(this.comment.link)}},methods:{t:o.t,getIconBy(e,t){const n=e.toLowerCase();for(const r in t)if(-1!==n.indexOf(r))return t[r];return v["default"]},showExpandIfNeed(){this.comment.replies&&this.comment.replies.length>0&&this.$refs["tk-replies"]&&(this.hasExpand=this.$refs["tk-replies"].scrollHeight>236)},showContentExpandIfNeed(){this.hasContentExpand=this.hasContentExpand||this.$refs["tk-content"].scrollHeight>500},showContentExpandIfNeedAfterImagesLoaded(){this.$refs["tk-content"].querySelectorAll("img").forEach(e=>{e.onload=this.showContentExpandIfNeed})},scrollToComment(){-1!==window.location.hash.indexOf(this.comment.id)&&(this.$refs["tk-comment"].scrollIntoView({behavior:"smooth"}),this.$emit("expand"))},scrollToPid(e){const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"center"})},async onLike(){this.likeLoading||(this.likeLoading=!0,await(0,o.call)(this.$tcb,"COMMENT_LIKE",{id:this.comment.id,type:"up"}),this.liked?this.ups--:(this.ups++,this.disliked&&this.downs--),this.liked=!this.liked,this.disliked=!1,this.likeLoading=!1)},async onDislike(){this.likeLoading||(this.likeLoading=!0,await(0,o.call)(this.$tcb,"COMMENT_LIKE",{id:this.comment.id,type:"down"}),this.disliked?this.downs--:(this.downs++,this.liked&&this.ups--),this.disliked=!this.disliked,this.liked=!1,this.likeLoading=!1)},onReply(e){this.pid=e,this.$emit("reply",this.comment.id)},async onDelete(){if(!confirm((0,o.t)("COMMENT_DELETE_CONFIRM")))return;const{result:e}=await(0,o.call)(this.$tcb,"COMMENT_DELETE_FOR_USER",{id:this.comment.id});e.code?alert(e.message):this.$emit("load")},onReplyReply(e){this.pid=e,e?this.$emit("reply",this.comment.id):this.$emit("reply","")},onCancel(){this.pid="",this.$emit("reply","")},onLoad(){this.pid="",this.$emit("reply",""),this.$emit("load"),this.onExpand()},onRefreshed(){this.$emit("refreshed"),this.$nextTick(()=>{this.comment.replies&&this.comment.replies.length>0&&this.$refs["tk-replies"]&&this.$refs["tk-replies"].lastElementChild.scrollIntoView({behavior:"smooth",block:"center"})})},onExpand(){this.isExpanded=!0},onCollapse(){this.isExpanded=!1},onContentExpand(){this.isContentExpanded=!0},onContentCollapse(){this.isContentExpanded=!1},async checkAuth(){if(this.$tcb){const e=await this.$tcb.auth.getCurrenUser();this.isLogin="CUSTOM"===e.loginType}else this.isLogin=this.$twikoo.serverConfig&&this.$twikoo.serverConfig.IS_ADMIN},handleSpam(e){this.setComment({isSpam:e})},handleTop(e){this.setComment({top:e})},popupLightbox(e){if("true"!==this.$twikoo.serverConfig.LIGHTBOX)return;const{target:t}=e;if("IMG"===t.tagName&&!t.classList.contains("tk-owo-emotion")){const e=document.createElement("div");e.className="tk-lightbox";const n=document.createElement("img");n.className="tk-lightbox-image",n.src=t.src,e.appendChild(n),e.addEventListener("click",()=>{document.body.removeChild(e)}),document.body.appendChild(e)}},async setComment(e){this.loading=!0,await(0,o.call)(this.$tcb,"COMMENT_SET_FOR_ADMIN",{id:this.comment.id,set:e}),this.loading=!1,Object.assign(this.comment,e)}},mounted(){this.$nextTick(this.showContentExpandIfNeed),this.$nextTick(this.showContentExpandIfNeedAfterImagesLoaded),this.$nextTick(this.showExpandIfNeed),this.$nextTick(this.scrollToComment),this.$nextTick(()=>{(0,o.renderLinks)(this.$refs.comment),(0,o.renderMath)(this.$refs.comment,this.$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){"true"===e&&this.$nextTick(()=>{(0,o.renderCode)(this.$refs.comment,this.config.HIGHLIGHT_THEME,this.config.HIGHLIGHT_PLUGIN)})},immediate:!0}}}},4333:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(504)),i=r(n(9966)),s=r(n(495)),a=r(n(4478)),l=n(8129),c=n(1085),u=r(n(362)),d=r(n(5941));t.A={components:{TkSubmit:d["default"],TkComment:u["default"]},props:{showAdminEntry:Boolean},data(){return{loading:!0,loadingMore:!1,errorMessage:"",config:{},comments:[],showExpand:!0,count:0,replyId:"",loadedPages:1,currentSort:"newest",searchInput:"",searchKeyword:"",showSearch:!1,requestVersion:0,iconSetting:o["default"],iconRefresh:i["default"],iconSearch:s["default"]}},methods:{t:l.t,async initConfig(){const e=await(0,l.call)(this.$tcb,"GET_CONFIG");e&&e.result&&e.result.config&&(this.config=e.result.config,a["default"].prototype.$twikoo.serverConfig=e.result.config)},async initComments(){const e=++this.requestVersion;this.loading=!0,this.errorMessage="";const t={url:(0,l.getUrl)(this.$twikoo.path),sort:this.currentSort,keyword:this.searchKeyword};this.searchKeyword&&(t.page=1),await this.getComments(t),e===this.requestVersion&&(this.loading=!1)},resetComments(){this.comments=[],this.loadedPages=1},search(){const e=this.searchInput.trim();this.searchInput=e,this.searchKeyword!==e&&(this.searchKeyword=e,this.resetComments(),this.initComments())},clearSearch(){this.searchKeyword&&(this.searchKeyword="",this.resetComments(),this.initComments())},toggleSearch(){this.showSearch=!this.showSearch,this.showSearch&&this.$nextTick(()=>this.$refs.searchInputRef&&this.$refs.searchInputRef.focus())},refresh(){this.resetComments(),this.initComments()},async refreshPreservingState(){const e=++this.requestVersion;this.loading=!0,this.errorMessage="";try{const e=(0,l.getUrl)(this.$twikoo.path),t=this.loadedPages,n={url:e,sort:this.currentSort,keyword:this.searchKeyword};if(this.searchKeyword&&(n.page=1),!(await this.getComments(n)))return;for(let r=2;r<=t&&await this.loadNextPage(e,r);r++);}finally{e===this.requestVersion&&(this.loading=!1)}e===this.requestVersion&&this.$emit("refreshed")},setSort(e){this.currentSort!==e&&(this.currentSort=e,this.resetComments(),this.initComments())},async onExpand(){if(!this.loadingMore){this.loadingMore=!0,this.loadedPages++;try{const e=(0,l.getUrl)(this.$twikoo.path);await this.loadNextPage(e,this.loadedPages)}finally{this.loadingMore=!1}}},getOldestCreated(){let e=Infinity;for(const t of this.comments)!t.top&&t.created<e&&(e=t.created);return e===Infinity?undefined:e},async loadNextPage(e,t=this.loadedPages){if(this.searchKeyword)return this.getComments({url:e,page:t,sort:this.currentSort,keyword:this.searchKeyword});const n=this.getOldestCreated();return n!==undefined&&this.getComments({url:e,before:n,sort:this.currentSort,keyword:this.searchKeyword})},onCommentLoaded(){"function"==typeof this.$twikoo.onCommentLoaded&&this.$twikoo.onCommentLoaded()},async getComments(e){const t=this.requestVersion;try{const n=await(0,l.call)(this.$tcb,"COMMENT_GET",e);if(t!==this.requestVersion)return!1;if(n&&n.result&&n.result.message)return this.errorMessage=n.result.message,!1;if(n&&n.result&&n.result.data)return this.comments=e.before||e.page>1?this.comments.concat(n.result.data):n.result.data,this.showExpand=n.result.more,this.count=n.result.count||this.comments.length||0,this.$nextTick(this.onCommentLoaded),!0}catch(n){t===this.requestVersion&&(this.errorMessage=n.message)}return!1},onReply(e){this.replyId=e},openAdmin(){this.$emit("admin")}},mounted(){this.initConfig(),this.initComments(),c.app.$on("configUpdated",this.initConfig)}}},418:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(2199);t.A={data(){return{version:r.version}}}},2362:function(e,t,n){"use strict";Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var r=n(1085),o=n(8129),i=n(585);const s=/^[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(){return{metaInputs:[{key:"nick",locale:(0,o.t)("META_INPUT_NICK"),name:"nick",type:"text"},{key:"mail",locale:(0,o.t)("META_INPUT_MAIL"),name:"mail",type:"email"},{key:"link",locale:(0,o.t)("META_INPUT_LINK"),name:"link",type:"text"}],metaData:{nick:"",mail:"",link:""}}},computed:{displayedFields(){const 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(){return this.metaInputs.filter(e=>!!this.displayedFields[e.key])},requiredFields(){const 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:o.t,initMeta(){const e=localStorage.getItem("twikoo");if(e){const t=JSON.parse(e);this.metaData.nick=t.nick,this.metaData.mail=t.mail,this.metaData.link=t.link}this.updateMeta()},updateMeta(){localStorage.setItem("twikoo",JSON.stringify(this.metaData)),this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},checkValid(){const e=s.test(this.metaData.mail);return(this.metaData.nick||!this.requiredFields.nick)&&(e||!this.requiredFields.mail)&&(this.metaData.link||!this.requiredFields.link)},checkQQ(){if((0,o.isQQ)(this.metaData.nick)){const e=this.metaData.nick.replace(/@qq.com/gi,""),t=`${e}@qq.com`;this.metaData.mail=t,this.getQQNick(e)}},clearNickIfFromQQInput(){(0,o.isQQ)(this.metaData.nick)&&(this.metaData.nick="",this.updateMeta())},async getQQNick(e){try{const{result:t}=await(0,i.call)(null,"GET_QQ_NICK",{qq:e});t&&t.nick?(this.metaData.nick=t.nick,this.updateMeta()):this.clearNickIfFromQQInput()}catch(t){console.warn("获取 QQ 昵称失败:",t),this.clearNickIfFromQQInput()}},checkAdminCrypt(){const e=this.$root.$children[0],t=!this.config.HIDE_ADMIN_CRYPT||this.config.HIDE_ADMIN_CRYPT===this.metaData.nick;e.onShowAdminEntry(t)},onMetaChange(){this.checkQQ(),this.updateMeta(),this.checkAdminCrypt()}},watch:{nick(e){this.metaData.nick=e},mail(e){this.metaData.mail=e},link(e){this.metaData.link=e},requiredFields:{handler(e,t){this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},deep:!0},"config.VERSION"(){this.checkAdminCrypt()}},mounted(){r.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(){return{currentPage:1,userInput:0,userPageSize:0,pagers:[]}},computed:{pageCount(){return Math.ceil(this.total/this.pageSize)}},methods:{t:r.t,generatePager(){const e=[];for(let t=1;t<=this.pageCount;t++)Math.abs(this.currentPage-t)<3||1===t||t===this.pageCount?e.push({title:`${t}`,page:t}):Math.abs(this.currentPage-t)<4&&e.push({title:"...",page:t});this.pagers=e},currentChange(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(e){this.userPageSize=0,this.$emit("page-size-change",parseInt(e))},handleInput(e){this.userInput=parseInt(e)},handleInputPageSize(e){this.userPageSize=parseInt(e)}},watch:{total:{handler(){this.generatePager()},immediate:!0},pageSize:{handler(){this.generatePager()}}}}},147:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=r(n(1423)),i=r(n(5171)),s=r(n(6639)),a=r(n(2573)),l=r(n(1628)),c=n(8129),u=r(n(3867)),d=r(n(9323));const p=["apng","bmp","gif","jpeg","jpg","png","svg","tif","tiff","webp"];t.A={components:{TkAvatar:u["default"],TkMetaInput:d["default"]},directives:{Clickoutside:a["default"]},props:{replyId:String,pid:String,config:Object},data(){return{isSending:!1,isPreviewing:!1,isMetaValid:!1,errorMessage:"",owo:null,comment:"",commentHtml:"",nick:"",mail:"",link:"",turnstileLoad:null,geeTestLoad:null,geeTestCaptchaObj:null,capLoad:null,iconMarkdown:o["default"],iconEmotion:s["default"],iconImage:i["default"]}},computed:{captchaProvider(){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||this.config.CAP_BUILTIN?"Cap":""},showImage(){return!!this.config.IMAGE_CDN},canSend(){return!this.isSending&&!!this.isMetaValid&&!!this.comment.trim()},textarea(){return this.$refs.textarea?this.$refs.textarea.$refs.textarea:null},commentPlaceholder(){let e=this.$twikoo.placeholder||this.config.COMMENT_PLACEHOLDER||"";return e=e.replace(/<br>/g,"\n"),e},maxLength(){let e=parseInt(this.config.LIMIT_LENGTH);return Number.isNaN(e)&&(e=500),e>0?e:null}},methods:{t:c.t,initDraft(){const e=localStorage.getItem("twikoo-draft");!this.comment&&e&&(this.comment=e)},saveDraft(){localStorage.setItem("twikoo-draft",this.comment)},async initOwo(){if("true"===this.config.SHOW_EMOTION){const e=await(0,c.initOwoEmotions)(this.config.EMOTION_CDN||"https://owo.imaegoo.com/owo.json");this.owo=new l["default"]({logo:s["default"],container:this.$refs.owo,target:this.textarea,odata:e,position:"down",maxHeight:"250px"}),c.marked.setOptions({odata:(0,c.initMarkedOwo)(e)})}},initTurnstile(){"Turnstile"===this.captchaProvider&&this.config.TURNSTILE_SITE_KEY&&(window.turnstile?this.turnstileLoad=Promise.resolve():this.turnstileLoad=new Promise((e,t)=>{const n=document.createElement("script");n.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",n.onload=e,n.onerror=t,this.$refs["turnstile-container"].appendChild(n)}))},getTurnstileToken(){return new Promise((e,t)=>{this.turnstileLoad.then(()=>{const n=window.turnstile.render(this.$refs.turnstile,{sitekey:this.config.TURNSTILE_SITE_KEY,callback:t=>{e(t),setTimeout(()=>{window.turnstile.remove(n)},1e3)},"error-callback":t,"expired-callback":()=>{t(new Error("验证码已过期,请重试"))},"timeout-callback":()=>{t(new Error("验证码超时,请重试"))}})})})},initGeeTest(){"Geetest"===this.captchaProvider&&this.config.GEETEST_CAPTCHA_ID&&(window.initGeetest4?this.geeTestLoad=Promise.resolve():this.geeTestLoad=new Promise((e,t)=>{const n=document.createElement("script");n.src="https://static.geetest.com/v4/gt4.js",n.onload=e,n.onerror=t,this.$refs["geetest-container"].appendChild(n)}))},getGeeTestToken(){return new Promise((e,t)=>{this.geeTestLoad.then(()=>{window.initGeetest4({captchaId:this.config.GEETEST_CAPTCHA_ID,product:"bind",language:"zho"},n=>{this.geeTestCaptchaObj=n,n.onReady(()=>{n.showCaptcha()}).onSuccess(()=>{const t=n.getValidate();e({geeTestLotNumber:t.lot_number,geeTestCaptchaOutput:t.captcha_output,geeTestPassToken:t.pass_token,geeTestGenTime:t.gen_time})}).onError(e=>{t(e)}).onClose(()=>{t(new Error("验证已取消"))})})})})},initCap(){"Cap"===this.captchaProvider&&(this.config.CAP_API_ENDPOINT||this.config.CAP_BUILTIN)&&(this.config.CAP_BUILTIN&&(window.CAP_CUSTOM_FETCH=async(e,t={})=>{const n=String(e),r=t.body?JSON.parse(t.body):{};try{if(n.includes("challenge")){const e=await(0,c.call)(this.$tcb,"CAP_CHALLENGE"),t=e.result||e;return t.code&&0!==t.code?{ok:!1,json:async()=>({error:t.message||"challenge_failed"})}:{ok:!0,json:async()=>({challenge:t.challenge,token:t.token,expires:t.expires})}}if(n.includes("redeem")){const e=await(0,c.call)(this.$tcb,"CAP_REDEEM",r),t=e.result||e;return t.code&&0!==t.code&&!0!==t.success?{ok:!0,json:async()=>({success:!1,error:t.message||t.error||"redeem_failed"})}:{ok:!0,json:async()=>({success:t.success,token:t.token,expires:t.expires,message:t.message,error:t.error||t.message})}}return{ok:!1,json:async()=>({error:"unknown_cap_path"})}}catch(o){return{ok:!1,json:async()=>({error:o.message||"cap_fetch_failed"})}}}),window.Cap||customElements.get("cap-widget")?this.capLoad=Promise.resolve():this.capLoad=new Promise((e,t)=>{const n=document.createElement("script");n.src="https://cdn.jsdmirror.com/npm/@cap.js/widget",n.onload=e,n.onerror=t,this.$refs["cap-container"].appendChild(n)}))},getCapToken(){return new Promise((e,t)=>{this.capLoad.then(()=>{const n=document.createElement("cap-widget");n.setAttribute("id","cap-widget");const r=this.config.CAP_BUILTIN?"/":this.config.CAP_API_ENDPOINT;n.setAttribute("data-cap-api-endpoint",r),this.$refs["cap-container"].appendChild(n);const o=()=>{n&&n.parentNode&&n.parentNode.removeChild(n)};n.solve().then(n=>{o(),n.success?e(n.token):t(new Error("Cap验证失败"))})["catch"](e=>{o(),t(e)})})["catch"](t)})},onMetaUpdate(e){this.nick=e.meta.nick,this.mail=e.meta.mail,this.link=e.meta.link,this.isMetaValid=e.valid},cancel(){this.$emit("cancel")},onCommentInput(){this.saveDraft(),this.updatePreview()},preview(){this.isPreviewing=!this.isPreviewing,this.updatePreview()},updatePreview(){this.isPreviewing&&(this.commentHtml=(0,c.marked)(this.comment),this.$nextTick(()=>{(0,c.renderLinks)(this.$refs["comment-preview"]),(0,c.renderMath)(this.$refs["comment-preview"],this.$twikoo.katex),"true"===this.config.HIGHLIGHT&&(0,c.renderCode)(this.$refs["comment-preview"],this.config.HIGHLIGHT_THEME,this.config.HIGHLIGHT_PLUGIN)}))},async send(){this.isSending=!0;try{if(this.comment.match(new RegExp(`!\\[${(0,c.t)("IMAGE_UPLOAD_PLACEHOLDER")}.+\\]\\(\\)`)))throw new Error((0,c.t)("IMAGE_UPLOAD_PLEASE_WAIT"));const e={nick:this.nick,mail:this.mail,link:this.link,ua:await(0,c.getUserAgent)(),url:(0,c.getUrl)(this.$twikoo.path),href:(0,c.getHref)(this.$twikoo.href),comment:(0,c.marked)(this.comment),pid:this.pid?this.pid:this.replyId,rid:this.replyId};if("Turnstile"===this.captchaProvider&&this.config.TURNSTILE_SITE_KEY&&(e.turnstileToken=await this.getTurnstileToken()),"Geetest"===this.captchaProvider&&this.config.GEETEST_CAPTCHA_ID){const t=await this.getGeeTestToken();e.geeTestLotNumber=t.geeTestLotNumber,e.geeTestCaptchaOutput=t.geeTestCaptchaOutput,e.geeTestPassToken=t.geeTestPassToken,e.geeTestGenTime=t.geeTestGenTime}"Cap"===this.captchaProvider&&(this.config.CAP_API_ENDPOINT||this.config.CAP_BUILTIN)&&(e.capToken=await this.getCapToken());const t=await(0,c.call)(this.$tcb,"COMMENT_SUBMIT",e);if(!(t&&t.result&&t.result.id))throw new Error(t.result.message);this.comment="",this.errorMessage="",this.$emit("load"),this.saveDraft()}catch(e){c.logger.error("评论失败",e),this.errorMessage=`${(0,c.t)("COMMENT_FAILED")}: ${e&&e.message}`}finally{this.isSending=!1}},addEventListener(){this.textarea&&this.textarea.addEventListener("paste",this.onPaste)},onBgImgChange(){this.config.COMMENT_BG_IMG&&this.textarea&&(this.textarea.style["background-image"]=`url("${this.config.COMMENT_BG_IMG}")`)},onEnterKeyUp(e){(e.ctrlKey||e.metaKey)&&this.canSend&&(this.send(),e.preventDefault())},closeOwo(){this.owo&&this.owo.container.classList.contains("OwO-open")&&this.owo.toggle()},openSelectImage(){this.$refs.inputFile.click()},onSelectImage(){const e=this.$refs.inputFile.files[0];this.parseAndUploadPhoto(e)},onPaste(e){if(!e.clipboardData)return;let t;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)},async parseAndUploadPhoto(e){if(!e||!this.showImage)return;const t=e.name.split("."),n=t.length>1?t.pop():"";if(-1===p.indexOf(n.toLowerCase()))return;const r=this.getUserId(),o=`${Date.now()}-${r}`,i=t.join("."),s="image/gif"===e.type,a=s?i:i+".webp",l=s?n:"webp";this.paste(this.getImagePlaceholder(o,l));const u=this.config.IMAGE_CDN,d=await this.compressImage(e);!this.$tcb||u&&"qcloud"!==u?u?this.uploadPhotoToThirdParty(o,a,l,d):this.uploadFailed(o,l,(0,c.t)("IMAGE_UPLOAD_FAILED_NO_CONF")):this.uploadPhotoToQcloud(o,a,l,d)},getUserId(){return this.$tcb?this.$tcb.auth.currentUser.uid:localStorage.getItem("twikoo-access-token")},async compressImage(e){return"image/gif"===e.type?e:new Promise(t=>{const n=new FileReader;n.onload=n=>{const r=new Image;r.onload=()=>{const n=document.createElement("canvas");let o=r.width,i=r.height;const s=1920;(o>s||i>s)&&(o>i?(i=i*s/o,o=s):(o=o*s/i,i=s)),n.width=o,n.height=i,n.getContext("2d").drawImage(r,0,0,o,i);const a="image/webp",l=e.name.replace(/\.[^.]+$/,".webp");n.toBlob(e=>{t(new File([e],l,{type:a}))},a,.85)},r.src=n.target.result},n.readAsDataURL(e)})},async uploadPhotoToQcloud(e,t,n,r){try{const o=await this.$tcb.app.uploadFile({cloudPath:`tk-img/${e}.${n}`,filePath:r});if(o.fileID){const r=(await this.$tcb.app.getTempFileURL({fileList:[o.fileID]})).fileList[0].tempFileURL;this.uploadCompleted(e,t,n,r)}}catch(o){console.error(o),this.uploadFailed(e,n,o.message)}},async uploadPhotoToThirdParty(e,t,n,r){try{const{result:o}=await(0,c.call)(this.$tcb,"UPLOAD_IMAGE",{fileName:t,photo:await(0,c.blobToDataURL)(r)});o.data?this.uploadCompleted(e,t,n,o.data.url):1041===o.code?this.uploadFailed(e,n,(0,c.t)("IMAGE_UPLOAD_NSFW")):(console.error(o),this.uploadFailed(e,n,o.err))}catch(o){console.error(o),this.uploadFailed(e,n,o.message)}},uploadCompleted(e,t,n,r){t=t.replace(/[[\]]/g,"_"),this.comment=this.comment.replace(this.getImagePlaceholder(e,n),`![${t}](${r})`),this.$refs.inputFile.value=""},uploadFailed(e,t,n){this.comment=this.comment.replace(this.getImagePlaceholder(e,t),`_${(0,c.t)("IMAGE_UPLOAD_FAILED")}: ${n}_`),this.$refs.inputFile.value=""},paste(e){if(document.selection)document.selection.createRange().text=e;else if(this.textarea.selectionStart||0===this.textarea.selectionStart){const 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(e,t){return`![${(0,c.t)("IMAGE_UPLOAD_PLACEHOLDER")} ${e}.${t}]()`}},mounted(){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()}}}},4478:function(e,t,n){"use strict";e.exports=n(6615)},6615:function(e,t,n){"use strict";const r=Object.freeze({}),o=Array.isArray;function i(e){return null==e}function s(e){return null!=e}function a(e){return!0===e}function l(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return"function"==typeof e}function u(e){return null!==e&&"object"==typeof e}const d=Object.prototype.toString;function p(e){return"[object Object]"===d.call(e)}function h(e){const t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return s(e)&&"function"==typeof e.then&&"function"==typeof e["catch"]}function m(e){return null==e?"":Array.isArray(e)||p(e)&&e.toString===d?JSON.stringify(e,g,2):String(e)}function g(e,t){return t&&t.__v_isRef?t.value:t}function _(e){const t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?e=>n[e.toLowerCase()]:e=>n[e]}const b=v("key,ref,slot,slot-scope,is");function y(e,t){const n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);const r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}const w=Object.prototype.hasOwnProperty;function k(e,t){return w.call(e,t)}function S(e){const t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}const E=/-(\w)/g,I=S(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),C=S(e=>e.charAt(0).toUpperCase()+e.slice(1)),T=/\B([A-Z])/g,A=S(e=>e.replace(T,"-$1").toLowerCase()),O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){const 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 x(e,t){t=t||0;let n=e.length-t;const r=new Array(n);for(;n--;)r[n]=e[n+t];return r}function P(e,t){for(const n in t)e[n]=t[n];return e}function M(e){const t={};for(let n=0;n<e.length;n++)e[n]&&P(t,e[n]);return t}function N(e,t,n){}const R=(e,t,n)=>!1,L=e=>e;function D(e,t){if(e===t)return!0;const n=u(e),r=u(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{const n=Array.isArray(e),r=Array.isArray(t);if(n&&r)return e.length===t.length&&e.every((e,n)=>D(e,t[n]));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(n||r)return!1;{const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>D(e[n],t[n]))}}catch(e){return!1}}function $(e,t){for(let n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function U(e){let t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function j(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}const F="data-server-rendered",G=["component","directive","filter"],q=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"];var z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:R,isReservedAttr:R,isUnknownElement:R,getTagNamespace:N,parsePlatformTagName:L,mustUseProp:R,async:!0,_lifecycleHooks:q};function B(e){const t=(e+"").charCodeAt(0);return 36===t||95===t}function H(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}const V=new RegExp(`[^${/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]`),W="__proto__"in{},K="undefined"!=typeof window,Q=K&&window.navigator.userAgent.toLowerCase(),X=Q&&/msie|trident/.test(Q),Y=Q&&Q.indexOf("msie 9.0")>0,J=Q&&Q.indexOf("edge/")>0;Q&&Q.indexOf("android");const Z=Q&&/iphone|ipad|ipod|ios/.test(Q);Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q);const ee=Q&&Q.match(/firefox\/(\d+)/),te={}.watch;let ne,re=!1;if(K)try{const e={};Object.defineProperty(e,"passive",{get(){re=!0}}),window.addEventListener("test-passive",null,e)}catch(r){}const oe=()=>(void 0===ne&&(ne=!K&&"undefined"!=typeof n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),ne),ie=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}const ae="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);let le;le="undefined"!=typeof Set&&se(Set)?Set:class{constructor(){this.set=Object.create(null)}has(e){return!0===this.set[e]}add(e){this.set[e]=!0}clear(){this.set=Object.create(null)}};let ce=null;function ue(e=null){e||ce&&ce._scope.off(),ce=e,e&&e._scope.on()}class de{constructor(e,t,n,r,o,i,s,a){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=s,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=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}get child(){return this.componentInstance}}const pe=(e="")=>{const t=new de;return t.text=e,t.isComment=!0,t};function he(e){return new de(void 0,void 0,void 0,String(e))}function fe(e){const t=new de(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}let me=0;const ge=[];class _e{constructor(){this._pending=!1,this.id=me++,this.subs=[]}addSub(e){this.subs.push(e)}removeSub(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,ge.push(this))}depend(e){_e.target&&_e.target.addDep(this)}notify(e){const t=this.subs.filter(e=>e);for(let n=0,r=t.length;n<r;n++)t[n].update()}}_e.target=null;const ve=[];function be(e){ve.push(e),_e.target=e}function ye(){ve.pop(),_e.target=ve[ve.length-1]}const we=Array.prototype,ke=Object.create(we);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){const t=we[e];H(ke,e,function(...n){const r=t.apply(this,n),o=this.__ob__;let i;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&o.observeArray(i),o.dep.notify(),r})});const Se=Object.getOwnPropertyNames(ke),Ee={};let Ie=!0;function Ce(e){Ie=e}const Te={notify:N,depend:N,addSub:N,removeSub:N};class Ae{constructor(e,t=!1,n=!1){if(this.value=e,this.shallow=t,this.mock=n,this.dep=n?Te:new _e,this.vmCount=0,H(e,"__ob__",this),o(e)){if(!n)if(W)e.__proto__=ke;else for(let t=0,n=Se.length;t<n;t++){const n=Se[t];H(e,n,ke[n])}t||this.observeArray(e)}else{const r=Object.keys(e);for(let o=0;o<r.length;o++)xe(e,r[o],Ee,void 0,t,n)}}observeArray(e){for(let t=0,n=e.length;t<n;t++)Oe(e[t],!1,this.mock)}}function Oe(e,t,n){return e&&k(e,"__ob__")&&e.__ob__ instanceof Ae?e.__ob__:!Ie||!n&&oe()||!o(e)&&!p(e)||!Object.isExtensible(e)||e.__v_skip||Fe(e)||e instanceof de?void 0:new Ae(e,t,n)}function xe(e,t,n,r,i,s,a=!1){const l=new _e,c=Object.getOwnPropertyDescriptor(e,t);if(c&&!1===c.configurable)return;const u=c&&c.get,d=c&&c.set;u&&!d||n!==Ee&&2!==arguments.length||(n=e[t]);let p=i?n&&n.__ob__:Oe(n,!1,s);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){const t=u?u.call(e):n;return _e.target&&(l.depend(),p&&(p.dep.depend(),o(t)&&Ne(t))),Fe(t)&&!i?t.value:t},set:function(t){const r=u?u.call(e):n;if(j(r,t)){if(d)d.call(e,t);else{if(u)return;if(!i&&Fe(r)&&!Fe(t))return void(r.value=t);n=t}p=i?t&&t.__ob__:Oe(t,!1,s),l.notify()}}}),l}function Pe(e,t,n){if(Ue(e))return;const r=e.__ob__;return o(e)&&h(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Oe(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(xe(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}function Me(e,t){if(o(e)&&h(t))return void e.splice(t,1);const n=e.__ob__;e._isVue||n&&n.vmCount||Ue(e)||k(e,t)&&(delete e[t],n&&n.dep.notify())}function Ne(e){for(let t,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),o(t)&&Ne(t)}function Re(e){return Le(e,!0),H(e,"__v_isShallow",!0),e}function Le(e,t){Ue(e)||Oe(e,t,oe())}function De(e){return Ue(e)?De(e.__v_raw):!(!e||!e.__ob__)}function $e(e){return!(!e||!e.__v_isShallow)}function Ue(e){return!(!e||!e.__v_isReadonly)}const je="__v_isRef";function Fe(e){return!(!e||!0!==e.__v_isRef)}function Ge(e,t){if(Fe(e))return e;const n={};return H(n,je,!0),H(n,"__v_isShallow",t),H(n,"dep",xe(n,"value",e,null,t,oe())),n}function qe(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>{const e=t[n];if(Fe(e))return e.value;{const t=e&&e.__ob__;return t&&t.dep.depend(),e}},set:e=>{const r=t[n];Fe(r)&&!Fe(e)?r.value=e:t[n]=e}})}function ze(e,t,n){const r=e[t];if(Fe(r))return r;const o={get value(){const r=e[t];return void 0===r?n:r},set value(n){e[t]=n}};return H(o,je,!0),o}function Be(e){return He(e,!1)}function He(e,t){if(!p(e))return e;if(Ue(e))return e;const n=t?"__v_rawToShallowReadonly":"__v_rawToReadonly",r=e[n];if(r)return r;const o=Object.create(Object.getPrototypeOf(e));H(e,n,o),H(o,"__v_isReadonly",!0),H(o,"__v_raw",e),Fe(e)&&H(o,je,!0),(t||$e(e))&&H(o,"__v_isShallow",!0);const i=Object.keys(e);for(let s=0;s<i.length;s++)Ve(o,e,i[s],t);return o}function Ve(e,t,n,r){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){const e=t[n];return r||!p(e)?e:Be(e)},set(){}})}const We="watcher",Ke=`${We} callback`,Qe=`${We} getter`,Xe=`${We} cleanup`;function Ye(e,t){return Ze(e,null,{flush:"post"})}const Je={};function Ze(e,t,{immediate:n,deep:i,flush:s="pre",onTrack:a,onTrigger:l}=r){const u=ce,d=(e,t,n=null)=>{const r=Bt(e,null,n,u,t);return i&&r&&r.__ob__&&r.__ob__.dep.depend(),r};let p,h,f=!1,m=!1;if(Fe(e)?(p=()=>e.value,f=$e(e)):De(e)?(p=()=>(e.__ob__.dep.depend(),e),i=!0):o(e)?(m=!0,f=e.some(e=>De(e)||$e(e)),p=()=>e.map(e=>Fe(e)?e.value:De(e)?(e.__ob__.dep.depend(),gn(e)):c(e)?d(e,Qe):void 0)):p=c(e)?t?()=>d(e,Qe):()=>{if(!u||!u._isDestroyed)return h&&h(),d(e,We,[g])}:N,t&&i){const e=p;p=()=>gn(e())}let g=e=>{h=_.onStop=()=>{d(e,Xe)}};if(oe())return g=N,t?n&&d(t,Ke,[p(),m?[]:void 0,g]):p(),N;const _=new yn(ce,p,N,{lazy:!0});_.noRecurse=!t;let v=m?[]:Je;return _.run=()=>{if(_.active)if(t){const e=_.get();(i||f||(m?e.some((e,t)=>j(e,v[t])):j(e,v)))&&(h&&h(),d(t,Ke,[e,v===Je?void 0:v,g]),v=e)}else _.get()},"sync"===s?_.update=_.run:"post"===s?(_.post=!0,_.update=()=>Gn(_)):_.update=()=>{if(u&&u===ce&&!u._isMounted){const e=u._preWatchers||(u._preWatchers=[]);e.indexOf(_)<0&&e.push(_)}else Gn(_)},t?n?_.run():v=_.get():"post"===s&&u?u.$once("hook:mounted",()=>_.get()):_.get(),()=>{_.teardown()}}let et;class tt{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=et,!e&&et&&(this.index=(et.scopes||(et.scopes=[])).push(this)-1)}run(e){if(this.active){const t=et;try{return et=this,e()}finally{et=t}}}on(){et=this}off(){et=this.parent}stop(e){if(this.active){let 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){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this.active=!1}}}function nt(){return et}function rt(e){const t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}const ot=S(e=>{const 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 it(e,t){function n(){const e=n.fns;if(!o(e))return Bt(e,null,arguments,t,"v-on handler");{const n=e.slice();for(let e=0;e<n.length;e++)Bt(n[e],null,arguments,t,"v-on handler")}}return n.fns=e,n}function st(e,t,n,r,o,s){let l,c,u,d;for(l in e)c=e[l],u=t[l],d=ot(l),i(c)||(i(u)?(i(c.fns)&&(c=e[l]=it(c,s)),a(d.once)&&(c=e[l]=o(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)i(e[l])&&(d=ot(l),r(d.name,t[l],d.capture))}function at(e,t,n){let r;e instanceof de&&(e=e.data.hook||(e.data.hook={}));const o=e[t];function l(){n.apply(this,arguments),y(r.fns,l)}i(o)?r=it([l]):s(o.fns)&&a(o.merged)?(r=o,r.fns.push(l)):r=it([o,l]),r.merged=!0,e[t]=r}function lt(e,t,n,r,o){if(s(t)){if(k(t,n))return e[n]=t[n],o||delete t[n],!0;if(k(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function ct(e){return l(e)?[he(e)]:o(e)?dt(e):void 0}function ut(e){return s(e)&&s(e.text)&&!1===e.isComment}function dt(e,t){const n=[];let r,c,u,d;for(r=0;r<e.length;r++)c=e[r],i(c)||"boolean"==typeof c||(u=n.length-1,d=n[u],o(c)?c.length>0&&(c=dt(c,`${t||""}_${r}`),ut(c[0])&&ut(d)&&(n[u]=he(d.text+c[0].text),c.shift()),n.push.apply(n,c)):l(c)?ut(d)?n[u]=he(d.text+c):""!==c&&n.push(he(c)):ut(c)&&ut(d)?n[u]=he(d.text+c.text):(a(e._isVList)&&s(c.tag)&&i(c.key)&&s(t)&&(c.key=`__vlist${t}_${r}__`),n.push(c)));return n}function pt(e,t){let n,r,i,a,l=null;if(o(e)||"string"==typeof e)for(l=new Array(e.length),n=0,r=e.length;n<r;n++)l[n]=t(e[n],n);else if("number"==typeof e)for(l=new Array(e),n=0;n<e;n++)l[n]=t(n+1,n);else if(u(e))if(ae&&e[Symbol.iterator]){l=[];const n=e[Symbol.iterator]();let r=n.next();for(;!r.done;)l.push(t(r.value,l.length)),r=n.next()}else for(i=Object.keys(e),l=new Array(i.length),n=0,r=i.length;n<r;n++)a=i[n],l[n]=t(e[a],a,n);return s(l)||(l=[]),l._isVList=!0,l}function ht(e,t,n,r){const o=this.$scopedSlots[e];let i;o?(n=n||{},r&&(n=P(P({},r),n)),i=o(n)||(c(t)?t():t)):i=this.$slots[e]||(c(t)?t():t);const s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function ft(e){return ir(this.$options,"filters",e)||L}function mt(e,t){return o(e)?-1===e.indexOf(t):e!==t}function gt(e,t,n,r,o){const i=z.keyCodes[t]||n;return o&&r&&!z.keyCodes[t]?mt(o,r):i?mt(i,e):r?A(r)!==t:void 0===e}function _t(e,t,n,r,i){if(n&&u(n)){let s;o(n)&&(n=M(n));for(const o in n){if("class"===o||"style"===o||b(o))s=e;else{const n=e.attrs&&e.attrs.type;s=r||z.mustUseProp(t,n,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}const a=I(o),l=A(o);a in s||l in s||(s[o]=n[o],!i)||((e.on||(e.on={}))[`update:${o}`]=function(e){n[o]=e})}}return e}function vt(e,t){const n=this._staticTrees||(this._staticTrees=[]);let r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),yt(r,`__static__${e}`,!1)),r}function bt(e,t,n){return yt(e,`__once__${t}${n?`_${n}`:""}`,!0),e}function yt(e,t,n){if(o(e))for(let r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&wt(e[r],`${t}_${r}`,n);else wt(e,t,n)}function wt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function kt(e,t){if(t&&p(t)){const n=e.on=e.on?P({},e.on):{};for(const e in t){const r=n[e],o=t[e];n[e]=r?[].concat(r,o):o}}return e}function St(e,t,n,r){t=t||{$stable:!n};for(let i=0;i<e.length;i++){const r=e[i];o(r)?St(r,t,n):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return r&&(t.$key=r),t}function Et(e,t){for(let n=0;n<t.length;n+=2){const r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function It(e,t){return"string"==typeof e?t+e:e}function Ct(e){e._o=bt,e._n=_,e._s=m,e._l=pt,e._t=ht,e._q=D,e._i=$,e._m=vt,e._f=ft,e._k=gt,e._b=_t,e._v=he,e._e=pe,e._u=St,e._g=kt,e._d=Et,e._p=It}function Tt(e,t){if(!e||!e.length)return{};const n={};for(let r=0,o=e.length;r<o;r++){const o=e[r],i=o.data;if(i&&i.attrs&&i.attrs.slot&&delete i.attrs.slot,o.context!==t&&o.fnContext!==t||!i||null==i.slot)(n["default"]||(n["default"]=[])).push(o);else{const e=i.slot,t=n[e]||(n[e]=[]);"template"===o.tag?t.push.apply(t,o.children||[]):t.push(o)}}for(const r in n)n[r].every(At)&&delete n[r];return n}function At(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ot(e){return e.isComment&&e.asyncFactory}function xt(e,t,n,o){let i;const s=Object.keys(n).length>0,a=t?!!t.$stable:!s,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&o&&o!==r&&l===o.$key&&!s&&!o.$hasNormal)return o;i={};for(const r in t)t[r]&&"$"!==r[0]&&(i[r]=Pt(e,n,r,t[r]))}else i={};for(const r in n)r in i||(i[r]=Mt(n,r));return t&&Object.isExtensible(t)&&(t._normalized=i),H(i,"$stable",a),H(i,"$key",l),H(i,"$hasNormal",s),i}function Pt(e,t,n,r){const i=function(){const t=ce;ue(e);let n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"==typeof n&&!o(n)?[n]:ct(n);const i=n&&n[0];return ue(t),n&&(!i||1===n.length&&i.isComment&&!Ot(i))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function Mt(e,t){return()=>e[t]}function Nt(e){return{get attrs(){if(!e._attrsProxy){const t=e._attrsProxy={};H(t,"_v_attr_proxy",!0),Rt(t,e.$attrs,r,e,"$attrs")}return e._attrsProxy},get listeners(){return e._listenersProxy||Rt(e._listenersProxy={},e.$listeners,r,e,"$listeners"),e._listenersProxy},get slots(){return function(e){return e._slotsProxy||Dt(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}(e)},emit:O(e.$emit,e),expose(t){t&&Object.keys(t).forEach(n=>qe(e,t,n))}}}function Rt(e,t,n,r,o){let i=!1;for(const s in t)s in e?t[s]!==n[s]&&(i=!0):(i=!0,Lt(e,s,r,o));for(const s in e)s in t||(i=!0,delete e[s]);return i}function Lt(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>n[r][t]})}function Dt(e,t){for(const n in t)e[n]=t[n];for(const n in e)n in t||delete e[n]}function $t(){const e=ce;return e._setupContext||(e._setupContext=Nt(e))}let Ut=null;function jt(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e["default"]),u(e)?t.extend(e):e}function Ft(e){if(o(e))for(let t=0;t<e.length;t++){const n=e[t];if(s(n)&&(s(n.componentOptions)||Ot(n)))return n}}function Gt(e,t,n,r,i,d){return(o(n)||l(n))&&(i=r,r=n,n=void 0),a(d)&&(i=2),function(e,t,n,r,i){if(s(n)&&s(n.__ob__))return pe();if(s(n)&&s(n.is)&&(t=n.is),!t)return pe();let a,l;if(o(r)&&c(r[0])&&((n=n||{}).scopedSlots={"default":r[0]},r.length=0),2===i?r=ct(r):1===i&&(r=function(e){for(let t=0;t<e.length;t++)if(o(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t){let o;l=e.$vnode&&e.$vnode.ns||z.getTagNamespace(t),a=z.isReservedTag(t)?new de(z.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!s(o=ir(e.$options,"components",t))?new de(t,n,r,void 0,void 0,e):Qn(o,n,e,r,t)}else a=Qn(t,n,e,r);return o(a)?a:s(a)?(s(l)&&qt(a,l),s(n)&&function(e){u(e.style)&&gn(e.style),u(e["class"])&&gn(e["class"])}(n),a):pe()}(e,t,n,r,i)}function qt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),s(e.children))for(let r=0,o=e.children.length;r<o;r++){const o=e.children[r];s(o.tag)&&(i(o.ns)||a(n)&&"svg"!==o.tag)&&qt(o,t,n)}}function zt(e,t,n){be();try{if(t){let r=t;for(;r=r.$parent;){const o=r.$options.errorCaptured;if(o)for(let i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){Ht(e,r,"errorCaptured hook")}}}Ht(e,t,n)}finally{ye()}}function Bt(e,t,n,r,o){let i;try{i=n?e.apply(t,n):e.call(t),i&&!i._isVue&&f(i)&&!i._handled&&(i["catch"](e=>zt(e,r,o+" (Promise/async)")),i._handled=!0)}catch(e){zt(e,r,o)}return i}function Ht(e,t,n){if(z.errorHandler)try{return z.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Vt(t)}Vt(e)}function Vt(e,t,n){if(!K||"undefined"==typeof console)throw e;console.error(e)}let Wt=!1;const Kt=[];let Qt,Xt=!1;function Yt(){Xt=!1;const e=Kt.slice(0);Kt.length=0;for(let t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&se(Promise)){const e=Promise.resolve();Qt=()=>{e.then(Yt),Z&&setTimeout(N)},Wt=!0}else if(X||"undefined"==typeof MutationObserver||!se(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Qt="undefined"!=typeof setImmediate&&se(setImmediate)?()=>{setImmediate(Yt)}:()=>{setTimeout(Yt,0)};else{let e=1;const t=new MutationObserver(Yt),n=document.createTextNode(String(e));t.observe(n,{characterData:!0}),Qt=()=>{e=(e+1)%2,n.data=String(e)},Wt=!0}function Jt(e,t){let n;if(Kt.push(()=>{if(e)try{e.call(t)}catch(e){zt(e,t,"nextTick")}else n&&n(t)}),Xt||(Xt=!0,Qt()),!e&&"undefined"!=typeof Promise)return new Promise(e=>{n=e})}function Zt(e){return(t,n=ce)=>{if(n)return function(e,t,n){const r=e.$options;r[t]=tr(r[t],n)}(n,e,t)}}const en=Zt("beforeMount"),tn=Zt("mounted"),nn=Zt("beforeUpdate"),rn=Zt("updated"),on=Zt("beforeDestroy"),sn=Zt("destroyed"),an=Zt("activated"),ln=Zt("deactivated"),cn=Zt("serverPrefetch"),un=Zt("renderTracked"),dn=Zt("renderTriggered"),pn=Zt("errorCaptured"),hn="2.7.16";var fn=Object.freeze({__proto__:null,version:hn,defineComponent:function(e){return e},ref:function(e){return Ge(e,!1)},shallowRef:function(e){return Ge(e,!0)},isRef:Fe,toRef:ze,toRefs:function(e){const t=o(e)?new Array(e.length):{};for(const n in e)t[n]=ze(e,n);return t},unref:function(e){return Fe(e)?e.value:e},proxyRefs:function(e){if(De(e))return e;const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)qe(t,e,n[r]);return t},customRef:function(e){const t=new _e,{get:n,set:r}=e(()=>{t.depend()},()=>{t.notify()}),o={get value(){return n()},set value(e){r(e)}};return H(o,je,!0),o},triggerRef:function(e){e.dep&&e.dep.notify()},reactive:function(e){return Le(e,!1),e},isReactive:De,isReadonly:Ue,isShallow:$e,isProxy:function(e){return De(e)||Ue(e)},shallowReactive:Re,markRaw:function(e){return Object.isExtensible(e)&&H(e,"__v_skip",!0),e},toRaw:function Li(e){const t=e&&e.__v_raw;return t?Li(t):e},readonly:Be,shallowReadonly:function(e){return He(e,!0)},computed:function(e,t){let n,r;const o=c(e);o?(n=e,r=N):(n=e.get,r=e.set);const i=oe()?null:new yn(ce,n,N,{lazy:!0}),s={effect:i,get value(){return i?(i.dirty&&i.evaluate(),_e.target&&i.depend(),i.value):n()},set value(e){r(e)}};return H(s,je,!0),H(s,"__v_isReadonly",o),s},watch:function(e,t,n){return Ze(e,t,n)},watchEffect:function(e,t){return Ze(e,null,t)},watchPostEffect:Ye,watchSyncEffect:function(e,t){return Ze(e,null,{flush:"sync"})},EffectScope:tt,effectScope:function(e){return new tt(e)},onScopeDispose:function(e){et&&et.cleanups.push(e)},getCurrentScope:nt,provide:function(e,t){ce&&(rt(ce)[e]=t)},inject:function(e,t,n=!1){const r=ce;if(r){const o=r.$parent&&r.$parent._provided;if(o&&e in o)return o[e];if(arguments.length>1)return n&&c(t)?t.call(r):t}},h:function(e,t,n){return Gt(ce,e,t,n,2,!0)},getCurrentInstance:function(){return ce&&{proxy:ce}},useSlots:function(){return $t().slots},useAttrs:function(){return $t().attrs},useListeners:function(){return $t().listeners},mergeDefaults:function(e,t){const n=o(e)?e.reduce((e,t)=>(e[t]={},e),{}):e;for(const r in t){const e=n[r];e?o(e)||c(e)?n[r]={type:e,"default":t[r]}:e["default"]=t[r]:null===e&&(n[r]={"default":t[r]})}return n},nextTick:Jt,set:Pe,del:Me,useCssModule:function(e="$style"){return ce&&ce[e]||r},useCssVars:function(e){if(!K)return;const t=ce;t&&Ye(()=>{const n=t.$el,r=e(t,t._setupProxy);if(n&&1===n.nodeType){const e=n.style;for(const t in r)e.setProperty(`--${t}`,r[t])}})},defineAsyncComponent:function(e){c(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!1,onError:a}=e;let l=null,u=0;const d=()=>{let e;return l||(e=l=t()["catch"](e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise((t,n)=>{a(e,()=>t((u++,l=null,d())),()=>n(e),u+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t["default"]),t)))};return()=>({component:d(),delay:o,timeout:i,error:r,loading:n})},onBeforeMount:en,onMounted:tn,onBeforeUpdate:nn,onUpdated:rn,onBeforeUnmount:on,onUnmounted:sn,onActivated:an,onDeactivated:ln,onServerPrefetch:cn,onRenderTracked:un,onRenderTriggered:dn,onErrorCaptured:function(e,t=ce){pn(e,t)}});const mn=new le;function gn(e){return _n(e,mn),mn.clear(),e}function _n(e,t){let n,r;const i=o(e);if(!(!i&&!u(e)||e.__v_skip||Object.isFrozen(e)||e instanceof de)){if(e.__ob__){const n=e.__ob__.dep.id;if(t.has(n))return;t.add(n)}if(i)for(n=e.length;n--;)_n(e[n],t);else if(Fe(e))_n(e.value,t);else for(r=Object.keys(e),n=r.length;n--;)_n(e[r[n]],t)}}let vn,bn=0;class yn{constructor(e,t,n,r,o){!function(e,t=et){t&&t.active&&t.effects.push(e)}(this,et&&!et._vm?et:e?e._scope:void 0),(this.vm=e)&&o&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++bn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new le,this.newDepIds=new le,this.expression="",c(t)?this.getter=t:(this.getter=function(e){if(V.test(e))return;const t=e.split(".");return function(e){for(let n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}(t),this.getter||(this.getter=N)),this.value=this.lazy?void 0:this.get()}get(){let e;be(this);const t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;zt(e,t,`getter for watcher "${this.expression}"`)}finally{this.deep&&gn(e),ye(),this.cleanupDeps()}return e}addDep(e){const t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))}cleanupDeps(){let e=this.deps.length;for(;e--;){const t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}let t=this.depIds;this.depIds=this.newDepIds,this.newDepIds=t,this.newDepIds.clear(),t=this.deps,this.deps=this.newDeps,this.newDeps=t,this.newDeps.length=0}update(){this.lazy?this.dirty=!0:this.sync?this.run():Gn(this)}run(){if(this.active){const e=this.get();if(e!==this.value||u(e)||this.deep){const t=this.value;if(this.value=e,this.user){const n=`callback for watcher "${this.expression}"`;Bt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}}evaluate(){this.value=this.get(),this.dirty=!1}depend(){let e=this.deps.length;for(;e--;)this.deps[e].depend()}teardown(){if(this.vm&&!this.vm._isBeingDestroyed&&y(this.vm._scope.effects,this),this.active){let e=this.deps.length;for(;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}}}function wn(e,t){vn.$on(e,t)}function kn(e,t){vn.$off(e,t)}function Sn(e,t){const n=vn;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function En(e,t,n){vn=e,st(t,n||{},wn,kn,Sn,e),vn=void 0}let In=null;function Cn(e){const t=In;return In=e,()=>{In=t}}function Tn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function An(e,t){if(t){if(e._directInactive=!1,Tn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(let t=0;t<e.$children.length;t++)An(e.$children[t]);xn(e,"activated")}}function On(e,t){if(!(t&&(e._directInactive=!0,Tn(e))||e._inactive)){e._inactive=!0;for(let t=0;t<e.$children.length;t++)On(e.$children[t]);xn(e,"deactivated")}}function xn(e,t,n,r=!0){be();const o=ce,i=nt();r&&ue(e);const s=e.$options[t],a=`${t} hook`;if(s)for(let l=0,c=s.length;l<c;l++)Bt(s[l],e,n||null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),r&&(ue(o),i&&i.on()),ye()}const Pn=[],Mn=[];let Nn={},Rn=!1,Ln=!1,Dn=0,$n=0,Un=Date.now;if(K&&!X){const e=window.performance;e&&"function"==typeof e.now&&Un()>document.createEvent("Event").timeStamp&&(Un=()=>e.now())}const jn=(e,t)=>{if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Fn(){let e,t;for($n=Un(),Ln=!0,Pn.sort(jn),Dn=0;Dn<Pn.length;Dn++)e=Pn[Dn],e.before&&e.before(),t=e.id,Nn[t]=null,e.run();const n=Mn.slice(),r=Pn.slice();Dn=Pn.length=Mn.length=0,Nn={},Rn=Ln=!1,function(e){for(let t=0;t<e.length;t++)e[t]._inactive=!0,An(e[t],!0)}(n),function(e){let t=e.length;for(;t--;){const n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&xn(r,"updated")}}(r),(()=>{for(let e=0;e<ge.length;e++){const t=ge[e];t.subs=t.subs.filter(e=>e),t._pending=!1}ge.length=0})(),ie&&z.devtools&&ie.emit("flush")}function Gn(e){const t=e.id;if(null==Nn[t]&&(e!==_e.target||!e.noRecurse)){if(Nn[t]=!0,Ln){let t=Pn.length-1;for(;t>Dn&&Pn[t].id>e.id;)t--;Pn.splice(t+1,0,e)}else Pn.push(e);Rn||(Rn=!0,Jt(Fn))}}function qn(e,t){if(e){const n=Object.create(null),r=ae?Reflect.ownKeys(e):Object.keys(e);for(let o=0;o<r.length;o++){const i=r[o];if("__ob__"===i)continue;const s=e[i].from;if(s in t._provided)n[i]=t._provided[s];else if("default"in e[i]){const r=e[i]["default"];n[i]=c(r)?r.call(t):r}}return n}}function zn(e,t,n,i,s){const l=s.options;let c;k(i,"_uid")?(c=Object.create(i),c._original=i):(c=i,i=i._original);const u=a(l._compiled),d=!u;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||r,this.injections=qn(l.inject,i),this.slots=()=>(this.$slots||xt(i,e.scopedSlots,this.$slots=Tt(n,i)),this.$slots),Object.defineProperty(this,"scopedSlots",{enumerable:!0,get(){return xt(i,e.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=xt(i,e.scopedSlots,this.$slots)),l._scopeId?this._c=(e,t,n,r)=>{const s=Gt(c,e,t,n,r,d);return s&&!o(s)&&(s.fnScopeId=l._scopeId,s.fnContext=i),s}:this._c=(e,t,n,r)=>Gt(c,e,t,n,r,d)}function Bn(e,t,n,r,o){const i=fe(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Hn(e,t){for(const n in t)e[I(n)]=t[n]}function Vn(e){return e.name||e.__name||e._componentTag}Ct(zn.prototype);const Wn={init(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){const t=e;Wn.prepatch(t,t)}else(e.componentInstance=function(e,t){const n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return s(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,In)).$mount(t?e.elm:void 0,t)},prepatch(e,t){const n=t.componentOptions;!function(e,t,n,o,i){const s=o.data.scopedSlots,a=e.$scopedSlots,l=!!(s&&!s.$stable||a!==r&&!a.$stable||s&&e.$scopedSlots.$key!==s.$key||!s&&e.$scopedSlots.$key);let c=!!(i||e.$options._renderChildren||l);const u=e.$vnode;e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=i;const d=o.data.attrs||r;e._attrsProxy&&Rt(e._attrsProxy,d,u.data&&u.data.attrs||r,e,"$attrs")&&(c=!0),e.$attrs=d,n=n||r;const p=e.$options._parentListeners;if(e._listenersProxy&&Rt(e._listenersProxy,n,p||r,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,En(e,n,p),t&&e.$options.props){Ce(!1);const n=e._props,r=e.$options._propKeys||[];for(let o=0;o<r.length;o++){const i=r[o],s=e.$options.props;n[i]=sr(i,s,t,e)}Ce(!0),e.$options.propsData=t}c&&(e.$slots=Tt(i,o.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert(e){const{context:t,componentInstance:n}=e;var r;n._isMounted||(n._isMounted=!0,xn(n,"mounted")),e.data.keepAlive&&(t._isMounted?((r=n)._inactive=!1,Mn.push(r)):An(n,!0))},destroy(e){const{componentInstance:t}=e;t._isDestroyed||(e.data.keepAlive?On(t,!0):t.$destroy())}},Kn=Object.keys(Wn);function Qn(e,t,n,l,c){if(i(e))return;const d=n.$options._base;if(u(e)&&(e=d.extend(e)),"function"!=typeof e)return;let p;if(i(e.cid)&&(p=e,e=function(e,t){if(a(e.error)&&s(e.errorComp))return e.errorComp;if(s(e.resolved))return e.resolved;const n=Ut;if(n&&s(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&s(e.loadingComp))return e.loadingComp;if(n&&!s(e.owners)){const r=e.owners=[n];let o=!0,a=null,l=null;n.$on("hook:destroyed",()=>y(r,n));const c=e=>{for(let t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==a&&(clearTimeout(a),a=null),null!==l&&(clearTimeout(l),l=null))},d=U(n=>{e.resolved=jt(n,t),o?r.length=0:c(!0)}),p=U(t=>{s(e.errorComp)&&(e.error=!0,c(!0))}),h=e(d,p);return u(h)&&(f(h)?i(e.resolved)&&h.then(d,p):f(h.component)&&(h.component.then(d,p),s(h.error)&&(e.errorComp=jt(h.error,t)),s(h.loading)&&(e.loadingComp=jt(h.loading,t),0===h.delay?e.loading=!0:a=setTimeout(()=>{a=null,i(e.resolved)&&i(e.error)&&(e.loading=!0,c(!1))},h.delay||200)),s(h.timeout)&&(l=setTimeout(()=>{l=null,i(e.resolved)&&p(null)},h.timeout)))),o=!1,e.loading?e.loadingComp:e.resolved}}(p,d),void 0===e))return function(e,t,n,r,o){const i=pe();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(p,t,n,l,c);t=t||{},yr(e),s(t.model)&&function(e,t){const n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;const i=t.on||(t.on={}),a=i[r],l=t.model.callback;s(a)?(o(a)?-1===a.indexOf(l):a!==l)&&(i[r]=[l].concat(a)):i[r]=l}(e.options,t);const h=function(e,t){const n=t.options.props;if(i(n))return;const r={},{attrs:o,props:a}=e;if(s(o)||s(a))for(const i in n){const e=A(i);lt(r,a,i,e,!0)||lt(r,o,i,e,!1)}return r}(t,e);if(a(e.options.functional))return function(e,t,n,i,a){const l=e.options,c={},u=l.props;if(s(u))for(const o in u)c[o]=sr(o,u,t||r);else s(n.attrs)&&Hn(c,n.attrs),s(n.props)&&Hn(c,n.props);const d=new zn(n,c,a,i,e),p=l.render.call(null,d._c,d);if(p instanceof de)return Bn(p,n,d.parent,l);if(o(p)){const e=ct(p)||[],t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=Bn(e[r],n,d.parent,l);return t}}(e,h,t,n,l);const m=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){const e=t.slot;t={},e&&(t.slot=e)}!function(e){const t=e.hook||(e.hook={});for(let n=0;n<Kn.length;n++){const e=Kn[n],r=t[e],o=Wn[e];r===o||r&&r._merged||(t[e]=r?Xn(o,r):o)}}(t);const g=Vn(e.options)||c;return new de(`vue-component-${e.cid}${g?`-${g}`:""}`,t,void 0,void 0,void 0,n,{Ctor:e,propsData:h,listeners:m,tag:c,children:l},p)}function Xn(e,t){const n=(n,r)=>{e(n,r),t(n,r)};return n._merged=!0,n}let Yn=N;const Jn=z.optionMergeStrategies;function Zn(e,t,n=!0){if(!t)return e;let r,o,i;const s=ae?Reflect.ownKeys(t):Object.keys(t);for(let a=0;a<s.length;a++)r=s[a],"__ob__"!==r&&(o=e[r],i=t[r],n&&k(e,r)?o!==i&&p(o)&&p(i)&&Zn(o,i):Pe(e,r,i));return e}function er(e,t,n){return n?function(){const r=c(t)?t.call(n,n):t,o=c(e)?e.call(n,n):e;return r?Zn(r,o):o}:t?e?function(){return Zn(c(t)?t.call(this,this):t,c(e)?e.call(this,this):e)}:t:e}function tr(e,t){const n=t?e?e.concat(t):o(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function nr(e,t,n,r){const o=Object.create(e||null);return t?P(o,t):o}Jn.data=function(e,t,n){return n?er(e,t,n):t&&"function"!=typeof t?e:er(e,t)},q.forEach(e=>{Jn[e]=tr}),G.forEach(function(e){Jn[e+"s"]=nr}),Jn.watch=function(e,t,n,r){if(e===te&&(e=void 0),t===te&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;const i={};P(i,e);for(const s in t){let e=i[s];const n=t[s];e&&!o(e)&&(e=[e]),i[s]=e?e.concat(n):o(n)?n:[n]}return i},Jn.props=Jn.methods=Jn.inject=Jn.computed=function(e,t,n,r){if(!e)return t;const o=Object.create(null);return P(o,e),t&&P(o,t),o},Jn.provide=function(e,t){return e?function(){const n=Object.create(null);return Zn(n,c(e)?e.call(this):e),t&&Zn(n,c(t)?t.call(this):t,!1),n}:t};const rr=function(e,t){return void 0===t?e:t};function or(e,t,n){if(c(t)&&(t=t.options),function(e){const t=e.props;if(!t)return;const n={};let r,i,s;if(o(t))for(r=t.length;r--;)i=t[r],"string"==typeof i&&(s=I(i),n[s]={type:null});else if(p(t))for(const o in t)i=t[o],s=I(o),n[s]=p(i)?i:{type:i};e.props=n}(t),function(e){const t=e.inject;if(!t)return;const n=e.inject={};if(o(t))for(let r=0;r<t.length;r++)n[t[r]]={from:t[r]};else if(p(t))for(const r in t){const e=t[r];n[r]=p(e)?P({from:r},e):{from:e}}}(t),function(e){const t=e.directives;if(t)for(const n in t){const e=t[n];c(e)&&(t[n]={bind:e,update:e})}}(t),!t._base&&(t["extends"]&&(e=or(e,t["extends"],n)),t.mixins))for(let o=0,a=t.mixins.length;o<a;o++)e=or(e,t.mixins[o],n);const r={};let i;for(i in e)s(i);for(i in t)k(e,i)||s(i);function s(o){const i=Jn[o]||rr;r[o]=i(e[o],t[o],n,o)}return r}function ir(e,t,n,r){if("string"!=typeof n)return;const o=e[t];if(k(o,n))return o[n];const i=I(n);if(k(o,i))return o[i];const s=C(i);return k(o,s)?o[s]:o[n]||o[i]||o[s]}function sr(e,t,n,r){const o=t[e],i=!k(n,e);let s=n[e];const a=ur(Boolean,o.type);if(a>-1)if(i&&!k(o,"default"))s=!1;else if(""===s||s===A(e)){const e=ur(String,o.type);(e<0||a<e)&&(s=!0)}if(void 0===s){s=function(e,t,n){if(!k(t,"default"))return;const r=t["default"];return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:c(r)&&"Function"!==lr(t.type)?r.call(e):r}(r,o,e);const t=Ie;Ce(!0),Oe(s),Ce(t)}return s}const ar=/^\s*function (\w+)/;function lr(e){const t=e&&e.toString().match(ar);return t?t[1]:""}function cr(e,t){return lr(e)===lr(t)}function ur(e,t){if(!o(t))return cr(t,e)?0:-1;for(let n=0,r=t.length;n<r;n++)if(cr(t[n],e))return n;return-1}const dr={enumerable:!0,configurable:!0,get:N,set:N};function pr(e,t,n){dr.get=function(){return this[t][n]},dr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,dr)}function hr(e){const t=e.$options;if(t.props&&function(e,t){const n=e.$options.propsData||{},r=e._props=Re({}),o=e.$options._propKeys=[];!e.$parent||Ce(!1);for(const i in t)o.push(i),xe(r,i,sr(i,t,n,e),void 0,!0),i in e||pr(e,"_props",i);Ce(!0)}(e,t.props),function(e){const t=e.$options,n=t.setup;if(n){const r=e._setupContext=Nt(e);ue(e),be();const o=Bt(n,null,[e._props||Re({}),r],e,"setup");if(ye(),ue(),c(o))t.render=o;else if(u(o))if(e._setupState=o,o.__sfc){const t=e._setupProxy={};for(const e in o)"__sfc"!==e&&qe(t,o,e)}else for(const t in o)B(t)||qe(e,o,t)}}(e),t.methods&&function(e,t){e.$options.props;for(const n in t)e[n]="function"!=typeof t[n]?N:O(t[n],e)}(e,t.methods),t.data)!function(e){let t=e.$options.data;t=e._data=c(t)?function(e,t){be();try{return e.call(t,t)}catch(e){return zt(e,t,"data()"),{}}finally{ye()}}(t,e):t||{},p(t)||(t={});const n=Object.keys(t),r=e.$options.props;e.$options.methods;let o=n.length;for(;o--;){const t=n[o];r&&k(r,t)||B(t)||pr(e,"_data",t)}const i=Oe(t);i&&i.vmCount++}(e);else{const t=Oe(e._data={});t&&t.vmCount++}t.computed&&function(e,t){const n=e._computedWatchers=Object.create(null),r=oe();for(const o in t){const i=t[o],s=c(i)?i:i.get;r||(n[o]=new yn(e,s||N,N,fr)),o in e||mr(e,o,i)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(const n in t){const r=t[n];if(o(r))for(let t=0;t<r.length;t++)vr(e,n,r[t]);else vr(e,n,r)}}(e,t.watch)}const fr={lazy:!0};function mr(e,t,n){const r=!oe();c(n)?(dr.get=r?gr(t):_r(n),dr.set=N):(dr.get=n.get?r&&!1!==n.cache?gr(t):_r(n.get):N,dr.set=n.set||N),Object.defineProperty(e,t,dr)}function gr(e){return function(){const t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),_e.target&&t.depend(),t.value}}function _r(e){return function(){return e.call(this,this)}}function vr(e,t,n,r){return p(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}let br=0;function yr(e){let t=e.options;if(e["super"]){const n=yr(e["super"]);if(n!==e.superOptions){e.superOptions=n;const r=function(e){let t;const n=e.options,r=e.sealedOptions;for(const o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&P(e.extendOptions,r),t=e.options=or(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function wr(e){this._init(e)}function kr(e){return e&&(Vn(e.Ctor.options)||e.tag)}function Sr(e,t){return o(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===d.call(n)&&e.test(t));var n}function Er(e,t){const{cache:n,keys:r,_vnode:o,$vnode:i}=e;for(const s in n){const e=n[s];if(e){const i=e.name;i&&!t(i)&&Ir(n,s,r,o)}}i.componentOptions.children=void 0}function Ir(e,t,n,r){const o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){const t=this;t._uid=br++,t._isVue=!0,t.__v_skip=!0,t._scope=new tt(!0),t._scope.parent=void 0,t._scope._vm=!0,e&&e._isComponent?function(e,t){const n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;const 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=or(yr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){const t=e.$options;let 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;const t=e.$options._parentListeners;t&&En(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;const t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=Tt(t._renderChildren,o),e.$scopedSlots=n?xt(e.$parent,n.data.scopedSlots,e.$slots):r,e._c=(t,n,r,o)=>Gt(e,t,n,r,o,!1),e.$createElement=(t,n,r,o)=>Gt(e,t,n,r,o,!0);const i=n&&n.data;xe(e,"$attrs",i&&i.attrs||r,null,!0),xe(e,"$listeners",t._parentListeners||r,null,!0)}(t),xn(t,"beforeCreate",void 0,!1),function(e){const t=qn(e.$options.inject,e);t&&(Ce(!1),Object.keys(t).forEach(n=>{xe(e,n,t[n])}),Ce(!0))}(t),hr(t),function(e){const t=e.$options.provide;if(t){const n=c(t)?t.call(e):t;if(!u(n))return;const r=rt(e),o=ae?Reflect.ownKeys(n):Object.keys(n);for(let e=0;e<o.length;e++){const t=o[e];Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))}}}(t),xn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(wr),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=Pe,e.prototype.$delete=Me,e.prototype.$watch=function(e,t,n){const r=this;if(p(t))return vr(r,e,t,n);(n=n||{}).user=!0;const o=new yn(r,e,t,n);if(n.immediate){const e=`callback for immediate watcher "${o.expression}"`;be(),Bt(t,r,[o.value],r,e),ye()}return function(){o.teardown()}}}(wr),function(e){const t=/^hook:/;e.prototype.$on=function(e,n){const r=this;if(o(e))for(let t=0,o=e.length;t<o;t++)r.$on(e[t],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){const 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){const n=this;if(!arguments.length)return n._events=Object.create(null),n;if(o(e)){for(let r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}const r=n._events[e];if(!r)return n;if(!t)return n._events[e]=null,n;let i,s=r.length;for(;s--;)if(i=r[s],i===t||i.fn===t){r.splice(s,1);break}return n},e.prototype.$emit=function(e){const t=this;let n=t._events[e];if(n){n=n.length>1?x(n):n;const r=x(arguments,1),o=`event handler for "${e}"`;for(let e=0,i=n.length;e<i;e++)Bt(n[e],t,r,t,o)}return t}}(wr),function(e){e.prototype._update=function(e,t){const n=this,r=n.$el,o=n._vnode,i=Cn(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);let s=n;for(;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){const e=this;if(e._isBeingDestroyed)return;xn(e,"beforeDestroy"),e._isBeingDestroyed=!0;const t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),xn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}(wr),function(e){Ct(e.prototype),e.prototype.$nextTick=function(e){return Jt(e,this)},e.prototype._render=function(){const e=this,{render:t,_parentVnode:n}=e.$options;n&&e._isMounted&&(e.$scopedSlots=xt(e.$parent,n.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Dt(e._slotsProxy,e.$scopedSlots)),e.$vnode=n;const r=ce,i=Ut;let s;try{ue(e),Ut=e,s=t.call(e._renderProxy,e.$createElement)}catch(o){zt(o,e,"render"),s=e._vnode}finally{Ut=i,ue(r)}return o(s)&&1===s.length&&(s=s[0]),s instanceof de||(s=pe()),s.parent=n,s}}(wr);const Cr=[String,RegExp,Array];var Tr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Cr,exclude:Cr,max:[String,Number]},methods:{cacheVNode(){const{cache:e,keys:t,vnodeToCache:n,keyToCache:r}=this;if(n){const{tag:o,componentInstance:i,componentOptions:s}=n;e[r]={name:kr(s),tag:o,componentInstance:i},t.push(r),this.max&&t.length>parseInt(this.max)&&Ir(e,t[0],t,this._vnode),this.vnodeToCache=null}}},created(){this.cache=Object.create(null),this.keys=[]},destroyed(){for(const e in this.cache)Ir(this.cache,e,this.keys)},mounted(){this.cacheVNode(),this.$watch("include",e=>{Er(this,t=>Sr(e,t))}),this.$watch("exclude",e=>{Er(this,t=>!Sr(e,t))})},updated(){this.cacheVNode()},render(){const e=this.$slots["default"],t=Ft(e),n=t&&t.componentOptions;if(n){const e=kr(n),{include:r,exclude:o}=this;if(r&&(!e||!Sr(r,e))||o&&e&&Sr(o,e))return t;const{cache:i,keys:s}=this,a=null==t.key?n.Ctor.cid+(n.tag?`::${n.tag}`:""):t.key;i[a]?(t.componentInstance=i[a].componentInstance,y(s,a),s.push(a)):(this.vnodeToCache=t,this.keyToCache=a),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){const t={get:()=>z};Object.defineProperty(e,"config",t),e.util={warn:Yn,extend:P,mergeOptions:or,defineReactive:xe},e.set=Pe,e["delete"]=Me,e.nextTick=Jt,e.observable=e=>(Oe(e),e),e.options=Object.create(null),G.forEach(t=>{e.options[t+"s"]=Object.create(null)}),e.options._base=e,P(e.options.components,Tr),function(e){e.use=function(e){const t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;const n=x(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=or(this.options,e),this}}(e),function(e){e.cid=0;let t=1;e.extend=function(e){e=e||{};const n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];const i=Vn(e)||Vn(n.options),s=function(e){this._init(e)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=t++,s.options=or(n.options,e),s["super"]=n,s.options.props&&function(e){const t=e.options.props;for(const n in t)pr(e.prototype,"_props",n)}(s),s.options.computed&&function(e){const t=e.options.computed;for(const n in t)mr(e.prototype,n,t[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,G.forEach(function(e){s[e]=n[e]}),i&&(s.options.components[i]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=P({},s.options),o[r]=s,s}}(e),function(e){G.forEach(t=>{e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(wr),Object.defineProperty(wr.prototype,"$isServer",{get:oe}),Object.defineProperty(wr.prototype,"$ssrContext",{get(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wr,"FunctionalRenderContext",{value:zn}),wr.version=hn;const Ar=v("style,class"),Or=v("input,textarea,option,select,progress"),xr=v("contenteditable,draggable,spellcheck"),Pr=v("events,caret,typing,plaintext-only"),Mr=v("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"),Nr="http://www.w3.org/1999/xlink",Rr=e=>":"===e.charAt(5)&&"xlink"===e.slice(0,5),Lr=e=>Rr(e)?e.slice(6,e.length):"",Dr=e=>null==e||!1===e;function $r(e,t){return{staticClass:Ur(e.staticClass,t.staticClass),"class":s(e["class"])?[e["class"],t["class"]]:t["class"]}}function Ur(e,t){return e?t?e+" "+t:e:t||""}function jr(e){return Array.isArray(e)?function(e){let t,n="";for(let r=0,o=e.length;r<o;r++)s(t=jr(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):u(e)?function(e){let t="";for(const n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}const Fr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Gr=v("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"),qr=v("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=e=>Gr(e)||qr(e),Br=Object.create(null),Hr=v("text,number,password,search,email,tel,url");var Vr=Object.freeze({__proto__:null,createElement:function(e,t){const 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(Fr[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,"")}}),Wr={create(e,t){Kr(t)},update(e,t){e.data.ref!==t.data.ref&&(Kr(e,!0),Kr(t))},destroy(e){Kr(e,!0)}};function Kr(e,t){const n=e.data.ref;if(!s(n))return;const r=e.context,i=e.componentInstance||e.elm,a=t?null:i,l=t?void 0:i;if(c(n))return void Bt(n,r,[a],r,"template ref function");const u=e.data.refInFor,d="string"==typeof n||"number"==typeof n,p=Fe(n),h=r.$refs;if(d||p)if(u){const e=d?h[n]:n.value;t?o(e)&&y(e,i):o(e)?e.includes(i)||e.push(i):d?(h[n]=[i],Qr(r,n,h[n])):n.value=[i]}else if(d){if(t&&h[n]!==i)return;h[n]=l,Qr(r,n,a)}else if(p){if(t&&n.value!==i)return;n.value=a}}function Qr({_setupState:e},t,n){e&&k(e,t)&&(Fe(e[t])?e[t].value=n:e[t]=n)}const Xr=new de("",{},[]),Yr=["create","activate","update","remove","destroy"];function Jr(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&s(e.data)===s(t.data)&&function(e,t){if("input"!==e.tag)return!0;let n;const r=s(n=e.data)&&s(n=n.attrs)&&n.type,o=s(n=t.data)&&s(n=n.attrs)&&n.type;return r===o||Hr(r)&&Hr(o)}(e,t)||a(e.isAsyncPlaceholder)&&i(t.asyncFactory.error))}function Zr(e,t,n){let r,o;const i={};for(r=t;r<=n;++r)o=e[r].key,s(o)&&(i[o]=r);return i}var eo={create:to,update:to,destroy:function(e){to(e,Xr)}};function to(e,t){(e.data.directives||t.data.directives)&&function(e,t){const n=e===Xr,r=t===Xr,o=ro(e.data.directives,e.context),i=ro(t.data.directives,t.context),s=[],a=[];let l,c,u;for(l in i)c=o[l],u=i[l],c?(u.oldValue=c.value,u.oldArg=c.arg,io(u,"update",t,e),u.def&&u.def.componentUpdated&&a.push(u)):(io(u,"bind",t,e),u.def&&u.def.inserted&&s.push(u));if(s.length){const r=()=>{for(let n=0;n<s.length;n++)io(s[n],"inserted",t,e)};n?at(t,"insert",r):r()}if(a.length&&at(t,"postpatch",()=>{for(let n=0;n<a.length;n++)io(a[n],"componentUpdated",t,e)}),!n)for(l in o)i[l]||io(o[l],"unbind",e,e,r)}(e,t)}const no=Object.create(null);function ro(e,t){const n=Object.create(null);if(!e)return n;let r,o;for(r=0;r<e.length;r++){if(o=e[r],o.modifiers||(o.modifiers=no),n[oo(o)]=o,t._setupState&&t._setupState.__sfc){const e=o.def||ir(t,"_setupState","v-"+o.name);o.def="function"==typeof e?{bind:e,update:e}:e}o.def=o.def||ir(t.$options,"directives",o.name)}return n}function oo(e){return e.rawName||`${e.name}.${Object.keys(e.modifiers||{}).join(".")}`}function io(e,t,n,r,o){const i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){zt(r,n.context,`directive ${e.name} ${t} hook`)}}var so=[Wr,eo];function ao(e,t){const n=t.componentOptions;if(s(n)&&!1===n.Ctor.options.inheritAttrs)return;if(i(e.data.attrs)&&i(t.data.attrs))return;let r,o,l;const c=t.elm,u=e.data.attrs||{};let d=t.data.attrs||{};for(r in(s(d.__ob__)||a(d._v_attr_proxy))&&(d=t.data.attrs=P({},d)),d)o=d[r],l=u[r],l!==o&&lo(c,r,o,t.data.pre);for(r in(X||J)&&d.value!==u.value&&lo(c,"value",d.value),u)i(d[r])&&(Rr(r)?c.removeAttributeNS(Nr,Lr(r)):xr(r)||c.removeAttribute(r))}function lo(e,t,n,r){r||e.tagName.indexOf("-")>-1?co(e,t,n):Mr(t)?Dr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):xr(t)?e.setAttribute(t,((e,t)=>Dr(t)||"false"===t?"false":"contenteditable"===e&&Pr(t)?t:"true")(t,n)):Rr(t)?Dr(n)?e.removeAttributeNS(Nr,Lr(t)):e.setAttributeNS(Nr,t,n):co(e,t,n)}function co(e,t,n){if(Dr(n))e.removeAttribute(t);else{if(X&&!Y&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){const t=n=>{n.stopImmediatePropagation(),e.removeEventListener("input",t)};e.addEventListener("input",t),e.__ieph=!0}e.setAttribute(t,n)}}var uo={create:ao,update:ao};function po(e,t){const n=t.elm,r=t.data,o=e.data;if(i(r.staticClass)&&i(r["class"])&&(i(o)||i(o.staticClass)&&i(o["class"])))return;let a=function(e){let t=e.data,n=e,r=e;for(;s(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=$r(r.data,t));for(;s(n=n.parent);)n&&n.data&&(t=$r(t,n.data));return function(e,t){return s(e)||s(t)?Ur(e,jr(t)):""}(t.staticClass,t["class"])}(t);const l=n._transitionClasses;s(l)&&(a=Ur(a,jr(l))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}var ho={create:po,update:po};const fo="__r",mo="__c";let go;function _o(e,t,n){const r=go;return function o(){null!==t.apply(null,arguments)&&yo(e,o,n,r)}}const vo=Wt&&!(ee&&Number(ee[1])<=53);function bo(e,t,n,r){if(vo){const e=$n,n=t;t=n._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=e||t.timeStamp<=0||t.target.ownerDocument!==document)return n.apply(this,arguments)}}go.addEventListener(e,t,re?{capture:n,passive:r}:n)}function yo(e,t,n,r){(r||go).removeEventListener(e,t._wrapper||t,n)}function wo(e,t){if(i(e.data.on)&&i(t.data.on))return;const n=t.data.on||{},r=e.data.on||{};go=t.elm||e.elm,function(e){if(s(e[fo])){const t=X?"change":"input";e[t]=[].concat(e[fo],e[t]||[]),delete e[fo]}s(e[mo])&&(e.change=[].concat(e[mo],e.change||[]),delete e[mo])}(n),st(n,r,bo,yo,_o,t.context),go=void 0}var ko={create:wo,update:wo,destroy:e=>wo(e,Xr)};let So;function Eo(e,t){if(i(e.data.domProps)&&i(t.data.domProps))return;let n,r;const o=t.elm,l=e.data.domProps||{};let c=t.data.domProps||{};for(n in(s(c.__ob__)||a(c._v_attr_proxy))&&(c=t.data.domProps=P({},c)),l)n in c||(o[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===l[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;const e=i(r)?"":String(r);Io(o,e)&&(o.value=e)}else if("innerHTML"===n&&qr(o.tagName)&&i(o.innerHTML)){So=So||document.createElement("div"),So.innerHTML=`<svg>${r}</svg>`;const e=So.firstChild;for(;o.firstChild;)o.removeChild(o.firstChild);for(;e.firstChild;)o.appendChild(e.firstChild)}else if(r!==l[n])try{o[n]=r}catch(e){}}}function Io(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){let n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){const n=e.value,r=e._vModifiers;if(s(r)){if(r.number)return _(n)!==_(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Co={create:Eo,update:Eo};const To=S(function(e){const t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){const r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function Ao(e){const t=Oo(e.style);return e.staticStyle?P(e.staticStyle,t):t}function Oo(e){return Array.isArray(e)?M(e):"string"==typeof e?To(e):e}const xo=/^--/,Po=/\s*!important$/,Mo=(e,t,n)=>{if(xo.test(t))e.style.setProperty(t,n);else if(Po.test(n))e.style.setProperty(A(t),n.replace(Po,""),"important");else{const r=Lo(t);if(Array.isArray(n))for(let t=0,o=n.length;t<o;t++)e.style[r]=n[t];else e.style[r]=n}},No=["Webkit","Moz","ms"];let Ro;const Lo=S(function(e){if(Ro=Ro||document.createElement("div").style,"filter"!==(e=I(e))&&e in Ro)return e;const t=e.charAt(0).toUpperCase()+e.slice(1);for(let n=0;n<No.length;n++){const e=No[n]+t;if(e in Ro)return e}});function Do(e,t){const n=t.data,r=e.data;if(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))return;let o,a;const l=t.elm,c=r.staticStyle,u=r.normalizedStyle||r.style||{},d=c||u,p=Oo(t.data.style)||{};t.data.normalizedStyle=s(p.__ob__)?P({},p):p;const h=function(e){const t={};let n;{let r=e;for(;r.componentInstance;)r=r.componentInstance._vnode,r&&r.data&&(n=Ao(r.data))&&P(t,n)}(n=Ao(e.data))&&P(t,n);let r=e;for(;r=r.parent;)r.data&&(n=Ao(r.data))&&P(t,n);return t}(t);for(a in d)i(h[a])&&Mo(l,a,"");for(a in h)o=h[a],Mo(l,a,null==o?"":o)}var $o={create:Do,update:Do};const Uo=/\s+/;function jo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Uo).forEach(t=>e.classList.add(t)):e.classList.add(t);else{const n=` ${e.getAttribute("class")||""} `;n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Fo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Uo).forEach(t=>e.classList.remove(t)):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{let n=` ${e.getAttribute("class")||""} `;const r=" "+t+" ";for(;n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Go(e){if(e){if("object"==typeof e){const t={};return!1!==e.css&&P(t,qo(e.name||"v")),P(t,e),t}return"string"==typeof e?qo(e):void 0}}const qo=S(e=>({enterClass:`${e}-enter`,enterToClass:`${e}-enter-to`,enterActiveClass:`${e}-enter-active`,leaveClass:`${e}-leave`,leaveToClass:`${e}-leave-to`,leaveActiveClass:`${e}-leave-active`})),zo=K&&!Y,Bo="transition",Ho="animation";let Vo="transition",Wo="transitionend",Ko="animation",Qo="animationend";zo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Vo="WebkitTransition",Wo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ko="WebkitAnimation",Qo="webkitAnimationEnd"));const Xo=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:e=>e();function Yo(e){Xo(()=>{Xo(e)})}function Jo(e,t){const n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),jo(e,t))}function Zo(e,t){e._transitionClasses&&y(e._transitionClasses,t),Fo(e,t)}function ei(e,t,n){const{type:r,timeout:o,propCount:i}=ni(e,t);if(!r)return n();const s=r===Bo?Wo:Qo;let a=0;const l=()=>{e.removeEventListener(s,c),n()},c=t=>{t.target===e&&++a>=i&&l()};setTimeout(()=>{a<i&&l()},o+1),e.addEventListener(s,c)}const ti=/\b(transform|all)(,|$)/;function ni(e,t){const n=window.getComputedStyle(e),r=(n[Vo+"Delay"]||"").split(", "),o=(n[Vo+"Duration"]||"").split(", "),i=ri(r,o),s=(n[Ko+"Delay"]||"").split(", "),a=(n[Ko+"Duration"]||"").split(", "),l=ri(s,a);let c,u=0,d=0;return t===Bo?i>0&&(c=Bo,u=i,d=o.length):t===Ho?l>0&&(c=Ho,u=l,d=a.length):(u=Math.max(i,l),c=u>0?i>l?Bo:Ho:null,d=c?c===Bo?o.length:a.length:0),{type:c,timeout:u,propCount:d,hasTransform:c===Bo&&ti.test(n[Vo+"Property"])}}function ri(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((t,n)=>oi(t)+oi(e[n])))}function oi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ii(e,t){const n=e.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());const r=Go(e.data.transition);if(i(r))return;if(s(n._enterCb)||1!==n.nodeType)return;const{css:o,type:a,enterClass:l,enterToClass:d,enterActiveClass:p,appearClass:h,appearToClass:f,appearActiveClass:m,beforeEnter:g,enter:v,afterEnter:b,enterCancelled:y,beforeAppear:w,appear:k,afterAppear:S,appearCancelled:E,duration:I}=r;let C=In,T=In.$vnode;for(;T&&T.parent;)C=T.context,T=T.parent;const A=!C._isMounted||!e.isRootInsert;if(A&&!k&&""!==k)return;const O=A&&h?h:l,x=A&&m?m:p,P=A&&f?f:d,M=A&&w||g,N=A&&c(k)?k:v,R=A&&S||b,L=A&&E||y,D=_(u(I)?I.enter:I),$=!1!==o&&!Y,j=li(N),F=n._enterCb=U(()=>{$&&(Zo(n,P),Zo(n,x)),F.cancelled?($&&Zo(n,O),L&&L(n)):R&&R(n),n._enterCb=null});e.data.show||at(e,"insert",()=>{const 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,F)}),M&&M(n),$&&(Jo(n,O),Jo(n,x),Yo(()=>{Zo(n,O),F.cancelled||(Jo(n,P),j||(ai(D)?setTimeout(F,D):ei(n,a,F)))})),e.data.show&&(t&&t(),N&&N(n,F)),$||j||F()}function si(e,t){const n=e.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());const r=Go(e.data.transition);if(i(r)||1!==n.nodeType)return t();if(s(n._leaveCb))return;const{css:o,type:a,leaveClass:l,leaveToClass:c,leaveActiveClass:d,beforeLeave:p,leave:h,afterLeave:f,leaveCancelled:m,delayLeave:g,duration:v}=r,b=!1!==o&&!Y,y=li(h),w=_(u(v)?v.leave:v),k=n._leaveCb=U(()=>{n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(Zo(n,c),Zo(n,d)),k.cancelled?(b&&Zo(n,l),m&&m(n)):(t(),f&&f(n)),n._leaveCb=null});function S(){k.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),p&&p(n),b&&(Jo(n,l),Jo(n,d),Yo(()=>{Zo(n,l),k.cancelled||(Jo(n,c),y||(ai(w)?setTimeout(k,w):ei(n,a,k)))})),h&&h(n,k),b||y||k())}g?g(S):S()}function ai(e){return"number"==typeof e&&!isNaN(e)}function li(e){if(i(e))return!1;const t=e.fns;return s(t)?li(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function ci(e,t){!0!==t.data.show&&ii(t)}const ui=function(e){let t,n;const r={},{modules:c,nodeOps:u}=e;for(t=0;t<Yr.length;++t)for(r[Yr[t]]=[],n=0;n<c.length;++n)s(c[n][Yr[t]])&&r[Yr[t]].push(c[n][Yr[t]]);function d(e){const t=u.parentNode(e);s(t)&&u.removeChild(t,e)}function p(e,t,n,o,i,l,c){if(s(e.elm)&&s(l)&&(e=l[c]=fe(e)),e.isRootInsert=!i,function(e,t,n,o){let i=e.data;if(s(i)){const l=s(e.componentInstance)&&i.keepAlive;if(s(i=i.hook)&&s(i=i.init)&&i(e,!1),s(e.componentInstance))return h(e,t),f(n,e.elm,o),a(l)&&function(e,t,n,o){let i,a=e;for(;a.componentInstance;)if(a=a.componentInstance._vnode,s(i=a.data)&&s(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](Xr,a);t.push(a);break}f(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o))return;const d=e.data,p=e.children,g=e.tag;s(g)?(e.elm=e.ns?u.createElementNS(e.ns,g):u.createElement(g,e),b(e),m(e,p,t),s(d)&&_(e,t),f(n,e.elm,o)):a(e.isComment)?(e.elm=u.createComment(e.text),f(n,e.elm,o)):(e.elm=u.createTextNode(e.text),f(n,e.elm,o))}function h(e,t){s(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(_(e,t),b(e)):(Kr(e),t.push(e))}function f(e,t,n){s(e)&&(s(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function m(e,t,n){if(o(t))for(let r=0;r<t.length;++r)p(t[r],n,e.elm,null,!0,t,r);else l(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return s(e.tag)}function _(e,n){for(let t=0;t<r.create.length;++t)r.create[t](Xr,e);t=e.data.hook,s(t)&&(s(t.create)&&t.create(Xr,e),s(t.insert)&&n.push(e))}function b(e){let t;if(s(t=e.fnScopeId))u.setStyleScope(e.elm,t);else{let n=e;for(;n;)s(t=n.context)&&s(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent}s(t=In)&&t!==e.context&&t!==e.fnContext&&s(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function y(e,t,n,r,o,i){for(;r<=o;++r)p(n[r],i,e,t,!1,n,r)}function w(e){let t,n;const o=e.data;if(s(o))for(s(t=o.hook)&&s(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(s(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function k(e,t,n){for(;t<=n;++t){const n=e[t];s(n)&&(s(n.tag)?(S(n),w(n)):d(n.elm))}}function S(e,t){if(s(t)||s(e.data)){let n;const o=r.remove.length+1;for(s(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&d(e)}return n.listeners=t,n}(e.elm,o),s(n=e.componentInstance)&&s(n=n._vnode)&&s(n.data)&&S(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);s(n=e.data.hook)&&s(n=n.remove)?n(e,t):t()}else d(e.elm)}function E(e,t,n,r){for(let o=n;o<r;o++){const n=t[o];if(s(n)&&Jr(e,n))return o}}function I(e,t,n,o,l,c){if(e===t)return;s(t.elm)&&s(o)&&(t=o[l]=fe(t));const d=t.elm=e.elm;if(a(e.isAsyncPlaceholder))return void(s(t.asyncFactory.resolved)?A(e.elm,t,n):t.isAsyncPlaceholder=!0);if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))return void(t.componentInstance=e.componentInstance);let h;const f=t.data;s(f)&&s(h=f.hook)&&s(h=h.prepatch)&&h(e,t);const m=e.children,_=t.children;if(s(f)&&g(t)){for(h=0;h<r.update.length;++h)r.update[h](e,t);s(h=f.hook)&&s(h=h.update)&&h(e,t)}i(t.text)?s(m)&&s(_)?m!==_&&function(e,t,n,r,o){let a,l,c,d,h=0,f=0,m=t.length-1,g=t[0],_=t[m],v=n.length-1,b=n[0],w=n[v];const S=!o;for(;h<=m&&f<=v;)i(g)?g=t[++h]:i(_)?_=t[--m]:Jr(g,b)?(I(g,b,r,n,f),g=t[++h],b=n[++f]):Jr(_,w)?(I(_,w,r,n,v),_=t[--m],w=n[--v]):Jr(g,w)?(I(g,w,r,n,v),S&&u.insertBefore(e,g.elm,u.nextSibling(_.elm)),g=t[++h],w=n[--v]):Jr(_,b)?(I(_,b,r,n,f),S&&u.insertBefore(e,_.elm,g.elm),_=t[--m],b=n[++f]):(i(a)&&(a=Zr(t,h,m)),l=s(b.key)?a[b.key]:E(b,t,h,m),i(l)?p(b,r,e,g.elm,!1,n,f):(c=t[l],Jr(c,b)?(I(c,b,r,n,f),t[l]=void 0,S&&u.insertBefore(e,c.elm,g.elm)):p(b,r,e,g.elm,!1,n,f)),b=n[++f]);h>m?(d=i(n[v+1])?null:n[v+1].elm,y(e,d,n,f,v,r)):f>v&&k(t,h,m)}(d,m,_,n,c):s(_)?(s(e.text)&&u.setTextContent(d,""),y(d,null,_,0,_.length-1,n)):s(m)?k(m,0,m.length-1):s(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),s(f)&&s(h=f.hook)&&s(h=h.postpatch)&&h(e,t)}function C(e,t,n){if(a(n)&&s(e.parent))e.parent.data.pendingInsert=t;else for(let r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}const T=v("attrs,class,staticClass,staticStyle,key");function A(e,t,n,r){let o;const{tag:i,data:l,children:c}=t;if(r=r||l&&l.pre,t.elm=e,a(t.isComment)&&s(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(s(l)&&(s(o=l.hook)&&s(o=o.init)&&o(t,!0),s(o=t.componentInstance)))return h(t,n),!0;if(s(i)){if(s(c))if(e.hasChildNodes())if(s(o=l)&&s(o=o.domProps)&&s(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{let t=!0,o=e.firstChild;for(let e=0;e<c.length;e++){if(!o||!A(o,c[e],n,r)){t=!1;break}o=o.nextSibling}if(!t||o)return!1}else m(t,c,n);if(s(l)){let e=!1;for(const r in l)if(!T(r)){e=!0,_(t,n);break}!e&&l["class"]&&gn(l["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,o){if(i(t))return void(s(e)&&w(e));let l=!1;const c=[];if(i(e))l=!0,p(t,c);else{const i=s(e.nodeType);if(!i&&Jr(e,t))I(e,t,c,null,null,o);else{if(i){if(1===e.nodeType&&e.hasAttribute(F)&&(e.removeAttribute(F),n=!0),a(n)&&A(e,t,c))return C(t,c,!0),e;d=e,e=new de(u.tagName(d).toLowerCase(),{},[],void 0,d)}const o=e.elm,l=u.parentNode(o);if(p(t,c,o._leaveCb?null:l,u.nextSibling(o)),s(t.parent)){let e=t.parent;const n=g(t);for(;e;){for(let t=0;t<r.destroy.length;++t)r.destroy[t](e);if(e.elm=t.elm,n){for(let n=0;n<r.create.length;++n)r.create[n](Xr,e);const t=e.data.hook.insert;if(t.merged){const e=t.fns.slice(1);for(let t=0;t<e.length;t++)e[t]()}}else Kr(e);e=e.parent}}s(l)?k([e],0,0):s(e.tag)&&w(e)}}var d;return C(t,c,l),t.elm}}({nodeOps:Vr,modules:[uo,ho,ko,Co,$o,K?{create:ci,activate:ci,remove(e,t){!0!==e.data.show?si(e,t):t()}}:{}].concat(so)});Y&&document.addEventListener("selectionchange",()=>{const e=document.activeElement;e&&e.vmodel&&vi(e,"input")});const di={inserted(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?at(n,"postpatch",()=>{di.componentUpdated(e,t,n)}):pi(e,t,n.context),e._vOptions=[].map.call(e.options,mi)):("textarea"===n.tag||Hr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",gi),e.addEventListener("compositionend",_i),e.addEventListener("change",_i),Y&&(e.vmodel=!0)))},componentUpdated(e,t,n){if("select"===n.tag){pi(e,t,n.context);const r=e._vOptions,o=e._vOptions=[].map.call(e.options,mi);o.some((e,t)=>!D(e,r[t]))&&(e.multiple?t.value.some(e=>fi(e,o)):t.value!==t.oldValue&&fi(t.value,o))&&vi(e,"change")}}};function pi(e,t,n){hi(e,t),(X||J)&&setTimeout(()=>{hi(e,t)},0)}function hi(e,t,n){const r=t.value,o=e.multiple;if(o&&!Array.isArray(r))return;let i,s;for(let a=0,l=e.options.length;a<l;a++)if(s=e.options[a],o)i=$(r,mi(s))>-1,s.selected!==i&&(s.selected=i);else if(D(mi(s),r))return void(e.selectedIndex!==a&&(e.selectedIndex=a));o||(e.selectedIndex=-1)}function fi(e,t){return t.every(t=>!D(t,e))}function mi(e){return"_value"in e?e._value:e.value}function gi(e){e.target.composing=!0}function _i(e){e.target.composing&&(e.target.composing=!1,vi(e.target,"input"))}function vi(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function bi(e){return!e.componentInstance||e.data&&e.data.transition?e:bi(e.componentInstance._vnode)}var yi={bind(e,{value:t},n){const r=(n=bi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;t&&r?(n.data.show=!0,ii(n,()=>{e.style.display=o})):e.style.display=t?o:"none"},update(e,{value:t,oldValue:n},r){!t!=!n&&((r=bi(r)).data&&r.data.transition?(r.data.show=!0,t?ii(r,()=>{e.style.display=e.__vOriginalDisplay}):si(r,()=>{e.style.display="none"})):e.style.display=t?e.__vOriginalDisplay:"none")},unbind(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}},wi={model:di,show:yi};const ki={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 Si(e){const t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Si(Ft(t.children)):e}function Ei(e){const t={},n=e.$options;for(const o in n.propsData)t[o]=e[o];const r=n._parentListeners;for(const o in r)t[I(o)]=r[o];return t}function Ii(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}const Ci=e=>e.tag||Ot(e),Ti=e=>"show"===e.name;var Ai={name:"transition",props:ki,abstract:!0,render(e){let t=this.$slots["default"];if(!t)return;if(t=t.filter(Ci),!t.length)return;const n=this.mode,r=t[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;const o=Si(r);if(!o)return r;if(this._leaving)return Ii(e,r);const i=`__transition-${this._uid}-`;o.key=null==o.key?o.isComment?i+"comment":i+o.tag:l(o.key)?0===String(o.key).indexOf(i)?o.key:i+o.key:o.key;const s=(o.data||(o.data={})).transition=Ei(this),a=this._vnode,c=Si(a);if(o.data.directives&&o.data.directives.some(Ti)&&(o.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,c)&&!Ot(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){const t=c.data.transition=P({},s);if("out-in"===n)return this._leaving=!0,at(t,"afterLeave",()=>{this._leaving=!1,this.$forceUpdate()}),Ii(e,r);if("in-out"===n){if(Ot(o))return a;let e;const n=()=>{e()};at(s,"afterEnter",n),at(s,"enterCancelled",n),at(t,"delayLeave",t=>{e=t})}}return r}};const Oi=P({tag:String,moveClass:String},ki);delete Oi.mode;var xi={props:Oi,beforeMount(){const e=this._update;this._update=(t,n)=>{const r=Cn(this);this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept,r(),e.call(this,t,n)}},render(e){const t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots["default"]||[],i=this.children=[],s=Ei(this);for(let a=0;a<o.length;a++){const e=o[a];e.tag&&null!=e.key&&0!==String(e.key).indexOf("__vlist")&&(i.push(e),n[e.key]=e,(e.data||(e.data={})).transition=s)}if(r){const o=[],i=[];for(let e=0;e<r.length;e++){const t=r[e];t.data.transition=s,t.data.pos=t.elm.getBoundingClientRect(),n[t.key]?o.push(t):i.push(t)}this.kept=e(t,null,o),this.removed=i}return e(t,null,i)},updated(){const e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Pi),e.forEach(Mi),e.forEach(Ni),this._reflow=document.body.offsetHeight,e.forEach(e=>{if(e.data.moved){const n=e.elm,r=n.style;Jo(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Wo,n._moveCb=function o(e){e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener(Wo,o),n._moveCb=null,Zo(n,t))})}}))},methods:{hasMove(e,t){if(!zo)return!1;if(this._hasMove)return this._hasMove;const n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(e=>{Fo(n,e)}),jo(n,t),n.style.display="none",this.$el.appendChild(n);const r=ni(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Pi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Mi(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ni(e){const 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;const t=e.elm.style;t.transform=t.WebkitTransform=`translate(${r}px,${o}px)`,t.transitionDuration="0s"}}var Ri={Transition:Ai,TransitionGroup:xi};wr.config.mustUseProp=(e,t,n)=>"value"===n&&Or(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e,wr.config.isReservedTag=zr,wr.config.isReservedAttr=Ar,wr.config.getTagNamespace=function(e){return qr(e)?"svg":"math"===e?"math":void 0},wr.config.isUnknownElement=function(e){if(!K)return!0;if(zr(e))return!1;if(e=e.toLowerCase(),null!=Br[e])return Br[e];const t=document.createElement(e);return e.indexOf("-")>-1?Br[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Br[e]=/HTMLUnknownElement/.test(t.toString())},P(wr.options.directives,wi),P(wr.options.components,Ri),wr.prototype.__patch__=K?ui:N,wr.prototype.$mount=function(e,t){return function(e,t,n){let r;e.$el=t,e.$options.render||(e.$options.render=pe),xn(e,"beforeMount"),r=()=>{e._update(e._render(),n)},new yn(e,r,N,{before(){e._isMounted&&!e._isDestroyed&&xn(e,"beforeUpdate")}},!0),n=!1;const o=e._preWatchers;if(o)for(let i=0;i<o.length;i++)o[i].run();return null==e.$vnode&&(e._isMounted=!0,xn(e,"mounted")),e}(this,e=e&&K?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},K&&setTimeout(()=>{z.devtools&&ie&&ie.emit("init",wr)},0),P(wr,fn),e.exports=wr},7612:function(e,t,n){"use strict";!function(e){function t(){}function r(e){return"object"==typeof e&&null!==e||"function"==typeof e}const o=t;function i(e,t){try{Object.defineProperty(e,"name",{value:t,configurable:!0})}catch(e){}}const s=Promise,a=Promise.resolve.bind(s),l=Promise.prototype.then,c=Promise.reject.bind(s),u=a;function d(e){return new s(e)}function p(e){return d(t=>t(e))}function h(e){return c(e)}function f(e,t,n){return l.call(e,t,n)}function m(e,t,n){f(f(e,t,n),void 0,o)}function g(e,t){m(e,t)}function _(e,t){m(e,void 0,t)}function v(e,t,n){return f(e,t,n)}function b(e){f(e,void 0,o)}let y=e=>{if("function"==typeof queueMicrotask)y=queueMicrotask;else{const e=p(void 0);y=t=>f(e,t)}return y(e)};function w(e,t,n){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,n)}function k(e,t,n){try{return p(w(e,t,n))}catch(e){return h(e)}}class S{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(e){const t=this._back;let 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}shift(){const e=this._front;let t=e;const n=this._cursor;let r=n+1;const 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}forEach(e){let t=this._cursor,n=this._front,r=n._elements;for(;!(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}peek(){const e=this._front,t=this._cursor;return e._elements[t]}}const E=Symbol("[[AbortSteps]]"),I=Symbol("[[ErrorSteps]]"),C=Symbol("[[CancelSteps]]"),T=Symbol("[[PullSteps]]"),A=Symbol("[[ReleaseSteps]]");function O(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?N(e):"closed"===t._state?function(e){N(e),D(e)}(e):R(e,t._storedError)}function x(e,t){return qn(e._ownerReadableStream,t)}function P(e){const t=e._ownerReadableStream;"readable"===t._state?L(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(e){R(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"))}(e),t._readableStreamController[A](),t._reader=void 0,e._ownerReadableStream=void 0}function M(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function N(e){e._closedPromise=d((t,n)=>{e._closedPromise_resolve=t,e._closedPromise_reject=n})}function R(e,t){N(e),L(e,t)}function L(e,t){void 0!==e._closedPromise_reject&&(b(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function D(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}const $=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},U=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function j(e,t){if(void 0!==e&&"object"!=typeof(n=e)&&"function"!=typeof n)throw new TypeError(`${t} is not an object.`);var n}function F(e,t){if("function"!=typeof e)throw new TypeError(`${t} is not a function.`)}function G(e,t){if(!function(e){return"object"==typeof e&&null!==e||"function"==typeof e}(e))throw new TypeError(`${t} is not an object.`)}function q(e,t,n){if(void 0===e)throw new TypeError(`Parameter ${t} is required in '${n}'.`)}function z(e,t,n){if(void 0===e)throw new TypeError(`${t} is required in '${n}'.`)}function B(e){return Number(e)}function H(e){return 0===e?0:e}function V(e,t){const n=Number.MAX_SAFE_INTEGER;let r=Number(e);if(r=H(r),!$(r))throw new TypeError(`${t} is not a finite number`);if(r=function(e){return H(U(e))}(r),r<0||r>n)throw new TypeError(`${t} is outside the accepted range of 0 to ${n}, inclusive`);return $(r)&&0!==r?r:0}function W(e,t){if(!Fn(e))throw new TypeError(`${t} is not a ReadableStream.`)}function K(e){return new Z(e)}function Q(e,t){e._reader._readRequests.push(t)}function X(e,t,n){const r=e._reader._readRequests.shift();n?r._closeSteps():r._chunkSteps(t)}function Y(e){return e._reader._readRequests.length}function J(e){const t=e._reader;return void 0!==t&&!!ee(t)}class Z{constructor(e){if(q(e,1,"ReadableStreamDefaultReader"),W(e,"First parameter"),Gn(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");O(this,e),this._readRequests=new S}get closed(){return ee(this)?this._closedPromise:h(re("closed"))}cancel(e=void 0){return ee(this)?void 0===this._ownerReadableStream?h(M("cancel")):x(this,e):h(re("cancel"))}read(){if(!ee(this))return h(re("read"));if(void 0===this._ownerReadableStream)return h(M("read from"));let e,t;const n=d((n,r)=>{e=n,t=r});return te(this,{_chunkSteps:t=>e({value:t,done:!1}),_closeSteps:()=>e({value:void 0,done:!0}),_errorSteps:e=>t(e)}),n}releaseLock(){if(!ee(this))throw re("releaseLock");void 0!==this._ownerReadableStream&&function(e){P(e),ne(e,new TypeError("Reader was released"))}(this)}}function ee(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")&&e instanceof Z}function te(e,t){const n=e._ownerReadableStream;n._disturbed=!0,"closed"===n._state?t._closeSteps():"errored"===n._state?t._errorSteps(n._storedError):n._readableStreamController[T](t)}function ne(e,t){const n=e._readRequests;e._readRequests=new S,n.forEach(e=>{e._errorSteps(t)})}function re(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}var oe,ie,se;function ae(e){return e.slice()}function le(e,t,n,r,o){new Uint8Array(e).set(new Uint8Array(n,r,o),t)}Object.defineProperties(Z.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(Z.prototype.cancel,"cancel"),i(Z.prototype.read,"read"),i(Z.prototype.releaseLock,"releaseLock"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Z.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});let ce=e=>(ce="function"==typeof e.transfer?e=>e.transfer():"function"==typeof structuredClone?e=>structuredClone(e,{transfer:[e]}):e=>e,ce(e)),ue=e=>(ue="boolean"==typeof e.detached?e=>e.detached:e=>0===e.byteLength,ue(e));function de(e,t,n){if(e.slice)return e.slice(t,n);const r=n-t,o=new ArrayBuffer(r);return le(o,0,e,t,r),o}function pe(e,t){const n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(`${String(t)} is not a function`);return n}}function he(e){try{const t=e.done,n=e.value;return f(u(n),e=>({done:t,value:e}))}catch(e){return h(e)}}const fe=null!==(se=null!==(oe=Symbol.asyncIterator)&&void 0!==oe?oe:null===(ie=Symbol["for"])||void 0===ie?void 0:ie.call(Symbol,"Symbol.asyncIterator"))&&void 0!==se?se:"@@asyncIterator";function me(e,t="sync",n){if(void 0===n)if("async"===t){if(void 0===(n=pe(e,fe)))return function(e){const t={next(){let t;try{t=ge(e)}catch(e){return h(e)}return he(t)},"return"(t){let n;try{const r=pe(e.iterator,"return");if(void 0===r)return p({done:!0,value:t});n=w(r,e.iterator,[t])}catch(e){return h(e)}return r(n)?he(n):h(new TypeError("The iterator.return() method must return an object"))}};return{iterator:t,nextMethod:t.next,done:!1}}(me(e,"sync",pe(e,Symbol.iterator)))}else n=pe(e,Symbol.iterator);if(void 0===n)throw new TypeError("The object is not iterable");const o=w(n,e,[]);if(!r(o))throw new TypeError("The iterator method must return an object");return{iterator:o,nextMethod:o.next,done:!1}}function ge(e){const t=w(e.nextMethod,e.iterator,[]);if(!r(t))throw new TypeError("The iterator.next() method must return an object");return t}class _e{constructor(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}next(){const e=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?v(this._ongoingPromise,e,e):e(),this._ongoingPromise}"return"(e){const t=()=>this._returnSteps(e);return this._ongoingPromise=this._ongoingPromise?v(this._ongoingPromise,t,t):t(),this._ongoingPromise}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});const e=this._reader;let t,n;const r=d((e,r)=>{t=e,n=r});return te(e,{_chunkSteps:e=>{this._ongoingPromise=void 0,y(()=>t({value:e,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,P(e),t({value:void 0,done:!0})},_errorSteps:t=>{this._ongoingPromise=void 0,this._isFinished=!0,P(e),n(t)}}),r}_returnSteps(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;const t=this._reader;if(!this._preventCancel){const n=x(t,e);return P(t),v(n,()=>({value:e,done:!0}))}return P(t),p({value:e,done:!0})}}const ve={next(){return be(this)?this._asyncIteratorImpl.next():h(ye("next"))},"return"(e){return be(this)?this._asyncIteratorImpl["return"](e):h(ye("return"))},[fe](){return this}};function be(e){if(!r(e))return!1;if(!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof _e}catch(e){return!1}}function ye(e){return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}Object.defineProperty(ve,fe,{enumerable:!1});const we=Number.isNaN||function(e){return e!=e};function ke(e){const t=de(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function Se(e){const t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function Ee(e,t,n){if("number"!=typeof(r=n)||we(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 Ie(e){e._queue=new S,e._queueTotalSize=0}function Ce(e){return e===DataView}class Te{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!xe(this))throw rt("view");return this._view}respond(e){if(!xe(this))throw rt("respond");if(q(e,1,"respond"),e=V(e,"First parameter"),void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(ue(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");et(this._associatedReadableByteStreamController,e)}respondWithNewView(e){if(!xe(this))throw rt("respondWithNewView");if(q(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(ue(e.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");tt(this._associatedReadableByteStreamController,e)}}Object.defineProperties(Te.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),i(Te.prototype.respond,"respond"),i(Te.prototype.respondWithNewView,"respondWithNewView"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Te.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class Ae{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!Oe(this))throw ot("byobRequest");return Je(this)}get desiredSize(){if(!Oe(this))throw ot("desiredSize");return Ze(this)}close(){if(!Oe(this))throw ot("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");const e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);Ke(this)}enqueue(e){if(!Oe(this))throw ot("enqueue");if(q(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");const t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);Qe(this,e)}error(e=void 0){if(!Oe(this))throw ot("error");Xe(this,e)}[C](e){Me(this),Ie(this);const t=this._cancelAlgorithm(e);return We(this),t}[T](e){const t=this._controlledReadableByteStream;if(this._queueTotalSize>0)return void Ye(this,e);const n=this._autoAllocateChunkSize;if(void 0!==n){let r;try{r=new ArrayBuffer(n)}catch(t){return void e._errorSteps(t)}const o={buffer:r,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}Q(t,e),Pe(this)}[A](){if(this._pendingPullIntos.length>0){const e=this._pendingPullIntos.peek();e.readerType="none",this._pendingPullIntos=new S,this._pendingPullIntos.push(e)}}}function Oe(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")&&e instanceof Ae}function xe(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")&&e instanceof Te}function Pe(e){const t=function(e){const t=e._controlledReadableByteStream;return"readable"===t._state&&!e._closeRequested&&!!e._started&&(!!(J(t)&&Y(t)>0)||!!(ct(t)&&lt(t)>0)||Ze(e)>0)}(e);t&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Pe(e)),null),t=>(Xe(e,t),null))))}function Me(e){qe(e),e._pendingPullIntos=new S}function Ne(e,t){let n=!1;"closed"===e._state&&(n=!0);const r=Le(t);"default"===t.readerType?X(e,r,n):function(e,t,n){const r=e._reader._readIntoRequests.shift();n?r._closeSteps(t):r._chunkSteps(t)}(e,r,n)}function Re(e,t){for(let n=0;n<t.length;++n)Ne(e,t[n])}function Le(e){const t=e.bytesFilled,n=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/n)}function De(e,t,n,r){e._queue.push({buffer:t,byteOffset:n,byteLength:r}),e._queueTotalSize+=r}function $e(e,t,n,r){let o;try{o=de(t,n,n+r)}catch(t){throw Xe(e,t),t}De(e,o,0,r)}function Ue(e,t){t.bytesFilled>0&&$e(e,t.buffer,t.byteOffset,t.bytesFilled),Ve(e)}function je(e,t){const n=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),r=t.bytesFilled+n;let o=n,i=!1;const s=r-r%t.elementSize;s>=t.minimumFill&&(o=s-t.bytesFilled,i=!0);const a=e._queue;for(;o>0;){const n=a.peek(),r=Math.min(o,n.byteLength),i=t.byteOffset+t.bytesFilled;le(t.buffer,i,n.buffer,n.byteOffset,r),n.byteLength===r?a.shift():(n.byteOffset+=r,n.byteLength-=r),e._queueTotalSize-=r,Fe(e,r,t),o-=r}return i}function Fe(e,t,n){n.bytesFilled+=t}function Ge(e){0===e._queueTotalSize&&e._closeRequested?(We(e),zn(e._controlledReadableByteStream)):Pe(e)}function qe(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function ze(e){const t=[];for(;e._pendingPullIntos.length>0&&0!==e._queueTotalSize;){const n=e._pendingPullIntos.peek();je(e,n)&&(Ve(e),t.push(n))}return t}function Be(e,t,n,r){const o=e._controlledReadableByteStream,i=t.constructor,s=function(e){return Ce(e)?1:e.BYTES_PER_ELEMENT}(i),{byteOffset:a,byteLength:l}=t,c=n*s;let u;try{u=ce(t.buffer)}catch(e){return void r._errorSteps(e)}const d={buffer:u,bufferByteLength:u.byteLength,byteOffset:a,byteLength:l,bytesFilled:0,minimumFill:c,elementSize:s,viewConstructor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(d),void at(o,r);if("closed"===o._state){const e=new i(d.buffer,d.byteOffset,0);return void r._closeSteps(e)}if(e._queueTotalSize>0){if(je(e,d)){const t=Le(d);return Ge(e),void r._chunkSteps(t)}if(e._closeRequested){const t=new TypeError("Insufficient bytes to fill elements in the given buffer");return Xe(e,t),void r._errorSteps(t)}}e._pendingPullIntos.push(d),at(o,r),Pe(e)}function He(e,t){const n=e._pendingPullIntos.peek();qe(e),"closed"===e._controlledReadableByteStream._state?function(e,t){"none"===t.readerType&&Ve(e);const n=e._controlledReadableByteStream;if(ct(n)){const t=[];for(;t.length<lt(n);)t.push(Ve(e));Re(n,t)}}(e,n):function(e,t,n){if(Fe(0,t,n),"none"===n.readerType){Ue(e,n);const t=ze(e);return void Re(e._controlledReadableByteStream,t)}if(n.bytesFilled<n.minimumFill)return;Ve(e);const r=n.bytesFilled%n.elementSize;if(r>0){const t=n.byteOffset+n.bytesFilled;$e(e,n.buffer,t-r,r)}n.bytesFilled-=r;const o=ze(e);Ne(e._controlledReadableByteStream,n),Re(e._controlledReadableByteStream,o)}(e,t,n),Pe(e)}function Ve(e){return e._pendingPullIntos.shift()}function We(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Ke(e){const t=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===t._state)if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek();if(t.bytesFilled%t.elementSize!==0){const t=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Xe(e,t),t}}We(e),zn(t)}}function Qe(e,t){const n=e._controlledReadableByteStream;if(e._closeRequested||"readable"!==n._state)return;const{buffer:r,byteOffset:o,byteLength:i}=t;if(ue(r))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");const s=ce(r);if(e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek();if(ue(t.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");qe(e),t.buffer=ce(t.buffer),"none"===t.readerType&&Ue(e,t)}J(n)?(function(e){const t=e._controlledReadableByteStream._reader;for(;t._readRequests.length>0;){if(0===e._queueTotalSize)return;Ye(e,t._readRequests.shift())}}(e),0===Y(n)?De(e,s,o,i):(e._pendingPullIntos.length>0&&Ve(e),X(n,new Uint8Array(s,o,i),!1))):ct(n)?(De(e,s,o,i),Re(n,ze(e))):De(e,s,o,i),Pe(e)}function Xe(e,t){const n=e._controlledReadableByteStream;"readable"===n._state&&(Me(e),Ie(e),We(e),Bn(n,t))}function Ye(e,t){const n=e._queue.shift();e._queueTotalSize-=n.byteLength,Ge(e);const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);t._chunkSteps(r)}function Je(e){if(null===e._byobRequest&&e._pendingPullIntos.length>0){const t=e._pendingPullIntos.peek(),n=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),r=Object.create(Te.prototype);!function(e,t,n){e._associatedReadableByteStreamController=t,e._view=n}(r,e,n),e._byobRequest=r}return e._byobRequest}function Ze(e){const t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function et(e,t){const 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=ce(n.buffer),He(e,t)}function tt(e,t){const 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");const r=t.byteLength;n.buffer=ce(t.buffer),He(e,r)}function nt(e,t,n,r,o,i,s){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,Ie(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,t._autoAllocateChunkSize=s,t._pendingPullIntos=new S,e._readableStreamController=t,m(p(n()),()=>(t._started=!0,Pe(t),null),e=>(Xe(t,e),null))}function rt(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function ot(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function it(e,t){if("byob"!=(e=`${e}`))throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}function st(e){return new ut(e)}function at(e,t){e._reader._readIntoRequests.push(t)}function lt(e){return e._reader._readIntoRequests.length}function ct(e){const t=e._reader;return void 0!==t&&!!dt(t)}Object.defineProperties(Ae.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),i(Ae.prototype.close,"close"),i(Ae.prototype.enqueue,"enqueue"),i(Ae.prototype.error,"error"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Ae.prototype,Symbol.toStringTag,{value:"ReadableByteStreamController",configurable:!0});class ut{constructor(e){if(q(e,1,"ReadableStreamBYOBReader"),W(e,"First parameter"),Gn(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Oe(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");O(this,e),this._readIntoRequests=new S}get closed(){return dt(this)?this._closedPromise:h(ft("closed"))}cancel(e=void 0){return dt(this)?void 0===this._ownerReadableStream?h(M("cancel")):x(this,e):h(ft("cancel"))}read(e,t={}){if(!dt(this))return h(ft("read"));if(!ArrayBuffer.isView(e))return h(new TypeError("view must be an array buffer view"));if(0===e.byteLength)return h(new TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return h(new TypeError("view's buffer must have non-zero byteLength"));if(ue(e.buffer))return h(new TypeError("view's buffer has been detached"));let n;try{n=function(e,t){var n;return j(e,t),{min:V(null!==(n=null==e?void 0:e.min)&&void 0!==n?n:1,`${t} has member 'min' that`)}}(t,"options")}catch(e){return h(e)}const r=n.min;if(0===r)return h(new TypeError("options.min must be greater than 0"));if(function(e){return Ce(e.constructor)}(e)){if(r>e.byteLength)return h(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(r>e.length)return h(new RangeError("options.min must be less than or equal to view's length"));if(void 0===this._ownerReadableStream)return h(M("read from"));let o,i;const s=d((e,t)=>{o=e,i=t});return pt(this,e,r,{_chunkSteps:e=>o({value:e,done:!1}),_closeSteps:e=>o({value:e,done:!0}),_errorSteps:e=>i(e)}),s}releaseLock(){if(!dt(this))throw ft("releaseLock");void 0!==this._ownerReadableStream&&function(e){P(e),ht(e,new TypeError("Reader was released"))}(this)}}function dt(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")&&e instanceof ut}function pt(e,t,n,r){const o=e._ownerReadableStream;o._disturbed=!0,"errored"===o._state?r._errorSteps(o._storedError):Be(o._readableStreamController,t,n,r)}function ht(e,t){const n=e._readIntoRequests;e._readIntoRequests=new S,n.forEach(e=>{e._errorSteps(t)})}function ft(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function mt(e,t){const{highWaterMark:n}=e;if(void 0===n)return t;if(we(n)||n<0)throw new RangeError("Invalid highWaterMark");return n}function gt(e){const{size:t}=e;return t||(()=>1)}function _t(e,t){j(e,t);const n=null==e?void 0:e.highWaterMark,r=null==e?void 0:e.size;return{highWaterMark:void 0===n?void 0:B(n),size:void 0===r?void 0:vt(r,`${t} has member 'size' that`)}}function vt(e,t){return F(e,t),t=>B(e(t))}function bt(e,t,n){return F(e,n),n=>k(e,t,[n])}function yt(e,t,n){return F(e,n),()=>k(e,t,[])}function wt(e,t,n){return F(e,n),n=>w(e,t,[n])}function kt(e,t,n){return F(e,n),(n,r)=>k(e,t,[n,r])}function St(e,t){if(!Tt(e))throw new TypeError(`${t} is not a WritableStream.`)}Object.defineProperties(ut.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),i(ut.prototype.cancel,"cancel"),i(ut.prototype.read,"read"),i(ut.prototype.releaseLock,"releaseLock"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(ut.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});class Et{constructor(e={},t={}){void 0===e?e=null:G(e,"First parameter");const n=_t(t,"Second parameter"),r=function(e,t){j(e,t);const 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,s=null==e?void 0:e.write;return{abort:void 0===n?void 0:bt(n,e,`${t} has member 'abort' that`),close:void 0===r?void 0:yt(r,e,`${t} has member 'close' that`),start:void 0===o?void 0:wt(o,e,`${t} has member 'start' that`),write:void 0===s?void 0:kt(s,e,`${t} has member 'write' that`),type:i}}(e,"First parameter");if(Ct(this),void 0!==r.type)throw new RangeError("Invalid type is specified");const o=gt(n);!function(e,t,n,r){const o=Object.create(Ht.prototype);let i,s,a,l;i=void 0!==t.start?()=>t.start(o):()=>{},s=void 0!==t.write?e=>t.write(e,o):()=>p(void 0),a=void 0!==t.close?()=>t.close():()=>p(void 0),l=void 0!==t.abort?e=>t.abort(e):()=>p(void 0),Wt(e,o,i,s,a,l,n,r)}(this,r,mt(n,1),o)}get locked(){if(!Tt(this))throw en("locked");return At(this)}abort(e=void 0){return Tt(this)?At(this)?h(new TypeError("Cannot abort a stream that already has a writer")):Ot(this,e):h(en("abort"))}close(){return Tt(this)?At(this)?h(new TypeError("Cannot close a stream that already has a writer")):Rt(this)?h(new TypeError("Cannot close an already-closing stream")):xt(this):h(en("close"))}getWriter(){if(!Tt(this))throw en("getWriter");return It(this)}}function It(e){return new $t(e)}function Ct(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 Et}function At(e){return void 0!==e._writer}function Ot(e,t){var n;if("closed"===e._state||"errored"===e._state)return p(void 0);e._writableStreamController._abortReason=t,null===(n=e._writableStreamController._abortController)||void 0===n||n.abort(t);const r=e._state;if("closed"===r||"errored"===r)return p(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;let o=!1;"erroring"===r&&(o=!0,t=void 0);const i=d((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 xt(e){const t=e._state;if("closed"===t||"errored"===t)return h(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));const n=d((t,n)=>{const r={_resolve:t,_reject:n};e._closeRequest=r}),r=e._writer;var o;return void 0!==r&&e._backpressure&&"writable"===t&&hn(r),Ee(o=e._writableStreamController,Bt,0),Xt(o),n}function Pt(e,t){"writable"!==e._state?Nt(e):Mt(e,t)}function Mt(e,t){const n=e._writableStreamController;e._state="erroring",e._storedError=t;const r=e._writer;void 0!==r&&Gt(r,t),!function(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}(e)&&n._started&&Nt(e)}function Nt(e){e._state="errored",e._writableStreamController[I]();const t=e._storedError;if(e._writeRequests.forEach(e=>{e._reject(t)}),e._writeRequests=new S,void 0===e._pendingAbortRequest)return void Lt(e);const n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,n._wasAlreadyErroring)return n._reject(t),void Lt(e);m(e._writableStreamController[E](n._reason),()=>(n._resolve(),Lt(e),null),t=>(n._reject(t),Lt(e),null))}function Rt(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function Lt(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);const t=e._writer;void 0!==t&&an(t,e._storedError)}function Dt(e,t){const n=e._writer;void 0!==n&&t!==e._backpressure&&(t?function(e){cn(e)}(n):hn(n)),e._backpressure=t}Object.defineProperties(Et.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),i(Et.prototype.abort,"abort"),i(Et.prototype.close,"close"),i(Et.prototype.getWriter,"getWriter"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Et.prototype,Symbol.toStringTag,{value:"WritableStream",configurable:!0});class $t{constructor(e){if(q(e,1,"WritableStreamDefaultWriter"),St(e,"First parameter"),At(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;const t=e._state;if("writable"===t)!Rt(e)&&e._backpressure?cn(this):dn(this),on(this);else if("erroring"===t)un(this,e._storedError),on(this);else if("closed"===t)dn(this),on(n=this),ln(n);else{const t=e._storedError;un(this,t),sn(this,t)}var n}get closed(){return Ut(this)?this._closedPromise:h(nn("closed"))}get desiredSize(){if(!Ut(this))throw nn("desiredSize");if(void 0===this._ownerWritableStream)throw rn("desiredSize");return function(e){const t=e._ownerWritableStream,n=t._state;return"errored"===n||"erroring"===n?null:"closed"===n?0:Qt(t._writableStreamController)}(this)}get ready(){return Ut(this)?this._readyPromise:h(nn("ready"))}abort(e=void 0){return Ut(this)?void 0===this._ownerWritableStream?h(rn("abort")):function(e,t){return Ot(e._ownerWritableStream,t)}(this,e):h(nn("abort"))}close(){if(!Ut(this))return h(nn("close"));const e=this._ownerWritableStream;return void 0===e?h(rn("close")):Rt(e)?h(new TypeError("Cannot close an already-closing stream")):jt(this)}releaseLock(){if(!Ut(this))throw nn("releaseLock");void 0!==this._ownerWritableStream&&qt(this)}write(e=void 0){return Ut(this)?void 0===this._ownerWritableStream?h(rn("write to")):zt(this,e):h(nn("write"))}}function Ut(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")&&e instanceof $t}function jt(e){return xt(e._ownerWritableStream)}function Ft(e,t){"pending"===e._closedPromiseState?an(e,t):function(e,t){sn(e,t)}(e,t)}function Gt(e,t){"pending"===e._readyPromiseState?pn(e,t):function(e,t){un(e,t)}(e,t)}function qt(e){const t=e._ownerWritableStream,n=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Gt(e,n),Ft(e,n),t._writer=void 0,e._ownerWritableStream=void 0}function zt(e,t){const 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 Yt(e,t),1}}(r,t);if(n!==e._ownerWritableStream)return h(rn("write to"));const i=n._state;if("errored"===i)return h(n._storedError);if(Rt(n)||"closed"===i)return h(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===i)return h(n._storedError);const s=function(e){return d((t,n)=>{const r={_resolve:t,_reject:n};e._writeRequests.push(r)})}(n);return function(e,t,n){try{Ee(e,t,n)}catch(t){return void Yt(e,t)}const r=e._controlledWritableStream;Rt(r)||"writable"!==r._state||Dt(r,Jt(e)),Xt(e)}(r,t,o),s}Object.defineProperties($t.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),i($t.prototype.abort,"abort"),i($t.prototype.close,"close"),i($t.prototype.releaseLock,"releaseLock"),i($t.prototype.write,"write"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty($t.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});const Bt={};class Ht{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Vt(this))throw tn("abortReason");return this._abortReason}get signal(){if(!Vt(this))throw tn("signal");if(void 0===this._abortController)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(e=void 0){if(!Vt(this))throw tn("error");"writable"===this._controlledWritableStream._state&&Zt(this,e)}[E](e){const t=this._abortAlgorithm(e);return Kt(this),t}[I](){Ie(this)}}function Vt(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")&&e instanceof Ht}function Wt(e,t,n,r,o,i,s,a){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,Ie(t),t._abortReason=void 0,t._abortController=function(){if("function"==typeof AbortController)return new AbortController}(),t._started=!1,t._strategySizeAlgorithm=a,t._strategyHWM=s,t._writeAlgorithm=r,t._closeAlgorithm=o,t._abortAlgorithm=i;const l=Jt(t);Dt(e,l),m(p(n()),()=>(t._started=!0,Xt(t),null),n=>(t._started=!0,Pt(e,n),null))}function Kt(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 Xt(e){const t=e._controlledWritableStream;if(!e._started)return;if(void 0!==t._inFlightWriteRequest)return;if("erroring"===t._state)return void Nt(t);if(0===e._queue.length)return;const n=e._queue.peek().value;n===Bt?function(e){const t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),Se(e);const n=e._closeAlgorithm();Kt(e),m(n,()=>(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";const t=e._writer;void 0!==t&&ln(t)}(t),null),e=>(function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),Pt(e,t)}(t,e),null))}(e):function(e,t){const n=e._controlledWritableStream;!function(e){e._inFlightWriteRequest=e._writeRequests.shift()}(n),m(e._writeAlgorithm(t),()=>{!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(n);const t=n._state;if(Se(e),!Rt(n)&&"writable"===t){const t=Jt(e);Dt(n,t)}return Xt(e),null},t=>("writable"===n._state&&Kt(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,Pt(e,t)}(n,t),null))}(e,n)}function Yt(e,t){"writable"===e._controlledWritableStream._state&&Zt(e,t)}function Jt(e){return Qt(e)<=0}function Zt(e,t){const n=e._controlledWritableStream;Kt(e),Mt(n,t)}function en(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function tn(e){return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function nn(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function rn(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function on(e){e._closedPromise=d((t,n)=>{e._closedPromise_resolve=t,e._closedPromise_reject=n,e._closedPromiseState="pending"})}function sn(e,t){on(e),an(e,t)}function an(e,t){void 0!==e._closedPromise_reject&&(b(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 cn(e){e._readyPromise=d((t,n)=>{e._readyPromise_resolve=t,e._readyPromise_reject=n}),e._readyPromiseState="pending"}function un(e,t){cn(e),pn(e,t)}function dn(e){cn(e),hn(e)}function pn(e,t){void 0!==e._readyPromise_reject&&(b(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function hn(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(Ht.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Ht.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});const fn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof n.g?n.g:void 0,mn=function(){const e=null==fn?void 0:fn.DOMException;return function(e){if("function"!=typeof e&&"object"!=typeof e)return!1;if("DOMException"!==e.name)return!1;try{return new e,!0}catch(e){return!1}}(e)?e:void 0}()||function(){const 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 gn(e,n,r,o,i,s){const a=K(e),l=It(n);e._disturbed=!0;let c=!1,u=p(void 0);return d((v,y)=>{let w;if(void 0!==s){if(w=()=>{const t=void 0!==s.reason?s.reason:new mn("Aborted","AbortError"),r=[];o||r.push(()=>"writable"===n._state?Ot(n,t):p(void 0)),i||r.push(()=>"readable"===e._state?qn(e,t):p(void 0)),T(()=>Promise.all(r.map(e=>e())),!0,t)},s.aborted)return void w();s.addEventListener("abort",w)}var k,S,E;if(C(e,a._closedPromise,e=>(o?A(!0,e):T(()=>Ot(n,e),!0,e),null)),C(n,l._closedPromise,t=>(i?A(!0,t):T(()=>qn(e,t),!0,t),null)),k=e,S=a._closedPromise,E=()=>(r?A():T(()=>function(e){const t=e._ownerWritableStream,n=t._state;return Rt(t)||"closed"===n?p(void 0):"errored"===n?h(t._storedError):jt(e)}(l)),null),"closed"===k._state?E():g(S,E),Rt(n)||"closed"===n._state){const t=new TypeError("the destination writable stream closed before all data could be piped to it");i?A(!0,t):T(()=>qn(e,t),!0,t)}function I(){const e=u;return f(u,()=>e!==u?I():void 0)}function C(e,t,n){"errored"===e._state?n(e._storedError):_(t,n)}function T(e,t,r){function o(){return m(e(),()=>O(t,r),e=>O(!0,e)),null}c||(c=!0,"writable"!==n._state||Rt(n)?o():g(I(),o))}function A(e,t){c||(c=!0,"writable"!==n._state||Rt(n)?O(e,t):g(I(),()=>O(e,t)))}function O(e,t){return qt(l),P(a),void 0!==s&&s.removeEventListener("abort",w),e?y(t):v(void 0),null}b(d((e,n)=>{!function r(o){o?e():f(c?p(!0):f(l._readyPromise,()=>d((e,n)=>{te(a,{_chunkSteps:n=>{u=f(zt(l,n),void 0,t),e(!1)},_closeSteps:()=>e(!0),_errorSteps:n})})),r,n)}(!1)}))})}class _n{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!vn(this))throw An("desiredSize");return In(this)}close(){if(!vn(this))throw An("close");if(!Cn(this))throw new TypeError("The stream is not in a state that permits close");kn(this)}enqueue(e=void 0){if(!vn(this))throw An("enqueue");if(!Cn(this))throw new TypeError("The stream is not in a state that permits enqueue");return Sn(this,e)}error(e=void 0){if(!vn(this))throw An("error");En(this,e)}[C](e){Ie(this);const t=this._cancelAlgorithm(e);return wn(this),t}[T](e){const t=this._controlledReadableStream;if(this._queue.length>0){const n=Se(this);this._closeRequested&&0===this._queue.length?(wn(this),zn(t)):bn(this),e._chunkSteps(n)}else Q(t,e),bn(this)}[A](){}}function vn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")&&e instanceof _n}function bn(e){yn(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),()=>(e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,bn(e)),null),t=>(En(e,t),null))))}function yn(e){const t=e._controlledReadableStream;return!!Cn(e)&&!!e._started&&(!!(Gn(t)&&Y(t)>0)||In(e)>0)}function wn(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function kn(e){if(!Cn(e))return;const t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(wn(e),zn(t))}function Sn(e,t){if(!Cn(e))return;const n=e._controlledReadableStream;if(Gn(n)&&Y(n)>0)X(n,t,!1);else{let n;try{n=e._strategySizeAlgorithm(t)}catch(t){throw En(e,t),t}try{Ee(e,t,n)}catch(t){throw En(e,t),t}}bn(e)}function En(e,t){const n=e._controlledReadableStream;"readable"===n._state&&(Ie(e),wn(e),Bn(n,t))}function In(e){const t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Cn(e){const t=e._controlledReadableStream._state;return!e._closeRequested&&"readable"===t}function Tn(e,t,n,r,o,i,s){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Ie(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=s,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,e._readableStreamController=t,m(p(n()),()=>(t._started=!0,bn(t),null),e=>(En(t,e),null))}function An(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function On(e,t){return Oe(e._readableStreamController)?function(e){let t,n,r,o,i,s=K(e),a=!1,l=!1,c=!1,u=!1,h=!1;const f=d(e=>{i=e});function m(e){_(e._closedPromise,t=>(e!==s||(Xe(r._readableStreamController,t),Xe(o._readableStreamController,t),u&&h||i(void 0)),null))}function g(){dt(s)&&(P(s),s=K(e),m(s)),te(s,{_chunkSteps:t=>{y(()=>{l=!1,c=!1;const n=t;let s=t;if(!u&&!h)try{s=ke(t)}catch(t){return Xe(r._readableStreamController,t),Xe(o._readableStreamController,t),void i(qn(e,t))}u||Qe(r._readableStreamController,n),h||Qe(o._readableStreamController,s),a=!1,l?b():c&&w()})},_closeSteps:()=>{a=!1,u||Ke(r._readableStreamController),h||Ke(o._readableStreamController),r._readableStreamController._pendingPullIntos.length>0&&et(r._readableStreamController,0),o._readableStreamController._pendingPullIntos.length>0&&et(o._readableStreamController,0),u&&h||i(void 0)},_errorSteps:()=>{a=!1}})}function v(t,n){ee(s)&&(P(s),s=st(e),m(s));const d=n?o:r,p=n?r:o;pt(s,t,1,{_chunkSteps:t=>{y(()=>{l=!1,c=!1;const r=n?h:u;if(n?u:h)r||tt(d._readableStreamController,t);else{let n;try{n=ke(t)}catch(t){return Xe(d._readableStreamController,t),Xe(p._readableStreamController,t),void i(qn(e,t))}r||tt(d._readableStreamController,t),Qe(p._readableStreamController,n)}a=!1,l?b():c&&w()})},_closeSteps:e=>{a=!1;const t=n?h:u,r=n?u:h;t||Ke(d._readableStreamController),r||Ke(p._readableStreamController),void 0!==e&&(t||tt(d._readableStreamController,e),!r&&p._readableStreamController._pendingPullIntos.length>0&&et(p._readableStreamController,0)),t&&r||i(void 0)},_errorSteps:()=>{a=!1}})}function b(){if(a)return l=!0,p(void 0);a=!0;const e=Je(r._readableStreamController);return null===e?g():v(e._view,!1),p(void 0)}function w(){if(a)return c=!0,p(void 0);a=!0;const e=Je(o._readableStreamController);return null===e?g():v(e._view,!0),p(void 0)}function k(r){if(u=!0,t=r,h){const r=ae([t,n]),o=qn(e,r);i(o)}return f}function S(r){if(h=!0,n=r,u){const r=ae([t,n]),o=qn(e,r);i(o)}return f}function E(){}return r=Un(E,b,k),o=Un(E,w,S),m(s),[r,o]}(e):function(e){const t=K(e);let n,r,o,i,s,a=!1,l=!1,c=!1,u=!1;const h=d(e=>{s=e});function f(){return a?(l=!0,p(void 0)):(a=!0,te(t,{_chunkSteps:e=>{y(()=>{l=!1;const t=e,n=e;c||Sn(o._readableStreamController,t),u||Sn(i._readableStreamController,n),a=!1,l&&f()})},_closeSteps:()=>{a=!1,c||kn(o._readableStreamController),u||kn(i._readableStreamController),c&&u||s(void 0)},_errorSteps:()=>{a=!1}}),p(void 0))}function m(t){if(c=!0,n=t,u){const t=ae([n,r]),o=qn(e,t);s(o)}return h}function g(t){if(u=!0,r=t,c){const t=ae([n,r]),o=qn(e,t);s(o)}return h}function v(){}return o=$n(v,f,m),i=$n(v,f,g),_(t._closedPromise,e=>(En(o._readableStreamController,e),En(i._readableStreamController,e),c&&u||s(void 0),null)),[o,i]}(e)}function xn(e){return r(n=e)&&void 0!==n.getReader?function(e){let n;function o(){let t;try{t=e.read()}catch(e){return h(e)}return v(t,e=>{if(!r(e))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if(e.done)kn(n._readableStreamController);else{const t=e.value;Sn(n._readableStreamController,t)}})}function i(t){try{return p(e.cancel(t))}catch(e){return h(e)}}return n=$n(t,o,i,0),n}(e.getReader()):function(e){let n;const o=me(e,"async");function i(){let e;try{e=ge(o)}catch(e){return h(e)}return v(p(e),e=>{if(!r(e))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");if(e.done)kn(n._readableStreamController);else{const t=e.value;Sn(n._readableStreamController,t)}})}function s(e){const t=o.iterator;let n;try{n=pe(t,"return")}catch(e){return h(e)}return void 0===n?p(void 0):v(k(n,t,[e]),e=>{if(!r(e))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return n=$n(t,i,s,0),n}(e);var n}function Pn(e,t,n){return F(e,n),n=>k(e,t,[n])}function Mn(e,t,n){return F(e,n),n=>k(e,t,[n])}function Nn(e,t,n){return F(e,n),n=>w(e,t,[n])}function Rn(e,t){if("bytes"!=(e=`${e}`))throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}function Ln(e,t){j(e,t);const 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"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}(e))throw new TypeError(`${t} is not an AbortSignal.`)}(i,`${t} has member 'signal' that`),{preventAbort:Boolean(n),preventCancel:Boolean(r),preventClose:Boolean(o),signal:i}}Object.defineProperties(_n.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),i(_n.prototype.close,"close"),i(_n.prototype.enqueue,"enqueue"),i(_n.prototype.error,"error"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(_n.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});class Dn{constructor(e={},t={}){void 0===e?e=null:G(e,"First parameter");const n=_t(t,"Second parameter"),r=function(e,t){j(e,t);const n=e,r=null==n?void 0:n.autoAllocateChunkSize,o=null==n?void 0:n.cancel,i=null==n?void 0:n.pull,s=null==n?void 0:n.start,a=null==n?void 0:n.type;return{autoAllocateChunkSize:void 0===r?void 0:V(r,`${t} has member 'autoAllocateChunkSize' that`),cancel:void 0===o?void 0:Pn(o,n,`${t} has member 'cancel' that`),pull:void 0===i?void 0:Mn(i,n,`${t} has member 'pull' that`),start:void 0===s?void 0:Nn(s,n,`${t} has member 'start' that`),type:void 0===a?void 0:Rn(a,`${t} has member 'type' that`)}}(e,"First parameter");if(jn(this),"bytes"===r.type){if(void 0!==n.size)throw new RangeError("The strategy for a byte stream cannot have a size function");!function(e,t,n){const r=Object.create(Ae.prototype);let o,i,s;o=void 0!==t.start?()=>t.start(r):()=>{},i=void 0!==t.pull?()=>t.pull(r):()=>p(void 0),s=void 0!==t.cancel?e=>t.cancel(e):()=>p(void 0);const a=t.autoAllocateChunkSize;if(0===a)throw new TypeError("autoAllocateChunkSize must be greater than 0");nt(e,r,o,i,s,n,a)}(this,r,mt(n,0))}else{const e=gt(n);!function(e,t,n,r){const o=Object.create(_n.prototype);let i,s,a;i=void 0!==t.start?()=>t.start(o):()=>{},s=void 0!==t.pull?()=>t.pull(o):()=>p(void 0),a=void 0!==t.cancel?e=>t.cancel(e):()=>p(void 0),Tn(e,o,i,s,a,n,r)}(this,r,mt(n,1),e)}}get locked(){if(!Fn(this))throw Hn("locked");return Gn(this)}cancel(e=void 0){return Fn(this)?Gn(this)?h(new TypeError("Cannot cancel a stream that already has a reader")):qn(this,e):h(Hn("cancel"))}getReader(e=void 0){if(!Fn(this))throw Hn("getReader");return void 0===function(e,t){j(e,t);const n=null==e?void 0:e.mode;return{mode:void 0===n?void 0:it(n,`${t} has member 'mode' that`)}}(e,"First parameter").mode?K(this):st(this)}pipeThrough(e,t={}){if(!Fn(this))throw Hn("pipeThrough");q(e,1,"pipeThrough");const n=function(e,t){j(e,t);const n=null==e?void 0:e.readable;z(n,"readable","ReadableWritablePair"),W(n,`${t} has member 'readable' that`);const r=null==e?void 0:e.writable;return z(r,"writable","ReadableWritablePair"),St(r,`${t} has member 'writable' that`),{readable:n,writable:r}}(e,"First parameter"),r=Ln(t,"Second parameter");if(Gn(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(At(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return b(gn(this,n.writable,r.preventClose,r.preventAbort,r.preventCancel,r.signal)),n.readable}pipeTo(e,t={}){if(!Fn(this))return h(Hn("pipeTo"));if(void 0===e)return h("Parameter 1 is required in 'pipeTo'.");if(!Tt(e))return h(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let n;try{n=Ln(t,"Second parameter")}catch(e){return h(e)}return Gn(this)?h(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):At(e)?h(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):gn(this,e,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!Fn(this))throw Hn("tee");return ae(On(this))}values(e=void 0){if(!Fn(this))throw Hn("values");return function(e,t){const n=K(e),r=new _e(n,t),o=Object.create(ve);return o._asyncIteratorImpl=r,o}(this,function(e){j(e,"First parameter");const t=null==e?void 0:e.preventCancel;return{preventCancel:Boolean(t)}}(e).preventCancel)}[fe](e){return this.values(e)}static from(e){return xn(e)}}function $n(e,t,n,r=1,o=()=>1){const i=Object.create(Dn.prototype);return jn(i),Tn(i,Object.create(_n.prototype),e,t,n,r,o),i}function Un(e,t,n){const r=Object.create(Dn.prototype);return jn(r),nt(r,Object.create(Ae.prototype),e,t,n,0,void 0),r}function jn(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function Fn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")&&e instanceof Dn}function Gn(e){return void 0!==e._reader}function qn(e,n){if(e._disturbed=!0,"closed"===e._state)return p(void 0);if("errored"===e._state)return h(e._storedError);zn(e);const r=e._reader;if(void 0!==r&&dt(r)){const e=r._readIntoRequests;r._readIntoRequests=new S,e.forEach(e=>{e._closeSteps(void 0)})}return v(e._readableStreamController[C](n),t)}function zn(e){e._state="closed";const t=e._reader;if(void 0!==t&&(D(t),ee(t))){const e=t._readRequests;t._readRequests=new S,e.forEach(e=>{e._closeSteps()})}}function Bn(e,t){e._state="errored",e._storedError=t;const n=e._reader;void 0!==n&&(L(n,t),ee(n)?ne(n,t):ht(n,t))}function Hn(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function Vn(e,t){j(e,t);const n=null==e?void 0:e.highWaterMark;return z(n,"highWaterMark","QueuingStrategyInit"),{highWaterMark:B(n)}}Object.defineProperties(Dn,{from:{enumerable:!0}}),Object.defineProperties(Dn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),i(Dn.from,"from"),i(Dn.prototype.cancel,"cancel"),i(Dn.prototype.getReader,"getReader"),i(Dn.prototype.pipeThrough,"pipeThrough"),i(Dn.prototype.pipeTo,"pipeTo"),i(Dn.prototype.tee,"tee"),i(Dn.prototype.values,"values"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Dn.prototype,Symbol.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(Dn.prototype,fe,{value:Dn.prototype.values,writable:!0,configurable:!0});const Wn=e=>e.byteLength;i(Wn,"size");class Kn{constructor(e){q(e,1,"ByteLengthQueuingStrategy"),e=Vn(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!Xn(this))throw Qn("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!Xn(this))throw Qn("size");return Wn}}function Qn(e){return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function Xn(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")&&e instanceof Kn}Object.defineProperties(Kn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Kn.prototype,Symbol.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});const Yn=()=>1;i(Yn,"size");class Jn{constructor(e){q(e,1,"CountQueuingStrategy"),e=Vn(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}get highWaterMark(){if(!er(this))throw Zn("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!er(this))throw Zn("size");return Yn}}function Zn(e){return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function er(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")&&e instanceof Jn}function tr(e,t,n){return F(e,n),n=>k(e,t,[n])}function nr(e,t,n){return F(e,n),n=>w(e,t,[n])}function rr(e,t,n){return F(e,n),(n,r)=>k(e,t,[n,r])}function or(e,t,n){return F(e,n),n=>k(e,t,[n])}Object.defineProperties(Jn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Jn.prototype,Symbol.toStringTag,{value:"CountQueuingStrategy",configurable:!0});class ir{constructor(e={},t={},n={}){void 0===e&&(e=null);const r=_t(t,"Second parameter"),o=_t(n,"Third parameter"),i=function(e,t){j(e,t);const 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,s=null==e?void 0:e.transform,a=null==e?void 0:e.writableType;return{cancel:void 0===n?void 0:or(n,e,`${t} has member 'cancel' that`),flush:void 0===r?void 0:tr(r,e,`${t} has member 'flush' that`),readableType:o,start:void 0===i?void 0:nr(i,e,`${t} has member 'start' that`),transform:void 0===s?void 0:rr(s,e,`${t} has member 'transform' that`),writableType:a}}(e,"First parameter");if(void 0!==i.readableType)throw new RangeError("Invalid readableType specified");if(void 0!==i.writableType)throw new RangeError("Invalid writableType specified");const s=mt(o,0),a=gt(o),l=mt(r,1),c=gt(r);let u;!function(e,t,n,r,o,i){function s(){return t}function a(t){return function(e,t){const n=e._transformStreamController;return e._backpressure?v(e._backpressureChangePromise,()=>{const r=e._writable;if("erroring"===r._state)throw r._storedError;return mr(n,t)}):mr(n,t)}(e,t)}function l(t){return function(e,t){const n=e._transformStreamController;if(void 0!==n._finishPromise)return n._finishPromise;const r=e._readable;n._finishPromise=d((e,t)=>{n._finishPromise_resolve=e,n._finishPromise_reject=t});const o=n._cancelAlgorithm(t);return hr(n),m(o,()=>("errored"===r._state?vr(n,r._storedError):(En(r._readableStreamController,t),_r(n)),null),e=>(En(r._readableStreamController,e),vr(n,e),null)),n._finishPromise}(e,t)}function c(){return function(e){const t=e._transformStreamController;if(void 0!==t._finishPromise)return t._finishPromise;const n=e._readable;t._finishPromise=d((e,n)=>{t._finishPromise_resolve=e,t._finishPromise_reject=n});const r=t._flushAlgorithm();return hr(t),m(r,()=>("errored"===n._state?vr(t,n._storedError):(kn(n._readableStreamController),_r(t)),null),e=>(En(n._readableStreamController,e),vr(t,e),null)),t._finishPromise}(e)}function u(){return function(e){return ur(e,!1),e._backpressureChangePromise}(e)}function p(t){return function(e,t){const n=e._transformStreamController;if(void 0!==n._finishPromise)return n._finishPromise;const r=e._writable;n._finishPromise=d((e,t)=>{n._finishPromise_resolve=e,n._finishPromise_reject=t});const o=n._cancelAlgorithm(t);return hr(n),m(o,()=>("errored"===r._state?vr(n,r._storedError):(Yt(r._writableStreamController,t),cr(e),_r(n)),null),t=>(Yt(r._writableStreamController,t),cr(e),vr(n,t),null)),n._finishPromise}(e,t)}e._writable=function(e,t,n,r,o=1,i=()=>1){const s=Object.create(Et.prototype);return Ct(s),Wt(s,Object.create(Ht.prototype),e,t,n,r,o,i),s}(s,a,c,l,n,r),e._readable=$n(s,u,p,o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,ur(e,!0),e._transformStreamController=void 0}(this,d(e=>{u=e}),l,c,s,a),function(e,t){const n=Object.create(dr.prototype);let r,o,i;r=void 0!==t.transform?e=>t.transform(e,n):e=>{try{return fr(n,e),p(void 0)}catch(e){return h(e)}},o=void 0!==t.flush?()=>t.flush(n):()=>p(void 0),i=void 0!==t.cancel?e=>t.cancel(e):()=>p(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,n,r,o,i)}(this,i),void 0!==i.start?u(i.start(this._transformStreamController)):u(void 0)}get readable(){if(!sr(this))throw br("readable");return this._readable}get writable(){if(!sr(this))throw br("writable");return this._writable}}function sr(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")&&e instanceof ir}function ar(e,t){En(e._readable._readableStreamController,t),lr(e,t)}function lr(e,t){hr(e._transformStreamController),Yt(e._writable._writableStreamController,t),cr(e)}function cr(e){e._backpressure&&ur(e,!1)}function ur(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=d(t=>{e._backpressureChangePromise_resolve=t}),e._backpressure=t}Object.defineProperties(ir.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(ir.prototype,Symbol.toStringTag,{value:"TransformStream",configurable:!0});class dr{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!pr(this))throw gr("desiredSize");return In(this._controlledTransformStream._readable._readableStreamController)}enqueue(e=void 0){if(!pr(this))throw gr("enqueue");fr(this,e)}error(e=void 0){if(!pr(this))throw gr("error");var t;t=e,ar(this._controlledTransformStream,t)}terminate(){if(!pr(this))throw gr("terminate");!function(e){const t=e._controlledTransformStream;kn(t._readable._readableStreamController),lr(t,new TypeError("TransformStream terminated"))}(this)}}function pr(e){return!!r(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")&&e instanceof dr}function hr(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0,e._cancelAlgorithm=void 0}function fr(e,t){const n=e._controlledTransformStream,r=n._readable._readableStreamController;if(!Cn(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{Sn(r,t)}catch(e){throw lr(n,e),n._readable._storedError}const o=function(e){return!yn(e)}(r);o!==n._backpressure&&ur(n,!0)}function mr(e,t){return v(e._transformAlgorithm(t),void 0,t=>{throw ar(e._controlledTransformStream,t),t})}function gr(e){return new TypeError(`TransformStreamDefaultController.prototype.${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 vr(e,t){void 0!==e._finishPromise_reject&&(b(e._finishPromise),e._finishPromise_reject(t),e._finishPromise_resolve=void 0,e._finishPromise_reject=void 0)}function br(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}Object.defineProperties(dr.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),i(dr.prototype.enqueue,"enqueue"),i(dr.prototype.error,"error"),i(dr.prototype.terminate,"terminate"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(dr.prototype,Symbol.toStringTag,{value:"TransformStreamDefaultController",configurable:!0}),e.ByteLengthQueuingStrategy=Kn,e.CountQueuingStrategy=Jn,e.ReadableByteStreamController=Ae,e.ReadableStream=Dn,e.ReadableStreamBYOBReader=ut,e.ReadableStreamBYOBRequest=Te,e.ReadableStreamDefaultController=_n,e.ReadableStreamDefaultReader=Z,e.TransformStream=ir,e.TransformStreamDefaultController=dr,e.WritableStream=Et,e.WritableStreamDefaultController=Ht,e.WritableStreamDefaultWriter=$t}(t)},3774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0;var r=n(4001),o=n(4008),i=n(5779),s=n(9105);function a(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 l(e){let t,n,r="";const 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}class c{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||o.defaults,this.options.tokenizer=this.options.tokenizer||new r.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};const t={block:i.block.normal,inline:i.inline.normal};this.options.pedantic?(t.block=i.block.pedantic,t.inline=i.inline.pedantic):this.options.gfm&&(t.block=i.block.gfm,this.options.breaks?t.inline=i.inline.breaks:t.inline=i.inline.gfm),this.tokenizer.rules=t}static get rules(){return{block:i.block,inline:i.inline}}static lex(e,t){return new c(t).lex(e)}static lexInline(e,t){return new c(t).inlineTokens(e)}lex(e){let 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}blockTokens(e,t=[]){let n,r,o,i;for(this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(o=e,this.options.extensions&&this.options.extensions.startBlock){let t=Infinity;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach(function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<Infinity&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(o)))r=t[t.length-1],i&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),i=o.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t){this.inlineQueue.push({src:e,tokens:t})}inlineTokens(e,t=[]){let n,r,o,i,c,u,d=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(d));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,i.index)+"["+(0,s.repeatString)("a",i[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(d));)d=d.slice(0,i.index)+"["+(0,s.repeatString)("a",i[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(d));)d=d.slice(0,i.index)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(c||(u=""),c=!1,n=this.tokenizer.owo(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,d,u))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,l))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,l))){if(o=e,this.options.extensions&&this.options.extensions.startInline){let t=Infinity;const n=e.slice(1);let r;this.options.extensions.startInline.forEach(function(e){r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))}),t<Infinity&&t>=0&&(o=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(o,a))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(u=n.raw.slice(-1)),c=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}t.Lexer=c},2817:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var r=n(7565),o=n(1674),i=n(2123),s=n(4008),a=n(9105);class l{constructor(e){this.options=e||s.defaults,this.options.renderer=this.options.renderer||new r.Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new o.TextRenderer,this.slugger=new i.Slugger}static parse(e,t){return new l(t).parse(e)}static parseInline(e,t){return new l(t).parseInline(e)}parse(e,t=!0){let n,r,o,i,s,l,c,u,d,p,h,f,m,g,_,v,b,y,w,k="";const S=e.length;for(n=0;n<S;n++)if(p=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[p.type]&&(w=this.options.extensions.renderers[p.type].call({parser:this},p),!1!==w||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(p.type)))k+=w||"";else switch(p.type){case"space":continue;case"hr":k+=this.renderer.hr();continue;case"heading":k+=this.renderer.heading(this.parseInline(p.tokens),p.depth,(0,a.unescape)(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":k+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(u="",c="",i=p.header.length,r=0;r<i;r++)c+=this.renderer.tablecell(this.parseInline(p.header[r].tokens),{header:!0,align:p.align[r]});for(u+=this.renderer.tablerow(c),d="",i=p.rows.length,r=0;r<i;r++){for(l=p.rows[r],c="",s=l.length,o=0;o<s;o++)c+=this.renderer.tablecell(this.parseInline(l[o].tokens),{header:!1,align:p.align[o]});d+=this.renderer.tablerow(c)}k+=this.renderer.table(u,d);continue;case"blockquote":d=this.parse(p.tokens),k+=this.renderer.blockquote(d);continue;case"list":for(h=p.ordered,f=p.start,m=p.loose,i=p.items.length,d="",r=0;r<i;r++)_=p.items[r],v=_.checked,b=_.task,g="",_.task&&(y=this.renderer.checkbox(v),m?_.tokens.length>0&&"paragraph"===_.tokens[0].type?(_.tokens[0].text=y+" "+_.tokens[0].text,_.tokens[0].tokens&&_.tokens[0].tokens.length>0&&"text"===_.tokens[0].tokens[0].type&&(_.tokens[0].tokens[0].text=y+" "+_.tokens[0].tokens[0].text)):_.tokens.unshift({type:"text",text:y}):g+=y),g+=this.parse(_.tokens,m),d+=this.renderer.listitem(g,b,v);k+=this.renderer.list(d,h,f);continue;case"html":k+=this.renderer.html(p.text);continue;case"paragraph":k+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(d=p.tokens?this.parseInline(p.tokens):p.text;n+1<S&&"text"===e[n+1].type;)p=e[++n],d+="\n"+(p.tokens?this.parseInline(p.tokens):p.text);k+=t?this.renderer.paragraph(d):d;continue;default:{const e='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return k}parseInline(e,t){t=t||this.renderer;let n,r,o,i="";const s=e.length;for(n=0;n<s;n++)if(r=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(o=this.options.extensions.renderers[r.type].call({parser:this},r),!1!==o||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)))i+=o||"";else 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:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return i}}t.Parser=l},7565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var r=n(4008),o=n(9105);t.Renderer=class{constructor(e){this.options=e||r.defaults}owo(e){const t=this.options.odata;return t&&t[e]?'<img class="tk-owo-emotion" src="'+t[e]+'" alt=":'+e+':">':":"+e+":"}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+(0,o.escape)(r,!0)+'">'+(n?e:(0,o.escape)(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:(0,o.escape)(e,!0))+"</code></pre>\n"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(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"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=(0,o.cleanUrl)(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+(0,o.escape)(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=(0,o.cleanUrl)(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}}},2123:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slugger=void 0,t.Slugger=class{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}},1674:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderer=void 0,t.TextRenderer=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}},4001:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tokenizer=void 0;var r=n(4008),o=n(9105);function i(e,t,n,r){const i=t.href,s=t.title?(0,o.escape)(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:s,text:a,tokens:r.inlineTokens(a,[])};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:s,text:(0,o.escape)(a)}}t.Tokenizer=class{constructor(e){this.options=e||r.defaults}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:(0,o.rtrim)(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map(e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim():t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=(0,o.rtrim)(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}const n={type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(e,[]),text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,r,o,i,s,a,l,c,u,d,p,h,f=t[1].trim();const m=f.length>1,g={type:"list",raw:"",ordered:m,start:m?+f.slice(0,-1):"",loose:!1,items:[]};f=m?`\\d{1,9}\\${f.slice(-1)}`:`\\${f}`,this.options.pedantic&&(f=m?f:"[*+-]");const _=new RegExp(`^( {0,3}${f})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(h=!1,t=_.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0],u=e.split("\n",1)[0],this.options.pedantic?(i=2,p=c.trimLeft()):(i=t[2].search(/[^ ]/),i=i>4?1:i,p=c.slice(i),i+=t[1].length),a=!1,!c&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),h=!0),!h){const t=new RegExp(`^ {0,${Math.min(3,i-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&(d=e.split("\n",1)[0],c=d,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!t.test(c));){if(c.search(/[^ ]/)>=i||!c.trim())p+="\n"+c.slice(i);else{if(a)break;p+="\n"+c}a||c.trim()||(a=!0),n+=d+"\n",e=e.substring(d.length+1)}}g.loose||(l?g.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p),r&&(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();const v=g.items.length;for(s=0;s<v;s++){this.lexer.state.top=!1,g.items[s].tokens=this.lexer.blockTokens(g.items[s].text,[]);const e=g.items[s].tokens.filter(e=>"space"===e.type),t=e.every(e=>{const t=e.raw.split("");let n=0;for(const r of t)if("\n"===r&&(n+=1),n>1)return!0;return!1});!g.loose&&e.length&&t&&(g.loose=!0,g.items[s].loose=!0)}return g}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={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&&(e.type="paragraph",e.text=this.options.sanitizer?this.options.sanitizer(t[0]):(0,o.escape)(t[0]),e.tokens=[],this.lexer.inline(e.text,e.tokens)),e}}def(e){const 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]}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:(0,o.splitCells)(t[1]).map(e=>({text:e})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r,i,s,a=e.align.length;for(n=0;n<a;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(a=e.rows.length,n=0;n<a;n++)e.rows[n]=(0,o.splitCells)(e.rows[n],e.header.length).map(e=>({text:e}));for(a=e.header.length,r=0;r<a;r++)e.header[r].tokens=[],this.lexer.inlineTokens(e.header[r].text,e.header[r].tokens);for(a=e.rows.length,r=0;r<a;r++)for(s=e.rows[r],i=0;i<s.length;i++)s[i].tokens=[],this.lexer.inlineTokens(s[i].text,s[i].tokens);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t){const e={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e={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(e.text,e.tokens),e}}text(e){const t=this.rules.block.text.exec(e);if(t){const e={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(e.text,e.tokens),e}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:(0,o.escape)(t[1])}}tag(e){const 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,o.escape)(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=(0,o.rtrim)(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=(0,o.findClosingBracket)(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),i(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return i(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;const o=r[1]||r[2]||"";if(!o||o&&(""===n||this.rules.inline.punctuation.exec(n))){const n=r[0].length-1;let o,i,s=n,a=0;const l="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!o)continue;if(i=o.length,r[3]||r[4]){s+=i;continue}if((r[5]||r[6])&&n%3&&!((n+i)%3)){a+=i;continue}if(s-=i,s>0)continue;if(i=Math.min(i,i+s+a),Math.min(n,i)%2){const t=e.slice(1,n+r.index+i);return{type:"em",raw:e.slice(0,n+r.index+i+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}const t=e.slice(2,n+r.index+i-1);return{type:"strong",raw:e.slice(0,n+r.index+i+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=(0,o.escape)(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}owo(e){const t=this.rules.inline.owo.exec(e);if(t&&t[0].length>1)return{type:"owo",raw:t[0],text:t[1]}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=(0,o.escape)(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=(0,o.escape)(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=(0,o.escape)(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=(0,o.escape)(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):(0,o.escape)(n[0]):n[0]:(0,o.escape)(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text: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=r=e},t.defaults=void 0,t.getDefaults=n;let r=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){let e;try{e=decodeURIComponent(c(n)).replace(d,"").toLowerCase()}catch(r){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!p.test(n)&&(n=_(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n},t.edit=function(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(u,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n},t.escape=function(e,t){if(t){if(n.test(e))return e.replace(r,a)}else if(o.test(e))return e.replace(i,a);return e},t.findClosingBracket=function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,o=0;for(;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])r++;else if(e[o]===t[1]&&(r--,r<0))return o;return-1},t.merge=function(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)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"";let n="";for(;t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e},t.resolveUrl=_,t.rtrim=v,t.splitCells=function(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,o=t;for(;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"}).split(/ \|/);let 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;const n=/[&<>"']/,r=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},a=e=>s[e],l=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function c(e){return e.replace(l,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const u=/(^|[^\[])\^/g,d=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,h={},f=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,g=/^([^:]+:\/*[^/]*)[\s\S]*$/;function _(e,t){h[" "+e]||(f.test(e)?h[" "+e]=e+"/":h[" "+e]=v(e,"/",!0));const n=-1===(e=h[" "+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 v(e,t,n){const r=e.length;if(0===r)return"";let o=0;for(;o<r;){const 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 s.Renderer}}),Object.defineProperty(t,"Slugger",{enumerable:!0,get:function(){return l.Slugger}}),Object.defineProperty(t,"TextRenderer",{enumerable:!0,get:function(){return a.TextRenderer}}),Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return i.Tokenizer}}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return u.defaults}}),Object.defineProperty(t,"getDefaults",{enumerable:!0,get:function(){return u.getDefaults}}),t.lexer=void 0,t.marked=d,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),s=n(7565),a=n(1674),l=n(2123),c=n(9105),u=n(4008);function d(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)({},d.defaults,t||{}),(0,c.checkSanitizeDeprecation)(t),n){const s=t.highlight;let a;try{a=r.Lexer.lex(e,t)}catch(i){return n(i)}const l=function(e){let r;if(!e)try{t.walkTokens&&d.walkTokens(a,t.walkTokens),r=o.Parser.parse(a,t)}catch(i){e=i}return t.highlight=s,e?n(e):n(null,r)};if(!s||s.length<3)return l();if(delete t.highlight,!a.length)return l();let c=0;return d.walkTokens(a,function(e){"code"===e.type&&(c++,setTimeout(()=>{s(e.text,e.lang,function(t,n){if(t)return l(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),c--,0===c&&l()})},0))}),void(0===c&&l())}try{const n=r.Lexer.lex(e,t);return t.walkTokens&&d.walkTokens(n,t.walkTokens),o.Parser.parse(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}}d.options=d.setOptions=function(e){return(0,c.merge)(d.defaults,e),(0,u.changeDefaults)(d.defaults),d},d.getDefaults=u.getDefaults,d.defaults=u.defaults,d.use=function(...e){const t=(0,c.merge)({},...e),n=d.defaults.extensions||{renderers:{},childTokens:{}};let r;e.forEach(e=>{if(e.extensions&&(r=!0,e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const t=n.renderers?n.renderers[e.name]:null;n.renderers[e.name]=t?function(...n){let r=e.renderer.apply(this,n);return!1===r&&(r=t.apply(this,n)),r}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");n[e.level]?n[e.level].unshift(e.tokenizer):n[e.level]=[e.tokenizer],e.start&&("block"===e.level?n.startBlock?n.startBlock.push(e.start):n.startBlock=[e.start]:"inline"===e.level&&(n.startInline?n.startInline.push(e.start):n.startInline=[e.start]))}e.childTokens&&(n.childTokens[e.name]=e.childTokens)})),e.renderer){const n=d.defaults.renderer||new s.Renderer;for(const t in e.renderer){const r=n[t];n[t]=(...o)=>{let i=e.renderer[t].apply(n,o);return!1===i&&(i=r.apply(n,o)),i}}t.renderer=n}if(e.tokenizer){const n=d.defaults.tokenizer||new i.Tokenizer;for(const t in e.tokenizer){const r=n[t];n[t]=(...o)=>{let i=e.tokenizer[t].apply(n,o);return!1===i&&(i=r.apply(n,o)),i}}t.tokenizer=n}if(e.walkTokens){const n=d.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens.call(this,t),n&&n.call(this,t)}}r&&(t.extensions=n),d.setOptions(t)})},d.walkTokens=function(e,t){for(const n of e)switch(t.call(d,n),n.type){case"table":for(const e of n.header)d.walkTokens(e.tokens,t);for(const e of n.rows)for(const n of e)d.walkTokens(n.tokens,t);break;case"list":d.walkTokens(n.items,t);break;default:d.defaults.extensions&&d.defaults.extensions.childTokens&&d.defaults.extensions.childTokens[n.type]?d.defaults.extensions.childTokens[n.type].forEach(function(e){d.walkTokens(n[e],t)}):n.tokens&&d.walkTokens(n.tokens,t)}},d.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)({},d.defaults,t||{}),(0,c.checkSanitizeDeprecation)(t);try{const n=r.Lexer.lexInline(e,t);return t.walkTokens&&d.walkTokens(n,t.walkTokens),o.Parser.parseInline(n,t)}catch(n){if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+(0,c.escape)(n.message+"",!0)+"</pre>";throw n}},d.Parser=o.Parser,d.parser=o.Parser.parse,d.Renderer=s.Renderer,d.TextRenderer=a.TextRenderer,d.Lexer=r.Lexer,d.lexer=r.Lexer.lex,d.Tokenizer=i.Tokenizer,d.Slugger=l.Slugger,d.parse=d,t.options=d.options,t.setOptions=d.setOptions,t.use=d.use,t.walkTokens=d.walkTokens,t.parseInline=d.parseInline,t.parse=d,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);const 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()});const 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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0,t["default"]=class{constructor(e){const t={logo:"OwO表情",container:document.getElementsByClassName("OwO")[0],target:document.getElementsByTagName("textarea")[0],position:"down",maxHeight:"250px",odata:{}};for(const n in t)t[n]&&!e[n]&&(e[n]=t[n]);this.container=e.container,this.target=e.target,"up"===e.position&&this.container.classList.add("OwO-up"),this.odata=e.odata,setTimeout(()=>{this.init(e)})}init(e){this.area=e.target,this.packages=Object.keys(this.odata);let t=`<div class="OwO-logo">${e.logo}</div><div class="OwO-body">`;for(let n=0;n<this.packages.length;n++){t+=`<ul class="OwO-items OwO-items-${this.odata[this.packages[n]].type}" style="max-height: ${parseInt(e.maxHeight)-53+"px"};">`;const r=this.odata[this.packages[n]].container;for(let e=0;e<r.length;e++){const n=r[e].icon.replace("<img",'<img loading="lazy"');t+=`<li class="OwO-item" title="${r[e].text}">${n}</li>`}t+="</ul>"}t+='<div class="OwO-bar"><ul class="OwO-packages">';for(let n=0;n<this.packages.length;n++)t+=`<li><span>${this.packages[n]}</span></li>`;t+="</ul></div></div>",this.container.innerHTML=t,this.logo=this.container.getElementsByClassName("OwO-logo")[0],this.logo.addEventListener("click",()=>{this.toggle()}),this.container.getElementsByClassName("OwO-body")[0].addEventListener("click",e=>{let t=null;if(e.target.classList.contains("OwO-item")?t=e.target:e.target.parentNode.classList.contains("OwO-item")&&(t=e.target.parentNode),t){const e=this.area.selectionEnd,n=this.area.value;let r=t.innerHTML;if(-1!==r.indexOf("<img"))if(t.title)r=":"+t.title+": ";else{const e=r.indexOf('src="')+5,n=r.indexOf('"',e);-1!==e&&-1!==n&&(r=`![${t.title||""}](${r.substring(e,n)})`)}this.area.value=n.slice(0,e)+r+n.slice(e),this.area.dispatchEvent(new InputEvent("input")),this.area.focus(),this.toggle()}}),this.packagesEle=this.container.getElementsByClassName("OwO-packages")[0];for(let n=0;n<this.packagesEle.children.length;n++)(e=>{this.packagesEle.children[n].addEventListener("click",()=>{this.tab(e)})})(n);this.tab(0)}toggle(){this.container.classList.contains("OwO-open")?this.container.classList.remove("OwO-open"):this.container.classList.add("OwO-open")}tab(e){const 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");const 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")}}},585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUrl=t.call=void 0;var r=n(1085);const o=e=>/^http(s)?:\/\//.test(e);t.isUrl=o,t.call=async(e,t,n={})=>{const i=e||(r.app?r.app.$tcb:null),s=n.envId||r.app.$twikoo.envId,a=n.funcName||r.app?.$twikoo.funcName||"twikoo";if(!i){if(o(s))return await new Promise((e,r)=>{try{const o=localStorage.getItem("twikoo-access-token"),i=new XMLHttpRequest;i.onreadystatechange=()=>{if(4===i.readyState)if(200===i.status){const t=JSON.parse(i.responseText);t.accessToken&&localStorage.setItem("twikoo-access-token",t.accessToken),e({result:t})}else r(i.status)},i.open("POST",s),i.setRequestHeader("Content-Type","application/json"),i.send(JSON.stringify({event:t,accessToken:o,...n,envId:s}))}catch(o){r(o)}});throw new Error("缺少 envId 配置 - https://twikoo.js.org")}try{return await i.app.callFunction({name:a,data:{event:t,...n}})}catch(l){let e;switch(t){case"COMMENT_LIKE":e="comment-like";break;case"COMMENT_GET":e="comment-get";break;case"COMMENT_SUBMIT":e="comment-submit";break;case"COUNTER_GET":e="counter-get"}if(e)return await i.app.callFunction({name:e,data:n});throw new Error("请升级 Twikoo 云函数版本再试,如果仍无法解决,请删除并重新创建 Twikoo 云函数 - https://twikoo.js.org")}}},7080:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQQAvatar=function(e){return`https://thirdqq.qlogo.cn/g?b=sdk&nk=${e.replace(/@qq.com/gi,"")}&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";Object.defineProperty(t,"__esModule",{value:!0}),t.initMarkedOwo=function(e){if(e&&Object.values(e)){const t={};return Object.values(e).forEach(e=>{e.container.forEach(e=>{const n=i(e.icon);n&&(t[e.text]=n)})}),t}},t.initOwoEmotions=async function(e){const t={},n=await Promise.all(e.split(",").map(e=>function(e){return new Promise(t=>{const n=new XMLHttpRequest;n.onreadystatechange=()=>{if(4===n.readyState)if(n.status>=200&&n.status<300||304===n.status){const e=function(e){try{return Object.values(e).forEach(e=>{if("image"===e.type)for(const t of e.container)t.text||(t.text=s(i(t.icon)))}),e}catch(t){r.logger.warn("OwO data is bad: ",t)}}(JSON.parse(n.responseText));t(e)}else r.logger.warn("OwO data request was unsuccessful: "+n.status)},n.open("get",e,!0),n.send(null)})}(e.trim())));return Object.assign(t,...n),t};var r=n(8129);const o=document.createElement("template");function i(e){try{return o.innerHTML=e,o.content.childNodes[0].src}catch(t){return""}}function s(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=n(1085);let o,i;const s=(e,t)=>{const n=document.getElementById("twikoo");i&&n.contains(i)||!e||"none"===e||(i=document.createElement("link"),i.href="default"===e?`${t}/themes/prism.min.css`:`${t}/themes/prism-${e}.min.css`,i.rel="stylesheet",i.type="text/css",n.appendChild(i))};t["default"]=(e,t,i)=>{const a=r.app&&r.app.$twikoo.prismCdn?r.app.$twikoo.prismCdn:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0";window.Prism=window.Prism||{},window.Prism.manual=!0,o||(o=n(1965),n(210),o.plugins.autoloader.languages_path=`${a}/components/`,i&&(n(8072),i.split(",").map(e=>e.trim()).forEach(e=>{"showLanguage"===e?n(4296):"copyButton"===e&&n(5472)}))),s(t,a),o.highlightAllUnder(e)}},7564:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;const n="ADMIN_COMMENT",r="ADMIN_CONFIG_CATEGORY",o="ADMIN_CONFIG_ITEM",i="ADMIN_IMPORT",s=["qmsg","serverchan","pushplus","pushplushxtrip","dingtalk","wecom","bark","gocqhttp","atri","pushdeer","igot","telegram","feishu"].map(e=>`"${e}"`),a=["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(e=>`"${e}"`),l=["default","coy","dark","funky","okaidia","solarizedlight","tomorrow","twilight"].map(e=>`"${e}"`),c=["showLanguage","copyButton"].map(e=>`"${e}"`),u=["qcloud","7bu (https://7bu.top)","see (https://s.ee)","lskypro","piclist","easyimage","chevereto","S3 / R2 / MinIO"].map(e=>`"${e}"`),d=["lskypro","piclist","easyimage","s3"].map(e=>`"${e}"`),p=["404","mp","identicon","monsterid","wavatar","retro","robohash","blank"].map(e=>`"${e}"`);t["default"]={ADMIN_CLIENT_VERSION:["前端版本:","前端版本:","前端版本:","Client version: ","Клиент версияси: ","クライアントバージョン:","클라이언트 버전: ","Phiên bản client: ","Versi klien: "],ADMIN_SERVER_VERSION:["云函数版本:","云函數版本:","雲端函式版本:","Server version: ","Сервернинг версияси: ","サーバーサイドバージョン: ","서버 버전: ","Phiên bản cloud function: ","Versi server: "],[n]:["评论管理","評論管理","留言管理","Comment","Изоҳ","コメント管理","댓글 관리","Quản lý bình luận","Manajemen Komentar"],[n+"_DELETE"]:["删除","刪除","移除","Delete","Ўчирмоқ","削除","삭제","Xóa","Hapus"],[n+"_DELETE_CONFIRM"]:["确认删除?","確認刪除?","確認移除?","Confirm deletion?","Ўчириш тасдиқлансинми?","本当に削除しますか?","정말 삭제하시겠습니까?","Xác nhận xóa?","Konfirmasi hapus?"],[n+"_FILTER_ALL"]:["全部","全部","全部","All","Ҳаммаси","全部","전체","Tất cả","Semua"],[n+"_FILTER_VISIBLE"]:["只看可见","只看可見","只看可見","Visible","Кўринадиган","表示中のみ","표시 댓글","Chỉ hiển thị","Hanya Terlihat"],[n+"_FILTER_HIDDEN"]:["只看隐藏","只看隱藏","只看隱藏","Hidden","Яширилган","非表示中のみ","숨김 댓글","Chỉ ẩn","Hanya Tersembunyi"],[n+"_HIDE"]:["隐藏","隱藏","隱藏","Hide","Яширмоқ","非表示","숨기기","Ẩn","Sembunyikan"],[n+"_IS_SPAM_SUFFIX"]:[" (已隐藏)"," (已隱藏)"," (已隱藏)"," (Hidden)"," (Яширилган)"," (非表示)"," (숨김 처리됨)"," (Đã ẩn)"," (Tersembunyi)"],[n+"_SEARCH"]:["搜索","搜索","搜尋","Search","Излаш","検索","검색","Tìm kiếm","Cari"],[n+"_SEARCH_PLACEHOLDER"]:["搜索昵称、邮箱、网址、IP、评论正文、文章地址","搜索暱稱、郵箱、網址、IP、評論正文、文章地址","搜索暱稱、郵件、網址、IP、留言正文、文章路徑","Search by nick, mail, website, IP, comment, or article path","Тахаллус, почта, веб-сайт, ИП, шарҳ ёки мақола йўли бўйича излаш","名前、メールアドレス、ウェブサイトURL、IPアドレス、コメント内容、記事のURLを検索","닉네임, 이메일, 웹사이트, IP, 댓글 내용, 게시글 주소로 검색","Tìm theo tên, email, website, IP, nội dung bình luận hoặc đường dẫn bài viết","Cari berdasarkan nama, email, situs web, IP, isi komentar, atau alamat artikel"],[n+"_SHOW"]:["显示","顯示","顯示","Show","Кўрсатиш","表示","표시","Hiển thị","Tampilkan"],[n+"_TOP"]:["置顶","置頂","置頂","Pin","Қадамоқ","固定する","고정","Ghim lên đầu","Sematkan"],[n+"_UNTOP"]:["取消置顶","取消置頂","取消置頂","Unpin","Қадоқни ечмоқ","固定を解除","고정 해제","Bỏ ghim","Lepas Sematan"],[n+"_VIEW"]:["查看","查看","檢視","View","Кўриниш","閲覧","보기","Xem","Lihat"],[n+"_SECURITY_ALERT"]:["评论链接与本站不同!出于安全考虑,请手动复制以下网址访问:","評論連結與本站不同!出於安全考慮,請手動複製以下網址訪問:","留言連結與本站不同!出於安全考慮,請手動複製以下網址訪問:","The comment link is different from this site! For security reasons, please manually copy the following URL to visit:","Шарҳ ҳаволаси бу сайтдан фарқ қилади! Хавфсизлик сабабларига кўра, илтимос, қуйидаги URL манзилни қўлда нусха олинг:","コメントリンクがこのサイトと異なります!セキュリティ上の理由から、以下のURLを手動でコピーしてアクセスしてください:","댓글 링크가 이 사이트와 다릅니다! 보안상의 이유로, 다음 URL을 수동으로 복사하여 방문하세요:","Liên kết bình luận khác với trang này! Vì lý do bảo mật, hãy sao chép thủ công URL sau để truy cập:","Tautan komentar berbeda dengan situs ini! Demi keamanan, silakan salin manual URL berikut untuk mengunjunginya:"],[n+"_PARSE_ERROR"]:["无法解析评论链接,请仔细检查链接后手动复制以下网址访问:","無法解析評論連結,請仔細檢查連結後手動複製以下網址訪問:","無法解析留言連結,請仔細檢查連結後手動複製以下網址訪問:","Unable to parse comment link. Please check and manually copy the following URL:","Шарҳ ҳаволасини таҳлил қилиб бўлмади. Илтимос, қуйидаги манзилни текширинг ва қўлда нусха олинг:","コメントリンクを解析できません。以下のURLを確認して手動でコピーしてください:","댓글 링크를 파싱할 수 없습니다. 다음 주소를 확인하고 수동으로 복사하세요:","Không thể phân tích liên kết bình luận. Hãy kiểm tra và sao chép thủ công URL sau:","Tidak dapat mengurai tautan komentar. Silakan periksa dan salin manual URL berikut:"],ADMIN_CONFIG:["配置管理","配置管理","設定值管理","Configuration","Конфигурация","設定管理","환경설정","Quản lý cấu hình","Manajemen Konfigurasi"],[r+"_COMMON"]:["通用","通用","一般","General","Умумий","一般","일반","Chung","Umum"],[r+"_IM"]:["即时通知","即時通知","即時通知","Instant notification","Тезкор хабарнома","即時通知","실시간 알림","Thông báo tức thì","Notifikasi Instan"],[r+"_MAIL"]:["邮件通知","郵件通知","郵件通知","Email notification","Электрон почта хабарномаси","メール通知","이메일 알림","Thông báo email","Notifikasi Email"],[r+"_PLUGIN"]:["插件","插件","擴充功能","Plugin","Плагин","プラグイン","플러그인","Plugin","Plugin"],[r+"_PRIVACY"]:["隐私","隱私","隱私權","Privacy","Шахсий қоидалар","プライバシー","개인정보","Quyền riêng tư","Privasi"],[r+"_SPAM"]:["反垃圾","反垃圾","防垃圾","Spam","Спам","スパム対策","스팸 관리","Chống spam","Anti-spam"],[r+"_CAPTCHA"]:["人机验证","人機驗證","人機驗證","CAPTCHA","CAPTCHA","CAPTCHA","CAPTCHA","CAPTCHA","CAPTCHA"],ADMIN_CONFIG_IMAGE_CDN_NONE:["无(不启用图片上传)","無(不啟用圖片上傳)","無(不啟用圖片上傳)","None (disable image upload)","Йўқ (расм юклашни ўчириш)","なし(画像アップロードを無効にする)","없음 (이미지 업로드 비활성화)","Không (tắt tải ảnh)","Tidak Ada (nonaktifkan unggahan gambar)"],ADMIN_CONFIG_CAPTCHA_NONE:["无","無","無","None","Йўқ","なし","없음","Không","Tidak Ada"],ADMIN_CONFIG_CAPTCHA_TURNSTILE:["Cloudflare 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","GeeTest"],ADMIN_CONFIG_CAPTCHA_CAP:["Cap","Cap","Cap","Cap","Cap","Cap","Cap","Cap"],ADMIN_CONFIG_EMAIL_TEST:["邮件通知测试","郵件通知測試","郵件通知測試","Email notification test","Электрон почта хабарномаси тести","メール通知テスト","이메일 알림 테스트","Kiểm tra thông báo email","Tes notifikasi email"],ADMIN_CONFIG_EMAIL_TEST_BTN:["发送测试邮件","發送測試郵件","發送測試郵件","Send test mail","Синов хатини юбориш","テストメールを送信","테스트 메일 발송","Gửi email thử","Kirim email tes"],ADMIN_CONFIG_EMAIL_TEST_HELP:["输入一个邮箱地址,发送测试邮件","輸入一個郵箱位址,發送測試郵件","輸入一個郵箱帳號,發送測試郵件","Input an email address & send test mail","Э-почта манзилини киритинг ва синов хатини юборинг","メールアドレスを入力してテストメールを送信","이메일 주소를 입력하고 테스트 메일을 발송하세요","Nhập địa chỉ email và gửi email thử","Masukkan alamat email dan kirim email tes"],ADMIN_CONFIG_EMAIL_TEST_RESULT:["测试结果:","測試結果:","測試結果:","Test result: ","Тест натижаси: ","テスト結果:","테스트 결과: ","Kết quả kiểm tra: ","Hasil tes: "],ADMIN_CONFIG_EXAMPLE:["示例:","示例:","範例:","Example: ","Намуна: ","例:","예시: ","Ví dụ: ","Contoh: "],[o+"_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','Bảo vệ spam Akismet. Đặt thành "MANUAL_REVIEW" để bật kiểm duyệt thủ công. Để trống nếu không dùng chống spam. Đăng ký: https://akismet.com','Perlindungan spam Akismet. Atur ke "MANUAL_REVIEW" untuk mengaktifkan peninjauan manual. Biarkan kosong jika tidak menggunakan anti-spam. Daftar Akismet: https://akismet.com'],[o+"_BLOGGER_NICK"]:["博主的昵称。","博主的昵稱。","站長的暱稱。","Admin nick name.","Админ исми.","管理者の名前。","관리자 닉네임.","Tên hiển thị của quản trị viên.","Nama panggilan admin."],[o+"_BLOGGER_EMAIL"]:["博主的邮箱地址,用于邮件通知、博主标识。","博主的郵箱地址,用於郵件通知、博主標識。","站長的郵箱帳號,用於郵件通知、站長認證。","Admin Email address. Used for Email notification and admin identification.","Админ электрон почта манзили. Электрон почта хабарномаси ва администратор идентификацияси учун фойдаланилади.","管理者のメールアドレス。メール通知と管理者の識別に使用されます。","관리자 이메일 주소. 이메일 알림 및 관리자 식별에 사용됩니다.","Địa chỉ email quản trị viên. Dùng cho thông báo email và nhận diện admin.","Alamat email admin. Digunakan untuk notifikasi email dan identifikasi admin."],[o+"_COMMENT_BG_IMG"]:["评论框自定义背景图片 URL 地址。","評論框自定義背景圖片 URL 地址。","留言區塊自訂背景圖片 URL 網址。","URL for custom background image.","Махсус фон расми учун УРЛ.","コメントボックスのカスタム背景画像のURL。","댓글창 배경 이미지 URL 주소.","URL ảnh nền tùy chỉnh cho khung bình luận.","URL untuk gambar latar belakang kustom."],[o+"_COMMENT_PAGE_SIZE"]:["评论列表分页大小,默认为 8。","評論列表分頁大小,預設為 8。","留言列表分頁大小,預設為 8。","Comment page size. Default: 8.","Изоҳ саҳифаси ўлчами. Стандарт: 8.","コメントリストのページサイズ。デフォルトは8。","한 페이지당 표시 댓글 수. 기본값: 8.","Số bình luận mỗi trang. Mặc định: 8.","Jumlah komentar per halaman. Bawaan: 8."],[o+"_COMMENT_PLACEHOLDER"]:["评论框提示信息,可用<br>换行,默认为空","評論框提示信息,可用<br>換行,預設為空","留言區塊提示資訊,可用<br>換行,預設空白","Comment placeholder. Use <br> to start a newline. Default: empty.","Изоҳ тўлдирувчиси. Янги қаторни бошлаш учун <бр> дан фойдаланинг. Стандарт: бўш.","コメントボックスのヒントメッセージ。<br>で改行。デフォルトは空。","댓글 입력창에 표시될 기본 문구. <br> 태그로 줄바꿈 가능. 기본값: 비어 있음.","Văn bản gợi ý trong khung bình luận. Dùng <br> để xuống dòng. Mặc định: trống.","Placeholder komentar. Gunakan <br> untuk baris baru. Bawaan: kosong."],[o+"_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; 여러 주소는 쉼표(,)로 구분.","Tên miền cho phép CORS. Lưu ý: cấu hình sai có thể gây lỗi tải. Mặc định: trống. Định dạng: https://blog.example.com; Nhiều tên miền dùng dấu phẩy.","Asal izin CORS, catatan: pengaturan yang salah dapat menyebabkan kegagalan memuat. Bawaan: kosong, format: https://blog.example.com; Jika perlu menambahkan beberapa nama domain, pisahkan dengan koma."],[o+"_DEFAULT_GRAVATAR"]:[`默认的头像显示。默认值(留空)为 "initials",可选:${p.join("、")}`,`預設的頭像顯示。預設值(留空)為 "initials",可選:${p.join("、")}`,`預設的大頭貼照圖示。預設值(留空)為 "initials",選項:${p.join("、")}`,`Avatar placeholder. Default (when empty): "initials". Choose from: ${p.join(", ")}`,`Аватар тўлдирувчиси. Стандарт (агар бўш қолдирилса): «идентификатор». Қуйидагилардан танланг: ${p.join(", ")}`,`デフォルトのプロフィール画像表示。デフォルト(空欄時)は "initials" で、選択肢は:${p.join("、")} です`,`프로필 기본 이미지. 기본값(비워둘 경우): "initials". 사용 가능 스타일: ${p.join(", ")}`,`Ảnh đại diện mặc định. Mặc định (để trống): "initials". : ${p.join(", ")}`,`Tampilan avatar default. Bawaan (bila kosong): "initials". Pilih dari: ${p.join(", ")}`],[o+"_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","CDN emoji, cách nhau bởi dấu phẩy. Mặc định: https://owo.imaegoo.com/owo.json","CDN Emoji, pisahkan dengan koma. Bawaan: https://owo.imaegoo.com/owo.json"],[o+"_FORBIDDEN_WORDS"]:["违禁词配置,包含违禁词的内容会直接标记为垃圾评论。英文逗号分隔。","違禁詞配置,包含違禁詞的內容會直接標記為垃圾評論。英文逗號分隔。","禁用詞語設定,包含禁用詞語的內容會直接標記為垃圾留言。使用英文逗號分隔。","Configure prohibited words. Comments containing prohibited words will be auto spammed. Separate by comma.","Тақиқланган сўзларни созланг. Тақиқланган сўзларни ўз ичига олган шарҳлар автоматик равишда спамга юборилади. Вергул билан ажратинг.","禁止ワード設定。禁止ワードを含むコンテンツは直ちにスパムコメントとしてマークされます。コンマで区切ってください。","금지어 설정. 금지어 포함 댓글은 스팸으로 숨김 처리 됩니다. 쉼표로 구분.","Cấu hình từ bị cấm. Bình luận chứa từ bị cấm sẽ bị đánh dấu spam. Cách nhau bởi dấu phẩy.","Konfigurasi kata terlarang. Komentar yang mengandung kata terlarang akan otomatis ditandai spam. Pisahkan dengan koma."],[o+"_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.","ブロックワード設定。ブロックワードを含むコンテンツは送信に失敗します。コンマで区切ってください。","차단어 설정. 차단어 포함 댓글은 등록에 실패합니다. 쉼표로 구분.","Cấu hình từ bị chặn. Bình luận chứa từ bị chặn sẽ không được gửi. Cách nhau bởi dấu phẩy.","Konfigurasi kata diblokir. Komentar yang mengandung kata diblokir akan gagal dikirim. Pisahkan dengan koma."],[o+"_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.","CDN ảnh đại diện tùy chỉnh. (Ví dụ: gravatar.com) Mặc định: weavatar.com.","Alamat CDN avatar kustom. Contoh: cn.gravatar.com, weavatar.com, cravatar.cn, sdn.geekzu.org, gravatar.loli.net, bawaan: weavatar.com."],[o+"_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.","Бошқарув панелига киришни яшириш учун шифрни ўрнатинг, фақат тахаллус майдонига худди шу шифр киритилганда бошқарув панелидаги ёзув кўрсатилади. Бошқарув киришини яширмаслик учун уни бўш қолдиринг.",'管理パネルのログイン画面を非表示にする。 "パスワード" を設定でき、 "名前" フィールドに同じ "パスワード" を入力した場合のみ、管理パネルのログイン画面が表示されます。空白の場合、管理パネルのログイン画面は非表示にされません。',"환경설정 버튼을 숨깁니다. 암호를 설정하여, 닉네임 입력란에 동일한 암호를 입력해야만 환경설정 버튼이 표시됩니다. 비워두면 버튼을 숨기지 않습니다.",'Đặt mật khẩu bí mật để ẩn nút vào trang quản trị. Chỉ khi nhập đúng mật khẩu vào ô "Tên" mới hiện nút. Để trống để không ẩn.',"Sembunyikan tombol panel manajemen. Atur kata sandi, hanya ketika kata sandi yang sama dimasukkan di kolom nama, tombol akan muncul. Kosongkan untuk tidak menyembunyikan."],[o+"_QQ_API_KEY"]:["QQ昵称API密钥,用于获取QQ昵称。前往 https://api.tqq.me/dashboard/api-keys 获取","QQ暱稱API密鑰,用於獲取QQ暱稱。前往 https://api.tqq.me/dashboard/api-keys 獲取","QQ暱稱API密鑰,用於獲取QQ暱稱。前往 https://api.tqq.me/dashboard/api-keys 獲取","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.tqq.me/dashboard/api-keys dan oling","QQニックネームAPIキー。QQニックネームの取得に使用します。https://api.tqq.me/dashboard/api-keys で取得","QQ 닉네임 API 키. https://api.tqq.me/dashboard/api-keys 에서 발급","API key lấy biệt danh QQ. Lấy tại https://api.tqq.me/dashboard/api-keys","Kunci API nama panggilan QQ. Dapatkan dari https://api.tqq.me/dashboard/api-keys"],[o+"_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.","Bật tô sáng code. Nếu theme xung đột, đặt thành false. Mặc định: true.","Aktifkan penyorotan kode. Jika tema Anda bertentangan dengan penyorotan kode, atur ke false. Bawaan: true."],[o+"_HIGHLIGHT_THEME"]:[`代码高亮主题,可选:${l.join("、")},访问 https://prismjs.com 可预览主题效果。如果您的主题和代码高亮有冲突,请设为 none。默认:none`,`代碼高亮主題,可選:${l.join("、")},訪問 https://prismjs.com 可預覽主題效果。如果您的主題和代碼高亮有衝突,請設為 none。預設:none`,`程式碼醒目顯示主題,選項:${l.join("、")},瀏覽 https://prismjs.com 可預覽主題效果。如果您的主題和此功能發生衝突,請設定為 none。預設:none`,`Code highlighting theme. Select from: ${l.join(", ")}. Visit https://prismjs.com for preview. If your theme conflicts with code highlighting, please set it to none. Default: none.`,`Кодни таъкидлаш мавзуси. Қуйидагилардан танланг: ${l.join(", ")}. Олдиндан кўриш учун https://prismjs.com сайтига ташриф буюринг. Агар мавзуингиз кодни ажратиб кўрсатишга зид бўлса, уни «Ҳеч» га ўрнатинг. Стандарт: йўқ.`,`コードハイライトのテーマ。選択肢:${l.join("、")}、テーマの効果をプレビューするには https://prismjs.com を訪問してください。テーマとコードハイライトに競合がある場合、noneに設定してください。デフォルト:none`,`코드 하이라이팅 테마. 사용 가능 테마: ${l.join(", ")}. https://prismjs.com 에서 미리보기를 확인하세요. 테마와 코드 하이라이팅이 충돌하면 none으로 설정하세요. 기본값: none.`,`Theme tô sáng code. Truy cập ${l.join(", ")}. https://prismjs.com để xem trước. Mặc định: none.`,`Tema penyorotan kode. Pilih dari: ${l.join(", ")}. Kunjungi https://prismjs.com untuk pratinjau. Jika tema Anda bertentangan dengan penyorotan kode, atur ke none. Bawaan: none.`],[o+"_HIGHLIGHT_PLUGIN"]:[`代码高亮插件,可选:${c.join("、")},分别表示:展示代码语言、展示代码拷贝按钮。可以同时设置多个选项,如果想要不添加任何代码高亮插件,请设为 none。默认:none。`,`代碼高亮插件,可選:${c.join("、")},分別表示:展示代碼語言、展示代碼拷貝按鈕。可以同時設置多個選項,如果想要不添加任何代碼高亮插件,請設為 none。預設:none。`,`代碼高亮外掛程式,可選:${c.join("、")},分別表示:展示代碼語言、展示代碼拷貝按鈕。 可以同時設置多個選項,如果想要不添加任何代碼高亮外掛程式,請設定為 none。預設:none。`,`Code highlight plug-in, optional: ${c.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. `,`Плагин подсветки кода, опционально: ${c.join(",")}, соответственно: показывать язык кода, показывать кнопку копирования кода. Вы можете установить несколько опций одновременно, если вы хотите не добавлять плагин подсветки кода, установите значение none. по умолчанию: none.`,`コード・ハイライト・プラグイン。オプション: ${c.join(",")}, それぞれ: コード言語の表示、コード・コピー・ボタンの表示。複数のオプションを同時に設定できますが、コード・ハイライト・プラグインを追加したくない場合は、noneに設定してください。`,`코드 하이라이트 추가 기능. 선택 가능: ${c.join(", ")}. (코드 언어 표시, 복사 버튼) 여러 기능을 동시에 설정할 수 있으며, 추가하지 않으려면 none으로 설정하세요. 기본값: none.`,`Plugin tô sáng code. Để không dùng plugin ${c.join(", ")}, đặt thành none. Mặc định: none.`,`Plugin penyorotan kode. Pilihan: ${c.join(", ")}, masing-masing: tampilkan bahasa kode, tampilkan tombol salin kode. Dapat mengatur beberapa opsi sekaligus. Jika tidak ingin plugin penyorotan kode, atur ke none. Bawaan: none.`],[o+"_IMAGE_CDN"]:[`插入图片所使用的图床,目前支持:${u.join("、")}`,`插入圖片所使用的圖床,目前支持:${u.join("、")}`,`插入圖片所使用的圖床,目前支援:${u.join("、")}`,`The image bed for image uploading. Select from: ${u.join(", ")}`,`Расм юклаш учун расм тўшаги. Қуйидагилардан танланг: ${u.join(", ")}`,`画像のアップロードに使用する画像ホスティングサービス。次のうちから選択してください:${u.join("、")}`,`댓글 이미지 업로드 기능에 사용될 호스팅 서비스. 사용 가능 목록: ${u.join(", ")}`,`Dịch vụ lưu trữ ảnh khi tải lên bình luận. ${u.join(", ")}`,`Penyedia hosting gambar untuk unggahan gambar. Pilih dari: ${u.join(", ")}`],[o+"_IMAGE_CDN_URL"]:[`图床的 URL,仅当 IMAGE_CDN 为 ${d.join(" / ")} 时需要填写`,`圖床的 URL,僅當 IMAGE_CDN 為 ${d.join(" / ")} 時需要填寫`,`圖床的 URL,僅當 IMAGE_CDN 為 ${d.join(" / ")} 時需要填寫`,`The URL for the image bed. Required if your IMAGE_CDN is one of these: ${d.join(", ")}`,`IMAGE_CDN томонидан белгиланган расм тўшаги URL. Агар сизнинг IMAGE_CDN шулардан бири бўлса: ${d.join(", ")}`,`IMAGE_CDNで設定した画像ホスティングサービスのURL。IMAGE_CDNが以下のいずれかの場合は入力が必要です:${d.join("、")}`,`이미지 저장소 URL. IMAGE_CDN 설정이 다음 중 하나인 경우 필요합니다: ${d.join(", ")}`,`URL của dịch vụ lưu trữ ảnh. Bắt buộc nếu IMAGE_CDN là một trong các giá trị tùy chỉnh. ${d.join(", ")}`,`URL hosting gambar. Wajib diisi jika IMAGE_CDN Anda adalah salah satu dari: ${d.join(", ")}`],[o+"_IMAGE_CDN_TOKEN"]:["图床 token。qcloud 图床无需设置","图床 token。qcloud 图床无需设置","圖床 token。qcloud 圖床不需設定","The image bed token. Unnessessary for qcloud","Тасвир токен белгиси. Қслоуд учун кераксиз","画像ホスティングトークン。qcloud画像ホスティングを利用する場合は設定の必要はありません","이미지 호스팅 토큰. qcloud은 설정 불필요.","Token dịch vụ lưu trữ ảnh. Không cần thiết cho qcloud.","Token hosting gambar. Tidak diperlukan untuk qcloud."],[o+"_NSFW_API_URL"]:["NSFW 图片检测 API 地址。免费服务:nsfw.qixz.cn,项目:github.com/HG-ha/nsfwpy","NSFW 圖片檢測 API 地址。免費服務:nsfw.qixz.cn,項目:github.com/HG-ha/nsfwpy","NSFW 圖片檢測 API 地址。免費服務:nsfw.qixz.cn,項目:github.com/HG-ha/nsfwpy","NSFW image detection API URL. Free services: nsfw.qixz.cn, project: github.com/HG-ha/nsfwpy","NSFW расмни аниқлаш API URL. Бепул хизматлар: nsfw.qixz.cn, лойиҳа: github.com/HG-ha/nsfwpy","NSFW画像検出API URL。無料サービス:nsfw.qixz.cn、プロジェクト:github.com/HG-ha/nsfwpy","NSFW 이미지 감지 API URL. 무료 서비스: nsfw.qixz.cn, 프로젝트: github.com/HG-ha/nsfwpy","URL API phát hiện ảnh NSFW. Dịch vụ miễn phí: nsfw.qixz.cn, dự án: github.com/HG-ha/nsfwpy","URL API deteksi gambar NSFW. Layanan gratis: nsfw.qixz.cn, proyek: github.com/HG-ha/nsfwpy"],[o+"_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","Ngưỡng phát hiện NSFW (0-1). Tải lên bị từ chối nếu điểm vượt ngưỡng. Mặc định: 0.5","Ambang deteksi NSFW (0-1). Unggahan akan ditolak jika skor melebihi nilai ini. Bawaan: 0.5"],[o+"_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 호환 서비스 사용 시 임의 값 입력 가능","Vùng S3, ví dụ us-east-1. Có thể nhập giá trị bất kỳ khi dùng dịch vụ tương thích S3 (Cloudflare R2, MinIO)","Region S3, misal us-east-1. Bisa diisi nilai apa saja saat menggunakan layanan yang kompatibel dengan S3 (misal Cloudflare R2, MinIO)"],[o+"_S3_BUCKET"]:["S3 存储桶名称","S3 儲存桶名稱","S3 儲存桶名稱","S3 bucket name","S3 bucket nomi","S3バケット名","S3 버킷 이름","Tên S3 bucket","Nama S3 bucket"],[o+"_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","S3 Access Key ID"],[o+"_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","S3 Secret Access Key"],[o+"_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 호환 서비스 사용 시 필요","Endpoint S3 tùy chỉnh. Bắt buộc khi dùng Cloudflare R2 hoặc MinIO","Endpoint S3 kustom. Wajib diisi jika menggunakan layanan yang kompatibel dengan S3 seperti Cloudflare R2 atau MinIO"],[o+"_S3_FORCE_PATH_STYLE"]:["设置 S3_ENDPOINT 时,是否将 S3_BUCKET 拼入上传地址路径。默认为 true,适用于 Cloudflare R2、MinIO 等 path-style S3 兼容端点;使用已绑定存储桶的自定义域名时设为 false,例如腾讯云 COS 自定义域名","設定 S3_ENDPOINT 時,是否將 S3_BUCKET 拼入上傳位址路徑。預設為 true,適用於 Cloudflare R2、MinIO 等 path-style S3 相容端點;使用已綁定儲存桶的自訂網域時設為 false,例如騰訊雲 COS 自訂網域","設定 S3_ENDPOINT 時,是否將 S3_BUCKET 加入上傳位址路徑。預設為 true,適用於 Cloudflare R2、MinIO 等 path-style S3 相容端點;使用已綁定儲存桶的自訂網域時設為 false,例如騰訊雲 COS 自訂網域","When S3_ENDPOINT is set, whether to append S3_BUCKET to the upload URL path. Default: true. Use true for Cloudflare R2, MinIO, and other path-style S3-compatible endpoints; set false for bucket-bound custom domains, such as Tencent Cloud COS custom domains.","S3_ENDPOINT sozlanganda S3_BUCKET ni yuklash URL yo'liga qo'shish-qo'shmaslik. Standart: true. Cloudflare R2, MinIO va boshqa path-style S3 mos endpointlar uchun true ishlating; bucketga bog'langan maxsus domenlar, masalan Tencent Cloud COS maxsus domenlari uchun false qiling.","S3_ENDPOINT 設定時、アップロード URL のパスに S3_BUCKET を追加するかどうか。デフォルト: true。Cloudflare R2、MinIO などの path-style S3 互換エンドポイントでは true を使用し、Tencent Cloud COS カスタムドメインなど、バケットに紐づくカスタムドメインでは false に設定します。","S3_ENDPOINT 설정 시 업로드 URL 경로에 S3_BUCKET을 추가할지 여부입니다. 기본값: true. Cloudflare R2, MinIO 등 path-style S3 호환 엔드포인트는 true를 사용하고, Tencent Cloud COS 커스텀 도메인처럼 버킷에 연결된 커스텀 도메인은 false로 설정하세요.","Khi đặt S3_ENDPOINT, xác định có thêm S3_BUCKET vào đường dẫn URL tải lên hay không. Mặc định: true. Dùng true cho Cloudflare R2, MinIO và endpoint tương thích S3 dạng path-style; đặt false cho tên miền tùy chỉnh đã gắn với bucket, ví dụ tên miền tùy chỉnh Tencent Cloud COS.","Saat S3_ENDPOINT diatur, apakah S3_BUCKET akan ditambahkan ke path URL unggahan. Bawaan: true. Gunakan true untuk Cloudflare R2, MinIO, dan endpoint kompatibel S3 path-style; atur false untuk domain kustom yang terikat bucket, misalnya domain kustom Tencent Cloud COS."],[o+"_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 사용","Tên miền CDN cho ảnh S3. Để trống để dùng URL S3/Endpoint mặc định","Domain akses gambar S3 (domain CDN). Kosongkan untuk menggunakan URL S3/Endpoint bawaan"],[o+"_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). 비워두면 루트에 저장","Tiền tố đường dẫn lưu trữ ảnh S3, ví dụ images/twikoo. Để trống để lưu ở thư mục gốc","Awalan path penyimpanan gambar S3, misal images/twikoo. Kosongkan untuk menyimpan di root"],[o+"_LIGHTBOX"]:["使用简易图片点击放大效果。默认:false","使用簡易圖片點擊放大效果。預設:false","使用簡易圖片點擊放大效果。預設:false","Use simple Lightbox effect. Default: false","Используйте простые эффекты лайтбокса. По умолчанию: false","シンプルな画像拡大機能を使用します。デフォルト:false","라이트박스 효과, 댓글 이미지 클릭 시 확대 효과 사용. 기본값: false","Bật hiệu ứng phóng to ảnh khi click. Mặc định: false","Gunakan efek Lightbox sederhana. Bawaan: false"],[o+"_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.","Giới hạn số bình luận mỗi IP trong 10 phút, 0 là không giới hạn. Mặc định: 10.","Batas komentar per IP setiap 10 menit, 0 tidak terbatas, bawaan: 10."],[o+"_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.","Giới hạn tổng số bình luận toàn site trong 10 phút, 0 là không giới hạn. Mặc định: 10.","Batas komentar seluruh situs setiap 10 menit, 0 tidak terbatas, bawaan: 10."],[o+"_LIMIT_LENGTH"]:["评论长度限制,0 为无限制,默认:500","評論長度限制,0 為無限制,預設:500","留言長度限制,0 為無限,預設:500","Comment length limitation, 0 is unlimited, default: 500.","Шарҳ узунлиги чеклови, 0 чексиз, стандарт: 500.","コメント長さの制限。0は無制限、デフォルト:500","댓글 길이 제한. 0은 무제한. 기본값: 500.","Giới hạn độ dài bình luận, 0 là không giới hạn. Mặc định: 500.","Batas panjang komentar, 0 tidak terbatas, bawaan: 500."],[o+"_MAIL_SUBJECT"]:["自定义通知邮件主题,留空则使用默认主题。","自定義通知郵件主題,留空則使用預設主題。","自訂通知郵件主題,留白則使用預設主題。","Custom Email notification subject. Leave it blank to use the default subject.","Махсус электрон почта хабарномаси мавзуси. Стандарт мавзуни ишлатиш учун уни бўш қолдиринг.","カスタム通知メールの件名。空白の場合はデフォルトの件名を使用します。","댓글 알림 이메일 제목 설정. 비워두면 기본 제목을 사용합니다.","Tiêu đề email thông báo tùy chỉnh. Để trống để dùng tiêu đề mặc định.","Subjek notifikasi email kustom. Kosongkan untuk menggunakan subjek bawaan."],[o+"_MAIL_SUBJECT_ADMIN"]:["自定义博主通知邮件主题,留空则使用默认主题。","自定義博主通知郵件主題,留空則使用預設主題。","自訂站長通知郵件主題,留白則使用預設主題。","Custom admin Email notification subject. Leave it blank to use the default subject.","Махсус администратор электрон почта хабарномаси мавзуси. Стандарт мавзуни ишлатиш учун уни бўш қолдиринг.","管理者へのカスタム通知メールの件名。空白の場合はデフォルトの件名を使用します。","관리자에게 발송되는 댓글 알림 이메일 제목 설정. 비워두면 기본 제목을 사용합니다.","Tiêu đề email thông báo cho quản trị viên tùy chỉnh. Để trống để dùng tiêu đề mặc định.","Subjek notifikasi email admin kustom. Kosongkan untuk menggunakan subjek bawaan."],[o+"_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}","Mẫu email thông báo tùy chỉnh. Để trống để dùng mẫu mặc định. : ${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}","Template notifikasi email kustom. Kosongkan untuk menggunakan template bawaan. Kolom yang dapat disertakan: ${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IMG}, ${PARENT_IMG}"],[o+"_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}","Mẫu email thông báo cho quản trị viên tùy chỉnh. Để trống để dùng mẫu mặc định. : ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}","Template notifikasi email admin kustom. Kosongkan untuk menggunakan template bawaan. Kolom yang dapat disertakan: ${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}, ${IP}, ${MAIL}, ${IMG}"],[o+"_MASTER_TAG"]:["博主标识自定义文字,默认为 “博主”。","博主標識自定義文字,預設為 “博主”。","站長認證自訂文字,預設為「博主」。","Custom admin identifier.","Махсус администратор идентификатори.",'管理者を表すカスタムテキスト。デフォルト:"ブロガー"',"관리자 태그 설정. (닉네임 옆에 표시됨. 예: 관리자)","Văn bản nhãn admin tùy chỉnh.",'Teks kustom identitas admin. Bawaan: "博主".'],[o+"_NOTIFY_SPAM"]:["垃圾评论是否发送通知,默认:true","垃圾評論是否發送通知,默認:true","垃圾留言是否發送通知,預設:true","Notifications for spam comments. Default: true.","Спам шарҳлар учун билдиришномалар. Стандарт: рост.","スパムコメントの通知を送信するかどうか。デフォルト:true","스팸 댓글 알림 발송 여부. 기본값: true.","Có gửi thông báo cho bình luận spam không. Mặc định: true.","Apakah mengirim notifikasi untuk komentar spam. Bawaan: true."],[o+"_CAPTCHA_PROVIDER"]:["人机验证码提供商","人機驗證碼提供商","人機驗證碼提供商","CAPTCHA Provider","CAPTCHA Provider","CAPTCHAプロバイダー","캡차 제공자","Nhà cung cấp CAPTCHA","Penyedia CAPTCHA"],[o+"_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","Site Key của Turnstile CAPTCHA. Lấy tại: https://dash.cloudflare.com/?to=/:account/turnstile","Kunci Situs Turnstile CAPTCHA. Dapatkan dari: https://dash.cloudflare.com/?to=/:account/turnstile"],[o+"_TURNSTILE_SECRET_KEY"]:["Turnstile 验证码的密钥","Turnstile 验证码的密钥","Turnstile 验证码的密钥","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHAのシークレットキー","Turnstile CAPTCHA Secret Key","Turnstile CAPTCHA Secret Key","Kunci Rahasia Turnstile CAPTCHA"],[o+"_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","GeeTest CAPTCHA ID. Lấy tại: https://console.geetest.com/sensbot/management","GeeTest CAPTCHA ID. Dapatkan dari: https://console.geetest.com/sensbot/management"],[o+"_GEETEST_CAPTCHA_KEY"]:["极验验证码的 Captcha Key","极验验证码的 Captcha Key","极验验证码的 Captcha Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","GeeTest CAPTCHA Key","Kunci GeeTest CAPTCHA"],[o+"_CAP_API_ENDPOINT"]:["Cap 验证码 API 端点。留空则使用内嵌 Cap(无需额外部署);外部 Standalone 格式:https://<实例地址>/<site_key>/","Cap 验证码 API 端点。留空则使用内嵌 Cap(无需额外部署);外部 Standalone 格式:https://<实例地址>/<site_key>/","Cap 验证码 API 端点。留空则使用内嵌 Cap(无需额外部署);外部 Standalone 格式:https://<实例地址>/<site_key>/","Cap CAPTCHA API endpoint. Leave empty for built-in Cap (no extra server). External Standalone format: https://<instance_url>/<site_key>/","Cap CAPTCHA API endpoint. Leave empty for built-in Cap (no extra server). External Standalone format: https://<instance_url>/<site_key>/","Cap CAPTCHA API Endpoint。空欄で内蔵 Cap を使用(追加サーバー不要)。外部 Standalone 形式: https://<instance_url>/<site_key>/","Cap CAPTCHA API Endpoint. 비우면 내장 Cap 사용(추가 서버 불필요). 외부 Standalone 형식: https://<instance_url>/<site_key>/","Endpoint API Cap CAPTCHA. Để trống = Cap tích hợp (không cần server ngoài). Standalone ngoài: https://<instance_url>/<site_key>/","Endpoint API Cap CAPTCHA. Kosongkan = Cap bawaan (tanpa server ekstra). Standalone eksternal: https://<instance_url>/<site_key>/"],[o+"_CAP_SECRET_KEY"]:["Cap Secret Key(仅外部 Standalone 需要;内嵌模式可留空)","Cap Secret Key(僅外部 Standalone 需要;內嵌模式可留空)","Cap Secret Key(僅外部 Standalone 需要;內嵌模式可留空)","Cap Secret Key (external Standalone only; leave empty for built-in)","Cap Secret Key (external Standalone only; leave empty for built-in)","Cap Secret Key(外部 Standalone のみ。内蔵時は空欄可)","Cap Secret Key (외부 Standalone 전용; 내장 모드는 비워둠)","Cap Secret Key (chỉ Standalone ngoài; để trống nếu dùng tích hợp)","Cap Secret Key (hanya Standalone eksternal; kosongkan untuk bawaan)"],[o+"_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","Tencent Cloud secret id để phát hiện spam. Khi cài cả Tencent Cloud và Akismet, chỉ Tencent Cloud có hiệu lực. Đăng ký: https://twikoo.js.org/cms.html","ID rahasia Tencent Cloud untuk deteksi spam komentar. Jika Tencent Cloud dan Akismet diatur bersamaan, hanya Tencent Cloud yang berlaku. Daftar: https://twikoo.js.org/cms.html"],[o+"_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 이름 (스팸 댓글 정책용). 스팸 차단 규칙 설정 가능.","Tên Biztype bảo mật nội dung Tencent Cloud dùng cho chính sách spam.","Nama Biztype Keamanan Konten Tencent Cloud untuk kebijakan komentar spam. Aturan pemblokiran spam dapat disesuaikan"],[o+"_QCLOUD_SECRET_KEY"]:["腾讯云 secret key","騰訊雲 secret key","騰訊雲 Secret Key","Tencent Cloud secret key.","Тенсент Клауд махфий калити.","Tencent Cloudのシークレットキー","Tencent Cloud Secret Key.","Tencent Cloud Secret Key.","Kunci rahasia Tencent Cloud."],[o+"_LLM_API_KEY"]:["LLM API Key,用于 AI 垃圾评论检测。仅在未配置腾讯云和 Akismet 时生效。","LLM API Key,用於 AI 垃圾評論檢測。僅在未配置騰訊雲和 Akismet 時生效。","LLM API Key,用於 AI 垃圾留言檢測。僅在未配置騰訊雲和 Akismet 時生效。","LLM API Key, used for AI spam comment detection. Only takes effect when Tencent Cloud and Akismet are not configured.","LLM API kaliti, spamni aniqlash uchun. Faqat Tencent Cloud va Akismet sozlangan bo'lmasa ishlaydi.","LLM APIキー。AIスパムコメント検出に使用されます。Tencent CloudとAkismetが設定されていない場合のみ有効になります。","LLM API 키. AI 스팸 댓글 감지에 사용됩니다. Tencent Cloud 및 Akismet이 설정되지 않은 경우에만 작동합니다.","LLM API Key, dùng để phát hiện spam bằng AI. Chỉ có hiệu lực khi Tencent Cloud và Akismet không được cấu hình.","LLM API Key, digunakan untuk deteksi komentar spam dengan AI. Hanya berlaku jika Tencent Cloud dan Akismet tidak dikonfigurasi."],[o+"_LLM_API_ENDPOINT"]:["LLM API 接口地址,默认:https://api.deepseek.com","LLM API 接口地址,預設:https://api.deepseek.com","LLM API 接口地址,預設:https://api.deepseek.com","LLM API endpoint URL, defaults to https://api.deepseek.com","LLM API endpoint manzili, standart: https://api.deepseek.com","LLM APIエンドポイントURL。デフォルト:https://api.deepseek.com","LLM API 엔드포인트 URL. 기본값: https://api.deepseek.com","Địa chỉ LLM API endpoint, mặc định: https://api.deepseek.com","URL endpoint LLM API, bawaan: https://api.deepseek.com"],[o+"_LLM_MODEL"]:["LLM 模型名称,默认:deepseek-v4-pro","LLM 模型名稱,預設:deepseek-v4-pro","LLM 模型名稱,預設:deepseek-v4-pro","LLM model name, default: deepseek-v4-pro","LLM model nomi, standart: deepseek-v4-pro","LLMモデル名。デフォルト:deepseek-v4-pro","LLM 모델 이름. 기본값: deepseek-v4-pro","Tên mô hình LLM, mặc định: deepseek-v4-pro","Nama model LLM, bawaan: deepseek-v4-pro"],[o+"_LLM_SPAM_PROMPT"]:["LLM 垃圾检测提示词(可选,留空则使用默认提示词)","LLM 垃圾檢測提示詞(可選,留空則使用預設提示詞)","LLM 垃圾檢測提示詞(可選,留白則使用預設提示詞)","LLM spam detection prompt (optional, uses default if left empty)","LLM spam prompt (ixtiyoriy, bo'sh qolsa standart ishlatiladi)","LLMスパム検出プロンプト(オプション。空の場合はデフォルトが使用されます)","LLM 스팸 감지 프롬프트 (옵션, 비워두면 기본값 사용)","Prompt phát hiện spam LLM (tùy chọn, để trống dùng mặc định)","Prompt deteksi spam LLM (opsional, kosongkan untuk menggunakan default)"],[o+"_LLM_MAX_RETRIES"]:["LLM 检测最大重试次数(默认 3 次)","LLM 檢測最大重試次數(預設 3 次)","LLM 檢測最大重試次數(預設 3 次)","LLM detection maximum retries (default 3)","LLM aniqlash uchun maksimal qayta urinishlar soni (standart 3)","LLM検出最大リトライ回数(デフォルト3回)","LLM 감지 최대 재시도 횟수 (기본 3회)","Số lần thử lại tối đa của LLM (mặc định 3)","Maksimal percobaan ulang deteksi LLM (bawaan 3)"],[o+"_PUSHOO_CHANNEL"]:[`即时消息推送平台名称,支持:${s.join("、")} 等`,`即時消息推送平台名称,支持:${s.join("、")} 等`,`即時訊息推送平台名稱,支援:${s.join("、")} 等`,`IM notification push channel. Support: ${s.join(", ")}`,`ИМ билдиришномаси суриш канали. Қўллаб-қувватлаш: ${s.join(", ")}`,`即時メッセージプッシュプラットフォームの名前。${s.join("、")} などに対応しています。`,`실시간 알림을 받을 서비스 설정. 지원: ${s.join(", ")}`,`Kênh gửi thông báo IM tức thì. ${s.join(", ")}`,`Saluran push notifikasi IM. Mendukung: ${s.join(", ")}`],[o+"_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 를 참조.","Token gửi thông báo IM. Xem https://pushoo.js.org để biết chi tiết","Token push notifikasi IM. Lihat https://pushoo.js.org untuk detailnya"],[o+"_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","Các ô nhập liệu hiển thị trên giao diện. Mặc định: nick,mail,link","Kotak input yang ditampilkan di antarmuka. Bawaan: nick,mail,link"],[o+"_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.','Trường bắt buộc khi bình luận. "nick,mail,link" là tất cả bắt buộc, "none" là tất cả tùy chọn. Mặc định: nick,mail.','Kolom wajib untuk komentar. Atur ke "nick,mail,link" berarti semua wajib, "none" berarti semua opsional. Bawaan: nick,mail.'],[o+"_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.","Có thông báo admin qua cả IM lẫn email không. Mặc định chỉ dùng IM. Mặc định: false.","Apakah akan memberitahu admin melalui IM dan email secara bersamaan, bawaan hanya melalui IM. Bawaan: false."],[o+"_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가 일치해야 메일 발송이 가능합니다.","Địa chỉ email gửi thông báo. Với hầu hết nhà cung cấp, SENDER_EMAIL phải giống SMTP_USER.","Alamat email untuk notifikasi email. Untuk sebagian besar penyedia layanan email, SENDER_EMAIL harus sama dengan SMTP_USER, jika tidak email tidak dapat dikirim."],[o+"_SENDER_NAME"]:["邮件通知标题。","郵件通知標題。","郵件通知標題。","The title for Email notification.","Электрон почта хабарномаси сарлавҳаси.","メール通知のタイトル","알림 이메일 발신자 이름.","Tiêu đề thông báo email.","Judul notifikasi email."],[o+"_SHOW_EMOTION"]:["启用插入表情功能,默认为:true","啟用插入表情功能,預設為:true","啟用插入表情功能,預設為:true","Enable emojis. Default: true.","Кулгичларни ёқинг. Стандарт: рост.","顔文字の挿入を有効にするかどうか。デフォルト:true","이모티콘 삽입 기능 활성화. 기본값: true.","Bật chức năng chèn emoji. Mặc định: true.","Aktifkan penyisipan emoji. Bawaan: true"],[o+"_SHOW_IMAGE"]:["启用插入图片功能,默认为:true","啟用插入圖片功能,預設為:true","啟用插入圖片功能,預設為:true","Enable picture uploading. Default: true.","Расм юклашни ёқинг. Стандарт: рост.","画像のアップロードを有効にするかどうか。デフォルト:true","이미지 업로드 기능 활성화. 기본값: true.","Bật chức năng tải ảnh lên. Mặc định: true.","Aktifkan pengunggahan gambar. Bawaan: true"],[o+"_SHOW_ORDER"]:["评论排序下拉框,默认为:true","評論排序下拉框,預設為:true","評論排序下拉框,預設為:true","Show sort dropdown. Default: true.","Изоҳларни тартиблаш очиладиган менюси. Стандарт: рост.","コメントの並べ替えドロップダウンを表示するかどうか。デフォルト:true","댓글 정렬 드롭다운 메뉴 표시 여부. 기본값: true.","Hiển thị dropdown sắp xếp bình luận. Mặc định: true.","Tampilkan dropdown urutan komentar. Bawaan: true"],[o+"_SHOW_DISLIKE"]:["评论点踩按钮,默认为:true","評論點踩按鈕,預設為:true","評論點踩按鈕,預設為:true","Show dislike button. Default: true.","Изоҳларни ёқтирмаслик тугмаси. Стандарт: рост.","「よくないね」ボタンを表示するかどうか。デフォルト:true","댓글 싫어요 버튼 표시 여부. 기본값: true.","Hiển thị nút không thích. Mặc định: true.","Tampilkan tombol tidak suka. Bawaan: true"],[o+"_SHOW_UA"]:["是否显示用户系统和浏览器,默认为:true","是否顯示使用者系統和瀏覽器,預設為:true","是否顯示使用者作業系統和瀏覽器,預設為:true","Show users' OS and browser. Default: true.","Фойдаланувчиларнинг ОС ва браузерини кўрсатиш. Стандарт: рост.","ユーザーのOSとブラウザーの情報を表示するかどうか。デフォルト:true","댓글 작성자의 운영체제 및 브라우저 표시 여부. 기본값: true.","Hiển thị hệ điều hành và trình duyệt người dùng. Mặc định: true.","Tampilkan OS dan peramban pengguna. Bawaan: true"],[o+"_SHOW_REGION"]:["是否显示用户 IP 属地到省,可能不准确,不支持 IPv6,默认为:false","是否顯示使用者 IP 屬地到省,預設為:false","是否顯示使用者 IP 所屬地(精確到省),預設為:false","Show users' IP region (province). Default: false.","Фойдаланувчиларнинг ИП ҳудудини (вилоят) кўрсатиш. Стандарт: нотўғри.","ユーザーIPの所在地(省)を表示するかどうか。正確でない場合があります。IPv6はサポートされていません。デフォルト:false","사용자 IP 지역(도/시 단위) 표시 여부 (부정확할 수 있음, IPv6 미지원). 기본값: false.","Hiển thị vùng IP người dùng (cấp tỉnh). Có thể không chính xác, không hỗ trợ IPv6. Mặc định: false.","Tampilkan wilayah IP pengguna (provinsi). Mungkin tidak akurat, tidak mendukung IPv6. Bawaan: false"],[o+"_SITE_NAME"]:["网站名称","網站名稱","網站名稱","Website name.","Вебсайт номи.","ウェブサイト名","웹사이트 이름.","Tên website.","Nama situs web"],[o+"_SITE_URL"]:["网站地址","網站地址","網站網址","Website URL.","Вебсайт URL.","ウェブサイトのアドレス","웹사이트 주소.","Địa chỉ website.","Alamat situs web"],[o+"_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를 설정한 경우 비워두세요.","Địa chỉ máy chủ SMTP tùy chỉnh. Để trống nếu đã cấu hình SMTP_SERVICE.","Alamat server SMTP kustom. Jika Anda telah mengonfigurasi SMTP_SERVICE, biarkan kosong."],[o+"_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 등 대부분 별도의 앱 비밀번호/인증 코드 사용)","Mật khẩu hòm thư gửi thông báo. Với QQ/163 hãy nhập mã ủy quyền.","Kata sandi kotak email notifikasi. Untuk email QQ/163, masukkan kode otorisasi."],[o+"_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를 설정한 경우 비워두세요.","Cổng SMTP tùy chỉnh. Để trống nếu đã cấu hình SMTP_SERVICE.","Port SMTP kustom. Jika Anda telah mengonfigurasi SMTP_SERVICE, biarkan kosong."],[o+"_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를 설정한 경우 비워두세요.",'Sử dụng TLS cho SMTP. Nhập "true" hoặc "false". Để trống nếu đã cấu hình SMTP_SERVICE.','Gunakan TLS untuk SMTP kustom. Masukkan "true" atau "false". Jika Anda telah mengonfigurasi SMTP_SERVICE, biarkan kosong.'],[o+"_SMTP_SERVICE"]:[`邮件通知邮箱服务商。支持:${a.join("、")}`,`郵件通知郵箱服務商。支持:${a.join("、")}`,`郵件通知郵箱服務提供商。支援:${a.join("、")}`,`Email service provider for Email notification. Support: ${a.join(", ")}`,`Электрон почта хабарномаси учун электрон почта хизмати провайдери. Қўллаб-қувватлаш: ${a.join(", ")}`,`メール通知メールボックスサービスプロバイダ。サポート: ${a.join(",")}.`,`알림 발송 이메일 서비스 선택. 지원 목록: ${a.join(", ")}`,`Nhà cung cấp dịch vụ email gửi thông báo. : ${a.join(", ")}`,`Penyedia layanan email untuk notifikasi. Mendukung: ${a.join(", ")}`],[o+"_SMTP_USER"]:["邮件通知邮箱用户名。","郵件通知郵箱用户名。","郵件通知郵箱使用者名稱。","Email notification mailbox username.","Электрон почта хабарномаси почта қутиси фойдаланувчи номи.","メール通知のメールボックスユーザー名。","선택한 이메일 알림 서비스 아이디","Tên đăng nhập hòm thư gửi thông báo.","Nama pengguna kotak email notifikasi."],ADMIN_CONFIG_RESET:["重置","重置","還原","Reset","Ресет","リセット","초기화","Đặt lại","Reset"],ADMIN_CONFIG_SAVE:["保存","保存","儲存","Save","Сақлаш","保存","저장","Lưu","Simpan"],ADMIN_CREDENTIALS:["私钥文件","私鑰文件","私鑰檔案","Private key file","Shaxsiy kalit fayli","秘密鍵ファイル","개인 키 파일","File khóa riêng tư","File kunci pribadi"],ADMIN_CREDENTIALS_FAQ:["如何获得私钥","如何獲得私鑰","如何獲取私鑰","How to get the private key","Shaxsiy kalitni qanday olish mumkin","秘密鍵を取得する方法","개인 키 발급 방법","Cách lấy khóa riêng tư","Cara mendapatkan kunci pribadi"],ADMIN_CREDENTIALS_PLACEHOLDER:["请粘贴私钥文件内容","請貼上私鑰文件內容","請貼上私鑰檔案內容","Please paste the contents of the private key file","Iltimos, shaxsiy kalit faylining mazmunini joylashtiring","秘密鍵ファイルの内容を貼り付けてください","개인 키 파일 내용을 붙여넣으세요","Hãy dán nội dung file khóa riêng tư vào đây","Silakan tempel isi file kunci pribadi"],ADMIN_FORGOT:["忘记密码","忘記密碼","忘記密碼","Forget your password","Парол унутилган","パスワードを忘れた","비밀번호 찾기","Quên mật khẩu","Lupa kata sandi"],ADMIN_EXPORT:["导出","匯出","匯出","Export","Экспорт","エクスポート","내보내기","Xuất dữ liệu","Ekspor"],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 파일로 내보냅니다. 댓글이 많아 내보내기 실패 또는 데이터 누락 발생 시, 데이터베이스에 직접 연결하여 수동으로 내보내세요.","Xuất toàn bộ dữ liệu thành file JSON. Nếu gặp lỗi hoặc thiếu dữ liệu, hãy kết nối cơ sở dữ liệu để xuất thủ công","Ekspor semua data sebagai file JSON. Jika ekspor gagal atau data hilang, sambungkan ke basis data untuk ekspor manual"],ADMIN_EXPORT_COMMENT:["导出评论","匯出評論","匯出評論","Export comment","Изохни экспорт килиш","コメントをエクスポート","댓글 내보내기","Xuất bình luận","Ekspor komentar"],ADMIN_EXPORT_COUNTER:["导出访问量","匯出訪問量","匯出訪問量","Export counter","Экспорт сони","ページビューをエクスポート","통계 내보내기","Xuất lượt truy cập","Ekspor penghitung"],[i]:["导入","匯入","匯入","Import","Импорт","インポート","가져오기","Nhập dữ liệu","Impor"],[i+"_FILE_REQUIRED"]:["未选择文件","未選擇文件","未選擇檔案","No file selected","Файлни танланмади","ファイルが選択されていません","파일이 선택되지 않았습니다","Chưa chọn file","Tidak ada file yang dipilih"],[i+"_IMPORTED"]:["完成导入 ","完成匯入 ","完成匯入 ","Imported ","Импорт қилинди ","インポート完了 ","가져오기 완료 ","Đã nhập ","Diimpor "],[i+"_IMPORTING"]:["开始导入 ","開始匯入 ","開始匯入 ","Importing ","Импорт қилинмоқда ","インポートを開始 ","가져오는 중 ","Đang nhập ","Mengimpor "],[i+"_LOG"]:["日志","日誌","日誌","Log","Лог","システムログ","로그","Nhật ký","Log"],[i+"_SELECT"]:["请选择","請選擇","請選擇","Select","Танланг","選択してください","선택하세요","Chọn","Pilih"],[i+"_SELECT_FILE"]:["选择文件","選擇文件","選擇檔案","Select file","Файлни танланг","ファイルを選択","파일 선택","Chọn file","Pilih file"],[i+"_SELECT_SOURCE"]:["选择源系统","選擇源系統","選擇來源系統","Select source","Манба танланг","ソースを選択","가져올 댓글 데이터 선택","Chọn nguồn dữ liệu","Pilih sumber"],[i+"_SOURCE_REQUIRED"]:["未选择源系统","未選擇源系統","未選擇來源系統","No source selected.","Ҳеч қандай манба танланмаган.","ソースが選択されていません","가져올 댓글 데이터가 선택되지 않았습니다.","Chưa chọn nguồn dữ liệu.","Sumber belum dipilih"],[i+"_START"]:["开始导入","開始匯入","開始匯入","Start import","Импортни бошлаш","インポートを開始","가져오기 시작","Bắt đầu nhập","Mulai impor"],[i+"_STARTING"]:["开始导入","開始匯入","開始匯入","Importing","Импорт қилинмоқда","インポート中です","가져오는 중","Đang nhập","Mengimpor"],[i+"_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 입니다.","Hãy tải lên file xuất Artalk định dạng JSON. Tên file thường là comments.data.json","Silakan unggah file ekspor Artalk dalam format JSON, nama file biasanya comments.data.json"],[i+"_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 입니다.","Hãy tải lên file xuất Disqus định dạng XML. Tên file thường là [tên-website]-[thời-gian]-all.xml","Silakan unggah file ekspor Disqus dalam format XML, nama file biasanya [nama situs]-[waktu ekspor]-all.xml"],[i+"_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 입니다.","Hãy tải lên file xuất Valine định dạng JSON. Tên file thường là Comment.json","Silakan unggah file ekspor Valine dalam format JSON, nama file biasanya Comment.json"],[i+"_UPLOADED"]:["上传完成 ","上傳完成 ","上傳完成 ","Uploaded ","Юкланди ","アップロード完了","업로드 완료 ","Đã tải lên ","Diunggah "],[i+"_UPLOADING"]:["已上传 ","已上傳 ","已上傳 ","Uploading ","Юкланмоқда ","アップロード中です","업로드 중 ","Đang tải lên ","Mengunggah "],[i+"_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가져오기 전에 댓글 데이터베이스를 백업하는 것이 좋습니다.","Hỗ trợ nhập bình luận từ file sao lưu hệ thống khác.\nDữ liệu an toàn, chức năng nhập thực hiện hoàn toàn trên môi trường cloud của bạn.\nNên sao lưu cơ sở dữ liệu bình luận trước khi nhập.","Mendukung impor komentar dari file cadangan sistem komentar lain.\nData aman, fungsi impor sepenuhnya dilakukan di lingkungan cloud Anda.\nDisarankan untuk mencadangkan basis data komentar sebelum mengimpor."],ADMIN_LOGIN:["登录","登入","登入","Sign in","Тизимга кириш","ログイン","로그인","Đăng nhập","Masuk"],ADMIN_LOGIN_TITLE:["Twikoo 评论管理","Twikoo 評論管理","Twikoo 留言管理","Twikoo Management Panel","Twikoo Бошқарув Панели","Twikoo コメント管理","Twikoo 관리자 패널","Twikoo Quản lý bình luận","Manajemen Komentar Twikoo"],ADMIN_LOGOUT:["退出登录","退出登入","登出","Sign out","Тизимдан чиқиш","ログアウト","로그아웃","Đăng xuất","Keluar"],ADMIN_NEED_UPDATE:["若要使用评论管理,请更新 Twikoo 云函数","若要使用評論管理,請更新 Twikoo 雲函數","若要使用留言管理功能,請更新 Twikoo 雲端函數","A new version of Twikoo is required for comment management.","Фикрларни бошқариш учун Твикоо нинг янги версияси талаб қилинади.","コメント管理を使用するには、Twikoo クラウド関数を更新してください","새 버전의 댓글 관리를 사용하려면 Twikoo Cloud Function을 업데이트하세요.","Cần cập nhật Twikoo Cloud Function để dùng quản lý bình luận.","Versi baru Twikoo diperlukan untuk manajemen komentar."],ADMIN_PASSWORD:["密码","密碼","密碼","Password","Пароль","パスワード","비밀번호","Mật khẩu","Kata Sandi"],ADMIN_PASSWORD_PLACEHOLDER:["请输入","請輸入","請輸入","Enter your password...","Паролингизни киритинг...","入力してください","비밀번호를 입력하세요...","Nhập mật khẩu...","Masukkan kata sandi..."],ADMIN_PASSWORD_REQUIRED:["请输入密码","請輸入密碼","請輸入密碼","Please enter your password","Илтимос, паролингизни киритинг","パスワードを入力してください","비밀번호를 입력하세요","Vui lòng nhập mật khẩu","Silakan masukkan kata sandi Anda"],ADMIN_REGIST:["注册","註冊","註冊","Register","Рўйхатдан ўтиш","登録","관리자 등록","Đăng ký","Daftar"],ADMIN_REGIST_FAILED:["注册失败","註冊失敗","註冊失敗","Register failed","Рўйхатдан ўтиш амалга ошмади","登録に失敗しました","관리자 등록 실패","Đăng ký thất bại","Pendaftaran gagal"],ADMIN_SET_PASSWORD:["设置密码","設置密碼","設定密碼","Set password","Пароль қўйиш","パスワードの設定","비밀번호 설정","Đặt mật khẩu","Atur kata sandi"],ADMIN_SET_PASSWORD_CONFIRM:["确认密码","確認密碼","確認密碼","Confirm password","Паролни тасдиқланг","パスワードの確認","비밀번호 확인","Xác nhận mật khẩu","Konfirmasi kata sandi"],ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER:["确认密码","確認密碼","確認密碼","Confirm password...","Паролни тасдиқлаш...","パスワードの確認","비밀번호 확인...","Xác nhận mật khẩu...","Konfirmasi kata sandi..."],ADMIN_SET_PASSWORD_PLACEHOLDER:["密码","密碼","密碼","Password","Пароль","パスワード","비밀번호","Mật khẩu","Kata sandi"],ADMIN_TITLE:["Twikoo 管理面板","Twikoo 管理面板","Twikoo 管理控制台","Twikoo Management Panel","Twikoo Бошқарув Панели","Twikoo管理パネル","Twikoo 관리 패널","Twikoo Bảng quản trị","Panel Manajemen Twikoo"],COMMENTS_SEARCH:["搜索","搜索","搜尋","Search","Излаш","検索","검색","Tìm kiếm","Cari"],COMMENTS_SEARCH_PLACEHOLDER:["搜索评论","搜索評論","搜尋留言","Search comments","Изоҳларни қидириш","コメントを検索","댓글 검색","Tìm kiếm bình luận","Cari komentar"],COMMENTS_SEARCH_NO_RESULT:["没有找到评论","沒有找到評論","沒有找到留言","No comments found","Изоҳлар топилмади","コメントが見つかりません","댓글을 찾을 수 없습니다","Không tìm thấy bình luận","Tidak ada komentar ditemukan"],COMMENTS_COUNT_SUFFIX:[" 条评论"," 條評論"," 則留言"," comments"," изоҳлар"," 件のコメント","개의 댓글"," bình luận"," komentar"],COMMENTS_SORT_NEWEST:["最新","最新","最新","Newest","Энг янги","最新","최신","Mới nhất","Terbaru"],COMMENTS_SORT_OLDEST:["最早","最早","最早","Oldest","Энг эски","最古","오래됨","Cũ nhất","Terlama"],COMMENTS_SORT_POPULAR:["热门","熱門","熱門","Popular","Машҳур","人気","인기","Phổ biến","Populer"],COMMENTS_EXPAND:["查看更多","查看更多","檢視更多","Load more","Давомини юклаш","もっと見る","더 보기","Xem thêm","Muat lebih banyak"],COMMENTS_NO_COMMENTS:["没有评论","沒有評論","沒有留言","No comment","Изоҳларсиз","コメントはありません","아직 댓글이 없습니다.","Chưa có bình luận","Berikan pendapatmu"],COMMENT_EXPAND:["展开","展開","展開","Read more","Давомини ўқиш","全文を表示","더 보기","Xem thêm","Baca selengkapnya"],COMMENT_COLLAPSE:["收起","收起","閉合","Collapse","Очиш","折りたたむ","접기","Thu gọn","Ciutkan"],COMMENT_MASTER_TAG:["博主","博主","站長","Admin","Модератор","管理者","관리자","Admin","Admin"],COMMENT_REPLIED:["回复","回覆","回覆","Reply","Жавоб бериш","返信","답글","Trả lời","Balas"],COMMENT_DELETE_CONFIRM:["确认删除你的评论?","確認刪除你的評論?","確認刪除你的評論?","Delete your comment?","Izohingizni o'chirasizmi?","あなたのコメントを削除しますか?","댓글을 삭제하시겠습니까?","Xóa bình luận của bạn?","Hapus pendapat Anda?"],COMMENT_REVIEWING_TAG:["审核中","審核中","審核中","Pending","Кутилмоқда","検討中","검토 중","Đang duyệt","Tertunda"],COMMENT_TOP_TAG:["置顶","置頂","置頂","Pinned","Қадоқланган","固定","고정됨","Đã ghim","Disematkan"],COMMENT_FAILED:["评论失败","評論失敗","評論失敗","Comment failed","Фикр билдирилмади","コメント失敗","댓글 등록 실패","Gửi bình luận thất bại","Komentar gagal"],META_INPUT_LINK:["网址","網址","網址","Website","Веб-сайт","ウェブサイト","웹사이트","Website","Situs Web"],META_INPUT_MAIL:["邮箱","郵箱","郵箱","Email","Email","メールアドレス","이메일","Email","Email"],META_INPUT_NICK:["昵称","暱稱","暱稱","Nickname","Исм","名前","닉네임","Tên","Nama Panggilan"],META_INPUT_NOT_REQUIRED:["选填","選填","選填","Optional","Ихтиёрий","任意","선택","Tùy chọn","Opsional"],META_INPUT_REQUIRED:["必填","必填","必填","Required","Мажбурий","必須","필수","Bắt buộc","Wajib"],PAGINATION_COUNT_PREFIX:["共 ","共 ","共 ","","","合計 ","총 ","Tổng ","Total "],PAGINATION_COUNT_SUFFIX:[" 条"," 條"," 條"," entries"," ёзувлар"," 件","개"," mục"," entri"],PAGINATION_GOTO_PREFIX:["前往","前往","前往","Goto page","Саҳифага ўтиш","ページに移動","이동할 페이지: ","Đến trang","Ke halaman"],PAGINATION_GOTO_SUFFIX:["页","頁","頁","","ページ","","","","Halaman"],PAGINATION_PAGESIZE:["条/页","條/頁","則/頁","entries/page","ёзувлар/саҳифа","件/ページ","개/페이지","mục/trang","entri/halaman"],SUBMIT_CANCEL:["取消","取消","取消","Cancel","Бекор қилиш","キャンセル","취소","Hủy","Batal"],SUBMIT_PREVIEW:["预览","預覽","預覽","Preview","Кўриб чиқиш","プレビュー","미리보기","Xem trước","Pratinjau"],SUBMIT_SEND:["发送","發送","傳送","Send","Юбормоқ","送信","등록","Gửi","Kirim"],IMAGE_UPLOAD_PLACEHOLDER:["图片上传中","圖片上傳中","圖片上傳中","Uploading image","Расм юклаш","画像のアップロード中","이미지 업로드 중","Đang tải ảnh lên","Mengunggah gambar"],IMAGE_UPLOAD_FAILED:["图片上传失败","圖片上傳失敗","圖片上傳失敗","IMAGE UPLOAD FAILED","РАСМ ЮКЛАНМАДИ","画像のアップロード失敗","이미지 업로드 실패","TẢI ẢNH THẤT BẠI","UNGGAH GAMBAR GAGAL"],IMAGE_UPLOAD_NSFW:["图片包含不当内容,禁止上传","圖片包含不當內容,禁止上傳","圖片包含不當內容,禁止上傳","Image contains inappropriate content, upload rejected","Расм ноқулай мазмунни ўз ичига олади, юклаш рад қилинди","画像に不適切なコンテンツが含まれているため、アップロードが拒否されました","이미지에 부적절한 콘텐츠가 포함되어 있어 업로드가 거부되었습니다","Ảnh chứa nội dung không phù hợp, tải lên bị từ chối","Gambar mengandung konten tidak pantas, unggahan ditolak"],IMAGE_UPLOAD_FAILED_NO_CONF:["博主未配置图床服务","博主未配置圖床服務","博主未配置圖床服務","The blogger didn't configured any image bed service","Муаллиф ҳеч қандай тасвир хизматини созламаган","管理者が画像配信サービスを設定していません","블로거가 이미지 호스팅 서비스를 설정하지 않았습니다.","Quản trị viên chưa cấu hình dịch vụ lưu trữ ảnh","Admin belum mengatur layanan penyimpanan gambar"],IMAGE_UPLOAD_PLEASE_WAIT:["图片上传中,请稍候再发送","圖片上傳中,請稍候再發送","圖片上傳中,請稍候再傳送","Uploading image, please try again later","Расм юкланмоқда, кейинроқ қайта уриниб кўринг","画像のアップロードが完了するまでお待ちください","이미지 업로드 중입니다. 잠시 후 다시 시도해주세요.","Đang tải ảnh lên, vui lòng chờ rồi thử lại","Gambar sedang diunggah, tunggu sebentar"],SUBMIT_SENDING:["发送中","發送中","正在傳送","Sending","Юбориш","送信中","등록 중","Đang gửi","Mengirim"],TIMEAGO_DAYS:["天前","天前","天前","days ago","кунлар олдин","日前","일 전","ngày trước","hari lalu"],TIMEAGO_HOURS:["小时前","小時前","小時前","hours ago","соатлар олдин","時間前","시간 전","giờ trước","jam lalu"],TIMEAGO_MINUTES:["分钟前","分鐘前","分鐘前","minutes ago","дақиқалар олдин","分前","분 전","phút trước","menit lalu"],TIMEAGO_NOW:["刚刚","剛剛","剛剛","Just now","Ҳозиргина","たった今","방금 전","Vừa xong","Baru saja"],TIMEAGO_SECONDS:["秒前","秒前","秒前","seconds ago","сониялар олдин","秒前","초 전","giây trước","detik lalu"]}},5878:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.setLanguage=t["default"]=void 0;var o=r(n(7564));const 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,vi:7,"vi-VN":7,id:8,"id-id":8};let s="";t.setLanguage=(e={})=>{e.lang&&e.lang.toLowerCase()in i&&(s=e.lang)},t["default"]=(e,t)=>{const n=(t||s||navigator.language).toLowerCase();let r;return r=n&&i[n]?o["default"][e][i[n]]:o["default"][e][i["zh-cn"]],r||""}},8129:function(e,t,n){"use strict";var r=n(477)["default"],o=n(2032)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.blobToDataURL=void 0,Object.defineProperty(t,"call",{enumerable:!0,get:function(){return c.call}}),t.getHref=t.getFuncVer=t.getCommentsCountApi=t.convertLink=void 0,Object.defineProperty(t,"getQQAvatar",{enumerable:!0,get:function(){return u.getQQAvatar}}),t.getVisitorsCountApi=t.getUserAgent=t.getUrl=t.getRecentCommentsApi=void 0,Object.defineProperty(t,"initMarkedOwo",{enumerable:!0,get:function(){return d.initMarkedOwo}}),Object.defineProperty(t,"initOwoEmotions",{enumerable:!0,get:function(){return d.initOwoEmotions}}),t.isNotSet=void 0,Object.defineProperty(t,"isQQ",{enumerable:!0,get:function(){return u.isQQ}}),Object.defineProperty(t,"isUrl",{enumerable:!0,get:function(){return c.isUrl}}),t.logger=void 0,Object.defineProperty(t,"marked",{enumerable:!0,get:function(){return a["default"]}}),Object.defineProperty(t,"normalizeMail",{enumerable:!0,get:function(){return u.normalizeMail}}),t.readAsText=void 0,Object.defineProperty(t,"renderCode",{enumerable:!0,get:function(){return l["default"]}}),t.renderMath=t.renderLinks=void 0,Object.defineProperty(t,"setLanguage",{enumerable:!0,get:function(){return i.setLanguage}}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return i["default"]}}),Object.defineProperty(t,"timeago",{enumerable:!0,get:function(){return s["default"]}}),t.updateVisitorsCount=t.timestamp=void 0;var i=o(n(5878)),s=r(n(7435)),a=r(n(37)),l=r(n(4161)),c=n(585),u=n(7080),d=n(9212);t.isNotSet=e=>e===undefined||null===e||""===e;const p=t.logger={log:(e,t)=>{console.log(`Twikoo: ${e}`,t)},info:(e,t)=>{console.info(`Twikoo: ${e}`,t)},warn:(e,t)=>{console.warn(`Twikoo: ${e}`,t)},error:(e,t)=>{console.error(`Twikoo: ${e}`,t)}};let h;t.timestamp=(e=new Date)=>e.getTime(),t.convertLink=e=>e?"http"!==e.substring(0,4)?`http://${e}`:e:"",t.getFuncVer=async e=>(h||(h=await(0,c.call)(e,"GET_FUNC_VERSION")),h),t.getCommentsCountApi=async(e,t)=>{if(!(t.urls instanceof Array))throw new Error("urls 参数有误");return 0===t.urls.length?[]:(await(0,c.call)(e,"GET_COMMENTS_COUNT",t)).result.data},t.getRecentCommentsApi=async(e,t)=>{const n=await(0,c.call)(e,"GET_RECENT_COMMENTS",t);for(const r of n.result.data)r.relativeTime=(0,s["default"])(r.created);return n.result.data},t.getUserAgent=async()=>{let e=window.navigator.userAgent;try{const{platform:t}=navigator.userAgentData;if("Windows"===t||"macOS"===t){const{platformVersion:n}=await navigator.userAgentData.getHighEntropyValues(["platformVersion"]),r=parseInt(n.split(".")[0]);if("Windows"===t&&r>=13){const t="11.0";e=e.replace(/Windows NT 10\.0/i,`Windows NT ${t}`)}else if("macOS"===t&&r>=11){const t=n.replace(/\./g,"_");e=e.replace(/Mac OS X 10_[0-9]+_[0-9]+/i,`Mac OS X ${t}`)}}}catch(t){}return e};const f=e=>{let 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.getUrl=f;const m=e=>window.TWIKOO_MAGIC_HREF??e??window.location.href;t.getHref=m;const g=new Set(["localhost","127.0.0.1","0.0.0.0","::1"]),_=async(e,t={})=>(await(0,c.call)(e,"COUNTER_GET",{envId:t.envId,funcName:t.funcName,url:f(t.path),href:m(t.href),title:t.title??document.title})).result;t.getVisitorsCountApi=_,t.updateVisitorsCount=async(e,t={})=>{const n=document.getElementById("twikoo_visitors");if(!n||g.has(window.location.hostname))return null;try{const r=await _(e,t);return(r.time||0===r.time)&&(n.innerHTML=r.time),r}catch(r){return p.warn("Failed to update visitors count",r),null}},t.readAsText=e=>new Promise((t,n)=>{const r=new FileReader;r.readAsText(e),r.onloadend=()=>{r.error?n(r.error):t(r.result)}}),t.renderLinks=e=>{let t=[];e instanceof Array?e.forEach(e=>{t.push(...e.getElementsByTagName("a"))}):e instanceof Element&&(t=e.getElementsByTagName("a"));for(const n of t)n.setAttribute("target","_blank"),n.setAttribute("rel","noopener noreferrer nofollow ugc")},t.renderMath=(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=e=>new Promise(t=>{const n=new FileReader;n.onload=e=>{const 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}),r.marked.use({tokenizer:{code(){return undefined}}}),t["default"]=r.marked},824:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.install=async function(e,t={}){return i.sdk=e,function(e){const t=[];for(const n of o)n["default"]&&(0,r.isNotSet)(e[n.key])?e[n.key]=n["default"]:n.required&&(0,r.isNotSet)(e[n.key])&&t.push(n.key);if(t.length>0){for(const e of t)r.logger.warn(`${e} is required`);throw new Error("Twikoo: failed to init")}}(t),await async function(e){(function(e){i.app=i.sdk.init({env:e.envId,region:e.region})})(e),await async function(){return new Promise((e,t)=>{i.auth=i.app.auth({persistence:"local"}),i.auth.hasLoginState()?e():i.auth.anonymousAuthProvider().signIn().then(e)["catch"](t)})}()}(t),i},t.tcb=void 0;var r=n(8129);const o=[{key:"envId",required:!0}],i=t.tcb={sdk:null,app:null,auth:null}},7435:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n(8129);const o=e=>{const t=i(e.getDate(),2),n=i(e.getMonth()+1,2);return`${i(e.getFullYear(),2)}-${n}-${t}`},i=(e,t)=>{let n=e.toString();for(;n.length<t;)n="0"+n;return n};t["default"]=e=>{if("number"==typeof e&&(e=new Date(e)),e)try{const t=e.getTime(),n=Date.now()-t,i=Math.floor(n/864e5);if(0===i){const e=n%864e5,t=Math.floor(e/36e5);if(0===t){const t=e%36e5,n=Math.floor(t/6e4);if(0===n){const e=t%6e4;return Math.round(e/1e3)+` ${(0,r.t)("TIMEAGO_SECONDS")}`}return n+` ${(0,r.t)("TIMEAGO_MINUTES")}`}return t+` ${(0,r.t)("TIMEAGO_HOURS")}`}return i<0?(0,r.t)("TIMEAGO_NOW"):i<8?i+` ${(0,r.t)("TIMEAGO_DAYS")}`:o(e)}catch(t){r.logger.log("timeAgo 错误",t)}}},2199:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="1.7.18"},1085:function(e,t,n){"use strict";var r=n(477)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.render=t.app=void 0;var o=r(n(4478)),i=r(n(1463)),s=r(n(5735)),a=r(n(4511));n(622),n(8848),n(6756),n(4707);var l=r(n(7784));o["default"].use(i["default"]),o["default"].use(s["default"]),o["default"].use(a["default"]);let c=t.app=null;t.render=(e,n={})=>(o["default"].prototype.$tcb=e,o["default"].prototype.$twikoo=n,t.app=c=new o["default"]({render:e=>e(l["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),s=n.n(i)()(o());s.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"]=s},1315:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},9211:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},9737:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},8207:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},8699:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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.85);\n -webkit-backdrop-filter: blur(5px);\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 display: block;\n top: 1rem;\n left: calc(100% - 3rem);\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"]=s},5596:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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: center;\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-color: rgba(0, 0, 0, 0.2);\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"]=s},2268:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i),a=n(1778),l=n.n(a),c=new URL(n(1479),n.b),u=s()(o()),d=l()(c);u.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"]=u},8120:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},269:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},3373:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},5280:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.push([e.id,"\n.tk-comments-search {\n display: flex;\n gap: 0.5rem;\n margin-bottom: 1rem;\n}\n.tk-comments-search .el-input {\n flex: 1;\n}\n@media (max-width: 480px) {\n.tk-comments-search {\n flex-wrap: wrap;\n}\n.tk-comments-search .el-input {\n flex-basis: 100%;\n}\n}\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 .tk-content pre,\n.twikoo .tk-preview-container pre {\n overflow-x: auto;\n max-width: 100%;\n}\n.twikoo .tk-content pre code,\n.twikoo .tk-preview-container pre code {\n white-space: pre;\n word-break: normal;\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"]=s},9791:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},7239:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},6785:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},4284:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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"]=s},6810:function(e,t,n){"use strict";n.r(t);var r=n(5346),o=n.n(r),i=n(9067),s=n.n(i)()(o());s.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 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"]=s},6937:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M131.2 61.9c5.3-.5 10.6 .6 15.3 3s8.6 6.2 11.3 10.8c17 29.5 34.2 58.9 51.2 88.4 3.5-1.4 7-2.7 10.5-3.9 31.3-10.9 64.2-16.6 97.4-16.9 1 0 2.1 0 3.2 0 38.1 0 76.2 7 111.6 21.1L483 75.7c1.8-3.2 4.3-6 7.2-8.2s6.2-3.9 9.8-4.8c3.1-.8 6.4-1.1 9.6-.8 4.2 .4 8.3 1.7 11.9 3.8 4 2.4 7.3 5.7 9.7 9.7 2 3.4 3.3 7.2 3.8 11.2s.1 8-1.2 11.7c-.6 1.9-1.4 3.7-2.4 5.5l-49.7 85.8c19.5 12.2 37.6 26.5 53.9 42.8 12.3 12.2 23.5 25.4 33.5 39.5 8.2 11.5 15.6 23.6 22.2 36.2 17.5 33.6 28.6 70.5 32.7 108.1l-608 0c4.1-37.7 15.2-74.5 32.7-108.1 14.5-27.9 33.4-53.5 55.7-75.7 16.5-16.4 34.7-30.9 54.5-43.1l-49.5-85.4c-3.7-6.4-4.7-14.1-2.8-21.2 1.9-7.1 6.4-13.1 12.7-16.8 3.6-2.2 7.7-3.5 11.9-3.8zm67.3 215.8c-12.2-8.1-30.1-2.5-40.1 12.5s-8.2 33.8 3.9 41.9 30.1 2.5 40.1-12.5 8.2-33.8-3.9-41.9zm283.6 12.5c-10-15-27.9-20.6-40.1-12.5s-13.9 26.9-3.9 41.9c10 15 27.9 20.6 40.1 12.5s13.9-26.9 3.9-41.9z"></path></svg>'},9396:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M319.1 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.7-55.8 .9-115.1 44.5-115.1 133.2 0 26.2 4.8 53.3 14.4 81.2 12.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.9zM262.5 104.5c27.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 512 512"><path fill="currentColor" d="M0 256c0-46.6 12.5-90.4 34.3-128.9L144.1 318.3c21.9 39.2 63.8 65.7 111.9 65.7 14.3 0 27.1-2.3 40.8-6.6L220.5 509.6C95.9 492.3 0 385.3 0 256zm365.1 65.6c12.3-19.2 18.9-42.5 18.9-65.6 0-38.2-16.8-72.5-43.3-96l152.7 0c12 29.6 18.6 62.1 18.6 96 0 141.4-114.6 255.1-256 256L365.1 321.6zM477.8 128L256 128c-62.9 0-113.7 44.1-125.5 102.7L54.2 98.5C101 38.5 174 0 256 0 350.8 0 433.5 51.5 477.8 128zM344 256a88 88 0 1 1 -176 0 88 88 0 1 1 176 0z"></path></svg>'},7051:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M120.1 37.4c41-25.2 87.6-38.2 134.9-37.4 168 0 257 123.8 257 219.5-.1 32.7-13 63.9-35.9 87.2-22.9 23.2-54 36.5-86.7 37-75.2 0-91.5-23.1-91.5-32 0-3.8 1.2-6.2 4.8-9.4l1-1.2 .4-1.6c10.5-11.5 15.9-26.2 15.9-41.6 0-78.7-82.2-142.7-184-142.7-37.5-.3-74.5 8.9-107.5 26.9 27-57.5 82.7-97.6 91.3-103.8 .8-.6 .3-.8 .3-.8zm15.6 318.1c-1.4 30 4.6 60 16.4 87.2 13.6 26.4 32.7 51 56.5 69.3-59.5-11.5-111.5-43.9-149.4-89.3-38.1-46.4-59.2-104.3-59.2-164.8 0-51.2 62.4-94.4 136-94.4 36.6-.6 72.4 10.9 101.8 32.7l-3.6 1.2c-51.5 17.6-98.5 90.7-98.5 158.1zM469.8 400l-.7 .1c-11.8 18.8-25.9 35.1-42.2 49.5-30.8 28-68.1 45.5-108.8 49.9-18.6 .3-36.8-3.2-53.8-11.4-25.6-10.3-47.1-30-61.6-53-14.4-23.9-21.1-51.7-19-79.6-.6-20.1 5.4-40.3 15-58.2 13.9 33.1 37.5 61.3 67.6 80.8s65.5 29.5 101.4 28.6c31 .3 62.1-6.7 90.2-20.5l1.9-.9c3.9-2.3 7.7-3.9 11.6 0 4.5 4.9 1.8 9.2-1.2 14-.2 .2-.3 .5-.4 .7z"></path></svg>'},8443:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M130.2 127.5l0 0zm351.4 45.4c-10.6-25.5-32.1-53-48.9-61.7 13.7 26.9 21.7 53.9 24.7 74 0 .1 0 .3 .1 .4-27.6-68.8-74.4-96.5-112.6-156.8-15-23.7-10.9-25.2-13.1-24.7l-.1 .1c-46.7 26-75.3 78.4-82.6 122.7-16.6 .9-32.9 5-47.9 12.1-1.4 .6-2.5 1.7-3.1 3s-.9 2.8-.6 4.3c.2 .8 .6 1.6 1.1 2.3s1.2 1.3 1.9 1.7 1.6 .7 2.4 .8 1.7 0 2.5-.3l.5-.2c15.5-7.3 32.4-11.2 49.5-11.3 62.8-.6 97.2 44 107.6 62.3-13-9.2-36.4-18.2-58.8-14.3 87.7 43.9 64.2 194.5-57.4 189.2-59.5-2.6-97.1-51-100.5-90.8 0 0 11.2-41.9 80.6-41.9 7.5 0 28.9-20.9 29.3-27-.1-2-42.5-18.9-59.1-35.2-8.8-8.7-13.1-12.9-16.8-16.1-2-1.7-4.1-3.3-6.3-4.8-5.6-19.5-5.8-40-.7-59.6-25.1 11.4-44.6 29.4-58.7 45.4l-.1 0c-9.7-12.2-9-52.6-8.4-61.1-.1-.5-7.2 3.7-8.2 4.3-8.6 6.1-16.5 12.9-23.8 20.4-16.3 16.6-44.1 50.2-55.5 101.2-4.5 20.4-6.8 44.4-6.8 52.3 0 134.7 109.2 243.9 243.9 243.9 120.6 0 223-87.2 240.4-202.6 11.6-76.7-14.7-131.1-14.7-132z"></path></svg>'},3793:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M483.1 159.7c10.9-24.6 21.4-60.4 21.4-87.9 0-72.7-79.6-98.4-209.7-38.6-107.6-7.2-211.2 73.7-237.1 186.5 30.9-34.9 78.3-82.3 122-101.2-54.3 48.3-100.6 109.4-135.7 173.2-20.7 37.9-44 99.2-44 145 0 98.6 92.9 86.5 180.3 42 31.4 15.4 66.6 15.6 101.7 15.6 97.1 0 184.2-54.3 216.8-146l-120.8 0c-52.5 88.6-196.8 53-196.8-47.4l328.8 0c6.4-43.6-1.7-95.7-26.9-141.2zM64.6 346.9C82.3 398 118.3 442.7 164.8 470.2 76.1 519.1-8.4 499.3 64.6 346.9zM180.5 238c2-55.2 50.3-94.9 104-94.9 53.4 0 102 39.7 104 94.9l-208 0zM365.1 50.4c21.4-10.3 48.6-22 72.6-22 31.4 0 54.3 21.7 54.3 53.7 0 20-7.4 49-14.6 67.9-26.3-42.3-66-81.6-112.3-99.6z"></path></svg>'},8974:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M220.9 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.7zM199 125c1.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-72 .5-45.9 5.1-131.2-75.8-131.3-102.4-.2-76.8 103.4-77.9 135.2-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.7l0 .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.8 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.1 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.4l0-.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.4 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 fill="currentColor" d="M593.8 59.1l-547.6 0C20.7 59.1 0 79.8 0 105.2L0 406.7c0 25.5 20.7 46.2 46.2 46.2l547.7 0c25.5 0 46.2-20.7 46.1-46.1l0-301.6c0-25.4-20.7-46.1-46.2-46.1zM338.5 360.6l-61.5 0 0-120-61.5 76.9-61.5-76.9 0 120-61.7 0 0-209.2 61.5 0 61.5 76.9 61.5-76.9 61.5 0 0 209.2 .2 0zm135.3 3.1l-92.3-107.7 61.5 0 0-104.6 61.5 0 0 104.6 61.5 0-92.2 107.7z"></path></svg>'},740:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M274.7 274.7L237.3 237.3 166 346 274.7 274.7zM256 8a248 248 0 1 0 0 496 248 248 0 1 0 0-496zM411.8 182.8l14.8-6.1c1-.4 2-.6 3.1-.6s2.1 .2 3.1 .6 1.8 1 2.6 1.7 1.3 1.6 1.7 2.6 .6 2 .6 3.1-.2 2.1-.6 3.1-1 1.9-1.7 2.6-1.6 1.3-2.6 1.7L418 197.6c-2 .8-4.2 .8-6.1 0s-3.5-2.4-4.3-4.3-.8-4.2 0-6.1 2.4-3.5 4.3-4.3zM314.4 94l6.1-14.8c.8-2 2.4-3.5 4.3-4.3s4.2-.8 6.1 0 3.5 2.4 4.3 4.3 .8 4.2 0 6.1l-6.1 14.8c-.8 2-2.4 3.5-4.3 4.3s-4.2 .8-6.1 0c-1-.4-1.9-1-2.6-1.7s-1.3-1.6-1.7-2.6-.6-2-.6-3.1 .2-2.1 .6-3.1zM256 60c2.1 0 4.2 .8 5.7 2.3S264 65.9 264 68l0 16c0 2.1-.8 4.2-2.3 5.7s-3.5 2.3-5.7 2.3-4.2-.8-5.7-2.3-2.3-3.5-2.3-5.7l0-16c0-2.1 .8-4.2 2.3-5.7S253.9 60 256 60zM181 74.9c1-.4 2-.6 3.1-.6s2.1 .2 3.1 .6 1.9 1 2.6 1.7 1.3 1.6 1.7 2.6L197.6 94c.4 1 .7 2 .7 3.1s-.2 2.1-.6 3.1-1 1.9-1.7 2.6-1.6 1.4-2.6 1.8-2 .6-3.1 .6-2.1-.2-3.1-.6-1.9-1-2.6-1.8-1.3-1.7-1.7-2.7l-6.1-14.8c-.8-2-.8-4.2 0-6.1s2.4-3.5 4.3-4.3zm-63.6 42.5c1.5-1.5 3.5-2.3 5.7-2.3s4.2 .8 5.7 2.3L140 128.7c1.5 1.5 2.3 3.5 2.3 5.6s-.8 4.1-2.3 5.6c-1.5 1.5-3.5 2.3-5.7 2.3s-4.2-.8-5.7-2.3l-11.3-11.3c-1.5-1.5-2.3-3.5-2.3-5.6s.8-4.1 2.3-5.6l0 0zM60 256c0-2.1 .8-4.2 2.3-5.7S65.9 248 68 248l16 0c2.1 0 4.2 .8 5.7 2.3s2.3 3.5 2.3 5.7-.8 4.2-2.3 5.7-3.5 2.3-5.7 2.3l-16 0c-2.1 0-4.2-.8-5.7-2.3S60 258.1 60 256zm40.2 73.2l-14.8 6.1c-1 .4-2 .6-3.1 .6s-2.1-.2-3.1-.6-1.9-1-2.6-1.7-1.3-1.6-1.7-2.6-.6-2-.6-3.1 .2-2.1 .6-3.1 1-1.9 1.7-2.6 1.6-1.3 2.6-1.7L94 314.4c2-.8 4.2-.8 6.1 0s3.5 2.4 4.3 4.3 .8 4.2 0 6.1-2.4 3.5-4.3 4.3zm4.3-136c-.4 1-1 1.9-1.7 2.6s-1.6 1.3-2.6 1.7-2 .6-3.1 .6-2.1-.2-3.1-.6l-14.8-6.1c-2-.8-3.5-2.4-4.3-4.3s-.8-4.2 0-6.1 2.4-3.5 4.3-4.3 4.2-.8 6.1 0l14.8 6.1c2 .8 3.5 2.4 4.3 4.3s.8 4.2 0 6.1l0 0zM197.6 418l-6.1 14.8c-.4 1-1 1.9-1.7 2.6s-1.6 1.3-2.6 1.7-2 .6-3.1 .6-2.1-.2-3.1-.6-1.9-1-2.6-1.7-1.3-1.6-1.7-2.6-.6-2-.6-3.1 .2-2.1 .6-3.1l6.1-14.8c.4-1 1-1.9 1.7-2.7s1.6-1.4 2.6-1.8 2-.6 3.1-.6 2.1 .2 3.1 .6 1.9 1 2.6 1.8 1.3 1.7 1.7 2.6 .6 2 .6 3.1-.2 2.1-.7 3.1zM264 444c0 2.1-.8 4.2-2.3 5.7s-3.5 2.3-5.7 2.3-4.2-.8-5.7-2.3-2.3-3.5-2.3-5.7l0-16c0-2.1 .8-4.2 2.3-5.7s3.5-2.3 5.7-2.3 4.2 .8 5.7 2.3 2.3 3.5 2.3 5.7l0 16zm67-6.9c-1 .4-2 .6-3.1 .6s-2.1-.2-3.1-.6-1.9-1-2.6-1.7-1.3-1.6-1.7-2.6L314.4 418c-.8-2-.8-4.2 0-6.1s2.4-3.5 4.3-4.3 4.2-.8 6.1 0 3.5 2.4 4.3 4.3l6.1 14.8c.8 2 .8 4.2 0 6.1s-2.4 3.5-4.3 4.3zm63.6-42.5c-1.5 1.5-3.5 2.3-5.7 2.3s-4.2-.8-5.7-2.3L372 383.3c-1.5-1.5-2.3-3.5-2.3-5.6s.8-4.1 2.3-5.6 3.5-2.3 5.7-2.3 4.2 .8 5.7 2.3l11.3 11.3c1.5 1.5 2.3 3.5 2.3 5.6s-.8 4.1-2.3 5.6l0 0zM286.2 286.2L110.3 401.7 225.8 225.8 401.7 110.3 286.2 286.2zM437.1 331c-.8 2-2.4 3.5-4.3 4.3s-4.2 .8-6.1 0l-14.8-6.1c-2-.8-3.5-2.4-4.3-4.3s-.8-4.2 0-6.1c.4-1 1-1.9 1.7-2.6s1.6-1.3 2.6-1.7 2-.6 3.1-.6 2.1 .2 3.1 .6l14.8 6.1c2 .8 3.5 2.4 4.3 4.3s.8 4.2 0 6.1zm6.9-67l-16 0c-2.1 0-4.2-.8-5.7-2.3s-2.3-3.5-2.3-5.7 .8-4.2 2.3-5.7 3.5-2.3 5.7-2.3l16 0c2.1 0 4.2 .8 5.7 2.3s2.3 3.5 2.3 5.7-.8 4.2-2.3 5.7-3.5 2.3-5.7 2.3z"></path></svg>'},7397:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M469.2 75c0-20.1-8-39.3-22.2-53.5s-33.4-22.2-53.5-22.2-39.3 8-53.5 22.2-22.2 33.4-22.2 53.5c0 20.1 8 39.3 22.1 53.5s33.4 22.1 53.5 22.1 39.3-8 53.5-22.1 22.1-33.4 22.1-53.5l.1 0zm-315 165.7a75.6 75.6 0 1 0 -151.2 0 75.6 75.6 0 1 0 151.2 0zM57 346c18.6 46.9 51 87 93 115.1s91.5 42.6 142 41.7c-14.7-18.6-22.9-41.5-23.2-65.2-6.8-.9-13.3-2.1-19.5-3.4-26.8-5.7-51.9-17.3-73.6-34s-39.3-38.1-51.7-62.5c-20.9 9.9-44.5 12.8-67.1 8.2l.1 .1zm395.1 89.8a75.6 75.6 0 1 0 -151.2 0 75.6 75.6 0 1 0 151.2 0zM444 351.6c18.5 14.8 31.6 35.2 37.2 58.2 33.3-41.3 52.6-92.2 54.8-145.2s-12.5-105.4-42.2-149.4c-8.6 21.5-24 39.6-43.8 51.6 15.4 28.6 22.9 60.8 21.9 93.2s-10.7 64-28 91.6l.1 0zM101.1 135.4c12.4 2.7 24.3 7.5 35.1 14.3 16.6-24.2 38.9-44.1 64.8-58S255.8 70.4 285.2 70c.2-5.9 .9-11.9 2-17.7 3.6-16.7 11.1-32.3 21.8-45.5-47.7-3.8-95.4 6-137.6 28.5S94.3 91.7 70.8 133.4c2.7-.2 5.3-.3 8-.3 7.5 0 15 .8 22.4 2.3l-.1 0z"></path></svg>'},2531:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M0 93.7l183.6-25.3 0 177.4-183.6 0 0-152.1zM0 418.3l183.6 25.3 0-175.2-183.6 0 0 149.9zm203.8 28l244.2 33.7 0-211.6-244.2 0 0 177.9zm0-380.6l0 180.1 244.2 0 0-213.8-244.2 33.7z"></path></svg>'},3491:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M51.9 384.9C19.3 344.6 0 294.4 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240 397.4 480 256 480c-36.5 0-71.2-7.2-102.6-20L37 509.9c-3.7 1.6-7.5 2.1-11.5 2.1-14.1 0-25.5-11.4-25.5-25.5 0-4.3 1.1-8.5 3.1-12.2l48.8-89.4zm37.3-30.2c12.2 15.1 14.1 36.1 4.8 53.2l-18 33.1 58.5-25.1c11.8-5.1 25.2-5.2 37.1-.3 25.7 10.5 54.2 16.4 84.3 16.4 117.8 0 208-88.8 208-192S373.8 48 256 48 48 136.8 48 240c0 42.8 15.1 82.4 41.2 114.7z"></path></svg>'},5171:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm128 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm136 72c8.5 0 16.4 4.5 20.7 11.8l80 136c4.4 7.4 4.4 16.6 .1 24.1S352.6 384 344 384l-240 0c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l17.2 24.6 46.5-79c4.3-7.3 12.2-11.8 20.7-11.8z"></path></svg>'},6639:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 256a208 208 0 1 0 -416 0 208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm118.3 58.2c-4.2-13.7 7.1-26.2 21.4-26.2l232.6 0c14.3 0 25.6 12.5 21.4 26.2-18 58.9-72.9 101.8-137.7 101.8S136.3 373.1 118.3 314.2zM144 192a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"></path></svg>'},6412:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M360 32l7.4 .4c35 3.6 62.5 32.2 64.4 67.7 17.8 11.8 30.1 31.4 32 53.9l.2 6c0 5.7-.7 11.2-2 16.5 10.2 11.5 16.8 26.3 17.8 42.7l.2 4.8c0 13.2-3.6 25.4-9.8 36 4.9 8.4 8.2 17.9 9.3 28l.4 8c0 37.3-28.3 67.9-64.6 71.6l-7.4 .4-109.7 0 14.1 30 3.1 7.6c12.5 35.7-1.8 75.5-34.2 95l-7.2 3.9c-37.5 17.6-81.7 3.6-102.6-31.2l-.6-.9-2.7-5-.6-1.2-30.1-64c-9.4 17.8-28 29.9-49.5 29.9l-32 0c-30.9 0-56-25.1-56-56L0 152c0-30.9 25.1-56 56-56l32 0c12.4 0 23.9 4.1 33.2 11 13.2-21.4 32-39.4 55-51.6l12.2-6.5 .7-.3 6.6-3.2 .7-.3 7.1-3c16.7-6.6 34.5-9.9 52.6-9.9L360 32zM255.9 80c-12 0-23.9 2.3-35.1 6.6l-4.7 2-5.3 2.6 0 0-12.2 6.5c-29.2 15.5-48.3 44.9-50.7 77.6l-.2 8 0 112.9 .1 4.1c.5 8.2 2.5 16.2 6 23.7l56.8 120.9 2.1 3.8c8.4 13.7 26 19.1 40.8 12.2l2.9-1.6c13-7.8 18.7-23.7 13.7-38l-1.2-3-30.2-64.2c-3.5-7.4-2.9-16.1 1.5-23.1s12-11.1 20.2-11.1l147.5 0 2.4-.1c11.3-1.1 20.3-10.1 21.4-21.4l.1-2.5c0-7.1-3.1-13.5-8.2-18-5.2-4.6-8.2-11.1-8.2-18s3-13.4 8.2-18c4.4-3.9 7.4-9.3 8-15.3l.2-2.7c0-8.4-4.4-15.9-11.2-20.2-10.7-6.9-14.2-20.9-8-32 1.5-2.6 2.5-5.6 2.9-8.6l.2-3.2c0-10.6-6.9-19.6-16.6-22.8-11.7-3.8-18.7-15.9-16-28 .2-.9 .3-1.8 .4-2.6l.2-2.6c0-12.4-9.5-22.6-21.6-23.8L360 80 255.9 80zM56 144c-4.4 0-8 3.6-8 8l0 224c0 4.4 3.6 8 8 8l32 0c4.4 0 8-3.6 8-8l0-224c0-4.4-3.6-8-8-8l-32 0z"></path></svg>'},6359:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M171.5 38.8C192.3 4 236.5-10 274 7.6l7.2 3.8C316 32.3 330 76.5 312.4 114l0 0-14.1 30 109.7 0 7.4 .4c36.3 3.7 64.6 34.4 64.6 71.6 0 13.2-3.6 25.4-9.8 36 6.1 10.6 9.7 22.8 9.8 36 0 18.3-6.9 34.8-18 47.5 1.3 5.3 2 10.8 2 16.5 0 25.1-12.9 47-32.2 59.9-1.9 35.5-29.4 64.2-64.4 67.7l-7.4 .4-104.1 0c-18 0-35.9-3.4-52.6-9.9l-7.1-3-.7-.3-6.6-3.2-.7-.3-12.2-6.5c-12.3-6.5-23.3-14.7-32.9-24.1-4.1 26.9-27.3 47.4-55.3 47.4l-32 0c-30.9 0-56-25.1-56-56L0 200c0-30.9 25.1-56 56-56l32 0c10.8 0 20.9 3.1 29.5 8.5l50.1-106.5 .6-1.2 2.7-5 .6-.9zM56 192c-4.4 0-8 3.6-8 8l0 224c0 4.4 3.6 8 8 8l32 0c4.4 0 8-3.6 8-8l0-224c0-4.4-3.6-8-8-8l-32 0zM253.6 51c-14.8-6.9-32.3-1.6-40.7 12l-2.2 4-56.8 120.9c-3.5 7.5-5.5 15.5-6 23.7l-.1 4.2 0 112.9 .2 7.9c2.4 32.7 21.4 62.1 50.7 77.7l11.5 6.1 6.3 3.1c12.4 5.6 25.8 8.5 39.4 8.5l104.1 0 2.4-.1c12.1-1.2 21.6-11.5 21.6-23.9l-.2-2.6c-.1-.9-.2-1.7-.4-2.6-2.7-12.1 4.3-24.2 16-28 9.7-3.1 16.6-12.2 16.6-22.8 0-4.3-1.1-8.2-3.1-11.8-6.3-11.1-2.8-25.2 8-32 6.8-4.3 11.2-11.8 11.2-20.2 0-7.1-3.1-13.5-8.2-18-5.2-4.6-8.2-11.1-8.2-18s3-13.4 8.2-18c5.1-4.5 8.2-10.9 8.2-18l-.1-2.4c-1.1-11.3-10.1-20.3-21.4-21.4l-2.4-.1-147.5 0c-8.2 0-15.8-4.2-20.2-11.1-4.4-6.9-5-15.7-1.5-23.1L269 93.6c7-15 1.4-32.7-12.5-41L253.6 51z"></path></svg>'},7136:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M166.2-16c-13.3 0-25.3 8.3-30 20.8L120 48 24 48C10.7 48 0 58.7 0 72S10.7 96 24 96l400 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-96 0-16.2-43.2C307.1-7.7 295.2-16 281.8-16L166.2-16zM32 144l0 304c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-304-48 0 0 304c0 8.8-7.2 16-16 16L96 464c-8.8 0-16-7.2-16-16l0-304-48 0zm160 72c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 176c0 13.3 10.7 24 24 24s24-10.7 24-24l0-176zm112 0c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 176c0 13.3 10.7 24 24 24s24-10.7 24-24l0-176z"></path></svg>'},9039:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M48 224l0 160c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-160-416 0zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z"></path></svg>'},504:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"></path></svg>'},6370:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M512 240c0 132.5-114.6 240-256 240-37.1 0-72.3-7.4-104.1-20.7L33.5 510.1c-9.4 4-20.2 1.7-27.1-5.8S-2 485.8 2.8 476.8l48.8-92.2C19.2 344.3 0 294.3 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240z"></path></svg>'},3982:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M477.9 75.5c4.5-11.8 1.7-25.2-7.2-34.1s-22.3-11.8-34.1-7.2l-416 160C7.9 199-.3 211.2 0 224.7s9.1 25.4 21.9 29.6l176.8 58.9 58.9 176.8c4.3 12.8 16.1 21.6 29.6 21.9s25.7-7.9 30.6-20.5l160-416z"></path></svg>'},495:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"></path></svg>'},9966:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z"></path></svg>'},9801:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M384 32c26.5 0 48 21.5 48 48 0 6.3-1.3 12.2-3.4 17.7 20.4 5.5 35.4 24.1 35.4 46.3 0 9.1-2.6 17.6-7 24.9 22.2 4.2 39 23.7 39 47.1 0 19.7-11.9 36.6-28.9 44 17 7.4 28.9 24.3 28.9 44 0 26.5-21.5 48-48 48l-160 0 28.2 70.4c2.5 6.3 3.8 13.1 3.8 19.9l0 4.2c0 27.3-22.1 49.4-49.4 49.4-18.7 0-35.8-10.6-44.2-27.3L170.1 356.3c-6.7-13.3-10.1-28-10.1-42.9l0-186.6c0-19.4 8.9-37.8 24-50l12.2-9.7C224.6 44.4 259.8 32 296.1 32L384 32zM80 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-48 0c-17.7 0-32-14.3-32-32L0 128c0-17.7 14.3-32 32-32l48 0z"></path></svg>'},5910:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M80 160c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-48 0c-17.7 0-32-14.3-32-32L0 192c0-17.7 14.3-32 32-32l48 0zM270.6 16C297.9 16 320 38.1 320 65.4l0 4.2c0 6.8-1.3 13.6-3.8 19.9L288 160 448 160c26.5 0 48 21.5 48 48 0 19.7-11.9 36.6-28.9 44 17 7.4 28.9 24.3 28.9 44 0 23.4-16.8 42.9-39 47.1 4.4 7.3 7 15.8 7 24.9 0 22.2-15 40.8-35.4 46.3 2.2 5.5 3.4 11.5 3.4 17.7 0 26.5-21.5 48-48 48l-87.9 0c-36.3 0-71.6-12.4-99.9-35.1L184 435.2c-15.2-12.1-24-30.5-24-50l0-186.6c0-14.9 3.5-29.6 10.1-42.9L226.3 43.3C234.7 26.6 251.8 16 270.6 16z"></path></svg>'},9671:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"></path></svg>'},5545:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M136.7 5.9C141.1-7.2 153.3-16 167.1-16l113.9 0c13.8 0 26 8.8 30.4 21.9L320 32 416 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 8.7-26.1zM32 144l384 0 0 304c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-304zm88 64c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24z"></path></svg>'},9587:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M399 384.2C376.9 345.8 335.4 320 288 320l-64 0c-47.4 0-88.9 25.8-111 64.2 35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z"></path></svg>'},7784:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(8926),i=o.A,s=(n(1288),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},6085:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(3397),i=o.A,s=(n(2234),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},1547:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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:function(t){return t.preventDefault(),e.onLogout.apply(null,arguments)}}},[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.staticRenderFns=[]}),o=n(4238),i=o.A,s=(n(6852),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},2232:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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:${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.staticRenderFns=[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(" 进行升级")])}]}),o=n(4555),i=o.A,s=(n(7461),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},9658:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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("form",{on:{submit:function(t){return t.preventDefault(),e.saveConfig.apply(null,arguments)}}},[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):"textarea"===n.type?t("el-input",{attrs:{type:"textarea",rows:5,placeholder:n.ph,size:"small"},model:{value:n.value,callback:function(t){e.$set(n,"value",t)},expression:"setting.value"}}):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","native-type":"submit"}},[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.staticRenderFns=[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(" 进行升级")])}]}),o=n(4868),i=o.A,s=(n(203),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},1534:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(3396),i=o.A,s=(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports},5085:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(9865),i=o.A,s=(n(8087),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},3867:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(4064),i=o.A,s=(n(4624),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},362:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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:"#"},on:{click:function(t){return t.preventDefault(),e.scrollToPid(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,refreshed:e.onRefreshed}})}),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.staticRenderFns=[]}),o=n(3572),i=o.A,s=(n(4098),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},9392:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.iconSearch)},on:{click:e.toggleSearch}}),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(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],staticClass:"tk-comments-search"},[t("el-input",{ref:"searchInputRef",attrs:{size:"small",clearable:"",maxlength:"100",placeholder:e.t("COMMENTS_SEARCH_PLACEHOLDER")},on:{clear:e.clearSearch},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search.apply(null,arguments)}},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}}),e._v(" "),t("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.search}},[e._v(e._s(e.t("COMMENTS_SEARCH")))])],1),e._v(" "),e.loading||e.comments.length?e._e():t("div",{staticClass:"tk-comments-no"},[!e.errorMessage&&e.searchKeyword?t("span",[e._v(e._s(e.t("COMMENTS_SEARCH_NO_RESULT")))]):e._e(),e._v(" "),e.errorMessage||e.searchKeyword?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.refreshPreservingState}})}),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.staticRenderFns=[]}),o=n(4333),i=o.A,s=(n(9525),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},7986:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(418),i=o.A,s=(n(4070),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},9323:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(2362),i=o.A,s=(n(1116),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},1222:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(9171),i=o.A,s=(n(292),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},5941:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return o.B},"default":function(){return s}});var r=n.cjs(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0,t.render=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.staticRenderFns=[]}),o=n(147),i=o.A,s=(n(6201),(0,n(4486).A)(i,r.render,r.staticRenderFns,!1,null,null,null).exports)},4486:function(e,t,n){"use strict";function r(e,t,n,r,o,i,s,a){var l,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),s?(l=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(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}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(1890).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(1890).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(1890).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(1890).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(1890).A)("0e5e9eca",r,!0,{})},6852:function(e,t,n){var r=n(8699);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("72128682",r,!0,{})},7461:function(e,t,n){var r=n(5596);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("b81ae95e",r,!0,{})},203:function(e,t,n){var r=n(2268);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("5553691a",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(1890).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(1890).A)("5a1fa943",r,!0,{})},4098:function(e,t,n){var r=n(3373);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("0a0def4a",r,!0,{})},9525:function(e,t,n){var r=n(5280);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("c27029fa",r,!0,{})},4070:function(e,t,n){var r=n(9791);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("77fbf48a",r,!0,{})},1116:function(e,t,n){var r=n(7239);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("402739a7",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(1890).A)("88983344",r,!0,{})},6201:function(e,t,n){var r=n(4284);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(1890).A)("ac52a366",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(1890).A)("8be46386",r,!0,{})},1890:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n.cjs(function(e,t){t.A=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],s=i[0],a={id:e+":"+o,css:i[1],media:i[2],sourceMap:i[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}}),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={},s=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,o){c=n,d=o||{};var s=(0,r.A)(e,t);return m(s),function(t){for(var n=[],o=0;o<s.length;o++){var a=s[o];(l=i[a.id]).refs--,n.push(l)}for(t?m(s=(0,r.A)(e,t)):s=[],o=0;o<n.length;o++){var l;if(0===(l=n[o]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete i[l.id]}}}}function m(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(_(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(o=0;o<n.parts.length;o++)s.push(_(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:s}}}}function g(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function _(e){var t,n,r=document.querySelector("style["+p+'~="'+e.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(h){var o=l++;r=a||(a=g()),t=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=g(),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 v,b=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function y(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[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(p,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"},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},2032:function(e,t,n){"use strict";var r=n(9367)["default"];function o(t,n){if("function"==typeof WeakMap)var i=new WeakMap,s=new WeakMap;return(e.exports=o=function(e,t){if(!t&&e&&e.__esModule)return e;var n,o,a={__proto__:null,"default":e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return a;if(n=t?s:i){if(n.has(e))return n.get(e);n.set(e,a)}for(var l in e)"default"!==l&&{}.hasOwnProperty.call(e,l)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,l))&&(o.get||o.set)?n(a,l,o):a[l]=e[l]);return a},e.exports.__esModule=!0,e.exports["default"]=e.exports)(t,n)}e.exports=o,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},2570:function(e){"use strict";var t="undefined"!=typeof ArrayBuffer,n=function(e){if("string"==typeof e)return[e,!0];if(Array.isArray(e))return[e,!1];if(t&&e){if(e.constructor===ArrayBuffer)return[new Uint8Array(e),!1];if(ArrayBuffer.isView(e))return[e,!1]}throw new Error("input is invalid type")},r="0123456789abcdef".split(""),o=[-2147483648,8388608,32768,128],i=[24,16,8,0],s=[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],a=["hex","array","digest","arrayBuffer"],l=[],c=function(e,t){return function(n){return new h(t,!0).update(n)[e]()}},u=function(e){var t=c("hex",e);t.create=function(){return new h(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<a.length;++n){var r=a[n];t[r]=c(r,e)}return t},d=function(e,t){return function(n,r){return new f(n,t,!0).update(r)[e]()}},p=function(e){var t=d("hex",e);t.create=function(t){return new f(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<a.length;++n){var r=a[n];t[r]=d(r,e)}return t};function h(e,t){t?(l[0]=l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0,this.blocks=l):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 f(e,t,r){var o,i=n(e);if(e=i[0],i[1]){var s,a=[],l=e.length,c=0;for(o=0;o<l;++o)(s=e.charCodeAt(o))<128?a[c++]=s:s<2048?(a[c++]=192|s>>>6,a[c++]=128|63&s):s<55296||s>=57344?(a[c++]=224|s>>>12,a[c++]=128|s>>>6&63,a[c++]=128|63&s):(s=65536+((1023&s)<<10|1023&e.charCodeAt(++o)),a[c++]=240|s>>>18,a[c++]=128|s>>>12&63,a[c++]=128|s>>>6&63,a[c++]=128|63&s);e=a}e.length>64&&(e=new h(t,!0).update(e).array());var u=[],d=[];for(o=0;o<64;++o){var p=e[o]||0;u[o]=92^p,d[o]=54^p}h.call(this,t,r),this.update(d),this.oKeyPad=u,this.inner=!0,this.sharedMemory=r}h.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t=n(e);e=t[0];for(var r,o,s=t[1],a=0,l=e.length,c=this.blocks;a<l;){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),s)for(o=this.start;a<l&&o<64;++a)(r=e.charCodeAt(a))<128?c[o>>>2]|=r<<i[3&o++]:r<2048?(c[o>>>2]|=(192|r>>>6)<<i[3&o++],c[o>>>2]|=(128|63&r)<<i[3&o++]):r<55296||r>=57344?(c[o>>>2]|=(224|r>>>12)<<i[3&o++],c[o>>>2]|=(128|r>>>6&63)<<i[3&o++],c[o>>>2]|=(128|63&r)<<i[3&o++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++a)),c[o>>>2]|=(240|r>>>18)<<i[3&o++],c[o>>>2]|=(128|r>>>12&63)<<i[3&o++],c[o>>>2]|=(128|r>>>6&63)<<i[3&o++],c[o>>>2]|=(128|63&r)<<i[3&o++]);else for(o=this.start;a<l&&o<64;++a)c[o>>>2]|=e[a]<<i[3&o++];this.lastByteIndex=o,this.bytes+=o-this.start,o>=64?(this.block=c[16],this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},h.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=o[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()}},h.prototype.hash=function(){var e,t,n,r,o,i,a,l,c,u=this.h0,d=this.h1,p=this.h2,h=this.h3,f=this.h4,m=this.h5,g=this.h6,_=this.h7,v=this.blocks;for(e=16;e<64;++e)t=((o=v[e-15])>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,n=((o=v[e-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,v[e]=v[e-16]+t+v[e-7]+n|0;for(c=d&p,e=0;e<64;e+=4)this.first?(this.is224?(i=300032,_=(o=v[0]-1413257819)-150054599|0,h=o+24177077|0):(i=704751109,_=(o=v[0]-210244248)-1521486534|0,h=o+143694565|0),this.first=!1):(t=(u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10),r=(i=u&d)^u&p^c,_=h+(o=_+(n=(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&m^~f&g)+s[e]+v[e])|0,h=o+(t+r)|0),t=(h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10),r=(a=h&u)^h&d^i,g=p+(o=g+(n=(_>>>6|_<<26)^(_>>>11|_<<21)^(_>>>25|_<<7))+(_&f^~_&m)+s[e+1]+v[e+1])|0,t=((p=o+(t+r)|0)>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10),r=(l=p&h)^p&u^a,m=d+(o=m+(n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(g&_^~g&f)+s[e+2]+v[e+2])|0,t=((d=o+(t+r)|0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(c=d&p)^d&h^l,f=u+(o=f+(n=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&g^~m&_)+s[e+3]+v[e+3])|0,u=o+(t+r)|0,this.chromeBugWorkAround=!0;this.h0=this.h0+u|0,this.h1=this.h1+d|0,this.h2=this.h2+p|0,this.h3=this.h3+h|0,this.h4=this.h4+f|0,this.h5=this.h5+m|0,this.h6=this.h6+g|0,this.h7=this.h7+_|0},h.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,o=this.h3,i=this.h4,s=this.h5,a=this.h6,l=this.h7,c=r[e>>>28&15]+r[e>>>24&15]+r[e>>>20&15]+r[e>>>16&15]+r[e>>>12&15]+r[e>>>8&15]+r[e>>>4&15]+r[15&e]+r[t>>>28&15]+r[t>>>24&15]+r[t>>>20&15]+r[t>>>16&15]+r[t>>>12&15]+r[t>>>8&15]+r[t>>>4&15]+r[15&t]+r[n>>>28&15]+r[n>>>24&15]+r[n>>>20&15]+r[n>>>16&15]+r[n>>>12&15]+r[n>>>8&15]+r[n>>>4&15]+r[15&n]+r[o>>>28&15]+r[o>>>24&15]+r[o>>>20&15]+r[o>>>16&15]+r[o>>>12&15]+r[o>>>8&15]+r[o>>>4&15]+r[15&o]+r[i>>>28&15]+r[i>>>24&15]+r[i>>>20&15]+r[i>>>16&15]+r[i>>>12&15]+r[i>>>8&15]+r[i>>>4&15]+r[15&i]+r[s>>>28&15]+r[s>>>24&15]+r[s>>>20&15]+r[s>>>16&15]+r[s>>>12&15]+r[s>>>8&15]+r[s>>>4&15]+r[15&s]+r[a>>>28&15]+r[a>>>24&15]+r[a>>>20&15]+r[a>>>16&15]+r[a>>>12&15]+r[a>>>8&15]+r[a>>>4&15]+r[15&a];return this.is224||(c+=r[l>>>28&15]+r[l>>>24&15]+r[l>>>20&15]+r[l>>>16&15]+r[l>>>12&15]+r[l>>>8&15]+r[l>>>4&15]+r[15&l]),c},h.prototype.toString=h.prototype.hex,h.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,o=this.h4,i=this.h5,s=this.h6,a=this.h7,l=[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,s>>>24&255,s>>>16&255,s>>>8&255,255&s];return this.is224||l.push(a>>>24&255,a>>>16&255,a>>>8&255,255&a),l},h.prototype.array=h.prototype.digest,h.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},f.prototype=new h,f.prototype.finalize=function(){if(h.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();h.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),h.prototype.finalize.call(this)}};var m=u(),g=u(!0);m.sha256=m,m.sha224=g,m.hmac=p(),g.hmac=p(!0),e.exports=m},2622:function(e){"use strict";e.exports=JSON.parse('{"name":"@cloudbase/app","version":"4.0.0","description":"cloudbase javascript sdk core","main":"dist/cjs/index.js","module":"dist/esm/index.js","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.2.0","@cloudbase/types":"4.0.0","@cloudbase/utilities":"4.0.0"},"gitHead":"e489e90352537598cac4ce36b64ed3184b0d41b1"}')}},t={};function n(r){var o=t[r];if(o!==undefined)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,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){if(Array.isArray(t))for(var r=0;r<t.length;){var o=t[r++],i=t[r++];n.o(e,o)?0===i&&r++:0===i?Object.defineProperty(e,o,{enumerable:!0,value:t[r++]}):Object.defineProperty(e,o,{enumerable:!0,get:i})}else for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},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.cjs=function(e){var t={exports:{}};return e.call(t.exports,t,t.exports),t.exports},n.b="undefined"!=typeof document&&document.baseURI||self.location.href;var r={};return function(){"use strict";var e=r,t=n(477)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,e.getCommentsCount=async function(e={}){const t=(0,a.isUrl)(e.envId)?null:await c(e);return await(0,a.getCommentsCountApi)(t,e)},e.getRecentComments=async function(e={}){const t=(0,a.isUrl)(e.envId)?null:await c(e);return await(0,a.getRecentCommentsApi)(t,e)},e.getVisitorsCount=async function(e={}){const t=(0,a.isUrl)(e.envId)?null:await c(e);return await(0,a.getVisitorsCountApi)(t,e)},e.init=u,Object.defineProperty(e,"version",{enumerable:!0,get:function(){return o.version}});var o=n(2199),i=n(824),s=n(1085),a=n(8129),l=t(n(9459));async function c(e){return await(0,i.install)(l["default"],e)}async function u(e={}){const t=(0,a.isUrl)(e.envId)?null:await c(e);(0,a.setLanguage)(e),(0,s.render)(t,e),await(0,a.updateVisitorsCount)(t,e)}n(9744),n(7441),n(5417),e["default"]=u}(),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();