-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtalk9.0.js
2 lines (2 loc) · 496 KB
/
talk9.0.js
1
2
/*! For license information please see twikoo.all.min.js.LICENSE.txt */
var root,factory;root=self,factory=function(){return function(){var __webpack_modules__={9215:function(e){"use strict";e.exports=JSON.parse('{"name":"@cloudbase/js-sdk","version":"1.5.0","description":"cloudbase javascript sdk","main":"dist/index.cjs.js","module":"dist/index.esm.js","miniprogram":"miniprogram_dist","typings":"./index.d.ts","scripts":{"lint":"eslint --fix \\"./src/**/*.ts\\" \\"./database/**/*.ts\\"","build":"rm -rf dist/ && gulp build","build:cdn":"gulp cdn","build:miniapp":"gulp miniapp","build:e2e":"rm -rf dist/ && NODE_ENV=e2e gulp e2e"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/TencentCloudBase/cloudbase-js-sdk"},"keywords":["tcb","cloudbase","Cloudbase","serverless","Serverless","javascript","JavaScript"],"files":["miniprogram_dist","**/dist/","/index.d.ts","**/package.json"],"components":["app","auth","database","functions","storage"],"author":"","license":"ISC","dependencies":{"@cloudbase/analytics":"^1.1.0","@cloudbase/app":"^1.3.0","@cloudbase/auth":"^1.4.0","@cloudbase/database":"0.9.18-next","@cloudbase/functions":"^1.3.0","@cloudbase/realtime":"^1.1.3","@cloudbase/storage":"^1.3.0","@cloudbase/types":"^1.1.2","@cloudbase/utilities":"^1.3.0"},"devDependencies":{"@babel/core":"^7.9.0","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.9.5","@babel/preset-typescript":"^7.9.0","@typescript-eslint/eslint-plugin":"^3.8.0","@typescript-eslint/parser":"^3.8.0","awesome-typescript-loader":"^5.2.1","babel-loader":"^8.1.0","eslint":"^7.6.0","eslint-config-alloy":"^3.7.4","gulp":"^4.0.2","gulp-clean":"^0.4.0","gulp-rename":"^2.0.0","gulp-sourcemaps":"^2.6.5","gulp-typescript":"^6.0.0-alpha.1","json-loader":"^0.5.7","merge-stream":"^2.0.0","package-json-cleanup-loader":"^1.0.3","typescript":"^3.8.3","webpack":"4.41.3","webpack-cli":"^3.3.11","webpack-node-externals":"^1.7.2","webpack-stream":"^5.2.1","webpack-visualizer-plugin":"^0.1.11"},"browserslist":["last 2 version","> 1%","not dead","chrome 53"],"gitHead":"14722e0bc29786b12a567b9450c28753531d9c77"}')},5323:function(e){"use strict";e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports["default"]=e.exports,e.exports.__esModule=!0},9581:function(e){"use strict";e.exports=function(e){if(Array.isArray(e))return e},e.exports["default"]=e.exports,e.exports.__esModule=!0},2263:function(e,t,n){"use strict";var r=n(5323);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports["default"]=e.exports,e.exports.__esModule=!0},7402:function(e){"use strict";function t(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(i,o){var a=e.apply(n,r);function s(e){t(a,i,o,s,u,"next",e)}function u(e){t(a,i,o,s,u,"throw",e)}s(undefined)}))}},e.exports["default"]=e.exports,e.exports.__esModule=!0},506:function(e){"use strict";e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports["default"]=e.exports,e.exports.__esModule=!0},5910:function(e){"use strict";function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports["default"]=e.exports,e.exports.__esModule=!0},6247:function(e){"use strict";e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports["default"]=e.exports,e.exports.__esModule=!0},3483:function(e){"use strict";e.exports=function(e){return e&&e.__esModule?e:{"default":e}},e.exports["default"]=e.exports,e.exports.__esModule=!0},7561:function(e){"use strict";e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports["default"]=e.exports,e.exports.__esModule=!0},1736:function(e){"use strict";e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==n["return"]||n["return"]()}finally{if(s)throw i}}return o}},e.exports["default"]=e.exports,e.exports.__esModule=!0},3770:function(e){"use strict";e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports["default"]=e.exports,e.exports.__esModule=!0},6180:function(e){"use strict";e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports["default"]=e.exports,e.exports.__esModule=!0},8461:function(e,t,n){"use strict";var r=n(9581),i=n(1736),o=n(2191),a=n(3770);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()},e.exports["default"]=e.exports,e.exports.__esModule=!0},1971:function(e,t,n){"use strict";var r=n(2263),i=n(7561),o=n(2191),a=n(6180);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports["default"]=e.exports,e.exports.__esModule=!0},3988:function(e){"use strict";function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports["default"]=e.exports,e.exports.__esModule=!0},2191:function(e,t,n){"use strict";var r=n(5323);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports["default"]=e.exports,e.exports.__esModule=!0},6304:function(e,t,n){"use strict";e.exports=n(3355)},1588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3125);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var i=n(9206);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},3125:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractStorage=t.AbstractSDKRequest=t.StorageType=void 0,t.StorageType=n,function(e){e.local="local",e.none="none",e.session="session"}(n||(t.StorageType=n={}));var r=function(){};t.AbstractSDKRequest=r;var i=function(){};t.AbstractStorage=i},9206:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),i="";for(var o in n)""===i?!r&&(t+="?"):i+="&",i+=o+"="+encodeURIComponent(n[o]);return/^http(s)?\:\/\//.test(t+=i)?t:""+e+t}},5086:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSdkVersion=function(e){a=e},t.getSdkVersion=function(){return a},t.setSdkName=function(e){s=e,i(e)},t.getSdkName=function(){return s},t.setEndPoint=d,t.setRegionLevelEndpoint=function(e,t,n){d(t?"//"+e+"."+t+".tcb-api.tencentcloudapi.com/web":"//"+e+".ap-shanghai.tcb-api.tencentcloudapi.com/web",n)},t.getEndPoint=function(){return{BASE_URL:l,PROTOCOL:c}},t.LOGINTYPE=t.DATA_VERSION=void 0;var r=n(1895),i=r.constants.setSdkName,o=r.constants.setProtocol,a="",s="@cloudbase/js-sdk";t.DATA_VERSION="2020-01-10";var u,c="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:",l="//tcb-api.tencentcloudapi.com/web";function d(e,t){l=e,t&&(c=t,o(t))}t.LOGINTYPE=u,function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.CUSTOM="CUSTOM",e.NULL="NULL"}(u||(t.LOGINTYPE=u={}))},2701:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVENTS=void 0,t.EVENTS={LOGIN_STATE_CHANGED:"loginStateChanged",LOGIN_STATE_EXPIRED:"loginStateExpire",LOGIN_TYPE_CHANGED:"loginTypeChanged",ANONYMOUS_CONVERTED:"anonymousConverted",ACCESS_TOKEN_REFRESHD:"refreshAccessToken"}},9304:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.cloudbase=void 0;var i=r(n(3988)),o=n(1895),a=r(n(4934)),s=n(9487),u=n(1510),c=n(1888),l=n(3704),d=n(5086),f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},p=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},h=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},_=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},g=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},v=o.adapters.useAdapters,m=o.adapters.useDefaultAdapter,y=o.adapters.RUNTIME,b=o.constants.ERRORS,k=o.constants.COMMUNITY_SITE_URL,E=o.utils.printWarn,A=o.helpers.catchErrorsDecorator,I={timeout:15e3,persistence:"session"},w=6e5,C={},D=new(function(){function e(e){this._config=e||this._config,this.authInstance=null}return Object.defineProperty(e.prototype,"config",{get:function(){return this._config},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"platform",{get:function(){return u.Platform},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cache",{get:function(){return(0,c.getCacheByEnvId)(this._config.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localCache",{get:function(){return(0,c.getLocalCache)(this._config.env)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"request",{get:function(){return(0,l.getRequestByEnvId)(this._config.env)},enumerable:!1,configurable:!0}),e.prototype.init=function(t){if(!t.env)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"env must not be specified"}));if(u.Platform.adapter||this._useDefaultAdapter(),this.requestClient=new u.Platform.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"["+(0,d.getSdkName)()+"][REQUEST TIMEOUT] request had been abort since didn't finished within"+t.timeout/1e3+"s"}),u.Platform.runtime!==y.WEB){if(!t.appSecret)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"invalid appSecret"}));var n=u.Platform.adapter.getAppSign?u.Platform.adapter.getAppSign():"";if(t.appSign&&n&&t.appSign!==n)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"invalid appSign"}));if(n&&(t.appSign=n),!t.appSign)throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"invalid appSign"}))}this._config=f(f({},I),t),this._config.timeout=this._formatTimeout(this._config.timeout);var r=this._config,i=r.env,o=r.persistence,a=r.debug,s=r.timeout,p=r.appSecret,h=r.appSign;(0,c.initCache)({env:i,persistence:o,debug:a,platformInfo:this.platform}),(0,l.initRequest)({env:i,region:t.region||"",timeout:s,appSecret:p,appSign:h}),t.region&&(0,d.setRegionLevelEndpoint)(i,t.region||"");var _=new e(this._config);return _.requestClient=this.requestClient,_},e.prototype.updateConfig=function(e){var t=e.persistence,n=e.debug;this._config.persistence=t,this._config.debug=n,(0,c.initCache)({env:this._config.env,persistence:t,debug:n,platformInfo:this.platform})},e.prototype.registerExtension=function(e){C[e.name]=e},e.prototype.invokeExtension=function(e,t){return _(this,void 0,void 0,(function(){var n;return g(this,(function(r){switch(r.label){case 0:if(!(n=C[e]))throw new Error(JSON.stringify({code:b.INVALID_PARAMS,msg:"extension:"+e+" must be registered before invoke"}));return[4,n.invoke(t,this)];case 1:return[2,r.sent()]}}))}))},e.prototype.useAdapters=function(e){var t=v(e)||{},n=t.adapter,r=t.runtime;n&&(u.Platform.adapter=n),r&&(u.Platform.runtime=r)},e.prototype.registerHook=function(t){(0,s.registerHook)(e,t)},e.prototype.registerComponent=function(t){(0,s.registerComponent)(e,t)},e.prototype.registerVersion=function(e){(0,d.setSdkVersion)(e)},e.prototype.registerSdkName=function(e){(0,d.setSdkName)(e)},e.prototype.registerEndPoint=function(e,t){(0,d.setEndPoint)(e,t)},e.prototype._useDefaultAdapter=function(){var e=m(),t=e.adapter,n=e.runtime;u.Platform.adapter=t,u.Platform.runtime=n},e.prototype._formatTimeout=function(e){switch(!0){case e>w:return E(b.INVALID_PARAMS,"timeout is greater than maximum value[10min]"),w;case e<100:return E(b.INVALID_PARAMS,"timeout is less than maximum value[100ms]"),100;default:return e}},p([A({mode:"sync",title:"Cloudbase 初始化失败",messages:["请确认以下各项:"," 1 - 调用 cloudbase.init() 的语法或参数是否正确"," 2 - 如果是非浏览器环境,是否配置了安全应用来源(https://docs.cloudbase.net/api-reference/webv2/adapter.html#jie-ru-liu-cheng)","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+k]}),h("design:type",Function),h("design:paramtypes",[Object]),h("design:returntype",e)],e.prototype,"init",null),p([A({title:"调用扩展能力失败",messages:["请确认以下各项:"," 1 - 调用 invokeExtension() 的语法或参数是否正确"," 2 - 被调用的扩展能力是否已经安装并通过 registerExtension() 注册","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+k]}),h("design:type",Function),h("design:paramtypes",[String,Object]),h("design:returntype",Promise)],e.prototype,"invokeExtension",null),e}());t.cloudbase=D,D.useAdapters(a["default"]);var O=D;t["default"]=O},1510:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Platform=void 0,t.Platform={}},1888:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initCache=function(e){var t=e.env,n=e.persistence,r=e.platformInfo,u={accessTokenKey:"access_token_"+t,accessTokenExpireKey:"access_token_expire_"+t,refreshTokenKey:"refresh_token_"+t,anonymousUuidKey:"anonymous_uuid_"+t,loginTypeKey:"login_type_"+t,userInfoKey:"user_info_"+t};a[t]?a[t].updatePersistence(n):a[t]=new o(i(i({},e),{keys:u,platformInfo:r,alwaysLocalKeys:["anonymousUuidKey"]})),s[t]=s[t]||new o(i(i({},e),{keys:u,platformInfo:r,persistence:"local"}))},t.getCacheByEnvId=function(e){return a[e]},t.getLocalCache=function(e){return s[e]};var r=n(1895),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=r.cache.CloudbaseCache,a={},s={}},9487:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerComponent=function(e,t){var n=t.name,r=t.namespace,u=t.entity,c=t.injectEvents,l=t.IIFE,d=void 0!==l&&l;if(a[n]||r&&e[r])throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"Duplicate component "+n}));if(d){if(!u||"function"!=typeof u)throw new Error(JSON.stringify({code:o.INVALID_PARAMS,msg:"IIFE component's entity must be a function"}));u.call(e)}if(a[n]=t,r?e.prototype[r]=u:s(e.prototype,u),c){var f=c.bus,p=c.events;if(!f||!p||0===p.length)return;var h=e.prototype.fire||function(){};e.prototype.events||(e.prototype.events={}),(e.prototype.events||{})[n]?e.prototype.events[n].events=i(e.prototype.events[n].events,p):e.prototype.events[n]={bus:f,events:p},e.prototype.fire=function(e,t){for(var n in h(e,t),this.events){var r=this.events[n],i=r.bus;if(r.events.includes(e)){i.fire(e,t);break}}}}},t.registerHook=function(e,t){var n=t.entity,r=t.target;if(!e.prototype.hasOwnProperty(r))throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"target:"+r+" is not exist"}));var a=e.prototype[r];if("function"!=typeof a)throw new Error(JSON.stringify({code:o.INVALID_OPERATION,msg:"target:"+r+" is not a function which is the only type supports hook"}));e.prototype[r]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.call.apply(n,i([this],e)),a.call.apply(a,i([this],e))}};var r=n(1895),i=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},o=r.constants.ERRORS,a={};function s(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:e===undefined&&(e={});break;case Array:e=[];break;default:return t}for(var n in t)t.hasOwnProperty(n)&&(e[n]=s(e[n],t[n]));return e}},3704:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initRequest=function(e){E[e.env]=new k(c(c({},e),{"throw":!0}))},t.getRequestByEnvId=function(e){return E[e]},t.CloudbaseRequest=void 0;var r=n(5086),i=n(1895),o=n(9304),a=n(1888),s=n(2701),u=n(1510),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},l=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},d=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},f=i.constants.ERRORS,p=i.utils.genSeqId,h=i.utils.isFormData,_=i.utils.formatUrl,g=i.utils.createSign,v=i.adapters.RUNTIME,m=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"];function y(e,t,n){var r=e[t];e[t]=function(t){var i={},o={};n.forEach((function(n){var r=n.call(e,t),a=r.data,s=r.headers;Object.assign(i,a),Object.assign(o,s)}));var a=t.data;return a&&function(){if(h(a))for(var e in i)a.append(e,i[e]);else t.data=c(c({},a),i)}(),t.headers=c(c({},t.headers||{}),o),r.call(e,t)}}function b(){var e=p();return{data:{seqId:e},headers:{"X-SDK-Version":"@cloudbase/js-sdk/"+(0,r.getSdkVersion)(),"x-seqid":e}}}var k=function(){function e(e){this._throwWhenRequestFail=!1,this.config=e,this._reqClass=new u.Platform.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"[@cloudbase/js-sdk] 请求在"+this.config.timeout/1e3+"s内未完成,已中断",restrictedMethods:["post"]}),this._throwWhenRequestFail=e["throw"]||!1,this._cache=(0,a.getCacheByEnvId)(this.config.env),this._localCache=(0,a.getLocalCache)(this.config.env),y(this._reqClass,"post",[b]),y(this._reqClass,"upload",[b]),y(this._reqClass,"download",[b])}return e.prototype.post=function(e){return l(this,void 0,void 0,(function(){return d(this,(function(t){switch(t.label){case 0:return[4,this._reqClass.post(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.upload=function(e){return l(this,void 0,void 0,(function(){return d(this,(function(t){switch(t.label){case 0:return[4,this._reqClass.upload(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.download=function(e){return l(this,void 0,void 0,(function(){return d(this,(function(t){switch(t.label){case 0:return[4,this._reqClass.download(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.refreshAccessToken=function(){return l(this,void 0,void 0,(function(){var e,t,n;return d(this,(function(r){switch(r.label){case 0:this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._refreshAccessTokenPromise];case 2:return e=r.sent(),[3,4];case 3:return n=r.sent(),t=n,[3,4];case 4:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return[2,e]}}))}))},e.prototype.getAccessToken=function(){return l(this,void 0,void 0,(function(){var e,t,n,r,i,o,a,s,u;return d(this,(function(c){switch(c.label){case 0:return e=this._cache.keys,t=e.accessTokenKey,n=e.accessTokenExpireKey,r=e.refreshTokenKey,[4,this._cache.getStoreAsync(r)];case 1:if(!c.sent())throw new Error(JSON.stringify({code:f.OPERATION_FAIL,msg:"refresh token is not exist, your local data might be messed up, please retry after clear localStorage or sessionStorage"}));return[4,this._cache.getStoreAsync(t)];case 2:return i=c.sent(),a=Number,[4,this._cache.getStoreAsync(n)];case 3:return o=a.apply(void 0,[c.sent()]),s=!0,(u=this._shouldRefreshAccessTokenHook)?[4,this._shouldRefreshAccessTokenHook(i,o)]:[3,5];case 4:u=!c.sent(),c.label=5;case 5:return u&&(s=!1),i&&o&&!(o<Date.now())||!s?[3,7]:[4,this.refreshAccessToken()];case 6:return[2,c.sent()];case 7:return[2,{accessToken:i,accessTokenExpire:o}]}}))}))},e.prototype.request=function(e,t,n){return l(this,void 0,void 0,(function(){var i,o,a,s,l,f,p,h,y,b,k,E,A,I,w,C,D,O,x,M,T,N,S,F,P,R;return d(this,(function(d){switch(d.label){case 0:return i="x-tcb-trace_"+this.config.env,o="application/x-www-form-urlencoded",a=c({action:e,dataVersion:r.DATA_VERSION,env:this.config.env},t),-1!==m.indexOf(e)?[3,3]:(s=this._cache.keys.refreshTokenKey,[4,this._cache.getStoreAsync(s)]);case 1:return d.sent()?(l=a,[4,this.getAccessToken()]):[3,3];case 2:l.access_token=d.sent().accessToken,d.label=3;case 3:if("storage.uploadFile"===e){for(p in f=new FormData)f.hasOwnProperty(p)&&f[p]!==undefined&&f.append(p,a[p]);o="multipart/form-data"}else for(p in o="application/json;charset=UTF-8",f={},a)a[p]!==undefined&&(f[p]=a[p]);return h={headers:{"content-type":o}},(null==n?void 0:n.onUploadProgress)&&(h.onUploadProgress=n.onUploadProgress),this.config.region&&(h.headers["X-TCB-Region"]=this.config.region),(y=this._localCache.getStore(i))&&(h.headers["X-TCB-Trace"]=y),u.Platform.runtime!==v.WEB&&(b=this.config,k=b.appSign,E=b.appSecret,A=Date.now(),I=E.appAccessKey,w=E.appAccessKeyId,C=g({data:f,timestamp:A,appAccessKeyId:w,appSign:k},I),h.headers["X-TCB-App-Source"]="timestamp="+A+";appAccessKeyId="+w+";appSign="+k+";sign="+C),D=t.parse,O=t.inQuery,x=t.search,M={env:this.config.env},D&&(M.parse=!0),O&&(M=c(c({},O),M)),T=(0,r.getEndPoint)(),N=T.BASE_URL,S=T.PROTOCOL,F=_(S,N,M),x&&(F+=x),[4,this.post(c({url:F,data:f},h))];case 4:if(P=d.sent(),(R=P.header&&P.header["x-tcb-trace"])&&this._localCache.setStore(i,R),200!==Number(P.status)&&200!==Number(P.statusCode)||!P.data)throw new Error("network request error");return[2,P]}}))}))},e.prototype.send=function(e,t){return void 0===t&&(t={}),l(this,void 0,void 0,(function(){var n;return d(this,(function(r){switch(r.label){case 0:return[4,this.request(e,t,{onUploadProgress:t.onUploadProgress})];case 1:return"ACCESS_TOKEN_EXPIRED"!==(n=r.sent()).data.code||-1!==m.indexOf(e)?[3,4]:[4,this.refreshAccessToken()];case 2:return r.sent(),[4,this.request(e,t,{onUploadProgress:t.onUploadProgress})];case 3:n=r.sent(),r.label=4;case 4:if(n.data.code&&this._throwWhenRequestFail)throw new Error(JSON.stringify({code:f.OPERATION_FAIL,msg:"["+n.data.code+"] "+n.data.message}));return[2,n.data]}}))}))},e.prototype._refreshAccessToken=function(e){return void 0===e&&(e=1),l(this,void 0,void 0,(function(){var t,n,i,a,u,c,l,p,h,_,g,v,m;return d(this,(function(d){switch(d.label){case 0:return t=this._cache.keys,n=t.accessTokenKey,i=t.accessTokenExpireKey,a=t.refreshTokenKey,u=t.loginTypeKey,c=t.anonymousUuidKey,[4,this._cache.removeStoreAsync(n)];case 1:return d.sent(),[4,this._cache.removeStoreAsync(i)];case 2:return d.sent(),[4,this._cache.getStoreAsync(a)];case 3:if(!(l=d.sent()))throw new Error(JSON.stringify({code:f.INVALID_OPERATION,msg:"not login"}));return p={refresh_token:l},[4,this.request("auth.fetchAccessTokenWithRefreshToken",p)];case 4:return(h=d.sent()).data.code?"SIGN_PARAM_INVALID"!==(_=h.data.code)&&"REFRESH_TOKEN_EXPIRED"!==_&&"INVALID_REFRESH_TOKEN"!==_?[3,11]:[4,this._cache.getStoreAsync(u)]:[3,12];case 5:return d.sent()===r.LOGINTYPE.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===_?[4,this._cache.getStoreAsync(c)]:[3,9];case 6:return g=d.sent(),[4,this._cache.getStoreAsync(a)];case 7:return v=d.sent(),[4,this.send("auth.signInAnonymously",{anonymous_uuid:g,refresh_token:v})];case 8:if(m=d.sent(),this._setRefreshToken(m.refresh_token),e>=1)return[2,this._refreshAccessToken(--e)];throw new Error(JSON.stringify({code:f.OPERATION_FAIL,message:"重试获取 refresh token 失败"}));case 9:return o.cloudbase.fire(s.EVENTS.LOGIN_STATE_EXPIRED),[4,this._cache.removeStoreAsync(a)];case 10:d.sent(),d.label=11;case 11:throw new Error(JSON.stringify({code:f.NETWORK_ERROR,msg:"refresh access_token failed:"+h.data.code}));case 12:return h.data.access_token?(o.cloudbase.fire(s.EVENTS.ACCESS_TOKEN_REFRESHD),[4,this._cache.setStoreAsync(n,h.data.access_token)]):[3,15];case 13:return d.sent(),[4,this._cache.setStoreAsync(i,h.data.access_token_expire+Date.now())];case 14:return d.sent(),[2,{accessToken:h.data.access_token,accessTokenExpire:h.data.access_token_expire}];case 15:return h.data.refresh_token?[4,this._cache.removeStoreAsync(a)]:[3,19];case 16:return d.sent(),[4,this._cache.setStoreAsync(a,h.data.refresh_token)];case 17:return d.sent(),[4,this._refreshAccessToken()];case 18:d.sent(),d.label=19;case 19:return[2]}}))}))},e.prototype._setRefreshToken=function(e){return l(this,void 0,void 0,(function(){var t,n,r,i;return d(this,(function(o){switch(o.label){case 0:return t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,[4,this._cache.removeStoreAsync(n)];case 1:return o.sent(),[4,this._cache.removeStoreAsync(r)];case 2:return o.sent(),[4,this._cache.setStoreAsync(i,e)];case 3:return o.sent(),[2]}}))}))},e}();t.CloudbaseRequest=k;var E={}},627:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LOGINTYPE=void 0,t.LOGINTYPE=n,function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL",e.PHONE="PHONE"}(n||(t.LOGINTYPE=n={}))},2198:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.registerAuth=function(e){try{e.registerComponent(N)}catch(t){console.warn(t)}},t.registerProvider=function(e,t){M.prototype[e]=function(n){var r="_"+e;return this[r]||(this[r]=new t(h(h({},n),this._config))),this[r]}},Object.defineProperty(t,"AuthProvider",{enumerable:!0,get:function(){return l.AuthProvider}}),t.eventBus=t.EVENTS=t.Auth=t.LoginState=void 0;var i=r(n(3988)),o=n(1895),a=n(9368),s=n(1424),u=n(8432),c=n(627),l=n(2251),d=n(4368),f=n(5518),p=n(4718),h=function(){return(h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},_=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},g=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},m=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},y=o.events.CloudbaseEventEmitter,b=o.adapters.RUNTIME,k=o.utils.printWarn,E=o.utils.throwError,A=o.utils.transformPhone,I=o.constants.ERRORS,w=o.constants.COMMUNITY_SITE_URL,C=o.helpers.catchErrorsDecorator,D=new y;t.eventBus=D;var O=function(){function e(e){var t=e.cache,n=e.request;this._cache=t,this._request=n,this._setUserInfo()}return e.prototype.checkLocalInfo=function(){return v(this,void 0,void 0,(function(){return m(this,(function(e){return this.uid=this._getLocalUserInfo("uid"),this.loginType=this._getLocalUserInfo("loginType"),this.openid=this._getLocalUserInfo("wxOpenId"),this.wxOpenId=this._getLocalUserInfo("wxOpenId"),this.wxPublicId=this._getLocalUserInfo("wxPublicId"),this.unionId=this._getLocalUserInfo("wxUnionId"),this.qqMiniOpenId=this._getLocalUserInfo("qqMiniOpenId"),this.customUserId=this._getLocalUserInfo("customUserId"),this.nickName=this._getLocalUserInfo("nickName"),this.gender=this._getLocalUserInfo("gender"),this.avatarUrl=this._getLocalUserInfo("avatarUrl"),this.email=this._getLocalUserInfo("email"),this.hasPassword=Boolean(this._getLocalUserInfo("hasPassword")),this.phone=this._getLocalUserInfo("phone"),this.location={country:this._getLocalUserInfo("country"),province:this._getLocalUserInfo("province"),city:this._getLocalUserInfo("city")},[2]}))}))},e.prototype.checkLocalInfoAsync=function(){return v(this,void 0,void 0,(function(){var e,t,n,r,i,o,a,s,u,c,l,d,f,p,h,_,g;return m(this,(function(v){switch(v.label){case 0:return e=this,[4,this._getLocalUserInfoAsync("uid")];case 1:return e.uid=v.sent(),t=this,[4,this._getLocalUserInfoAsync("loginType")];case 2:return t.loginType=v.sent(),n=this,[4,this._getLocalUserInfoAsync("wxOpenId")];case 3:return n.openid=v.sent(),r=this,[4,this._getLocalUserInfoAsync("wxOpenId")];case 4:return r.wxOpenId=v.sent(),i=this,[4,this._getLocalUserInfoAsync("wxPublicId")];case 5:return i.wxPublicId=v.sent(),o=this,[4,this._getLocalUserInfoAsync("wxUnionId")];case 6:return o.unionId=v.sent(),a=this,[4,this._getLocalUserInfoAsync("qqMiniOpenId")];case 7:return a.qqMiniOpenId=v.sent(),s=this,[4,this._getLocalUserInfoAsync("customUserId")];case 8:return s.customUserId=v.sent(),u=this,[4,this._getLocalUserInfoAsync("nickName")];case 9:return u.nickName=v.sent(),c=this,[4,this._getLocalUserInfoAsync("gender")];case 10:return c.gender=v.sent(),l=this,[4,this._getLocalUserInfoAsync("avatarUrl")];case 11:return l.avatarUrl=v.sent(),d=this,[4,this._getLocalUserInfoAsync("email")];case 12:return d.email=v.sent(),f=this,p=Boolean,[4,this._getLocalUserInfoAsync("hasPassword")];case 13:return f.hasPassword=p.apply(void 0,[v.sent()]),h=this,[4,this._getLocalUserInfoAsync("phone")];case 14:return h.phone=v.sent(),_=this,g={},[4,this._getLocalUserInfoAsync("country")];case 15:return g.country=v.sent(),[4,this._getLocalUserInfoAsync("province")];case 16:return g.province=v.sent(),[4,this._getLocalUserInfoAsync("city")];case 17:return _.location=(g.city=v.sent(),g),[2]}}))}))},e.prototype.linkWithTicket=function(e){if("string"!=typeof e)throw new Error("ticket must be string");return this._request.send("auth.linkWithTicket",{ticket:e})},e.prototype.linkWithRedirect=function(e){e.signInWithRedirect()},e.prototype.getLinkedUidList=function(){return v(this,void 0,void 0,(function(){var e,t,n,r,i,o;return m(this,(function(a){switch(a.label){case 0:return[4,this._request.send("auth.getLinkedUidList",{})];case 1:for(e=a.sent().data,t=!1,n=e.users,r=0,i=n;r<i.length;r++)if((o=i[r]).wxOpenId&&o.wxPublicId){t=!0;break}return[2,{users:n,hasPrimaryUid:t}]}}))}))},e.prototype.setPrimaryUid=function(e){return this._request.send("auth.setPrimaryUid",{uid:e})},e.prototype.unlink=function(e){return this._request.send("auth.unlink",{platform:e})},e.prototype.update=function(e){return v(this,void 0,void 0,(function(){var t,n,r,i,o,a,s;return m(this,(function(u){switch(u.label){case 0:return t=e.nickName,n=e.gender,r=e.avatarUrl,i=e.province,o=e.country,a=e.city,[4,this._request.send("auth.updateUserInfo",{nickName:t,gender:n,avatarUrl:r,province:i,country:o,city:a})];case 1:return s=u.sent().data,this._setLocalUserInfo(s),[2]}}))}))},e.prototype.updatePassword=function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})},e.prototype.updateEmail=function(e){return this._request.send("auth.updateEmail",{newEmail:e})},e.prototype.updateUsername=function(e){return"string"!=typeof e&&E(I.INVALID_PARAMS,"username must be a string"),this._request.send("auth.updateUsername",{username:e})},e.prototype.refresh=function(){return v(this,void 0,void 0,(function(){var e;return m(this,(function(t){switch(t.label){case 0:return[4,this._request.send("auth.getUserInfo",{})];case 1:return e=t.sent().data,this._setLocalUserInfo(e),[2,e]}}))}))},e.prototype.linkWithPhoneNumber=function(e,t){return v(this,void 0,void 0,(function(){return m(this,(function(n){return[2,this._request.send("auth.linkOrUpdatePhoneNumber",{phoneNumber:A(e),phoneCode:t})]}))}))},e.prototype.updatePhoneNumber=function(e,t){return v(this,void 0,void 0,(function(){return m(this,(function(n){return[2,this._request.send("auth.linkOrUpdatePhoneNumber",{phoneNumber:A(e),phoneCode:t})]}))}))},e.prototype._getLocalUserInfo=function(e){var t=this._cache.keys.userInfoKey;return this._cache.getStore(t)[e]},e.prototype._getLocalUserInfoAsync=function(e){return v(this,void 0,void 0,(function(){var t;return m(this,(function(n){switch(n.label){case 0:return t=this._cache.keys.userInfoKey,[4,this._cache.getStoreAsync(t)];case 1:return[2,n.sent()[e]]}}))}))},e.prototype._setUserInfo=function(){var e=this,t=this._cache.keys.userInfoKey,n=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl","phone"].forEach((function(t){e[t]=n[t]})),this.location={country:n.country,province:n.province,city:n.city}},e.prototype._setLocalUserInfo=function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this._setUserInfo()},_([C({title:"绑定自定义登录失败",messages:["请确认以下各项:"," 1 - 调用 User.linkWithTicket() 的语法或参数是否正确"," 2 - 此账户是否已经绑定自定义登录"," 3 - ticket 参数是否归属当前环境"," 4 - 创建 ticket 的自定义登录私钥是否过期","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",Promise)],e.prototype,"linkWithTicket",null),_([C({title:"绑定第三方登录方式失败",messages:["请确认以下各项:"," 1 - 调用 User.linkWithRedirect() 的语法或参数是否正确"," 2 - 此账户是否已经绑定此第三方"," 3 - 此第三方是否已经授权","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[Object]),g("design:returntype",void 0)],e.prototype,"linkWithRedirect",null),_([C({title:"获取账户列表失败",messages:["请确认以下各项:"," 1 - 调用 User.getLinkedUidList() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"getLinkedUidList",null),_([C({title:"设置微信主账号失败",messages:["请确认以下各项:"," 1 - 调用 User.setPrimaryUid() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",void 0)],e.prototype,"setPrimaryUid",null),_([C({title:"接触绑定失败",messages:["请确认以下各项:"," 1 - 调用 User.unlink() 的语法或参数是否正确"," 2 - 当前账户是否已经与此登录方式解绑","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",void 0)],e.prototype,"unlink",null),_([C({title:"更新用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.update() 的语法或参数是否正确"," 2 - 用户信息中是否包含非法值","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[Object]),g("design:returntype",Promise)],e.prototype,"update",null),_([C({title:"更新密码失败",messages:["请确认以下各项:"," 1 - 调用 User.updatePassword() 的语法或参数是否正确"," 3 - 新密码中是否包含非法字符","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String,String]),g("design:returntype",void 0)],e.prototype,"updatePassword",null),_([C({title:"更新邮箱地址失败",messages:["请确认以下各项:"," 1 - 调用 User.updateEmail() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",void 0)],e.prototype,"updateEmail",null),_([C({title:"更新用户名失败",messages:["请确认以下各项:"," 1 - 调用 User.updateUsername() 的语法或参数是否正确"," 2 - 当前环境是否开通了用户名密码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",void 0)],e.prototype,"updateUsername",null),_([C({title:"刷新本地用户信息失败",messages:["请确认以下各项:"," 1 - 调用 User.refresh() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"refresh",null),_([C({title:"绑定手机号失败",messages:["请确认以下各项:"," 1 - 调用 auth().linkWithPhoneNumber() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String,String]),g("design:returntype",Promise)],e.prototype,"linkWithPhoneNumber",null),_([C({title:"更新手机号失败",messages:["请确认以下各项:"," 1 - 调用语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String,String]),g("design:returntype",Promise)],e.prototype,"updatePhoneNumber",null),e}(),x=function(){function e(e){var t=e.envId,n=e.cache,r=e.request;t||E(I.INVALID_PARAMS,"envId is not defined"),this._cache=n,this.user=new O({cache:n,request:r})}return e.prototype.checkLocalState=function(){return v(this,void 0,void 0,(function(){var e,t,n,r,i,o,a;return m(this,(function(s){return e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=e.accessTokenExpireKey,i=this._cache.getStore(t),o=this._cache.getStore(n),a=this._cache.getStore(r),this.credential={refreshToken:i,accessToken:o,accessTokenExpire:a},this._loginType=this._cache.getStore(this._cache.keys.loginTypeKey),this.user.checkLocalInfo(),[2]}))}))},e.prototype.checkLocalStateAsync=function(){return v(this,void 0,void 0,(function(){var e,t,n,r,i,o,a,s;return m(this,(function(u){switch(u.label){case 0:return e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=e.accessTokenExpireKey,[4,this._cache.getStoreAsync(t)];case 1:return i=u.sent(),[4,this._cache.getStoreAsync(n)];case 2:return o=u.sent(),[4,this._cache.getStoreAsync(r)];case 3:return a=u.sent(),this.credential={refreshToken:i,accessToken:o,accessTokenExpire:a},s=this,[4,this._cache.getStoreAsync(this._cache.keys.loginTypeKey)];case 4:return s._loginType=u.sent(),[4,this.user.checkLocalInfoAsync()];case 5:return u.sent(),[2]}}))}))},Object.defineProperty(e.prototype,"isAnonymousAuth",{get:function(){return this.loginType===c.LOGINTYPE.ANONYMOUS},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCustomAuth",{get:function(){return this.loginType===c.LOGINTYPE.CUSTOM},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isWeixinAuth",{get:function(){return this.loginType===c.LOGINTYPE.WECHAT||this.loginType===c.LOGINTYPE.WECHAT_OPEN||this.loginType===c.LOGINTYPE.WECHAT_PUBLIC},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isUsernameAuth",{get:function(){return this.loginType===c.LOGINTYPE.USERNAME},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loginType",{get:function(){return this._loginType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPhoneAuth",{get:function(){return this.loginType===c.LOGINTYPE.PHONE},enumerable:!1,configurable:!0}),e}();t.LoginState=x;var M=function(){function e(e){this._config=e,this._cache=e.cache,this._request=e.request,this._runtime=e.runtime||b.WEB,D.on(T.LOGIN_TYPE_CHANGED,this._onLoginTypeChanged.bind(this))}return Object.defineProperty(e.prototype,"currentUser",{get:function(){if("async"!==this._cache.mode){var e=this.hasLoginState();return e&&e.user||null}k(I.INVALID_OPERATION,"current platform's storage is asynchronous, please use getCurrenUser insteed")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loginType",{get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)},enumerable:!1,configurable:!0}),e.prototype.getCurrenUser=function(){return v(this,void 0,void 0,(function(){var e;return m(this,(function(t){switch(t.label){case 0:return[4,this.getLoginState()];case 1:return(e=t.sent())?[4,e.user.checkLocalInfoAsync()]:[3,3];case 2:return t.sent(),[2,e.user||null];case 3:return[2,null]}}))}))},e.prototype.getLoginType=function(){return v(this,void 0,void 0,(function(){return m(this,(function(e){switch(e.label){case 0:return[4,this._cache.getStoreAsync(this._cache.keys.loginTypeKey)];case 1:return[2,e.sent()]}}))}))},e.prototype.getAccessToken=function(){return v(this,void 0,void 0,(function(){var e;return m(this,(function(t){switch(t.label){case 0:return e={},[4,this._request.getAccessToken()];case 1:return[2,(e.accessToken=t.sent().accessToken,e.env=this._config.env,e)]}}))}))},e.prototype.weixinAuthProvider=function(e){var t=e.appid,n=e.scope,r=e.state;return this._weixinAuthProvider||(this._weixinAuthProvider=new a.WeixinAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request,runtime:this._runtime}),t,n,r)),this._weixinAuthProvider},e.prototype.anonymousAuthProvider=function(){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new s.AnonymousAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._anonymousAuthProvider},e.prototype.customAuthProvider=function(){return this._customAuthProvider||(this._customAuthProvider=new u.CustomAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._customAuthProvider},e.prototype.emailAuthProvider=function(){return this._emailAuthProvider||(this._emailAuthProvider=new d.EmailAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._emailAuthProvider},e.prototype.usernameAuthProvider=function(){return this._usernameAuthProvider||(this._usernameAuthProvider=new f.UsernameAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._usernameAuthProvider},e.prototype.phoneAuthProvider=function(){return this._phoneAuthProvider||(this._phoneAuthProvider=new p.PhoneAuthProvider(h(h({},this._config),{cache:this._cache,request:this._request}))),this._phoneAuthProvider},e.prototype.signInWithUsernameAndPassword=function(e,t){return v(this,void 0,void 0,(function(){return m(this,(function(n){return[2,this.usernameAuthProvider().signIn(e,t)]}))}))},e.prototype.isUsernameRegistered=function(e){return v(this,void 0,void 0,(function(){var t;return m(this,(function(n){switch(n.label){case 0:return"string"!=typeof e&&E(I.INVALID_PARAMS,"username must be a string"),[4,this._request.send("auth.isUsernameRegistered",{username:e})];case 1:return[2,null==(t=n.sent().data)?void 0:t.isRegistered]}}))}))},e.prototype.signInWithEmailAndPassword=function(e,t){return v(this,void 0,void 0,(function(){return m(this,(function(n){return[2,this.emailAuthProvider().signIn(e,t)]}))}))},e.prototype.signUpWithEmailAndPassword=function(e,t){return v(this,void 0,void 0,(function(){return m(this,(function(n){return[2,this.emailAuthProvider().signUp(e,t)]}))}))},e.prototype.sendPasswordResetEmail=function(e){return v(this,void 0,void 0,(function(){return m(this,(function(t){return[2,this.emailAuthProvider().resetPassword(e)]}))}))},e.prototype.signOut=function(){return v(this,void 0,void 0,(function(){var e,t,n,r,i,o,a;return m(this,(function(s){switch(s.label){case 0:return[4,this.getLoginType()];case 1:if(s.sent()===c.LOGINTYPE.ANONYMOUS)throw new Error(JSON.stringify({code:I.INVALID_OPERATION,msg:"anonymous user doesn't support signOut action"}));return e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=e.accessTokenExpireKey,i="auth.logout",[4,this._cache.getStoreAsync(t)];case 2:return(o=s.sent())?[4,this._request.send(i,{refresh_token:o})]:[2];case 3:return a=s.sent(),this._cache.removeStoreAsync(t),this._cache.removeStoreAsync(n),this._cache.removeStoreAsync(r),D.fire(T.LOGIN_STATE_CHANGED),D.fire(T.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:c.LOGINTYPE.NULL,persistence:this._config.persistence}),[2,a]}}))}))},e.prototype.onLoginStateChanged=function(e){return v(this,void 0,void 0,(function(){var t,n=this;return m(this,(function(r){switch(r.label){case 0:return D.on(T.LOGIN_STATE_CHANGED,(function(){return v(n,void 0,void 0,(function(){var t;return m(this,(function(n){switch(n.label){case 0:return[4,this.getLoginState()];case 1:return t=n.sent(),e.call(this,t),[2]}}))}))})),[4,this.getLoginState()];case 1:return t=r.sent(),e.call(this,t),[2]}}))}))},e.prototype.onLoginStateExpired=function(e){D.on(T.LOGIN_STATE_EXPIRED,e.bind(this))},e.prototype.onAccessTokenRefreshed=function(e){D.on(T.ACCESS_TOKEN_REFRESHD,e.bind(this))},e.prototype.onAnonymousConverted=function(e){D.on(T.ANONYMOUS_CONVERTED,e.bind(this))},e.prototype.onLoginTypeChanged=function(e){var t=this;D.on(T.LOGIN_TYPE_CHANGED,(function(){return v(t,void 0,void 0,(function(){var t;return m(this,(function(n){switch(n.label){case 0:return[4,this.getLoginState()];case 1:return t=n.sent(),e.call(this,t),[2]}}))}))}))},e.prototype.hasLoginState=function(){if("async"!==this._cache.mode){var e=this._cache.keys.refreshTokenKey;if(this._cache.getStore(e)){var t=new x({envId:this._config.env,cache:this._cache,request:this._request});return t.checkLocalState(),t}return null}k(I.INVALID_OPERATION,"current platform's storage is asynchronous, please use getLoginState insteed")},e.prototype.getLoginState=function(){return v(this,void 0,void 0,(function(){var e,t;return m(this,(function(n){switch(n.label){case 0:return e=this._cache.keys.refreshTokenKey,[4,this._cache.getStoreAsync(e)];case 1:return n.sent()?[4,(t=new x({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()]:[3,3];case 2:return n.sent(),[2,t];case 3:return[2,null]}}))}))},e.prototype.shouldRefreshAccessToken=function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)},e.prototype.getUserInfo=function(){return v(this,void 0,void 0,(function(){var e;return m(this,(function(t){switch(t.label){case 0:return[4,this._request.send("auth.getUserInfo",{})];case 1:return(e=t.sent()).code?[2,e]:[2,h(h({},e.data),{requestId:e.seqId})]}}))}))},e.prototype.getAuthHeader=function(){var e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(n)+"/@@/"+r}},e.prototype.getAuthHeaderAsync=function(){return v(this,void 0,void 0,(function(){var e,t,n,r;return m(this,(function(i){switch(i.label){case 0:return[4,this._request.refreshAccessToken()];case 1:return i.sent(),e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,[4,this._cache.getStoreAsync(t)];case 2:return r=i.sent(),[4,this._cache.getStoreAsync(n)];case 3:return[2,{"x-cloudbase-credentials":i.sent()+"/@@/"+r}]}}))}))},e.prototype.sendPhoneCode=function(e){return v(this,void 0,void 0,(function(){return m(this,(function(t){switch(t.label){case 0:return[4,this._request.send("auth.sendPhoneCode",{phoneNumber:A(e)})];case 1:return[2,"Ok"===t.sent().data.SendStatus]}}))}))},e.prototype.signUpWithPhoneCode=function(e,t,n){return v(this,void 0,void 0,(function(){return m(this,(function(r){return[2,this.phoneAuthProvider().signUp(e,t,n)]}))}))},e.prototype.signInWithPhoneCodeOrPassword=function(e){return v(this,void 0,void 0,(function(){return m(this,(function(t){return[2,this.phoneAuthProvider().signIn(e)]}))}))},e.prototype._onLoginTypeChanged=function(e){return v(this,void 0,void 0,(function(){var t,n,r;return m(this,(function(i){switch(i.label){case 0:return t=e.data,n=t.loginType,r=t.persistence,t.env!==this._config.env?[2]:[4,this._cache.updatePersistenceAsync(r)];case 1:return i.sent(),[4,this._cache.setStoreAsync(this._cache.keys.loginTypeKey,n)];case 2:return i.sent(),[2]}}))}))},_([C({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 调用 auth().getCurrenUser() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"getCurrenUser",null),_([C({title:"获取用户是否被占用失败",messages:["请确认以下各项:"," 1 - 调用 auth().isUsernameRegistered() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",Promise)],e.prototype,"isUsernameRegistered",null),_([C({title:"用户登出失败",messages:["请确认以下各项:"," 1 - 调用 auth().signOut() 的语法或参数是否正确"," 2 - 当前用户是否为匿名登录(匿名登录不支持signOut)","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"signOut",null),_([C({title:"获取本地登录态失败",messages:["请确认以下各项:"," 1 - 调用 auth().getLoginState() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"getLoginState",null),_([C({title:"获取用户信息失败",messages:["请确认以下各项:"," 1 - 是否已登录"," 2 - 调用 auth().getUserInfo() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[]),g("design:returntype",Promise)],e.prototype,"getUserInfo",null),_([C({title:"发送短信验证码失败",messages:["请确认以下各项:"," 1 - 调用语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+w]}),g("design:type",Function),g("design:paramtypes",[String]),g("design:returntype",Promise)],e.prototype,"sendPhoneCode",null),e}();t.Auth=M;var T={LOGIN_STATE_CHANGED:"loginStateChanged",LOGIN_STATE_EXPIRED:"loginStateExpire",LOGIN_TYPE_CHANGED:"loginTypeChanged",ANONYMOUS_CONVERTED:"anonymousConverted",ACCESS_TOKEN_REFRESHD:"refreshAccessToken"};t.EVENTS=T;var N={name:"auth",namespace:"auth",injectEvents:{bus:D,events:[T.LOGIN_TYPE_CHANGED,T.LOGIN_STATE_EXPIRED,T.LOGIN_STATE_CHANGED,T.ACCESS_TOKEN_REFRESHD,T.ANONYMOUS_CONVERTED]},entity:function(e){if(void 0===e&&(e={region:"",persistence:"session"}),this.authInstance)return k(I.INVALID_OPERATION,"every cloudbase instance should has only one auth object"),this.authInstance;var t=this.platform,n=t.adapter,r=t.runtime,i=e.persistence||n.primaryStorage;i&&i!==this.config.persistence&&this.updateConfig({persistence:i});var o=this.config,a=o.env,s=o.persistence,u=o.debug;return this.authInstance=new M({env:a,region:e.region,persistence:s,debug:u,cache:this.cache,request:this.request,runtime:r}),this.authInstance}};try{cloudbase.registerComponent(N)}catch(S){}},1424:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousAuthProvider=void 0;var i,o=r(n(3988)),a=n(2251),s=n(1895),u=n(627),c=n(2198),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},_=s.constants.ERRORS,g=s.constants.COMMUNITY_SITE_URL,v=s.utils.throwError,m=s.utils.isString,y=s.events.addEventListener,b=s.helpers.catchErrorsDecorator,k=function(e){function t(t){var n=e.call(this,t)||this;return n._onConverted=n._onConverted.bind(n),y(c.EVENTS.ANONYMOUS_CONVERTED,n._onConverted),n}return l(t,e),t.prototype.signIn=function(){return p(this,void 0,void 0,(function(){var e,t,n,r,i,o,a;return h(this,(function(s){switch(s.label){case 0:return[4,this._cache.updatePersistenceAsync("local")];case 1:return s.sent(),e=this._cache.keys,t=e.anonymousUuidKey,n=e.refreshTokenKey,[4,this._cache.getStoreAsync(t)];case 2:return r=s.sent(),[4,this._cache.getStoreAsync(n)];case 3:return i=s.sent(),[4,this._request.send("auth.signInAnonymously",{anonymous_uuid:r,refresh_token:i})];case 4:return(o=s.sent()).uuid&&o.refresh_token?[4,this._setAnonymousUUID(o.uuid)]:[3,10];case 5:return s.sent(),[4,this.setRefreshToken(o.refresh_token)];case 6:return s.sent(),[4,this._request.refreshAccessToken()];case 7:return s.sent(),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.ANONYMOUS,persistence:"local"}),c.eventBus.fire(c.EVENTS.LOGIN_STATE_CHANGED),[4,(a=new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()];case 8:return s.sent(),[4,a.user.refresh()];case 9:return s.sent(),[2,a];case 10:throw new Error(JSON.stringify({code:_.OPERATION_FAIL,msg:JSON.stringify(o)||"anonymous signIn failed"}))}}))}))},t.prototype.linkAndRetrieveDataWithTicket=function(e){return p(this,void 0,void 0,(function(){var t,n,r,i,o,a,s;return h(this,(function(l){switch(l.label){case 0:return m(e)||v(_.INVALID_PARAMS,"ticket must be a string"),t=this._cache.keys,n=t.anonymousUuidKey,r=t.refreshTokenKey,[4,this._cache.getStoreAsync(n)];case 1:return i=l.sent(),[4,this._cache.getStoreAsync(r)];case 2:return o=l.sent(),[4,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:o,ticket:e})];case 3:return(a=l.sent()).refresh_token?[4,this._clearAnonymousUUID()]:[3,8];case 4:return l.sent(),[4,this.setRefreshToken(a.refresh_token)];case 5:return l.sent(),[4,this._request.refreshAccessToken()];case 6:return l.sent(),c.eventBus.fire(c.EVENTS.ANONYMOUS_CONVERTED,{env:this._config.env}),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{loginType:u.LOGINTYPE.CUSTOM,persistence:"local"}),[4,(s=new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()];case 7:return l.sent(),[2,s];case 8:v(_.OPERATION_FAIL,JSON.stringify(a)||"linkAndRetrieveDataWithTicket failed"),l.label=9;case 9:return[2]}}))}))},t.prototype._setAnonymousUUID=function(e){return p(this,void 0,void 0,(function(){var t,n,r;return h(this,(function(i){switch(i.label){case 0:return t=this._cache.keys,n=t.anonymousUuidKey,r=t.loginTypeKey,[4,this._cache.removeStoreAsync(n)];case 1:return i.sent(),[4,this._cache.setStoreAsync(n,e)];case 2:return i.sent(),[4,this._cache.setStoreAsync(r,u.LOGINTYPE.ANONYMOUS)];case 3:return i.sent(),[2]}}))}))},t.prototype._clearAnonymousUUID=function(){return p(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return[4,this._cache.removeStoreAsync(this._cache.keys.anonymousUuidKey)];case 1:return e.sent(),[2]}}))}))},t.prototype._onConverted=function(e){return p(this,void 0,void 0,(function(){return h(this,(function(t){switch(t.label){case 0:return e.data.env!==this._config.env?[2]:[4,this._cache.updatePersistenceAsync(this._config.persistence)];case 1:return t.sent(),[2]}}))}))},d([b({title:"匿名登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了匿名登录"," 2 - 调用 auth().anonymouseProvider().signIn() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+g]}),f("design:type",Function),f("design:paramtypes",[]),f("design:returntype",Promise)],t.prototype,"signIn",null),t}(a.AuthProvider);t.AnonymousAuthProvider=k},2251:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthProvider=void 0;var r=n(2198),i=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},o=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=function(){function e(e){this._config=e,this._cache=e.cache,this._request=e.request}return e.prototype.checkLocalLoginState=function(){return i(this,void 0,void 0,(function(){var e,t,n,i,a,s;return o(this,(function(o){switch(o.label){case 0:return e=this._cache.keys,t=e.accessTokenKey,n=e.accessTokenExpireKey,[4,this._cache.getStoreAsync(t)];case 1:return i=o.sent(),[4,this._cache.getStoreAsync(n)];case 2:return a=o.sent(),i?a&&a>Date.now()?[4,(s=new r.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()]:[3,4]:[3,7];case 3:return o.sent(),[2,s];case 4:return[4,this._cache.removeStoreAsync(t)];case 5:return o.sent(),[4,this._cache.removeStoreAsync(n)];case 6:o.sent(),o.label=7;case 7:return[2]}}))}))},e.prototype.setRefreshToken=function(e){return i(this,void 0,void 0,(function(){var t,n,r,i;return o(this,(function(o){switch(o.label){case 0:return t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,[4,this._cache.removeStoreAsync(n)];case 1:return o.sent(),[4,this._cache.removeStoreAsync(r)];case 2:return o.sent(),[4,this._cache.setStoreAsync(i,e)];case 3:return o.sent(),[2]}}))}))},e.prototype.setAccessToken=function(e,t){return i(this,void 0,void 0,(function(){var n,r,i;return o(this,(function(o){switch(o.label){case 0:return n=this._cache.keys,r=n.accessTokenKey,i=n.accessTokenExpireKey,[4,this._cache.setStoreAsync(r,e)];case 1:return o.sent(),[4,this._cache.setStoreAsync(i,t)];case 2:return o.sent(),[2]}}))}))},e.prototype.refreshUserInfo=function(){return i(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return[4,this._request.send("auth.getUserInfo",{})];case 1:return e=t.sent().data,[4,this.setLocalUserInfo(e)];case 2:return t.sent(),[2,e]}}))}))},e.prototype.setLocalUserInfo=function(e){return i(this,void 0,void 0,(function(){var t;return o(this,(function(n){switch(n.label){case 0:return t=this._cache.keys.userInfoKey,[4,this._cache.setStoreAsync(t,e)];case 1:return n.sent(),[2]}}))}))},e}();t.AuthProvider=a},8432:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.CustomAuthProvider=void 0;var i,o=r(n(3988)),a=n(1895),s=n(2251),u=n(627),c=n(2198),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},_=a.constants.ERRORS,g=a.constants.COMMUNITY_SITE_URL,v=a.utils.isString,m=a.helpers.catchErrorsDecorator,y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.signIn=function(e){return p(this,void 0,void 0,(function(){var t,n,r,i,o,a,s;return h(this,(function(l){switch(l.label){case 0:if(!v(e))throw new Error(JSON.stringify({code:_.INVALID_PARAMS,msg:"ticket must be a string"}));return t=this._cache.keys.refreshTokenKey,i=(r=this._request).send,o=["auth.signInWithTicket"],a={ticket:e},[4,this._cache.getStoreAsync(t)];case 1:return[4,i.apply(r,o.concat([(a.refresh_token=l.sent()||"",a)]))];case 2:return(n=l.sent()).refresh_token?[4,this.setRefreshToken(n.refresh_token)]:[3,7];case 3:return l.sent(),[4,this._request.refreshAccessToken()];case 4:return l.sent(),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.CUSTOM,persistence:this._config.persistence}),c.eventBus.fire(c.EVENTS.LOGIN_STATE_CHANGED),[4,this.refreshUserInfo()];case 5:return l.sent(),[4,(s=new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()];case 6:return l.sent(),[2,s];case 7:throw new Error(JSON.stringify({code:_.OPERATION_FAIL,msg:"custom signIn failed"}))}}))}))},d([m({title:"自定义登录失败",messages:["请确认以下各项:"," 1 - 当前环境是否开启了自定义登录"," 2 - 调用 auth().customAuthProvider().signIn() 的语法或参数是否正确"," 3 - ticket 是否归属于当前环境"," 4 - 创建 ticket 的自定义登录私钥是否过期","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+g]}),f("design:type",Function),f("design:paramtypes",[String]),f("design:returntype",Promise)],t.prototype,"signIn",null),t}(s.AuthProvider);t.CustomAuthProvider=y},4368:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.EmailAuthProvider=void 0;var i,o=r(n(3988)),a=n(1895),s=n(2251),u=n(627),c=n(2198),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},_=a.utils.throwError,g=a.utils.isString,v=a.constants.ERRORS,m=a.constants.COMMUNITY_SITE_URL,y=a.helpers.catchErrorsDecorator,b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.signIn=function(e,t){return p(this,void 0,void 0,(function(){var n,r,i,o,a;return h(this,(function(s){switch(s.label){case 0:return g(e)||_(v.INVALID_PARAMS,"email must be a string"),n=this._cache.keys.refreshTokenKey,[4,this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(n)||""})];case 1:return r=s.sent(),i=r.refresh_token,o=r.access_token,a=r.access_token_expire,i?[4,this.setRefreshToken(i)]:[3,8];case 2:return s.sent(),o&&a?[4,this.setAccessToken(o,a)]:[3,4];case 3:return s.sent(),[3,6];case 4:return[4,this._request.refreshAccessToken()];case 5:s.sent(),s.label=6;case 6:return[4,this.refreshUserInfo()];case 7:return s.sent(),c.eventBus.fire(c.EVENTS.LOGIN_STATE_CHANGED),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.EMAIL,persistence:this._config.persistence}),[2,new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})];case 8:r.code?_(v.OPERATION_FAIL,"Email login fail["+r.code+"] "+r.message):_(v.OPERATION_FAIL,"Email login fail"),s.label=9;case 9:return[2]}}))}))},t.prototype.signUp=function(e,t){return p(this,void 0,void 0,(function(){return h(this,(function(n){return[2,this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})]}))}))},t.prototype.resetPassword=function(e){return p(this,void 0,void 0,(function(){return h(this,(function(t){return[2,this._request.send("auth.sendPasswordResetEmail",{email:e})]}))}))},t.prototype.resetPasswordWithToken=function(e,t){return p(this,void 0,void 0,(function(){return h(this,(function(n){return[2,this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})]}))}))},t.prototype.activate=function(e){return p(this,void 0,void 0,(function(){return h(this,(function(t){return[2,this._request.send("auth.activateEndUserMail",{token:e})]}))}))},d([y({title:"邮箱密码登录失败",messages:["请确认以下各项:"," 1 - 调用 auth().emailAuthProvider() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录"," 3 - 邮箱地址与密码是否匹配","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+m]}),f("design:type",Function),f("design:paramtypes",[String,String]),f("design:returntype",Promise)],t.prototype,"signIn",null),d([y({title:"邮箱注册失败",messages:["请确认以下各项:"," 1 - 调用 auth().signUpWithEmailAndPassword() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录"," 3 - 此邮箱地址是否已经被其他用户占用","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+m]}),f("design:type",Function),f("design:paramtypes",[String,String]),f("design:returntype",Promise)],t.prototype,"signUp",null),d([y({title:"重置密码失败",messages:["请确认以下各项:"," 1 - 调用 auth().sendPasswordResetEmail() 的语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录"," 3 - 此邮箱地址是否已经与当前用户绑定"," 4 - 此邮箱地址是否已经被其他用户占用","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+m]}),f("design:type",Function),f("design:paramtypes",[String]),f("design:returntype",Promise)],t.prototype,"resetPassword",null),d([y({title:"重置密码失败",messages:["请确认以下各项:"," 1 - 调用语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+m]}),f("design:type",Function),f("design:paramtypes",[String,String]),f("design:returntype",Promise)],t.prototype,"resetPasswordWithToken",null),d([y({title:"邮箱激活失败",messages:["请确认以下各项:"," 1 - 调用语法或参数是否正确"," 2 - 当前环境是否开通了邮箱登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+m]}),f("design:type",Function),f("design:paramtypes",[String]),f("design:returntype",Promise)],t.prototype,"activate",null),t}(s.AuthProvider);t.EmailAuthProvider=b},4718:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.PhoneAuthProvider=void 0;var i,o=r(n(3988)),a=n(1895),s=n(2251),u=n(627),c=n(2198),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},_=a.utils.throwError,g=a.utils.isString,v=a.utils.transformPhone,m=a.constants.ERRORS,y=a.constants.COMMUNITY_SITE_URL,b=a.helpers.catchErrorsDecorator,k="SIGNIN",E="SIGNUP",A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.signIn=function(e){return p(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,l,d;return h(this,(function(f){switch(f.label){case 0:return t=e.phoneNumber,n=e.phoneCode,r=e.password,i=e.signMethod,g(t)||_(m.INVALID_PARAMS,"phoneNumber must be a string"),g(n)||g(r)||_(m.INVALID_PARAMS,"phoneCode or password must be a string"),i||(i=k),o=this._cache.keys.refreshTokenKey,[4,this._request.send("auth.signIn",{loginType:u.LOGINTYPE.PHONE,phoneNumber:v(t),phoneCode:n,password:r,refresh_token:this._cache.getStore(o)||"",signMethod:i})];case 1:return a=f.sent(),s=a.refresh_token,l=a.access_token,d=a.access_token_expire,s?[4,this.setRefreshToken(s)]:[3,8];case 2:return f.sent(),l&&d?[4,this.setAccessToken(l,d)]:[3,4];case 3:return f.sent(),[3,6];case 4:return[4,this._request.refreshAccessToken()];case 5:f.sent(),f.label=6;case 6:return[4,this.refreshUserInfo()];case 7:return f.sent(),c.eventBus.fire(c.EVENTS.LOGIN_STATE_CHANGED),c.eventBus.fire(c.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.PHONE,persistence:this._config.persistence}),[2,new c.LoginState({envId:this._config.env,cache:this._cache,request:this._request})];case 8:a.code?_(m.OPERATION_FAIL,"Phone login fail["+a.code+"] "+a.message):_(m.OPERATION_FAIL,"Phone login fail"),f.label=9;case 9:return[2]}}))}))},t.prototype.signUp=function(e,t,n){return p(this,void 0,void 0,(function(){return h(this,(function(r){return[2,this.signIn({phoneNumber:e,phoneCode:t,password:n,signMethod:E})]}))}))},d([b({title:"手机号登录失败",messages:["请确认以下各项:"," 1 - 调用 auth().SmsAuthProvider() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录"," 3 - 短信验证码/密码是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+y]}),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Promise)],t.prototype,"signIn",null),d([b({title:"手机短信注册失败",messages:["请确认以下各项:"," 1 - 调用 auth().signUpWithPhoneCode() 的语法或参数是否正确"," 2 - 当前环境是否开通了短信验证码登录","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+y]}),f("design:type",Function),f("design:paramtypes",[String,String,String]),f("design:returntype",Promise)],t.prototype,"signUp",null),t}(s.AuthProvider);t.PhoneAuthProvider=A},5518:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.UsernameAuthProvider=void 0;var i,o=r(n(3988)),a=n(2251),s=n(2198),u=n(627),c=n(1895),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},_=c.utils.printWarn,g=c.constants.ERRORS,v=c.constants.COMMUNITY_SITE_URL,m=c.helpers.catchErrorsDecorator,y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.signIn=function(e,t){return p(this,void 0,void 0,(function(){var n,r,i,o,a,c,l,d,f;return h(this,(function(p){switch(p.label){case 0:if("string"!=typeof e)throw new Error(JSON.stringify({code:g.INVALID_PARAMS,msg:"username must be a string"}));return"string"!=typeof t&&(t="",_(g.INVALID_PARAMS,"password is empty")),n=this._cache.keys.refreshTokenKey,o=(i=this._request).send,a=["auth.signIn"],c={loginType:u.LOGINTYPE.USERNAME,username:e,password:t},[4,this._cache.getStoreAsync(n)];case 1:return[4,o.apply(i,a.concat([(c.refresh_token=p.sent()||"",c)]))];case 2:return r=p.sent(),l=r.refresh_token,d=r.access_token_expire,f=r.access_token,l?[4,this.setRefreshToken(l)]:[3,9];case 3:return p.sent(),f&&d?[4,this.setAccessToken(f,d)]:[3,5];case 4:return p.sent(),[3,7];case 5:return[4,this._request.refreshAccessToken()];case 6:p.sent(),p.label=7;case 7:return[4,this.refreshUserInfo()];case 8:return p.sent(),s.eventBus.fire(s.EVENTS.LOGIN_STATE_CHANGED),s.eventBus.fire(s.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:u.LOGINTYPE.USERNAME,persistence:this._config.persistence}),[2,new s.LoginState({envId:this._config.env,cache:this._cache,request:this._request})];case 9:throw r.code?new Error(JSON.stringify({code:g.OPERATION_FAIL,msg:"login by username failed:["+r.code+"] "+r.message})):new Error(JSON.stringify({code:g.OPERATION_FAIL,msg:"login by username failed"}));case 10:return[2]}}))}))},d([m({title:"用户名密码登录失败",messages:["请确认以下各项:"," 1 - 调用 auth().signInWithUsernameAndPassword() 的语法或参数是否正确"," 2 - 当前环境是否开通了用户名密码登录"," 3 - 用户名密码是否匹配","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+v]}),f("design:type",Function),f("design:paramtypes",[String,String]),f("design:returntype",Promise)],t.prototype,"signIn",null),t}(a.AuthProvider);t.UsernameAuthProvider=y},9368:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.WeixinAuthProvider=void 0;var i,o=r(n(3988)),a=n(2251),s=n(1895),u=n(2198),c=n(627),l=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,o["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},h=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},_=s.constants.getSdkName,g=s.constants.ERRORS,v=s.constants.COMMUNITY_SITE_URL,m=s.adapters.RUNTIME,y=s.utils.getQuery,b=s.utils.getHash,k=s.utils.removeParam,E=s.utils.printWarn,A=s.helpers.catchErrorsDecorator,I=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._runtime=t.runtime,o._appid=n,o._scope=r,o._state=i||"weixin",o}return l(t,e),t.prototype.signIn=function(){return p(this,void 0,void 0,(function(){return h(this,(function(e){return[2,E(g.OPERATION_FAIL,"API signIn has been deprecated, please use signInWithRedirect insteed")]}))}))},t.prototype.signInWithRedirect=function(){return p(this,void 0,void 0,(function(){return h(this,(function(e){return[2,this._redirect()]}))}))},t.prototype.getRedirectResult=function(e){return p(this,void 0,void 0,(function(){var t;return h(this,(function(n){return(t=w())?[2,this._signInWithCode(t,e)]:[2,null]}))}))},t.prototype.getLinkRedirectResult=function(e){return void 0===e&&(e={}),p(this,void 0,void 0,(function(){var t,n,r,i,o,a;return h(this,(function(s){return t=e.withUnionId,n=void 0!==t&&t,(r=w())?(i=this._appid,o=function(e){switch(e){case"snsapi_login":return"WECHAT-OPEN";default:return"WECHAT-PUBLIC"}}(this._scope),a=this._runtime===m.WX_MP?"1":"0",[2,this._request.send("auth.linkWithWeixinCode",{payload:{appid:i,loginType:o,code:r,hybridMiniapp:a,withUnionId:n}})]):[2,null]}))}))},t.prototype._redirect=function(){var e=k("code",location.href);e=k("state",e),e=encodeURIComponent(e);var t="//open.weixin.qq.com/connect/oauth2/authorize";"snsapi_login"===this._scope&&(t="//open.weixin.qq.com/connect/qrconnect");try{location.href=t+"?appid="+this._appid+"&redirect_uri="+e+"&response_type=code&scope="+this._scope+"&state="+this._state+"#wechat_redirect"}catch(n){throw new Error("["+_()+"]["+g.UNKOWN_ERROR+"]"+n)}},t.prototype._signInWithCode=function(e,t){return p(this,void 0,void 0,(function(){var n,r,i,o,a,s,l,d;return h(this,(function(f){switch(f.label){case 0:return n=this._cache.keys,r=n.accessTokenKey,i=n.accessTokenExpireKey,o=n.refreshTokenKey,a=function(e){switch(e){case"snsapi_login":return"WECHAT-OPEN";default:return"WECHAT-PUBLIC"}}(this._scope),[4,this._getRefreshTokenByWXCode(this._appid,a,e,t)];case 1:return s=f.sent(),l=s.refreshToken,[4,this._cache.setStoreAsync(o,l)];case 2:return f.sent(),s.accessToken?[4,this._cache.setStoreAsync(r,s.accessToken)]:[3,4];case 3:f.sent(),f.label=4;case 4:return s.accessTokenExpire?[4,this._cache.setStoreAsync(i,String(s.accessTokenExpire+Date.now()))]:[3,6];case 5:f.sent(),f.label=6;case 6:return u.eventBus.fire(u.EVENTS.LOGIN_STATE_CHANGED),u.eventBus.fire(u.EVENTS.LOGIN_TYPE_CHANGED,{env:this._config.env,loginType:c.LOGINTYPE.WECHAT,persistence:this._config.persistence}),[4,this.refreshUserInfo()];case 7:return f.sent(),[4,(d=new u.LoginState({envId:this._config.env,cache:this._cache,request:this._request})).checkLocalStateAsync()];case 8:return f.sent(),[2,d]}}))}))},t.prototype._getRefreshTokenByWXCode=function(e,t,n,r){return void 0===r&&(r={}),p(this,void 0,void 0,(function(){var i,o,a,s,u,c;return h(this,(function(l){return i=r.withUnionId,o=void 0!==i&&i,a=r.createUser,s=void 0===a||a,u="snsapi_base"!==this._scope&&(r.syncUserInfo||!1),c=this._runtime===m.WX_MP?"1":"0",[2,this._request.send("auth.signIn",{appid:e,loginType:t,hybridMiniapp:c,syncUserInfo:u,loginCredential:n,withUnionId:o,createUser:s}).then((function(e){if(e.code)throw new Error("["+_()+"]["+g.OPERATION_FAIL+"] failed login via wechat: "+e.code);if(e.refresh_token)return{refreshToken:e.refresh_token,accessToken:e.access_token,accessTokenExpire:e.access_token_expire};throw new Error("["+_()+"]["+g.OPERATION_FAIL+"] action:getJwt not return refreshToken")}))]}))}))},d([A({title:"跳转微信公众号授权失败",messages:["请确认以下各项:"," 1 - 调用 auth().weixinAuthProvider().signInWithRedirect() 的语法或参数是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+v]}),f("design:type",Function),f("design:paramtypes",[]),f("design:returntype",Promise)],t.prototype,"signInWithRedirect",null),d([A({title:"微信公众号登录失败",messages:["请确认以下各项:"," 1 - 调用 auth().weixinAuthProvider().getRedirectResult() 的语法或参数是否正确"," 2 - 当前环境是否开通了微信公众号登录授权"," 3 - 微信公众号的 AppId 与 AppSecret 配置是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+v]}),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Promise)],t.prototype,"getRedirectResult",null),d([A({title:"获取微信重定向绑定结果",messages:["请确认以下各项:"," 1 - 调用 auth().weixinAuthProvider().getLinkRedirectResult() 的语法或参数是否正确"," 2 - 当前环境是否开通了微信公众号登录授权"," 3 - 微信公众号的 AppId 与 AppSecret 配置是否正确","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+v]}),f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",Promise)],t.prototype,"getLinkRedirectResult",null),t}(a.AuthProvider);function w(){return y("code")||b("code")}t.WeixinAuthProvider=I},6131:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.registerFunctions=function(e){try{e.registerComponent(v)}catch(t){console.warn(t)}};var i=r(n(3988)),o=n(1895),a=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},s=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},c=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},l=o.constants.getSdkName,d=o.constants.ERRORS,f=o.constants.COMMUNITY_SITE_URL,p=o.utils.execCallback,h=o.helpers.catchErrorsDecorator,_="functions",g=new(function(){function e(){}return e.prototype.callFunction=function(e,t){return u(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,f,h,_,g,v;return c(this,(function(c){switch(c.label){case 0:if(n=e.name,r=e.data,i=e.query,o=e.parse,a=e.search,!n)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[functions.callFunction] invalid function name"}));try{s=r?JSON.stringify(r):""}catch(m){throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[functions.callFunction] invalid data"}))}u="functions.invokeFunction",f={inQuery:i,parse:o,search:a,function_name:n,request_data:s},h=this.request,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,h.send(u,f)];case 2:if((_=c.sent()).code)return[2,p(t,null,_)];if(g=_.data.response_data,o)return[2,p(t,null,{result:g,requestId:_.requestId})];try{return g=JSON.parse(_.data.response_data),[2,p(t,null,{result:g,requestId:_.requestId})]}catch(m){p(t,new Error("["+l()+"]["+d.INVALID_PARAMS+"][functions.callFunction] response data must be json"))}return[3,4];case 3:return v=c.sent(),p(t,v),[3,4];case 4:return[2]}}))}))},a([h({customInfo:{className:"Cloudbase",methodName:"callFunction"},title:"函数调用失败",messages:["请确认以下各项:"," 1 - 调用 callFunction() 的语法或参数是否正确"," 2 - 当前环境下是否存在此函数"," 3 - 函数安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"callFunction",null),e}()),v={name:_,entity:{callFunction:g.callFunction}};try{cloudbase.registerComponent(v)}catch(m){}},7362:function(e,t,n){"use strict";var r=n(3483),i=n(3988);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r(n(9304));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{"default":e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(r,s,u):r[s]=e[s]}return r["default"]=e,n&&n.set(e,r),r}(n(9215)).version;o["default"].registerVersion(s);try{window.cloudbase=o["default"]}catch(c){}var u=o["default"];t["default"]=u},1598:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerProvider=t.registerAuth=void 0;var r=n(2198),i=r.registerAuth;t.registerAuth=i;var o=r.registerProvider;t.registerProvider=o},8644:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerFunctions=void 0;var r=n(6131).registerFunctions;t.registerFunctions=r},9552:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerStorage=void 0;var r=n(1959).registerStorage;t.registerStorage=r},1959:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.registerStorage=function(e){try{e.registerComponent(b)}catch(t){console.warn(t)}};var i=r(n(3988)),o=n(1895),a=function(e,t,n,r){var o,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s},s=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":(0,i["default"])(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},c=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},l=o.constants.getSdkName,d=o.constants.ERRORS,f=o.constants.COMMUNITY_SITE_URL,p=o.utils.isArray,h=o.utils.isString,_=o.utils.isPalinObject,g=o.utils.execCallback,v=o.helpers.catchErrorsDecorator,m="storage",y=new(function(){function e(){}return e.prototype.uploadFile=function(e,t){return u(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,f,p,_,v,m,y,b;return c(this,(function(c){switch(c.label){case 0:if(n=e.cloudPath,r=e.filePath,i=e.onUploadProgress,!h(n)||!r)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[storage.uploadFile] invalid params"}));return[4,(o=this.request).send("storage.getUploadMetadata",{path:n})];case 1:return a=c.sent(),s=a.data,u=s.url,f=s.authorization,p=s.token,_=s.fileId,v=s.cosFileId,m=a.requestId,y={key:n,signature:f,"x-cos-meta-fileid":v,success_action_status:"201","x-cos-security-token":p},[4,o.upload({url:u,data:y,file:r,name:n,onUploadProgress:i})];case 2:return 201===(b=c.sent()).statusCode?[2,g(t,null,{fileID:_,requestId:m})]:[2,g(t,new Error("["+l()+"]["+d.OPERATION_FAIL+"][storage]:"+b.data))]}}))}))},e.prototype.getUploadMetadata=function(e,t){return u(this,void 0,void 0,(function(){var n,r,i,o,a;return c(this,(function(s){switch(s.label){case 0:if(n=e.cloudPath,!h(n))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[storage.getUploadMetadata] invalid cloudPath"}));r=this.request,i="storage.getUploadMetadata",s.label=1;case 1:return s.trys.push([1,3,,4]),[4,r.send(i,{path:n})];case 2:return o=s.sent(),[2,g(t,null,o)];case 3:return a=s.sent(),[2,g(t,a)];case 4:return[2]}}))}))},e.prototype.deleteFile=function(e,t){return u(this,void 0,void 0,(function(){var n,r,i,o,a,s;return c(this,(function(u){switch(u.label){case 0:if(!(n=e.fileList)||!p(n)||0===n.length)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[storage.deleteFile] fileList must not be empty"}));for(r=0,i=n;r<i.length;r++)if(!(o=i[r])||!h(o))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[storage.deleteFile] fileID must be string"}));return[4,this.request.send("storage.batchDeleteFile",{fileid_list:n})];case 1:return(a=u.sent()).code?[2,g(t,null,a)]:(s={fileList:a.data.delete_list,requestId:a.requestId},[2,g(t,null,s)])}}))}))},e.prototype.getTempFileURL=function(e,t){return u(this,void 0,void 0,(function(){var n,r,i,o,a,s;return c(this,(function(u){switch(u.label){case 0:if(!(n=e.fileList)||!p(n)||0===n.length)throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[storage.getTempFileURL] fileList must not be empty"}));for(r=[],i=0,o=n;i<o.length;i++)if(a=o[i],_(a)){if(!a.hasOwnProperty("fileID")||!a.hasOwnProperty("maxAge"))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[storage.getTempFileURL] file info must include fileID and maxAge"}));r.push({fileid:a.fileID,max_age:a.maxAge})}else{if(!h(a))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[storage.getTempFileURL] invalid fileList"}));r.push({fileid:a})}return[4,this.request.send("storage.batchGetDownloadUrl",{file_list:r})];case 1:return(s=u.sent()).code?[2,g(t,null,s)]:[2,g(t,null,{fileList:s.data.download_list,requestId:s.requestId})]}}))}))},e.prototype.downloadFile=function(e,t){return u(this,void 0,void 0,(function(){var n,r,i,o,a,s;return c(this,(function(u){switch(u.label){case 0:if(n=e.fileID,!h(n))throw new Error(JSON.stringify({code:d.INVALID_PARAMS,msg:"[storage.getTempFileURL] fileID must be string"}));return[4,this.getTempFileURL.call(this,{fileList:[{fileID:n,maxAge:600}]})];case 1:return r=u.sent(),"SUCCESS"!==(i=r.fileList[0]).code?[2,g(t,i)]:(o=this.request,a=encodeURI(i.download_url),[4,o.download({url:a})]);case 2:return s=u.sent(),[2,g(t,null,s)]}}))}))},a([v({customInfo:{className:"Cloudbase",methodName:"uploadFile"},title:"上传文件失败",messages:["请确认以下各项:"," 1 - 调用 uploadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"uploadFile",null),a([v({customInfo:{className:"Cloudbase",methodName:"getUploadMetadata"},title:"获取上传元信息失败",messages:["请确认以下各项:"," 1 - 调用 getUploadMetadata() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"getUploadMetadata",null),a([v({customInfo:{className:"Cloudbase",methodName:"deleteFile"},title:"删除文件失败",messages:["请确认以下各项:"," 1 - 调用 deleteFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"deleteFile",null),a([v({customInfo:{className:"Cloudbase",methodName:"getTempFileURL"},title:"获取文件下载链接",messages:["请确认以下各项:"," 1 - 调用 getTempFileURL() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"getTempFileURL",null),a([v({customInfo:{className:"Cloudbase",methodName:"downloadFile"},title:"下载文件失败",messages:["请确认以下各项:"," 1 - 调用 downloadFile() 的语法或参数是否正确"," 2 - 当前域名是否在安全域名列表中:https://console.cloud.tencent.com/tcb/env/safety"," 3 - 云存储安全规则是否限制了当前登录状态访问","如果问题依然存在,建议到官方问答社区提问或寻找帮助:"+f]}),s("design:type",Function),s("design:paramtypes",[Object,Function]),s("design:returntype",Promise)],e.prototype,"downloadFile",null),e}()),b={name:m,entity:{uploadFile:y.uploadFile,deleteFile:y.deleteFile,getTempFileURL:y.getTempFileURL,downloadFile:y.downloadFile,getUploadMetadata:y.getUploadMetadata}};try{cloudbase.registerComponent(b)}catch(k){}},1825:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.useDefaultAdapter=t.useAdapters=t.RUNTIME=void 0;var a,s=o(n(9651)),u=n(4224);!function(e){e.WEB="web",e.WX_MP="wx_mp"}(a=t.RUNTIME||(t.RUNTIME={})),t.useAdapters=function(e){for(var t=0,n=u.isArray(e)?e:[e];t<n.length;t++){var r=n[t],i=r.isMatch,o=r.genAdapter,a=r.runtime;if(i())return{adapter:o(),runtime:a}}},t.useDefaultAdapter=function(){return{adapter:s.genAdapter(),runtime:a.WEB}}},9651:function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebRequest=t.genAdapter=void 0;var u=n(1588),c=n(4224),l=n(2595),d=function(e){function t(t){var n=e.call(this)||this,r=t.timeout,i=t.timeoutMsg,o=t.restrictedMethods;return n._timeout=r||0,n._timeoutMsg=i||"请求超时",n._restrictedMethods=o||["get","post","upload","download"],n}return i(t,e),t.prototype.get=function(e){return this._request(o(o({},e),{method:"get"}),this._restrictedMethods.includes("get"))},t.prototype.post=function(e){return this._request(o(o({},e),{method:"post"}),this._restrictedMethods.includes("post"))},t.prototype.put=function(e){return this._request(o(o({},e),{method:"put"}))},t.prototype.upload=function(e){var t=e.data,n=e.file,r=e.name,i=new FormData;for(var a in t)i.append(a,t[a]);return i.append("key",r),i.append("file",n),this._request(o(o({},e),{data:i,method:"post"}),this._restrictedMethods.includes("upload"))},t.prototype.download=function(e){return a(this,void 0,void 0,(function(){var t,n,r,i;return s(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,this.get(o(o({},e),{headers:{},responseType:"blob"}))];case 1:return t=a.sent().data,n=window.URL.createObjectURL(new Blob([t])),r=decodeURIComponent(new URL(e.url).pathname.split("/").pop()||""),(i=document.createElement("a")).href=n,i.setAttribute("download",r),i.style.display="none",document.body.appendChild(i),i.click(),window.URL.revokeObjectURL(n),document.body.removeChild(i),[3,3];case 2:return a.sent(),[3,3];case 3:return[2,new Promise((function(t){t({statusCode:200,tempFilePath:e.url})}))]}}))}))},t.prototype._request=function(e,t){var n=this;void 0===t&&(t=!1);var r=String(e.method).toLowerCase()||"get";return new Promise((function(i){var o,a,s=e.url,u=e.headers,d=void 0===u?{}:u,f=e.data,p=e.responseType,h=e.withCredentials,_=e.body,g=e.onUploadProgress,v=c.formatUrl(l.getProtocol(),s,"get"===r?f:{}),m=new XMLHttpRequest;for(var y in m.open(r,v),p&&(m.responseType=p),d)m.setRequestHeader(y,d[y]);g&&m.upload.addEventListener("progress",g),m.onreadystatechange=function(){var e={};if(4===m.readyState){var t=m.getAllResponseHeaders().trim().split(/[\r\n]+/),n={};t.forEach((function(e){var t=e.split(": "),r=t.shift().toLowerCase(),i=t.join(": ");n[r]=i})),e.header=n,e.statusCode=m.status;try{e.data="blob"===p?m.response:JSON.parse(m.responseText)}catch(r){e.data="blob"===p?m.response:m.responseText}clearTimeout(o),i(e)}},t&&n._timeout&&(o=setTimeout((function(){console.warn(n._timeoutMsg),m.abort()}),n._timeout)),a=c.isFormData(f)?f:"application/x-www-form-urlencoded"===d["content-type"]?c.toQueryString(f):_||(f?JSON.stringify(f):undefined),h&&(m.withCredentials=!0),m.send(a)}))},t}(u.AbstractSDKRequest);t.WebRequest=d,t.genAdapter=function(){return{root:window,reqClass:d,wsClass:WebSocket,localStorage:localStorage,sessionStorage:sessionStorage}}},2595:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMMUNITY_SITE_URL=t.IS_DEBUG_MODE=t.getProtocol=t.setProtocol=t.getSdkName=t.setSdkName=void 0;var n="@cloudbase/js-sdk";t.setSdkName=function(e){n=e},t.getSdkName=function(){return n};var r="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";t.setProtocol=function(e){r=e},t.getProtocol=function(){return r},t.IS_DEBUG_MODE=!1,t.COMMUNITY_SITE_URL="https://support.qq.com/products/148793"},8511: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"}},6823:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(2595),t),i(n(8511),t)},9891:function(e,t,n){"use strict";var r=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},i=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.catchErrorsDecorator=void 0;var o=n(4224),a=n(6823),s=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(s=-1!==navigator.userAgent.indexOf("Firefox"));var u=s?/(\.js\/)?__decorate(\$\d+)?<@.*\d$/:/(\/\w+\.js\.)?__decorate(\$\d+)?\s*\(.*\)$/,c=/https?\:\/\/.+\:\d*\/.*\.js\:\d+\:\d+/;function l(e){var t=e.err,n=e.className,r=e.methodName,i=e.sourceLink;if(!i)return null;var o,a=t.stack.split("\n"),u=s?/^catchErrorsDecorator\/<\/descriptor.value@.*\d$/:new RegExp(n+"\\.descriptor.value\\s*\\[as\\s"+r+"\\]\\s*\\(.*\\)$"),l=s?/^catchErrorsDecorator\/<\/descriptor.value/:new RegExp(n+"\\.descriptor.value\\s*\\[as\\s"+r+"\\]"),d=a.findIndex((function(e){return u.test(e)}));if(-1!==d){var f=a.filter((function(e,t){return t>d}));f.unshift(a[d].replace(l,n+"."+r).replace(c,i)),(o=new Error).stack=(s?"@debugger":"Error")+"\n"+f.join("\n")}return o}t.catchErrorsDecorator=function(e){var t=e.mode,n=void 0===t?"async":t,s=e.customInfo,d=void 0===s?{}:s,f=e.title,p=e.messages,h=void 0===p?[]:p;return function(e,t,s){if(a.IS_DEBUG_MODE){var p=d.className||e.constructor.name,_=d.methodName||t,g=s.value,v=function(e){var t="",n=e.stack.split("\n"),r=n.findIndex((function(e){return u.test(e)}));if(-1!==r){var i=c.exec(n[r+1]||"");t=i?i[0]:""}return t}(new Error);s.value="sync"===n?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=l({err:new Error,className:p,methodName:_,sourceLink:v});try{return g.apply(this,e)}catch(u){var r=u,i=u.message,a={title:f||p+"."+_+" failed",content:[{type:"error",body:u}]};if(i&&/^\{.*\}$/.test(i)){var s=JSON.parse(i);a.subtitle=i,s.code&&(r=n||u,a.content=h.map((function(e){return{type:"info",body:e}})))}throw o.printGroupLog(a),r}}:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r(this,void 0,void 0,(function(){var t,n,r,a,s,u;return i(this,(function(i){switch(i.label){case 0:t=l({err:new Error,className:p,methodName:_,sourceLink:v}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,g.apply(this,e)];case 2:return[2,i.sent()];case 3:throw n=i.sent(),r=n,a=n.message,s={title:f||p+"."+_+" failed",content:[{type:"error",body:n}]},a&&/^\{.*\}$/.test(a)&&(u=JSON.parse(a),s.subtitle=u,u.code&&(r=t||n,s.content=h.map((function(e){return{type:"info",body:e}})))),o.printGroupLog(s),r;case 4:return[2]}}))}))}}}}},2647:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9891),t)},1895:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){r===undefined&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){r===undefined&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.helpers=t.utils=t.events=t.cache=t.adapters=t.constants=void 0;var a=o(n(6823));t.constants=a;var s=o(n(1825));t.adapters=s;var u=o(n(2208));t.cache=u;var c=o(n(4047));t.events=c;var l=o(n(4224));t.utils=l;var d=o(n(2647));t.helpers=d},2208:function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},a=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CloudbaseCache=void 0;var s=n(1588),u=n(4224),c=n(6823),l=function(e){function t(t){var n=e.call(this)||this;return n._root=t,t.tcbCacheObject||(t.tcbCacheObject={}),n}return i(t,e),t.prototype.setItem=function(e,t){this._root.tcbCacheObject[e]=t},t.prototype.getItem=function(e){return this._root.tcbCacheObject[e]},t.prototype.removeItem=function(e){delete this._root.tcbCacheObject[e]},t.prototype.clear=function(){delete this._root.tcbCacheObject},t}(s.AbstractStorage);function d(e,t){switch(e){case"local":return t.localStorage?t.localStorage:(u.printWarn(c.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new l(t.root));case"none":return new l(t.root);case"session":return t.sessionStorage?t.sessionStorage:(u.printWarn(c.ERRORS.INVALID_PARAMS,"sessionStorage is not supported on current platform"),new l(t.root));default:return t.localStorage?t.localStorage:(u.printWarn(c.ERRORS.INVALID_PARAMS,"localStorage is not supported on current platform"),new l(t.root))}}var f=function(){function e(e){this.keys={};var t=e.persistence,n=e.platformInfo,r=void 0===n?{}:n,i=e.keys,o=void 0===i?{}:i,a=e.alwaysLocalKeys,s=void 0===a?[]:a;this._platformInfo=r,this._alwaysLocalKeys=s,this._storage||(this._persistence=r.adapter.primaryStorage||t,this._storage=d(this._persistence,r.adapter),this.keys=o)}return Object.defineProperty(e.prototype,"mode",{get:function(){return this._storage.mode||"sync"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"persistence",{get:function(){return this._persistence},enumerable:!1,configurable:!0}),e.prototype.updatePersistence=function(e){if("async"!==this.mode){if(e!==this._persistence){var t="local"===this._persistence;this._persistence=e;var n=d(e,this._platformInfo.adapter);for(var r in this.keys){var i=this.keys[r];if(!t||!this._alwaysLocalKeys.includes(r)){var o=this._storage.getItem(i);u.isUndefined(o)||u.isNull(o)||(n.setItem(i,o),this._storage.removeItem(i))}}this._storage=n}}else u.printWarn(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use updatePersistenceAsync insteed")},e.prototype.updatePersistenceAsync=function(e){return o(this,void 0,void 0,(function(){var t,n,r,i,o,s,c,l;return a(this,(function(a){switch(a.label){case 0:if(e===this._persistence)return[2];for(i in t="local"===this._persistence,this._persistence=e,n=d(e,this._platformInfo.adapter),r=[],this.keys)r.push(i);o=0,a.label=1;case 1:return o<r.length?(s=r[o],c=this.keys[s],t&&this._alwaysLocalKeys.includes(s)?[3,4]:[4,this._storage.getItem(c)]):[3,5];case 2:return l=a.sent(),u.isUndefined(l)||u.isNull(l)?[3,4]:(n.setItem(c,l),[4,this._storage.removeItem(c)]);case 3:a.sent(),a.label=4;case 4:return o++,[3,1];case 5:return this._storage=n,[2]}}))}))},e.prototype.setStore=function(e,t,n){if("async"!==this.mode){if(this._storage)try{var r={version:n||"localCachev1",content:t};this._storage.setItem(e,JSON.stringify(r))}catch(i){throw new Error(JSON.stringify({code:c.ERRORS.OPERATION_FAIL,msg:"["+c.getSdkName()+"]["+c.ERRORS.OPERATION_FAIL+"]setStore failed",info:i}))}}else u.printWarn(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use setStoreAsync insteed")},e.prototype.setStoreAsync=function(e,t,n){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:if(!this._storage)return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),r={version:n||"localCachev1",content:t},[4,this._storage.setItem(e,JSON.stringify(r))];case 2:return i.sent(),[3,4];case 3:return i.sent(),[2];case 4:return[2]}}))}))},e.prototype.getStore=function(e,t){var n;if("async"!==this.mode){try{if("undefined"!=typeof process&&(null===(n=process.env)||void 0===n?void 0:n.tcb_token))return process.env.tcb_token;if(!this._storage)return""}catch(i){return""}t=t||"localCachev1";var r=this._storage.getItem(e);return r&&r.indexOf(t)>=0?JSON.parse(r).content:""}u.printWarn(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use getStoreAsync insteed")},e.prototype.getStoreAsync=function(e,t){var n;return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:try{if("undefined"!=typeof process&&(null===(n=process.env)||void 0===n?void 0:n.tcb_token))return[2,process.env.tcb_token];if(!this._storage)return[2,""]}catch(o){return[2,""]}return t=t||"localCachev1",[4,this._storage.getItem(e)];case 1:return(r=i.sent())&&r.indexOf(t)>=0?[2,JSON.parse(r).content]:[2,""]}}))}))},e.prototype.removeStore=function(e){"async"!==this.mode?this._storage.removeItem(e):u.printWarn(c.ERRORS.INVALID_OPERATION,"current platform's storage is asynchronous, please use removeStoreAsync insteed")},e.prototype.removeStoreAsync=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this._storage.removeItem(e)];case 1:return t.sent(),[2]}}))}))},e}();t.CloudbaseCache=f},4047:function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.removeEventListener=t.activateEvent=t.addEventListener=t.CloudbaseEventEmitter=t.IErrorEvent=t.CloudbaseEvent=void 0;var a=n(4224),s=function(e,t){this.data=t||null,this.name=e};t.CloudbaseEvent=s;var u=function(e){function t(t,n){var r=e.call(this,"error",{error:t,data:n})||this;return r.error=t,r}return i(t,e),t}(s);t.IErrorEvent=u;var c=function(){function e(){this._listeners={}}return e.prototype.on=function(e,t){return function(e,t,n){n[e]=n[e]||[],n[e].push(t)}(e,t,this._listeners),this},e.prototype.off=function(e,t){return function(e,t,n){if(null==n?void 0:n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}(e,t,this._listeners),this},e.prototype.fire=function(e,t){if(a.isInstanceOf(e,u))return console.error(e.error),this;var n=a.isString(e)?new s(e,t||{}):e,r=n.name;if(this._listens(r)){n.target=this;for(var i=0,c=this._listeners[r]?o(this._listeners[r]):[];i<c.length;i++)c[i].call(this,n)}return this},e.prototype._listens=function(e){return this._listeners[e]&&this._listeners[e].length>0},e}();t.CloudbaseEventEmitter=c;var l=new c;t.addEventListener=function(e,t){l.on(e,t)},t.activateEvent=function(e,t){void 0===t&&(t={}),l.fire(e,t)},t.removeEventListener=function(e,t){l.off(e,t)}},4224:function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(t,"__esModule",{value:!0}),t.transformPhone=t.sleep=t.printGroupLog=t.throwError=t.printInfo=t.printError=t.printWarn=t.execCallback=t.createPromiseCallback=t.removeParam=t.getHash=t.getQuery=t.toQueryString=t.createSign=t.formatUrl=t.genSeqId=t.isFormData=t.isInstanceOf=t.isNull=t.isPalinObject=t.isUndefined=t.isString=t.isArray=void 0;var i=r(n(6443)),o=r(n(4544)),a=r(n(1801)),s=n(6823);function u(e){var t=o["default"].stringify(e);return t=(t=(t=t.replace(/=+$/,"")).replace(/\+/g,"-")).replace(/\//g,"_")}t.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},t.isString=function(e){return"string"==typeof e},t.isUndefined=function(e){return void 0===e},t.isPalinObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isNull=function(e){return"[object Null]"===Object.prototype.toString.call(e)},t.isInstanceOf=function(e,t){return e instanceof t},t.isFormData=function(e){return"[object FormData]"===Object.prototype.toString.call(e)},t.genSeqId=function(){return Math.random().toString(16).slice(2)},t.formatUrl=function(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),i="";for(var o in n)""===i?!r&&(t+="?"):i+="&",i+=o+"="+encodeURIComponent(n[o]);return/^http(s)?\:\/\//.test(t+=i)?t:""+e+t},t.createSign=function(e,t){var n=u(a["default"].parse(JSON.stringify({alg:"HS256",typ:"JWT"})))+"."+u(a["default"].parse(JSON.stringify(e)));return n+"."+u(i["default"](n,t))},t.toQueryString=function(e){void 0===e&&(e={});var t=[];for(var n in e)t.push(n+"="+encodeURIComponent(e[n]));return t.join("&")},t.getQuery=function(e,t){if("undefined"==typeof window)return!1;var n=t||window.location.search,r=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),i=n.substr(n.indexOf("?")+1).match(r);return null!=i?i[2]:""},t.getHash=function(e){if("undefined"==typeof window)return"";var t=window.location.hash.match(new RegExp("[#?&/]"+e+"=([^&#]*)"));return t?t[1]:""},t.removeParam=function(e,t){var n=t.split("?")[0],r=[],i=-1!==t.indexOf("?")?t.split("?")[1]:"";if(""!==i){for(var o=(r=i.split("&")).length-1;o>=0;o-=1)r[o].split("=")[0]===e&&r.splice(o,1);n=n+"?"+r.join("&")}return n},t.createPromiseCallback=function(){var e;if(!Promise){(e=function(){}).promise={};var t=function(){throw new Error('Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.')};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var n=new Promise((function(t,n){e=function(e,r){return e?n(e):t(r)}}));return e.promise=n,e},t.execCallback=function(e,t,n){if(void 0===n&&(n=null),e&&"function"==typeof e)return e(t,n);if(t)throw t;return n},t.printWarn=function(e,t){console.warn("["+s.getSdkName()+"]["+e+"]:"+t)},t.printError=function(e,t){console.error({code:e,msg:"["+s.getSdkName()+"]["+e+"]:"+t})},t.printInfo=function(e,t){console.log("["+s.getSdkName()+"]["+e+"]:"+t)},t.throwError=function(e,t){throw new Error(JSON.stringify({code:e,msg:"["+s.getSdkName()+"]["+e+"]:"+t}))},t.printGroupLog=function(e){var t=e.title,n=e.subtitle,r=void 0===n?"":n,i=e.content,o=void 0===i?[]:i,a=e.printTrace,s=void 0!==a&&a,u=e.collapsed;void 0!==u&&u?console.groupCollapsed(t,r):console.group(t,r);for(var c=0,l=o;c<l.length;c++){var d=l[c],f=d.type,p=d.body;switch(f){case"info":console.log(p);break;case"warn":console.warn(p);break;case"error":console.error(p)}}s&&console.trace("stack trace:"),console.groupEnd()},t.sleep=function(e){return void 0===e&&(e=0),new Promise((function(t){return setTimeout(t,e)}))},t.transformPhone=function(e){return"+86"+e}},1683:function(e,t,n){"use strict";var r;n(3483)(n(3988)),function(i){function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t,n,r,i,a){return o((s=o(o(t,e),o(r,a)))<<(u=i)|s>>>32-u,n);var s,u}function s(e,t,n,r,i,o,s){return a(t&n|~t&r,e,t,i,o,s)}function u(e,t,n,r,i,o,s){return a(t&r|n&~r,e,t,i,o,s)}function c(e,t,n,r,i,o,s){return a(t^n^r,e,t,i,o,s)}function l(e,t,n,r,i,o,s){return a(n^(t|~r),e,t,i,o,s)}function d(e,t){var n,r,i,a,d;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var f=1732584193,p=-271733879,h=-1732584194,_=271733878;for(n=0;n<e.length;n+=16)r=f,i=p,a=h,d=_,f=s(f,p,h,_,e[n],7,-680876936),_=s(_,f,p,h,e[n+1],12,-389564586),h=s(h,_,f,p,e[n+2],17,606105819),p=s(p,h,_,f,e[n+3],22,-1044525330),f=s(f,p,h,_,e[n+4],7,-176418897),_=s(_,f,p,h,e[n+5],12,1200080426),h=s(h,_,f,p,e[n+6],17,-1473231341),p=s(p,h,_,f,e[n+7],22,-45705983),f=s(f,p,h,_,e[n+8],7,1770035416),_=s(_,f,p,h,e[n+9],12,-1958414417),h=s(h,_,f,p,e[n+10],17,-42063),p=s(p,h,_,f,e[n+11],22,-1990404162),f=s(f,p,h,_,e[n+12],7,1804603682),_=s(_,f,p,h,e[n+13],12,-40341101),h=s(h,_,f,p,e[n+14],17,-1502002290),f=u(f,p=s(p,h,_,f,e[n+15],22,1236535329),h,_,e[n+1],5,-165796510),_=u(_,f,p,h,e[n+6],9,-1069501632),h=u(h,_,f,p,e[n+11],14,643717713),p=u(p,h,_,f,e[n],20,-373897302),f=u(f,p,h,_,e[n+5],5,-701558691),_=u(_,f,p,h,e[n+10],9,38016083),h=u(h,_,f,p,e[n+15],14,-660478335),p=u(p,h,_,f,e[n+4],20,-405537848),f=u(f,p,h,_,e[n+9],5,568446438),_=u(_,f,p,h,e[n+14],9,-1019803690),h=u(h,_,f,p,e[n+3],14,-187363961),p=u(p,h,_,f,e[n+8],20,1163531501),f=u(f,p,h,_,e[n+13],5,-1444681467),_=u(_,f,p,h,e[n+2],9,-51403784),h=u(h,_,f,p,e[n+7],14,1735328473),f=c(f,p=u(p,h,_,f,e[n+12],20,-1926607734),h,_,e[n+5],4,-378558),_=c(_,f,p,h,e[n+8],11,-2022574463),h=c(h,_,f,p,e[n+11],16,1839030562),p=c(p,h,_,f,e[n+14],23,-35309556),f=c(f,p,h,_,e[n+1],4,-1530992060),_=c(_,f,p,h,e[n+4],11,1272893353),h=c(h,_,f,p,e[n+7],16,-155497632),p=c(p,h,_,f,e[n+10],23,-1094730640),f=c(f,p,h,_,e[n+13],4,681279174),_=c(_,f,p,h,e[n],11,-358537222),h=c(h,_,f,p,e[n+3],16,-722521979),p=c(p,h,_,f,e[n+6],23,76029189),f=c(f,p,h,_,e[n+9],4,-640364487),_=c(_,f,p,h,e[n+12],11,-421815835),h=c(h,_,f,p,e[n+15],16,530742520),f=l(f,p=c(p,h,_,f,e[n+2],23,-995338651),h,_,e[n],6,-198630844),_=l(_,f,p,h,e[n+7],10,1126891415),h=l(h,_,f,p,e[n+14],15,-1416354905),p=l(p,h,_,f,e[n+5],21,-57434055),f=l(f,p,h,_,e[n+12],6,1700485571),_=l(_,f,p,h,e[n+3],10,-1894986606),h=l(h,_,f,p,e[n+10],15,-1051523),p=l(p,h,_,f,e[n+1],21,-2054922799),f=l(f,p,h,_,e[n+8],6,1873313359),_=l(_,f,p,h,e[n+15],10,-30611744),h=l(h,_,f,p,e[n+6],15,-1560198380),p=l(p,h,_,f,e[n+13],21,1309151649),f=l(f,p,h,_,e[n+4],6,-145523070),_=l(_,f,p,h,e[n+11],10,-1120210379),h=l(h,_,f,p,e[n+2],15,718787259),p=l(p,h,_,f,e[n+9],21,-343485551),f=o(f,r),p=o(p,i),h=o(h,a),_=o(_,d);return[f,p,h,_]}function f(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",i="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),i+=r.charAt(t>>>4&15)+r.charAt(15&t);return i}function _(e){return unescape(encodeURIComponent(e))}function g(e){return function(e){return f(d(p(e),8*e.length))}(_(e))}function v(e,t){return function(e,t){var n,r,i=p(e),o=[],a=[];for(o[15]=a[15]=undefined,i.length>16&&(i=d(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=d(o.concat(p(t)),512+8*t.length),f(d(a.concat(r),640))}(_(e),_(t))}function m(e,t,n){return t?n?v(t,e):h(v(t,e)):n?g(e):h(g(e))}(r=function(){return m}.call(t,n,t,e))===undefined||(e.exports=r)}()},4934:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.WxMpWebSocket=t.wxMpStorage=t.WxRequest=void 0;var r,i=n(1588),o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},u=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),"throw":s(1),"return":s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},c=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this,r=t.timeout,i=t.timeoutMsg,o=t.restrictedMethods;return n._timeout=r||0,n._timeoutMsg=i||"请求超时",n._restrictedMethods=o||["get","post","upload","download"],n}return o(t,e),t.prototype.post=function(e){var t=this;return new Promise((function(n,r){var o=e.url,a=e.data,s=e.headers,u=wx.request({url:(0,i.formatUrl)("https:",o),data:a,timeout:t._timeout,method:"POST",header:s,success:function(e){n(e)},fail:function(e){r(e)},complete:function(e){if(e&&e.errMsg&&t._timeout&&-1!==t._restrictedMethods.indexOf("post")&&"request:fail timeout"===e.errMsg){console.warn(t._timeoutMsg);try{u.abort()}catch(n){}}}})}))},t.prototype.upload=function(e){var t=this,n=this;return new Promise((function(r){return s(t,void 0,void 0,(function(){var t,i,o,s,c,l;return u(this,(function(u){return t=e.url,i=e.file,o=e.data,s=e.headers,c=e.onUploadProgress,l=wx.uploadFile({url:t,filePath:i,name:"file",formData:a({},o),header:s,timeout:this._timeout,success:function(e){var t={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&o.success_action_status&&(t.statusCode=parseInt(o.success_action_status,10)),r(t)},fail:function(e){r(e)},complete:function(e){if(e&&e.errMsg&&n._timeout&&-1!==n._restrictedMethods.indexOf("upload")&&"request:fail timeout"===e.errMsg){console.warn(n._timeoutMsg);try{l.abort()}catch(t){}}}}),c&&l.onProgressUpdate((function(e){c(e)})),[2]}))}))}))},t.prototype.download=function(e){var t=this,n=this;return new Promise((function(r,o){var a=e.url,s=e.headers,u=wx.downloadFile({url:(0,i.formatUrl)("https:",a),header:s,timeout:t._timeout,success:function(e){200===e.statusCode&&e.tempFilePath?r({statusCode:200,tempFilePath:e.tempFilePath}):r(e)},fail:function(e){o(e)},complete:function(e){if(e&&e.errMsg&&n._timeout&&-1!==n._restrictedMethods.indexOf("download")&&"request:fail timeout"===e.errMsg){console.warn(n._timeoutMsg);try{u.abort()}catch(t){}}}})}))},t}(i.AbstractSDKRequest);t.WxRequest=c;var l={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()}};t.wxMpStorage=l;var d=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}};t.WxMpWebSocket=d;var f={genAdapter:function(){return{root:{},reqClass:c,wsClass:d,localStorage:l,primaryStorage:i.StorageType.local,getAppSign:function(){var e=wx.getAccountInfoSync();return"undefined"!=typeof App||"undefined"!=typeof getApp||wx.onAppHide||wx.offAppHide||wx.onAppShow||wx.offAppShow?e&&e.miniProgram?e.miniProgram.appId:"":e&&e.plugin?e.plugin.appId:""}}},isMatch:function(){if("undefined"==typeof wx)return!1;if("undefined"==typeof Page)return!1;if(!wx.getSystemInfoSync)return!1;if(!wx.getStorageSync)return!1;if(!wx.setStorageSync)return!1;if(!wx.connectSocket)return!1;if(!wx.request)return!1;try{if(!wx.getSystemInfoSync())return!1;if("qq"===wx.getSystemInfoSync().AppPlatform)return!1}catch(e){return!1}return!0},runtime:"wx_mp"};t["default"]=f},9935:function(e,t,n){"use strict";var r,i,o,a,s=n(3483)(n(3988));a=function(){var e=e||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),r={},i=r.lib={},o=i.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],i=function(t){t=t;var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var s=i(4294967296*(n||e.random()));n=987654071*s(),r.push(4294967296*s()|0)}return new a.init(r,t)}}),s=r.enc={},u=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},d=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,c=e.min(4*u,i);if(u){for(var l=0;l<u;l+=o)this._doProcessBlock(r,l);var d=r.splice(0,u);n.sigBytes-=c}return new a.init(d,c)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(i.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new f.HMAC.init(e,n).finalize(t)}}}),r.algo={});return r}(Math);return e},"object"===(0,s["default"])(t)?e.exports=t=a():(i=[],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},4544:function(e,t,n){"use strict";var r,i,o,a,s=n(3483)(n(3988));a=function(e){var t,n;return n=(t=e).lib.WordArray,t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return function(e,t,r){for(var i=[],o=0,a=0;a<t;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2,u=r[e.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=(s|u)<<24-o%4*8,o++}return n.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},e.enc.Base64},"object"===(0,s["default"])(t)?e.exports=t=a(n(9935)):(i=[n(9935)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},1801:function(e,t,n){"use strict";var r,i,o,a,s=n(3483)(n(3988));a=function(e){return e.enc.Utf8},"object"===(0,s["default"])(t)?e.exports=t=a(n(9935)):(i=[n(9935)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},6443:function(e,t,n){"use strict";var r,i,o,a,s=n(3483)(n(3988));a=function(e){return e.HmacSHA256},"object"===(0,s["default"])(t)?e.exports=t=a(n(9935),n(2803),n(8836)):(i=[n(9935),n(2803),n(8836)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},8836:function(e,t,n){"use strict";var r,i,o,a,s=n(3483)(n(3988));a=function(e){var t,n,r;n=(t=e).lib.Base,r=t.enc.Utf8,t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),s=o.words,u=a.words,c=0;c<n;c++)s[c]^=1549556828,u[c]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})},"object"===(0,s["default"])(t)?e.exports=t=a(n(9935)):(i=[n(9935)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},2803:function(e,t,n){"use strict";var r,i,o,a,s=n(3483)(n(3988));a=function(e){return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=[],u=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)e(r)&&(i<8&&(s[i]=n(t.pow(r,.5))),u[i]=n(t.pow(r,1/3)),i++),r++}();var c=[],l=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],d=n[6],f=n[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var h=c[p-15],_=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=c[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[p]=_+c[p-7]+v+c[p-16]}var m=r&i^r&o^i&o,y=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&d)+u[p]+c[p];f=d,d=l,l=s,s=a+b|0,a=o,o=i,i=r,r=b+(y+m)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=o._createHelper(l),n.HmacSHA256=o._createHmacHelper(l)}(Math),e.SHA256},"object"===(0,s["default"])(t)?e.exports=t=a(n(9935)):(i=[n(9935)],(o="function"==typeof(r=a)?r.apply(t,i):r)===undefined||(e.exports=o))},5306:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,i,o=e[1]||"",a=e[3];if(!a)return o;if(t&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(i," */")),u=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[o].concat(u).concat([s]).join("\n")}return[o].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},253:function(e,t,n){"use strict";var r=n(3483)(n(3988));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=97)}({0:function(e,t,n){function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},97:function(e,t,n){n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button","class":[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{"class":e.icon}):e._e(),e.$slots["default"]?n("span",[e._t("default")],2):e._e()])};r._withStripped=!0;var i={name:"ElButton",inject:{elForm:{"default":""},elFormItem:{"default":""}},props:{type:{type:String,"default":"default"},size:String,icon:{type:String,"default":""},nativeType:{type:String,"default":"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},o=n(0),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="packages/button/src/button.vue";var s=a.exports;s.install=function(e){e.component(s.name,s)},t["default"]=s}})},1998:function(e,t,n){"use strict";var r=n(3483)(n(3988));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=76)}({0:function(e,t,n){function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},11:function(e,t){e.exports=n(90)},21:function(e,t){e.exports=n(5676)},4:function(e,t){e.exports=n(4823)},76:function(e,t,n){n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{"class":["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon","class":e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon","class":e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon","class":["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)};r._withStripped=!0;var i=n(4),o=n.n(i),a=n(11),s=n.n(a),u=void 0,c="\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=["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 d(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),i=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:l.map((function(e){return e+":"+t.getPropertyValue(e)})).join(";"),paddingSize:r,borderSize:i,boxSizing:n}}function f(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;u||(u=document.createElement("textarea"),document.body.appendChild(u));var r=d(e),i=r.paddingSize,o=r.borderSize,a=r.boxSizing,s=r.contextStyle;u.setAttribute("style",s+";"+c),u.value=e.value||e.placeholder||"";var l=u.scrollHeight,f={};"border-box"===a?l+=o:"content-box"===a&&(l-=i),u.value="";var p=u.scrollHeight-i;if(null!==t){var h=p*t;"border-box"===a&&(h=h+i+o),l=Math.max(h,l),f.minHeight=h+"px"}if(null!==n){var _=p*n;"border-box"===a&&(_=_+i+o),l=Math.min(_,l)}return f.height=l+"px",u.parentNode&&u.parentNode.removeChild(u),u=null,f}var p=n(9),h=n.n(p),_=n(21),g={name:"ElInput",componentName:"ElInput",mixins:[o.a,s.a],inheritAttrs:!1,inject:{elForm:{"default":""},elFormItem:{"default":""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,"default":"text"},autosize:{type:[Boolean,Object],"default":!1},autocomplete:{type:String,"default":"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,"default":!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,"default":!1},showPassword:{type:Boolean,"default":!1},showWordLimit:{type:Boolean,"default":!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return h()({},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=f(this.$refs.textarea,t,n)}else this.textareaCalcStyle={minHeight:f(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(){this.isComposing=!0},handleCompositionUpdate:function(e){var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(_.isKorean)(n)},handleCompositionEnd:function(e){this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,r=0;r<t.length;r++)if(t[r].parentNode===this.$el){n=t[r];break}if(n){var i={suffix:"append",prefix:"prepend"}[e];this.$slots[i]?n.style.transform="translateX("+("suffix"===e?"-":"")+this.$el.querySelector(".el-input-group__"+i).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){this.passwordVisible=!this.passwordVisible,this.focus()},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},v=n(0),m=Object(v.a)(g,r,[],!1,null,null,null);m.options.__file="packages/input/src/input.vue";var y=m.exports;y.install=function(e){e.component(y.name,y)},t["default"]=y},9:function(e,t){e.exports=n(1878)}})},9143:function(e,t,n){"use strict";var r=n(3483)(n(3988));e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===(0,r["default"])(e)&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=68)}({0:function(e,t,n){function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},15:function(e,t){e.exports=n(3430)},2:function(e,t){e.exports=n(9943)},41:function(e,t){e.exports=n(8307)},68:function(e,t,n){n.r(t);var r=n(7),i=n.n(r),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask","class":[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[n("div",{staticClass:"el-loading-spinner"},[e.spinner?n("i",{"class":e.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?n("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])};o._withStripped=!0;var a={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}},s=n(0),u=Object(s.a)(a,o,[],!1,null,null,null);u.options.__file="packages/loading/src/loading.vue";var c=u.exports,l=n(2),d=n(15),f=n(41),p=n.n(f),h=i.a.extend(c),_={install:function(e){if(!e.prototype.$isServer){var t=function(t,r){r.value?e.nextTick((function(){r.modifiers.fullscreen?(t.originalPosition=Object(l.getStyle)(document.body,"position"),t.originalOverflow=Object(l.getStyle)(document.body,"overflow"),t.maskStyle.zIndex=d.PopupManager.nextZIndex(),Object(l.addClass)(t.mask,"is-fullscreen"),n(document.body,t,r)):(Object(l.removeClass)(t.mask,"is-fullscreen"),r.modifiers.body?(t.originalPosition=Object(l.getStyle)(document.body,"position"),["top","left"].forEach((function(e){var n="top"===e?"scrollTop":"scrollLeft";t.maskStyle[e]=t.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]-parseInt(Object(l.getStyle)(document.body,"margin-"+e),10)+"px"})),["height","width"].forEach((function(e){t.maskStyle[e]=t.getBoundingClientRect()[e]+"px"})),n(document.body,t,r)):(t.originalPosition=Object(l.getStyle)(t,"position"),n(t,t,r)))})):(p()(t.instance,(function(e){if(t.instance.hiding){t.domVisible=!1;var n=r.modifiers.fullscreen||r.modifiers.body?document.body:t;Object(l.removeClass)(n,"el-loading-parent--relative"),Object(l.removeClass)(n,"el-loading-parent--hidden"),t.instance.hiding=!1}}),300,!0),t.instance.visible=!1,t.instance.hiding=!0)},n=function(t,n,r){n.domVisible||"none"===Object(l.getStyle)(n,"display")||"hidden"===Object(l.getStyle)(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach((function(e){n.mask.style[e]=n.maskStyle[e]})),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(l.addClass)(t,"el-loading-parent--relative"),r.modifiers.fullscreen&&r.modifiers.lock&&Object(l.addClass)(t,"el-loading-parent--hidden"),n.domVisible=!0,t.appendChild(n.mask),e.nextTick((function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0})),n.domInserted=!0)};e.directive("loading",{bind:function(e,n,r){var i=e.getAttribute("element-loading-text"),o=e.getAttribute("element-loading-spinner"),a=e.getAttribute("element-loading-background"),s=e.getAttribute("element-loading-custom-class"),u=r.context,c=new h({el:document.createElement("div"),data:{text:u&&u[i]||i,spinner:u&&u[o]||o,background:u&&u[a]||a,customClass:u&&u[s]||s,fullscreen:!!n.modifiers.fullscreen}});e.instance=c,e.mask=c.$el,e.maskStyle={},n.value&&t(e,n)},update:function(e,n){e.instance.setText(e.getAttribute("element-loading-text")),n.oldValue!==n.value&&t(e,n)},unbind:function(e,n){e.domInserted&&(e.mask&&e.mask.parentNode&&e.mask.parentNode.removeChild(e.mask),t(e,{value:!1,modifiers:n.modifiers})),e.instance&&e.instance.$destroy()}})}}},g=_,v=n(9),m=n.n(v),y=i.a.extend(c),b={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},k=void 0;y.prototype.originalPosition="",y.prototype.originalOverflow="",y.prototype.close=function(){var e=this;this.fullscreen&&(k=undefined),p()(this,(function(t){var n=e.fullscreen||e.body?document.body:e.target;Object(l.removeClass)(n,"el-loading-parent--relative"),Object(l.removeClass)(n,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()}),300),this.visible=!1};var E=function(e,t,n){var r={};e.fullscreen?(n.originalPosition=Object(l.getStyle)(document.body,"position"),n.originalOverflow=Object(l.getStyle)(document.body,"overflow"),r.zIndex=d.PopupManager.nextZIndex()):e.body?(n.originalPosition=Object(l.getStyle)(document.body,"position"),["top","left"].forEach((function(t){var n="top"===t?"scrollTop":"scrollLeft";r[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]+"px"})),["height","width"].forEach((function(t){r[t]=e.target.getBoundingClientRect()[t]+"px"}))):n.originalPosition=Object(l.getStyle)(t,"position"),Object.keys(r).forEach((function(e){n.$el.style[e]=r[e]}))},A=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(!i.a.prototype.$isServer){if("string"==typeof(e=m()({},b,e)).target&&(e.target=document.querySelector(e.target)),e.target=e.target||document.body,e.target!==document.body?e.fullscreen=!1:e.body=!0,e.fullscreen&&k)return k;var t=e.body?document.body:e.target,n=new y({el:document.createElement("div"),data:e});return E(e,t,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(l.addClass)(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object(l.addClass)(t,"el-loading-parent--hidden"),t.appendChild(n.$el),i.a.nextTick((function(){n.visible=!0})),e.fullscreen&&(k=n),n}};t["default"]={install:function(e){e.use(g),e.prototype.$loading=A},directive:g,service:A}},7:function(e,t){e.exports=n(8252)},9:function(e,t){e.exports=n(1878)}})},4823:function(e,t){"use strict";function n(e,t,r){this.$children.forEach((function(i){i.$options.componentName===e?i.$emit.apply(i,[t].concat(r)):n.apply(i,[e,t].concat([r]))}))}t.__esModule=!0,t["default"]={methods:{dispatch:function(e,t,n){for(var r=this.$parent||this.$root,i=r.$options.componentName;r&&(!i||i!==e);)(r=r.$parent)&&(i=r.$options.componentName);r&&r.$emit.apply(r,[t].concat(n))},broadcast:function(e,t,r){n.call(this,e,t,r)}}}},90:function(e,t,n){"use strict";t.__esModule=!0,n(3268),t["default"]={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},8307:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:300,r=arguments.length>3&&arguments[3]!==undefined&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var i=!1,o=function(){i||(i=!0,t&&t.apply(null,arguments))};r?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},9943:function(e,t,n){"use strict";var r=n(3483)(n(3988));t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=undefined;var i="function"==typeof Symbol&&"symbol"===(0,r["default"])(Symbol.iterator)?function(e){return(0,r["default"])(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r["default"])(e)};t.hasClass=h,t.addClass=function(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),i=0,o=r.length;i<o;i++){var a=r[i];a&&(e.classList?e.classList.add(a):h(e,a)||(n+=" "+a))}e.classList||(e.className=n)}},t.removeClass=function(e,t){if(e&&t){for(var n=t.split(" "),r=" "+e.className+" ",i=0,o=n.length;i<o;i++){var a=n[i];a&&(e.classList?e.classList.remove(a):h(e,a)&&(r=r.replace(" "+a+" "," ")))}e.classList||(e.className=(r||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,""))}},t.setStyle=function v(e,t,n){if(e&&t)if("object"===(void 0===t?"undefined":i(t)))for(var r in t)t.hasOwnProperty(r)&&v(e,r,t[r]);else"opacity"===(t=d(t))&&l<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n};var o,a=n(8252),s=((o=a)&&o.__esModule?o:{"default":o})["default"].prototype.$isServer,u=/([\:\-\_]+(.))/g,c=/^moz([A-Z])/,l=s?0:Number(document.documentMode),d=function(e){return e.replace(u,(function(e,t,n,r){return r?n.toUpperCase():n})).replace(c,"Moz$1")},f=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)},p=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 h(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){f(e,t,(function r(){n&&n.apply(this,arguments),p(e,t,r)}))};var _=t.getStyle=l<9?function(e,t){if(!s){if(!e||!t)return null;"float"===(t=d(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(n){return 1}default: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 _(e,n?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto)/)}};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}},1878:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o!==undefined&&(e[i]=o)}}return e}},3430:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=undefined;var r=u(n(8252)),i=u(n(1878)),o=u(n(4330)),a=u(n(1213)),s=n(9943);function u(e){return e&&e.__esModule?e:{"default":e}}var c=1,l=void 0;t["default"]={props:{visible:{type:Boolean,"default":!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,"default":!1},modalFade:{type:Boolean,"default":!0},modalClass:{},modalAppendToBody:{type:Boolean,"default":!1},lockScroll:{type:Boolean,"default":!0},closeOnPressEscape:{type:Boolean,"default":!1},closeOnClickModal:{type:Boolean,"default":!1}},beforeMount:function(){this._popupId="popup-"+c++,o["default"].register(this._popupId,this)},beforeDestroy:function(){o["default"].deregister(this._popupId),o["default"].closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,r["default"].nextTick((function(){t.open()})))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,i["default"])({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout((function(){t._openTimer=null,t.doOpen(n)}),r):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,r=e.zIndex;if(r&&(o["default"].zIndex=r),n&&(this._closing&&(o["default"].closeModal(this._popupId),this._closing=!1),o["default"].openModal(this._popupId,o["default"].nextZIndex(),this.modalAppendToBody?undefined:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),l=(0,a["default"])();var i=document.documentElement.clientHeight<document.body.scrollHeight,u=(0,s.getStyle)(document.body,"overflowY");l>0&&(i||"scroll"===u)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+l+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=o["default"].nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout((function(){e._closeTimer=null,e.doClose()}),t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o["default"].closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=o["default"]},4330:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(8252),o=(r=i)&&r.__esModule?r:{"default":r},a=n(9943),s=!1,u=!1,c=void 0,l=function(){if(!o["default"].prototype.$isServer){var e=f.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),f.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){f.doOnModalClick&&f.doOnModalClick()}))),e}},d={},f={modalFade:!0,getInstance:function(e){return d[e]},register:function(e,t){e&&t&&(d[e]=t)},deregister:function(e){e&&(d[e]=null,delete d[e])},nextZIndex:function(){return f.zIndex++},modalStack:[],doOnModalClick:function(){var e=f.modalStack[f.modalStack.length-1];if(e){var t=f.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,r,i){if(!o["default"].prototype.$isServer&&e&&t!==undefined){this.modalFade=i;for(var u=this.modalStack,c=0,d=u.length;c<d;c++)if(u[c].id===e)return;var f=l();(0,a.addClass)(f,"v-modal"),this.modalFade&&!s&&(0,a.addClass)(f,"v-modal-enter"),r&&r.trim().split(/\s+/).forEach((function(e){return(0,a.addClass)(f,e)})),setTimeout((function(){(0,a.removeClass)(f,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(f):document.body.appendChild(f),t&&(f.style.zIndex=t),f.tabIndex=0,f.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:r})}},closeModal:function(e){var t=this.modalStack,n=l();if(t.length>0){var r=t[t.length-1];if(r.id===e)r.modalClass&&r.modalClass.trim().split(/\s+/).forEach((function(e){return(0,a.removeClass)(n,e)})),t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex);else for(var i=t.length-1;i>=0;i--)if(t[i].id===e){t.splice(i,1);break}}0===t.length&&(this.modalFade&&(0,a.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",f.modalDom=undefined),(0,a.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(f,"zIndex",{configurable:!0,get:function(){return u||(c=c||(o["default"].prototype.$ELEMENT||{}).zIndex||2e3,u=!0),c},set:function(e){c=e}}),o["default"].prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=function(){if(!o["default"].prototype.$isServer&&f.modalStack.length>0){var e=f.modalStack[f.modalStack.length-1];if(!e)return;return f.getInstance(e.id)}}();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t["default"]=f},1213:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(o["default"].prototype.$isServer)return 0;if(a!==undefined)return a;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),a=t-r};var r,i=n(8252),o=(r=i)&&r.__esModule?r:{"default":r},a=void 0},5676: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)}},6350:function(e,t){"use strict";t.__esModule=!0,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},t.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return e!==undefined&&null!==e}},3268:function(e,t,n){"use strict";var r=n(3483)(n(3988));t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=undefined;var i="function"==typeof Symbol&&"symbol"===(0,r["default"])(Symbol.iterator)?function(e){return(0,r["default"])(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r["default"])(e)};t.noop=function(){},t.hasOwn=function(e,t){return c.call(e,t)},t.toObject=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&l(t,e[n]);return t},t.getPropByPath=function(e,t,n){for(var r=e,i=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),o=0,a=i.length;o<a-1&&(r||n);++o){var s=i[o];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:i[o],v:r?r[i[o]]:null}},t.rafThrottle=function(e){var t=!1;return function(){for(var n=this,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];t||(t=!0,window.requestAnimationFrame((function(r){e.apply(n,i),t=!1})))}},t.objToArray=function(e){return Array.isArray(e)?e:h(e)?[]:[e]};var o,a=n(8252),s=(o=a)&&o.__esModule?o:{"default":o},u=n(6350),c=Object.prototype.hasOwnProperty;function l(e,t){for(var n in t)e[n]=t[n];return e}t.getValueByPath=function(e,t){for(var n=(t=t||"").split("."),r=e,i=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!r)break;if(o===a-1){i=r[s];break}r=r[s]}return i},t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var d=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},f=(t.arrayFind=function(e,t){var n=d(e,t);return-1!==n?e[n]:undefined},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!s["default"].prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!s["default"].prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!s["default"].prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==(void 0===e?"undefined":i(e)))return e;var t=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var r=e[n];n&&r&&t.forEach((function(t){e[t+n]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,u.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,u.isObject)(e),r=(0,u.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),p=t.arrayEquals=function(e,t){if(t=t||[],(e=e||[]).length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!f(e[n],t[n]))return!1;return!0},h=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?p(e,t):f(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1})},6954:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i,o=r(n(8252)),a=n(1826),s=[],u="@@clickoutsideContext",c=0;function l(e,t,n){return function(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[u].methodName&&n.context[e[u].methodName]?n.context[e[u].methodName]():e[u].bindingFn&&e[u].bindingFn())}}!o["default"].prototype.$isServer&&(0,a.on)(document,"mousedown",(function(e){return i=e})),!o["default"].prototype.$isServer&&(0,a.on)(document,"mouseup",(function(e){s.forEach((function(t){return t[u].documentHandler(e,i)}))}));var d={bind:function(e,t,n){s.push(e);var r=c++;e[u]={id:r,documentHandler:l(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[u].documentHandler=l(e,t,n),e[u].methodName=t.expression,e[u].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n<t;n++)if(s[n][u].id===e[u].id){s.splice(n,1);break}delete e[u]}};t["default"]=d},1826:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=f,t.addClass=function(e,t){if(e){for(var n=e.className,r=(t||"").split(" "),i=0,o=r.length;i<o;i++){var a=r[i];a&&(e.classList?e.classList.add(a):f(e,a)||(n+=" "+a))}e.classList||(e.className=n)}},t.removeClass=function(e,t){if(e&&t){for(var n=t.split(" "),r=" "+e.className+" ",i=0,o=n.length;i<o;i++){var a=n[i];a&&(e.classList?e.classList.remove(a):f(e,a)&&(r=r.replace(" "+a+" "," ")))}e.classList||(e.className=(r||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,""))}},t.setStyle=function _(e,t,n){if(e&&t)if("object"===(0,i["default"])(t))for(var r in t)t.hasOwnProperty(r)&&_(e,r,t[r]);else"opacity"===(t=c(t))&&u<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n},t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=void 0;var i=r(n(3988)),o=r(n(8252))["default"].prototype.$isServer,a=/([\:\-\_]+(.))/g,s=/^moz([A-Z])/,u=o?0:Number(document.documentMode),c=function(e){return e.replace(a,(function(e,t,n,r){return r?n.toUpperCase():n})).replace(s,"Moz$1")},l=!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)};t.on=l;var d=!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 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.off=d,t.once=function(e,t,n){l(e,t,(function r(){n&&n.apply(this,arguments),d(e,t,r)}))};var p=u<9?function(e,t){if(!o){if(!e||!t)return null;"float"===(t=c(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(n){return 1}default: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]}}};t.getStyle=p;var h=function(e,t){if(!o){var n=null!==t||t!==undefined;return p(e,n?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto)/)}};t.isScroll=h,t.getScrollContainer=function(e,t){if(!o){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(h(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(o||!e||!t)return!1;var n,r=e.getBoundingClientRect();return n=[window,document,document.documentElement,null,undefined].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),r.top<n.bottom&&r.bottom>n.top&&r.right>n.left&&r.left<n.right}},9865:function(){"use strict";!function(){if("undefined"!=typeof self&&self.Prism&&self.document&&document.createElement){var e={javascript:"clike",actionscript:"javascript",apex:["clike","sql"],arduino:"cpp",aspnet:["markup","csharp"],birb:"clike",bison:"c",c:"clike",csharp:"clike",cpp:"c",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",groovy:"clike",haml:"ruby",handlebars:"markup-templating",haxe:"clike",hlsl:"c",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",markdown:"markup","markup-templating":"markup",mongodb:"javascript",n4js:"javascript",nginx:"clike",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",qml:"javascript",qore:"clike",racket:"scheme",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",swift:"clike","t4-cs":["t4-templating","csharp"],"t4-vb":["t4-templating","vbnet"],tap:"yaml",tt2:["clike","markup-templating"],textile:"markup",twig:"markup",typescript:"javascript",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",adoc:"asciidoc",shell:"bash",shortcode:"bbcode",rbnf:"bnf",oscript:"bsl",cs:"csharp",dotnet:"csharp",coffee:"coffeescript",conc:"concurnas",jinja2:"django","dns-zone":"dns-zone-file",dockerfile:"docker",eta:"ejs",xlsx:"excel-formula",xls:"excel-formula",gamemakerlanguage:"gml",hs:"haskell",gitignore:"ignore",hgignore:"ignore",npmignore:"ignore",webmanifest:"json",kt:"kotlin",kts:"kotlin",tex:"latex",context:"latex",ly:"lilypond",emacs:"lisp",elisp:"lisp","emacs-lisp":"lisp",md:"markdown",moon:"moonscript",n4jsd:"n4js",nani:"naniscript",objc:"objectivec",objectpascal:"pascal",px:"pcaxis",pcode:"peoplecode",pq:"powerquery",mscript:"powerquery",pbfasm:"purebasic",purs:"purescript",py:"python",rkt:"racket",rpy:"renpy",robot:"robotframework",rb:"ruby","sh-session":"shell-session",shellsession:"shell-session",smlnj:"sml",sol:"solidity",sln:"solution-file",rq:"sparql",t4:"t4-cs",trig:"turtle",ts:"typescript",tsconfig:"typoscript",uscript:"unrealscript",uc:"unrealscript",vb:"visual-basic",vba:"visual-basic",xeoracube:"xeora",yml:"yaml"},n={},r="components/",i=Prism.util.currentScript();if(i){var o=/\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,a=/(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,s=i.getAttribute("data-autoloader-path");if(null!=s)r=s.trim().replace(/\/?$/,"/");else{var u=i.src;o.test(u)?r=u.replace(o,"components/"):a.test(u)&&(r=u.replace(a,"$1components/"))}}var c=Prism.plugins.autoloader={languages_path:r,use_minified:!0,loadLanguages:d};Prism.hooks.add("complete",(function(e){var t=e.element,n=e.language;if(t&&n&&"none"!==n){var r=function(e){var t=(e.getAttribute("data-dependencies")||"").trim();if(!t){var n=e.parentElement;n&&"pre"===n.tagName.toLowerCase()&&(t=(n.getAttribute("data-dependencies")||"").trim())}return t?t.split(/\s*,\s*/g):[]}(t);/^diff-./i.test(n)?(r.push("diff"),r.push(n.substr("diff-".length))):r.push(n),r.every(l)||d(r,(function(){Prism.highlightElement(t)}))}}))}function l(e){if(e.indexOf("!")>=0)return!1;if((e=t[e]||e)in Prism.languages)return!0;var r=n[e];return r&&!r.error&&!1===r.loading}function d(r,i,o){"string"==typeof r&&(r=[r]);var a=r.length,s=0,u=!1;function p(){u||++s===a&&i&&i(r)}0!==a?r.forEach((function(r){!function(r,i,o){var a=r.indexOf("!")>=0;function s(){var e=n[r];e||(e=n[r]={callbacks:[]}),e.callbacks.push({success:i,error:o}),!a&&l(r)?f(r,"success"):!a&&e.error?f(r,"error"):!a&&e.loading||(e.loading=!0,e.error=!1,function(e,t,n){var r=document.createElement("script");r.src=e,r.async=!0,r.onload=function(){document.body.removeChild(r),t&&t()},r.onerror=function(){document.body.removeChild(r),n&&n()},document.body.appendChild(r)}(function(e){return c.languages_path+"prism-"+e+(c.use_minified?".min":"")+".js"}(r),(function(){e.loading=!1,f(r,"success")}),(function(){e.loading=!1,e.error=!0,f(r,"error")})))}r=r.replace("!","");var u=e[r=t[r]||r];u&&u.length?d(u,s,o):s()}(r,p,(function(){u||(u=!0,o&&o(r))}))})):i&&setTimeout(i,0)}function f(e,t){if(n[e]){for(var r=n[e].callbacks,i=0,o=r.length;i<o;i++){var a=r[i][t];a&&setTimeout(a,0)}r.length=0}}}()},3354:function(e,t,n){"use strict";var r=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function p(e){return e instanceof i?new i(e.type,p(e.content),e.alias):Array.isArray(e)?e.map(p):e.replace(/&/g,"&").replace(/</g,"<").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 h(e,t){var n,i;switch(t=t||{},r.util.type(e)){case"Object":if(i=r.util.objId(e),t[i])return t[i];for(var o in n={},t[i]=n,e)e.hasOwnProperty(o)&&(n[o]=h(e[o],t));return n;case"Array":return i=r.util.objId(e),t[i]?t[i]:(n=[],t[i]=n,e.forEach((function(e,r){n[r]=h(e,t)})),n);default:return e}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var i in t)n[i]=t[i];return n},insertBefore:function(e,t,n,i){var o=(i=i||r.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var u in n)n.hasOwnProperty(u)&&(a[u]=n[u]);n.hasOwnProperty(s)||(a[s]=o[s])}var c=i[e];return i[e]=a,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=a)})),a},DFS:function _(e,t,n,i){i=i||{};var o=r.util.objId;for(var a in e)if(e.hasOwnProperty(a)){t.call(e,a,e[a],n||a);var s=e[a],u=r.util.type(s);"Object"!==u||i[o(s)]?"Array"!==u||i[o(s)]||(i[o(s)]=!0,_(s,t,a,i)):(i[o(s)]=!0,_(s,t,null,i))}}},plugins:{},highlightAll:function(e,t){r.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var i={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};r.hooks.run("before-highlightall",i),i.elements=Array.prototype.slice.apply(i.container.querySelectorAll(i.selector)),r.hooks.run("before-all-elements-highlight",i);for(var o,a=0;o=i.elements[a++];)r.highlightElement(o,!0===t,i.callback)},highlightElement:function(n,i,o){var a=r.util.getLanguage(n),s=r.languages[a];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+a;var u=n.parentElement;u&&"pre"===u.nodeName.toLowerCase()&&(u.className=u.className.replace(t,"").replace(/\s+/g," ")+" language-"+a);var c={element:n,language:a,grammar:s,code:n.textContent};function l(e){c.highlightedCode=e,r.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,r.hooks.run("after-highlight",c),r.hooks.run("complete",c),o&&o.call(c.element)}if(r.hooks.run("before-sanity-check",c),!c.code)return r.hooks.run("complete",c),void(o&&o.call(c.element));if(r.hooks.run("before-highlight",c),c.grammar)if(i&&e.Worker){var d=new Worker(r.filename);d.onmessage=function(e){l(e.data)},d.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else l(r.highlight(c.code,c.grammar,c.language));else l(r.util.encode(c.code))},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",o),o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),i.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new s;return u(i,i.head,e),a(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var i,o=0;i=n[o++];)i(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function a(e,t,n,s,l,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var _=p[h],g=_.inside,v=!!_.lookbehind,m=!!_.greedy,y=_.alias;if(m&&!_.pattern.global){var b=_.pattern.toString().match(/[imsuy]*$/)[0];_.pattern=RegExp(_.pattern.source,b+"g")}for(var k=_.pattern||_,E=s.next,A=l;E!==t.tail&&!(d&&A>=d.reach);A+=E.value.length,E=E.next){var I=E.value;if(t.length>e.length)return;if(!(I instanceof i)){var w,C=1;if(m){if(!(w=o(k,A,e,v)))break;var D=w.index,O=w.index+w[0].length,x=A;for(x+=E.value.length;D>=x;)x+=(E=E.next).value.length;if(A=x-=E.value.length,E.value instanceof i)continue;for(var M=E;M!==t.tail&&(x<O||"string"==typeof M.value);M=M.next)C++,x+=M.value.length;C--,I=e.slice(A,x),w.index-=A}else if(!(w=o(k,0,I,v)))continue;D=w.index;var T=w[0],N=I.slice(0,D),S=I.slice(D+T.length),F=A+I.length;d&&F>d.reach&&(d.reach=F);var P=E.prev;N&&(P=u(t,P,N),A+=N.length),c(t,P,C),E=u(t,P,new i(f,g?r.tokenize(T,g):T,y,T)),S&&u(t,E,S),C>1&&a(e,t,n,E.prev,A,{cause:f+","+h,reach:F})}}}}}function s(){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 u(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function c(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=r,i.stringify=function g(e,t){if("string"==typeof e)return e;if(Array.isArray(e)){var n="";return e.forEach((function(e){n+=g(e,t)})),n}var i={type:e.type,content:g(e.content,t),tag:"span",classes:["token",e.type],attributes:{},language:t},o=e.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),r.hooks.run("wrap",i);var a="";for(var s in i.attributes)a+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+a+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(r.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),i=n.language,o=n.code,a=n.immediateClose;e.postMessage(r.highlight(o,r.languages[i],i)),a&&e.close()}),!1),r):r;var l=r.util.currentScript();function d(){r.manual||r.highlightAll()}if(l&&(r.filename=l.src,l.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var f=document.readyState;"loading"===f||"interactive"===f&&l&&l.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return r}("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:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,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/,name:/[^\s<>'"]+/}},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},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(/&/,"&"))})),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:i},r.languages.insertBefore("markup","cdata",o)}}),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])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,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:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},n.tag))}(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|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,"function":/\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])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|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:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"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:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,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",{"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]+/}}}),r.languages.markup&&r.languages.markup.tag.addInlined("script","javascript"),r.languages.js=r.languages.javascript,function(){if("undefined"!=typeof self&&self.Prism&&self.document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e=window.Prism,t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r="loading",i="loaded",o='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',a=/\blang(?:uage)?-([\w-]+)\b/i;e.hooks.add("before-highlightall",(function(e){e.selector+=", "+o})),e.hooks.add("before-sanity-check",(function(a){var s=a.element;if(s.matches(o)){a.code="",s.setAttribute(n,r);var c=s.appendChild(document.createElement("CODE"));c.textContent="Loading…";var l=s.getAttribute("data-src"),d=a.language;if("none"===d){var f=(/\.(\w+)$/.exec(l)||[,"none"])[1];d=t[f]||f}u(c,d),u(s,d);var p=e.plugins.autoloader;p&&p.loadLanguages(d);var h=new XMLHttpRequest;h.open("GET",l,!0),h.onreadystatechange=function(){var t,r;4==h.readyState&&(h.status<400&&h.responseText?(s.setAttribute(n,i),c.textContent=h.responseText,e.highlightElement(c)):(s.setAttribute(n,"failed"),h.status>=400?c.textContent=(t=h.status,r=h.statusText,"✖ Error "+t+" while fetching file: "+r):c.textContent="✖ Error: File does not exist or is empty"))},h.send(null)}})),e.plugins.fileHighlight={highlight:function(t){for(var n,r=(t||document).querySelectorAll(o),i=0;n=r[i++];)e.highlightElement(n)}};var s=!1;e.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}function u(e,t){var n=e.className;n=n.replace(a," ")+" language-"+t,e.className=n.replace(/\s+/g," ").trim()}}()},3355:function(e,t,n){"use strict";e=n.nmd(e);var r=n(3483)(n(3988)),i=function(e){var t,n=Object.prototype,i=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(N){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,o=Object.create(i.prototype),a=new x(r||[]);return o._invoke=function(e,t,n){var r=f;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===_){if("throw"===i)throw o;return T()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=_,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=d(e,t,n);if("normal"===u.type){if(r=n.done?_:p,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=_,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(N){return{type:"throw",arg:N}}}e.wrap=l;var f="suspendedStart",p="suspendedYield",h="executing",_="completed",g={};function v(){}function m(){}function y(){}var b={};b[a]=function(){return this};var k=Object.getPrototypeOf,E=k&&k(k(M([])));E&&E!==n&&i.call(E,a)&&(b=E);var A=y.prototype=v.prototype=Object.create(b);function I(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(o,a,s,u){var c=d(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"===(0,r["default"])(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}}function C(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=d(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function M(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:T}}function T(){return{value:t,done:!0}}return m.prototype=A.constructor=y,y.constructor=m,m.displayName=c(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,u,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},I(w.prototype),w.prototype[s]=function(){return this},e.AsyncIterator=w,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new w(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},I(A),c(A,u,"Generator"),A[a]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=M,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}("object"===(0,r["default"])(e)?e.exports:{});try{regeneratorRuntime=i}catch(o){Function("r","regeneratorRuntime = r")(i)}},9785:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(6255)),o=r(n(2349)),a=r(n(8804)),s={components:{TkComments:i["default"],TkFooter:o["default"],TkAdmin:a["default"]},data:function(){return{showAdmin:!1,showAdminEntry:!1}},methods:{onShowAdminEntry:function(e){this.showAdminEntry=e}}};t.Z=s},5235:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(5570)),o=r(n(1455)),a=r(n(6845)),s=r(n(6230)),u={data:function(){return{iconComment:i["default"],iconCommentSolid:o["default"],iconLike:a["default"],iconLikeSolid:s["default"]}},props:{liked:Boolean,likeCount:Number,repliesCount:Number},computed:{likeCountStr:function(){return this.likeCount>0?"".concat(this.likeCount):""},repliesCountStr:function(){return this.repliesCount>0?"".concat(this.repliesCount):""}},methods:{onLike:function(){this.$emit("like")},onReply:function(){this.$emit("reply")}}};t.Z=u},6420:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(6304)),o=r(n(7402)),a=r(n(1683)),s=r(n(4692)),u=r(n(7898)),c=r(n(733)),l=n(5227),d=r(n(7848)),f={components:{TkAdminComment:s["default"],TkAdminConfig:u["default"],TkAdminImport:c["default"]},props:{show:Boolean},data:function(){return{iconClose:d["default"],loading:!0,version:"",needUpdate:!1,isLogin:!1,isSetPassword:!0,isSetCredentials:!1,credentials:"",password:"",passwordConfirm:"",loginErrorMessage:"",activeTabName:"comment"}},computed:{canRegist:function(){return!this.isSetPassword&&!!this.password&&this.password===this.passwordConfirm&&(this.isSetCredentials||this.credentials)}},methods:{t:l.t,onLogin:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n,r;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.password){t.next=3;break}return e.loginErrorMessage=(0,l.t)("ADMIN_PASSWORD_REQUIRED"),t.abrupt("return");case 3:return e.loading=!0,e.loginErrorMessage="",n=(0,a["default"])(e.password),t.next=8,(0,l.call)(e.$tcb,"LOGIN",{password:n});case 8:if(!(r=t.sent).result.message){t.next=13;break}e.loginErrorMessage=r.result.message,t.next=25;break;case 13:if(!r.result.ticket){t.next=25;break}return t.prev=14,t.next=17,e.$tcb.auth.customAuthProvider().signIn(r.result.ticket);case 17:l.logger.log("登录成功"),e.password="",e.checkAuth(),t.next=25;break;case 22:t.prev=22,t.t0=t["catch"](14),l.logger.error("登录失败",t.t0);case 25:e.loading=!1;case 26:case"end":return t.stop()}}),t,null,[[14,22]])})))()},onLogout:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$tcb.auth.signOut();case 3:return t.next=5,e.$tcb.auth.anonymousAuthProvider().signIn();case 5:e.isLogin=!1,e.loading=!1;case 7:case"end":return t.stop()}}),t)})))()},onRegist:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n,r;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,n=(0,a["default"])(e.password),t.next=4,(0,l.call)(e.$tcb,"SET_PASSWORD",{password:n,credentials:e.credentials});case 4:(r=t.sent).result.code?(e.loginErrorMessage=(0,l.t)("ADMIN_REGIST_FAILED"),r.result.message&&(e.loginErrorMessage+=","+r.result.message),l.logger.warn("Twikoo 注册失败",r)):(e.passwordMd5="",e.isSetPassword=!0,e.onLogin()),e.loading=!1;case 7:case"end":return t.stop()}}),t)})))()},onShow:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.checkAuth();case 3:if(e.isLogin){t.next=7;break}return t.next=6,e.checkIfPasswordSet();case 6:e.focusPassword();case 7:e.loading=!1;case 8:case"end":return t.stop()}}),t)})))()},focusPassword:function(){var e=this;setTimeout((function(){e.$refs.focusme.focus()}),500)},checkAuth:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$tcb.auth.getCurrenUser();case 2:n=t.sent,e.isLogin="CUSTOM"===n.loginType;case 4:case"end":return t.stop()}}),t)})))()},checkIfPasswordSet:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,l.call)(e.$tcb,"GET_PASSWORD_STATUS");case 3:n=t.sent,e.version=n.result.version,e.isSetPassword=n.result.status,t.next=13;break;case 8:throw t.prev=8,t.t0=t["catch"](0),e.needUpdate=!0,e.loading=!1,t.t0;case 13:case"end":return t.stop()}}),t,null,[[0,8]])})))()},onClose:function(){this.$emit("close")}},watch:{show:function(e){e&&this.onShow()}}};t.Z=f},8037:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(6304)),o=r(n(7402)),a=n(5227),s=n(306),u=r(n(6785)),c=r(n(6643)),l={components:{TkAvatar:u["default"],TkPagination:c["default"]},data:function(){return{loading:!0,comments:[],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:s.version,count:0,pageSize:5,currentPage:1,filter:{keyword:"",type:""}}},methods:{t:a.t,convertLink:a.convertLink,getComments:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,(0,a.call)(e.$tcb,"COMMENT_GET_FOR_ADMIN",{per:e.pageSize,page:e.currentPage,keyword:e.filter.keyword,type:e.filter.type});case 3:(n=t.sent).result&&!n.result.code&&(e.count=n.result.count,e.comments=n.result.data),e.$nextTick((function(){(0,a.renderLinks)(e.$refs.comments),(0,a.renderMath)(e.$refs["comment-list"],e.$twikoo.katex),e.highlightCode()})),e.loading=!1;case 7:case"end":return t.stop()}}),t)})))()},getConfig:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.call)(e.$tcb,"GET_CONFIG_FOR_ADMIN");case 2:(n=t.sent).result&&!n.result.code&&(e.serverConfig=n.result.config,e.serverConfig.HIGHLIGHT||(e.serverConfig.HIGHLIGHT="true"));case 4:case"end":return t.stop()}}),t)})))()},onPageSizeChange:function(e){this.pageSize=e,this.getComments()},switchPage:function(e){this.currentPage=e,this.getComments()},handleView:function(e){window.open("".concat(e.url,"#").concat(e._id))},handleDelete:function(e){var t=this;return(0,o["default"])(i["default"].mark((function n(){return i["default"].wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(confirm((0,a.t)("ADMIN_COMMENT_DELETE_CONFIRM"))){n.next=2;break}return n.abrupt("return");case 2:return t.loading=!0,n.next=5,(0,a.call)(t.$tcb,"COMMENT_DELETE_FOR_ADMIN",{id:e._id});case 5:return n.next=7,t.getComments();case 7:t.loading=!1;case 8:case"end":return n.stop()}}),n)})))()},handleSpam:function(e,t){this.setComment(e,{isSpam:t})},handleTop:function(e,t){this.setComment(e,{top:t})},setComment:function(e,t){var n=this;return(0,o["default"])(i["default"].mark((function r(){return i["default"].wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n.loading=!0,r.next=3,(0,a.call)(n.$tcb,"COMMENT_SET_FOR_ADMIN",{id:e._id,set:t});case 3:return r.next=5,n.getComments();case 5:n.loading=!1;case 6:case"end":return r.stop()}}),r)})))()},highlightCode:function(){"true"===this.serverConfig.HIGHLIGHT&&(0,a.renderCode)(this.$refs["comment-list"],this.serverConfig.HIGHLIGHT_THEME)}},mounted:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.getConfig(),e.getComments()]);case 2:e.highlightCode();case 3:case"end":return t.stop()}}),t)})))()}};t.Z=l},3637:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(6304)),o=r(n(7402)),a=n(5227),s=n(306);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l={data:function(){return{loading:!0,settings:[{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_COMMON"),items:[{key:"SITE_NAME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SITE_NAME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站"),value:""},{key:"SITE_URL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SITE_URL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"https://www.imaegoo.com"),value:""},{key:"BLOGGER_EMAIL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_BLOGGER_EMAIL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"[email protected]"),value:""},{key:"COMMENT_PAGE_SIZE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_PAGE_SIZE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"8"),value:""},{key:"MASTER_TAG",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MASTER_TAG"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"站长"),value:""},{key:"COMMENT_BG_IMG",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_BG_IMG"),ph:"",value:""},{key:"GRAVATAR_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_GRAVATAR_CDN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"sdn.geekzu.org"),value:""},{key:"DEFAULT_GRAVATAR",desc:(0,a.t)("ADMIN_CONFIG_ITEM_DEFAULT_GRAVATAR"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"mp"),value:""},{key:"COMMENT_PLACEHOLDER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_COMMENT_PLACEHOLDER"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE")),value:""},{key:"REQUIRED_FIELDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_REQUIRED_FIELDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"nick,mail,link"),value:""},{key:"HIDE_ADMIN_CRYPT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIDE_ADMIN_CRYPT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"admin"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_PLUGIN"),items:[{key:"SHOW_IMAGE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_IMAGE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"IMAGE_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_IMAGE_CDN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"SHOW_EMOTION",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SHOW_EMOTION"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"EMOTION_CDN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_EMOTION_CDN"),ph:"",value:""},{key:"HIGHLIGHT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""},{key:"HIGHLIGHT_THEME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_HIGHLIGHT_THEME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"tomorrow"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_SPAM"),items:[{key:"AKISMET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_AKISMET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"8651783edxxx"),value:""},{key:"QCLOUD_SECRET_ID",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_ID"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"AKIDBgZDdnbTw9D4ey9qPkrkwtb2Do9EwIHw"),value:""},{key:"QCLOUD_SECRET_KEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QCLOUD_SECRET_KEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"XrkOnvKWS7WeXbP1QZT76rPgtpWx73D7"),value:"",secret:!0},{key:"LIMIT_PER_MINUTE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"5"),value:""},{key:"FORBIDDEN_WORDS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_FORBIDDEN_WORDS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"快递,空包"),value:""},{key:"NOTIFY_SPAM",desc:(0,a.t)("ADMIN_CONFIG_ITEM_NOTIFY_SPAM"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"false"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_IM"),items:[{key:"SC_SENDKEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SC_SENDKEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"SCT1364TKdsiGjGvyAZNYDVnuHW12345"),value:""},{key:"QM_SENDKEY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_QM_SENDKEY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"k2ni28jkmn72tqdvqryt9827u0o9nbpok"),value:""},{key:"PUSH_PLUS_TOKEN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_PUSH_PLUS_TOKEN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"f8ae2b8a107a408b803896a0ec012345"),value:""},{key:"SC_MAIL_NOTIFY",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SC_MAIL_NOTIFY"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""}]},{name:(0,a.t)("ADMIN_CONFIG_CATEGORY_MAIL"),items:[{key:"SENDER_EMAIL",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SENDER_EMAIL"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"[email protected]"),value:""},{key:"SENDER_NAME",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SENDER_NAME"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站评论提醒"),value:""},{key:"SMTP_SERVICE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_SERVICE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"QQ"),value:""},{key:"SMTP_HOST",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_HOST"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"smtp.qq.com"),value:""},{key:"SMTP_PORT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_PORT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"465"),value:""},{key:"SMTP_SECURE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_SECURE"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"true"),value:""},{key:"SMTP_USER",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_USER"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"[email protected]"),value:""},{key:"SMTP_PASS",desc:(0,a.t)("ADMIN_CONFIG_ITEM_SMTP_PASS"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"password"),value:"",secret:!0},{key:"MAIL_SUBJECT",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"您在虹墨空间站上的评论收到了回复"),value:""},{key:"MAIL_TEMPLATE",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE"),ph:"",value:""},{key:"MAIL_SUBJECT_ADMIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_SUBJECT_ADMIN"),ph:"".concat((0,a.t)("ADMIN_CONFIG_EXAMPLE"),"虹墨空间站上有新评论了"),value:""},{key:"MAIL_TEMPLATE_ADMIN",desc:(0,a.t)("ADMIN_CONFIG_ITEM_MAIL_TEMPLATE_ADMIN"),ph:"",value:""}]}],serverConfig:{},serverVersion:this.$twikoo.serverConfig.VERSION,clientVersion:s.version,message:""}},methods:{t:a.t,readConfig:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,(0,a.call)(e.$tcb,"GET_CONFIG_FOR_ADMIN");case 3:(n=t.sent).result&&!n.result.code&&(e.serverConfig=n.result.config,e.resetConfig()),e.loading=!1;case 6:case"end":return t.stop()}}),t)})))()},resetConfig:function(){var e,t=u(this.settings);try{for(t.s();!(e=t.n()).done;){var n,r=u(e.value.items);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.serverConfig[i.key]&&(i.value=this.serverConfig[i.key])}}catch(o){r.e(o)}finally{r.f()}}}catch(o){t.e(o)}finally{t.f()}},saveConfig:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n,r,o,s,c,l,d,f,p;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.loading=!0,e.message="正在保存",n={},r=u(e.settings);try{for(r.s();!(o=r.n()).done;){s=o.value,c=u(s.items);try{for(c.s();!(l=c.n()).done;)d=l.value,f=e.serverConfig[d.key],p=d.value,f!==p&&(n[d.key]=d.value)}catch(i){c.e(i)}finally{c.f()}}}catch(i){r.e(i)}finally{r.f()}return a.logger.log("保存配置",n),t.next=8,(0,a.call)(e.$tcb,"SET_CONFIG",{config:n});case 8:return t.next=10,e.readConfig();case 10:e.message="保存成功",e.loading=!1;case 12:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.readConfig()}};t.Z=l},826:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(6304)),o=r(n(7402)),a=n(5227),s={data:function(){return{loading:!1,source:"",logText:"",warnText:{valine:(0,a.t)("ADMIN_IMPORT_TIP_VALINE"),disqus:(0,a.t)("ADMIN_IMPORT_TIP_DISQUS"),artalk:(0,a.t)("ADMIN_IMPORT_TIP_ARTALK")}}},methods:{t:a.t,uploadFile:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n,r;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.source){t.next=3;break}return e.log((0,a.t)("ADMIN_IMPORT_SOURCE_REQUIRED")),t.abrupt("return");case 3:if(n=e.$refs.inputFile.files[0]){t.next=7;break}return e.log((0,a.t)("ADMIN_IMPORT_FILE_REQUIRED")),t.abrupt("return");case 7:return e.log((0,a.t)("ADMIN_IMPORT_START")),e.loading=!0,t.prev=9,t.next=12,e.$tcb.app.uploadFile({cloudPath:"import/".concat(Date.now()),filePath:n,onUploadProgress:function(t){var n=Math.round(100*t.loaded/t.total);e.log("".concat((0,a.t)("ADMIN_IMPORT_UPLOADING")).concat(n,"%"))}});case 12:return r=t.sent,e.log("".concat((0,a.t)("ADMIN_IMPORT_UPLOADED")).concat(r.fileID)),t.next=16,e.importFile(r.fileID);case 16:t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](9),e.log(t.t0.message);case 21:e.loading=!1;case 22:case"end":return t.stop()}}),t,null,[[9,18]])})))()},importFile:function(e){var t=this;return(0,o["default"])(i["default"].mark((function n(){var r;return i["default"].wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTING")).concat(t.source)),n.next=3,(0,a.call)(t.$tcb,"COMMENT_IMPORT_FOR_ADMIN",{fileId:e,source:t.source});case 3:r=n.sent,t.logText+=r.result.log,t.log("".concat((0,a.t)("ADMIN_IMPORT_IMPORTED")).concat(t.source));case 6:case"end":return n.stop()}}),n)})))()},log:function(e){this.logText+="".concat((new Date).toLocaleString()," ").concat(e,"\n"),this.$nextTick(this.scrollLogToBottom)},scrollLogToBottom:function(){if(this.$refs.logTextArea){var e=this.$refs.logTextArea.$refs.textarea;e.scrollTop=e.scrollHeight}}}};t.Z=s},2598:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(1683)),o=n(5227),a=r(n(146)),s={props:{config:Object,avatar:String,mail:String,mailMd5:String,link:String},data:function(){return{iconUser:a["default"]}},computed:{gravatarCdn:function(){return this.config&&this.config.GRAVATAR_CDN?this.config.GRAVATAR_CDN:"cn.gravatar.com"},defaultGravatar:function(){return this.config&&this.config.DEFAULT_GRAVATAR?this.config.DEFAULT_GRAVATAR:"identicon"},avatarInner:function(){return this.avatar?this.avatar:this.mailMd5?"https://".concat(this.gravatarCdn,"/avatar/").concat(this.mailMd5,"?d=").concat(this.defaultGravatar):this.mail&&(0,o.isQQ)(this.mail)?(0,o.getQQAvatar)(this.mail):this.mail?"https://".concat(this.gravatarCdn,"/avatar/").concat((0,i["default"])(this.mail),"?d=").concat(this.defaultGravatar):""}},methods:{onClick:function(){this.$emit("click"),this.link&&window.open((0,o.convertLink)(this.link))}}};t.Z=s},389:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(6304)),o=r(n(7402)),a=n(5227),s=r(n(2118)),u=r(n(6785)),c=r(n(9320)),l=r(n(5461)),d=r(n(511)),f=r(n(4427)),p=r(n(5552)),h=r(n(4783)),_=r(n(7630)),g=r(n(7385)),v=r(n(3137)),m=r(n(2170)),y=r(n(3447)),b=r(n(1576)),k={win:l["default"],mac:d["default"],ipad:d["default"],iphone:d["default"],ios:d["default"],android:f["default"],ubuntu:h["default"],linux:p["default"]},E={edge:y["default"],chrome:_["default"],firefox:g["default"],safari:v["default"],explorer:m["default"],ie:m["default"]},A={name:"tk-comment",components:{TkAction:s["default"],TkAvatar:u["default"],TkSubmit:c["default"]},data:function(){return{pid:"",like:0,liked:!1,likeLoading:!1,isExpanded:!1,hasExpand:!1,isLogin:!1}},props:{comment:Object,replying:Boolean,config:Object},computed:{displayCreated:function(){return(0,a.timeago)(this.comment.created)},jsonTimestamp:function(){return new Date(this.comment.created).toJSON()},localeTime:function(){return new Date(this.comment.created).toLocaleString()},iconOs:function(){return this.getIconBy(this.comment.os,k)},iconBrowser:function(){return this.getIconBy(this.comment.browser,E)},showExpand:function(){return this.hasExpand&&!this.isExpanded},convertedLink:function(){return(0,a.convertLink)(this.comment.link)}},methods:{t:a.t,getIconBy:function(e,t){var n=e.toLowerCase();for(var r in t)if(-1!==n.indexOf(r))return t[r];return b["default"]},showExpandIfNeed:function(){this.comment.replies&&this.comment.replies.length>0&&this.$refs["tk-replies"]&&(this.hasExpand=this.$refs["tk-replies"].scrollHeight>200)},scrollToComment:function(){-1!==window.location.hash.indexOf(this.comment.id)&&(this.$refs["tk-comment"].scrollIntoView(),this.$emit("expand"))},onLike:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.likeLoading){t.next=2;break}return t.abrupt("return");case 2:return e.likeLoading=!0,t.next=5,(0,a.call)(e.$tcb,"COMMENT_LIKE",{id:e.comment.id});case 5:e.liked?e.like--:e.like++,e.liked=!e.liked,e.likeLoading=!1;case 8:case"end":return t.stop()}}),t)})))()},onReply:function(){this.$emit("reply",this.comment.id)},onReplyReply:function(e){this.pid=e,this.$emit("reply",this.comment.id)},onCancel:function(){this.pid="",this.$emit("reply","")},onLoad:function(){this.pid="",this.$emit("reply",""),this.$emit("load"),this.onExpand()},onExpand:function(){this.isExpanded=!0},checkAuth:function(){var e=this;return(0,o["default"])(i["default"].mark((function t(){var n;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$tcb.auth.getCurrenUser();case 2:n=t.sent,e.isLogin="CUSTOM"===n.loginType;case 4:case"end":return t.stop()}}),t)})))()},handleSpam:function(e){this.setComment({isSpam:e})},handleTop:function(e){this.setComment({top:e})},setComment:function(e){var t=this;return(0,o["default"])(i["default"].mark((function n(){return i["default"].wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t.loading=!0,n.next=3,(0,a.call)(t.$tcb,"COMMENT_SET_FOR_ADMIN",{id:t.comment.id,set:e});case 3:t.loading=!1,t.$emit("load");case 5:case"end":return n.stop()}}),n)})))()}},mounted:function(){var e=this;this.$nextTick(this.showExpandIfNeed),this.$nextTick(this.scrollToComment),this.$nextTick((function(){(0,a.renderLinks)(e.$refs.comment),(0,a.renderMath)(e.$refs.comment,e.$twikoo.katex)})),this.checkAuth()},watch:{"comment.like":{handler:function(e){this.like=this.comment.like,this.liked=this.comment.liked},immediate:!0},"config.HIGHLIGHT":{handler:function(e){var t=this;"true"===e&&this.$nextTick((function(){(0,a.renderCode)(t.$refs.comment,t.config.HIGHLIGHT_THEME)}))},immediate:!0}}};t.Z=A},1764:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(3483);Object.defineProperty(exports,"X",{value:!0}),exports.Z=void 0;var _regenerator=_interopRequireDefault(__webpack_require__(6304)),_asyncToGenerator2=_interopRequireDefault(__webpack_require__(7402)),_utils=__webpack_require__(5227),_TkSubmit=_interopRequireDefault(__webpack_require__(9320)),_TkComment=_interopRequireDefault(__webpack_require__(7576)),_cog=_interopRequireDefault(__webpack_require__(2561)),_vue=_interopRequireDefault(__webpack_require__(8252)),_default={components:{TkSubmit:_TkSubmit["default"],TkComment:_TkComment["default"]},props:{showAdminEntry:Boolean},data:function(){return{loading:!0,loadingMore:!1,errorMessage:"",config:{},comments:[],showExpand:!0,count:0,replyId:"",iconSetting:_cog["default"]}},methods:{t:_utils.t,initConfig:function(){var e=this;return(0,_asyncToGenerator2["default"])(_regenerator["default"].mark((function t(){var n;return _regenerator["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,_utils.call)(e.$tcb,"GET_CONFIG");case 2:(n=t.sent)&&n.result&&n.result.config&&(e.config=n.result.config,_vue["default"].prototype.$twikoo.serverConfig=n.result.config);case 4:case"end":return t.stop()}}),t)})))()},initComments:function initComments(){var _this2=this;return(0,_asyncToGenerator2["default"])(_regenerator["default"].mark((function _callee2(){var url;return _regenerator["default"].wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _this2.loading=!0,url=_this2.$twikoo.path?eval(_this2.$twikoo.path):window.location.pathname,_context2.next=4,_this2.getComments({url:url});case 4:_this2.loading=!1;case 5:case"end":return _context2.stop()}}),_callee2)})))()},onExpand:function onExpand(){var _this3=this;return(0,_asyncToGenerator2["default"])(_regenerator["default"].mark((function _callee3(){var url,before;return _regenerator["default"].wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(!_this3.loadingMore){_context3.next=2;break}return _context3.abrupt("return");case 2:return _this3.loadingMore=!0,url=_this3.$twikoo.path?eval(_this3.$twikoo.path):window.location.pathname,before=_this3.comments.filter((function(e){return!e.top})).map((function(e){return e.created})).sort((function(e,t){return e-t}))[0],_context3.next=7,_this3.getComments({url:url,before:before});case 7:_this3.loadingMore=!1;case 8:case"end":return _context3.stop()}}),_callee3)})))()},onCommentLoaded:function(){"function"==typeof this.$twikoo.onCommentLoaded&&this.$twikoo.onCommentLoaded()},getComments:function(e){var t=this;return(0,_asyncToGenerator2["default"])(_regenerator["default"].mark((function n(){var r;return _regenerator["default"].wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,_utils.call)(t.$tcb,"COMMENT_GET",e);case 3:(r=n.sent)&&r.result&&r.result.data&&(t.comments=e.before?t.comments.concat(r.result.data):r.result.data,t.showExpand=r.result.more,t.count=r.result.count||t.comments.length||0,t.$nextTick(t.onCommentLoaded)),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](0),t.errorMessage=n.t0.message;case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()},onReply:function(e){this.replyId=e},openAdmin:function(){this.$emit("admin")}},mounted:function(){this.initConfig(),this.initComments()}};exports.Z=_default},4958:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(3483);Object.defineProperty(exports,"X",{value:!0}),exports.Z=void 0;var _regenerator=_interopRequireDefault(__webpack_require__(6304)),_asyncToGenerator2=_interopRequireDefault(__webpack_require__(7402)),_package=__webpack_require__(306),_utils=__webpack_require__(5227),_default={data:function(){return{version:_package.version,counter:{}}},methods:{getCounter:function getCounter(){var _this=this;return(0,_asyncToGenerator2["default"])(_regenerator["default"].mark((function _callee(){var url,result,counterEl;return _regenerator["default"].wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return url=_this.$twikoo.path?eval(_this.$twikoo.path):window.location.pathname,_context.next=3,(0,_utils.call)(_this.$tcb,"COUNTER_GET",{url:url,href:window.location.href,title:document.title});case 3:result=_context.sent,_this.counter=result.result,(_this.counter.time||0===_this.counter.time)&&(counterEl=document.getElementById("twikoo_visitors"),counterEl&&(counterEl.innerHTML=_this.counter.time));case 6:case"end":return _context.stop()}}),_callee)})))()}},mounted:function(){this.getCounter()}};exports.Z=_default},4211:function(e,t,n){"use strict";Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var r=n(5227),i=[{key:"nick",locale:(0,r.t)("META_INPUT_NICK"),name:"nick",type:"text"},{key:"mail",locale:(0,r.t)("META_INPUT_MAIL"),name:"mail",type:"email"},{key:"link",locale:(0,r.t)("META_INPUT_LINK"),name:"link",type:"text"}],o=/^[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])?)*$/,a={props:{nick:String,mail:String,link:String,config:Object},data:function(){return{metaInputs:i,metaData:{nick:"",mail:"",link:""}}},computed:{requiredFields:function(){var e=this.config.REQUIRED_FIELDS;return{nick:!e||-1!==e.indexOf("nick"),mail:!e||-1!==e.indexOf("mail"),link:!!e&&-1!==e.indexOf("link")}}},methods:{t:r.t,initMeta:function(){if(localStorage.getItem("twikoo")){var e=JSON.parse(localStorage.getItem("twikoo"));this.metaData.nick=e.nick,this.metaData.mail=e.mail,this.metaData.link=e.link}this.updateMeta()},updateMeta:function(){localStorage.setItem("twikoo",JSON.stringify(this.metaData)),this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},checkValid:function(){var e=o.test(this.metaData.mail);return(this.metaData.nick||!this.requiredFields.nick)&&(e||!this.requiredFields.mail)&&(this.metaData.link||!this.requiredFields.link)},checkQQ:function(){if((0,r.isQQ)(this.metaData.nick)){var e=this.metaData.nick.replace(/@qq.com/gi,""),t="".concat(e,"@qq.com");this.metaData.mail=t,this.getQQNick(e)}},getQQNick:function(e){var t=this,n="https://tenapi.cn/qqname?qq=".concat(e),r=new XMLHttpRequest;r.onreadystatechange=function(){if(4===r.readyState&&200===r.status){var e=JSON.parse(r.responseText);t.metaData.nick=e.name,t.updateMeta()}},r.open("GET",n),r.send()},checkAdminCrypt:function(){var e=this.$root.$children[0],t=!this.config.HIDE_ADMIN_CRYPT||this.config.HIDE_ADMIN_CRYPT===this.metaData.nick;e.onShowAdminEntry(t)},onMetaChange:function(){this.checkQQ(),this.updateMeta(),this.checkAdminCrypt()}},watch:{nick:function(e){this.metaData.nick=e},mail:function(e){this.metaData.mail=e},link:function(e){this.metaData.link=e},requiredFields:{handler:function(e,t){this.$emit("update",{meta:this.metaData,valid:this.checkValid()})},deep:!0},"config.VERSION":function(){this.checkAdminCrypt()}},mounted:function(){this.initMeta()}};t.Z=a},6402:function(e,t,n){"use strict";Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var r=n(5227),i={props:{pageSize:{type:Number,"default":10},total:{type:Number,"default":0}},data:function(){return{currentPage:1,userInput:0,userPageSize:0,pagers:[]}},computed:{pageCount:function(){return Math.ceil(this.total/this.pageSize)}},methods:{t:r.t,generatePager:function(){for(var e=[],t=1;t<=this.pageCount;t++)Math.abs(this.currentPage-t)<3||1===t||t===this.pageCount?e.push({title:"".concat(t),page:t}):Math.abs(this.currentPage-t)<4&&e.push({title:"...",page:t});this.pagers=e},currentChange:function(e){this.currentPage=parseInt(e),this.currentPage>this.pageCount&&(this.currentPage=this.pageCount),this.userInput=0,this.$emit("current-change",this.currentPage),this.generatePager()},pageSizeChamge:function(e){this.userPageSize=0,this.$emit("page-size-change",parseInt(e))},handleInput:function(e){this.userInput=parseInt(e)},handleInputPageSize:function(e){this.userPageSize=parseInt(e)}},watch:{total:{handler:function(){this.generatePager()},immediate:!0},pageSize:{handler:function(){this.generatePager()}}}};t.Z=i},9499:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(3483);Object.defineProperty(exports,"X",{value:!0}),exports.Z=void 0;var _regenerator=_interopRequireDefault(__webpack_require__(6304)),_asyncToGenerator2=_interopRequireDefault(__webpack_require__(7402)),_markdown=_interopRequireDefault(__webpack_require__(5242)),_laugh=_interopRequireDefault(__webpack_require__(7702)),_image=_interopRequireDefault(__webpack_require__(8384)),_clickoutside=_interopRequireDefault(__webpack_require__(6954)),_TkAvatar=_interopRequireDefault(__webpack_require__(6785)),_TkMetaInput=_interopRequireDefault(__webpack_require__(7819)),_utils=__webpack_require__(5227),_owo=_interopRequireDefault(__webpack_require__(4722)),imageTypes=["apng","bmp","gif","jpeg","jpg","png","svg","tif","tiff","webp"],_default={components:{TkAvatar:_TkAvatar["default"],TkMetaInput:_TkMetaInput["default"]},directives:{Clickoutside:_clickoutside["default"]},props:{replyId:String,pid:String,config:Object},data:function(){return{isSending:!1,isPreviewing:!1,isMetaValid:!1,errorMessage:"",owo:null,comment:"",commentHtml:"",nick:"",mail:"",link:"",iconMarkdown:_markdown["default"],iconImage:_image["default"]}},computed:{canSend:function(){return!this.isSending&&!!this.isMetaValid&&!!this.comment.trim()},textarea:function(){return this.$refs.textarea?this.$refs.textarea.$refs.textarea:null}},methods:{t:_utils.t,initDraft:function(){var e=localStorage.getItem("twikoo-draft");!this.comment&&e&&(this.comment=e)},saveDraft:function(){localStorage.setItem("twikoo-draft",this.comment)},initOwo:function(){var e=this;return(0,_asyncToGenerator2["default"])(_regenerator["default"].mark((function t(){var n;return _regenerator["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("true"!==e.config.SHOW_EMOTION){t.next=6;break}return t.next=3,(0,_utils.initOwoEmotion)(e.config.EMOTION_CDN||"https://cdn.jsdelivr.net/gh/imaegoo/emotion/owo.json");case 3:n=t.sent,e.owo=new _owo["default"]({logo:_laugh["default"],container:e.$refs.owo,target:e.textarea,odata:n,position:"down",maxHeight:"250px"}),_utils.marked.setOptions({odata:(0,_utils.initMarkedOwo)(n)});case 6:case"end":return t.stop()}}),t)})))()},onMetaUpdate:function(e){this.nick=e.meta.nick,this.mail=e.meta.mail,this.link=e.meta.link,this.isMetaValid=e.valid},cancel:function(){this.$emit("cancel")},onCommentInput:function(){this.saveDraft(),this.updatePreview()},preview:function(){this.isPreviewing=!this.isPreviewing,this.updatePreview()},updatePreview:function(){var e=this;this.isPreviewing&&(this.commentHtml=(0,_utils.marked)(this.comment),this.$nextTick((function(){(0,_utils.renderLinks)(e.$refs["comment-preview"]),(0,_utils.renderMath)(e.$refs["comment-preview"],e.$twikoo.katex),"true"===e.config.HIGHLIGHT&&(0,_utils.renderCode)(e.$refs["comment-preview"],e.config.HIGHLIGHT_THEME)})))},send:function send(){var _this3=this;return(0,_asyncToGenerator2["default"])(_regenerator["default"].mark((function _callee2(){var url,comment,sendResult;return _regenerator["default"].wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _this3.isSending=!0,url=_this3.$twikoo.path?eval(_this3.$twikoo.path):window.location.pathname,comment={nick:_this3.nick,mail:_this3.mail,link:_this3.link,ua:navigator.userAgent,url:url,href:window.location.href,comment:(0,_utils.marked)(_this3.comment),pid:_this3.pid?_this3.pid:_this3.replyId,rid:_this3.replyId},_context2.next=5,(0,_utils.call)(_this3.$tcb,"COMMENT_SUBMIT",comment);case 5:sendResult=_context2.sent,sendResult&&sendResult.result&&sendResult.result.id?(_this3.isSending=!1,_this3.comment="",_this3.errorMessage="",_this3.$emit("load"),_this3.saveDraft()):(_this3.isSending=!1,_utils.logger.error("评论失败",sendResult),_this3.errorMessage="评论失败: ".concat(sendResult.result.message));case 7:case"end":return _context2.stop()}}),_callee2)})))()},addEventListener:function(){this.textarea&&this.textarea.addEventListener("paste",this.onPaste)},onBgImgChange:function(){this.config.COMMENT_BG_IMG&&this.textarea&&(this.textarea.style["background-image"]='url("'.concat(this.config.COMMENT_BG_IMG,'")'))},onEnterKeyUp:function(e){(e.ctrlKey||e.metaKey)&&this.canSend&&(this.send(),e.preventDefault())},closeOwo:function(){this.owo&&this.owo.container.classList.contains("OwO-open")&&this.owo.toggle()},openSelectImage:function(){this.$refs.inputFile.click()},onSelectImage:function(){var e=this.$refs.inputFile.files[0];this.parseAndUploadPhoto(e)},onPaste:function(e){var t;e.clipboardData&&(e.clipboardData.files[0]?t=e.clipboardData.files[0]:e.clipboardData.items[0]&&e.clipboardData.items[0].getAsFile()&&(t=e.clipboardData.items[0].getAsFile()),this.parseAndUploadPhoto(t))},parseAndUploadPhoto:function(e){if(e&&"true"===this.config.SHOW_IMAGE){var t=e.name.split("."),n=t.length>1?t.pop():"";if(-1!==imageTypes.indexOf(n)){var r=this.$tcb.auth.currentUser.uid,i="".concat(Date.now(),"-").concat(r),o=t.join(".");this.paste(this.getImagePlaceholder(i,n)),"7bu"===this.config.IMAGE_CDN?this.uploadPhotoTo7Bu(i,o,n,e):this.uploadPhotoToQcloud(i,o,n,e)}}},uploadPhotoToQcloud:function(e,t,n,r){var i=this;return(0,_asyncToGenerator2["default"])(_regenerator["default"].mark((function o(){var a,s,u;return _regenerator["default"].wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,i.$tcb.app.uploadFile({cloudPath:"tk-img/".concat(e,".").concat(n),filePath:r});case 3:if(!(a=o.sent).fileID){o.next=10;break}return o.next=7,i.$tcb.app.getTempFileURL({fileList:[a.fileID]});case 7:s=o.sent,u=s.fileList[0].tempFileURL,i.comment=i.comment.replace(i.getImagePlaceholder(e,n),"![".concat(t,"](").concat(u,")"));case 10:o.next=15;break;case 12:o.prev=12,o.t0=o["catch"](0),console.error(o.t0);case 15:case"end":return o.stop()}}),o,null,[[0,12]])})))()},uploadPhotoTo7Bu:function(e,t,n,r){var i=this;return new Promise((function(o){try{var a=new FormData,s=new XMLHttpRequest;a.append("image",r),s.onreadystatechange=function(){if(4===s.readyState&&200===s.status){var r=JSON.parse(s.responseText);i.comment=i.comment.replace(i.getImagePlaceholder(e,n),"![".concat(t,"](").concat(r.data.url,")")),o()}},s.open("POST","https://7bu.top/api/upload"),s.send(a)}catch(u){console.error(u)}}))},paste:function(e){if(document.selection)document.selection.createRange().text=e;else if(this.textarea.selectionStart||0===this.textarea.selectionStart){var t=this.textarea.selectionStart,n=this.textarea.selectionEnd;this.comment=this.comment.substring(0,t)+e+this.comment.substring(n,this.comment.length),this.textarea.selectionStart=t+e.length,this.textarea.selectionEnd=t+e.length}else this.comment+=e},getImagePlaceholder:function(e,t){return"![图片上传中".concat(e,".").concat(t,"]()")}},mounted:function(){this.initDraft(),this.initOwo(),this.addEventListener(),this.onBgImgChange()},watch:{"config.SHOW_EMOTION":function(){this.initOwo()},"config.COMMENT_BG_IMG":function(){this.onBgImgChange()}}};exports.Z=_default},1658:function(e,t){"use strict";t.Z=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],u=o[2],c=o[3],l={id:e+":"+i,css:s,media:u,sourceMap:c};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}},8252:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n(3988)),o=Object.freeze({});function a(e){return e===undefined||null===e}function s(e){return e!==undefined&&null!==e}function u(e){return!0===e}function c(e){return"string"==typeof e||"number"==typeof e||"symbol"===(0,i["default"])(e)||"boolean"==typeof e}function l(e){return null!==e&&"object"===(0,i["default"])(e)}var d=Object.prototype.toString;function f(e){return"[object Object]"===d.call(e)}function p(e){return"[object RegExp]"===d.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function _(e){return s(e)&&"function"==typeof e.then&&"function"==typeof e["catch"]}function g(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===d?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}m("slot,component",!0);var y=m("key,ref,slot,slot-scope,is");function b(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var k=Object.prototype.hasOwnProperty;function E(e,t){return k.call(e,t)}function A(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var I=/-(\w)/g,w=A((function(e){return e.replace(I,(function(e,t){return t?t.toUpperCase():""}))})),C=A((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),D=/\B([A-Z])/g,O=A((function(e){return e.replace(D,"-$1").toLowerCase()})),x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function M(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function T(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n<e.length;n++)e[n]&&T(t,e[n]);return t}function S(e,t,n){}var F=function(e,t,n){return!1},P=function(e){return e};function R(e,t){if(e===t)return!0;var n=l(e),r=l(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return R(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return R(e[n],t[n])}))}catch(u){return!1}}function L(e,t){for(var n=0;n<e.length;n++)if(R(e[n],t))return n;return-1}function G(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var j="data-server-rendered",U=["component","directive","filter"],$=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:F,isReservedAttr:F,isUnknownElement:F,getTagNamespace:S,parsePlatformTagName:P,mustUseProp:F,async:!0,_lifecycleHooks:$},z=/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/;function q(e){var 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})}var V,W=new RegExp("[^"+z.source+".$_\\d]"),K="__proto__"in{},Z="undefined"!=typeof window,Y="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,X=Y&&WXEnvironment.platform.toLowerCase(),Q=Z&&window.navigator.userAgent.toLowerCase(),J=Q&&/msie|trident/.test(Q),ee=Q&&Q.indexOf("msie 9.0")>0,te=Q&&Q.indexOf("edge/")>0,ne=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===X),re=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ie={}.watch,oe=!1;if(Z)try{var ae={};Object.defineProperty(ae,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,ae)}catch(Bi){}var se=function(){return V===undefined&&(V=!Z&&!Y&&"undefined"!=typeof n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),V},ue=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"==typeof e&&/native code/.test(e.toString())}var le,de="undefined"!=typeof Symbol&&ce(Symbol)&&"undefined"!=typeof Reflect&&ce(Reflect.ownKeys);le="undefined"!=typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=S,pe=0,he=function(){this.id=pe++,this.subs=[]};he.prototype.addSub=function(e){this.subs.push(e)},he.prototype.removeSub=function(e){b(this.subs,e)},he.prototype.depend=function(){he.target&&he.target.addDep(this)},he.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},he.target=null;var _e=[];function ge(e){_e.push(e),he.target=e}function ve(){_e.pop(),he.target=_e[_e.length-1]}var me=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=undefined,this.context=o,this.fnContext=undefined,this.fnOptions=undefined,this.fnScopeId=undefined,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=undefined,this.parent=undefined,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=undefined,this.isAsyncPlaceholder=!1},ye={child:{configurable:!0}};ye.child.get=function(){return this.componentInstance},Object.defineProperties(me.prototype,ye);var be=function(e){void 0===e&&(e="");var t=new me;return t.text=e,t.isComment=!0,t};function ke(e){return new me(undefined,undefined,undefined,String(e))}function Ee(e){var t=new me(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ae=Array.prototype,Ie=Object.create(Ae);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Ae[e];H(Ie,e,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var we=Object.getOwnPropertyNames(Ie),Ce=!0;function De(e){Ce=e}var Oe=function(e){this.value=e,this.dep=new he,this.vmCount=0,H(e,"__ob__",this),Array.isArray(e)?(K?function(e,t){e.__proto__=t}(e,Ie):function(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];H(e,o,t[o])}}(e,Ie,we),this.observeArray(e)):this.walk(e)};function xe(e,t){var n;if(l(e)&&!(e instanceof me))return E(e,"__ob__")&&e.__ob__ instanceof Oe?n=e.__ob__:Ce&&!se()&&(Array.isArray(e)||f(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Oe(e)),t&&n&&n.vmCount++,n}function Me(e,t,n,r,i){var o=new he,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set;s&&!u||2!==arguments.length||(n=e[t]);var c=!i&&xe(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return he.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&Se(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||s&&!u||(u?u.call(e,t):n=t,c=!i&&xe(t),o.notify())}})}}function Te(e,t,n){if(Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Me(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Ne(e,t){if(Array.isArray(e)&&h(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||E(e,t)&&(delete e[t],n&&n.dep.notify())}}function Se(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Se(t)}Oe.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Me(e,t[n])},Oe.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)xe(e[t])};var Fe=B.optionMergeStrategies;function Pe(e,t){if(!t)return e;for(var n,r,i,o=de?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=e[n],i=t[n],E(e,n)?r!==i&&f(r)&&f(i)&&Pe(r,i):Te(e,n,i));return e}function Re(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,i="function"==typeof e?e.call(n,n):e;return r?Pe(r,i):i}:t?e?function(){return Pe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Le(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Ge(e,t,n,r){var i=Object.create(e||null);return t?T(i,t):i}Fe.data=function(e,t,n){return n?Re(e,t,n):t&&"function"!=typeof t?e:Re(e,t)},$.forEach((function(e){Fe[e]=Le})),U.forEach((function(e){Fe[e+"s"]=Ge})),Fe.watch=function(e,t,n,r){if(e===ie&&(e=undefined),t===ie&&(t=undefined),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in T(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Fe.props=Fe.methods=Fe.inject=Fe.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return T(i,e),t&&T(i,t),i},Fe.provide=Re;var je=function(e,t){return t===undefined?e:t};function Ue(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[w(i)]={type:null});else if(f(n))for(var a in n)i=n[a],o[w(a)]=f(i)?i:{type:i};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(f(n))for(var o in n){var a=n[o];r[o]=f(a)?T({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t["extends"]&&(e=Ue(e,t["extends"],n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Ue(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)E(e,o)||s(o);function s(r){var i=Fe[r]||je;a[r]=i(e[r],t[r],n,r)}return a}function $e(e,t,n,r){if("string"==typeof n){var i=e[t];if(E(i,n))return i[n];var o=w(n);if(E(i,o))return i[o];var a=C(o);return E(i,a)?i[a]:i[n]||i[o]||i[a]}}function Be(e,t,n,r){var i=t[e],o=!E(n,e),a=n[e],s=He(Boolean,i.type);if(s>-1)if(o&&!E(i,"default"))a=!1;else if(""===a||a===O(e)){var u=He(String,i.type);(u<0||s<u)&&(a=!0)}if(a===undefined){a=function(e,t,n){if(!E(t,"default"))return undefined;var r=t["default"];return e&&e.$options.propsData&&e.$options.propsData[n]===undefined&&e._props[n]!==undefined?e._props[n]:"function"==typeof r&&"Function"!==ze(t.type)?r.call(e):r}(r,i,e);var c=Ce;De(!0),xe(a),De(c)}return a}function ze(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function qe(e,t){return ze(e)===ze(t)}function He(e,t){if(!Array.isArray(t))return qe(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(qe(t[n],e))return n;return-1}function Ve(e,t,n){ge();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(Bi){Ke(Bi,r,"errorCaptured hook")}}Ke(e,t,n)}finally{ve()}}function We(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&_(o)&&!o._handled&&(o["catch"]((function(e){return Ve(e,r,i+" (Promise/async)")})),o._handled=!0)}catch(Bi){Ve(Bi,r,i)}return o}function Ke(e,t,n){if(B.errorHandler)try{return B.errorHandler.call(null,e,t,n)}catch(Bi){Bi!==e&&Ze(Bi)}Ze(e)}function Ze(e,t,n){if(!Z&&!Y||"undefined"==typeof console)throw e;console.error(e)}var Ye,Xe=!1,Qe=[],Je=!1;function et(){Je=!1;var e=Qe.slice(0);Qe.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ce(Promise)){var tt=Promise.resolve();Ye=function(){tt.then(et),ne&&setTimeout(S)},Xe=!0}else if(J||"undefined"==typeof MutationObserver||!ce(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ye="undefined"!=typeof setImmediate&&ce(setImmediate)?function(){setImmediate(et)}:function(){setTimeout(et,0)};else{var nt=1,rt=new MutationObserver(et),it=document.createTextNode(String(nt));rt.observe(it,{characterData:!0}),Ye=function(){nt=(nt+1)%2,it.data=String(nt)},Xe=!0}function ot(e,t){var n;if(Qe.push((function(){if(e)try{e.call(t)}catch(Bi){Ve(Bi,t,"nextTick")}else n&&n(t)})),Je||(Je=!0,Ye()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var at=new le;function st(e){ut(e,at),at.clear()}function ut(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!l(e)||Object.isFrozen(e)||e instanceof me)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ut(e[n],t);else for(n=(r=Object.keys(e)).length;n--;)ut(e[r[n]],t)}}var ct=A((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function lt(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return We(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)We(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function dt(e,t,n,r,i,o){var s,c,l,d;for(s in e)c=e[s],l=t[s],d=ct(s),a(c)||(a(l)?(a(c.fns)&&(c=e[s]=lt(c,o)),u(d.once)&&(c=e[s]=i(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==l&&(l.fns=c,e[s]=l));for(s in t)a(e[s])&&r((d=ct(s)).name,t[s],d.capture)}function ft(e,t,n){var r;e instanceof me&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function o(){n.apply(this,arguments),b(r.fns,o)}a(i)?r=lt([o]):s(i.fns)&&u(i.merged)?(r=i).fns.push(o):r=lt([i,o]),r.merged=!0,e[t]=r}function pt(e,t,n,r,i){if(s(t)){if(E(t,n))return e[n]=t[n],i||delete t[n],!0;if(E(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function ht(e){return c(e)?[ke(e)]:Array.isArray(e)?gt(e):undefined}function _t(e){return s(e)&&s(e.text)&&!1===e.isComment}function gt(e,t){var n,r,i,o,l=[];for(n=0;n<e.length;n++)a(r=e[n])||"boolean"==typeof r||(o=l[i=l.length-1],Array.isArray(r)?r.length>0&&(_t((r=gt(r,(t||"")+"_"+n))[0])&&_t(o)&&(l[i]=ke(o.text+r[0].text),r.shift()),l.push.apply(l,r)):c(r)?_t(o)?l[i]=ke(o.text+r):""!==r&&l.push(ke(r)):_t(r)&&_t(o)?l[i]=ke(o.text+r.text):(u(e._isVList)&&s(r.tag)&&a(r.key)&&s(t)&&(r.key="__vlist"+t+"_"+n+"__"),l.push(r)));return l}function vt(e,t){if(e){for(var n=Object.create(null),r=de?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&E(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var u=e[o]["default"];n[o]="function"==typeof u?u.call(t):u}}}return n}}function mt(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n["default"]||(n["default"]=[])).push(o);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var c in n)n[c].every(yt)&&delete n[c];return n}function yt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function bt(e,t,n){var r,i=Object.keys(t).length>0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==o&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var u in r={},e)e[u]&&"$"!==u[0]&&(r[u]=kt(t,u,e[u]))}else r={};for(var c in t)c in r||(r[c]=Et(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),H(r,"$stable",a),H(r,"$key",s),H(r,"$hasNormal",i),r}function kt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"===(0,i["default"])(e)&&!Array.isArray(e)?[e]:ht(e))&&(0===e.length||1===e.length&&e[0].isComment)?undefined:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Et(e,t){return function(){return e[t]}}function At(e,t){var n,r,i,o,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(l(e))if(de&&e[Symbol.iterator]){n=[];for(var u=e[Symbol.iterator](),c=u.next();!c.done;)n.push(t(c.value,n.length)),c=u.next()}else for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=t(e[a],a,r);return s(n)||(n=[]),n._isVList=!0,n}function It(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=T(T({},r),n)),i=o(n)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function wt(e){return $e(this.$options,"filters",e)||P}function Ct(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Dt(e,t,n,r,i){var o=B.keyCodes[t]||n;return i&&r&&!B.keyCodes[t]?Ct(i,r):o?Ct(o,e):r?O(r)!==t:void 0}function Ot(e,t,n,r,i){if(n&&l(n)){var o;Array.isArray(n)&&(n=N(n));var a=function(a){if("class"===a||"style"===a||y(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||B.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var u=w(a),c=O(a);u in o||c in o||(o[a]=n[a],i&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}return e}function xt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||Tt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function Mt(e,t,n){return Tt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Tt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Nt(e[r],t+"_"+r,n);else Nt(e,t,n)}function Nt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function St(e,t){if(t&&f(t)){var n=e.on=e.on?T({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}return e}function Ft(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?Ft(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function Pt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Rt(e,t){return"string"==typeof e?t+e:e}function Lt(e){e._o=Mt,e._n=v,e._s=g,e._l=At,e._t=It,e._q=R,e._i=L,e._m=xt,e._f=wt,e._k=Dt,e._b=Ot,e._v=ke,e._e=be,e._u=Ft,e._g=St,e._d=Pt,e._p=Rt}function Gt(e,t,n,r,i){var a,s=this,c=i.options;E(r,"_uid")?(a=Object.create(r))._original=r:(a=r,r=r._original);var l=u(c._compiled),d=!l;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||o,this.injections=vt(c.inject,r),this.slots=function(){return s.$slots||bt(e.scopedSlots,s.$slots=mt(n,r)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return bt(e.scopedSlots,this.slots())}}),l&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=bt(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var o=Ht(a,e,t,n,i,d);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=r),o}:this._c=function(e,t,n,r){return Ht(a,e,t,n,r,d)}}function jt(e,t,n,r,i){var o=Ee(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Ut(e,t){for(var n in t)e[w(n)]=t[n]}Lt(Gt.prototype);var $t={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;$t.prepatch(n,n)}else(e.componentInstance=function(e,t){var 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,nn)).$mount(t?e.elm:undefined,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){var a=r.data.scopedSlots,s=e.$scopedSlots,u=!!(a&&!a.$stable||s!==o&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(i||e.$options._renderChildren||u);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,e.$attrs=r.data.attrs||o,e.$listeners=n||o,t&&e.$options.props){De(!1);for(var l=e._props,d=e.$options._propKeys||[],f=0;f<d.length;f++){var p=d[f],h=e.$options.props;l[p]=Be(p,h,t,e)}De(!0),e.$options.propsData=t}n=n||o;var _=e.$options._parentListeners;e.$options._parentListeners=n,tn(e,n,_),c&&(e.$slots=mt(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,un(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,ln.push(t)):an(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?sn(t,!0):t.$destroy())}},Bt=Object.keys($t);function zt(e,t,n,r,i){if(!a(e)){var c=n.$options._base;if(l(e)&&(e=c.extend(e)),"function"==typeof e){var d;if(a(e.cid)&&(e=function(e,t){if(u(e.error)&&s(e.errorComp))return e.errorComp;if(s(e.resolved))return e.resolved;var n=Kt;if(n&&s(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),u(e.loading)&&s(e.loadingComp))return e.loadingComp;if(n&&!s(e.owners)){var r=e.owners=[n],i=!0,o=null,c=null;n.$on("hook:destroyed",(function(){return b(r,n)}));var d=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==o&&(clearTimeout(o),o=null),null!==c&&(clearTimeout(c),c=null))},f=G((function(n){e.resolved=Zt(n,t),i?r.length=0:d(!0)})),p=G((function(t){s(e.errorComp)&&(e.error=!0,d(!0))})),h=e(f,p);return l(h)&&(_(h)?a(e.resolved)&&h.then(f,p):_(h.component)&&(h.component.then(f,p),s(h.error)&&(e.errorComp=Zt(h.error,t)),s(h.loading)&&(e.loadingComp=Zt(h.loading,t),0===h.delay?e.loading=!0:o=setTimeout((function(){o=null,a(e.resolved)&&a(e.error)&&(e.loading=!0,d(!1))}),h.delay||200)),s(h.timeout)&&(c=setTimeout((function(){c=null,a(e.resolved)&&p(null)}),h.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}(d=e,c))===undefined)return function(e,t,n,r,i){var o=be();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(d,t,n,r,i);t=t||{},Mn(e),s(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),o=i[r],a=t.model.callback;s(o)?(Array.isArray(o)?-1===o.indexOf(a):o!==a)&&(i[r]=[a].concat(o)):i[r]=a}(e.options,t);var f=function(e,t,n){var r=t.options.props;if(!a(r)){var i={},o=e.attrs,u=e.props;if(s(o)||s(u))for(var c in r){var l=O(c);pt(i,u,c,l,!0)||pt(i,o,c,l,!1)}return i}}(t,e);if(u(e.options.functional))return function(e,t,n,r,i){var a=e.options,u={},c=a.props;if(s(c))for(var l in c)u[l]=Be(l,c,t||o);else s(n.attrs)&&Ut(u,n.attrs),s(n.props)&&Ut(u,n.props);var d=new Gt(n,u,i,r,e),f=a.render.call(null,d._c,d);if(f instanceof me)return jt(f,n,d.parent,a);if(Array.isArray(f)){for(var p=ht(f)||[],h=new Array(p.length),_=0;_<p.length;_++)h[_]=jt(p[_],n,d.parent,a);return h}}(e,f,t,n,r);var p=t.on;if(t.on=t.nativeOn,u(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Bt.length;n++){var r=Bt[n],i=t[r],o=$t[r];i===o||i&&i._merged||(t[r]=i?qt(o,i):o)}}(t);var g=e.options.name||i;return new me("vue-component-"+e.cid+(g?"-"+g:""),t,undefined,undefined,undefined,n,{Ctor:e,propsData:f,listeners:p,tag:i,children:r},d)}}}function qt(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function Ht(e,t,n,r,i,o){return(Array.isArray(n)||c(n))&&(i=r,r=n,n=undefined),u(o)&&(i=2),function(e,t,n,r,i){if(s(n)&&s(n.__ob__))return be();if(s(n)&&s(n.is)&&(t=n.is),!t)return be();var o,a,u;(Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={"default":r[0]},r.length=0),2===i?r=ht(r):1===i&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t)?(a=e.$vnode&&e.$vnode.ns||B.getTagNamespace(t),o=B.isReservedTag(t)?new me(B.parsePlatformTagName(t),n,r,undefined,undefined,e):n&&n.pre||!s(u=$e(e.$options,"components",t))?new me(t,n,r,undefined,undefined,e):zt(u,n,e,r,t)):o=zt(t,n,e,r);return Array.isArray(o)?o:s(o)?(s(a)&&Vt(o,a),s(n)&&function(e){l(e.style)&&st(e.style),l(e["class"])&&st(e["class"])}(n),o):be()}(e,t,n,r,i)}function Vt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=undefined,n=!0),s(e.children))for(var r=0,i=e.children.length;r<i;r++){var o=e.children[r];s(o.tag)&&(a(o.ns)||u(n)&&"svg"!==o.tag)&&Vt(o,t,n)}}var Wt,Kt=null;function Zt(e,t){return(e.__esModule||de&&"Module"===e[Symbol.toStringTag])&&(e=e["default"]),l(e)?t.extend(e):e}function Yt(e){return e.isComment&&e.asyncFactory}function Xt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(s(n)&&(s(n.componentOptions)||Yt(n)))return n}}function Qt(e,t){Wt.$on(e,t)}function Jt(e,t){Wt.$off(e,t)}function en(e,t){var n=Wt;return function r(){var i=t.apply(null,arguments);null!==i&&n.$off(e,r)}}function tn(e,t,n){Wt=e,dt(t,n||{},Qt,Jt,en,e),Wt=undefined}var nn=null;function rn(e){var t=nn;return nn=e,function(){nn=t}}function on(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function an(e,t){if(t){if(e._directInactive=!1,on(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)an(e.$children[n]);un(e,"activated")}}function sn(e,t){if(!(t&&(e._directInactive=!0,on(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)sn(e.$children[n]);un(e,"deactivated")}}function un(e,t){ge();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)We(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ve()}var cn=[],ln=[],dn={},fn=!1,pn=!1,hn=0,_n=0,gn=Date.now;if(Z&&!J){var vn=window.performance;vn&&"function"==typeof vn.now&&gn()>document.createEvent("Event").timeStamp&&(gn=function(){return vn.now()})}function mn(){var e,t;for(_n=gn(),pn=!0,cn.sort((function(e,t){return e.id-t.id})),hn=0;hn<cn.length;hn++)(e=cn[hn]).before&&e.before(),t=e.id,dn[t]=null,e.run();var n=ln.slice(),r=cn.slice();hn=cn.length=ln.length=0,dn={},fn=pn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,an(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&un(r,"updated")}}(r),ue&&B.devtools&&ue.emit("flush")}var yn=0,bn=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(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=++yn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new le,this.newDepIds=new le,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=S)),this.value=this.lazy?undefined:this.get()};bn.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Bi){if(!this.user)throw Bi;Ve(Bi,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&st(e),ve(),this.cleanupDeps()}return e},bn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},bn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},bn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==dn[t]){if(dn[t]=!0,pn){for(var n=cn.length-1;n>hn&&cn[n].id>e.id;)n--;cn.splice(n+1,0,e)}else cn.push(e);fn||(fn=!0,ot(mn))}}(this)},bn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Bi){Ve(Bi,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},bn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},bn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},bn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var kn={enumerable:!0,configurable:!0,get:S,set:S};function En(e,t,n){kn.get=function(){return this[t][n]},kn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,kn)}function An(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&De(!1);var o=function(o){i.push(o);var a=Be(o,t,n,e);Me(r,o,a),o in e||En(e,"_props",o)};for(var a in t)o(a);De(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;f(t=e._data="function"==typeof t?function(e,t){ge();try{return e.call(t,t)}catch(Bi){return Ve(Bi,t,"data()"),{}}finally{ve()}}(t,e):t||{})||(t={});for(var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);i--;){var o=n[i];r&&E(r,o)||q(o)||En(e,"_data",o)}xe(t,!0)}(e):xe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=se();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new bn(e,a||S,S,In)),i in e||wn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==ie&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)On(e,n,r[i]);else On(e,n,r)}}(e,t.watch)}var In={lazy:!0};function wn(e,t,n){var r=!se();"function"==typeof n?(kn.get=r?Cn(t):Dn(n),kn.set=S):(kn.get=n.get?r&&!1!==n.cache?Cn(t):Dn(n.get):S,kn.set=n.set||S),Object.defineProperty(e,t,kn)}function Cn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),he.target&&t.depend(),t.value}}function Dn(e){return function(){return e.call(this,this)}}function On(e,t,n,r){return f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var xn=0;function Mn(e){var t=e.options;if(e["super"]){var n=Mn(e["super"]);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&T(e.extendOptions,r),(t=e.options=Ue(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Tn(e){this._init(e)}function Nn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Ue(n.options,e),a["super"]=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)En(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)wn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,U.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=T({},a.options),i[r]=a,a}}function Sn(e){return e&&(e.Ctor.options.name||e.tag)}function Fn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function Pn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Sn(a.componentOptions);s&&!t(s)&&Rn(n,o,r,i)}}}function Rn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,b(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=xn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ue(Mn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&tn(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=mt(t._renderChildren,r),e.$scopedSlots=o,e._c=function(t,n,r,i){return Ht(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Ht(e,t,n,r,i,!0)};var i=n&&n.data;Me(e,"$attrs",i&&i.attrs||o,null,!0),Me(e,"$listeners",t._parentListeners||o,null,!0)}(t),un(t,"beforeCreate"),function(e){var t=vt(e.$options.inject,e);t&&(De(!1),Object.keys(t).forEach((function(n){Me(e,n,t[n])})),De(!0))}(t),An(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),un(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Tn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Te,e.prototype.$delete=Ne,e.prototype.$watch=function(e,t,n){var r=this;if(f(t))return On(r,e,t,n);(n=n||{}).user=!0;var i=new bn(r,e,t,n);if(n.immediate)try{t.call(r,i.value)}catch(o){Ve(o,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(Tn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?M(n):n;for(var r=M(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)We(n[o],t,r,t,i)}return t}}(Tn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=rn(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){un(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||b(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),un(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Tn),function(e){Lt(e.prototype),e.prototype.$nextTick=function(e){return ot(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=bt(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{Kt=t,e=r.call(t._renderProxy,t.$createElement)}catch(Bi){Ve(Bi,t,"render"),e=t._vnode}finally{Kt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof me||(e=be()),e.parent=i,e}}(Tn);var Ln=[String,RegExp,Array],Gn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Ln,exclude:Ln,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Rn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Pn(e,(function(e){return Fn(t,e)}))})),this.$watch("exclude",(function(t){Pn(e,(function(e){return!Fn(t,e)}))}))},render:function(){var e=this.$slots["default"],t=Xt(e),n=t&&t.componentOptions;if(n){var r=Sn(n),i=this.include,o=this.exclude;if(i&&(!r||!Fn(i,r))||o&&r&&Fn(o,r))return t;var a=this.cache,s=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[u]?(t.componentInstance=a[u].componentInstance,b(s,u),s.push(u)):(a[u]=t,s.push(u),this.max&&s.length>parseInt(this.max)&&Rn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return B}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:T,mergeOptions:Ue,defineReactive:Me},e.set=Te,e["delete"]=Ne,e.nextTick=ot,e.observable=function(e){return xe(e),e},e.options=Object.create(null),U.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,Gn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=M(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ue(this.options,e),this}}(e),Nn(e),function(e){U.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&f(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Tn),Object.defineProperty(Tn.prototype,"$isServer",{get:se}),Object.defineProperty(Tn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Tn,"FunctionalRenderContext",{value:Gt}),Tn.version="2.6.12";var jn=m("style,class"),Un=m("input,textarea,option,select,progress"),$n=m("contenteditable,draggable,spellcheck"),Bn=m("events,caret,typing,plaintext-only"),zn=m("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,translate,truespeed,typemustmatch,visible"),qn="http://www.w3.org/1999/xlink",Hn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Vn=function(e){return Hn(e)?e.slice(6,e.length):""},Wn=function(e){return null==e||!1===e};function Kn(e){for(var t=e.data,n=e,r=e;s(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Zn(r.data,t));for(;s(n=n.parent);)n&&n.data&&(t=Zn(t,n.data));return i=t.staticClass,o=t["class"],s(i)||s(o)?Yn(i,Xn(o)):"";var i,o}function Zn(e,t){return{staticClass:Yn(e.staticClass,t.staticClass),"class":s(e["class"])?[e["class"],t["class"]]:t["class"]}}function Yn(e,t){return e?t?e+" "+t:e:t||""}function Xn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)s(t=Xn(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):l(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Qn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Jn=m("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"),er=m("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),tr=function(e){return Jn(e)||er(e)},nr=Object.create(null),rr=m("text,number,password,search,email,tel,url"),ir=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&t.data.attrs.multiple!==undefined&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Qn[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,"")}}),or={create:function(e,t){ar(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ar(e,!0),ar(t))},destroy:function(e){ar(e,!0)}};function ar(e,t){var n=e.data.ref;if(s(n)){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?b(o[n],i):o[n]===i&&(o[n]=undefined):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var sr=new me("",{},[]),ur=["create","activate","update","remove","destroy"];function cr(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&s(e.data)===s(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=s(n=e.data)&&s(n=n.attrs)&&n.type,i=s(n=t.data)&&s(n=n.attrs)&&n.type;return r===i||rr(r)&&rr(i)}(e,t)||u(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&a(t.asyncFactory.error))}function lr(e,t,n){var r,i,o={};for(r=t;r<=n;++r)s(i=e[r].key)&&(o[i]=r);return o}var dr={create:fr,update:fr,destroy:function(e){fr(e,sr)}};function fr(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,o=e===sr,a=t===sr,s=hr(e.data.directives,e.context),u=hr(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,i.oldArg=r.arg,gr(i,"update",t,e),i.def&&i.def.componentUpdated&&l.push(i)):(gr(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n<c.length;n++)gr(c[n],"inserted",t,e)};o?ft(t,"insert",d):d()}if(l.length&&ft(t,"postpatch",(function(){for(var n=0;n<l.length;n++)gr(l[n],"componentUpdated",t,e)})),!o)for(n in s)u[n]||gr(s[n],"unbind",e,e,a)}(e,t)}var pr=Object.create(null);function hr(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=pr),i[_r(r)]=r,r.def=$e(t.$options,"directives",r.name);return i}function _r(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function gr(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(Bi){Ve(Bi,n.context,"directive "+e.name+" "+t+" hook")}}var vr=[or,dr];function mr(e,t){var n=t.componentOptions;if(!(s(n)&&!1===n.Ctor.options.inheritAttrs||a(e.data.attrs)&&a(t.data.attrs))){var r,i,o=t.elm,u=e.data.attrs||{},c=t.data.attrs||{};for(r in s(c.__ob__)&&(c=t.data.attrs=T({},c)),c)i=c[r],u[r]!==i&&yr(o,r,i);for(r in(J||te)&&c.value!==u.value&&yr(o,"value",c.value),u)a(c[r])&&(Hn(r)?o.removeAttributeNS(qn,Vn(r)):$n(r)||o.removeAttribute(r))}}function yr(e,t,n){e.tagName.indexOf("-")>-1?br(e,t,n):zn(t)?Wn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):$n(t)?e.setAttribute(t,function(e,t){return Wn(t)||"false"===t?"false":"contenteditable"===e&&Bn(t)?t:"true"}(t,n)):Hn(t)?Wn(n)?e.removeAttributeNS(qn,Vn(t)):e.setAttributeNS(qn,t,n):br(e,t,n)}function br(e,t,n){Wn(n)?e.removeAttribute(t):(!J||ee||"TEXTAREA"!==e.tagName||"placeholder"!==t||""===n||e.__ieph||(e.addEventListener("input",(function r(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)})),e.__ieph=!0),e.setAttribute(t,n))}var kr={create:mr,update:mr};function Er(e,t){var n=t.elm,r=t.data,i=e.data;if(!(a(r.staticClass)&&a(r["class"])&&(a(i)||a(i.staticClass)&&a(i["class"])))){var o=Kn(t),u=n._transitionClasses;s(u)&&(o=Yn(o,Xn(u))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var Ar,Ir={create:Er,update:Er};function wr(e,t,n){var r=Ar;return function i(){var o=t.apply(null,arguments);null!==o&&Or(e,i,n,r)}}var Cr=Xe&&!(re&&Number(re[1])<=53);function Dr(e,t,n,r){if(Cr){var i=_n,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ar.addEventListener(e,t,oe?{capture:n,passive:r}:n)}function Or(e,t,n,r){(r||Ar).removeEventListener(e,t._wrapper||t,n)}function xr(e,t){if(!a(e.data.on)||!a(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Ar=t.elm,function(e){if(s(e.__r)){var t=J?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}s(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),dt(n,r,Dr,Or,wr,t.context),Ar=undefined}}var Mr,Tr={create:xr,update:xr};function Nr(e,t){if(!a(e.data.domProps)||!a(t.data.domProps)){var n,r,i=t.elm,o=e.data.domProps||{},u=t.data.domProps||{};for(n in s(u.__ob__)&&(u=t.data.domProps=T({},u)),o)n in u||(i[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===o[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var c=a(r)?"":String(r);Sr(i,c)&&(i.value=c)}else if("innerHTML"===n&&er(i.tagName)&&a(i.innerHTML)){(Mr=Mr||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var l=Mr.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(r!==o[n])try{i[n]=r}catch(Bi){}}}}function Sr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(Bi){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(s(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Fr={create:Nr,update:Nr},Pr=A((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Rr(e){var t=Lr(e.style);return e.staticStyle?T(e.staticStyle,t):t}function Lr(e){return Array.isArray(e)?N(e):"string"==typeof e?Pr(e):e}var Gr,jr=/^--/,Ur=/\s*!important$/,$r=function(e,t,n){if(jr.test(t))e.style.setProperty(t,n);else if(Ur.test(n))e.style.setProperty(O(t),n.replace(Ur,""),"important");else{var r=zr(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Br=["Webkit","Moz","ms"],zr=A((function(e){if(Gr=Gr||document.createElement("div").style,"filter"!==(e=w(e))&&e in Gr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Br.length;n++){var r=Br[n]+t;if(r in Gr)return r}}));function qr(e,t){var n=t.data,r=e.data;if(!(a(n.staticStyle)&&a(n.style)&&a(r.staticStyle)&&a(r.style))){var i,o,u=t.elm,c=r.staticStyle,l=r.normalizedStyle||r.style||{},d=c||l,f=Lr(t.data.style)||{};t.data.normalizedStyle=s(f.__ob__)?T({},f):f;var p=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Rr(i.data))&&T(r,n);(n=Rr(e.data))&&T(r,n);for(var o=e;o=o.parent;)o.data&&(n=Rr(o.data))&&T(r,n);return r}(t,!0);for(o in d)a(p[o])&&$r(u,o,"");for(o in p)(i=p[o])!==d[o]&&$r(u,o,null==i?"":i)}}var Hr={create:qr,update:qr},Vr=/\s+/;function Wr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Vr).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Kr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Vr).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Zr(e){if(e){if("object"===(0,i["default"])(e)){var t={};return!1!==e.css&&T(t,Yr(e.name||"v")),T(t,e),t}return"string"==typeof e?Yr(e):void 0}}var Yr=A((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Xr=Z&&!ee,Qr="transition",Jr="animation",ei="transition",ti="transitionend",ni="animation",ri="animationend";Xr&&(window.ontransitionend===undefined&&window.onwebkittransitionend!==undefined&&(ei="WebkitTransition",ti="webkitTransitionEnd"),window.onanimationend===undefined&&window.onwebkitanimationend!==undefined&&(ni="WebkitAnimation",ri="webkitAnimationEnd"));var ii=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function oi(e){ii((function(){ii(e)}))}function ai(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Wr(e,t))}function si(e,t){e._transitionClasses&&b(e._transitionClasses,t),Kr(e,t)}function ui(e,t,n){var r=li(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Qr?ti:ri,u=0,c=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++u>=a&&c()};setTimeout((function(){u<a&&c()}),o+1),e.addEventListener(s,l)}var ci=/\b(transform|all)(,|$)/;function li(e,t){var n,r=window.getComputedStyle(e),i=(r[ei+"Delay"]||"").split(", "),o=(r[ei+"Duration"]||"").split(", "),a=di(i,o),s=(r[ni+"Delay"]||"").split(", "),u=(r[ni+"Duration"]||"").split(", "),c=di(s,u),l=0,d=0;return t===Qr?a>0&&(n=Qr,l=a,d=o.length):t===Jr?c>0&&(n=Jr,l=c,d=u.length):d=(n=(l=Math.max(a,c))>0?a>c?Qr:Jr:null)?n===Qr?o.length:u.length:0,{type:n,timeout:l,propCount:d,hasTransform:n===Qr&&ci.test(r[ei+"Property"])}}function di(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return fi(t)+fi(e[n])})))}function fi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function pi(e,t){var n=e.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Zr(e.data.transition);if(!a(r)&&!s(n._enterCb)&&1===n.nodeType){for(var i=r.css,o=r.type,u=r.enterClass,c=r.enterToClass,d=r.enterActiveClass,f=r.appearClass,p=r.appearToClass,h=r.appearActiveClass,_=r.beforeEnter,g=r.enter,m=r.afterEnter,y=r.enterCancelled,b=r.beforeAppear,k=r.appear,E=r.afterAppear,A=r.appearCancelled,I=r.duration,w=nn,C=nn.$vnode;C&&C.parent;)w=C.context,C=C.parent;var D=!w._isMounted||!e.isRootInsert;if(!D||k||""===k){var O=D&&f?f:u,x=D&&h?h:d,M=D&&p?p:c,T=D&&b||_,N=D&&"function"==typeof k?k:g,S=D&&E||m,F=D&&A||y,P=v(l(I)?I.enter:I),R=!1!==i&&!ee,L=gi(N),j=n._enterCb=G((function(){R&&(si(n,M),si(n,x)),j.cancelled?(R&&si(n,O),F&&F(n)):S&&S(n),n._enterCb=null}));e.data.show||ft(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),N&&N(n,j)})),T&&T(n),R&&(ai(n,O),ai(n,x),oi((function(){si(n,O),j.cancelled||(ai(n,M),L||(_i(P)?setTimeout(j,P):ui(n,o,j)))}))),e.data.show&&(t&&t(),N&&N(n,j)),R||L||j()}}}function hi(e,t){var n=e.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Zr(e.data.transition);if(a(r)||1!==n.nodeType)return t();if(!s(n._leaveCb)){var i=r.css,o=r.type,u=r.leaveClass,c=r.leaveToClass,d=r.leaveActiveClass,f=r.beforeLeave,p=r.leave,h=r.afterLeave,_=r.leaveCancelled,g=r.delayLeave,m=r.duration,y=!1!==i&&!ee,b=gi(p),k=v(l(m)?m.leave:m),E=n._leaveCb=G((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(si(n,c),si(n,d)),E.cancelled?(y&&si(n,u),_&&_(n)):(t(),h&&h(n)),n._leaveCb=null}));g?g(A):A()}function A(){E.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),f&&f(n),y&&(ai(n,u),ai(n,d),oi((function(){si(n,u),E.cancelled||(ai(n,c),b||(_i(k)?setTimeout(E,k):ui(n,o,E)))}))),p&&p(n,E),y||b||E())}}function _i(e){return"number"==typeof e&&!isNaN(e)}function gi(e){if(a(e))return!1;var t=e.fns;return s(t)?gi(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function vi(e,t){!0!==t.data.show&&pi(t)}var mi=function(e){var t,n,r={},i=e.modules,o=e.nodeOps;for(t=0;t<ur.length;++t)for(r[ur[t]]=[],n=0;n<i.length;++n)s(i[n][ur[t]])&&r[ur[t]].push(i[n][ur[t]]);function l(e){var t=o.parentNode(e);s(t)&&o.removeChild(t,e)}function d(e,t,n,i,a,c,l){if(s(e.elm)&&s(c)&&(e=c[l]=Ee(e)),e.isRootInsert=!a,!function(e,t,n,i){var o=e.data;if(s(o)){var a=s(e.componentInstance)&&o.keepAlive;if(s(o=o.hook)&&s(o=o.init)&&o(e,!1),s(e.componentInstance))return f(e,t),p(n,e.elm,i),u(a)&&function(e,t,n,i){for(var o,a=e;a.componentInstance;)if(s(o=(a=a.componentInstance._vnode).data)&&s(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](sr,a);t.push(a);break}p(n,e.elm,i)}(e,t,n,i),!0}}(e,t,n,i)){var d=e.data,_=e.children,m=e.tag;s(m)?(e.elm=e.ns?o.createElementNS(e.ns,m):o.createElement(m,e),v(e),h(e,_,t),s(d)&&g(e,t),p(n,e.elm,i)):u(e.isComment)?(e.elm=o.createComment(e.text),p(n,e.elm,i)):(e.elm=o.createTextNode(e.text),p(n,e.elm,i))}}function f(e,t){s(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,_(e)?(g(e,t),v(e)):(ar(e),t.push(e))}function p(e,t,n){s(e)&&(s(n)?o.parentNode(n)===e&&o.insertBefore(e,t,n):o.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)d(t[r],n,e.elm,null,!0,t,r);else c(e.text)&&o.appendChild(e.elm,o.createTextNode(String(e.text)))}function _(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return s(e.tag)}function g(e,n){for(var i=0;i<r.create.length;++i)r.create[i](sr,e);s(t=e.data.hook)&&(s(t.create)&&t.create(sr,e),s(t.insert)&&n.push(e))}function v(e){var t;if(s(t=e.fnScopeId))o.setStyleScope(e.elm,t);else for(var n=e;n;)s(t=n.context)&&s(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t),n=n.parent;s(t=nn)&&t!==e.context&&t!==e.fnContext&&s(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t)}function y(e,t,n,r,i,o){for(;r<=i;++r)d(n[r],o,e,t,!1,n,r)}function b(e){var t,n,i=e.data;if(s(i))for(s(t=i.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)b(e.children[n])}function k(e,t,n){for(;t<=n;++t){var r=e[t];s(r)&&(s(r.tag)?(E(r),b(r)):l(r.elm))}}function E(e,t){if(s(t)||s(e.data)){var n,i=r.remove.length+1;for(s(t)?t.listeners+=i:t=function(e,t){function n(){0==--n.listeners&&l(e)}return n.listeners=t,n}(e.elm,i),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 l(e.elm)}function A(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(s(o)&&cr(e,o))return i}}function I(e,t,n,i,c,l){if(e!==t){s(t.elm)&&s(i)&&(t=i[c]=Ee(t));var f=t.elm=e.elm;if(u(e.isAsyncPlaceholder))s(t.asyncFactory.resolved)?D(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(u(t.isStatic)&&u(e.isStatic)&&t.key===e.key&&(u(t.isCloned)||u(t.isOnce)))t.componentInstance=e.componentInstance;else{var p,h=t.data;s(h)&&s(p=h.hook)&&s(p=p.prepatch)&&p(e,t);var g=e.children,v=t.children;if(s(h)&&_(t)){for(p=0;p<r.update.length;++p)r.update[p](e,t);s(p=h.hook)&&s(p=p.update)&&p(e,t)}a(t.text)?s(g)&&s(v)?g!==v&&function(e,t,n,r,i){for(var u,c,l,f=0,p=0,h=t.length-1,_=t[0],g=t[h],v=n.length-1,m=n[0],b=n[v],E=!i;f<=h&&p<=v;)a(_)?_=t[++f]:a(g)?g=t[--h]:cr(_,m)?(I(_,m,r,n,p),_=t[++f],m=n[++p]):cr(g,b)?(I(g,b,r,n,v),g=t[--h],b=n[--v]):cr(_,b)?(I(_,b,r,n,v),E&&o.insertBefore(e,_.elm,o.nextSibling(g.elm)),_=t[++f],b=n[--v]):cr(g,m)?(I(g,m,r,n,p),E&&o.insertBefore(e,g.elm,_.elm),g=t[--h],m=n[++p]):(a(u)&&(u=lr(t,f,h)),a(c=s(m.key)?u[m.key]:A(m,t,f,h))?d(m,r,e,_.elm,!1,n,p):cr(l=t[c],m)?(I(l,m,r,n,p),t[c]=undefined,E&&o.insertBefore(e,l.elm,_.elm)):d(m,r,e,_.elm,!1,n,p),m=n[++p]);f>h?y(e,a(n[v+1])?null:n[v+1].elm,n,p,v,r):p>v&&k(t,f,h)}(f,g,v,n,l):s(v)?(s(e.text)&&o.setTextContent(f,""),y(f,null,v,0,v.length-1,n)):s(g)?k(g,0,g.length-1):s(e.text)&&o.setTextContent(f,""):e.text!==t.text&&o.setTextContent(f,t.text),s(h)&&s(p=h.hook)&&s(p=p.postpatch)&&p(e,t)}}}function w(e,t,n){if(u(n)&&s(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var C=m("attrs,class,staticClass,staticStyle,key");function D(e,t,n,r){var i,o=t.tag,a=t.data,c=t.children;if(r=r||a&&a.pre,t.elm=e,u(t.isComment)&&s(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(s(a)&&(s(i=a.hook)&&s(i=i.init)&&i(t,!0),s(i=t.componentInstance)))return f(t,n),!0;if(s(o)){if(s(c))if(e.hasChildNodes())if(s(i=a)&&s(i=i.domProps)&&s(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var l=!0,d=e.firstChild,p=0;p<c.length;p++){if(!d||!D(d,c[p],n,r)){l=!1;break}d=d.nextSibling}if(!l||d)return!1}else h(t,c,n);if(s(a)){var _=!1;for(var v in a)if(!C(v)){_=!0,g(t,n);break}!_&&a["class"]&&st(a["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,i){if(!a(t)){var c,l=!1,f=[];if(a(e))l=!0,d(t,f);else{var p=s(e.nodeType);if(!p&&cr(e,t))I(e,t,f,null,null,i);else{if(p){if(1===e.nodeType&&e.hasAttribute(j)&&(e.removeAttribute(j),n=!0),u(n)&&D(e,t,f))return w(t,f,!0),e;c=e,e=new me(o.tagName(c).toLowerCase(),{},[],undefined,c)}var h=e.elm,g=o.parentNode(h);if(d(t,f,h._leaveCb?null:g,o.nextSibling(h)),s(t.parent))for(var v=t.parent,m=_(t);v;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](v);if(v.elm=t.elm,m){for(var E=0;E<r.create.length;++E)r.create[E](sr,v);var A=v.data.hook.insert;if(A.merged)for(var C=1;C<A.fns.length;C++)A.fns[C]()}else ar(v);v=v.parent}s(g)?k([e],0,0):s(e.tag)&&b(e)}}return w(t,f,l),t.elm}s(e)&&b(e)}}({nodeOps:ir,modules:[kr,Ir,Tr,Fr,Hr,Z?{create:vi,activate:vi,remove:function(e,t){!0!==e.data.show?hi(e,t):t()}}:{}].concat(vr)});ee&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&Ci(e,"input")}));var yi={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ft(n,"postpatch",(function(){yi.componentUpdated(e,t,n)})):bi(e,t,n.context),e._vOptions=[].map.call(e.options,Ai)):("textarea"===n.tag||rr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Ii),e.addEventListener("compositionend",wi),e.addEventListener("change",wi),ee&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){bi(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Ai);i.some((function(e,t){return!R(e,r[t])}))&&(e.multiple?t.value.some((function(e){return Ei(e,i)})):t.value!==t.oldValue&&Ei(t.value,i))&&Ci(e,"change")}}};function bi(e,t,n){ki(e,t),(J||te)&&setTimeout((function(){ki(e,t)}),0)}function ki(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=e.options.length;s<u;s++)if(a=e.options[s],i)o=L(r,Ai(a))>-1,a.selected!==o&&(a.selected=o);else if(R(Ai(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ei(e,t){return t.every((function(t){return!R(t,e)}))}function Ai(e){return"_value"in e?e._value:e.value}function Ii(e){e.target.composing=!0}function wi(e){e.target.composing&&(e.target.composing=!1,Ci(e.target,"input"))}function Ci(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Di(e){return!e.componentInstance||e.data&&e.data.transition?e:Di(e.componentInstance._vnode)}var Oi={model:yi,show:{bind:function(e,t,n){var r=t.value,i=(n=Di(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,pi(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Di(n)).data&&n.data.transition?(n.data.show=!0,r?pi(n,(function(){e.style.display=e.__vOriginalDisplay})):hi(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},xi={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 Mi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Mi(Xt(t.children)):e}function Ti(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[w(o)]=i[o];return t}function Ni(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Si=function(e){return e.tag||Yt(e)},Fi=function(e){return"show"===e.name},Pi={name:"transition",props:xi,abstract:!0,render:function(e){var t=this,n=this.$slots["default"];if(n&&(n=n.filter(Si)).length){var r=this.mode,i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Mi(i);if(!o)return i;if(this._leaving)return Ni(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Ti(this),u=this._vnode,l=Mi(u);if(o.data.directives&&o.data.directives.some(Fi)&&(o.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,l)&&!Yt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=T({},s);if("out-in"===r)return this._leaving=!0,ft(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Ni(e,i);if("in-out"===r){if(Yt(o))return u;var f,p=function(){f()};ft(s,"afterEnter",p),ft(s,"enterCancelled",p),ft(d,"delayLeave",(function(e){f=e}))}}return i}}},Ri=T({tag:String,moveClass:String},xi);function Li(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Gi(e){e.data.newPos=e.elm.getBoundingClientRect()}function ji(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Ri.mode;var Ui={Transition:Pi,TransitionGroup:{props:Ri,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=rn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots["default"]||[],o=this.children=[],a=Ti(this),s=0;s<i.length;s++){var u=i[s];u.tag&&null!=u.key&&0!==String(u.key).indexOf("__vlist")&&(o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a)}if(r){for(var c=[],l=[],d=0;d<r.length;d++){var f=r[d];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?c.push(f):l.push(f)}this.kept=e(t,null,c),this.removed=l}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Li),e.forEach(Gi),e.forEach(ji),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;ai(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(ti,n._moveCb=function i(e){e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener(ti,i),n._moveCb=null,si(n,t))})}})))},methods:{hasMove:function(e,t){if(!Xr)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){Kr(n,e)})),Wr(n,t),n.style.display="none",this.$el.appendChild(n);var r=li(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Tn.config.mustUseProp=function(e,t,n){return"value"===n&&Un(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Tn.config.isReservedTag=tr,Tn.config.isReservedAttr=jn,Tn.config.getTagNamespace=function(e){return er(e)?"svg":"math"===e?"math":void 0},Tn.config.isUnknownElement=function(e){if(!Z)return!0;if(tr(e))return!1;if(e=e.toLowerCase(),null!=nr[e])return nr[e];var t=document.createElement(e);return e.indexOf("-")>-1?nr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:nr[e]=/HTMLUnknownElement/.test(t.toString())},T(Tn.options.directives,Oi),T(Tn.options.components,Ui),Tn.prototype.__patch__=Z?mi:S,Tn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=be),un(e,"beforeMount"),r=function(){e._update(e._render(),n)},new bn(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&un(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,un(e,"mounted")),e}(this,e=e&&Z?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):undefined,t)},Z&&setTimeout((function(){B.devtools&&ue&&ue.emit("init",Tn)}),0);var $i=Tn;t["default"]=$i},8563:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.install=function(e){return d.apply(this,arguments)},t.tcb=void 0;var i=r(n(6304)),o=r(n(7402)),a=n(5227);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=[{key:"envId",required:!0},{key:"collection","default":"comment"}],l={sdk:null,app:null,auth:null};function d(){return(d=(0,o["default"])(i["default"].mark((function e(t){var n,r=arguments;return i["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&r[1]!==undefined?r[1]:{},l.sdk=t,f(n),e.next=5,p(n);case 5:return e.abrupt("return",l);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){var t,n=[],r=s(c);try{for(r.s();!(t=r.n()).done;){var i=t.value;i["default"]&&(0,a.isNotSet)(e[i.key])?e[i.key]=i["default"]:i.required&&(0,a.isNotSet)(e[i.key])&&n.push(i.key)}}catch(d){r.e(d)}finally{r.f()}if(n.length>0){var o,u=s(n);try{for(u.s();!(o=u.n()).done;){var l=o.value;a.logger.warn("".concat(l," is required"))}}catch(d){u.e(d)}finally{u.f()}throw new Error("Twikoo: failed to init")}}function p(e){return h.apply(this,arguments)}function h(){return(h=(0,o["default"])(i["default"].mark((function e(t){return i["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return _(t),e.next=3,g();case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){l.app=l.sdk.init({env:e.envId,region:e.region})}function g(){return v.apply(this,arguments)}function v(){return(v=(0,o["default"])(i["default"].mark((function e(){return i["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,t){l.auth=l.app.auth({persistence:"local"}),l.auth.hasLoginState()?e():l.auth.anonymousAuthProvider().signIn().then(e)["catch"](t)})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.tcb=l},5586:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n(6304)),o=r(n(6247)),a=r(n(7402));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(){var e=(0,a["default"])(i["default"].mark((function t(e,n){var r,o,a=arguments;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=a.length>2&&a[2]!==undefined?a[2]:{},t.prev=1,t.next=4,e.app.callFunction({name:"twikoo",data:u({event:n},r)});case 4:return t.abrupt("return",t.sent);case 7:t.prev=7,t.t0=t["catch"](1),t.t1=n,t.next="COMMENT_LIKE"===t.t1?12:"COMMENT_GET"===t.t1?14:"COMMENT_SUBMIT"===t.t1?16:"COUNTER_GET"===t.t1?18:20;break;case 12:return o="comment-like",t.abrupt("break",20);case 14:return o="comment-get",t.abrupt("break",20);case 16:return o="comment-submit",t.abrupt("break",20);case 18:return o="counter-get",t.abrupt("break",20);case 20:if(!o){t.next=26;break}return t.next=23,e.app.callFunction({name:o,data:r});case 23:return t.abrupt("return",t.sent);case 26:throw new Error("请升级 Twikoo 云函数版本再试,如果仍无法解决,请删除并重新创建 Twikoo 云函数 - https://twikoo.js.org");case 27:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(t,n){return e.apply(this,arguments)}}();t["default"]=c},6883:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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.getQQAvatar=function(e){var t=e.replace(/@qq.com/gi,"");return"https://thirdqq.qlogo.cn/g?b=sdk&nk=".concat(t,"&s=140")}},4562:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initOwoEmotion=function(e){return new Promise((function(t){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState)if(n.status>=200&&n.status<300||304===n.status){var e=function(e){try{return Object.values(e).forEach((function(e){if("image"===e.type){var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(u)throw a}}}}(e.container);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.text||(r.text=s(a(r.icon)))}}catch(o){n.e(o)}finally{n.f()}}})),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)}))},t.initMarkedOwo=function(e){if(e&&Object.values(e)){var t={};return Object.values(e).forEach((function(e){e.container.forEach((function(e){var n=a(e.icon);n&&(t[e.text]=n)}))})),t}};var r=n(5227);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o=document.createElement("template");function a(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()}},8408:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r,i,o="https://cdn.jsdelivr.net/npm/[email protected]",a=function(e){var t=document.getElementById("twikoo");i&&t.contains(i)||!e||"none"===e||((i=document.createElement("link")).href="default"===e?"".concat(o,"/themes/prism.css"):"".concat(o,"/themes/prism-").concat(e,".css"),i.rel="stylesheet",i.type="text/css",t.appendChild(i))},s=function(e,t){r||(r=n(3354),n(9865),r.plugins.autoloader.languages_path="".concat(o,"/components/")),a(t),r.highlightAllUnder(e)};t["default"]=s},1278:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r={"zh-CN":n(3706),"zh-HK":n(8405),"zh-TW":n(5580)},i=function(e,t){var n=t||navigator.language;return(n&&r[n]?r[n][e]:r["zh-CN"][e])||""};t["default"]=i},5227:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return s["default"]}}),Object.defineProperty(t,"timeago",{enumerable:!0,get:function(){return u["default"]}}),Object.defineProperty(t,"marked",{enumerable:!0,get:function(){return c["default"]}}),Object.defineProperty(t,"renderCode",{enumerable:!0,get:function(){return l["default"]}}),Object.defineProperty(t,"call",{enumerable:!0,get:function(){return d["default"]}}),Object.defineProperty(t,"isQQ",{enumerable:!0,get:function(){return f.isQQ}}),Object.defineProperty(t,"getQQAvatar",{enumerable:!0,get:function(){return f.getQQAvatar}}),Object.defineProperty(t,"initOwoEmotion",{enumerable:!0,get:function(){return p.initOwoEmotion}}),Object.defineProperty(t,"initMarkedOwo",{enumerable:!0,get:function(){return p.initMarkedOwo}}),t.renderMath=t.renderLinks=t.getRecentCommentsApi=t.getCommentsCountApi=t.getFuncVer=t.convertLink=t.timestamp=t.logger=t.isNotSet=void 0;var i=r(n(6304)),o=r(n(1971)),a=r(n(7402)),s=r(n(1278)),u=r(n(1223)),c=r(n(1261)),l=r(n(8408)),d=r(n(5586)),f=n(6883),p=n(4562);function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.isNotSet=function(e){return e===undefined||null===e||""===e};var g,v={log:function(e,t){console.log("Twikoo: ".concat(e),t)},info:function(e,t){console.info("Twikoo: ".concat(e),t)},warn:function(e,t){console.warn("Twikoo: ".concat(e),t)},error:function(e,t){console.error("Twikoo: ".concat(e),t)}};t.logger=v,t.timestamp=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:new Date;return e.getTime()},t.convertLink=function(e){return e?"http"!==e.substring(0,4)?"http://".concat(e):e:""};var m=function(){var e=(0,a["default"])(i["default"].mark((function t(e){return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(g){t.next=4;break}return t.next=3,(0,d["default"])(e,"GET_FUNC_VERSION");case 3:g=t.sent;case 4:return t.abrupt("return",g);case 5:case"end":return t.stop()}}),t)})));return function(t){return e.apply(this,arguments)}}();t.getFuncVer=m;var y=function(){var e=(0,a["default"])(i["default"].mark((function t(e,n){var r;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.urls instanceof Array){t.next=2;break}throw new Error("urls 参数有误");case 2:if(0!==n.urls.length){t.next=4;break}return t.abrupt("return",[]);case 4:return t.next=6,(0,d["default"])(e,"GET_COMMENTS_COUNT",n);case 6:return r=t.sent,t.abrupt("return",r.result.data);case 8:case"end":return t.stop()}}),t)})));return function(t,n){return e.apply(this,arguments)}}();t.getCommentsCountApi=y;var b=function(){var e=(0,a["default"])(i["default"].mark((function t(e,n){var r,o,a,s;return i["default"].wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,d["default"])(e,"GET_RECENT_COMMENTS",n);case 2:r=t.sent,o=h(r.result.data);try{for(o.s();!(a=o.n()).done;)(s=a.value).relativeTime=(0,u["default"])(s.created)}catch(i){o.e(i)}finally{o.f()}return t.abrupt("return",r.result.data);case 6:case"end":return t.stop()}}),t)})));return function(t,n){return e.apply(this,arguments)}}();t.getRecentCommentsApi=b,t.renderLinks=function(e){var t=[];e instanceof Array?e.forEach((function(e){var n;(n=t).push.apply(n,(0,o["default"])(e.getElementsByTagName("a")))})):e instanceof Element&&(t=e.getElementsByTagName("a"));var n,r=h(t);try{for(r.s();!(n=r.n()).done;)n.value.setAttribute("target","_blank")}catch(i){r.e(i)}finally{r.f()}},t.renderMath=function(e,t){"function"==typeof renderMathInElement&&renderMathInElement(e,t||{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],throwOnError:!1})}},1261:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n(4457));i["default"].setOptions({renderer:new i["default"].Renderer,gfm:!0,tables:!0,breaks:!0,pedantic:!1,smartLists:!0,smartypants:!0});var o=i["default"];t["default"]=o},1223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n(5227),i={timeago:{seconds:(0,r.t)("TIMEAGO_SECONDS"),minutes:(0,r.t)("TIMEAGO_MINUTES"),hours:(0,r.t)("TIMEAGO_HOURS"),days:(0,r.t)("TIMEAGO_DAYS"),now:(0,r.t)("TIMEAGO_NOW")}},o=function(e){var t=a(e.getDate(),2),n=a(e.getMonth()+1,2),r=a(e.getFullYear(),2);return"".concat(r,"-").concat(n,"-").concat(t)},a=function(e,t){for(var n=e.toString();n.length<t;)n="0"+n;return n},s=function(e){if("number"==typeof e&&(e=new Date(e)),e)try{var t=e.getTime(),n=Date.now()-t,a=Math.floor(n/864e5);if(0===a){var s=n%864e5,u=Math.floor(s/36e5);if(0===u){var c=s%36e5,l=Math.floor(c/6e4);if(0===l){var d=c%6e4;return Math.round(d/1e3)+" ".concat(i.timeago.seconds)}return l+" ".concat(i.timeago.minutes)}return u+" ".concat(i.timeago.hours)}return a<0?i.timeago.now:a<8?a+" ".concat(i.timeago.days):o(e)}catch(f){r.logger.log("timeAgo 错误",f)}};t["default"]=s},4742:function(e,t,n){"use strict";var r=n(3483),i=r(n(506)),o=r(n(5910)),a=n(499),s=n(459).defaults,u=n(6571),c=u.block,l=u.inline,d=n(8591).repeatString;function f(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 p(e){var t,n,r="",i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}e.exports=function(){function e(t){(0,i["default"])(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||s,this.options.tokenizer=this.options.tokenizer||new a,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var n={block:c.normal,inline:l.normal};this.options.pedantic?(n.block=c.pedantic,n.inline=l.pedantic):this.options.gfm&&(n.block=c.gfm,this.options.breaks?n.inline=l.breaks:n.inline=l.gfm),this.tokenizer.rules=n}return(0,o["default"])(e,[{key:"lex",value:function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens}},{key:"blockTokens",value:function(e){var t,n,r,i,o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[],a=!(arguments.length>2&&arguments[2]!==undefined)||arguments[2];for(this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),t.type&&o.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),(i=o[o.length-1])&&"paragraph"===i.type?(i.raw+="\n"+t.raw,i.text+="\n"+t.text):o.push(t);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.nptable(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),t.tokens=this.blockTokens(t.text,[],a),o.push(t);else if(t=this.tokenizer.list(e)){for(e=e.substring(t.raw.length),r=t.items.length,n=0;n<r;n++)t.items[n].tokens=this.blockTokens(t.items[n].text,[],!1);o.push(t)}else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),o.push(t);else if(a&&(t=this.tokenizer.def(e)))e=e.substring(t.raw.length),this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title});else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),o.push(t);else if(a&&(t=this.tokenizer.paragraph(e)))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),(i=o[o.length-1])&&"text"===i.type?(i.raw+="\n"+t.raw,i.text+="\n"+t.text):o.push(t);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return o}},{key:"inline",value:function(e){var t,n,r,i,o,a,s=e.length;for(t=0;t<s;t++)switch((a=e[t]).type){case"paragraph":case"text":case"heading":a.tokens=[],this.inlineTokens(a.text,a.tokens);break;case"table":for(a.tokens={header:[],cells:[]},i=a.header.length,n=0;n<i;n++)a.tokens.header[n]=[],this.inlineTokens(a.header[n],a.tokens.header[n]);for(i=a.cells.length,n=0;n<i;n++)for(o=a.cells[n],a.tokens.cells[n]=[],r=0;r<o.length;r++)a.tokens.cells[n][r]=[],this.inlineTokens(o[r],a.tokens.cells[n][r]);break;case"blockquote":this.inline(a.tokens);break;case"list":for(i=a.items.length,n=0;n<i;n++)this.inline(a.items[n].tokens)}return e}},{key:"inlineTokens",value:function(e){var t,n,r,i,o,a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[],s=arguments.length>2&&arguments[2]!==undefined&&arguments[2],u=arguments.length>3&&arguments[3]!==undefined&&arguments[3],c=e;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(c));)l.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,r.index)+"["+d("a",r[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,r.index)+"["+d("a",r[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.escapedEmSt.exec(c));)c=c.slice(0,r.index)+"++"+c.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(i||(o=""),i=!1,t=this.tokenizer.owo(e))e=e.substring(t.raw.length),t.type&&a.push(t);else if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.tag(e,s,u)){e=e.substring(t.raw.length),s=t.inLink,u=t.inRawBlock;var h=a[a.length-1];h&&"text"===t.type&&"text"===h.type?(h.raw+=t.raw,h.text+=t.text):a.push(t)}else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),"link"===t.type&&(t.tokens=this.inlineTokens(t.text,[],!0,u)),a.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length);var _=a[a.length-1];"link"===t.type?(t.tokens=this.inlineTokens(t.text,[],!0,u),a.push(t)):_&&"text"===t.type&&"text"===_.type?(_.raw+=t.raw,_.text+=t.text):a.push(t)}else if(t=this.tokenizer.emStrong(e,c,o))e=e.substring(t.raw.length),t.tokens=this.inlineTokens(t.text,[],s,u),a.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),t.tokens=this.inlineTokens(t.text,[],s,u),a.push(t);else if(t=this.tokenizer.autolink(e,p))e=e.substring(t.raw.length),a.push(t);else if(s||!(t=this.tokenizer.url(e,p))){if(t=this.tokenizer.inlineText(e,u,f))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(o=t.raw.slice(-1)),i=!0,(n=a[a.length-1])&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(e){var g="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(g);break}throw new Error(g)}}else e=e.substring(t.raw.length),a.push(t);return a}}],[{key:"rules",get:function(){return{block:c,inline:l}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}]),e}()},5536:function(e,t,n){"use strict";var r=n(3483),i=r(n(506)),o=r(n(5910)),a=n(3633),s=n(4826),u=n(3055),c=n(459).defaults,l=n(8591).unescape;e.exports=function(){function e(t){(0,i["default"])(this,e),this.options=t||c,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new s,this.slugger=new u}return(0,o["default"])(e,[{key:"parse",value:function(e){var t,n,r,i,o,a,s,u,c,d,f,p,h,_,g,v,m,y,b=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],k="",E=e.length;for(t=0;t<E;t++)switch((d=e[t]).type){case"space":continue;case"hr":k+=this.renderer.hr();continue;case"heading":k+=this.renderer.heading(this.parseInline(d.tokens),d.depth,l(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":k+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(u="",s="",i=d.header.length,n=0;n<i;n++)s+=this.renderer.tablecell(this.parseInline(d.tokens.header[n]),{header:!0,align:d.align[n]});for(u+=this.renderer.tablerow(s),c="",i=d.cells.length,n=0;n<i;n++){for(s="",o=(a=d.tokens.cells[n]).length,r=0;r<o;r++)s+=this.renderer.tablecell(this.parseInline(a[r]),{header:!1,align:d.align[r]});c+=this.renderer.tablerow(s)}k+=this.renderer.table(u,c);continue;case"blockquote":c=this.parse(d.tokens),k+=this.renderer.blockquote(c);continue;case"list":for(f=d.ordered,p=d.start,h=d.loose,i=d.items.length,c="",n=0;n<i;n++)v=(g=d.items[n]).checked,m=g.task,_="",g.task&&(y=this.renderer.checkbox(v),h?g.tokens.length>0&&"text"===g.tokens[0].type?(g.tokens[0].text=y+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=y+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:y}):_+=y),_+=this.parse(g.tokens,h),c+=this.renderer.listitem(_,m,v);k+=this.renderer.list(c,f,p);continue;case"html":k+=this.renderer.html(d.text);continue;case"paragraph":k+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(c=d.tokens?this.parseInline(d.tokens):d.text;t+1<E&&"text"===e[t+1].type;)c+="\n"+((d=e[++t]).tokens?this.parseInline(d.tokens):d.text);k+=b?this.renderer.paragraph(c):c;continue;default:var A='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(A);throw new Error(A)}return k}},{key:"parseInline",value:function(e,t){t=t||this.renderer;var n,r,i="",o=e.length;for(n=0;n<o;n++)switch((r=e[n]).type){case"owo":i+=t.owo(r.text);break;case"escape":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;case"text":i+=t.text(r.text);break;default:var a='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}return i}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}]),e}()},3633:function(e,t,n){"use strict";var r=n(3483),i=r(n(506)),o=r(n(5910)),a=n(459).defaults,s=n(8591),u=s.cleanUrl,c=s.escape;e.exports=function(){function e(t){(0,i["default"])(this,e),this.options=t||a}return(0,o["default"])(e,[{key:"owo",value:function(e){var t=this.options.odata;return t&&t[e]?'<img class="tk-owo-emotion" src="'+t[e]+'" alt=":'+e+':">':":"+e+":"}},{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+c(r,!0)+'">'+(n?e:c(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:c(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n"+e+"</blockquote>\n"}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>"+e+"</li>\n"}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>"+e+"</p>\n"}},{key:"table",value:function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n"+e+"</tr>\n"}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}},{key:"strong",value:function(e){return"<strong>"+e+"</strong>"}},{key:"em",value:function(e){return"<em>"+e+"</em>"}},{key:"codespan",value:function(e){return"<code>"+e+"</code>"}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>"+e+"</del>"}},{key:"link",value:function(e,t,n){if(null===(e=u(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+c(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(null===(e=u(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}()},3055:function(e,t,n){"use strict";var r=n(3483),i=r(n(506)),o=r(n(5910));e.exports=function(){function e(){(0,i["default"])(this,e),this.seen={}}return(0,o["default"])(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}},{key:"slug",value:function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}]),e}()},4826:function(e,t,n){"use strict";var r=n(3483),i=r(n(506)),o=r(n(5910));e.exports=function(){function e(){(0,i["default"])(this,e)}return(0,o["default"])(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}()},499:function(e,t,n){"use strict";var r=n(3483),i=r(n(506)),o=r(n(5910)),a=r(n(8461)),s=n(459).defaults,u=n(8591),c=u.rtrim,l=u.splitCells,d=u.escape,f=u.findClosingBracket;function p(e,t,n){var r=t.href,i=t.title?d(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:o}:{type:"image",raw:n,href:r,title:i,text:d(o)}}e.exports=function(){function e(t){(0,i["default"])(this,e),this.options=t||s}return(0,o["default"])(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:c(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:(0,a["default"])(t,1)[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=c(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n}}}},{key:"nptable",value:function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:l(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r<i;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(i=n.cells.length,r=0;r<i;r++)n.cells[r]=l(n.cells[r],n.header.length);return n}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,a,s,u,c,l=t[0],d=t[2],f=d.length>1,p={type:"list",raw:l,ordered:f,start:f?+d.slice(0,-1):"",loose:!1,items:[]},h=t[0].match(this.rules.block.item),_=!1,g=h.length;i=this.rules.block.listItemStart.exec(h[0]);for(var v=0;v<g;v++){if(l=n=h[v],v!==g-1){if(o=this.rules.block.listItemStart.exec(h[v+1]),this.options.pedantic?o[1].length>i[1].length:o[1].length>i[0].length||o[1].length>3){h.splice(v,2,h[v]+"\n"+h[v+1]),v--,g--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==d[d.length-1]:f===(1===o[2].length))&&(a=h.slice(v+1).join("\n"),p.raw=p.raw.substring(0,p.raw.length-a.length),v=g-1),i=o}r=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(r-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+r+"}","gm"),"")),s=_||/\n\n(?!\s*$)/.test(n),v!==g-1&&(_="\n"===n.charAt(n.length-1),s||(s=_)),s&&(p.loose=!0),this.options.gfm&&(u=/^\[[ xX]\] /.test(n),c=undefined,u&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),p.items.push({type:"list_item",raw:l,task:u,checked:c,loose:s,text:n})}return p}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):d(t[0]):t[0]}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:l(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i=n.align.length;for(r=0;r<i;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(i=n.cells.length,r=0;r<i;r++)n.cells[r]=l(n.cells[r].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}}},{key:"tag",value:function(e,t,n){var r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):d(r[0]):r[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=c(n.slice(0,-1),"\\");if((n.length-r.length)%2==0)return}else{var i=f(t[2],"()");if(i>-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var a=t[2],s="";if(this.options.pedantic){var u=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);u&&(a=u[1],s=u[3])}else s=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),p(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0])}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return p(n,r,n[0])}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&(!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){var o,a,s=r[0].length-1,u=s,c=0,l="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+s);null!=(r=l.exec(t));)if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(a=o.length,r[3]||r[4])u+=a;else if(!((r[5]||r[6])&&s%3)||(s+a)%3){if(!((u-=a)>0)){if(u+c-a<=0&&!t.slice(l.lastIndex).match(l)&&(a=Math.min(a,a+u+c)),Math.min(s,a)%2)return{type:"em",raw:e.slice(0,s+r.index+a+1),text:e.slice(1,s+r.index+a)};if(Math.min(s,a)%2==0)return{type:"strong",raw:e.slice(0,s+r.index+a+1),text:e.slice(2,s+r.index+a-1)}}}else c+=a}}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=d(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}}},{key:"owo",value:function(e){var t=this.rules.inline.owo.exec(e);if(t&&t[0].length>1)return{type:"owo",raw:t[0],text:t[1]}}},{key:"autolink",value:function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return r="@"===i[2]?"mailto:"+(n=d(this.options.mangle?t(i[1]):i[1])):n=d(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},{key:"url",value:function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])i="mailto:"+(r=d(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=d(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,t,n){var r,i=this.rules.inline.text.exec(e);if(i)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):d(i[0]):i[0]:d(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}}}]),e}()},459:function(e){"use strict";function t(){return{baseUrl:null,breaks:!1,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}}e.exports={defaults:{baseUrl:null,breaks:!1,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},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}},8591:function(e){"use strict";var t=/[&<>"']/,n=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"},a=function(e){return o[e]},s=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function u(e){return e.replace(s,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var c=/(^|[^\[])\^/g,l=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,f={},p=/^[^:]+:\/*[^/]*$/,h=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/;function g(e,t){f[" "+e]||(p.test(e)?f[" "+e]=e+"/":f[" "+e]=v(e,"/",!0));var n=-1===(e=f[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(h,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(_,"$1")+t:e+t}function v(e,t,n){var r=e.length;if(0===r)return"";for(var i=0;i<r;){var o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,r-i)}e.exports={escape:function(e,o){if(o){if(t.test(e))return e.replace(n,a)}else if(r.test(e))return e.replace(i,a);return e},unescape:u,edit:function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(c,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n},cleanUrl:function(e,t,n){if(e){var r;try{r=decodeURIComponent(u(n)).replace(l,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!d.test(n)&&(n=g(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n},resolveUrl:g,noopTest:{exec:function(){}},merge:function(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},splitCells:function(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.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},rtrim:v,findClosingBracket:function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&--r<0)return i;return-1},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")},repeatString:function(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}}},4457:function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o=n(4742),a=n(5536),s=n(499),u=n(3633),c=n(4826),l=n(3055),d=n(8591),f=d.merge,p=d.checkSanitizeDeprecation,h=d.escape,_=n(459),g=_.getDefaults,v=_.changeDefaults,m=_.defaults;function y(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=f({},y.defaults,t||{}),p(t),n){var r,i=t.highlight;try{r=o.lex(e,t)}catch(l){return n(l)}var s=function(e){var o;if(!e)try{o=a.parse(r,t)}catch(l){e=l}return t.highlight=i,e?n(e):n(null,o)};if(!i||i.length<3)return s();if(delete t.highlight,!r.length)return s();var u=0;return y.walkTokens(r,(function(e){"code"===e.type&&(u++,setTimeout((function(){i(e.text,e.lang,(function(t,n){if(t)return s(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--u&&s()}))}),0))})),void(0===u&&s())}try{var c=o.lex(e,t);return t.walkTokens&&y.walkTokens(c,t.walkTokens),a.parse(c,t)}catch(l){if(l.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+h(l.message+"",!0)+"</pre>";throw l}}y.options=y.setOptions=function(e){return f(y.defaults,e),v(y.defaults),y},y.getDefaults=g,y.defaults=m,y.use=function(e){var t=f({},e);if(e.renderer&&function(){var n=y.defaults.renderer||new u,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.renderer[t].apply(n,o);return!1===s&&(s=r.apply(n,o)),s}};for(var i in e.renderer)r(i);t.renderer=n}(),e.tokenizer&&function(){var n=y.defaults.tokenizer||new s,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.tokenizer[t].apply(n,o);return!1===s&&(s=r.apply(n,o)),s}};for(var i in e.tokenizer)r(i);t.tokenizer=n}(),e.walkTokens){var n=y.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),n&&n(t)}}y.setOptions(t)},y.walkTokens=function(e,t){var n,i=r(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;switch(t(o),o.type){case"table":var a,s=r(o.tokens.header);try{for(s.s();!(a=s.n()).done;){var u=a.value;y.walkTokens(u,t)}}catch(h){s.e(h)}finally{s.f()}var c,l=r(o.tokens.cells);try{for(l.s();!(c=l.n()).done;){var d,f=r(c.value);try{for(f.s();!(d=f.n()).done;){var p=d.value;y.walkTokens(p,t)}}catch(h){f.e(h)}finally{f.f()}}}catch(h){l.e(h)}finally{l.f()}break;case"list":y.walkTokens(o.items,t);break;default:o.tokens&&y.walkTokens(o.tokens,t)}}}catch(h){i.e(h)}finally{i.f()}},y.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=f({},y.defaults,t||{}),p(t);try{var n=o.lexInline(e,t);return t.walkTokens&&y.walkTokens(n,t.walkTokens),a.parseInline(n,t)}catch(r){if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+h(r.message+"",!0)+"</pre>";throw r}},y.Parser=a,y.parser=a.parse,y.Renderer=u,y.TextRenderer=c,y.Lexer=o,y.lexer=o.lex,y.Tokenizer=s,y.Slugger=l,y.parse=y,e.exports=y},6571:function(e,t,n){"use strict";var r=n(8591),i=r.noopTest,o=r.edit,a=r.merge,s={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) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\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{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:i,table:i,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};s.def=o(s.def).replace("label",s._label).replace("title",s._title).getRegex(),s.bullet=/(?:[*+-]|\d{1,9}[.)])/,s.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,s.item=o(s.item,"gm").replace(/bull/g,s.bullet).getRegex(),s.listItemStart=o(/^( *)(bull)/).replace("bull",s.bullet).getRegex(),s.list=o(s.list).replace(/bull/g,s.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+s.def.source+")").getRegex(),s._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",s._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,s.html=o(s.html,"i").replace("comment",s._comment).replace("tag",s._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),s.paragraph=o(s._paragraph).replace("hr",s.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").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|!--)").replace("tag",s._tag).getRegex(),s.blockquote=o(s.blockquote).replace("paragraph",s.paragraph).getRegex(),s.normal=a({},s),s.gfm=a({},s.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),s.gfm.nptable=o(s.gfm.nptable).replace("hr",s.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|!--)").replace("tag",s._tag).getRegex(),s.gfm.table=o(s.gfm.table).replace("hr",s.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|!--)").replace("tag",s._tag).getRegex(),s.pedantic=a({},s.normal,{html:o("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",s._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:i,paragraph:o(s.normal._paragraph).replace("hr",s.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",s.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var u={owo:/^:(\S*):/,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:i,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)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,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:i,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`:*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};u.punctuation=o(u.punctuation).replace(/punctuation/g,u._punctuation).getRegex(),u.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,u.escapedEmSt=/\\\*|\\_/g,u._comment=o(s._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),u.emStrong.lDelim=o(u.emStrong.lDelim).replace(/punct/g,u._punctuation).getRegex(),u.emStrong.rDelimAst=o(u.emStrong.rDelimAst,"g").replace(/punct/g,u._punctuation).getRegex(),u.emStrong.rDelimUnd=o(u.emStrong.rDelimUnd,"g").replace(/punct/g,u._punctuation).getRegex(),u._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,u._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,u._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])?)+(?![-_])/,u.autolink=o(u.autolink).replace("scheme",u._scheme).replace("email",u._email).getRegex(),u._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,u.tag=o(u.tag).replace("comment",u._comment).replace("attribute",u._attribute).getRegex(),u._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,u._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,u._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,u.link=o(u.link).replace("label",u._label).replace("href",u._href).replace("title",u._title).getRegex(),u.reflink=o(u.reflink).replace("label",u._label).getRegex(),u.reflinkSearch=o(u.reflinkSearch,"g").replace("reflink",u.reflink).replace("nolink",u.nolink).getRegex(),u.normal=a({},u),u.pedantic=a({},u.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:o(/^!?\[(label)\]\((.*?)\)/).replace("label",u._label).getRegex(),reflink:o(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",u._label).getRegex()}),u.gfm=a({},u.normal,{escape:o(u.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)|[\s\S]*?(?:(?=[\\<!\[`:*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),u.gfm.url=o(u.gfm.url,"i").replace("email",u.gfm._extended_email).getRegex(),u.breaks=a({},u.gfm,{br:o(u.br).replace("{2,}","*").getRegex(),text:o(u.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),e.exports={block:s,inline:u}},4722:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var i=r(n(506)),o=r(n(5910)),a=function(){function e(t){var n=this;(0,i["default"])(this,e);var r={logo:"OwO表情",container:document.getElementsByClassName("OwO")[0],target:document.getElementsByTagName("textarea")[0],position:"down",maxHeight:"250px",odata:{}};for(var o in r)r[o]&&!t[o]&&(t[o]=r[o]);this.container=t.container,this.target=t.target,"up"===t.position&&this.container.classList.add("OwO-up"),this.odata=t.odata,setTimeout((function(){n.init(t)}))}return(0,o["default"])(e,[{key:"init",value:function(e){var t=this;this.area=e.target,this.packages=Object.keys(this.odata);for(var n='<div class="OwO-logo">'.concat(e.logo,"</div>")+'<div class="OwO-body">',r=0;r<this.packages.length;r++){n+='<ul class="OwO-items OwO-items-'.concat(this.odata[this.packages[r]].type,'" style="max-height: ').concat(parseInt(e.maxHeight)-53+"px",';">');for(var i=this.odata[this.packages[r]].container,o=0;o<i.length;o++){var a=i[o].icon.replace("<img",'<img loading="lazy"');n+='<li class="OwO-item" title="'.concat(i[o].text,'">').concat(a,"</li>")}n+="</ul>"}n+='<div class="OwO-bar"><ul class="OwO-packages">';for(var s=0;s<this.packages.length;s++)n+="<li><span>".concat(this.packages[s],"</span></li>");n+="</ul></div></div>",this.container.innerHTML=n,this.logo=this.container.getElementsByClassName("OwO-logo")[0],this.logo.addEventListener("click",(function(){t.toggle()})),this.container.getElementsByClassName("OwO-body")[0].addEventListener("click",(function(e){var n=null;if(e.target.classList.contains("OwO-item")?n=e.target:e.target.parentNode.classList.contains("OwO-item")&&(n=e.target.parentNode),n){var r=t.area.selectionEnd,i=t.area.value,o=n.innerHTML;if(-1!==o.indexOf("<img"))if(n.title)o=":"+n.title+": ";else{var a=o.indexOf('src="')+'src="'.length,s=o.indexOf('"',a);-1!==a&&-1!==s&&(o="![".concat(n.title||"","](").concat(o.substring(a,s),")"))}t.area.value=i.slice(0,r)+o+i.slice(r),t.area.dispatchEvent(new InputEvent("input")),t.area.focus(),t.toggle()}})),this.packagesEle=this.container.getElementsByClassName("OwO-packages")[0];for(var u=function(e){var n;n=e,t.packagesEle.children[e].addEventListener("click",(function(){t.tab(n)}))},c=0;c<this.packagesEle.children.length;c++)u(c);this.tab(0)}},{key:"toggle",value:function(){this.container.classList.contains("OwO-open")?this.container.classList.remove("OwO-open"):this.container.classList.add("OwO-open")}},{key:"tab",value:function(e){var t=this.container.getElementsByClassName("OwO-items-show")[0];t&&t.classList.remove("OwO-items-show"),this.container.getElementsByClassName("OwO-items")[e].classList.add("OwO-items-show");var n=this.container.getElementsByClassName("OwO-package-active")[0];n&&n.classList.remove("OwO-package-active"),this.packagesEle.getElementsByTagName("li")[e].classList.add("OwO-package-active")}}]),e}();t["default"]=a},653:function(e,t,n){"use strict";var r=n(3483);Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var i=r(n(8252)),o=r(n(5858)),a=r(n(253)),s=r(n(1998)),u=r(n(9143));n(4195),n(3414),n(9951),n(8438),i["default"].use(a["default"]),i["default"].use(s["default"]),i["default"].use(u["default"]),t.render=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return i["default"].prototype.$tcb=e,i["default"].prototype.$twikoo=t,new i["default"]({render:function(e){return e(o["default"])}}).$mount(t.el||"#twikoo")}},1121:function(e,t,n){(t=n(5306)(!1)).push([e.id,".el-button-group>.el-button.is-active,.el-button-group>.el-button.is-disabled,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.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:#cccccc;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:#cccccc;color:#cccccc}.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:#cccccc;border-color:#cccccc}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#FFF}.el-button--primary.is-active,.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#FFF}.el-button--primary:active{outline:0}.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:#cccccc;background:#ecf5ff;border-color:#b3d8ff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#cccccc;border-color:#cccccc;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--text,.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover,.el-button--text:active{border-color:transparent}.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{color:#cccccc;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;background-color:transparent}.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: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-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--primary:first-child{border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--primary:last-child{border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:rgba(255,255,255,.5);border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--success:first-child{border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--success:last-child{border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:rgba(255,255,255,.5);border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--warning:first-child{border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--warning:last-child{border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:rgba(255,255,255,.5);border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--danger:first-child{border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--danger:last-child{border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:rgba(255,255,255,.5);border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--info:first-child{border-right-color:rgba(255,255,255,.5)}.el-button-group .el-button--info:last-child{border-left-color:rgba(255,255,255,.5)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:rgba(255,255,255,.5);border-right-color:rgba(255,255,255,.5)}",""]),e.exports=t},6011:function(e,t,n){(t=n(5306)(!1)).push([e.id,".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;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;font-size:inherit;color:#606266;background-color:#FFF;background-image:none;border:1px solid #DCDFE6;border-radius:4px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);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:#cccccc}.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 .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;background-image:none;border-radius:4px;border:1px solid #DCDFE6;-webkit-box-sizing:border-box;box-sizing:border-box;color:#606266;display:inline-block;font-size:inherit;height:40px;line-height:40px;outline:0;padding:0 15px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);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::-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:#cccccc;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__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.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}",""]),e.exports=t},1268:function(e,t,n){(t=n(5306)(!1)).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:#cccccc;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:#cccccc;stroke-linecap:round}.el-loading-spinner i{color:#cccccc}.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}}",""]),e.exports=t},5415:function(e,t,n){(t=n(5306)(!1)).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: #00000020;\n}\n.tk-expand:active {\n background-color: #00000030;\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: #90939950;\n}\n.twikoo .el-input__inner:hover,\n.twikoo .el-textarea__inner:hover {\n border-color: #90939980;\n}\n.twikoo .el-input__inner:focus,\n.twikoo .el-textarea__inner:focus {\n border-color: #cccccc;\n}\n.twikoo .el-input-group__append,\n.twikoo .el-input-group__prepend {\n color: currentColor;\n background-clip: padding-box;\n background-color: #90939920;\n border-color: #90939950;\n}\n.twikoo .el-button:not(.el-button--primary):not(.el-button--text) {\n color: currentColor;\n background-color: #90939910;\n border-color: #90939950;\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: #cccccc;\n background-color: #cccccc10;\n border-color: #cccccc80;\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: #ffffffa0;\n background-color: #cccccc80;\n border-color: transparent;\n}\n.twikoo .el-loading-mask {\n background-color: transparent;\n backdrop-filter: opacity(20%);\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",""]),e.exports=t},608:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-action[data-v-8d454e16] {\n display: flex;\n align-items: center;\n}\n.tk-action-link[data-v-8d454e16] {\n margin-left: 0.5rem;\n color: #cccccc;\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n.tk-action-link .tk-action-icon-solid[data-v-8d454e16] {\n display: none;\n}\n.tk-action-link.tk-liked .tk-action-icon[data-v-8d454e16],\n.tk-action-link:hover .tk-action-icon[data-v-8d454e16] {\n display: none;\n}\n.tk-action-link.tk-liked .tk-action-icon-solid[data-v-8d454e16],\n.tk-action-link:hover .tk-action-icon-solid[data-v-8d454e16] {\n display: block;\n}\n.tk-action-count[data-v-8d454e16] {\n margin-left: 0.25rem;\n font-size: 0.75rem;\n height: 1.5rem;\n line-height: 1.5rem;\n}\n.tk-action-icon[data-v-8d454e16] {\n display: inline-block;\n height: 0.75em;\n width: 0.75em;\n line-height: 0;\n}\n.tk-action-icon[data-v-8d454e16] svg {\n fill: #cccccc;\n}\n",""]),e.exports=t},4346:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-admin-container[data-v-45b8c260] {\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[data-v-45b8c260] {\n position: absolute;\n top: 0;\n left: 100%;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n pointer-events: all;\n background-color: #00000099;\n backdrop-filter: blur(5px);\n transition: all 0.5s ease;\n}\n.tk-admin[data-v-45b8c260]::-webkit-scrollbar {\n width: 5px;\n background-color: transparent;\n}\n.tk-admin[data-v-45b8c260]::-webkit-scrollbar-track {\n background-color: transparent;\n}\n.tk-admin[data-v-45b8c260]::-webkit-scrollbar-thumb {\n background-color: #ffffff50;\n}\n.tk-admin.__show[data-v-45b8c260] {\n left: 0;\n}\n.tk-admin-close[data-v-45b8c260] {\n position: sticky;\n float: right;\n display: block;\n top: 0;\n right: 0;\n width: 1rem;\n height: 1rem;\n padding: 1rem;\n box-sizing: content-box;\n color: #ffffff;\n}\n.tk-login[data-v-45b8c260],\n.tk-regist[data-v-45b8c260] {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.tk-login-title[data-v-45b8c260] {\n color: #ffffff;\n font-size: 1.25rem;\n text-align: center;\n margin-top: 10rem;\n}\n.tk-password[data-v-45b8c260],\n.tk-login-msg[data-v-45b8c260] {\n color: #ffffff;\n width: 80%;\n text-align: center;\n margin-top: 1rem;\n}\n.tk-login-msg a[data-v-45b8c260] {\n color: #ffffff;\n margin-left: 1em;\n text-decoration: underline;\n}\n.tk-regist-button[data-v-45b8c260] {\n margin-top: 1rem;\n}\n.tk-panel[data-v-45b8c260] {\n color: #ffffff;\n padding: 2rem;\n}\n.tk-panel-title[data-v-45b8c260] {\n font-size: 1.5rem;\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n}\n.tk-panel-logout[data-v-45b8c260] {\n color: #ffffff;\n font-size: 1rem;\n text-decoration: underline;\n}\n.tk-panel .tk-tabs[data-v-45b8c260] {\n display: flex;\n margin-bottom: 1em;\n border-bottom: 2px solid #c0c4cc;\n}\n.tk-panel .tk-tab[data-v-45b8c260] {\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[data-v-45b8c260] {\n color: #ffffff;\n border-bottom: 2px solid #ffffff;\n}\n",""]),e.exports=t},5932:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-admin-comment[data-v-8b37bee2] {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.tk-admin-comment a[data-v-8b37bee2] {\n color: currentColor;\n text-decoration: underline;\n}\n.tk-admin-warn[data-v-8b37bee2] {\n margin-bottom: 1em;\n}\n.tk-admin-comment-filter[data-v-8b37bee2] {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n.tk-admin-comment-filter-keyword[data-v-8b37bee2] {\n flex: 1;\n}\n.tk-admin-comment-filter-type[data-v-8b37bee2] {\n height: 32px;\n margin: 0 0.5em;\n padding: 0 0.5em;\n color: #ffffff;\n background: none;\n border: 1px solid #90939950;\n border-radius: 4px;\n position: relative;\n -moz-appearance: none;\n -webkit-appearance: none;\n}\n.tk-admin-comment-filter-type[data-v-8b37bee2]:focus {\n border-color: #cccccc;\n}\n.tk-admin-comment-list[data-v-8b37bee2] {\n margin-top: 1em;\n}\n.tk-admin-comment-list[data-v-8b37bee2],\n.tk-admin-comment-item[data-v-8b37bee2] {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: stretch;\n}\n.tk-admin-comment-meta[data-v-8b37bee2] {\n display: flex;\n align-items: center;\n margin-bottom: 0.5em;\n}\n.tk-avatar[data-v-8b37bee2] {\n margin-right: 0.5em;\n}\n.tk-admin-actions[data-v-8b37bee2] {\n display: flex;\n margin-bottom: 1em;\n}\n",""]),e.exports=t},1481:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-admin-config-groups[data-v-7dc9bac2] {\n overflow-y: auto;\n padding-right: 0.5em;\n}\n.tk-admin-config-group-title[data-v-7dc9bac2] {\n margin-top: 1em;\n font-size: 1.25rem;\n font-weight: bold;\n}\n.tk-admin-config-item[data-v-7dc9bac2] {\n display: grid;\n align-items: center;\n grid-template-columns: 30% 70%;\n margin-top: 1em;\n}\n.tk-admin-config-title[data-v-7dc9bac2] {\n text-align: right;\n margin-right: 1em;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.tk-admin-config-desc[data-v-7dc9bac2] {\n margin-top: 0.5em;\n font-size: 0.75em;\n}\n.tk-admin-config-actions[data-v-7dc9bac2] {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 1em;\n}\n.tk-admin-config-message[data-v-7dc9bac2] {\n margin-top: 0.5em;\n text-align: center;\n}\n",""]),e.exports=t},6584:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-admin-import[data-v-6a327cb6] {\n display: flex;\n flex-direction: column;\n}\n.tk-admin-import-label[data-v-6a327cb6] {\n margin-top: 1em;\n font-size: 1.25rem;\n font-weight: bold;\n}\nselect[data-v-6a327cb6],\ninput[data-v-6a327cb6],\n.el-button[data-v-6a327cb6],\n.el-textarea[data-v-6a327cb6] {\n margin-top: 1em;\n}\n",""]),e.exports=t},3831:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-avatar[data-v-32f45298] {\n flex-shrink: 0;\n height: 2.5rem;\n width: 2.5rem;\n overflow: hidden;\n text-align: center;\n border-radius: 50px;\n}\n.tk-replies .tk-avatar[data-v-32f45298] {\n height: 1.6rem;\n width: 1.6rem;\n}\n.tk-avatar.tk-has-avatar[data-v-32f45298] {\n background-color: #90939920;\n}\n.tk-avatar.tk-clickable[data-v-32f45298] {\n cursor: pointer;\n}\n.tk-avatar .tk-avatar-img[data-v-32f45298] {\n height: 2.5rem;\n}\n.tk-replies .tk-avatar .tk-avatar-img[data-v-32f45298] {\n height: 1.6rem;\n}\n.tk-avatar .tk-avatar-img[data-v-32f45298] svg {\n fill: #c0c4cc;\n}\n",""]),e.exports=t},2256:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-main[data-v-d82ce9a0] {\n flex: 1;\n width: 0;\n}\n.tk-row[data-v-d82ce9a0] {\n flex: 1;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n.tk-avatar[data-v-d82ce9a0] {\n margin-right: 1rem;\n}\n.tk-nick-link[data-v-d82ce9a0] {\n color: inherit;\n text-decoration: none;\n}\n.tk-replies .tk-nick-link[data-v-d82ce9a0] {\n font-size: .9em;\n}\n.tk-nick-link[data-v-d82ce9a0]:hover {\n color: #cccccc;\n}\n.tk-actions[data-v-d82ce9a0] {\n display: none;\n margin-left: 1em;\n}\n.tk-comment:hover .tk-actions[data-v-d82ce9a0] {\n display: inline;\n}\n.tk-extras[data-v-d82ce9a0] {\n color: #999999;\n font-size: 0.875em;\n display: none;\n flex-wrap: wrap;\n}\n.tk-extra[data-v-d82ce9a0] {\n margin-top: 0.5rem;\n margin-right: 0.75rem;\n display: flex;\n align-items: center;\n}\n.tk-icon[data-v-d82ce9a0] {\n height: 1em;\n width: 1em;\n line-height: 1;\n}\n.tk-extra-text[data-v-d82ce9a0] {\n line-height: 1;\n}\n.tk-icon[data-v-d82ce9a0] svg {\n width: 100%;\n fill: currentColor;\n}\n.tk-tag[data-v-d82ce9a0] {\n display: inline-block;\n padding: 0 0.5em;\n font-size: 0.75em;\n background-color: #f2f6fc;\n}\n.tk-tag-green[data-v-d82ce9a0] {\n background-color: #67c23a20;\n border: 1px solid #67c23a80;\n border-radius: 2px;\n color: #67c23a;\n}\n.tk-tag-yellow[data-v-d82ce9a0] {\n background-color: #e6a23c20;\n border: 1px solid #e6a23c80;\n border-radius: 2px;\n color: #e6a23c;\n}\n.tk-tag-blue[data-v-d82ce9a0] {\n background-color: #cccccc20;\n border: 1px solid #cccccc80;\n border-radius: 2px;\n color: #cccccc;\n}\n.tk-tag-red[data-v-d82ce9a0] {\n background-color: #f56c6c20;\n border: 1px solid #f56c6c80;\n border-radius: 2px;\n color: #f56c6c;\n}\n.tk-comment[data-v-d82ce9a0] {\n margin-top: 1rem;\n display: flex;\n flex-direction: row;\n word-break: break-all;\n}\n.tk-content[data-v-d82ce9a0] {\n margin-top: 0.5rem;\n overflow: auto;\n max-height: 500px;\n}\n.tk-replies .tk-content[data-v-d82ce9a0] {\n font-size: .9em;\n}\n.tk-comment[data-v-d82ce9a0] .vemoji {\n max-height: 2em;\n vertical-align: middle;\n}\n.tk-replies[data-v-d82ce9a0] {\n max-height: 200px;\n overflow: hidden;\n position: relative;\n}\n.tk-replies-expand[data-v-d82ce9a0] {\n max-height: none;\n}\n.tk-submit[data-v-d82ce9a0] {\n margin-top: 1rem;\n}\n.tk-expand[data-v-d82ce9a0] {\n font-size: 0.75em;\n}\n",""]),e.exports=t},7349:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-comments-title[data-v-2619081a] {\n font-size: 1.25rem;\n font-weight: bold;\n margin-bottom: 1rem;\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n}\n.tk-comments-count.__hidden[data-v-2619081a] {\n visibility: hidden;\n}\n.tk-comments-container[data-v-2619081a] {\n min-height: 10rem;\n display: flex;\n flex-direction: column;\n}\n.tk-comments-no[data-v-2619081a] {\n flex: 1;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.tk-comments-error[data-v-2619081a] {\n font-size: 0.75em;\n color: #ff0000;\n}\n.tk-icon[data-v-2619081a] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: sub;\n height: 0.75em;\n width: 0.75em;\n line-height: 0;\n cursor: pointer;\n}\n.tk-icon[data-v-2619081a] svg {\n width: 100%;\n height: 100%;\n fill: #cccccc;\n}\n",""]),e.exports=t},4306:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-footer[data-v-c0af544c] {\n width: 100%;\n text-align: end;\n display: none;\n color: #999999;\n margin-top: 1em;\n}\n",""]),e.exports=t},9239:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-meta-input[data-v-5087bc56] {\n display: flex;\n}\n.tk-meta-input .el-input[data-v-5087bc56] {\n width: auto;\n width: calc((100% - 1rem) / 3); /* Fix Safari */\n flex: 1;\n}\n.tk-meta-input .el-input + .el-input[data-v-5087bc56] {\n margin-left: 0.5rem;\n}\n.tk-meta-input .el-input[data-v-5087bc56] .el-input-group__prepend {\n padding: 0 1rem;\n}\n.tk-meta-input .el-input[data-v-5087bc56] input:invalid {\n border: 1px solid #f56c6c;\n box-shadow: none;\n}\n@media screen and (max-width: 767px) {\n.tk-meta-input[data-v-5087bc56] {\n flex-direction: column;\n}\n.tk-meta-input .el-input[data-v-5087bc56] {\n width: auto;\n}\n.tk-meta-input .el-input + .el-input[data-v-5087bc56] {\n margin-left: 0;\n margin-top: 0.5rem;\n}\n}\n",""]),e.exports=t},8336:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-pagination[data-v-5450564e],\n.tk-pagination-pagers[data-v-5450564e] {\n display: flex;\n}\n.tk-pagination[data-v-5450564e] {\n width: 100%;\n align-items: center;\n justify-content: space-between;\n}\n.tk-pagination-options[data-v-5450564e] {\n display: flex;\n align-items: center;\n}\n.tk-pagination-pager[data-v-5450564e] {\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[data-v-5450564e] {\n background-color: #cccccc;\n pointer-events: none;\n}\n.tk-pagination .el-input[data-v-5450564e] {\n width: 50px;\n}\n.tk-pagination .el-input[data-v-5450564e] .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[data-v-5450564e] .el-input__inner::-webkit-inner-spin-button,\n.tk-pagination .el-input[data-v-5450564e] .el-input__inner::-webkit-outer-spin-button {\n -webkit-appearance: none;\n appearance: none;\n margin: 0;\n}\n",""]),e.exports=t},2145:function(e,t,n){(t=n(5306)(!1)).push([e.id,"\n.tk-submit[data-v-619b4c52] {\n display: flex;\n flex-direction: column;\n}\n.tk-row[data-v-619b4c52] {\n display: flex;\n flex-direction: row;\n}\n.tk-col[data-v-619b4c52] {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.tk-meta-input[data-v-619b4c52] {\n margin-bottom: 0.5rem;\n}\n.tk-row.actions[data-v-619b4c52] {\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[data-v-619b4c52] {\n flex: 1;\n display: flex;\n align-items: center;\n}\n.tk-action-icon[data-v-619b4c52] {\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-action-icon[data-v-619b4c52] svg:hover {\n opacity: 0.8;\n}\n.tk-action-icon.__markdown[data-v-619b4c52] svg {\n fill: #909399;\n}\n.tk-error-message[data-v-619b4c52] {\n word-break: break-all;\n color: #ff0000;\n font-size: 0.75em;\n flex-shrink: 1;\n}\n.tk-avatar[data-v-619b4c52] {\n margin-right: 1rem;\n}\n.tk-input-image[data-v-619b4c52] {\n display: none;\n}\n.tk-input[data-v-619b4c52] {\n flex: 1;\n}\n.tk-input[data-v-619b4c52] .el-textarea__inner {\n background-position: right bottom;\n background-repeat: no-repeat;\n}\n.tk-preview-container[data-v-619b4c52] {\n margin-left: 3rem;\n margin-bottom: 1rem;\n padding: 5px 15px;\n border: 1px solid #80808050;\n border-radius: 4px;\n}\n",""]),e.exports=t},6193:function(e,t,n){(t=n(5306)(!1)).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 #90939950;\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: 50px;\n display: inline-block;\n font-size: 12px;\n line-height: 14px;\n margin: 0 10px 12px 0;\n cursor: pointer;\n -webkit-transition: .3s;\n transition: .3s;\n}\n\n.OwO .OwO-body .OwO-items .OwO-item:hover {\n background-color: #90939920;\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 max-width: calc(25% - 10px);\n box-sizing: border-box;\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 #90939950;\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: #90939920;\n}\n\n.OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active {\n background-color: #90939920;\n -webkit-transition: .3s;\n transition: .3s;\n}\n',""]),e.exports=t},4427:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55"></path></svg>'},511:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"></path></svg>'},7630:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M131.5 217.5L55.1 100.1c47.6-59.2 119-91.8 192-92.1 42.3-.3 85.5 10.5 124.8 33.2 43.4 25.2 76.4 61.4 97.4 103L264 133.4c-58.1-3.4-113.4 29.3-132.5 84.1zm32.9 38.5c0 46.2 37.4 83.6 83.6 83.6s83.6-37.4 83.6-83.6-37.4-83.6-83.6-83.6-83.6 37.3-83.6 83.6zm314.9-89.2L339.6 174c37.9 44.3 38.5 108.2 6.6 157.2L234.1 503.6c46.5 2.5 94.4-7.7 137.8-32.9 107.4-62 150.9-192 107.4-303.9zM133.7 303.6L40.4 120.1C14.9 159.1 0 205.9 0 256c0 124 90.8 226.7 209.5 244.9l63.7-124.8c-57.6 10.8-113.2-20.8-139.5-72.5z"></path></svg>'},3447:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M481.92,134.48C440.87,54.18,352.26,8,255.91,8,137.05,8,37.51,91.68,13.47,203.66c26-46.49,86.22-79.14,149.46-79.14,79.27,0,121.09,48.93,122.25,50.18,22,23.8,33,50.39,33,83.1,0,10.4-5.31,25.82-15.11,38.57-1.57,2-6.39,4.84-6.39,11,0,5.06,3.29,9.92,9.14,14,27.86,19.37,80.37,16.81,80.51,16.81A115.39,115.39,0,0,0,444.94,322a118.92,118.92,0,0,0,58.95-102.44C504.39,176.13,488.39,147.26,481.92,134.48ZM212.77,475.67a154.88,154.88,0,0,1-46.64-45c-32.94-47.42-34.24-95.6-20.1-136A155.5,155.5,0,0,1,203,215.75c59-45.2,94.84-5.65,99.06-1a80,80,0,0,0-4.89-10.14c-9.24-15.93-24-36.41-56.56-53.51-33.72-17.69-70.59-18.59-77.64-18.59-38.71,0-77.9,13-107.53,35.69C35.68,183.3,12.77,208.72,8.6,243c-1.08,12.31-2.75,62.8,23,118.27a248,248,0,0,0,248.3,141.61C241.78,496.26,214.05,476.24,212.77,475.67Zm250.72-98.33a7.76,7.76,0,0,0-7.92-.23,181.66,181.66,0,0,1-20.41,9.12,197.54,197.54,0,0,1-69.55,12.52c-91.67,0-171.52-63.06-171.52-144A61.12,61.12,0,0,1,200.61,228,168.72,168.72,0,0,0,161.85,278c-14.92,29.37-33,88.13,13.33,151.66,6.51,8.91,23,30,56,47.67,23.57,12.65,49,19.61,71.7,19.61,35.14,0,115.43-33.44,163-108.87A7.75,7.75,0,0,0,463.49,377.34Z"></path></svg>'},7385:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M189.37,152.86Zm-58.74-29.37C130.79,123.5,130.71,123.5,130.63,123.49Zm351.42,45.35c-10.61-25.5-32.08-53-48.94-61.73,13.72,26.89,21.67,53.88,24.7,74,0,0,0,.14.05.41-27.58-68.75-74.35-96.47-112.55-156.83-1.93-3.05-3.86-6.11-5.74-9.33-1-1.65-1.86-3.34-2.69-5.05A44.88,44.88,0,0,1,333.24.69a.63.63,0,0,0-.55-.66.9.9,0,0,0-.46,0l-.12.07-.18.1.1-.14c-54.23,31.77-76.72,87.38-82.5,122.78a130,130,0,0,0-48.33,12.33,6.25,6.25,0,0,0-3.09,7.75,6.13,6.13,0,0,0,7.79,3.79l.52-.21a117.84,117.84,0,0,1,42.11-11l1.42-.1c2-.12,4-.2,6-.22A122.61,122.61,0,0,1,291,140c.67.2,1.32.42,2,.63,1.89.57,3.76,1.2,5.62,1.87,1.36.5,2.71,1,4.05,1.58,1.09.44,2.18.88,3.25,1.35q2.52,1.13,5,2.35c.75.37,1.5.74,2.25,1.13q2.4,1.26,4.74,2.63,1.51.87,3,1.8a124.89,124.89,0,0,1,42.66,44.13c-13-9.15-36.35-18.19-58.82-14.28,87.74,43.86,64.18,194.9-57.39,189.2a108.43,108.43,0,0,1-31.74-6.12c-2.42-.91-4.8-1.89-7.16-2.93-1.38-.63-2.76-1.27-4.12-2C174.5,346,149.9,316.92,146.83,281.59c0,0,11.25-41.95,80.62-41.95,7.5,0,28.93-20.92,29.33-27-.09-2-42.54-18.87-59.09-35.18-8.85-8.71-13.05-12.91-16.77-16.06a69.58,69.58,0,0,0-6.31-4.77A113.05,113.05,0,0,1,173.92,97c-25.06,11.41-44.55,29.45-58.71,45.37h-.12c-9.67-12.25-9-52.65-8.43-61.08-.12-.53-7.22,3.68-8.15,4.31a178.54,178.54,0,0,0-23.84,20.43A214,214,0,0,0,51.9,133.36l0,0a.08.08,0,0,1,0,0,205.84,205.84,0,0,0-32.73,73.9c-.06.27-2.33,10.21-4,22.48q-.42,2.87-.78,5.74c-.57,3.69-1,7.71-1.44,14,0,.24,0,.48-.05.72-.18,2.71-.34,5.41-.49,8.12,0,.41,0,.82,0,1.24,0,134.7,109.21,243.89,243.92,243.89,120.64,0,220.82-87.58,240.43-202.62.41-3.12.74-6.26,1.11-9.41,4.85-41.83-.54-85.79-15.82-122.55Z"></path></svg>'},2170:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M483.049 159.706c10.855-24.575 21.424-60.438 21.424-87.871 0-72.722-79.641-98.371-209.673-38.577-107.632-7.181-211.221 73.67-237.098 186.457 30.852-34.862 78.271-82.298 121.977-101.158C125.404 166.85 79.128 228.002 43.992 291.725 23.246 329.651 0 390.94 0 436.747c0 98.575 92.854 86.5 180.251 42.006 31.423 15.43 66.559 15.573 101.695 15.573 97.124 0 184.249-54.294 216.814-146.022H377.927c-52.509 88.593-196.819 52.996-196.819-47.436H509.9c6.407-43.581-1.655-95.715-26.851-141.162zM64.559 346.877c17.711 51.15 53.703 95.871 100.266 123.304-88.741 48.94-173.267 29.096-100.266-123.304zm115.977-108.873c2-55.151 50.276-94.871 103.98-94.871 53.418 0 101.981 39.72 103.981 94.871H180.536zm184.536-187.6c21.425-10.287 48.563-22.003 72.558-22.003 31.422 0 54.274 21.717 54.274 53.722 0 20.003-7.427 49.007-14.569 67.867-26.28-42.292-65.986-81.584-112.263-99.586z"></path></svg>'},5552:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M220.8 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5.2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4.2-.8.7-.6 1.1.3 1.3 2.3 1.1 3.4 1.7zm-21.9 1.7c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6.2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5.1-1.3.6-3.4 1.5-3.2 2.9.1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72C311.1 85.4 315.7.1 234.8 0 132.4-.2 158 103.4 156.9 135.2c-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9.6 7.9 1.2 11.8 1.2 8.1 2.5 15.7.8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1.6 2.3 1.4 4.6 2.5 6.7v.1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3.4-8.2-4.4-17.3-15.5-29.7zM223.7 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4.7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4v-.2c2.4-7.6.6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7.8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4.6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1.8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7.4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6.8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1.3-.2.7-.3 1-.5.8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"></path></svg>'},5242:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M593.8 59.1H46.2C20.7 59.1 0 79.8 0 105.2v301.5c0 25.5 20.7 46.2 46.2 46.2h547.7c25.5 0 46.2-20.7 46.1-46.1V105.2c0-25.4-20.7-46.1-46.2-46.1zM338.5 360.6H277v-120l-61.5 76.9-61.5-76.9v120H92.3V151.4h61.5l61.5 76.9 61.5-76.9h61.5v209.2zm135.3 3.1L381.5 256H443V151.4h61.5V256H566z"></path></svg>'},3137:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M274.69,274.69l-37.38-37.38L166,346ZM256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8ZM411.85,182.79l14.78-6.13A8,8,0,0,1,437.08,181h0a8,8,0,0,1-4.33,10.46L418,197.57a8,8,0,0,1-10.45-4.33h0A8,8,0,0,1,411.85,182.79ZM314.43,94l6.12-14.78A8,8,0,0,1,331,74.92h0a8,8,0,0,1,4.33,10.45l-6.13,14.78a8,8,0,0,1-10.45,4.33h0A8,8,0,0,1,314.43,94ZM256,60h0a8,8,0,0,1,8,8V84a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V68A8,8,0,0,1,256,60ZM181,74.92a8,8,0,0,1,10.46,4.33L197.57,94a8,8,0,1,1-14.78,6.12l-6.13-14.78A8,8,0,0,1,181,74.92Zm-63.58,42.49h0a8,8,0,0,1,11.31,0L140,128.72A8,8,0,0,1,140,140h0a8,8,0,0,1-11.31,0l-11.31-11.31A8,8,0,0,1,117.41,117.41ZM60,256h0a8,8,0,0,1,8-8H84a8,8,0,0,1,8,8h0a8,8,0,0,1-8,8H68A8,8,0,0,1,60,256Zm40.15,73.21-14.78,6.13A8,8,0,0,1,74.92,331h0a8,8,0,0,1,4.33-10.46L94,314.43a8,8,0,0,1,10.45,4.33h0A8,8,0,0,1,100.15,329.21Zm4.33-136h0A8,8,0,0,1,94,197.57l-14.78-6.12A8,8,0,0,1,74.92,181h0a8,8,0,0,1,10.45-4.33l14.78,6.13A8,8,0,0,1,104.48,193.24ZM197.57,418l-6.12,14.78a8,8,0,0,1-14.79-6.12l6.13-14.78A8,8,0,1,1,197.57,418ZM264,444a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V428a8,8,0,0,1,8-8h0a8,8,0,0,1,8,8Zm67-6.92h0a8,8,0,0,1-10.46-4.33L314.43,418a8,8,0,0,1,4.33-10.45h0a8,8,0,0,1,10.45,4.33l6.13,14.78A8,8,0,0,1,331,437.08Zm63.58-42.49h0a8,8,0,0,1-11.31,0L372,383.28A8,8,0,0,1,372,372h0a8,8,0,0,1,11.31,0l11.31,11.31A8,8,0,0,1,394.59,394.59ZM286.25,286.25,110.34,401.66,225.75,225.75,401.66,110.34ZM437.08,331h0a8,8,0,0,1-10.45,4.33l-14.78-6.13a8,8,0,0,1-4.33-10.45h0A8,8,0,0,1,418,314.43l14.78,6.12A8,8,0,0,1,437.08,331ZM444,264H428a8,8,0,0,1-8-8h0a8,8,0,0,1,8-8h16a8,8,0,0,1,8,8h0A8,8,0,0,1,444,264Z"></path></svg>'},4783:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm52.7 93c8.8-15.2 28.3-20.5 43.5-11.7 15.3 8.8 20.5 28.3 11.7 43.6-8.8 15.2-28.3 20.5-43.5 11.7-15.3-8.9-20.5-28.4-11.7-43.6zM87.4 287.9c-17.6 0-31.9-14.3-31.9-31.9 0-17.6 14.3-31.9 31.9-31.9 17.6 0 31.9 14.3 31.9 31.9 0 17.6-14.3 31.9-31.9 31.9zm28.1 3.1c22.3-17.9 22.4-51.9 0-69.9 8.6-32.8 29.1-60.7 56.5-79.1l23.7 39.6c-51.5 36.3-51.5 112.5 0 148.8L172 370c-27.4-18.3-47.8-46.3-56.5-79zm228.7 131.7c-15.3 8.8-34.7 3.6-43.5-11.7-8.8-15.3-3.6-34.8 11.7-43.6 15.2-8.8 34.7-3.6 43.5 11.7 8.8 15.3 3.6 34.8-11.7 43.6zm.3-69.5c-26.7-10.3-56.1 6.6-60.5 35-5.2 1.4-48.9 14.3-96.7-9.4l22.5-40.3c57 26.5 123.4-11.7 128.9-74.4l46.1.7c-2.3 34.5-17.3 65.5-40.3 88.4zm-5.9-105.3c-5.4-62-71.3-101.2-128.9-74.4l-22.5-40.3c47.9-23.7 91.5-10.8 96.7-9.4 4.4 28.3 33.8 45.3 60.5 35 23.1 22.9 38 53.9 40.2 88.5l-46 .6z"></path></svg>'},5461:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z"></path></svg>'},5570:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"></path></svg>'},8384:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v276a6 6 0 0 1-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z"></path></svg>'},7702:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 224c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm-160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"></path></svg>'},6845:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"></path></svg>'},1576:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V192h416v234z"></path></svg>'},2561:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"></path></svg>'},1455:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z"></path></svg>'},6230:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"></path></svg>'},7848:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512"><path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg>'},146:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"></path></svg>'},5858:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"twikoo",attrs:{id:"twikoo"}},[n("tk-comments",{attrs:{"show-admin-entry":e.showAdminEntry},on:{admin:function(t){e.showAdmin=!0}}}),e._v(" "),n("tk-footer"),e._v(" "),n("tk-admin",{attrs:{show:e.showAdmin},on:{close:function(t){e.showAdmin=!1}}})],1)};r._withStripped=!0;var i=n(9785),o=i.Z,a=(n(7671),(0,n(1900).Z)(o,r,[],!1,null,null,null));a.options.__file="src/view/App.vue";var s=a.exports},2118:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-action"},[n("a",{staticClass:"tk-action-link","class":{"tk-liked":e.liked},on:{click:e.onLike}},[n("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconLike)}}),e._v(" "),n("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconLikeSolid)}}),e._v(" "),n("span",{staticClass:"tk-action-count"},[e._v(e._s(e.likeCountStr))])]),e._v(" "),n("a",{staticClass:"tk-action-link",on:{click:e.onReply}},[n("span",{staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconComment)}}),e._v(" "),n("span",{staticClass:"tk-action-icon tk-action-icon-solid",domProps:{innerHTML:e._s(e.iconCommentSolid)}}),e._v(" "),n("span",{staticClass:"tk-action-count"},[e._v(e._s(e.repliesCountStr))])])])};r._withStripped=!0;var i=n(5235),o=i.Z,a=(n(7151),(0,n(1900).Z)(o,r,[],!1,null,"8d454e16",null));a.options.__file="src/view/components/TkAction.vue";var s=a.exports},8804:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-admin-container"},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin","class":{__show:e.show}},[n("a",{staticClass:"tk-admin-close",domProps:{innerHTML:e._s(e.iconClose)},on:{click:e.onClose}}),e._v(" "),e.needUpdate?n("div",{staticClass:"tk-login-title"},[n("div",[e._v(e._s(e.t("ADMIN_NEED_UPDATE")))]),e._v(" "),n("a",{attrs:{href:"https://twikoo.js.org/quick-start.html",target:"_blank"}},[e._v("https://twikoo.js.org/quick-start.html")])]):e._e(),e._v(" "),e.needUpdate?e._e():n("div",[!e.isLogin&&e.isSetPassword?n("div",{staticClass:"tk-login"},[n("div",{staticClass:"tk-login-title"},[e._v(e._s(e.t("ADMIN_LOGIN_TITLE")))]),e._v(" "),n("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(t)}},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}},[n("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_PASSWORD")))]),e._v(" "),n("el-button",{attrs:{slot:"append"},on:{click:e.onLogin},slot:"append"},[e._v(e._s(e.t("ADMIN_LOGIN")))])],2),e._v(" "),e.loginErrorMessage?n("div",{staticClass:"tk-login-msg"},[e._v("\n "+e._s(e.loginErrorMessage)+"\n "),n("a",{attrs:{href:"https://twikoo.js.org/faq.html",rel:"noopener noreferrer",target:"_blank"}},[e._v(e._s(e.t("ADMIN_FORGOT")))])]):e._e()],1):e._e(),e._v(" "),e.isLogin||e.isSetPassword?e._e():n("div",{staticClass:"tk-regist"},[n("div",{staticClass:"tk-login-title"},[e._v(e._s(e.t("ADMIN_LOGIN_TITLE")))]),e._v(" "),e.isSetCredentials?e._e():n("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"}},[n("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_CREDENTIALS")))])],2),e._v(" "),n("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"}},[n("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_SET_PASSWORD")))])],2),e._v(" "),n("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"}},[n("template",{slot:"prepend"},[e._v(e._s(e.t("ADMIN_SET_PASSWORD_CONFIRM")))])],2),e._v(" "),n("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?n("div",{staticClass:"tk-login-msg"},[e._v(e._s(e.loginErrorMessage))]):e._e(),e._v(" "),e.isSetCredentials?e._e():n("div",{staticClass:"tk-login-msg"},[n("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?n("div",{staticClass:"tk-panel"},[n("div",{staticClass:"tk-panel-title"},[n("div",[e._v(e._s(e.t("ADMIN_TITLE")))]),e._v(" "),n("a",{staticClass:"tk-panel-logout",on:{click:e.onLogout}},[e._v(e._s(e.t("ADMIN_LOGOUT")))])]),e._v(" "),n("div",{staticClass:"tk-tabs"},[n("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(" "),n("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(" "),n("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(" "),n("tk-admin-comment",{directives:[{name:"show",rawName:"v-show",value:"comment"===e.activeTabName,expression:"activeTabName === 'comment'"}]}),e._v(" "),n("tk-admin-config",{directives:[{name:"show",rawName:"v-show",value:"config"===e.activeTabName,expression:"activeTabName === 'config'"}]}),e._v(" "),n("tk-admin-import",{directives:[{name:"show",rawName:"v-show",value:"import"===e.activeTabName,expression:"activeTabName === 'import'"}]})],1):e._e()])])])};r._withStripped=!0;var i=n(6420),o=i.Z,a=(n(3507),(0,n(1900).Z)(o,r,[],!1,null,"45b8c260",null));a.options.__file="src/view/components/TkAdmin.vue";var s=a.exports},4692:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin-comment"},[e.clientVersion!==e.serverVersion?n("div",{staticClass:"tk-admin-warn"},[n("span",[e._v("前端版本:"+e._s(e.clientVersion)+",")]),e._v(" "),n("span",[e._v("云函数版本:"+e._s(e.serverVersion)+",")]),e._v(" "),e._m(0)]):e._e(),e._v(" "),n("div",{staticClass:"tk-admin-comment-filter"},[n("el-input",{staticClass:"tk-admin-comment-filter-keyword",attrs:{size:"small",placeholder:"搜索昵称、邮箱、网址、IP、评论正文、文章地址"},model:{value:e.filter.keyword,callback:function(t){e.$set(e.filter,"keyword",t)},expression:"filter.keyword"}}),e._v(" "),n("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])}}},[n("option",{attrs:{value:""}},[e._v("全部")]),e._v(" "),n("option",{attrs:{value:"VISIBLE"}},[e._v("只看可见")]),e._v(" "),n("option",{attrs:{value:"HIDDEN"}},[e._v("只看隐藏")])]),e._v(" "),n("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.getComments}},[e._v("搜索")])],1),e._v(" "),n("div",{ref:"comment-list",staticClass:"tk-admin-comment-list"},e._l(e.comments,(function(t){return n("div",{key:t._id,staticClass:"tk-admin-comment-item"},[n("div",{staticClass:"tk-admin-comment-meta"},[n("tk-avatar",{attrs:{config:e.serverConfig,avatar:t.avatar,mail:t.mail,link:t.link}}),e._v(" "),t.link?e._e():n("span",[e._v(e._s(t.nick))]),e._v(" "),t.link?n("a",{attrs:{href:e.convertLink(t.link),target:"_blank"}},[e._v(e._s(t.nick))]):e._e(),e._v(" "),t.mail?n("span",[e._v(" ("),n("a",{attrs:{href:"mailto:"+t.mail}},[e._v(e._s(t.mail))]),e._v(")")]):e._e(),e._v(" "),t.isSpam?n("span",[e._v(e._s(e.t("ADMIN_COMMENT_IS_SPAM_SUFFIX")))]):e._e()],1),e._v(" "),n("div",{ref:"comments",refInFor:!0,staticClass:"tk-content",domProps:{innerHTML:e._s(t.comment)}}),e._v(" "),n("div",{staticClass:"tk-admin-actions"},[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleView(t)}}},[e._v(e._s(e.t("ADMIN_COMMENT_VIEW")))]),e._v(" "),t.isSpam?n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleSpam(t,!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_SHOW")))]):e._e(),e._v(" "),t.isSpam?e._e():n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleSpam(t,!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_HIDE")))]),e._v(" "),!t.rid&&t.top?n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleTop(t,!1)}}},[e._v(e._s(e.t("ADMIN_COMMENT_UNTOP")))]):e._e(),e._v(" "),t.rid||t.top?e._e():n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleTop(t,!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_TOP")))]),e._v(" "),n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleDelete(t)}}},[e._v(e._s(e.t("ADMIN_COMMENT_DELETE")))])],1)])})),0),e._v(" "),n("tk-pagination",{attrs:{"page-size":e.pageSize,total:e.count},on:{"page-size-change":e.onPageSizeChange,"current-change":e.switchPage}})],1)};r._withStripped=!0;var i=n(8037),o=i.Z,a=(n(2360),(0,n(1900).Z)(o,r,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._v("请参考 "),n("a",{attrs:{href:"https://twikoo.js.org/quick-start.html#%E7%89%88%E6%9C%AC%E6%9B%B4%E6%96%B0",target:"_blank"}},[e._v("版本更新")]),e._v(" 进行升级")])}],!1,null,"8b37bee2",null));a.options.__file="src/view/components/TkAdminComment.vue";var s=a.exports},7898:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-admin-config"},[e.clientVersion!==e.serverVersion?n("div",{staticClass:"tk-admin-warn"},[n("span",[e._v("前端版本:"+e._s(e.clientVersion)+",")]),e._v(" "),n("span",[e._v("云函数版本:"+e._s(e.serverVersion)+",")]),e._v(" "),e._m(0)]):e._e(),e._v(" "),n("div",{staticClass:"tk-admin-config-groups"},e._l(e.settings,(function(t){return n("div",{key:t.name,staticClass:"tk-admin-config-group"},[n("div",{staticClass:"tk-admin-config-group-title"},[e._v(e._s(t.name))]),e._v(" "),e._l(t.items,(function(t){return n("div",{key:t.key,staticClass:"tk-admin-config-item"},[n("div",{staticClass:"tk-admin-config-title",attrs:{title:t.key}},[e._v(e._s(t.key))]),e._v(" "),n("div",{staticClass:"tk-admin-config-input"},[n("el-input",{attrs:{placeholder:t.ph,size:"small","show-password":t.secret},model:{value:t.value,callback:function(n){e.$set(t,"value",n)},expression:"setting.value"}})],1),e._v(" "),n("div"),e._v(" "),n("div",{staticClass:"tk-admin-config-desc"},[e._v(e._s(t.desc))])])}))],2)})),0),e._v(" "),n("div",{staticClass:"tk-admin-config-actions"},[n("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.saveConfig}},[e._v(e._s(e.t("ADMIN_CONFIG_SAVE")))]),e._v(" "),n("el-button",{attrs:{size:"small",type:"info"},on:{click:e.resetConfig}},[e._v(e._s(e.t("ADMIN_CONFIG_RESET")))])],1),e._v(" "),n("div",{staticClass:"tk-admin-config-message"},[e._v(e._s(e.message))])])};r._withStripped=!0;var i=n(3637),o=i.Z,a=(n(1127),(0,n(1900).Z)(o,r,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._v("请参考 "),n("a",{attrs:{href:"https://twikoo.js.org/quick-start.html#%E7%89%88%E6%9C%AC%E6%9B%B4%E6%96%B0",target:"_blank"}},[e._v("版本更新")]),e._v(" 进行升级")])}],!1,null,"7dc9bac2",null));a.options.__file="src/view/components/TkAdminConfig.vue";var s=a.exports},733:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-admin-import"},[n("div",{staticClass:"tk-admin-warn tk-admin-import-warn"},[n("p",[e._v(e._s(e.t("ADMIN_IMPORT_WARN")))]),e._v(" "),n("p",[e._v(e._s(e.warnText[e.source]))])]),e._v(" "),n("div",{staticClass:"tk-admin-import-label"},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT_SOURCE")))]),e._v(" "),n("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]}}},[n("option",{attrs:{disabled:"",value:""}},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT")))]),e._v(" "),n("option",{attrs:{value:"valine"}},[e._v("Valine (JSON)")]),e._v(" "),n("option",{attrs:{value:"disqus"}},[e._v("Disqus (XML)")]),e._v(" "),n("option",{attrs:{value:"artalk"}},[e._v("Artalk (JSON)")])]),e._v(" "),n("div",{staticClass:"tk-admin-import-label"},[e._v(e._s(e.t("ADMIN_IMPORT_SELECT_FILE")))]),e._v(" "),n("input",{ref:"inputFile",attrs:{type:"file",value:""}}),e._v(" "),n("el-button",{attrs:{size:"small",disabled:e.loading},on:{click:e.uploadFile}},[e._v(e._s(e.t("ADMIN_IMPORT_START")))]),e._v(" "),n("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)};r._withStripped=!0;var i=n(826),o=i.Z,a=(n(3066),(0,n(1900).Z)(o,r,[],!1,null,"6a327cb6",null));a.options.__file="src/view/components/TkAdminImport.vue";var s=a.exports},6785:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-avatar","class":{"tk-clickable":!!e.link,"tk-has-avatar":!!e.avatarInner},on:{click:e.onClick}},[e.avatarInner?e._e():n("div",{staticClass:"tk-avatar-img",domProps:{innerHTML:e._s(e.iconUser)}}),e._v(" "),e.avatarInner?n("img",{staticClass:"tk-avatar-img",attrs:{src:e.avatarInner,alt:""}}):e._e()])};r._withStripped=!0;var i=n(2598),o=i.Z,a=(n(1207),(0,n(1900).Z)(o,r,[],!1,null,"32f45298",null));a.options.__file="src/view/components/TkAvatar.vue";var s=a.exports},7576:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"tk-comment",staticClass:"tk-comment",attrs:{id:e.comment.id}},[n("tk-avatar",{attrs:{config:e.config,nick:e.comment.nick,avatar:e.comment.avatar,"mail-md5":e.comment.mailMd5,link:e.convertedLink}}),e._v(" "),n("div",{staticClass:"tk-main"},[n("div",{staticClass:"tk-row"},[n("div",{staticClass:"tk-meta"},[e.convertedLink?e._e():n("strong",{staticClass:"tk-nick"},[e._v(e._s(e.comment.nick))]),e._v(" "),e.convertedLink?n("a",{staticClass:"tk-nick tk-nick-link",attrs:{href:e.convertedLink,target:"_blank"}},[n("strong",[e._v(e._s(e.comment.nick))])]):e._e(),e._v(" "),e.comment.master?n("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?n("span",{staticClass:"tk-tag tk-tag-red"},[e._v(e._s(e.t("COMMENT_TOP_TAG")))]):e._e(),e._v(" "),e.comment.isSpam?n("span",{staticClass:"tk-tag tk-tag-yellow"},[e._v(e._s(e.t("COMMENT_REVIEWING_TAG")))]):e._e(),e._v(" "),n("small",{staticClass:"tk-time"},[n("time",{attrs:{datetime:e.jsonTimestamp,title:e.localeTime}},[e._v(e._s(e.displayCreated))])]),e._v(" "),e.isLogin?n("small",{staticClass:"tk-actions"},[e.comment.isSpam?n("a",{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():n("a",{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?n("a",{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():n("a",{on:{click:function(t){return e.handleTop(!0)}}},[e._v(e._s(e.t("ADMIN_COMMENT_TOP")))])]):e._e()]),e._v(" "),n("tk-action",{attrs:{liked:e.liked,"like-count":e.like,"replies-count":e.comment.replies.length},on:{like:e.onLike,reply:e.onReply}})],1),e._v(" "),n("div",{staticClass:"tk-content"},[e.comment.pid?n("span",[e._v(e._s(e.t("COMMENT_REPLIED"))+" "),n("a",{attrs:{href:"#"+e.comment.pid}},[e._v("@"+e._s(e.comment.ruser))]),e._v(" :")]):e._e(),e._v(" "),n("span",{ref:"comment",domProps:{innerHTML:e._s(e.comment.comment)}})]),e._v(" "),e.comment.os||e.comment.browser?n("div",{staticClass:"tk-extras"},[n("div",{staticClass:"tk-extra"},[n("span",{staticClass:"tk-icon",domProps:{innerHTML:e._s(e.iconOs)}}),e._v(" "),n("span",{staticClass:"tk-extra-text"},[e._v(" "+e._s(e.comment.os))])]),e._v(" "),n("div",{staticClass:"tk-extra"},[n("span",{staticClass:"tk-icon",domProps:{innerHTML:e._s(e.iconBrowser)}}),e._v(" "),n("span",{staticClass:"tk-extra-text"},[e._v(" "+e._s(e.comment.browser))])])]):e._e(),e._v(" "),n("div",{ref:"tk-replies",staticClass:"tk-replies","class":{"tk-replies-expand":e.isExpanded||!e.showExpand}},e._l(e.comment.replies,(function(t){return n("tk-comment",{key:t.id,attrs:{comment:t,config:e.config},on:{expand:e.onExpand,load:e.onLoad,reply:e.onReplyReply}})})),1),e._v(" "),e.replying?n("tk-submit",{attrs:{"reply-id":e.comment.id,pid:e.pid,config:e.config},on:{load:e.onLoad,cancel:e.onCancel}}):e._e(),e._v(" "),e.showExpand?n("div",{staticClass:"tk-expand",on:{click:e.onExpand}},[e._v(e._s(e.t("COMMENT_EXPAND")))]):e._e()],1)],1)};r._withStripped=!0;var i=n(389),o=i.Z,a=(n(6509),(0,n(1900).Z)(o,r,[],!1,null,"d82ce9a0",null));a.options.__file="src/view/components/TkComment.vue";var s=a.exports},6255:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-comments"},[n("tk-submit",{attrs:{config:e.config},on:{load:e.initComments}}),e._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"tk-comments-container"},[n("div",{staticClass:"tk-comments-title"},[n("span",{staticClass:"tk-comments-count","class":{__hidden:!e.comments.length}},[n("span",[e._v(e._s(e.count))]),e._v(" "),n("span",[e._v(e._s(e.t("COMMENTS_COUNT_SUFFIX")))])]),e._v(" "),e.showAdminEntry?n("span",{staticClass:"tk-icon",domProps:{innerHTML:e._s(e.iconSetting)},on:{click:e.openAdmin}}):e._e()]),e._v(" "),e.loading||e.comments.length?e._e():n("div",{staticClass:"tk-comments-no"},[e.errorMessage?e._e():n("span",[e._v(e._s(e.t("COMMENTS_NO_COMMENTS")))]),e._v(" "),e.errorMessage?n("span",{staticClass:"tk-comments-error"},[e._v(e._s(e.errorMessage))]):e._e()]),e._v(" "),e._l(e.comments,(function(t){return n("tk-comment",{key:t.id,attrs:{comment:t,replying:e.replyId===t.id,config:e.config},on:{reply:e.onReply,load:e.initComments}})})),e._v(" "),e.showExpand&&!e.loading?n("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)};r._withStripped=!0;var i=n(1764),o=i.Z,a=(n(1373),(0,n(1900).Z)(o,r,[],!1,null,"2619081a",null));a.options.__file="src/view/components/TkComments.vue";var s=a.exports},2349:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-footer"},[e._v("\n Powered by "),n("a",{attrs:{href:"https://twikoo.js.org",target:"_blank"}},[e._v("Twikoo")]),e._v("\n v"+e._s(e.version)+"\n")])};r._withStripped=!0;var i=n(4958),o=i.Z,a=(n(9649),(0,n(1900).Z)(o,r,[],!1,null,"c0af544c",null));a.options.__file="src/view/components/TkFooter.vue";var s=a.exports},7819:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-meta-input"},e._l(e.metaInputs,(function(t){return n("el-input",{key:t.key,attrs:{name:t.name,type:t.type,placeholder:e.requiredFields[t.key]?e.t("META_INPUT_REQUIRED"):e.t("META_INPUT_NOT_REQUIRED"),size:"small"},on:{change:e.onMetaChange},model:{value:e.metaData[t.key],callback:function(n){e.$set(e.metaData,t.key,n)},expression:"metaData[metaInput.key]"}},[n("template",{slot:"prepend"},[e._v(e._s(t.locale))])],2)})),1)};r._withStripped=!0;var i=n(4211),o=i.Z,a=(n(7411),(0,n(1900).Z)(o,r,[],!1,null,"5087bc56",null));a.options.__file="src/view/components/TkMetaInput.vue";var s=a.exports},6643:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-pagination"},[e.pageCount?n("div",{staticClass:"tk-pagination-options"},[n("div",[n("span",[e._v(e._s(e.t("PAGINATION_COUNT_PREFIX")))]),e._v(" "),n("span",[e._v(e._s(e.total))]),e._v(" "),n("span",[e._v(e._s(e.t("PAGINATION_COUNT_SUFFIX")))])]),e._v(" "),n("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(" "),n("span",[e._v(e._s(e.t("PAGINATION_PAGESIZE")))])],1):e._e(),e._v(" "),n("div",{staticClass:"tk-pagination-pagers"},e._l(e.pagers,(function(t){return n("div",{key:t.page,staticClass:"tk-pagination-pager","class":{__current:t.page===e.currentPage},on:{click:function(n){return e.currentChange(t.page)}}},[e._v(e._s(t.title))])})),0),e._v(" "),e.pageCount?n("div",{staticClass:"tk-pagination-options"},[n("span",[e._v(e._s(e.t("PAGINATION_GOTO_PREFIX")))]),e._v(" "),n("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(" "),n("span",[e._v(e._s(e.t("PAGINATION_GOTO_SUFFIX")))])],1):e._e()])};r._withStripped=!0;var i=n(6402),o=i.Z,a=(n(3046),(0,n(1900).Z)(o,r,[],!1,null,"5450564e",null));a.options.__file="src/view/components/TkPagination.vue";var s=a.exports},9320:function(e,t,n){"use strict";n.r(t),n.d(t,{__esModule:function(){return i.X},"default":function(){return s}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tk-submit"},[n("div",{staticClass:"tk-row"},[n("tk-avatar",{attrs:{config:e.config,mail:e.mail}}),e._v(" "),n("div",{staticClass:"tk-col"},[n("tk-meta-input",{attrs:{nick:e.nick,mail:e.mail,link:e.link,config:e.config},on:{update:e.onMetaUpdate}}),e._v(" "),n("el-input",{ref:"textarea",staticClass:"tk-input",attrs:{type:"textarea",placeholder:e.config.COMMENT_PLACEHOLDER?e.config.COMMENT_PLACEHOLDER.replace(/<br>/g,"\n"):"",autosize:{minRows:3}},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(" "),n("div",{staticClass:"tk-row actions"},[n("div",{staticClass:"tk-row-actions-start"},[n("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-action-icon OwO"}),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:"true"===e.config.SHOW_IMAGE,expression:"config.SHOW_IMAGE === 'true'"}],staticClass:"tk-action-icon",domProps:{innerHTML:e._s(e.iconImage)},on:{click:e.openSelectImage}}),e._v(" "),n("input",{ref:"inputFile",staticClass:"tk-input-image",attrs:{type:"file",accept:"image/*",value:""},on:{change:e.onSelectImage}}),e._v(" "),n("div",{staticClass:"tk-error-message"},[e._v(e._s(e.errorMessage))])]),e._v(" "),n("a",{staticClass:"tk-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?n("el-button",{staticClass:"tk-cancel",attrs:{size:"small"},on:{click:e.cancel}},[e._v(e._s(e.t("SUBMIT_CANCEL")))]):e._e(),e._v(" "),n("el-button",{staticClass:"tk-preview",attrs:{size:"small"},on:{click:e.preview}},[e._v(e._s(e.t("SUBMIT_PREVIEW")))]),e._v(" "),n("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")))])],1),e._v(" "),e.isPreviewing?n("div",{ref:"comment-preview",staticClass:"tk-preview-container",domProps:{innerHTML:e._s(e.commentHtml)}}):e._e()])};r._withStripped=!0;var i=n(9499),o=i.Z,a=(n(5382),(0,n(1900).Z)(o,r,[],!1,null,"619b4c52",null));a.options.__file="src/view/components/TkSubmit.vue";var s=a.exports},1900:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,{Z:function(){return r}})},4195:function(e,t,n){var r=n(1121);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("0e5ef982",r,!1,{})},3414:function(e,t,n){var r=n(6011);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("1a92f302",r,!1,{})},9951:function(e,t,n){var r=n(1268);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("e6b19834",r,!1,{})},7671:function(e,t,n){var r=n(5415);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("6894ec38",r,!1,{})},7151:function(e,t,n){var r=n(608);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("32d22f56",r,!1,{})},3507:function(e,t,n){var r=n(4346);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("7a7aeaae",r,!1,{})},2360:function(e,t,n){var r=n(5932);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("66f22fa2",r,!1,{})},1127:function(e,t,n){var r=n(1481);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("eaae65cc",r,!1,{})},3066:function(e,t,n){var r=n(6584);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("763d419a",r,!1,{})},1207:function(e,t,n){var r=n(3831);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("54267df6",r,!1,{})},6509:function(e,t,n){var r=n(2256);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("c74983de",r,!1,{})},1373:function(e,t,n){var r=n(7349);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("4e4af371",r,!1,{})},9649:function(e,t,n){var r=n(4306);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("6a718d3a",r,!1,{})},7411:function(e,t,n){var r=n(9239);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("17ecea36",r,!1,{})},3046:function(e,t,n){var r=n(8336);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("284272f5",r,!1,{})},5382:function(e,t,n){var r=n(2145);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("2b50562d",r,!1,{})},8438:function(e,t,n){var r=n(6193);r.__esModule&&(r=r["default"]),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(7913).Z)("fa699f0c",r,!1,{})},7913:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(1658),i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,u=0,c=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,i){c=n,d=i||{};var a=(0,r.Z)(e,t);return _(a),function(t){for(var n=[],i=0;i<a.length;i++){var s=a[i];(u=o[s.id]).refs--,n.push(u)}for(t?_(a=(0,r.Z)(e,t)):a=[],i=0;i<n.length;i++){var u;if(0===(u=n[i]).refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete o[u.id]}}}}function _(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(v(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function v(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(c)return l;r.parentNode.removeChild(r)}if(p){var i=u++;r=s||(s=g()),t=b.bind(null,r,i,!1),n=b.bind(null,r,i,!0)}else r=g(),t=k.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var m,y=(m=[],function(e,t){return m[e]=t,m.filter(Boolean).join("\n")});function b(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function k(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},306:function(e){"use strict";e.exports=JSON.parse('{"name":"twikoo","version":"1.3.1","description":"A simple comment system based on Tencent CloudBase (tcb).","author":"imaegoo <[email protected]> (https://github.com/imaegoo)","license":"MIT","main":"./dist/twikoo.all.min.js","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/imaegoo/twikoo.git"},"homepage":"https://twikoo.js.org","scripts":{"dev":"webpack serve --mode development","serve":"webpack serve --mode development","build":"webpack --mode production","analyze":"webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json","login":"tcb login","logout":"tcb logout","deploy":"tcb fn deploy twikoo --force","lint":"eslint src/** --ignore-path .eslintignore","docs:dev":"vuepress dev docs","docs:build":"vuepress build docs"},"devDependencies":{"@babel/cli":"^7.12.13","@babel/core":"^7.12.13","@babel/plugin-transform-modules-commonjs":"^7.12.13","@babel/plugin-transform-runtime":"^7.12.15","@babel/preset-env":"^7.12.13","@babel/runtime":"^7.12.13","@cloudbase/cli":"^1.5.0","@webpack-cli/serve":"^1.3.0","babel-loader":"^8.2.2","copy-webpack-plugin":"^7.0.0","css-loader":"^3.6.0","eslint":"^7.19.0","eslint-config-standard":"^16.0.2","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.1.0","eslint-plugin-vue":"^7.5.0","svg-inline-loader":"^0.8.2","terser-webpack-plugin":"^5.1.1","vue-loader":"^15.9.6","vue-template-compiler":"^2.6.12","vuepress":"^1.8.0","webpack":"^5.21.2","webpack-bundle-analyzer":"^4.4.0","webpack-cli":"^4.5.0","webpack-dev-server":"^4.0.0-beta.0"},"dependencies":{"@cloudbase/js-sdk":"^1.4.0","@fortawesome/fontawesome-free":"^5.15.2","blueimp-md5":"^2.18.0","element-ui":"^2.15.0","marked":"^2.0.0","owo":"^1.0.2","prismjs":"^1.23.0","vue":"^2.6.12"}}')},3706:function(e){"use strict";e.exports=JSON.parse('{"ADMIN_COMMENT":"评论管理","ADMIN_COMMENT_DELETE":"删除","ADMIN_COMMENT_DELETE_CONFIRM":"确认删除?","ADMIN_COMMENT_HIDE":"隐藏","ADMIN_COMMENT_IS_SPAM_SUFFIX":" (已隐藏)","ADMIN_COMMENT_SHOW":"显示","ADMIN_COMMENT_TOP":"置顶","ADMIN_COMMENT_UNTOP":"取消置顶","ADMIN_COMMENT_VIEW":"查看","ADMIN_CONFIG":"配置管理","ADMIN_CONFIG_CATEGORY_COMMON":"通用","ADMIN_CONFIG_CATEGORY_IM":"即时通知","ADMIN_CONFIG_CATEGORY_MAIL":"邮件通知","ADMIN_CONFIG_CATEGORY_PLUGIN":"插件","ADMIN_CONFIG_CATEGORY_SPAM":"反垃圾","ADMIN_CONFIG_EXAMPLE":"示例:","ADMIN_CONFIG_ITEM_AKISMET_KEY":"Akismet 反垃圾评论,用于垃圾评论检测,设为 \\"MANUAL_REVIEW\\" 开启人工审核,留空不使用反垃圾。注册:https://akismet.com","ADMIN_CONFIG_ITEM_BLOGGER_EMAIL":"博主的邮箱地址,用于邮件通知、博主标识。","ADMIN_CONFIG_ITEM_COMMENT_BG_IMG":"评论框自定义背景图片 URL 地址。","ADMIN_CONFIG_ITEM_COMMENT_PAGE_SIZE":"评论列表分页大小,默认为 8。","ADMIN_CONFIG_ITEM_COMMENT_PLACEHOLDER":"评论框提示信息,可用<br>换行,默认为空","ADMIN_CONFIG_ITEM_DEFAULT_GRAVATAR":"默认的头像显示。默认值为 \\"identicon\\",可选: 404、mp、identicon、monsterid、wavatar、retro、robohash、blank","ADMIN_CONFIG_ITEM_EMOTION_CDN":"表情 CDN,默认为:https://cdn.jsdelivr.net/gh/imaegoo/emotion/owo.json","ADMIN_CONFIG_ITEM_FORBIDDEN_WORDS":"违禁词配置,包含违禁词的内容会直接标记为垃圾评论。英文逗号分隔。","ADMIN_CONFIG_ITEM_GRAVATAR_CDN":"自定义头像 CDN 地址。如:cn.gravatar.com, sdn.geekzu.org, gravatar.loli.net,默认:cn.gravatar.com","ADMIN_CONFIG_ITEM_HIDE_ADMIN_CRYPT":"隐藏管理面板入口。可设置一个“暗号”,只有在“昵称”一栏输入相同的“暗号”时,管理面板入口才会显示,留空则不隐藏管理入口","ADMIN_CONFIG_ITEM_HIGHLIGHT":"启用代码高亮功能。如果您的主题和代码高亮有冲突,请设为 false。默认:true","ADMIN_CONFIG_ITEM_HIGHLIGHT_THEME":"代码高亮主题,可选:default、coy、dark、funky、okaidia、solarizedlight、tomorrow、twilight,访问 https://prismjs.com 可预览主题效果。如果您的主题和代码高亮有冲突,请设为 none。默认:none","ADMIN_CONFIG_ITEM_IMAGE_CDN":"插入图片所使用的图床,目前支持:7bu、qcloud,默认为:qcloud","ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE":"每个 IP 每 10 分钟最多发表多少条评论,默认:0(无限制)","ADMIN_CONFIG_ITEM_MAIL_SUBJECT":"自定义通知邮件主题,留空则使用默认主题。","ADMIN_CONFIG_ITEM_MAIL_SUBJECT_ADMIN":"自定义博主通知邮件主题,留空则使用默认主题。","ADMIN_CONFIG_ITEM_MAIL_TEMPLATE":"自定义通知邮件模板,留空则使用默认模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}","ADMIN_CONFIG_ITEM_MAIL_TEMPLATE_ADMIN":"自定义博主通知邮件模板,留空则使用默认模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}","ADMIN_CONFIG_ITEM_MASTER_TAG":"博主标识自定义文字,默认为 “博主”。","ADMIN_CONFIG_ITEM_NOTIFY_SPAM":"垃圾评论是否发送通知,默认:true","ADMIN_CONFIG_ITEM_PUSH_PLUS_TOKEN":"推送加(pushplus.hxtrip.com)推送的 Token","ADMIN_CONFIG_ITEM_QCLOUD_SECRET_ID":"腾讯云 secret id,用于垃圾评论检测。同时设置腾讯云和 Akismet 时,只有腾讯云会生效。注册:https://twikoo.js.org/cms.html","ADMIN_CONFIG_ITEM_QCLOUD_SECRET_KEY":"腾讯云 secret key","ADMIN_CONFIG_ITEM_QM_SENDKEY":"Qmsg酱(qmsg.zendee.cn)QQ推送的 KEY","ADMIN_CONFIG_ITEM_REQUIRED_FIELDS":"评论必填信息,设为 nick,mail,link 代表全必填,设为 none 代表全选填,默认:nick,mail","ADMIN_CONFIG_ITEM_SC_MAIL_NOTIFY":"是否同时通过微信和邮件 2 种方式通知博主,默认只通过微信通知博主,默认:false","ADMIN_CONFIG_ITEM_SC_SENDKEY":"Server酱(sc.ftqq.com)微信推送的 SCKEY","ADMIN_CONFIG_ITEM_SENDER_EMAIL":"邮件通知邮箱地址。对于大多数邮箱服务商,SENDER_EMAIL 必须和 SMTP_USER 保持一致,否则无法发送邮件。","ADMIN_CONFIG_ITEM_SENDER_NAME":"邮件通知标题。","ADMIN_CONFIG_ITEM_SHOW_EMOTION":"启用插入表情功能,默认为:true","ADMIN_CONFIG_ITEM_SHOW_IMAGE":"启用插入图片功能,默认为:true","ADMIN_CONFIG_ITEM_SITE_NAME":"网站名称","ADMIN_CONFIG_ITEM_SITE_URL":"网站地址","ADMIN_CONFIG_ITEM_SMTP_HOST":"自定义 SMTP 服务器地址。如您已配置 SMTP_SERVICE,此项请留空。","ADMIN_CONFIG_ITEM_SMTP_PASS":"邮件通知邮箱密码,QQ邮箱请填写授权码。","ADMIN_CONFIG_ITEM_SMTP_PORT":"自定义 SMTP 端口。如您已配置 SMTP_SERVICE,此项请留空。","ADMIN_CONFIG_ITEM_SMTP_SECURE":"自定义 SMTP 是否使用TLS,请填写 true 或 false。如您已配置 SMTP_SERVICE,此项请留空。","ADMIN_CONFIG_ITEM_SMTP_SERVICE":"邮件通知邮箱服务商。支持:\\"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\\"","ADMIN_CONFIG_ITEM_SMTP_USER":"邮件通知邮箱用户名。","ADMIN_CONFIG_RESET":"重置","ADMIN_CONFIG_SAVE":"保存","ADMIN_CREDENTIALS":"私钥文件","ADMIN_CREDENTIALS_FAQ":"如何获得私钥","ADMIN_CREDENTIALS_PLACEHOLDER":"请粘贴私钥文件内容","ADMIN_FORGOT":"忘记密码","ADMIN_IMPORT":"导入","ADMIN_IMPORT_FILE_REQUIRED":"未选择文件","ADMIN_IMPORT_IMPORTED":"完成导入 ","ADMIN_IMPORT_IMPORTING":"开始导入 ","ADMIN_IMPORT_LOG":"日志","ADMIN_IMPORT_SELECT":"请选择","ADMIN_IMPORT_SELECT_FILE":"选择文件","ADMIN_IMPORT_SELECT_SOURCE":"选择源系统","ADMIN_IMPORT_SOURCE_REQUIRED":"未选择源系统","ADMIN_IMPORT_START":"开始导入","ADMIN_IMPORT_STARTING":"开始导入","ADMIN_IMPORT_TIP_ARTALK":"请上传 JSON 格式的 Artalk 导出文件,文件名通常为 comments.data.json","ADMIN_IMPORT_TIP_DISQUS":"请上传 XML 格式的 Disqus 导出文件,文件名通常为 [网站名称]-[导出时间]-all.xml","ADMIN_IMPORT_TIP_VALINE":"请上传 JSON 格式的 Valine 导出文件,文件名通常为 Comment.json","ADMIN_IMPORT_UPLOADED":"上传完成 ","ADMIN_IMPORT_UPLOADING":"已上传 ","ADMIN_IMPORT_WARN":"支持从其他评论系统的备份文件导入评论。\\n数据是安全的,导入功能完全在您的云环境进行。\\n建议在导入前备份 comment 数据库。","ADMIN_LOGIN":"登录","ADMIN_LOGIN_TITLE":"Twikoo 评论管理","ADMIN_LOGOUT":"退出登录","ADMIN_NEED_UPDATE":"若要使用评论管理,请更新 Twikoo 云函数","ADMIN_PASSWORD":"密码","ADMIN_PASSWORD_PLACEHOLDER":"请输入","ADMIN_PASSWORD_REQUIRED":"请输入密码","ADMIN_REGIST":"注册","ADMIN_REGIST_FAILED":"注册失败","ADMIN_SET_PASSWORD":"设置密码","ADMIN_SET_PASSWORD_CONFIRM":"确认密码","ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER":"确认密码","ADMIN_SET_PASSWORD_PLACEHOLDER":"密码","ADMIN_TITLE":"Twikoo 管理面板","COMMENTS_COUNT_SUFFIX":" 条评论","COMMENTS_EXPAND":"查看更多","COMMENTS_NO_COMMENTS":"没有评论","COMMENT_EXPAND":"展开","COMMENT_MASTER_TAG":"博主","COMMENT_REPLIED":"回复","COMMENT_REVIEWING_TAG":"审核中","COMMENT_TOP_TAG":"置顶","META_INPUT_LINK":"网址","META_INPUT_MAIL":"邮箱","META_INPUT_NICK":"昵称","META_INPUT_NOT_REQUIRED":"选填","META_INPUT_REQUIRED":"必填","PAGINATION_COUNT_PREFIX":"共 ","PAGINATION_COUNT_SUFFIX":" 条","PAGINATION_GOTO_PREFIX":"前往","PAGINATION_GOTO_SUFFIX":"页","PAGINATION_PAGESIZE":"条/页","SUBMIT_CANCEL":"取消","SUBMIT_PREVIEW":"预览","SUBMIT_SEND":"发送","SUBMIT_SENDING":"发送中","TIMEAGO_DAYS":"天前","TIMEAGO_HOURS":"小时前","TIMEAGO_MINUTES":"分钟前","TIMEAGO_NOW":"刚刚","TIMEAGO_SECONDS":"秒前"}')},8405:function(e){"use strict";e.exports=JSON.parse('{"ADMIN_COMMENT":"評論管理","ADMIN_COMMENT_DELETE":"刪除","ADMIN_COMMENT_DELETE_CONFIRM":"確認刪除?","ADMIN_COMMENT_HIDE":"隱藏","ADMIN_COMMENT_IS_SPAM_SUFFIX":" (已隱藏)","ADMIN_COMMENT_SHOW":"顯示","ADMIN_COMMENT_TOP":"置顶","ADMIN_COMMENT_UNTOP":"取消置顶","ADMIN_COMMENT_VIEW":"查看","ADMIN_CONFIG":"配置管理","ADMIN_CONFIG_CATEGORY_COMMON":"通用","ADMIN_CONFIG_CATEGORY_IM":"即時通知","ADMIN_CONFIG_CATEGORY_MAIL":"郵件通知","ADMIN_CONFIG_CATEGORY_PLUGIN":"插件","ADMIN_CONFIG_CATEGORY_SPAM":"反垃圾","ADMIN_CONFIG_EXAMPLE":"示例:","ADMIN_CONFIG_ITEM_AKISMET_KEY":"Akismet 反垃圾評論,用於垃圾評論檢測,設為 \\"MANUAL_REVIEW\\" 開啟人工審核,留空不使用反垃圾。註冊:https://akismet.com","ADMIN_CONFIG_ITEM_BLOGGER_EMAIL":"博主的郵箱地址,用於郵件通知、博主標識。","ADMIN_CONFIG_ITEM_COMMENT_BG_IMG":"評論框自定義背景圖片 URL 地址。","ADMIN_CONFIG_ITEM_COMMENT_PAGE_SIZE":"評論列表分頁大小,預設為 8。","ADMIN_CONFIG_ITEM_COMMENT_PLACEHOLDER":"評論框提示信息,可用<br>換行,預設為空","ADMIN_CONFIG_ITEM_DEFAULT_GRAVATAR":"預設的頭像顯示。預設值為 \\"identicon\\",可選: 404、mp、identicon、monsterid、wavatar、retro、robohash、blank","ADMIN_CONFIG_ITEM_EMOTION_CDN":"表情 CDN,預設為:https://cdn.jsdelivr.net/gh/imaegoo/emotion/owo.json","ADMIN_CONFIG_ITEM_FORBIDDEN_WORDS":"違禁詞配置,包含違禁詞嘅內容會直接標記為垃圾評論。英文逗號分隔。","ADMIN_CONFIG_ITEM_GRAVATAR_CDN":"自定義頭像 CDN 地址。如:cn.gravatar.com, sdn.geekzu.org, gravatar.loli.net,預設:cn.gravatar.com","ADMIN_CONFIG_ITEM_HIDE_ADMIN_CRYPT":"隱藏管理面板入口。可設定一個“暗號”,只有在“暱稱”一欄輸入相同的“暗號”時,管理面板入口才會顯示,留空則不隱藏管理入口","ADMIN_CONFIG_ITEM_HIGHLIGHT":"啟用代碼高亮功能。如果您的主題和代碼高亮有衝突,請設為 false。預設:true","ADMIN_CONFIG_ITEM_HIGHLIGHT_THEME":"代碼高亮主題,可選:default、coy、dark、funky、okaidia、solarizedlight、tomorrow、twilight,訪問 https://prismjs.com 可預覽主題效果。如果您的主題和代碼高亮有衝突,請設為 none。預設:none","ADMIN_CONFIG_ITEM_IMAGE_CDN":"插入圖片所使用的圖床,目前支持:7bu、qcloud,預設為:qcloud","ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE":"每個 IP 每 10 分鐘最多發表多少條評論,預設:0(無限制)","ADMIN_CONFIG_ITEM_MAIL_SUBJECT":"自定義通知郵件主題,留空則使用預設主題。","ADMIN_CONFIG_ITEM_MAIL_SUBJECT_ADMIN":"自定義博主通知郵件主題,留空則使用預設主題。","ADMIN_CONFIG_ITEM_MAIL_TEMPLATE":"自定義通知郵件模板,留空則使用預設模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}","ADMIN_CONFIG_ITEM_MAIL_TEMPLATE_ADMIN":"自定義博主通知郵件模板,留空則使用預設模板。可包含的字段:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}","ADMIN_CONFIG_ITEM_MASTER_TAG":"博主標識自定義文字,預設為 “博主”。","ADMIN_CONFIG_ITEM_NOTIFY_SPAM":"垃圾評論是否發送通知,默認:true","ADMIN_CONFIG_ITEM_PUSH_PLUS_TOKEN":"推送加(pushplus.hxtrip.com)推送的 Token","ADMIN_CONFIG_ITEM_QCLOUD_SECRET_ID":"騰訊雲 secret id,用於垃圾評論檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會生效。註冊:https://twikoo.js.org/cms.html","ADMIN_CONFIG_ITEM_QCLOUD_SECRET_KEY":"騰訊雲 secret key","ADMIN_CONFIG_ITEM_QM_SENDKEY":"Qmsg醬(qmsg.zendee.cn)QQ推送的 KEY","ADMIN_CONFIG_ITEM_REQUIRED_FIELDS":"評論必填信息,設為 nick,mail,link 代表全必填,設為 none 代表全選填,預設:nick,mail","ADMIN_CONFIG_ITEM_SC_MAIL_NOTIFY":"是否同時通過微信和郵件 2 種方式通知博主,預設只通過微信通知博主,預設:false","ADMIN_CONFIG_ITEM_SC_SENDKEY":"Server醬(sc.ftqq.com)微信推送的 SCKEY","ADMIN_CONFIG_ITEM_SENDER_EMAIL":"郵件通知郵箱地址。對於大多數郵箱服務商,SENDER_EMAIL 必須和 SMTP_USER 保持一致,否則無法發送郵件。","ADMIN_CONFIG_ITEM_SENDER_NAME":"郵件通知標題。","ADMIN_CONFIG_ITEM_SHOW_EMOTION":"啟用插入表情功能,預設為:true","ADMIN_CONFIG_ITEM_SHOW_IMAGE":"啟用插入圖片功能,預設為:true","ADMIN_CONFIG_ITEM_SITE_NAME":"網站名稱","ADMIN_CONFIG_ITEM_SITE_URL":"網站地址","ADMIN_CONFIG_ITEM_SMTP_HOST":"自定義 SMTP 伺服器地址。如您已配置 SMTP_SERVICE,此項請留空。","ADMIN_CONFIG_ITEM_SMTP_PASS":"郵件通知郵箱密碼,QQ郵箱請填寫授權碼。","ADMIN_CONFIG_ITEM_SMTP_PORT":"自定義 SMTP 端口。如您已配置 SMTP_SERVICE,此項請留空。","ADMIN_CONFIG_ITEM_SMTP_SECURE":"自定義 SMTP 是否使用TLS,請填寫 true 或 false。如您已配置 SMTP_SERVICE,此項請留空。","ADMIN_CONFIG_ITEM_SMTP_SERVICE":"郵件通知郵箱服務商。支持:\\"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\\"","ADMIN_CONFIG_ITEM_SMTP_USER":"郵件通知郵箱用户名。","ADMIN_CONFIG_RESET":"重置","ADMIN_CONFIG_SAVE":"保存","ADMIN_CREDENTIALS":"私鑰文件","ADMIN_CREDENTIALS_FAQ":"如何獲得私鑰","ADMIN_CREDENTIALS_PLACEHOLDER":"請貼上私鑰文件內容","ADMIN_FORGOT":"忘記密碼","ADMIN_IMPORT":"匯入","ADMIN_IMPORT_FILE_REQUIRED":"未選擇文件","ADMIN_IMPORT_IMPORTED":"完成匯入 ","ADMIN_IMPORT_IMPORTING":"開始匯入 ","ADMIN_IMPORT_LOG":"日誌","ADMIN_IMPORT_SELECT":"請選擇","ADMIN_IMPORT_SELECT_FILE":"選擇文件","ADMIN_IMPORT_SELECT_SOURCE":"選擇源系統","ADMIN_IMPORT_SOURCE_REQUIRED":"未選擇源系統","ADMIN_IMPORT_START":"開始匯入","ADMIN_IMPORT_STARTING":"開始匯入","ADMIN_IMPORT_TIP_ARTALK":"請上傳 JSON 格式的 Artalk 導出文件,文件名通常為 comments.data.json","ADMIN_IMPORT_TIP_DISQUS":"請上傳 XML 格式的 Disqus 導出文件,文件名通常為 [網站名稱]-[導出時間]-all.xml","ADMIN_IMPORT_TIP_VALINE":"請上傳 JSON 格式的 Valine 導出文件,文件名通常為 Comment.json","ADMIN_IMPORT_UPLOADED":"上傳完成 ","ADMIN_IMPORT_UPLOADING":"已上傳 ","ADMIN_IMPORT_WARN":"支持從其他評論系統的備份文件匯入評論。\\n數據是安全的,匯入功能完全在您的雲環境進行。\\n建議在匯入前備份 comment 數據庫。","ADMIN_LOGIN":"登入","ADMIN_LOGIN_TITLE":"Twikoo 評論管理","ADMIN_LOGOUT":"退出登入","ADMIN_NEED_UPDATE":"若要使用評論管理,請更新 Twikoo 雲函數","ADMIN_PASSWORD":"密碼","ADMIN_PASSWORD_PLACEHOLDER":"請輸入","ADMIN_PASSWORD_REQUIRED":"請輸入密碼","ADMIN_REGIST":"註冊","ADMIN_REGIST_FAILED":"註冊失敗","ADMIN_SET_PASSWORD":"設置密碼","ADMIN_SET_PASSWORD_CONFIRM":"確認密碼","ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER":"確認密碼","ADMIN_SET_PASSWORD_PLACEHOLDER":"密碼","ADMIN_TITLE":"Twikoo 管理面板","COMMENTS_COUNT_SUFFIX":" 條評論","COMMENTS_EXPAND":"查看更多","COMMENTS_NO_COMMENTS":"沒有評論","COMMENT_EXPAND":"展開","COMMENT_MASTER_TAG":"博主","COMMENT_REPLIED":"回覆","COMMENT_REVIEWING_TAG":"审核中","COMMENT_TOP_TAG":"置顶","META_INPUT_LINK":"網址","META_INPUT_MAIL":"郵箱","META_INPUT_NICK":"暱稱","META_INPUT_NOT_REQUIRED":"選填","META_INPUT_REQUIRED":"必填","PAGINATION_COUNT_PREFIX":"共 ","PAGINATION_COUNT_SUFFIX":" 條","PAGINATION_GOTO_PREFIX":"前往","PAGINATION_GOTO_SUFFIX":"頁","PAGINATION_PAGESIZE":"條/頁","SUBMIT_CANCEL":"取消","SUBMIT_PREVIEW":"預覽","SUBMIT_SEND":"發送","SUBMIT_SENDING":"發送中","TIMEAGO_DAYS":"天前","TIMEAGO_HOURS":"小時前","TIMEAGO_MINUTES":"分鐘前","TIMEAGO_NOW":"剛剛","TIMEAGO_SECONDS":"秒前"}')},5580:function(e){"use strict";e.exports=JSON.parse('{"ADMIN_COMMENT":"評論管理","ADMIN_COMMENT_DELETE":"刪除","ADMIN_COMMENT_DELETE_CONFIRM":"確認刪除?","ADMIN_COMMENT_HIDE":"隱藏","ADMIN_COMMENT_IS_SPAM_SUFFIX":" (已隱藏)","ADMIN_COMMENT_SHOW":"顯示","ADMIN_COMMENT_TOP":"置顶","ADMIN_COMMENT_UNTOP":"取消置顶","ADMIN_COMMENT_VIEW":"檢視","ADMIN_CONFIG":"配置管理","ADMIN_CONFIG_CATEGORY_COMMON":"通用","ADMIN_CONFIG_CATEGORY_IM":"即時通知","ADMIN_CONFIG_CATEGORY_MAIL":"郵件通知","ADMIN_CONFIG_CATEGORY_PLUGIN":"外掛","ADMIN_CONFIG_CATEGORY_SPAM":"反垃圾","ADMIN_CONFIG_EXAMPLE":"示例:","ADMIN_CONFIG_ITEM_AKISMET_KEY":"Akismet 反垃圾評論,用於垃圾評論檢測,設為 \\"MANUAL_REVIEW\\" 開啟人工審核,留空不使用反垃圾。註冊:https://akismet.com","ADMIN_CONFIG_ITEM_BLOGGER_EMAIL":"博主的郵箱地址,用於郵件通知、博主標識。","ADMIN_CONFIG_ITEM_COMMENT_BG_IMG":"評論框自定義背景圖片 URL 地址。","ADMIN_CONFIG_ITEM_COMMENT_PAGE_SIZE":"評論列表分頁大小,預設為 8。","ADMIN_CONFIG_ITEM_COMMENT_PLACEHOLDER":"評論框提示資訊,可用<br>換行,預設為空","ADMIN_CONFIG_ITEM_DEFAULT_GRAVATAR":"預設的頭像顯示。預設值為 \\"identicon\\",可選: 404、mp、identicon、monsterid、wavatar、retro、robohash、blank","ADMIN_CONFIG_ITEM_EMOTION_CDN":"表情 CDN,預設為:https://cdn.jsdelivr.net/gh/imaegoo/emotion/owo.json","ADMIN_CONFIG_ITEM_FORBIDDEN_WORDS":"違禁詞配置,包含違禁詞嘅內容會直接標記為垃圾評論。英文逗號分隔。","ADMIN_CONFIG_ITEM_GRAVATAR_CDN":"自定義頭像 CDN 地址。如:cn.gravatar.com, sdn.geekzu.org, gravatar.loli.net,預設:cn.gravatar.com","ADMIN_CONFIG_ITEM_HIDE_ADMIN_CRYPT":"隱藏管理面板入口。可設定一個“暗號”,只有在“暱稱”一欄輸入相同的“暗號”時,管理面板入口才會顯示,留空則不隱藏管理入口","ADMIN_CONFIG_ITEM_HIGHLIGHT":"啟用程式碼高亮功能。如果您的主題和程式碼高亮有衝突,請設為 false。預設:true","ADMIN_CONFIG_ITEM_HIGHLIGHT_THEME":"程式碼高亮主題,可選:default、coy、dark、funky、okaidia、solarizedlight、tomorrow、twilight,訪問 https://prismjs.com 可預覽主題效果。如果您的主題和程式碼高亮有衝突,請設為 none。預設:none","ADMIN_CONFIG_ITEM_IMAGE_CDN":"插入圖片所使用的圖床,目前支援:7bu、qcloud,預設為:qcloud","ADMIN_CONFIG_ITEM_LIMIT_PER_MINUTE":"每個 IP 每 10 分鐘最多發表多少條評論,預設:0(無限制)","ADMIN_CONFIG_ITEM_MAIL_SUBJECT":"自定義通知郵件主題,留空則使用預設主題。","ADMIN_CONFIG_ITEM_MAIL_SUBJECT_ADMIN":"自定義博主通知郵件主題,留空則使用預設主題。","ADMIN_CONFIG_ITEM_MAIL_TEMPLATE":"自定義通知郵件模板,留空則使用預設模板。可包含的欄位:${SITE_URL}, ${SITE_NAME}, ${PARENT_NICK}, ${PARENT_COMMENT}, ${NICK}, ${COMMENT}, ${POST_URL}","ADMIN_CONFIG_ITEM_MAIL_TEMPLATE_ADMIN":"自定義博主通知郵件模板,留空則使用預設模板。可包含的欄位:${SITE_URL}, ${SITE_NAME}, ${NICK}, ${COMMENT}, ${POST_URL}","ADMIN_CONFIG_ITEM_MASTER_TAG":"博主標識自定義文字,預設為 “博主”。","ADMIN_CONFIG_ITEM_NOTIFY_SPAM":"垃圾評論是否發送通知,默認:true","ADMIN_CONFIG_ITEM_PUSH_PLUS_TOKEN":"推送加(pushplus.hxtrip.com)推送的 Token","ADMIN_CONFIG_ITEM_QCLOUD_SECRET_ID":"騰訊雲 secret id,用於垃圾評論檢測。同時設定騰訊雲和 Akismet 時,只有騰訊雲會生效。註冊:https://twikoo.js.org/cms.html","ADMIN_CONFIG_ITEM_QCLOUD_SECRET_KEY":"騰訊雲 secret key","ADMIN_CONFIG_ITEM_QM_SENDKEY":"Qmsg醬(qmsg.zendee.cn)QQ推送的 KEY","ADMIN_CONFIG_ITEM_REQUIRED_FIELDS":"評論必填資訊,設為 nick,mail,link 代表全必填,設為 none 代表全選填,預設:nick,mail","ADMIN_CONFIG_ITEM_SC_MAIL_NOTIFY":"是否同時通過微信和郵件 2 種方式通知博主,預設只通過微信通知博主,預設:false","ADMIN_CONFIG_ITEM_SC_SENDKEY":"Server醬(sc.ftqq.com)微信推送的 SCKEY","ADMIN_CONFIG_ITEM_SENDER_EMAIL":"郵件通知郵箱地址。對於大多數郵箱服務商,SENDER_EMAIL 必須和 SMTP_USER 保持一致,否則無法傳送郵件。","ADMIN_CONFIG_ITEM_SENDER_NAME":"郵件通知標題。","ADMIN_CONFIG_ITEM_SHOW_EMOTION":"啟用插入表情功能,預設為:true","ADMIN_CONFIG_ITEM_SHOW_IMAGE":"啟用插入圖片功能,預設為:true","ADMIN_CONFIG_ITEM_SITE_NAME":"網站名稱","ADMIN_CONFIG_ITEM_SITE_URL":"網站地址","ADMIN_CONFIG_ITEM_SMTP_HOST":"自定義 SMTP 伺服器地址。如您已配置 SMTP_SERVICE,此項請留空。","ADMIN_CONFIG_ITEM_SMTP_PASS":"郵件通知郵箱密碼,QQ郵箱請填寫授權碼。","ADMIN_CONFIG_ITEM_SMTP_PORT":"自定義 SMTP 埠。如您已配置 SMTP_SERVICE,此項請留空。","ADMIN_CONFIG_ITEM_SMTP_SECURE":"自定義 SMTP 是否使用TLS,請填寫 true 或 false。如您已配置 SMTP_SERVICE,此項請留空。","ADMIN_CONFIG_ITEM_SMTP_SERVICE":"郵件通知郵箱服務商。支援:\\"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\\"","ADMIN_CONFIG_ITEM_SMTP_USER":"郵件通知郵箱使用者名稱。","ADMIN_CONFIG_RESET":"重置","ADMIN_CONFIG_SAVE":"儲存","ADMIN_CREDENTIALS":"私鑰檔案","ADMIN_CREDENTIALS_FAQ":"如何獲得私鑰","ADMIN_CREDENTIALS_PLACEHOLDER":"請貼上私鑰檔案內容","ADMIN_FORGOT":"忘記密碼","ADMIN_IMPORT":"匯入","ADMIN_IMPORT_FILE_REQUIRED":"未選擇檔案","ADMIN_IMPORT_IMPORTED":"完成匯入 ","ADMIN_IMPORT_IMPORTING":"開始匯入 ","ADMIN_IMPORT_LOG":"日誌","ADMIN_IMPORT_SELECT":"請選擇","ADMIN_IMPORT_SELECT_FILE":"選擇檔案","ADMIN_IMPORT_SELECT_SOURCE":"選擇源系統","ADMIN_IMPORT_SOURCE_REQUIRED":"未選擇源系統","ADMIN_IMPORT_START":"開始匯入","ADMIN_IMPORT_STARTING":"開始匯入","ADMIN_IMPORT_TIP_ARTALK":"請上傳 JSON 格式的 Artalk 匯出檔案,檔名通常為 comments.data.json","ADMIN_IMPORT_TIP_DISQUS":"請上傳 XML 格式的 Disqus 匯出檔案,檔名通常為 [網站名稱]-[匯出時間]-all.xml","ADMIN_IMPORT_TIP_VALINE":"請上傳 JSON 格式的 Valine 匯出檔案,檔名通常為 Comment.json","ADMIN_IMPORT_UPLOADED":"上傳完成 ","ADMIN_IMPORT_UPLOADING":"已上傳 ","ADMIN_IMPORT_WARN":"支援從其他評論系統的備份檔案匯入評論。\\n資料是安全的,匯入功能完全在您的雲環境進行。\\n建議在匯入前備份 comment 資料庫。","ADMIN_LOGIN":"登入","ADMIN_LOGIN_TITLE":"Twikoo 評論管理","ADMIN_LOGOUT":"退出登入","ADMIN_NEED_UPDATE":"若要使用評論管理,請更新 Twikoo 雲函數","ADMIN_PASSWORD":"密碼","ADMIN_PASSWORD_PLACEHOLDER":"請輸入","ADMIN_PASSWORD_REQUIRED":"請輸入密碼","ADMIN_REGIST":"註冊","ADMIN_REGIST_FAILED":"註冊失敗","ADMIN_SET_PASSWORD":"設定密碼","ADMIN_SET_PASSWORD_CONFIRM":"確認密碼","ADMIN_SET_PASSWORD_CONFIRM_PLACEHOLDER":"確認密碼","ADMIN_SET_PASSWORD_PLACEHOLDER":"密碼","ADMIN_TITLE":"Twikoo 管理面板","COMMENTS_COUNT_SUFFIX":" 條評論","COMMENTS_EXPAND":"檢視更多","COMMENTS_NO_COMMENTS":"沒有評論","COMMENT_EXPAND":"展開","COMMENT_MASTER_TAG":"博主","COMMENT_REPLIED":"回覆","COMMENT_REVIEWING_TAG":"审核中","COMMENT_TOP_TAG":"置顶","META_INPUT_LINK":"網址","META_INPUT_MAIL":"郵箱","META_INPUT_NICK":"暱稱","META_INPUT_NOT_REQUIRED":"選填","META_INPUT_REQUIRED":"必填","PAGINATION_COUNT_PREFIX":"共 ","PAGINATION_COUNT_SUFFIX":" 條","PAGINATION_GOTO_PREFIX":"前往","PAGINATION_GOTO_SUFFIX":"頁","PAGINATION_PAGESIZE":"條/頁","SUBMIT_CANCEL":"取消","SUBMIT_PREVIEW":"預覽","SUBMIT_SEND":"傳送","SUBMIT_SENDING":"傳送中","TIMEAGO_DAYS":"天前","TIMEAGO_HOURS":"小時前","TIMEAGO_MINUTES":"分鐘前","TIMEAGO_NOW":"剛剛","TIMEAGO_SECONDS":"秒前"}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__={};return function(){"use strict";var e=__webpack_exports__,t=__webpack_require__(3483);Object.defineProperty(e,"__esModule",{value:!0}),e.init=d,e.getCommentsCount=function(){return p.apply(this,arguments)},e.getRecentComments=function(){return h.apply(this,arguments)},Object.defineProperty(e,"version",{enumerable:!0,get:function(){return i.version}}),e["default"]=void 0;var n=t(__webpack_require__(6304)),r=t(__webpack_require__(7402)),i=__webpack_require__(306),o=__webpack_require__(8563),a=__webpack_require__(653),s=__webpack_require__(5227),u=t(__webpack_require__(7362));function c(e){return l.apply(this,arguments)}function l(){return(l=(0,r["default"])(n["default"].mark((function e(t){return n["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,o.install)(u["default"],t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(){return f.apply(this,arguments)}function f(){return(f=(0,r["default"])(n["default"].mark((function e(){var t,r,i=arguments;return n["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&i[0]!==undefined?i[0]:{},e.next=3,c(t);case 3:r=e.sent,(0,a.render)(r,t);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(){return(p=(0,r["default"])(n["default"].mark((function e(){var t,r,i=arguments;return n["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&i[0]!==undefined?i[0]:{},e.next=3,c(t);case 3:return r=e.sent,e.next=6,(0,s.getCommentsCountApi)(r,t);case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(){return(h=(0,r["default"])(n["default"].mark((function e(){var t,r,i=arguments;return n["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&i[0]!==undefined?i[0]:{},e.next=3,c(t);case 3:return r=e.sent,e.next=6,(0,s.getRecentCommentsApi)(r,t);case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}__webpack_require__(1598),__webpack_require__(8644),__webpack_require__(9552);var _=d;e["default"]=_}(),__webpack_exports__}()},"object"==typeof exports&&"object"==typeof module?module.exports=factory():"function"==typeof define&&define.amd?define([],factory):"object"==typeof exports?exports.twikoo=factory():root.twikoo=factory();