text: /*!
   * vssue - A vue-powered issue-based comment plugin
   *
   * @version v1.4.3
   * @link https://vssue.js.org
   * @license MIT
   * @copyright 2018-2020 meteorlxy
   */
  !function(t){"use strict";function e(t,e){return t(e={exports:{}},e.exports),e.exports}t=t&&t.hasOwnProperty("default")?t.default:t;var n=e((function(t){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)})),r=(n.version,e((function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}))),i=e((function(t){var e=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,n){return e[t]||(e[t]=void 0!==n?n:{})})("versions",[]).push({version:n.version,mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),o=0,s=Math.random(),a=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++o+s).toString(36))},u=e((function(t){var e=i("wks"),n=r.Symbol,o="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=o&&n[t]||(o?n:a)("Symbol."+t))}).store=e})),c=function(t){return"object"==typeof t?null!==t:"function"==typeof t},l=function(t){if(!c(t))throw TypeError(t+" is not an object!");return t},f=function(t){try{return!!t()}catch(t){return!0}},p=!f((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),h=r.document,d=c(h)&&c(h.createElement),m=function(t){return d?h.createElement(t):{}},v=!p&&!f((function(){return 7!=Object.defineProperty(m("div"),"a",{get:function(){return 7}}).a})),g=function(t,e){if(!c(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!c(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},y=Object.defineProperty,b={f:p?Object.defineProperty:function(t,e,n){if(l(t),e=g(e,!0),l(n),v)try{return y(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},_=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},w=p?function(t,e,n){return b.f(t,e,_(1,n))}:function(t,e,n){return t[e]=n,t},C=u("unscopables"),x=Array.prototype;null==x[C]&&w(x,C,{});var k=function(t){x[C][t]=!0},S=function(t,e){return{value:e,done:!!t}},O={},P={}.toString,I=function(t){return P.call(t).slice(8,-1)},T=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==I(t)?t.split(""):Object(t)},j=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t},M=function(t){return T(j(t))},E={}.hasOwnProperty,F=function(t,e){return E.call(t,e)},A=i("native-function-to-string",Function.toString),R=e((function(t){var e=a("src"),i=(""+A).split("toString");n.inspectSource=function(t){return A.call(t)},(t.exports=function(t,n,o,s){var a="function"==typeof o;a&&(F(o,"name")||w(o,"name",n)),t[n]!==o&&(a&&(F(o,e)||w(o,e,t[n]?""+t[n]:i.join(String(n)))),t===r?t[n]=o:s?t[n]?t[n]=o:w(t,n,o):(delete t[n],w(t,n,o)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[e]||A.call(this)}))})),L=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},$=function(t,e,n){if(L(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}},D=function(t,e,i){var o,s,a,u,c=t&D.F,l=t&D.G,f=t&D.S,p=t&D.P,h=t&D.B,d=l?r:f?r[e]||(r[e]={}):(r[e]||{}).prototype,m=l?n:n[e]||(n[e]={}),v=m.prototype||(m.prototype={});for(o in l&&(i=e),i)a=((s=!c&&d&&void 0!==d[o])?d:i)[o],u=h&&s?$(a,r):p&&"function"==typeof a?$(Function.call,a):a,d&&R(d,o,a,t&D.U),m[o]!=a&&w(m,o,u),p&&v[o]!=a&&(v[o]=a)};r.core=n,D.F=1,D.G=2,D.S=4,D.P=8,D.B=16,D.W=32,D.U=64,D.R=128;var N=D,z=Math.ceil,V=Math.floor,q=function(t){return isNaN(t=+t)?0:(t>0?V:z)(t)},H=Math.min,U=function(t){return t>0?H(q(t),9007199254740991):0},W=Math.max,B=Math.min,G=function(t){return function(e,n,r){var i,o=M(e),s=U(o.length),a=function(t,e){return(t=q(t))<0?W(t+e,0):B(t,e)}(r,s);if(t&&n!=n){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((t||a in o)&&o[a]===n)return t||a||0;return!t&&-1}},Y=i("keys"),K=function(t){return Y[t]||(Y[t]=a(t))},J=G(!1),Q=K("IE_PROTO"),X=function(t,e){var n,r=M(t),i=0,o=[];for(n in r)n!=Q&&F(r,n)&&o.push(n);for(;e.length>i;)F(r,n=e[i++])&&(~J(o,n)||o.push(n));return o},Z="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),tt=Object.keys||function(t){return X(t,Z)},et=p?Object.defineProperties:function(t,e){l(t);for(var n,r=tt(e),i=r.length,o=0;i>o;)b.f(t,n=r[o++],e[n]);return t},nt=r.document,rt=nt&&nt.documentElement,it=K("IE_PROTO"),ot=function(){},st=function(){var t,e=m("iframe"),n=Z.length;for(e.style.display="none",rt.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),st=t.F;n--;)delete st.prototype[Z[n]];return st()},at=Object.create||function(t,e){var n;return null!==t?(ot.prototype=l(t),n=new ot,ot.prototype=null,n[it]=t):n=st(),void 0===e?n:et(n,e)},ut=b.f,ct=u("toStringTag"),lt=function(t,e,n){t&&!F(t=n?t:t.prototype,ct)&&ut(t,ct,{configurable:!0,value:e})},ft={};w(ft,u("iterator"),(function(){return this}));var pt=function(t,e,n){t.prototype=at(ft,{next:_(1,n)}),lt(t,e+" Iterator")},ht=function(t){return Object(j(t))},dt=K("IE_PROTO"),mt=Object.prototype,vt=Object.getPrototypeOf||function(t){return t=ht(t),F(t,dt)?t[dt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?mt:null},gt=u("iterator"),yt=!([].keys&&"next"in[].keys()),bt=function(){return this},_t=function(t,e,n,r,i,o,s){pt(n,e,r);var a,u,c,l=function(t){if(!yt&&t in d)return d[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},f=e+" Iterator",p="values"==i,h=!1,d=t.prototype,m=d[gt]||d["@@iterator"]||i&&d[i],v=m||l(i),g=i?p?l("entries"):v:void 0,y="Array"==e&&d.entries||m;if(y&&(c=vt(y.call(new t)))!==Object.prototype&&c.next&&(lt(c,f,!0),"function"!=typeof c[gt]&&w(c,gt,bt)),p&&m&&"values"!==m.name&&(h=!0,v=function(){return m.call(this)}),(yt||h||!d[gt])&&w(d,gt,v),O[e]=v,O[f]=bt,i)if(a={values:p?v:l("values"),keys:o?v:l("keys"),entries:g},s)for(u in a)u in d||R(d,u,a[u]);else N(N.P+N.F*(yt||h),e,a);return a},wt=_t(Array,"Array",(function(t,e){this._t=M(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,S(1)):S(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values");O.Arguments=O.Array,k("keys"),k("values"),k("entries");for(var Ct=u("iterator"),xt=u("toStringTag"),kt=O.Array,St={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Ot=tt(St),Pt=0;Pt<Ot.length;Pt++){var It,Tt=Ot[Pt],jt=St[Tt],Mt=r[Tt],Et=Mt&&Mt.prototype;if(Et&&(Et[Ct]||w(Et,Ct,kt),Et[xt]||w(Et,xt,Tt),O[Tt]=kt,jt))for(It in wt)Et[It]||R(Et,It,wt[It],!0)}var Ft={f:u},At=b.f,Rt=function(t){var e=n.Symbol||(n.Symbol=r.Symbol||{});"_"==t.charAt(0)||t in e||At(e,t,{value:Ft.f(t)})};Rt("asyncIterator");var Lt=e((function(t){var e=a("meta"),n=b.f,r=0,i=Object.isExtensible||function(){return!0},o=!f((function(){return i(Object.preventExtensions({}))})),s=function(t){n(t,e,{value:{i:"O"+ ++r,w:{}}})},u=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!c(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!F(t,e)){if(!i(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!F(t,e)){if(!i(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return o&&u.NEED&&i(t)&&!F(t,e)&&s(t),t}}})),$t=(Lt.KEY,Lt.NEED,Lt.fastKey,Lt.getWeak,Lt.onFreeze,{f:Object.getOwnPropertySymbols}),Dt={f:{}.propertyIsEnumerable},Nt=Array.isArray||function(t){return"Array"==I(t)},zt=Z.concat("length","prototype"),Vt={f:Object.getOwnPropertyNames||function(t){return X(t,zt)}},qt=Vt.f,Ht={}.toString,Ut="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Wt={f:function(t){return Ut&&"[object Window]"==Ht.call(t)?function(t){try{return qt(t)}catch(t){return Ut.slice()}}(t):qt(M(t))}},Bt=Object.getOwnPropertyDescriptor,Gt={f:p?Bt:function(t,e){if(t=M(t),e=g(e,!0),v)try{return Bt(t,e)}catch(t){}if(F(t,e))return _(!Dt.f.call(t,e),t[e])}},Yt=Lt.KEY,Kt=Gt.f,Jt=b.f,Qt=Wt.f,Xt=r.Symbol,Zt=r.JSON,te=Zt&&Zt.stringify,ee=u("_hidden"),ne=u("toPrimitive"),re={}.propertyIsEnumerable,ie=i("symbol-registry"),oe=i("symbols"),se=i("op-symbols"),ae=Object.prototype,ue="function"==typeof Xt&&!!$t.f,ce=r.QObject,le=!ce||!ce.prototype||!ce.prototype.findChild,fe=p&&f((function(){return 7!=at(Jt({},"a",{get:function(){return Jt(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Kt(ae,e);r&&delete ae[e],Jt(t,e,n),r&&t!==ae&&Jt(ae,e,r)}:Jt,pe=function(t){var e=oe[t]=at(Xt.prototype);return e._k=t,e},he=ue&&"symbol"==typeof Xt.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Xt},de=function(t,e,n){return t===ae&&de(se,e,n),l(t),e=g(e,!0),l(n),F(oe,e)?(n.enumerable?(F(t,ee)&&t[ee][e]&&(t[ee][e]=!1),n=at(n,{enumerable:_(0,!1)})):(F(t,ee)||Jt(t,ee,_(1,{})),t[ee][e]=!0),fe(t,e,n)):Jt(t,e,n)},me=function(t,e){l(t);for(var n,r=function(t){var e=tt(t),n=$t.f;if(n)for(var r,i=n(t),o=Dt.f,s=0;i.length>s;)o.call(t,r=i[s++])&&e.push(r);return e}(e=M(e)),i=0,o=r.length;o>i;)de(t,n=r[i++],e[n]);return t},ve=function(t){var e=re.call(this,t=g(t,!0));return!(this===ae&&F(oe,t)&&!F(se,t))&&(!(e||!F(this,t)||!F(oe,t)||F(this,ee)&&this[ee][t])||e)},ge=function(t,e){if(t=M(t),e=g(e,!0),t!==ae||!F(oe,e)||F(se,e)){var n=Kt(t,e);return!n||!F(oe,e)||F(t,ee)&&t[ee][e]||(n.enumerable=!0),n}},ye=function(t){for(var e,n=Qt(M(t)),r=[],i=0;n.length>i;)F(oe,e=n[i++])||e==ee||e==Yt||r.push(e);return r},be=function(t){for(var e,n=t===ae,r=Qt(n?se:M(t)),i=[],o=0;r.length>o;)!F(oe,e=r[o++])||n&&!F(ae,e)||i.push(oe[e]);return i};ue||(R((Xt=function(){if(this instanceof Xt)throw TypeError("Symbol is not a constructor!");var t=a(arguments.length>0?arguments[0]:void 0),e=function(n){this===ae&&e.call(se,n),F(this,ee)&&F(this[ee],t)&&(this[ee][t]=!1),fe(this,t,_(1,n))};return p&&le&&fe(ae,t,{configurable:!0,set:e}),pe(t)}).prototype,"toString",(function(){return this._k})),Gt.f=ge,b.f=de,Vt.f=Wt.f=ye,Dt.f=ve,$t.f=be,p&&R(ae,"propertyIsEnumerable",ve,!0),Ft.f=function(t){return pe(u(t))}),N(N.G+N.W+N.F*!ue,{Symbol:Xt});for(var _e="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),we=0;_e.length>we;)u(_e[we++]);for(var Ce=tt(u.store),xe=0;Ce.length>xe;)Rt(Ce[xe++]);N(N.S+N.F*!ue,"Symbol",{for:function(t){return F(ie,t+="")?ie[t]:ie[t]=Xt(t)},keyFor:function(t){if(!he(t))throw TypeError(t+" is not a symbol!");for(var e in ie)if(ie[e]===t)return e},useSetter:function(){le=!0},useSimple:function(){le=!1}}),N(N.S+N.F*!ue,"Object",{create:function(t,e){return void 0===e?at(t):me(at(t),e)},defineProperty:de,defineProperties:me,getOwnPropertyDescriptor:ge,getOwnPropertyNames:ye,getOwnPropertySymbols:be});var ke=f((function(){$t.f(1)}));N(N.S+N.F*ke,"Object",{getOwnPropertySymbols:function(t){return $t.f(ht(t))}}),Zt&&N(N.S+N.F*(!ue||f((function(){var t=Xt();return"[null]"!=te([t])||"{}"!=te({a:t})||"{}"!=te(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(c(e)||void 0!==t)&&!he(t))return Nt(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!he(e))return e}),r[1]=e,te.apply(Zt,r)}}),Xt.prototype[ne]||w(Xt.prototype,ne,Xt.prototype.valueOf),lt(Xt,"Symbol"),lt(Math,"Math",!0),lt(r.JSON,"JSON",!0);var Se=Math.ceil,Oe=Math.floor,Pe=function(t){return isNaN(t=+t)?0:(t>0?Oe:Se)(t)},Ie=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t},Te=e((function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)})),je=e((function(t){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)})),Me=(je.version,function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}),Ee=function(t,e,n){if(Me(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}},Fe=function(t){return"object"==typeof t?null!==t:"function"==typeof t},Ae=function(t){if(!Fe(t))throw TypeError(t+" is not an object!");return t},Re=function(t){try{return!!t()}catch(t){return!0}},Le=!Re((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),$e=Te.document,De=Fe($e)&&Fe($e.createElement),Ne=function(t){return De?$e.createElement(t):{}},ze=!Le&&!Re((function(){return 7!=Object.defineProperty(Ne("div"),"a",{get:function(){return 7}}).a})),Ve=function(t,e){if(!Fe(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!Fe(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!Fe(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!Fe(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},qe=Object.defineProperty,He={f:Le?Object.defineProperty:function(t,e,n){if(Ae(t),e=Ve(e,!0),Ae(n),ze)try{return qe(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},Ue=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},We=Le?function(t,e,n){return He.f(t,e,Ue(1,n))}:function(t,e,n){return t[e]=n,t},Be={}.hasOwnProperty,Ge=function(t,e){return Be.call(t,e)},Ye=function(t,e,n){var r,i,o,s=t&Ye.F,a=t&Ye.G,u=t&Ye.S,c=t&Ye.P,l=t&Ye.B,f=t&Ye.W,p=a?je:je[e]||(je[e]={}),h=p.prototype,d=a?Te:u?Te[e]:(Te[e]||{}).prototype;for(r in a&&(n=e),n)(i=!s&&d&&void 0!==d[r])&&Ge(p,r)||(o=i?d[r]:n[r],p[r]=a&&"function"!=typeof d[r]?n[r]:l&&i?Ee(o,Te):f&&d[r]==o?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(o):c&&"function"==typeof o?Ee(Function.call,o):o,c&&((p.virtual||(p.virtual={}))[r]=o,t&Ye.R&&h&&!h[r]&&We(h,r,o)))};Ye.F=1,Ye.G=2,Ye.S=4,Ye.P=8,Ye.B=16,Ye.W=32,Ye.U=64,Ye.R=128;var Ke,Je=Ye,Qe=We,Xe={},Ze={}.toString,tn=function(t){return Ze.call(t).slice(8,-1)},en=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==tn(t)?t.split(""):Object(t)},nn=function(t){return en(Ie(t))},rn=Math.min,on=function(t){return t>0?rn(Pe(t),9007199254740991):0},sn=Math.max,an=Math.min,un=e((function(t){var e=Te["__core-js_shared__"]||(Te["__core-js_shared__"]={});(t.exports=function(t,n){return e[t]||(e[t]=void 0!==n?n:{})})("versions",[]).push({version:je.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),cn=0,ln=Math.random(),fn=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++cn+ln).toString(36))},pn=un("keys"),hn=function(t){return pn[t]||(pn[t]=fn(t))},dn=(Ke=!1,function(t,e,n){var r,i=nn(t),o=on(i.length),s=function(t,e){return(t=Pe(t))<0?sn(t+e,0):an(t,e)}(n,o);if(Ke&&e!=e){for(;o>s;)if((r=i[s++])!=r)return!0}else for(;o>s;s++)if((Ke||s in i)&&i[s]===e)return Ke||s||0;return!Ke&&-1}),mn=hn("IE_PROTO"),vn=function(t,e){var n,r=nn(t),i=0,o=[];for(n in r)n!=mn&&Ge(r,n)&&o.push(n);for(;e.length>i;)Ge(r,n=e[i++])&&(~dn(o,n)||o.push(n));return o},gn="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),yn=Object.keys||function(t){return vn(t,gn)},bn=Le?Object.defineProperties:function(t,e){Ae(t);for(var n,r=yn(e),i=r.length,o=0;i>o;)He.f(t,n=r[o++],e[n]);return t},_n=Te.document,wn=_n&&_n.documentElement,Cn=hn("IE_PROTO"),xn=function(){},kn=function(){var t,e=Ne("iframe"),n=gn.length;for(e.style.display="none",wn.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),kn=t.F;n--;)delete kn.prototype[gn[n]];return kn()},Sn=Object.create||function(t,e){var n;return null!==t?(xn.prototype=Ae(t),n=new xn,xn.prototype=null,n[Cn]=t):n=kn(),void 0===e?n:bn(n,e)},On=e((function(t){var e=un("wks"),n=Te.Symbol,r="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=r&&n[t]||(r?n:fn)("Symbol."+t))}).store=e})),Pn=He.f,In=On("toStringTag"),Tn=function(t,e,n){t&&!Ge(t=n?t:t.prototype,In)&&Pn(t,In,{configurable:!0,value:e})},jn={};We(jn,On("iterator"),(function(){return this}));var Mn=function(t){return Object(Ie(t))},En=hn("IE_PROTO"),Fn=Object.prototype,An=Object.getPrototypeOf||function(t){return t=Mn(t),Ge(t,En)?t[En]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Fn:null},Rn=On("iterator"),Ln=!([].keys&&"next"in[].keys()),$n=function(){return this},Dn=function(t,e,n,r,i,o,s){!function(t,e,n){t.prototype=Sn(jn,{next:Ue(1,n)}),Tn(t,e+" Iterator")}(n,e,r);var a,u,c,l=function(t){if(!Ln&&t in d)return d[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},f=e+" Iterator",p="values"==i,h=!1,d=t.prototype,m=d[Rn]||d["@@iterator"]||i&&d[i],v=m||l(i),g=i?p?l("entries"):v:void 0,y="Array"==e&&d.entries||m;if(y&&(c=An(y.call(new t)))!==Object.prototype&&c.next&&Tn(c,f,!0),p&&m&&"values"!==m.name&&(h=!0,v=function(){return m.call(this)}),s&&(Ln||h||!d[Rn])&&We(d,Rn,v),Xe[e]=v,Xe[f]=$n,i)if(a={values:p?v:l("values"),keys:o?v:l("keys"),entries:g},s)for(u in a)u in d||Qe(d,u,a[u]);else Je(Je.P+Je.F*(Ln||h),e,a);return a},Nn=function(t){return function(e,n){var r,i,o=String(Ie(e)),s=Pe(n),a=o.length;return s<0||s>=a?t?"":void 0:(r=o.charCodeAt(s))<55296||r>56319||s+1===a||(i=o.charCodeAt(s+1))<56320||i>57343?t?o.charAt(s):r:t?o.slice(s,s+2):i-56320+(r-55296<<10)+65536}}(!0);Dn(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=Nn(e,n),this._i+=t.length,{value:t,done:!1})}));var zn=function(t,e){return{value:e,done:!!t}};Dn(Array,"Array",(function(t,e){this._t=nn(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,zn(1)):zn(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values");Xe.Arguments=Xe.Array;for(var Vn=On("toStringTag"),qn="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),Hn=0;Hn<qn.length;Hn++){var Un=qn[Hn],Wn=Te[Un],Bn=Wn&&Wn.prototype;Bn&&!Bn[Vn]&&We(Bn,Vn,Un),Xe[Un]=Xe.Array}var Gn={f:On},Yn=Gn.f("iterator"),Kn=e((function(t){var e=fn("meta"),n=He.f,r=0,i=Object.isExtensible||function(){return!0},o=!Re((function(){return i(Object.preventExtensions({}))})),s=function(t){n(t,e,{value:{i:"O"+ ++r,w:{}}})},a=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!Fe(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Ge(t,e)){if(!i(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!Ge(t,e)){if(!i(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return o&&a.NEED&&i(t)&&!Ge(t,e)&&s(t),t}}})),Jn=(Kn.KEY,Kn.NEED,Kn.fastKey,Kn.getWeak,Kn.onFreeze,He.f),Qn=function(t){var e=je.Symbol||(je.Symbol={});"_"==t.charAt(0)||t in e||Jn(e,t,{value:Gn.f(t)})},Xn={f:Object.getOwnPropertySymbols},Zn={f:{}.propertyIsEnumerable},tr=Array.isArray||function(t){return"Array"==tn(t)},er=gn.concat("length","prototype"),nr={f:Object.getOwnPropertyNames||function(t){return vn(t,er)}},rr=nr.f,ir={}.toString,or="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],sr={f:function(t){return or&&"[object Window]"==ir.call(t)?function(t){try{return rr(t)}catch(t){return or.slice()}}(t):rr(nn(t))}},ar=Object.getOwnPropertyDescriptor,ur={f:Le?ar:function(t,e){if(t=nn(t),e=Ve(e,!0),ze)try{return ar(t,e)}catch(t){}if(Ge(t,e))return Ue(!Zn.f.call(t,e),t[e])}},cr=Kn.KEY,lr=ur.f,fr=He.f,pr=sr.f,hr=Te.Symbol,dr=Te.JSON,mr=dr&&dr.stringify,vr=On("_hidden"),gr=On("toPrimitive"),yr={}.propertyIsEnumerable,br=un("symbol-registry"),_r=un("symbols"),wr=un("op-symbols"),Cr=Object.prototype,xr="function"==typeof hr&&!!Xn.f,kr=Te.QObject,Sr=!kr||!kr.prototype||!kr.prototype.findChild,Or=Le&&Re((function(){return 7!=Sn(fr({},"a",{get:function(){return fr(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=lr(Cr,e);r&&delete Cr[e],fr(t,e,n),r&&t!==Cr&&fr(Cr,e,r)}:fr,Pr=function(t){var e=_r[t]=Sn(hr.prototype);return e._k=t,e},Ir=xr&&"symbol"==typeof hr.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof hr},Tr=function(t,e,n){return t===Cr&&Tr(wr,e,n),Ae(t),e=Ve(e,!0),Ae(n),Ge(_r,e)?(n.enumerable?(Ge(t,vr)&&t[vr][e]&&(t[vr][e]=!1),n=Sn(n,{enumerable:Ue(0,!1)})):(Ge(t,vr)||fr(t,vr,Ue(1,{})),t[vr][e]=!0),Or(t,e,n)):fr(t,e,n)},jr=function(t,e){Ae(t);for(var n,r=function(t){var e=yn(t),n=Xn.f;if(n)for(var r,i=n(t),o=Zn.f,s=0;i.length>s;)o.call(t,r=i[s++])&&e.push(r);return e}(e=nn(e)),i=0,o=r.length;o>i;)Tr(t,n=r[i++],e[n]);return t},Mr=function(t){var e=yr.call(this,t=Ve(t,!0));return!(this===Cr&&Ge(_r,t)&&!Ge(wr,t))&&(!(e||!Ge(this,t)||!Ge(_r,t)||Ge(this,vr)&&this[vr][t])||e)},Er=function(t,e){if(t=nn(t),e=Ve(e,!0),t!==Cr||!Ge(_r,e)||Ge(wr,e)){var n=lr(t,e);return!n||!Ge(_r,e)||Ge(t,vr)&&t[vr][e]||(n.enumerable=!0),n}},Fr=function(t){for(var e,n=pr(nn(t)),r=[],i=0;n.length>i;)Ge(_r,e=n[i++])||e==vr||e==cr||r.push(e);return r},Ar=function(t){for(var e,n=t===Cr,r=pr(n?wr:nn(t)),i=[],o=0;r.length>o;)!Ge(_r,e=r[o++])||n&&!Ge(Cr,e)||i.push(_r[e]);return i};xr||(Qe((hr=function(){if(this instanceof hr)throw TypeError("Symbol is not a constructor!");var t=fn(arguments.length>0?arguments[0]:void 0),e=function(n){this===Cr&&e.call(wr,n),Ge(this,vr)&&Ge(this[vr],t)&&(this[vr][t]=!1),Or(this,t,Ue(1,n))};return Le&&Sr&&Or(Cr,t,{configurable:!0,set:e}),Pr(t)}).prototype,"toString",(function(){return this._k})),ur.f=Er,He.f=Tr,nr.f=sr.f=Fr,Zn.f=Mr,Xn.f=Ar,Gn.f=function(t){return Pr(On(t))}),Je(Je.G+Je.W+Je.F*!xr,{Symbol:hr});for(var Rr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Lr=0;Rr.length>Lr;)On(Rr[Lr++]);for(var $r=yn(On.store),Dr=0;$r.length>Dr;)Qn($r[Dr++]);Je(Je.S+Je.F*!xr,"Symbol",{for:function(t){return Ge(br,t+="")?br[t]:br[t]=hr(t)},keyFor:function(t){if(!Ir(t))throw TypeError(t+" is not a symbol!");for(var e in br)if(br[e]===t)return e},useSetter:function(){Sr=!0},useSimple:function(){Sr=!1}}),Je(Je.S+Je.F*!xr,"Object",{create:function(t,e){return void 0===e?Sn(t):jr(Sn(t),e)},defineProperty:Tr,defineProperties:jr,getOwnPropertyDescriptor:Er,getOwnPropertyNames:Fr,getOwnPropertySymbols:Ar});var Nr=Re((function(){Xn.f(1)}));Je(Je.S+Je.F*Nr,"Object",{getOwnPropertySymbols:function(t){return Xn.f(Mn(t))}}),dr&&Je(Je.S+Je.F*(!xr||Re((function(){var t=hr();return"[null]"!=mr([t])||"{}"!=mr({a:t})||"{}"!=mr(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(Fe(e)||void 0!==t)&&!Ir(t))return tr(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Ir(e))return e}),r[1]=e,mr.apply(dr,r)}}),hr.prototype[gr]||We(hr.prototype,gr,hr.prototype.valueOf),Tn(hr,"Symbol"),Tn(Math,"Math",!0),Tn(Te.JSON,"JSON",!0);var zr,Vr=Object.freeze({__proto__:null});Qn("asyncIterator"),Qn("observable"),(zr=Vr)&&zr.default;var qr=je.Symbol;function Hr(t){return(Hr="function"==typeof qr&&"symbol"==typeof Yn?function(t){return typeof t}:function(t){return t&&"function"==typeof qr&&t.constructor===qr&&t!==qr.prototype?"symbol":typeof t})(t)}var Ur=function(t,e){if(l(t),!c(e)&&null!==e)throw TypeError(e+": can't set as prototype!")},Wr={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=$(Function.call,Gt.f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return Ur(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:Ur};function Br(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":Hr(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}N(N.S,"Object",{setPrototypeOf:Wr.set});var Gr=function(t){return function(e,n){var r,i,o=String(j(e)),s=q(n),a=o.length;return s<0||s>=a?t?"":void 0:(r=o.charCodeAt(s))<55296||r>56319||s+1===a||(i=o.charCodeAt(s+1))<56320||i>57343?t?o.charAt(s):r:t?o.slice(s,s+2):i-56320+(r-55296<<10)+65536}},Yr=Gr(!0),Kr=function(t,e,n){return e+(n?Yr(t,e).length:1)},Jr=u("toStringTag"),Qr="Arguments"==I(function(){return arguments}()),Xr=RegExp.prototype.exec,Zr=function(t,e){var n,r,i,o,s=t.exec;if("function"==typeof s){var a=s.call(t,e);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==(void 0===(n=t)?"Undefined":null===n?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(r=Object(n),Jr))?i:Qr?I(r):"Object"==(o=I(r))&&"function"==typeof r.callee?"Arguments":o))throw new TypeError("RegExp#exec called on incompatible receiver");return Xr.call(t,e)},ti=function(){var t=l(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},ei=RegExp.prototype.exec,ni=String.prototype.replace,ri=ei,ii=function(){var t=/a/,e=/b*/g;return ei.call(t,"a"),ei.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),oi=void 0!==/()??/.exec("")[1];(ii||oi)&&(ri=function(t){var e,n,r,i,o=this;return oi&&(n=new RegExp("^"+o.source+"$(?!\\s)",ti.call(o))),ii&&(e=o.lastIndex),r=ei.call(o,t),ii&&r&&(o.lastIndex=o.global?r.index+r[0].length:e),oi&&r&&r.length>1&&ni.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var si=ri;N({target:"RegExp",proto:!0,forced:si!==/./.exec},{exec:si});var ai=u("species"),ui=!f((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),ci=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}(),li=function(t,e,n){var r=u(t),i=!f((function(){var e={};return e[r]=function(){return 7},7!=""[t](e)})),o=i?!f((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[ai]=function(){return n}),n[r](""),!e})):void 0;if(!i||!o||"replace"===t&&!ui||"split"===t&&!ci){var s=/./[r],a=n(j,r,""[t],(function(t,e,n,r,o){return e.exec===si?i&&!o?{done:!0,value:s.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),c=a[0],l=a[1];R(String.prototype,t,c),w(RegExp.prototype,r,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}},fi=Math.max,pi=Math.min,hi=Math.floor,di=/\$([$&`']|\d\d?|<[^>]*>)/g,mi=/\$([$&`']|\d\d?)/g;li("replace",2,(function(t,e,n,r){return[function(r,i){var o=t(this),s=null==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var o=r(n,t,this,e);if(o.done)return o.value;var s=l(t),a=String(this),u="function"==typeof e;u||(e=String(e));var c=s.global;if(c){var f=s.unicode;s.lastIndex=0}for(var p=[];;){var h=Zr(s,a);if(null===h)break;if(p.push(h),!c)break;""===String(h[0])&&(s.lastIndex=Kr(a,U(s.lastIndex),f))}for(var d,m="",v=0,g=0;g<p.length;g++){h=p[g];for(var y=String(h[0]),b=fi(pi(q(h.index),a.length),0),_=[],w=1;w<h.length;w++)_.push(void 0===(d=h[w])?d:String(d));var C=h.groups;if(u){var x=[y].concat(_,b,a);void 0!==C&&x.push(C);var k=String(e.apply(void 0,x))}else k=i(y,a,b,_,C,e);b>=v&&(m+=a.slice(v,b)+k,v=b+y.length)}return m+a.slice(v)}];function i(t,e,r,i,o,s){var a=r+t.length,u=i.length,c=mi;return void 0!==o&&(o=ht(o),c=di),n.call(s,c,(function(n,s){var c;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(a);case"<":c=o[s.slice(1,-1)];break;default:var l=+s;if(0===l)return n;if(l>u){var f=hi(l/10);return 0===f?n:f<=u?void 0===i[f-1]?s.charAt(1):i[f-1]+s.charAt(1):n}c=i[l-1]}return void 0===c?"":c}))}}));var vi=b.f,gi=Function.prototype,yi=/^\s*function ([^ (]*)/;"name"in gi||p&&vi(gi,"name",{configurable:!0,get:function(){try{return(""+this).match(yi)[1]}catch(t){return""}}});!function(t,e){var r=(n.Object||{})[t]||Object[t],i={};i[t]=e(r),N(N.S+N.F*f((function(){r(1)})),"Object",i)}("keys",(function(){return function(t){return tt(ht(t))}}));var bi="undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function _i(t,e,n){(n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e)).forEach((function(r){var i=n?Reflect.getOwnMetadata(r,e,n):Reflect.getOwnMetadata(r,e);n?Reflect.defineMetadata(r,i,t,n):Reflect.defineMetadata(r,i,t)}))}var wi={__proto__:[]}instanceof Array;function Ci(t){return function(e,n,r){var i="function"==typeof e?e:e.constructor;i.__decorators__||(i.__decorators__=[]),"number"!=typeof r&&(r=void 0),i.__decorators__.push((function(e){return t(e,n,r)}))}}var xi=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function ki(e,n){void 0===n&&(n={}),n.name=n.name||e._componentTag||e.name;var r=e.prototype;Object.getOwnPropertyNames(r).forEach((function(t){if("constructor"!==t)if(xi.indexOf(t)>-1)n[t]=r[t];else{var e=Object.getOwnPropertyDescriptor(r,t);void 0!==e.value?"function"==typeof e.value?(n.methods||(n.methods={}))[t]=e.value:(n.mixins||(n.mixins=[])).push({data:function(){var n;return(n={})[t]=e.value,n}}):(e.get||e.set)&&((n.computed||(n.computed={}))[t]={get:e.get,set:e.set})}})),(n.mixins||(n.mixins=[])).push({data:function(){return function(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var r in t.$options.props)t.hasOwnProperty(r)||n.push(r);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var r=new e;e.prototype._init=n;var i={};return Object.keys(r).forEach((function(t){void 0!==r[t]&&(i[t]=r[t])})),i}(this,e)}});var i=e.__decorators__;i&&(i.forEach((function(t){return t(n)})),delete e.__decorators__);var o,s,a=Object.getPrototypeOf(e.prototype),u=a instanceof t?a.constructor:t,c=u.extend(n);return function(t,e,n){Object.getOwnPropertyNames(e).forEach((function(r){if(!Si[r]){var i=Object.getOwnPropertyDescriptor(t,r);if(!i||i.configurable){var o,s,a=Object.getOwnPropertyDescriptor(e,r);if(!wi){if("cid"===r)return;var u=Object.getOwnPropertyDescriptor(n,r);if(o=a.value,s=Hr(o),null!=o&&("object"===s||"function"===s)&&u&&u.value===a.value)return}Object.defineProperty(t,r,a)}}}))}(c,e,u),bi&&(_i(o=c,s=e),Object.getOwnPropertyNames(s.prototype).forEach((function(t){_i(o.prototype,s.prototype,t)})),Object.getOwnPropertyNames(s).forEach((function(t){_i(o,s,t)}))),c}var Si={prototype:!0,arguments:!0,callee:!0,caller:!0};function Oi(t){return"function"==typeof t?ki(t):function(e){return ki(e,t)}}function Pi(t){return Ci((function(e,n){void 0===e.inject&&(e.inject={}),Array.isArray(e.inject)||(e.inject[n]=t||n)}))}Oi.registerHooks=function(t){xi.push.apply(xi,t)};var Ii="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function Ti(t){return void 0===t&&(t={}),function(e,n){!function(t,e,n){Ii&&(Array.isArray(t)||"function"==typeof t||void 0!==t.type||(t.type=Reflect.getMetadata("design:type",e,n)))}(t,e,n),Ci((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}function ji(t,e){void 0===e&&(e={});var n=e.deep,r=void 0!==n&&n,i=e.immediate,o=void 0!==i&&i;return Ci((function(e,n){"object"!==Hr(e.watch)&&(e.watch=Object.create(null));var i=e.watch;"object"!==Hr(i[t])||Array.isArray(i[t])?void 0===i[t]&&(i[t]=[]):i[t]=[i[t]],i[t].push({handler:n,deep:r,immediate:o})}))}var Mi=t.extend({name:"Iconfont"});function Ei(t,e,n,r,i,o,s,a,u,c){"boolean"!=typeof s&&(u=a,a=s,s=!1);const l="function"==typeof n?n.options:n;let f;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),r&&(l._scopeId=r),o?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=f):e&&(f=s?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),f)if(l.functional){const t=l.render;l.render=function(e,n){return f.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,f):[f]}return n}"undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var Fi=Ei({render:function(t,e){var n=e._c;return n("svg",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[n("symbol",{attrs:{id:"vssue-icon-bitbucket",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M579.5522464 489.45249493q4.8371808 38.38537173-30.81752427 61.55702827t-67.95459093 3.66689493q-23.79580907-10.37653333-32.6119616-35.34262826t-0.31207573-50.01020907 31.67573333-35.34262827q21.92335253-11.00068587 44.1587808-7.33379093t39.00952427 21.61127573 16.77409493 41.1160384zM647.19476053 476.65737173q-8.50407573-65.22392427-68.8908192-99.9424t-120.07131413-7.9579424q-38.38537173 17.08617173-61.24495253 53.9111616t-21.0651424 78.95527574q2.41859093 55.4715424 47.20152426 94.48106666t100.87862827 34.1723424q55.4715424-4.8371808 92.60860907-51.18049493t30.50544746-102.43900907zM792.93434133 146.32472427q-12.17097173-16.4620192-34.1723424-27.15062827t-35.34262826-13.41927573-43.30057174-7.64586667q-177.33729493-28.63299093-345.00022826 1.24830507-26.2144 4.29104747-40.25782827 7.33379093t-33.54819093 13.41927573-30.50544747 26.2144q18.2564576 17.08617173 46.34331413 27.6967616t44.78293334 13.41927574 53.36502826 7.02171413q138.95192427 17.71032427 273.06666667 0.62415253 38.38537173-4.8371808 54.53531413-7.33379093t44.1587808-13.1072 45.7191616-28.32091413zM827.65281813 777.10872427q-4.8371808 15.83786667-9.44030506 46.65539093t-8.50407574 51.18049493-17.39824746 42.6764192-35.34262827 34.4064q-52.4288 29.2571424-115.46819093 43.61264747t-123.1140576 13.41927573-122.8019808-11.3127616q-28.0088384-4.8371808-49.69813334-11.00068586t-46.65539093-16.4620192-44.4708576-26.52647574-31.67573333-37.4491424q-15.21371413-58.51428587-34.71847574-177.96144746l3.66689494-9.7523808 11.00068586-5.46133334q135.9091808 90.1900192 308.72137174 90.1900192t309.34552426-90.1900192q12.79512427 3.66689493 14.5895616 14.04342827t-3.0427424 27.46270507-4.8371808 22.54750506zM937.97175147 191.41973333q-15.83786667 101.8148576-67.64251414 399.22346667-3.0427424 18.2564576-16.4620192 34.1723424t-26.52647573 24.3419424-33.23611413 18.88060907q-153.61950507 76.7707424-371.8387808 53.67710506-151.12289493-16.4620192-240.14262827-84.72868586-9.12822827-7.33379093-15.52579093-16.1499424t-10.37653334-21.2992-5.46133333-20.75306667-3.66689493-24.10788587-3.3548192-21.2992q-5.46133333-30.50544747-16.1499424-91.43832426t-17.08617174-98.4600384-14.35550506-89.8779424-13.41927574-96.27550507q1.7944384-15.83786667 10.68860907-29.5692192t19.19268587-22.8595808 27.46270506-18.2564576 28.0088384-13.73135253 29.2571424-11.3127616q76.22460907-28.0088384 190.75657174-39.00952427 231.0144-22.54750507 412.01859093 30.50544747 94.48106667 28.0088384 131.072 74.35215253 9.7523808 12.17097173 10.0644576 31.0515808t-3.3548192 32.9240384z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitea",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M184.31868985 236.10860742C106.94832667 235.94086648 3.32655508 285.13080468 9.02973665 408.46209936c8.93218827 192.65010787 206.32096845 210.5144844 285.20099725 212.06608453 8.63864186 36.14810496 101.48307766 160.77938883 170.21479898 167.32127321h301.09442177c180.57278288-11.99345499 315.77172611-546.07960359 215.54670217-548.09249109-165.7696721 7.79993906-264.02374305 11.74184405-348.27147151 12.41280591v166.69224585l-26.25140843-11.61603761-0.16773997-154.99233728c-96.70246985-0.04193548-181.83083757-4.52899687-343.4069947-12.49667687-20.21274496-0.12580547-48.39316992-3.5644886-78.67035236-3.64835859z m10.94507577 68.14462849h9.22573371c10.98701124 98.75729283 28.85138778 156.50200291 64.99949274 244.73357185-92.25734394-10.90314029-170.75995634-37.69970509-185.18564974-137.75698809-7.46445813-51.78991757 17.69663558-105.84433456 110.96042329-107.01851827z m358.83913087 97.07988723c6.29027343 0.08386999 12.70635233 1.25805468 18.74501482 4.02577499l31.40943263 13.54505513-22.51917887 41.05451824a28.18042496 25.03528825 0 0 0-10.10637297 1.59353561 28.18042496 25.03528825 0 0 0-16.98373825 32.038459 28.18042496 25.03528825 0 0 0 4.69673781 7.29671718l-38.83195528 70.70267333a28.18042496 25.03528825 0 0 0-9.30960467 1.59353659 28.18042496 25.03528825 0 0 0-16.98373825 32.038459 28.18042496 25.03528825 0 0 0 36.06423497 15.09665623 28.18042496 25.03528825 0 0 0 16.94180276-32.08039449 28.18042496 25.03528825 0 0 0-6.62575434-9.22573468l37.82551056-68.85752581a28.18042496 25.03528825 0 0 0 12.28700044-1.25805469 28.18042496 25.03528825 0 0 0 8.93218826-4.69673783c14.59343435 6.12253248 26.54495386 11.11281671 35.14166122 15.34826717 12.91602778 6.37414341 17.48696012 10.60959485 18.87082027 15.30633169 1.38386015 4.61286685-0.12580547 13.50312062-7.42252263 29.10299872-5.45157063 11.61603859-14.46762889 28.09655497-25.11915823 47.51253164a28.18042496 25.03528825 0 0 0-10.52572486 1.59353659 28.18042496 25.03528825 0 0 0-16.98373826 32.038459 28.18042496 25.03528825 0 0 0 36.06423498 15.09665623 28.18042496 25.03528825 0 0 0 16.94180278-32.03845901 28.18042496 25.03528825 0 0 0-5.74511608-8.47090188c10.52572388-19.20630122 19.58371762-35.72875308 25.41270465-48.14155897 7.88380904-16.85793279 11.99345499-29.39654416 8.38703091-41.51580463-3.60642311-12.11926046-14.67730434-20.0030695-29.35460966-27.25785217-9.6450856-4.73867233-21.68047607-9.77089106-36.06423399-15.80955357a28.18042496 25.03528825 0 0 0-1.59353562-10.022502 28.18042496 25.03528825 0 0 0-6.08059796-8.7644483l22.14176246-40.38355541 122.61839638 52.96410227c22.14176247 9.6031511 31.2836262 33.12877372 20.54822685 52.8382968l-84.28966393 154.32137544c-10.77733482 19.66758857-37.23841869 27.80300855-59.38018118 18.24179293l-173.48574115-74.98005927c-22.14176247-9.5612156-31.32556167-33.12877372-20.54822687-52.83829679l84.28966395-154.27943995c7.38058716-13.54505513 22.22563246-21.59660511 37.951317-22.22563246h2.68384935z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitee",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M978.404275 409.561604H455.061338c-25.117645 0-45.499734 20.382089-45.499734 45.499734l-0.031997 113.781333c0 25.117645 20.350092 45.499734 45.499734 45.531731h318.594132c25.117645 0 45.499734 20.382089 45.499734 45.499735v22.749867a136.5312 136.5312 0 0 1-136.5312 136.5312H250.248539a45.499734 45.499734 0 0 1-45.499734-45.499734V341.343999a136.5312 136.5312 0 0 1 136.5312-136.5312L978.308284 204.780802c25.117645 0 45.499734-20.350092 45.499734-45.467738L1023.904009 45.531731h0.031997A45.499734 45.499734 0 0 0 978.468269 0h-0.031997L341.343999 0.031997C152.84967 0.031997 0.031997 152.84967 0.031997 341.343999v637.092273c0 25.117645 20.382089 45.499734 45.499734 45.499734h671.233072a307.171203 307.171203 0 0 0 307.171203-307.171203v-261.671468c0-25.117645-20.382089-45.499734-45.499734-45.499734z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-github",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M512 20.4425c-278.334 0-504 225.6345-504 504 0 222.6735 144.4275 411.6105 344.673 478.233 25.2 4.662 34.461-10.9305 34.461-24.255 0-12.0015-0.4725-51.723-0.693-93.8385-140.238 30.492-169.8165-59.472-169.8165-59.472-22.932-58.2435-55.944-73.7415-55.944-73.7415-45.738-31.2795 3.465-30.6495 3.465-30.6495 50.589 3.5595 77.238 51.9435 77.238 51.9435 44.9505 77.049 117.9045 54.7785 146.664 41.895 4.5045-32.571 17.577-54.81 32.004-67.41-111.951-12.726-229.635-55.9755-229.635-249.0705 0-55.0305 19.6875-99.981 51.9435-135.2925-5.229-12.6945-22.491-63.945 4.8825-133.371 0 0 42.336-13.545 138.6315 51.66 40.194-11.1825 83.3175-16.758 126.1575-16.9785 42.8085 0.189 85.9635 5.796 126.252 16.9785 96.201-65.205 138.4425-51.66 138.4425-51.66 27.4365 69.426 10.1745 120.6765 4.9455 133.371 32.319 35.28 51.8805 80.262 51.8805 135.2925 0 193.5675-117.9045 236.187-230.139 248.6925 18.081 15.6555 34.1775 46.305 34.1775 93.3345 0 67.4415-0.5985 121.716-0.5985 138.3165 0 13.419 9.072 29.1375 34.6185 24.192 200.151-66.717 344.3895-255.5595 344.3895-478.17 0-278.3655-225.666-504-504-504z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-gitlab",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M66.61375986 405.11600042L512.11376028 976.03999972 23.84576 621.65599958a39.312 39.312 0 0 1-14.07600042-43.30799944l56.8080007-173.26800028z m259.88400014 0h371.26800014L512.14975986 976.03999972zM215.11376 60.88400042l111.384 344.232H66.61375986l111.384-344.232a19.72800014 19.72800014 0 0 1 37.11600014 0z m742.49999972 344.232l56.8080007 173.2679993a39.23999986 39.23999986 0 0 1-14.07600042 43.30800042l-488.26800028 354.38400014 445.50000042-570.92400028z m0 0h-259.88400014l111.384-344.232a19.72800014 19.72800014 0 0 1 37.11600014 0z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-loading",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M843.307 742.24c0 3.217 2.607 5.824 5.824 5.824s5.824-2.607 5.824-5.824a5.823 5.823 0 0 0-5.824-5.824 5.823 5.823 0 0 0-5.824 5.824zM714.731 874.912c0 6.398 5.186 11.584 11.584 11.584s11.584-5.186 11.584-11.584-5.186-11.584-11.584-11.584-11.584 5.186-11.584 11.584zM541.419 943.2c0 9.614 7.794 17.408 17.408 17.408s17.408-7.794 17.408-17.408-7.794-17.408-17.408-17.408-17.408 7.794-17.408 17.408z m-186.56-9.152c0 12.795 10.373 23.168 23.168 23.168s23.168-10.373 23.168-23.168-10.373-23.168-23.168-23.168-23.168 10.373-23.168 23.168zM189.355 849.12c0 16.012 12.98 28.992 28.992 28.992s28.992-12.98 28.992-28.992-12.98-28.992-28.992-28.992-28.992 12.98-28.992 28.992zM74.731 704.736c0 19.228 15.588 34.816 34.816 34.816s34.816-15.588 34.816-34.816-15.588-34.816-34.816-34.816-34.816 15.588-34.816 34.816z m-43.008-177.28c0 22.41 18.166 40.576 40.576 40.576s40.576-18.166 40.576-40.576-18.166-40.576-40.576-40.576-40.576 18.166-40.576 40.576z m35.392-176.128c0 25.626 20.774 46.4 46.4 46.4s46.4-20.774 46.4-46.4c0-25.626-20.774-46.4-46.4-46.4-25.626 0-46.4 20.774-46.4 46.4z m106.176-142.016c0 28.843 23.381 52.224 52.224 52.224s52.224-23.381 52.224-52.224c0-28.843-23.381-52.224-52.224-52.224-28.843 0-52.224 23.381-52.224 52.224z m155.904-81.344c0 32.024 25.96 57.984 57.984 57.984s57.984-25.96 57.984-57.984-25.96-57.984-57.984-57.984-57.984 25.96-57.984 57.984z m175.104-5.056c0 35.24 28.568 63.808 63.808 63.808s63.808-28.568 63.808-63.808c0-35.24-28.568-63.808-63.808-63.808-35.24 0-63.808 28.568-63.808 63.808z m160.32 72.128c0 38.421 31.147 69.568 69.568 69.568s69.568-31.147 69.568-69.568-31.147-69.568-69.568-69.568-69.568 31.147-69.568 69.568z m113.92 135.488c0 41.638 33.754 75.392 75.392 75.392s75.392-33.754 75.392-75.392-33.754-75.392-75.392-75.392-75.392 33.754-75.392 75.392z m45.312 175.488c0 44.854 36.362 81.216 81.216 81.216s81.216-36.362 81.216-81.216c0-44.854-36.362-81.216-81.216-81.216-44.854 0-81.216 36.362-81.216 81.216z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-like",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 0 0-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4-20.5-21.5-48.1-33.4-77.9-33.4-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-0.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81z m636.4-353l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4c4.6 8.4 6.9 17.6 6.9 27.3 0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5c5.2-18.9 22.5-32.2 42.2-32.3 7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-unlike",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4-8.3-3.6-17.2-5.4-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81z m627.2 160.4H496.8l9.6 198.4c0.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7-19.6-0.1-36.9-13.4-42.2-32.3L329 459.2V172h415.4c20.4 9.2 33.6 29.4 33.6 51.8 0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19c12.5 10.8 19.6 26.5 19.6 43 0 19.1-11 37.5-28.8 48.4z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-heart",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3 0.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-edit",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M723.2 917.76H286.72c-65.28 0-118.4-51.2-118.4-113.92V261.76C168.32 198.4 221.44 147.2 286.72 147.2h375.04c17.92 0 32 14.08 32 32s-14.08 32-32 32H286.72c-30.08 0-54.4 22.4-54.4 49.92v542.08c0 27.52 24.32 49.92 54.4 49.92H723.2c30.08 0 54.4-22.4 54.4-49.92V440.32c0-17.92 14.08-32 32-32s32 14.08 32 32v363.52c0 62.72-53.12 113.92-118.4 113.92z"}}),e._v(" "),n("path",{attrs:{d:"M499.84 602.24c-7.68 0-14.72-2.56-21.12-7.68-13.44-11.52-14.72-32-3.2-45.44L780.16 198.4c11.52-13.44 32-14.72 45.44-3.2s14.72 32 3.2 45.44L524.16 591.36c-6.4 7.04-15.36 10.88-24.32 10.88z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-delete",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M677.647059 256l0-90.352941c0-37.436235-23.461647-60.235294-61.771294-60.235294L408.094118 105.411765c-38.249412 0-61.741176 22.799059-61.741176 60.235294l0 90.352941-180.705882 0 0 60.235294 60.235294 0 0 512c0 54.272 33.972706 90.352941 90.352941 90.352941l391.529412 0c55.085176 0 90.352941-33.490824 90.352941-90.352941l0-512 60.235294 0 0-60.235294L677.647059 256zM406.588235 165.647059l210.823529 0-1.264941 90.352941L406.588235 256 406.588235 165.647059zM737.882353 858.352941l-451.764706 0 0-542.117647 451.764706 0L737.882353 858.352941zM466.823529 376.470588l-58.729412 0-1.505882 391.529412 60.235294 0L466.823529 376.470588zM617.411765 376.470588l-60.235294 0 0 391.529412 60.235294 0L617.411765 376.470588z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-reply",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M426.666667 384 426.666667 213.333333 128 512 426.666667 810.666667 426.666667 635.733333C640 635.733333 789.333333 704 896 853.333333 853.333333 640 725.333333 426.666667 426.666667 384Z"}})]),e._v(" "),n("symbol",{attrs:{id:"vssue-icon-error",viewBox:"0 0 1024 1024"}},[n("path",{attrs:{d:"M512 720m-48 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0Z"}}),e._v(" "),n("path",{attrs:{d:"M480 416v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z"}}),e._v(" "),n("path",{attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48z m-783.5-27.9L512 239.9l339.8 588.2H172.2z"}})])])},staticRenderFns:[]},void 0,Mi,void 0,!0,void 0,!1,void 0,void 0,void 0),Ai=Ei({},void 0,t.extend({name:"TransitionFade",functional:!0,props:{group:{type:Boolean,required:!1,default:!1}},render:(t,{props:e,children:n})=>t(e.group?"TransitionGroup":"Transition",{props:{name:"fade",mode:"out-in",appear:!0}},n)}),void 0,void 0,void 0,!1,void 0,void 0,void 0),Ri=Ei({},void 0,t.extend({name:"VssueIcon",functional:!0,props:{name:{type:String,required:!0},title:{type:String,required:!1,default:null}},render:(t,{props:e,data:n})=>t("svg",Object.assign(Object.assign({},n),{class:["vssue-icon",`vssue-icon-${e.name}`],attrs:{"aria-hidden":"true"}}),[t("title",e.title),t("use",{attrs:{"xlink:href":`#vssue-icon-${e.name}`}})])}),void 0,void 0,void 0,!1,void 0,void 0,void 0),Li=G(!0);N(N.P,"Array",{includes:function(t){return Li(this,t,arguments.length>1?arguments[1]:void 0)}}),k("includes");var $i=u("match"),Di=function(t){var e;return c(t)&&(void 0!==(e=t[$i])?!!e:"RegExp"==I(t))},Ni=function(t,e,n){if(Di(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(j(t))},zi=u("match");N(N.P+N.F*function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[zi]=!1,!"/./"[t](e)}catch(t){}}return!0}("includes"),"String",{includes:function(t){return!!~Ni(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}});var Vi=u("species"),qi=Math.min,Hi=[].push,Ui=!f((function(){RegExp(4294967295,"y")}));li("split",2,(function(t,e,n,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!Di(t))return n.call(r,t,e);for(var i,o,s,a=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,l=void 0===e?4294967295:e>>>0,f=new RegExp(t.source,u+"g");(i=si.call(f,r))&&!((o=f.lastIndex)>c&&(a.push(r.slice(c,i.index)),i.length>1&&i.index<r.length&&Hi.apply(a,i.slice(1)),s=i[0].length,c=o,a.length>=l));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!s&&f.test("")||a.push(""):a.push(r.slice(c)),a.length>l?a.slice(0,l):a}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),s=null==n?void 0:n[e];return void 0!==s?s.call(n,o,r):i.call(String(o),n,r)},function(t,e){var o=r(i,t,this,e,i!==n);if(o.done)return o.value;var s=l(t),a=String(this),u=function(t,e){var n,r=l(t).constructor;return void 0===r||null==(n=l(r)[Vi])?e:L(n)}(s,RegExp),c=s.unicode,f=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(Ui?"y":"g"),p=new u(Ui?s:"^(?:"+s.source+")",f),h=void 0===e?4294967295:e>>>0;if(0===h)return[];if(0===a.length)return null===Zr(p,a)?[a]:[];for(var d=0,m=0,v=[];m<a.length;){p.lastIndex=Ui?m:0;var g,y=Zr(p,Ui?a:a.slice(m));if(null===y||(g=qi(U(p.lastIndex+(Ui?0:m)),a.length))===d)m=Kr(a,m,c);else{if(v.push(a.slice(d,m)),v.length===h)return v;for(var b=1;b<=y.length-1;b++)if(v.push(y[b]),v.length===h)return v;m=d=g}}return v.push(a.slice(d)),v}]})),p&&"g"!=/./g.flags&&b.f(RegExp.prototype,"flags",{configurable:!0,get:ti});var Wi=/./.toString,Bi=function(t){R(RegExp.prototype,"toString",t,!0)};f((function(){return"/a/b"!=Wi.call({source:"a",flags:"b"})}))?Bi((function(){var t=l(this);return"/".concat(t.source,"/","flags"in t?t.flags:!p&&t instanceof RegExp?ti.call(t):void 0)})):"toString"!=Wi.name&&Bi((function(){return Wi.call(this)})),li("match",1,(function(t,e,n,r){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=r(n,t,this);if(e.done)return e.value;var i=l(t),o=String(this);if(!i.global)return Zr(i,o);var s=i.unicode;i.lastIndex=0;for(var a,u=[],c=0;null!==(a=Zr(i,o));){var f=String(a[0]);u[c]=f,""===f&&(i.lastIndex=Kr(o,U(i.lastIndex),s)),c++}return 0===c?null:u}]}));var Gi=Wr.set,Yi=function(t,e,n){var r,i=e.constructor;return i!==n&&"function"==typeof i&&(r=i.prototype)!==n.prototype&&c(r)&&Gi&&Gi(t,r),t},Ki="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff",Ji="["+Ki+"]",Qi=RegExp("^"+Ji+Ji+"*"),Xi=RegExp(Ji+Ji+"*$"),Zi=function(t,e,n){var r={},i=f((function(){return!!Ki[t]()||"​"!="​"[t]()})),o=r[t]=i?e(to):Ki[t];n&&(r[n]=o),N(N.P+N.F*i,"String",r)},to=Zi.trim=function(t,e){return t=String(j(t)),1&e&&(t=t.replace(Qi,"")),2&e&&(t=t.replace(Xi,"")),t},eo=Zi,no=Vt.f,ro=Gt.f,io=b.f,oo=eo.trim,so=r.Number,ao=so,uo=so.prototype,co="Number"==I(at(uo)),lo="trim"in String.prototype,fo=function(t){var e=g(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=lo?e.trim():oo(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,a=e.slice(2),u=0,c=a.length;u<c;u++)if((s=a.charCodeAt(u))<48||s>i)return NaN;return parseInt(a,r)}}return+e};if(!so(" 0o1")||!so("0b1")||so("+0x1")){so=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof so&&(co?f((function(){uo.valueOf.call(n)})):"Number"!=I(n))?Yi(new ao(fo(e)),n,so):fo(e)};for(var po,ho=p?no(ao):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),mo=0;ho.length>mo;mo++)F(ao,po=ho[mo])&&!F(so,po)&&io(so,po,ro(ao,po));so.prototype=uo,uo.constructor=so,R(r,"Number",so)}var vo=function(t){var e=new Date(t.getTime()),n=e.getTimezoneOffset();return e.setSeconds(0,0),6e4*n+e.getTime()%6e4};var go=function(t){return t instanceof Date},yo=36e5,bo=6e4,_o=2,wo=/[T ]/,Co=/:/,xo=/^(\d{2})$/,ko=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],So=/^(\d{4})/,Oo=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],Po=/^-(\d{2})$/,Io=/^-?(\d{3})$/,To=/^-?(\d{2})-?(\d{2})$/,jo=/^-?W(\d{2})$/,Mo=/^-?W(\d{2})-?(\d{1})$/,Eo=/^(\d{2}([.,]\d*)?)$/,Fo=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,Ao=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,Ro=/([Z+-].*)$/,Lo=/^(Z)$/,$o=/^([+-])(\d{2})$/,Do=/^([+-])(\d{2}):?(\d{2})$/;function No(t,e,n){e=e||0,n=n||0;var r=new Date(0);r.setUTCFullYear(t,0,4);var i=7*e+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}var zo=function(t,e){if(go(t))return new Date(t.getTime());if("string"!=typeof t)return new Date(t);var n=(e||{}).additionalDigits;n=null==n?_o:Number(n);var r=function(t){var e,n={},r=t.split(wo);Co.test(r[0])?(n.date=null,e=r[0]):(n.date=r[0],e=r[1]);if(e){var i=Ro.exec(e);i?(n.time=e.replace(i[1],""),n.timezone=i[1]):n.time=e}return n}(t),i=function(t,e){var n,r=ko[e],i=Oo[e];if(n=So.exec(t)||i.exec(t)){var o=n[1];return{year:parseInt(o,10),restDateString:t.slice(o.length)}}if(n=xo.exec(t)||r.exec(t)){var s=n[1];return{year:100*parseInt(s,10),restDateString:t.slice(s.length)}}return{year:null}}(r.date,n),o=i.year,s=function(t,e){if(null===e)return null;var n,r,i,o;if(0===t.length)return(r=new Date(0)).setUTCFullYear(e),r;if(n=Po.exec(t))return r=new Date(0),i=parseInt(n[1],10)-1,r.setUTCFullYear(e,i),r;if(n=Io.exec(t)){r=new Date(0);var s=parseInt(n[1],10);return r.setUTCFullYear(e,0,s),r}if(n=To.exec(t)){r=new Date(0),i=parseInt(n[1],10)-1;var a=parseInt(n[2],10);return r.setUTCFullYear(e,i,a),r}if(n=jo.exec(t))return o=parseInt(n[1],10)-1,No(e,o);if(n=Mo.exec(t)){o=parseInt(n[1],10)-1;var u=parseInt(n[2],10)-1;return No(e,o,u)}return null}(i.restDateString,o);if(s){var a,u=s.getTime(),c=0;if(r.time&&(c=function(t){var e,n,r;if(e=Eo.exec(t))return(n=parseFloat(e[1].replace(",",".")))%24*yo;if(e=Fo.exec(t))return n=parseInt(e[1],10),r=parseFloat(e[2].replace(",",".")),n%24*yo+r*bo;if(e=Ao.exec(t)){n=parseInt(e[1],10),r=parseInt(e[2],10);var i=parseFloat(e[3].replace(",","."));return n%24*yo+r*bo+1e3*i}return null}(r.time)),r.timezone)a=function(t){var e,n;if(e=Lo.exec(t))return 0;if(e=$o.exec(t))return n=60*parseInt(e[2],10),"+"===e[1]?-n:n;if(e=Do.exec(t))return n=60*parseInt(e[2],10)+parseInt(e[3],10),"+"===e[1]?-n:n;return 0}(r.timezone)*bo;else{var l=u+c,f=new Date(l);a=vo(f);var p=new Date(l);p.setDate(f.getDate()+1);var h=vo(p)-vo(f);h>0&&(a+=h)}return new Date(u+c+a)}return new Date(t)};var Vo=function(t){var e=zo(t),n=new Date(0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n};var qo=function(t){var e=zo(t);return e.setHours(0,0,0,0),e},Ho=6e4,Uo=864e5;var Wo=function(t,e){var n=qo(t),r=qo(e),i=n.getTime()-n.getTimezoneOffset()*Ho,o=r.getTime()-r.getTimezoneOffset()*Ho;return Math.round((i-o)/Uo)};var Bo=function(t){var e=zo(t);return Wo(e,Vo(e))+1};var Go=function(t,e){var n=e&&Number(e.weekStartsOn)||0,r=zo(t),i=r.getDay(),o=(i<n?7:0)+i-n;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r};var Yo=function(t){return Go(t,{weekStartsOn:1})};var Ko=function(t){var e=zo(t),n=e.getFullYear(),r=new Date(0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);var i=Yo(r),o=new Date(0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);var s=Yo(o);return e.getTime()>=i.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1};var Jo=function(t){var e=Ko(t),n=new Date(0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Yo(n)},Qo=6048e5;var Xo=function(t){var e=zo(t),n=Yo(e).getTime()-Jo(e).getTime();return Math.round(n/Qo)+1};var Zo=function(t){if(go(t))return!isNaN(t);throw new TypeError(toString.call(t)+" is not an instance of Date")};var ts=function(){var t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(e,n,r){var i;return r=r||{},i="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"in "+i:i+" ago":i}}},es=u("species"),ns=b.f,rs=Vt.f,is=r.RegExp,os=is,ss=is.prototype,as=/a/g,us=/a/g,cs=new is(as)!==as;if(p&&(!cs||f((function(){return us[u("match")]=!1,is(as)!=as||is(us)==us||"/a/i"!=is(as,"i")})))){is=function(t,e){var n=this instanceof is,r=Di(t),i=void 0===e;return!n&&r&&t.constructor===is&&i?t:Yi(cs?new os(r&&!i?t.source:t,e):os((r=t instanceof is)?t.source:t,r&&i?ti.call(t):e),n?this:ss,is)};for(var ls=function(t){t in is||ns(is,t,{configurable:!0,get:function(){return os[t]},set:function(e){os[t]=e}})},fs=rs(os),ps=0;fs.length>ps;)ls(fs[ps++]);ss.constructor=is,is.prototype=ss,R(r,"RegExp",is)}!function(t){var e=r[t];p&&e&&!e[es]&&b.f(e,es,{configurable:!0,get:function(){return this}})}("RegExp");var hs,ds,ms=[].sort,vs=[1,2,3];N(N.P+N.F*(f((function(){vs.sort(void 0)}))||!f((function(){vs.sort(null)}))||!((hs=ms)&&f((function(){ds?hs.call(null,(function(){}),1):hs.call(null)})))),"Array",{sort:function(t){return void 0===t?ms.call(ht(this)):ms.call(ht(this),L(t))}});var gs=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];var ys=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);var r=gs.concat(e).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+r.join("|")+"|.)","g")};var bs=function(){var t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],o=["AM","PM"],s=["am","pm"],a=["a.m.","p.m."],u={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return n[t.getDay()]},ddd:function(t){return r[t.getDay()]},dddd:function(t){return i[t.getDay()]},A:function(t){return t.getHours()/12>=1?o[1]:o[0]},a:function(t){return t.getHours()/12>=1?s[1]:s[0]},aa:function(t){return t.getHours()/12>=1?a[1]:a[0]}};return["M","D","DDD","d","Q","W"].forEach((function(t){u[t+"o"]=function(e,n){return function(t){var e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}(n[t](e))}})),{formatters:u,formattingTokensRegExp:ys(u)}},_s={distanceInWords:ts(),format:bs()};var ws={M:function(t){return t.getMonth()+1},MM:function(t){return ks(t.getMonth()+1,2)},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},D:function(t){return t.getDate()},DD:function(t){return ks(t.getDate(),2)},DDD:function(t){return Bo(t)},DDDD:function(t){return ks(Bo(t),3)},d:function(t){return t.getDay()},E:function(t){return t.getDay()||7},W:function(t){return Xo(t)},WW:function(t){return ks(Xo(t),2)},YY:function(t){return ks(t.getFullYear(),4).substr(2)},YYYY:function(t){return ks(t.getFullYear(),4)},GG:function(t){return String(Ko(t)).substr(2)},GGGG:function(t){return Ko(t)},H:function(t){return t.getHours()},HH:function(t){return ks(t.getHours(),2)},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return ks(ws.h(t),2)},m:function(t){return t.getMinutes()},mm:function(t){return ks(t.getMinutes(),2)},s:function(t){return t.getSeconds()},ss:function(t){return ks(t.getSeconds(),2)},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return ks(Math.floor(t.getMilliseconds()/10),2)},SSS:function(t){return ks(t.getMilliseconds(),3)},Z:function(t){return xs(t.getTimezoneOffset(),":")},ZZ:function(t){return xs(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function Cs(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|]$/g,""):t.replace(/\\/g,"")}function xs(t,e){e=e||"";var n=t>0?"-":"+",r=Math.abs(t),i=r%60;return n+ks(Math.floor(r/60),2)+e+ks(i,2)}function ks(t,e){for(var n=Math.abs(t).toString();n.length<e;)n="0"+n;return n}var Ss=function(t,e,n){var r=e?String(e):"YYYY-MM-DDTHH:mm:ss.SSSZ",i=(n||{}).locale,o=_s.format.formatters,s=_s.format.formattingTokensRegExp;i&&i.format&&i.format.formatters&&(o=i.format.formatters,i.format.formattingTokensRegExp&&(s=i.format.formattingTokensRegExp));var a=zo(t);return Zo(a)?function(t,e,n){var r,i,o=t.match(n),s=o.length;for(r=0;r<s;r++)i=e[o[r]]||ws[o[r]],o[r]=i||Cs(o[r]);return function(t){for(var e="",n=0;n<s;n++)o[n]instanceof Function?e+=o[n](t,ws):e+=o[n];return e}}(r,o,s)(a):"Invalid Date"},Os=Object.prototype.hasOwnProperty,Ps=Array.isArray,Is=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Ts=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n},js={arrayToObject:Ts,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],o=i.obj[i.prop],s=Object.keys(o),a=0;a<s.length;++a){var u=s[a],c=o[u];"object"===Hr(c)&&null!==c&&-1===n.indexOf(c)&&(e.push({obj:o,prop:u}),n.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(Ps(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n){if(0===t.length)return t;var r=t;if("symbol"===Hr(t)?r=Symbol.prototype.toString.call(t):"string"!=typeof t&&(r=String(t)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var i="",o=0;o<r.length;++o){var s=r.charCodeAt(o);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+=r.charAt(o):s<128?i+=Is[s]:s<2048?i+=Is[192|s>>6]+Is[128|63&s]:s<55296||s>=57344?i+=Is[224|s>>12]+Is[128|s>>6&63]+Is[128|63&s]:(o+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(o)),i+=Is[240|s>>18]+Is[128|s>>12&63]+Is[128|s>>6&63]+Is[128|63&s])}return i},isBuffer:function(t){return!(!t||"object"!==Hr(t))&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},merge:function t(e,n,r){if(!n)return e;if("object"!==Hr(n)){if(Ps(e))e.push(n);else{if(!e||"object"!==Hr(e))return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!Os.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!==Hr(e))return[e].concat(n);var i=e;return Ps(e)&&!Ps(n)&&(i=Ts(e,r)),Ps(e)&&Ps(n)?(n.forEach((function(n,i){if(Os.call(e,i)){var o=e[i];o&&"object"===Hr(o)&&n&&"object"===Hr(n)?e[i]=t(o,n,r):e.push(n)}else e[i]=n})),e):Object.keys(n).reduce((function(e,i){var o=n[i];return Os.call(e,i)?e[i]=t(e[i],o,r):e[i]=o,e}),i)}},Ms=String.prototype.replace,Es=/%20/g,Fs={RFC1738:"RFC1738",RFC3986:"RFC3986"},As=js.assign({default:Fs.RFC3986,formatters:{RFC1738:function(t){return Ms.call(t,Es,"+")},RFC3986:function(t){return String(t)}}},Fs),Rs=Object.prototype.hasOwnProperty,Ls={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},$s=Array.isArray,Ds=Array.prototype.push,Ns=function(t,e){Ds.apply(t,$s(e)?e:[e])},zs=Date.prototype.toISOString,Vs=As.default,qs={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:js.encode,encodeValuesOnly:!1,format:Vs,formatter:As.formatters[Vs],indices:!1,serializeDate:function(t){return zs.call(t)},skipNulls:!1,strictNullHandling:!1},Hs=function t(e,n,r,i,o,s,a,u,c,l,f,p,h){var d,m=e;if("function"==typeof a?m=a(n,m):m instanceof Date?m=l(m):"comma"===r&&$s(m)&&(m=m.join(",")),null===m){if(i)return s&&!p?s(n,qs.encoder,h,"key"):n;m=""}if("string"==typeof(d=m)||"number"==typeof d||"boolean"==typeof d||"symbol"===Hr(d)||"bigint"==typeof d||js.isBuffer(m))return s?[f(p?n:s(n,qs.encoder,h,"key"))+"="+f(s(m,qs.encoder,h,"value"))]:[f(n)+"="+f(String(m))];var v,g=[];if(void 0===m)return g;if($s(a))v=a;else{var y=Object.keys(m);v=u?y.sort(u):y}for(var b=0;b<v.length;++b){var _=v[b];o&&null===m[_]||($s(m)?Ns(g,t(m[_],"function"==typeof r?r(n,_):n,r,i,o,s,a,u,c,l,f,p,h)):Ns(g,t(m[_],n+(c?"."+_:"["+_+"]"),r,i,o,s,a,u,c,l,f,p,h)))}return g},Us=Object.prototype.hasOwnProperty,Ws=Array.isArray,Bs={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:js.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Gs=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},Ys=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,o=n.depth>0&&/(\[[^[\]]*])/.exec(r),s=o?r.slice(0,o.index):r,a=[];if(s){if(!n.plainObjects&&Us.call(Object.prototype,s)&&!n.allowPrototypes)return;a.push(s)}for(var u=0;n.depth>0&&null!==(o=i.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&Us.call(Object.prototype,o[1].slice(1,-1))&&!n.allowPrototypes)return;a.push(o[1])}return o&&a.push("["+r.slice(o.index)+"]"),function(t,e,n){for(var r=e,i=t.length-1;i>=0;--i){var o,s=t[i];if("[]"===s&&n.parseArrays)o=[].concat(r);else{o=n.plainObjects?Object.create(null):{};var a="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(a,10);n.parseArrays||""!==a?!isNaN(u)&&s!==a&&String(u)===a&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(o=[])[u]=r:o[a]=r:o={0:r}}r=o}return r}(a,e,n)}},Ks=function(t,e){var n=function(t){if(!t)return Bs;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?Bs.charset:t.charset;return{allowDots:void 0===t.allowDots?Bs.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:Bs.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:Bs.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:Bs.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:Bs.comma,decoder:"function"==typeof t.decoder?t.decoder:Bs.decoder,delimiter:"string"==typeof t.delimiter||js.isRegExp(t.delimiter)?t.delimiter:Bs.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:Bs.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:Bs.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:Bs.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:Bs.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:Bs.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof t?function(t,e){var n,r={},i=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=e.parameterLimit===1/0?void 0:e.parameterLimit,s=i.split(e.delimiter,o),a=-1,u=e.charset;if(e.charsetSentinel)for(n=0;n<s.length;++n)0===s[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===s[n]?u="utf-8":"utf8=%26%2310003%3B"===s[n]&&(u="iso-8859-1"),a=n,n=s.length);for(n=0;n<s.length;++n)if(n!==a){var c,l,f=s[n],p=f.indexOf("]="),h=-1===p?f.indexOf("="):p+1;-1===h?(c=e.decoder(f,Bs.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(f.slice(0,h),Bs.decoder,u,"key"),l=e.decoder(f.slice(h+1),Bs.decoder,u,"value")),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=Gs(l)),l&&"string"==typeof l&&e.comma&&l.indexOf(",")>-1&&(l=l.split(",")),f.indexOf("[]=")>-1&&(l=Ws(l)?[l]:l),Us.call(r,c)?r[c]=js.combine(r[c],l):r[c]=l}return r}(t,n):t,i=n.plainObjects?Object.create(null):{},o=Object.keys(r),s=0;s<o.length;++s){var a=o[s],u=Ys(a,r[a],n);i=js.merge(i,u,n)}return js.compact(i)},Js=function(t,e){var n,r=t,i=function(t){if(!t)return qs;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||qs.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=As.default;if(void 0!==t.format){if(!Rs.call(As.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=As.formatters[n],i=qs.filter;return("function"==typeof t.filter||$s(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:qs.addQueryPrefix,allowDots:void 0===t.allowDots?qs.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:qs.charsetSentinel,delimiter:void 0===t.delimiter?qs.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:qs.encode,encoder:"function"==typeof t.encoder?t.encoder:qs.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:qs.encodeValuesOnly,filter:i,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:qs.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:qs.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:qs.strictNullHandling}}(e);"function"==typeof i.filter?r=(0,i.filter)("",r):$s(i.filter)&&(n=i.filter);var o,s=[];if("object"!==Hr(r)||null===r)return"";o=e&&e.arrayFormat in Ls?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var a=Ls[o];n||(n=Object.keys(r)),i.sort&&n.sort(i.sort);for(var u=0;u<n.length;++u){var c=n[u];i.skipNulls&&null===r[c]||Ns(s,Hs(r[c],c,a,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.formatter,i.encodeValuesOnly,i.charset))}var l=s.join(i.delimiter),f=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?f+="utf8=%26%2310003%3B&":f+="utf8=%E2%9C%93&"),l.length>0?f+l:""},Qs=function(t,e){var n=Js(e,{addQueryPrefix:!0});return"".concat(t).concat(n)},Xs=function(t,e){var n=t.replace(/\/$/,""),r=e.replace(/^\//,"");return"".concat(n,"/").concat(r)},Zs=function(t){return(t.split("#")[0]||"").split("?")[0]||""},ta=function(t){return Ss(t,"YYYY-MM-DD HH:mm:ss")};let ea=class extends t{constructor(){super(...arguments),this.editMode=!1,this.editContent=this.comment.contentRaw,this.creatingReactions=[],this.isPutingComment=!1,this.isDeletingComment=!1}get currentUser(){return this.vssue.user?this.vssue.user.username:null}get content(){return this.comment.content}get author(){return this.comment.author}get createdAt(){return ta(this.comment.createdAt)}get updatedAt(){return ta(this.comment.updatedAt)}get showReactions(){return Boolean(this.vssue.API&&this.vssue.API.platform.meta.reactable&&this.comment.reactions&&!this.editMode)}get reactionKeys(){return["heart","like","unlike"]}get editContentRows(){return this.editContent.split("\n").length-1}get editInputRows(){return this.editContentRows<3?5:this.editContentRows+2}async postReaction({reaction:t}){try{if(this.creatingReactions.includes(t))return;this.creatingReactions.push(t),await this.vssue.postCommentReaction({commentId:this.comment.id,reaction:t})||this.vssue.$emit("error",new Error(this.vssue.$t("reactionGiven",{reaction:this.vssue.$t(t)})));const e=await this.vssue.getCommentReactions({commentId:this.comment.id});e&&(this.comment.reactions=e)}finally{this.creatingReactions.splice(this.creatingReactions.findIndex(e=>e===t),1)}}enterEdit(){this.editMode=!0,this.$nextTick(()=>{this.$refs.input.focus()})}resetEdit(){this.editMode=!1,this.editContent=this.comment.contentRaw}async putComment(){try{if(this.vssue.isPending)return;if(this.editContent!==this.comment.contentRaw){this.isPutingComment=!0,this.vssue.isUpdatingComment=!0;const t=await this.vssue.putComment({commentId:this.comment.id,content:this.editContent});t&&this.vssue.comments.data.splice(this.vssue.comments.data.findIndex(t=>t.id===this.comment.id),1,t)}this.editMode=!1}finally{this.isPutingComment=!1,this.vssue.isUpdatingComment=!1}}async deleteComment(){try{if(this.vssue.isPending)return;if(!window.confirm(this.vssue.$t("deleteConfirm")))return;this.isDeletingComment=!0,this.vssue.isUpdatingComment=!0,await this.vssue.deleteComment({commentId:this.comment.id})?(this.vssue.comments.count-=1,this.vssue.comments.data.length>1&&this.vssue.comments.data.splice(this.vssue.comments.data.findIndex(t=>t.id===this.comment.id),1),this.vssue.query.page>1&&this.vssue.query.page>Math.ceil(this.vssue.comments.count/this.vssue.query.perPage)?this.vssue.query.page-=1:await this.vssue.getComments()):this.vssue.$emit("error",new Error(this.vssue.$t("deleteFailed")))}finally{this.isDeletingComment=!1,this.vssue.isUpdatingComment=!1}}};Br([Ti({type:Object,required:!0})],ea.prototype,"comment",void 0),Br([Pi()],ea.prototype,"vssue",void 0),ea=Br([Oi({components:{VssueIcon:Ri}})],ea);var na=Ei({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-comment",class:{"vssue-comment-edit-mode":t.editMode,"vssue-comment-disabled":t.isDeletingComment||t.isPutingComment}},[n("div",{staticClass:"vssue-comment-avatar"},[n("a",{attrs:{href:t.author.homepage,title:t.author.username,target:"_blank"}},[n("img",{attrs:{src:t.author.avatar}})])]),t._v(" "),n("div",{staticClass:"vssue-comment-body"},[t._t("body",[n("div",{staticClass:"vssue-comment-header"},[n("span",{staticClass:"vssue-comment-author"},[n("a",{attrs:{href:t.author.homepage,title:t.author.username,target:"_blank"}},[t._v("\n            "+t._s(t.author.username)+"\n          ")])]),t._v(" "),n("span",{staticClass:"vssue-comment-created-at"},[t._v("\n          "+t._s(t.createdAt)+"\n        ")])]),t._v(" "),n("div",{staticClass:"vssue-comment-main"},[t.editMode?n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.editContent,expression:"editContent"}],ref:"input",staticClass:"vssue-edit-comment-input",attrs:{rows:t.editInputRows},domProps:{value:t.editContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey?t.putComment():null},input:function(e){e.target.composing||(t.editContent=e.target.value)}}}):n("article",{staticClass:"markdown-body",domProps:{innerHTML:t._s(t.content)}})]),t._v(" "),n("div",{staticClass:"vssue-comment-footer"},[t.editMode?n("span",{staticClass:"vssue-comment-hint"},[t._v("\n          "+t._s(t.vssue.$t("editMode"))+"\n        ")]):t._e(),t._v(" "),t.showReactions?n("span",{staticClass:"vssue-comment-reactions"},t._l(t.reactionKeys,(function(e){return n("span",{key:e,staticClass:"vssue-comment-reaction",attrs:{title:t.vssue.$t(t.creatingReactions.includes(e)?"loading":e)},on:{click:function(n){return t.postReaction({reaction:e})}}},[n("VssueIcon",{attrs:{name:t.creatingReactions.includes(e)?"loading":e,title:t.vssue.$t(t.creatingReactions.includes(e)?"loading":e)}}),t._v(" "),n("span",{staticClass:"vssue-comment-reaction-number"},[t._v("\n              "+t._s(t.comment.reactions[e])+"\n            ")])],1)})),0):t._e(),t._v(" "),n("span",{staticClass:"vssue-comment-operations"},[t.comment.author.username===t.currentUser&&t.editMode?n("span",{staticClass:"vssue-comment-operation",class:{"vssue-comment-operation-muted":t.isPutingComment},attrs:{title:t.vssue.$t(t.isPutingComment?"loading":"submit")},on:{click:function(e){return t.putComment()}}},[n("VssueIcon",{directives:[{name:"show",rawName:"v-show",value:t.isPutingComment,expression:"isPutingComment"}],attrs:{name:"loading",title:t.vssue.$t("loading")}}),t._v("\n\n            "+t._s(t.vssue.$t("submit"))+"\n          ")],1):t._e(),t._v(" "),t.comment.author.username===t.currentUser&&t.editMode?n("span",{staticClass:"vssue-comment-operation vssue-comment-operation-muted",attrs:{title:t.vssue.$t("cancel")},on:{click:function(e){return t.resetEdit()}}},[t._v("\n            "+t._s(t.vssue.$t("cancel"))+"\n          ")]):t._e(),t._v(" "),t.comment.author.username===t.currentUser?n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.enterEdit()}}},[n("VssueIcon",{attrs:{name:"edit",title:t.vssue.$t("edit")}})],1):t._e(),t._v(" "),t.comment.author.username===t.currentUser||t.vssue.isAdmin?n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.deleteComment()}}},[n("VssueIcon",{attrs:{name:t.isDeletingComment?"loading":"delete",title:t.vssue.$t(t.isDeletingComment?"loading":"delete")}})],1):t._e(),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:!t.editMode,expression:"!editMode"}],staticClass:"vssue-comment-operation",on:{click:function(e){return t.vssue.$emit("reply-comment",t.comment)}}},[n("VssueIcon",{attrs:{name:"reply",title:t.vssue.$t("reply")}})],1)])])])],2)])},staticRenderFns:[]},void 0,ea,void 0,!1,void 0,!1,void 0,void 0,void 0);let ra=class extends t{get disabled(){return this.vssue.isPending}get pageCount(){const t=Math.ceil(this.vssue.comments.count/this.vssue.comments.perPage);return t>1?t:1}get perPageOptions(){const t=[5,10,20,50];return!t.includes(this.vssue.options.perPage)&&this.vssue.options.perPage<100&&t.push(this.vssue.options.perPage),t.sort((t,e)=>t-e)}get page(){return this.vssue.query.page>this.pageCount?this.pageCount:this.vssue.query.page}set page(t){t>0&&t<=this.pageCount&&(this.vssue.query.page=t)}get perPage(){return this.vssue.query.perPage}set perPage(t){this.perPageOptions.includes(t)&&(this.vssue.query.perPage=t)}};Br([Pi()],ra.prototype,"vssue",void 0),ra=Br([Oi({components:{VssueIcon:Ri}})],ra);var ia=Ei({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-pagination"},[n("div",{staticClass:"vssue-pagination-per-page"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.perPage,expression:"perPage"}],staticClass:"vssue-pagination-select",attrs:{disabled:t.disabled},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.perPage=e.target.multiple?n:n[0]}}},t._l(t.perPageOptions,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v("\n        "+t._s(e)+"\n      ")])})),0),t._v(" "),n("span",[t._v("\n      "+t._s(t.vssue.$t("perPage"))+"\n    ")]),t._v(" "),t.vssue.API.platform.meta.sortable?n("span",{class:{"vssue-pagination-link":!0,disabled:t.disabled},attrs:{title:t.vssue.$t("sort")},on:{click:function(e){t.vssue.query.sort="asc"===t.vssue.query.sort?"desc":"asc"}}},[t._v("\n      "+t._s("asc"===t.vssue.query.sort?"↑":"↓")+"\n    ")]):t._e()]),t._v(" "),n("div",{staticClass:"vssue-pagination-page"},[n("span",{class:{"vssue-pagination-link":!0,disabled:1===t.page||t.disabled},attrs:{title:t.vssue.$t("prev")},domProps:{textContent:t._s("<")},on:{click:function(e){t.page-=1}}}),t._v(" "),n("span",[t._v("\n      "+t._s(t.vssue.$t("page"))+"\n    ")]),t._v(" "),n("select",{directives:[{name:"show",rawName:"v-show",value:t.pageCount>1,expression:"pageCount > 1"},{name:"model",rawName:"v-model",value:t.page,expression:"page"}],staticClass:"vssue-pagination-select",attrs:{disabled:t.disabled},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.page=e.target.multiple?n:n[0]}}},t._l(t.pageCount,(function(e){return n("option",{key:e,domProps:{value:e}},[t._v("\n        "+t._s(e)+"\n      ")])})),0),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.pageCount<2,expression:"pageCount < 2"}],domProps:{textContent:t._s(t.page)}}),t._v(" "),n("span",{domProps:{textContent:t._s(" / "+t.pageCount+" ")}}),t._v(" "),n("span",{class:{"vssue-pagination-link":!0,disabled:t.page===t.pageCount||t.disabled},attrs:{title:t.vssue.$t("next")},domProps:{textContent:t._s(">")},on:{click:function(e){t.page+=1}}})])])},staticRenderFns:[]},void 0,ra,void 0,!1,void 0,!1,void 0,void 0,void 0);let oa=class extends t{};Br([Pi()],oa.prototype,"vssue",void 0),oa=Br([Oi({components:{TransitionFade:Ai,VssueComment:na,VssuePagination:ia}})],oa);var sa=Ei({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vssue-comments"},[e("VssuePagination"),this._v(" "),e("TransitionFade",{attrs:{group:""}},this._l(this.vssue.comments.data,(function(t){return e("VssueComment",{key:t.id,attrs:{comment:t}})})),1),this._v(" "),e("VssuePagination",{directives:[{name:"show",rawName:"v-show",value:this.vssue.comments.data.length>5,expression:"vssue.comments.data.length > 5"}]})],1)},staticRenderFns:[]},void 0,oa,void 0,!1,void 0,!1,void 0,void 0,void 0),aa=Ei({},void 0,t.extend({name:"VssueIcon",functional:!0,props:{type:{type:String,required:!1,default:"default"}},render:(t,{props:e,data:n,children:r})=>t("button",Object.assign(Object.assign({},n),{class:["vssue-button",`vssue-button-${e.type}`]}),r)}),void 0,void 0,void 0,!1,void 0,void 0,void 0);let ua=class extends t{constructor(){super(...arguments),this.content=""}get user(){return this.vssue.user}get platform(){return this.vssue.API&&this.vssue.API.platform.name}get isInputDisabled(){return this.loading||null===this.user||null===this.vssue.issue}get isSubmitDisabled(){return""===this.content||this.vssue.isPending||null===this.vssue.issue}get loading(){return this.vssue.isCreatingComment}get contentRows(){return this.content.split("\n").length-1}get inputRows(){return this.contentRows<3?5:this.contentRows+2}created(){this.vssue.$on("reply-comment",t=>{const e=t.contentRaw.replace(/\n/g,"\n> "),n=`@${t.author.username}\n\n> ${e}\n\n`;this.content=this.content.concat(n),this.focus()})}beforeDestroy(){this.vssue.$off("reply-comment")}focus(){this.$refs.input.focus()}async submit(){this.isSubmitDisabled||(await this.vssue.postComment({content:this.content}),this.content="",await this.vssue.getComments())}};Br([Pi()],ua.prototype,"vssue",void 0),ua=Br([Oi({components:{VssueButton:aa,VssueIcon:Ri}})],ua);var ca=Ei({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-new-comment"},[n("div",{staticClass:"vssue-comment-avatar"},[t.user?n("a",{attrs:{href:t.user.homepage,title:t.user.username,target:"_blank"}},[n("img",{attrs:{src:t.user.avatar}})]):n("VssueIcon",{attrs:{name:t.platform.toLowerCase(),title:t.vssue.$t("loginToComment",{platform:t.platform})},on:{click:function(e){return t.vssue.login()}}})],1),t._v(" "),n("div",{staticClass:"vssue-new-comment-body"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],ref:"input",staticClass:"vssue-new-comment-input",attrs:{rows:t.inputRows,disabled:t.isInputDisabled,placeholder:t.vssue.$t(t.user?"placeholder":"noLoginPlaceHolder"),spellcheck:!1},domProps:{value:t.content},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey?t.submit():null},input:function(e){e.target.composing||(t.content=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"vssue-new-comment-footer"},[t.user?n("span",{staticClass:"vssue-current-user"},[n("span",[t._v(t._s(t.vssue.$t("currentUser"))+" - "+t._s(t.user.username)+" - ")]),t._v(" "),n("a",{staticClass:"vssue-logout",on:{click:function(e){return t.vssue.logout()}}},[t._v("\n        "+t._s(t.vssue.$t("logout"))+"\n      ")])]):n("span",{staticClass:"vssue-current-user"},[t._v("\n      "+t._s(t.vssue.$t("loginToComment",{platform:t.platform}))+"\n    ")]),t._v(" "),n("div",{staticClass:"vssue-new-comment-operations"},[t.user?n("VssueButton",{staticClass:"vssue-button-submit-comment",attrs:{type:"primary",disabled:t.isSubmitDisabled},on:{click:function(e){return t.submit()}}},[n("VssueIcon",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],attrs:{name:"loading"}}),t._v("\n\n        "+t._s(t.vssue.$t(t.loading?"submitting":"submitComment"))+"\n      ")],1):n("VssueButton",{staticClass:"vssue-button-login",attrs:{type:"primary",title:t.vssue.$t("loginToComment",{platform:t.platform})},on:{click:function(e){return t.vssue.login()}}},[t._v("\n        "+t._s(t.vssue.$t("login",{platform:t.platform}))+"\n      ")])],1)])])},staticRenderFns:[]},void 0,ua,void 0,!1,void 0,!1,void 0,void 0,void 0);let la=class extends t{constructor(){super(...arguments),this.progress={show:!1,percent:0,timer:null,speed:200},this.alert={show:!1,message:null,timer:null}}onLoadingCommentsChange(t){this.vssue.comments&&(t?this.progressStart():this.progressDone())}created(){this.vssue.$on("error",t=>this.alertShow(t.message))}beforeDestroy(){this.vssue.$off("error"),null!==this.progress.timer&&window.clearTimeout(this.progress.timer),null!==this.alert.timer&&window.clearTimeout(this.alert.timer)}progressStart(){this.progress.show=!0,this.progress.percent=0,this.progress.timer=window.setInterval(()=>{this.progress.percent+=5,this.progress.percent>94&&null!==this.progress.timer&&window.clearInterval(this.progress.timer)},this.progress.speed)}progressDone(){this.progress.percent=100,null!==this.progress.timer&&window.clearTimeout(this.progress.timer),this.progress.timer=null,window.setTimeout(()=>{this.progress.show=!1},this.progress.speed)}alertShow(t){this.alert.show=!0,this.alert.message=t,null!==this.alert.timer&&window.clearTimeout(this.alert.timer),this.alert.timer=window.setTimeout(()=>{this.alertHide()},3e3)}alertHide(){this.alert.show=!1,null!==this.alert.timer&&window.clearTimeout(this.alert.timer),this.alert.timer=null}};Br([Pi()],la.prototype,"vssue",void 0),Br([ji("vssue.isLoadingComments")],la.prototype,"onLoadingCommentsChange",null),la=Br([Oi({components:{TransitionFade:Ai}})],la);var fa=Ei({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-notice"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.progress.show,expression:"progress.show"}],staticClass:"vssue-progress",style:{width:t.progress.percent+"%",transition:"all "+t.progress.speed+"ms linear"}}),t._v(" "),n("TransitionFade",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.alert.show,expression:"alert.show"}],staticClass:"vssue-alert",domProps:{textContent:t._s(t.alert.message)},on:{click:function(e){return t.alertHide()}}})])],1)},staticRenderFns:[]},void 0,la,void 0,!1,void 0,!1,void 0,void 0,void 0);let pa=class extends t{get status(){return this.vssue.isFailed?"failed":this.vssue.isInitializing?"initializing":this.vssue.isIssueNotCreated&&!this.vssue.isCreatingIssue?this.vssue.isAdmin||!this.vssue.isLogined?"issueNotCreated":"failed":this.vssue.isLoginRequired?"loginRequired":!this.vssue.comments||this.vssue.isCreatingIssue?"loadingComments":0===this.vssue.comments.data.length?"noComments":null}handleClick(){"issueNotCreated"===this.status?this.vssue.postIssue():"loginRequired"===this.status&&this.vssue.login()}};Br([Pi()],pa.prototype,"vssue",void 0),pa=Br([Oi({components:{TransitionFade:Ai,VssueIcon:Ri}})],pa);var ha=Ei({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("TransitionFade",[t.status?n("div",{key:t.status,staticClass:"vssue-status"},[["failed","loadingComments","initializing"].includes(t.status)?n("VssueIcon",{attrs:{name:"failed"===t.status?"error":"loading"}}):t._e(),t._v(" "),n("p",{staticClass:"vssue-status-info"},[n(["issueNotCreated","loginRequired"].includes(t.status)?"a":"span",{tag:"Component",on:{click:t.handleClick}},[t._v("\n        "+t._s(t.vssue.$t(t.status))+"\n      ")])],1)],1):t._e()])},staticRenderFns:[]},void 0,pa,void 0,!1,void 0,!1,void 0,void 0,void 0);let da=class extends t{};Br([Pi()],da.prototype,"vssue",void 0),da=Br([Oi({components:{TransitionFade:Ai,VssueIcon:Ri,VssueComments:sa,VssueNewComment:ca,VssueNotice:fa,VssueStatus:ha}})],da);var ma=Ei({render:function(){var t=this.$createElement,e=this._self._c||t;return e("TransitionFade",[this.vssue.isInitializing?e("VssueStatus"):e("div",{staticClass:"vssue-body"},[this.vssue.API?e("VssueNewComment"):this._e(),this._v(" "),e("VssueNotice"),this._v(" "),e("TransitionFade",[this.vssue.comments&&this.vssue.comments.data.length>0?e("VssueComments"):e("VssueStatus")],1)],1)],1)},staticRenderFns:[]},void 0,da,void 0,!1,void 0,!1,void 0,void 0,void 0),va=/"/g,ga=function(t,e,n,r){var i=String(j(t)),o="<"+e;return""!==n&&(o+=" "+n+'="'+String(r).replace(va,"&quot;")+'"'),o+">"+i+"</"+e+">"};!function(t,e){var n={};n[t]=e(ga),N(N.P+N.F*f((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}("link",(function(t){return function(e){return t(this,"a","href",e)}}));let ya=class extends t{};Br([Pi()],ya.prototype,"vssue",void 0),ya=Br([Oi],ya);var ba=Ei({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vssue-header"},[n("a",{staticClass:"vssue-header-comments-count",attrs:{href:t.vssue.issue?t.vssue.issue.link:null,target:"_blank"}},[n("span",[t._v("\n      "+t._s(t.vssue.comments?t.vssue.$tc("comments",t.vssue.comments.count,{count:t.vssue.comments.count}):t.vssue.$tc("comments",0))+"\n    ")])]),t._v(" "),n("span",{staticClass:"vssue-header-powered-by"},[n("span",[t._v("Powered by")]),t._v(" "),t.vssue.API?n("span",[n("a",{attrs:{href:t.vssue.API.platform.link,target:"_blank",title:t.vssue.API.platform.name+" API "+t.vssue.API.platform.version}},[t._v("\n        "+t._s(t.vssue.API.platform.name)+"\n      ")]),t._v(" "),n("span",[t._v("&")])]):t._e(),t._v(" "),n("a",{attrs:{href:"https://github.com/meteorlxy/vssue",target:"_blank",title:"Vssue v"+t.vssue.version}},[t._v("\n      Vssue\n    ")])])])},staticRenderFns:[]},void 0,ya,void 0,!1,void 0,!1,void 0,void 0,void 0),_a=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];function wa(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function Ca(t){return null!==t&&"object"===Hr(t)}var xa=Object.prototype.toString,ka="[object Object]";function Sa(t){return xa.call(t)===ka}function Oa(t){return null==t}function Pa(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,r=null;return 1===t.length?Ca(t[0])||Array.isArray(t[0])?r=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(Ca(t[1])||Array.isArray(t[1]))&&(r=t[1])),{locale:n,params:r}}function Ia(t){return JSON.parse(JSON.stringify(t))}var Ta=Object.prototype.hasOwnProperty;function ja(t,e){return Ta.call(t,e)}function Ma(t){for(var e=arguments,n=Object(t),r=1;r<arguments.length;r++){var i=e[r];if(null!=i){var o=void 0;for(o in i)ja(i,o)&&(Ca(i[o])?n[o]=Ma(n[o],i[o]):n[o]=i[o])}}return n}function Ea(t,e){if(t===e)return!0;var n=Ca(t),r=Ca(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return Ea(t,e[n])}));if(i||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return Ea(t[n],e[n])}))}catch(t){return!1}}var Fa={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n){if(t.i18n instanceof yu){if(t.__i18n)try{var e={};t.__i18n.forEach((function(t){e=Ma(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Sa(t.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof yu&&(t.i18n.root=this.$root,t.i18n.formatter=this.$root.$i18n.formatter,t.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,t.i18n.formatFallbackMessages=this.$root.$i18n.formatFallbackMessages,t.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,t.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,t.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,t.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),t.__i18n)try{var n={};t.__i18n.forEach((function(t){n=Ma(n,JSON.parse(t))})),t.i18n.messages=n}catch(t){}var r=t.i18n.sharedMessages;r&&Sa(r)&&(t.i18n.messages=Ma(t.i18n.messages,r)),this._i18n=new yu(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof yu?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof yu&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?t.i18n instanceof yu?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):Sa(t.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof yu?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof yu&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher),t._i18n=null}))}}},Aa={name:"i18n",functional:!0,props:{tag:{type:String},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,i=e.props,o=e.slots,s=r.$i18n;if(s){var a=i.path,u=i.locale,c=i.places,l=o(),f=s.i(a,u,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(l)||c?function(t,e){var n=e?function(t){return Array.isArray(t)?t.reduce(La,{}):Object.assign({},t)}(e):{};if(!t)return n;var r=(t=t.filter((function(t){return t.tag||""!==t.text.trim()}))).every($a);return t.reduce(r?Ra:La,n)}(l.default,c):l),p=i.tag||"span";return p?t(p,n,f):f}}};function Ra(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function La(t,e,n){return t[n]=e,t}function $a(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var Da,Na={name:"i18n-n",functional:!0,props:{tag:{type:String,default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,r=e.parent,i=e.data,o=r.$i18n;if(!o)return null;var s=null,a=null;"string"==typeof n.format?s=n.format:Ca(n.format)&&(n.format.key&&(s=n.format.key),a=Object.keys(n.format).reduce((function(t,e){var r;return _a.includes(e)?Object.assign({},t,((r={})[e]=n.format[e],r)):t}),null));var u=n.locale||o.locale,c=o._ntp(n.value,u,s,a),l=c.map((function(t,e){var n,r=i.scopedSlots&&i.scopedSlots[t.type];return r?r(((n={})[t.type]=t.value,n.index=e,n.parts=c,n)):t.value}));return t(n.tag,{attrs:i.attrs,class:i.class,staticClass:i.staticClass},l)}};function za(t,e,n){Ha(t,n)&&Ua(t,e,n)}function Va(t,e,n,r){if(Ha(t,n)){var i=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&Ea(e.value,e.oldValue)&&Ea(t._localeMessage,i.getLocaleMessage(i.locale))||Ua(t,e,n)}}function qa(t,e,n,r){if(n.context){var i=n.context.$i18n||{};e.modifiers.preserve||i.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else wa("Vue instance does not exists in VNode context")}function Ha(t,e){var n=e.context;return n?!!n.$i18n||(wa("VueI18n instance does not exists in Vue instance"),!1):(wa("Vue instance does not exists in VNode context"),!1)}function Ua(t,e,n){var r,i,o=function(t){var e,n,r,i;"string"==typeof t?e=t:Sa(t)&&(e=t.path,n=t.locale,r=t.args,i=t.choice);return{path:e,locale:n,args:r,choice:i}}(e.value),s=o.path,a=o.locale,u=o.args,c=o.choice;if(s||a||u)if(s){var l=n.context;t._vt=t.textContent=c?(r=l.$i18n).tc.apply(r,[s,c].concat(Wa(a,u))):(i=l.$i18n).t.apply(i,[s].concat(Wa(a,u))),t._locale=l.$i18n.locale,t._localeMessage=l.$i18n.getLocaleMessage(l.$i18n.locale)}else wa("`path` is required in v-t directive");else wa("value type not supported")}function Wa(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||Sa(e))&&n.push(e),n}function Ba(t){Ba.installed=!0;(Da=t).version&&Number(Da.version.split(".")[0]);!function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}(Da),Da.mixin(Fa),Da.directive("t",{bind:za,update:Va,unbind:qa}),Da.component(Aa.name,Aa),Da.component(Na.name,Na),Da.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var Ga=function(){this._caches=Object.create(null)};Ga.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,r="";for(;n<t.length;){var i=t[n++];if("{"===i){r&&e.push({type:"text",value:r}),r="";var o="";for(i=t[n++];void 0!==i&&"}"!==i;)o+=i,i=t[n++];var s="}"===i,a=Ya.test(o)?"list":s&&Ka.test(o)?"named":"unknown";e.push({value:o,type:a})}else"%"===i?"{"!==t[n]&&(r+=i):r+=i}return r&&e.push({type:"text",value:r}),e}(t),this._caches[t]=n),function(t,e){var n=[],r=0,i=Array.isArray(e)?"list":Ca(e)?"named":"unknown";if("unknown"===i)return n;for(;r<t.length;){var o=t[r];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(e[parseInt(o.value,10)]);break;case"named":"named"===i&&n.push(e[o.value])}r++}return n}(n,e)};var Ya=/^(?:\d)+/,Ka=/^(?:\w)+/;var Ja=0,Qa=1,Xa=2,Za=3,tu=0,eu=4,nu=5,ru=6,iu=7,ou=8,su=[];su[tu]={ws:[tu],ident:[3,Ja],"[":[eu],eof:[iu]},su[1]={ws:[1],".":[2],"[":[eu],eof:[iu]},su[2]={ws:[2],ident:[3,Ja],0:[3,Ja],number:[3,Ja]},su[3]={ident:[3,Ja],0:[3,Ja],number:[3,Ja],ws:[1,Qa],".":[2,Qa],"[":[eu,Qa],eof:[iu,Qa]},su[eu]={"'":[nu,Ja],'"':[ru,Ja],"[":[eu,Xa],"]":[1,Za],eof:ou,else:[eu,Ja]},su[nu]={"'":[eu,Ja],eof:ou,else:[nu,Ja]},su[ru]={'"':[eu,Ja],eof:ou,else:[ru,Ja]};var au=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function uu(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function cu(t){var e,n,r,i=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(r=i,au.test(r)?(n=(e=i).charCodeAt(0))!==e.charCodeAt(e.length-1)||34!==n&&39!==n?e:e.slice(1,-1):"*"+i)}var lu=function(){this._cache=Object.create(null)};lu.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=function(t){var e,n,r,i,o,s,a,u=[],c=-1,l=tu,f=0,p=[];function h(){var e=t[c+1];if(l===nu&&"'"===e||l===ru&&'"'===e)return c++,r="\\"+e,p[Ja](),!0}for(p[Qa]=function(){void 0!==n&&(u.push(n),n=void 0)},p[Ja]=function(){void 0===n?n=r:n+=r},p[Xa]=function(){p[Ja](),f++},p[Za]=function(){if(f>0)f--,l=eu,p[Ja]();else{if(f=0,void 0===n)return!1;if(!1===(n=cu(n)))return!1;p[Qa]()}};null!==l;)if(c++,"\\"!==(e=t[c])||!h()){if(i=uu(e),(o=(a=su[l])[i]||a.else||ou)===ou)return;if(l=o[0],(s=p[o[1]])&&(r=void 0===(r=o[2])?e:r,!1===s()))return;if(l===iu)return u}}(t))&&(this._cache[t]=e),e||[]},lu.prototype.getPathValue=function(t,e){if(!Ca(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var r=n.length,i=t,o=0;o<r;){var s=i[n[o]];if(void 0===s)return null;i=s,o++}return i};var fu,pu=/<\/?[\w\s="/.':;#-\/]+>/,hu=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,du=/^@(?:\.([a-z]+))?:/,mu=/[()]/g,vu={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()}},gu=new Ga,yu=function(t){var e=this;void 0===t&&(t={}),!Da&&"undefined"!=typeof window&&window.Vue&&Ba(window.Vue);var n=t.locale||"en-US",r=t.fallbackLocale||"en-US",i=t.messages||{},o=t.dateTimeFormats||{},s=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||gu,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new lu,this._dataListeners=[],this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._exist=function(t,n){return!(!t||!n)&&(!Oa(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})),this._initVM({locale:n,fallbackLocale:r,messages:i,dateTimeFormats:o,numberFormats:s})},bu={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0}};yu.prototype._checkLocaleMessage=function(t,e,n){!function t(e,n,r,i){if(Sa(r))Object.keys(r).forEach((function(o){var s=r[o];Sa(s)?(i.push(o),i.push("."),t(e,n,s,i),i.pop(),i.pop()):(i.push(o),t(e,n,s,i),i.pop())}));else if(Array.isArray(r))r.forEach((function(r,o){Sa(r)?(i.push("["+o+"]"),i.push("."),t(e,n,r,i),i.pop(),i.pop()):(i.push("["+o+"]"),t(e,n,r,i),i.pop())}));else if("string"==typeof r){if(pu.test(r)){var o="Detected HTML in message '"+r+"' of keypath '"+i.join("")+"' at '"+n+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?wa(o):"error"===e&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(o)}}}(e,t,n,[])},yu.prototype._initVM=function(t){var e=Da.config.silent;Da.config.silent=!0,this._vm=new Da({data:t}),Da.config.silent=e},yu.prototype.destroyVM=function(){this._vm.$destroy()},yu.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},yu.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},yu.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e=t._dataListeners.length;e--;)Da.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},yu.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},bu.vm.get=function(){return this._vm},bu.messages.get=function(){return Ia(this._getMessages())},bu.dateTimeFormats.get=function(){return Ia(this._getDateTimeFormats())},bu.numberFormats.get=function(){return Ia(this._getNumberFormats())},bu.availableLocales.get=function(){return Object.keys(this.messages).sort()},bu.locale.get=function(){return this._vm.locale},bu.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},bu.fallbackLocale.get=function(){return this._vm.fallbackLocale},bu.fallbackLocale.set=function(t){this._vm.$set(this._vm,"fallbackLocale",t)},bu.formatFallbackMessages.get=function(){return this._formatFallbackMessages},bu.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},bu.missing.get=function(){return this._missing},bu.missing.set=function(t){this._missing=t},bu.formatter.get=function(){return this._formatter},bu.formatter.set=function(t){this._formatter=t},bu.silentTranslationWarn.get=function(){return this._silentTranslationWarn},bu.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},bu.silentFallbackWarn.get=function(){return this._silentFallbackWarn},bu.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},bu.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},bu.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},bu.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},bu.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},yu.prototype._getMessages=function(){return this._vm.messages},yu.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},yu.prototype._getNumberFormats=function(){return this._vm.numberFormats},yu.prototype._warnDefault=function(t,e,n,r,i){if(!Oa(n))return n;if(this._missing){var o=this._missing.apply(null,[t,e,r,i]);if("string"==typeof o)return o}if(this._formatFallbackMessages){var s=Pa.apply(void 0,i);return this._render(e,"string",s.params,e)}return e},yu.prototype._isFallbackRoot=function(t){return!t&&!Oa(this._root)&&this._fallbackRoot},yu.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},yu.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},yu.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},yu.prototype._interpolate=function(t,e,n,r,i,o,s){if(!e)return null;var a,u=this._path.getPathValue(e,n);if(Array.isArray(u)||Sa(u))return u;if(Oa(u)){if(!Sa(e))return null;if("string"!=typeof(a=e[n]))return null}else{if("string"!=typeof u)return null;a=u}return(a.indexOf("@:")>=0||a.indexOf("@.")>=0)&&(a=this._link(t,e,a,r,"raw",o,s)),this._render(a,i,o,n)},yu.prototype._link=function(t,e,n,r,i,o,s){var a=n,u=a.match(hu);for(var c in u)if(u.hasOwnProperty(c)){var l=u[c],f=l.match(du),p=f[0],h=f[1],d=l.replace(p,"").replace(mu,"");if(s.includes(d))return a;s.push(d);var m=this._interpolate(t,e,d,r,"raw"===i?"string":i,"raw"===i?void 0:o,s);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;m=v._translate(v._getMessages(),v.locale,v.fallbackLocale,d,r,i,o)}m=this._warnDefault(t,d,m,r,Array.isArray(o)?o:[o]),this._modifiers.hasOwnProperty(h)?m=this._modifiers[h](m):vu.hasOwnProperty(h)&&(m=vu[h](m)),s.pop(),a=m?a.replace(l,m):a}return a},yu.prototype._render=function(t,e,n,r){var i=this._formatter.interpolate(t,n,r);return i||(i=gu.interpolate(t,n,r)),"string"===e?i.join(""):i},yu.prototype._translate=function(t,e,n,r,i,o,s){var a=this._interpolate(e,t[e],r,i,o,s,[r]);return Oa(a)&&Oa(a=this._interpolate(n,t[n],r,i,o,s,[r]))?null:a},yu.prototype._t=function(t,e,n,r){for(var i,o=[],s=arguments.length-4;s-- >0;)o[s]=arguments[s+4];if(!t)return"";var a=Pa.apply(void 0,o),u=a.locale||e,c=this._translate(n,u,this.fallbackLocale,t,r,"string",a.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(o))}return this._warnDefault(u,t,c,r,o)},yu.prototype.t=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},yu.prototype._i=function(t,e,n,r,i){var o=this._translate(n,e,this.fallbackLocale,t,r,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}return this._warnDefault(e,t,o,r,[i])},yu.prototype.i=function(t,e,n){return t?("string"!=typeof e&&(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},yu.prototype._tc=function(t,e,n,r,i){for(var o,s=[],a=arguments.length-5;a-- >0;)s[a]=arguments[a+5];if(!t)return"";void 0===i&&(i=1);var u={count:i,n:i},c=Pa.apply(void 0,s);return c.params=Object.assign(u,c.params),s=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,r].concat(s)),i)},yu.prototype.fetchChoice=function(t,e){if(!t&&"string"!=typeof t)return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},yu.prototype.getChoiceIndex=function(t,e){var n,r;return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[t,e]):(n=t,r=e,n=Math.abs(n),2===r?n?n>1?1:0:1:n?Math.min(n,2):0)},yu.prototype.tc=function(t,e){for(var n,r=[],i=arguments.length-2;i-- >0;)r[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},yu.prototype._te=function(t,e,n){for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var o=Pa.apply(void 0,r).locale||e;return this._exist(n[o],t)},yu.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},yu.prototype.getLocaleMessage=function(t){return Ia(this._vm.messages[t]||{})},yu.prototype.setLocaleMessage=function(t,e){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(t,this._warnHtmlInMessage,e),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,t,e)},yu.prototype.mergeLocaleMessage=function(t,e){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(t,this._warnHtmlInMessage,e),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,t,Ma({},this._vm.messages[t]||{},e))},yu.prototype.getDateTimeFormat=function(t){return Ia(this._vm.dateTimeFormats[t]||{})},yu.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e)},yu.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,Ma(this._vm.dateTimeFormats[t]||{},e))},yu.prototype._localizeDateTime=function(t,e,n,r,i){var o=e,s=r[o];if((Oa(s)||Oa(s[i]))&&(s=r[o=n]),Oa(s)||Oa(s[i]))return null;var a=s[i],u=o+"__"+i,c=this._dateTimeFormatters[u];return c||(c=this._dateTimeFormatters[u]=new Intl.DateTimeFormat(o,a)),c.format(t)},yu.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var r=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return r||""},yu.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.locale,i=null;return 1===e.length?"string"==typeof e[0]?i=e[0]:Ca(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key)):2===e.length&&("string"==typeof e[0]&&(i=e[0]),"string"==typeof e[1]&&(r=e[1])),this._d(t,r,i)},yu.prototype.getNumberFormat=function(t){return Ia(this._vm.numberFormats[t]||{})},yu.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e)},yu.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,Ma(this._vm.numberFormats[t]||{},e))},yu.prototype._getNumberFormatter=function(t,e,n,r,i,o){var s=e,a=r[s];if((Oa(a)||Oa(a[i]))&&(a=r[s=n]),Oa(a)||Oa(a[i]))return null;var u,c=a[i];if(o)u=new Intl.NumberFormat(s,Object.assign({},c,o));else{var l=s+"__"+i;(u=this._numberFormatters[l])||(u=this._numberFormatters[l]=new Intl.NumberFormat(s,c))}return u},yu.prototype._n=function(t,e,n,r){if(!yu.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).format(t);var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),o=i&&i.format(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},r))}return o||""},yu.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.locale,i=null,o=null;return 1===e.length?"string"==typeof e[0]?i=e[0]:Ca(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key),o=Object.keys(e[0]).reduce((function(t,n){var r;return _a.includes(n)?Object.assign({},t,((r={})[n]=e[0][n],r)):t}),null)):2===e.length&&("string"==typeof e[0]&&(i=e[0]),"string"==typeof e[1]&&(r=e[1])),this._n(t,r,i,o)},yu.prototype._ntp=function(t,e,n,r){if(!yu.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).formatToParts(t);var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),o=i&&i.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return o||[]},Object.defineProperties(yu.prototype,bu),Object.defineProperty(yu,"availabilities",{get:function(){if(!fu){var t="undefined"!=typeof Intl;fu={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return fu}}),yu.install=Ba,yu.version="8.15.3";const _u={login:"Login with {platform}",logout:"Logout",currentUser:"Current User",loading:"Loading",submit:"Submit",submitting:"Submitting",submitComment:"Submit Comment",cancel:"Cancel",edit:"Edit",editMode:"Edit Mode",delete:"Delete",reply:"Reply",heart:"Heart",like:"Like",unlike:"Unlike",perPage:"Comments per page",sort:"Click to change the sort direction",page:"Page",prev:"Previous Page",next:"Next Page",comments:"Comments | {count} Comment | {count} Comments",loginToComment:"Login with {platform} account to leave a comment",placeholder:"Leave a comment. Styling with Markdown is supported. Ctrl + Enter to submit.",noLoginPlaceHolder:"Login to leave a comment. Styling with Markdown is supported. ",failed:"Failed to load comments",initializing:"Initializing...",issueNotCreated:"Click to create issue",loadingComments:"Loading comments...",loginRequired:"Login to view comments",noComments:"No comments yet. Leave the first comment !",reactionGiven:"Already given '{reaction}' reaction",deleteConfirm:"Confirm to delete this comment ?",deleteFailed:"Failed to delete comment"},wu={login:"使用 {platform} 登录",logout:"退出登录",currentUser:"当前用户",loading:"加载中",submit:"提交",submitting:"发表中",submitComment:"发表评论",cancel:"取消",edit:"编辑",editMode:"编辑模式",delete:"删除",reply:"回复",heart:"喜欢",like:"赞",unlike:"踩",perPage:"每页评论数",sort:"点击改变排序方式",page:"页数",prev:"上一页",next:"下一页",comments:"评论 | {count} 条评论 | {count} 条评论",loginToComment:"使用 {platform} 帐号登录后发表评论",placeholder:"留下你的评论丨支持 Markdown 语法丨Ctrl + Enter 发表评论",noLoginPlaceHolder:"登录后才能发表评论丨支持 Markdown 语法",failed:"评论加载失败",initializing:"正在初始化...",issueNotCreated:"点击创建 Issue",loadingComments:"正在加载评论...",loginRequired:"登录后查看评论",noComments:"还没有评论，来发表第一条评论吧！",reactionGiven:"已经添加过 '{reaction}' 了",deleteConfirm:"确认要删除该评论吗？",deleteFailed:"评论删除失败"},Cu={login:"Entrar com {platform}",logout:"Sair",currentUser:"Usuário Atual",loading:"Carregando",submit:"Enviar",submitting:"Enviando",submitComment:"Enviar Comentário",cancel:"Cancelar",edit:"Editar",editMode:"Modo de Edição",delete:"Apagar",reply:"Responder",heart:"Heart",like:"Like",unlike:"Unlike",perPage:"Comentários por página",sort:"Clique para alterar a ordenação",page:"Página",prev:"Página Anterior",next:"Próxima Página",comments:"Comentários | {count} Comentário | {count} Comentários",loginToComment:"Entre com uma conta {platform} para deixar um comentário",placeholder:"Deixe um comentário. Estilos com Markdown suportados. Ctrl + Enter para enviar.",noLoginPlaceHolder:"Entre para deixar um comentário. Estilos com Markdown suportados. ",failed:"Falha ao carregar comentários",initializing:"Inicializando...",issueNotCreated:"Click to create issue",loadingComments:"Carregando comentários...",loginRequired:"Entrar para visualizar comentários",noComments:"Nenhum comentário. Deixe o primeiro comentário!",reactionGiven:"Já reagiu com '{reaction}'",deleteConfirm:"Apagar este comentário?",deleteFailed:"Falha ao apagar comentário"},xu={login:"{platform} でログイン",logout:"ログアウト",currentUser:"現在のユーザー",loading:"読み込み中",submit:"送信",submitting:"送信中",submitComment:"コメントを送信",cancel:"キャンセル",edit:"編集",editMode:"編集モード",delete:"削除",reply:"返信",heart:"ハート",like:"高評価",unlike:"低評価",perPage:"コメント/ページ",sort:"並び順を変更するにはクリックしてください",page:"ページ",prev:"前のページ",next:"次のページ",comments:"コメント | {count} コメント | {count} コメント",loginToComment:"コメントを残すには {platform} アカウントでログインしてください。",placeholder:"コメントを残してください。Markdown 記法をサポートしています。 Ctrl + Enter で送信できます。",noLoginPlaceHolder:"コメントを残すにはログインしてください。マークダウン記法をサポートしています。",failed:"コメントの読み込みに失敗しました",initializing:"初期化中...",issueNotCreated:"Click to create issue",loadingComments:"コメントの読み込み中...",loginRequired:"コメントを見るにはログインしてください",noComments:"まだコメントがありません。最初のコメントを残しましょう！",reactionGiven:"既に '{reaction}' のリアクションをしています",deleteConfirm:"本当にコメントを削除してもいいですか？",deleteFailed:"コメントの削除に失敗しました"},ku={login:"התחברו עם {platform}",logout:"התנתקו",currentUser:"משתמש/ת נוכחי/ת",loading:"טוען",submit:"שליחה",submitting:"שולח",submitComment:"שליחת תגובה",cancel:"ביטל",edit:"עריכה",editMode:"מצב עריכה",delete:"מחיקה",reply:"תשובה",heart:"לב",like:"לייק",unlike:"אנלייק",perPage:"תגובות לדף",sort:"לחצו כדי לשנות את כיוון המיון",page:"דף",prev:"הדף הקודם",next:"הדף הבא",comments:"תגובות | {count} תגובה | {count} תגובות",loginToComment:"התחברו עם חשבון {platform} כדי להשאיר תגובה",placeholder:"השאירו תגובה. יש תמיכה בעיצוב בעזרת Markdown. Ctrl + Enter כדי לשלוח.",noLoginPlaceHolder:"התחברו כדי להשאיר תגובה. יש תמיכה בעיצוב בעזרת Markdown. ",failed:"כשלון בטעינת התגובות",initializing:"מאתחל...",issueNotCreated:"לחצו ליצירת issue",loadingComments:"טוען תגובות...",loginRequired:"התחברו כדי לצפות בתגובות",noComments:"עדיין אין תגובות. השאירו תגובה ראשונה !",reactionGiven:"כבר ניתן חיווי '{reaction}'",deleteConfirm:"בטוחים במחיקת התגובה ?",deleteFailed:"כשלון במחיקת התגובה"};Object.prototype.hasOwnProperty.call(t,"$i18n")||t.use(yu);const Su=new yu({locale:"en",fallbackLocale:"en",messages:{en:_u,"en-US":_u,zh:wu,"zh-CN":wu,pt:Cu,"pt-BR":Cu,ja:xu,"ja-JP":xu,he:ku,"he-IL":ku}});let Ou=class extends t{constructor(){super(...arguments),this.title=t=>`${t.prefix}${document.title}`,this.issueId=null,this.options=null,this.API=null,this.accessToken=null,this.user=null,this.issue=null,this.comments=null,this.query={page:1,perPage:10,sort:"desc"},this.isInitializing=!0,this.isIssueNotCreated=!1,this.isLoginRequired=!1,this.isFailed=!1,this.isCreatingIssue=!1,this.isLoadingComments=!1,this.isCreatingComment=!1,this.isUpdatingComment=!1}get version(){return"1.4.3"}get issueTitle(){return null===this.options?"":"function"==typeof this.title?this.title(this.options):`${this.options.prefix}${this.title}`}get isPending(){return this.isLoadingComments||this.isCreatingComment||this.isUpdatingComment}get isLogined(){return null!==this.accessToken&&null!==this.user}get isAdmin(){return null!==this.options&&null!==this.accessToken&&null!==this.user&&(this.user.username===this.options.owner||this.options.admins.includes(this.user.username))}get accessTokenKey(){return this.API?`Vssue.${this.API.platform.name.toLowerCase()}.access_token`:""}onQueryPerPageChange(){this.query.page=1,this.getComments()}onQueryChange(){this.getComments()}setOptions(t){this.options=Object.assign({labels:["Vssue"],state:"Vssue",prefix:"[Vssue]",admins:[],perPage:10,proxy:t=>`https://cors-anywhere.herokuapp.com/${t}`,issueContent:({url:t})=>t,autoCreateIssue:!1},t);const e=["api","owner","repo","clientId"];for(const t of e)this.options[t]||console.warn(`[Vssue] the option '${t}' is required`);if(this.options.locale)this.$i18n.locale=this.options.locale;else{const t=Object.keys(this.$i18n.messages),e=window.navigator.languages;this.$i18n.locale=e.filter(e=>t.includes(e)).shift()||"en"}}async init(){try{await this.initStore(),await this.initComments()}catch(t){t.response&&[401,403].includes(t.response.status)?this.isLoginRequired=!0:this.isFailed=!0,console.error(t)}}async initStore(){try{if(!this.options)throw new Error("Options are required to initialize Vssue");this.API=null,this.accessToken=null,this.user=null,this.issue=null,this.comments=null,this.query={page:1,perPage:this.options.perPage,sort:"desc"},this.isInitializing=!0,this.isIssueNotCreated=!1,this.isLoginRequired=!1,this.isFailed=!1,this.isCreatingIssue=!1,this.isLoadingComments=!1,this.isCreatingComment=!1,this.isUpdatingComment=!1;const t=this.options.api;this.API=new t({baseURL:this.options.baseURL,labels:this.options.labels,state:this.options.state,owner:this.options.owner,repo:this.options.repo,clientId:this.options.clientId,clientSecret:this.options.clientSecret,proxy:this.options.proxy}),await this.handleAuth()}finally{this.isInitializing=!1}}async initComments(){if(this.API&&this.options)if(this.issueId){const[t,e]=await Promise.all([this.API.getIssue({accessToken:this.accessToken,issueId:this.issueId}),this.API.getComments({accessToken:this.accessToken,issueId:this.issueId,query:this.query})]);this.issue=t,this.comments=e}else this.issue=await this.API.getIssue({accessToken:this.accessToken,issueTitle:this.issueTitle}),null===this.issue?(this.isIssueNotCreated=!0,this.options.autoCreateIssue&&await this.postIssue()):await this.getComments()}async postIssue(){if(this.API&&this.options&&!this.issue&&!this.issueId&&(this.isLogined||this.login(),this.isAdmin))try{this.isCreatingIssue=!0;const t=await this.API.postIssue({title:this.issueTitle,content:await this.options.issueContent({options:this.options,url:Zs(window.location.href)}),accessToken:this.accessToken});this.issue=t,this.isIssueNotCreated=!1,await this.getComments()}catch(t){this.isFailed=!0}finally{this.isCreatingIssue=!1}}async getComments(){try{if(!this.API||!this.issue||this.isLoadingComments)return;this.isLoadingComments=!0;const t=await this.API.getComments({accessToken:this.accessToken,issueId:this.issue.id,query:this.query});return this.comments=t,this.query.page!==t.page&&(this.query.page=t.page),this.query.perPage!==t.perPage&&(this.query.perPage=t.perPage),t}catch(t){if(!t.response||![401,403].includes(t.response.status)||this.isLogined)throw this.$emit("error",t),t;this.isLoginRequired=!0}finally{this.isLoadingComments=!1}}async postComment({content:t}){try{if(!this.API||!this.issue||this.isCreatingComment)return;return this.isCreatingComment=!0,await this.API.postComment({accessToken:this.accessToken,content:t,issueId:this.issue.id})}catch(t){throw this.$emit("error",t),t}finally{this.isCreatingComment=!1}}async putComment({commentId:t,content:e}){try{if(!this.API||!this.issue)return;return await this.API.putComment({accessToken:this.accessToken,issueId:this.issue.id,commentId:t,content:e})}catch(t){throw this.$emit("error",t),t}}async deleteComment({commentId:t}){try{if(!this.API||!this.issue)return;return await this.API.deleteComment({accessToken:this.accessToken,issueId:this.issue.id,commentId:t})}catch(t){throw this.$emit("error",t),t}}async getCommentReactions({commentId:t}){try{if(!this.API||!this.issue)return;return await this.API.getCommentReactions({accessToken:this.accessToken,issueId:this.issue.id,commentId:t})}catch(t){throw this.$emit("error",t),t}}async postCommentReaction({commentId:t,reaction:e}){try{if(!this.API||!this.issue)return!1;return await this.API.postCommentReaction({accessToken:this.accessToken,issueId:this.issue.id,commentId:t,reaction:e})}catch(t){throw this.$emit("error",t),t}}login(){this.API&&this.API.redirectAuth()}logout(){this.setAccessToken(null),this.user=null}async handleAuth(){if(!this.API)return;const t=await this.API.handleAuth();t?(this.setAccessToken(t),this.user=await this.API.getUser({accessToken:t})):this.getAccessToken()?this.user=await this.API.getUser({accessToken:this.accessToken}):(this.setAccessToken(null),this.user=null)}getAccessToken(){return this.accessToken=window.localStorage.getItem(this.accessTokenKey),this.accessToken}setAccessToken(t){null===t?window.localStorage.removeItem(this.accessTokenKey):window.localStorage.setItem(this.accessTokenKey,t),this.accessToken=t}};Br([ji("query.perPage")],Ou.prototype,"onQueryPerPageChange",null),Br([ji("query.page"),ji("query.sort")],Ou.prototype,"onQueryChange",null),Ou=Br([Oi({i18n:Su})],Ou);var Pu=Ou;let Iu=class extends t{constructor(){super(...arguments),this.vssue=new Pu}onOptionsChange(t){this.vssue.setOptions(t)}mounted(){null!==this.title&&(this.vssue.title=this.title),null!==this.issueId&&(this.vssue.issueId=this.issueId),this.vssue.setOptions(this.options),this.vssue.init()}};Br([Ti({type:[String,Function],required:!1,default:null})],Iu.prototype,"title",void 0),Br([Ti({type:[String,Number],required:!1,default:null})],Iu.prototype,"issueId",void 0),Br([Ti({type:Object,required:!1,default:()=>({})})],Iu.prototype,"options",void 0),Br([function(t){return Ci((function(e,n){var r=e.provide;if("function"!=typeof r||!r.managed){var i=e.provide;(r=e.provide=function(){var t=Object.create(("function"==typeof i?i.call(this):i)||null);for(var e in r.managed)t[r.managed[e]]=this[e];return t}).managed={}}r.managed[n]=t||n}))}("vssue")],Iu.prototype,"vssue",void 0),Br([ji("options",{deep:!0})],Iu.prototype,"onOptionsChange",null),Iu=Br([Oi({components:{Iconfont:Fi,VssueBody:ma,VssueHeader:ba}})],Iu);var Tu=Ei({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vssue"},[e("Iconfont"),this._v(" "),e("VssueHeader"),this._v(" "),e("VssueBody")],1)},staticRenderFns:[]},void 0,Iu,void 0,!1,void 0,!1,void 0,void 0,void 0);const ju={get version(){return"1.4.3"},installed:!1,install(t,e){if(this.installed)return!1;this.installed=!0,t.component("Vssue",{functional:!0,props:{title:{type:String,required:!1,default:void 0},issueId:{type:[Number,String],required:!1,default:void 0},options:{type:Object,required:!1,default:void 0}},render:(t,{data:n,props:r})=>t(Tu,Object.assign(Object.assign({},n),{props:{title:r.title,issueId:r.issueId,options:Object.assign({},e,r.options)}}))})},VssueComponent:Tu};var Mu=u("species"),Eu=function(t,e){return new(function(t){var e;return Nt(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!Nt(e.prototype)||(e=void 0),c(e)&&null===(e=e[Mu])&&(e=void 0)),void 0===e?Array:e}(t))(e)},Fu=function(t,e){var n=1==t,r=2==t,i=3==t,o=4==t,s=6==t,a=5==t||s,u=e||Eu;return function(e,c,l){for(var f,p,h=ht(e),d=T(h),m=$(c,l,3),v=U(d.length),g=0,y=n?u(e,v):r?u(e,0):void 0;v>g;g++)if((a||g in d)&&(p=m(f=d[g],g,h),t))if(n)y[g]=p;else if(p)switch(t){case 3:return!0;case 5:return f;case 6:return g;case 2:y.push(f)}else if(o)return!1;return s?-1:i||o?o:y}}(5),Au=!0;"find"in[]&&Array(1).find((function(){Au=!1})),N(N.P+N.F*Au,"Array",{find:function(t){return Fu(this,t,arguments.length>1?arguments[1]:void 0)}}),k("find");var Ru=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};li("search",1,(function(t,e,n,r){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=r(n,t,this);if(e.done)return e.value;var i=l(t),o=String(this),s=i.lastIndex;Ru(s,0)||(i.lastIndex=0);var a=Zr(i,o);return Ru(i.lastIndex,s)||(i.lastIndex=s),null===a?-1:a.index}]}));e((function(t){var e=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function u(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,o=Object.create(i.prototype),s=new P(r||[]);return o._invoke=function(t,e,n){var r=l;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return T()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=k(s,n);if(a){if(a===d)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=c(t,e,n);if("normal"===u.type){if(r=n.done?h:f,u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(t,n,s),o}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",f="suspendedYield",p="executing",h="completed",d={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(I([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function C(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function x(t){var e;this._invoke=function(n,i){function o(){return new Promise((function(e,o){!function e(n,i,o,s){var a=c(t[n],t,i);if("throw"!==a.type){var u=a.arg,l=u.value;return l&&"object"===Hr(l)&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,o,s)}),(function(t){e("throw",t,o,s)})):Promise.resolve(l).then((function(t){u.value=t,o(u)}),(function(t){return e("throw",t,o,s)}))}s(a.arg)}(n,i,e,o)}))}return e=e?e.then(o,o):o()}}function k(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=c(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,d;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function I(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,s=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return s.next=s}}return{next:T}}function T(){return{value:e,done:!0}}return v.prototype=w.constructor=g,g.constructor=v,g[a]=v.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},C(x.prototype),x.prototype[s]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,r,i){var o=new x(u(e,n,r,i));return t.isGeneratorFunction(n)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},C(w),w[a]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=I,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return a.type="throw",a.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var u=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(u&&c){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(u){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}));var Lu,$u,Du,Nu=On("toStringTag"),zu="Arguments"==tn(function(){return arguments}()),Vu=function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Nu))?n:zu?tn(e):"Object"==(r=tn(e))&&"function"==typeof e.callee?"Arguments":r},qu=function(t,e,n,r){try{return r?e(Ae(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&Ae(i.call(t)),e}},Hu=On("iterator"),Uu=Array.prototype,Wu=On("iterator"),Bu=je.getIteratorMethod=function(t){if(null!=t)return t[Wu]||t["@@iterator"]||Xe[Vu(t)]},Gu=e((function(t){var e={},n={},r=t.exports=function(t,r,i,o,s){var a,u,c,l,f,p=s?function(){return t}:Bu(t),h=Ee(i,o,r?2:1),d=0;if("function"!=typeof p)throw TypeError(t+" is not iterable!");if(void 0===(f=p)||Xe.Array!==f&&Uu[Hu]!==f){for(c=p.call(t);!(u=c.next()).done;)if((l=qu(c,h,u.value,r))===e||l===n)return l}else for(a=on(t.length);a>d;d++)if((l=r?h(Ae(u=t[d])[0],u[1]):h(t[d]))===e||l===n)return l};r.BREAK=e,r.RETURN=n})),Yu=On("species"),Ku=function(t,e){var n,r=Ae(t).constructor;return void 0===r||null==(n=Ae(r)[Yu])?e:Me(n)},Ju=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)},Qu=Te.process,Xu=Te.setImmediate,Zu=Te.clearImmediate,tc=Te.MessageChannel,ec=Te.Dispatch,nc=0,rc={},ic=function(){var t=+this;if(rc.hasOwnProperty(t)){var e=rc[t];delete rc[t],e()}},oc=function(t){ic.call(t.data)};Xu&&Zu||(Xu=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return rc[++nc]=function(){Ju("function"==typeof t?t:Function(t),e)},Lu(nc),nc},Zu=function(t){delete rc[t]},"process"==tn(Qu)?Lu=function(t){Qu.nextTick(Ee(ic,t,1))}:ec&&ec.now?Lu=function(t){ec.now(Ee(ic,t,1))}:tc?(Du=($u=new tc).port2,$u.port1.onmessage=oc,Lu=Ee(Du.postMessage,Du,1)):Te.addEventListener&&"function"==typeof postMessage&&!Te.importScripts?(Lu=function(t){Te.postMessage(t+"","*")},Te.addEventListener("message",oc,!1)):Lu="onreadystatechange"in Ne("script")?function(t){wn.appendChild(Ne("script")).onreadystatechange=function(){wn.removeChild(this),ic.call(t)}}:function(t){setTimeout(Ee(ic,t,1),0)});var sc={set:Xu,clear:Zu},ac=sc.set,uc=Te.MutationObserver||Te.WebKitMutationObserver,cc=Te.process,lc=Te.Promise,fc="process"==tn(cc);function pc(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=Me(e),this.reject=Me(n)}var hc={f:function(t){return new pc(t)}},dc=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}},mc=Te.navigator,vc=mc&&mc.userAgent||"",gc=function(t,e){if(Ae(t),Fe(e)&&e.constructor===t)return e;var n=hc.f(t);return(0,n.resolve)(e),n.promise},yc=On("species"),bc=On("iterator"),_c=!1;try{var wc=[7][bc]();wc.return=function(){_c=!0},Array.from(wc,(function(){throw 2}))}catch(t){}var Cc,xc,kc,Sc,Oc=sc.set,Pc=function(){var t,e,n,r=function(){var r,i;for(fc&&(r=cc.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(fc)n=function(){cc.nextTick(r)};else if(!uc||Te.navigator&&Te.navigator.standalone)if(lc&&lc.resolve){var i=lc.resolve(void 0);n=function(){i.then(r)}}else n=function(){ac.call(Te,r)};else{var o=!0,s=document.createTextNode("");new uc(r).observe(s,{characterData:!0}),n=function(){s.data=o=!o}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}(),Ic=Te.TypeError,Tc=Te.process,jc=Tc&&Tc.versions,Mc=jc&&jc.v8||"",Ec=Te.Promise,Fc="process"==Vu(Tc),Ac=function(){},Rc=xc=hc.f,Lc=!!function(){try{var t=Ec.resolve(1),e=(t.constructor={})[On("species")]=function(t){t(Ac,Ac)};return(Fc||"function"==typeof PromiseRejectionEvent)&&t.then(Ac)instanceof e&&0!==Mc.indexOf("6.6")&&-1===vc.indexOf("Chrome/66")}catch(t){}}(),$c=function(t){var e;return!(!Fe(t)||"function"!=typeof(e=t.then))&&e},Dc=function(t,e){if(!t._n){t._n=!0;var n=t._c;Pc((function(){for(var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s,a=i?e.ok:e.fail,u=e.resolve,c=e.reject,l=e.domain;try{a?(i||(2==t._h&&Vc(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?c(Ic("Promise-chain cycle")):(o=$c(n))?o.call(n,u,c):u(n)):c(r)}catch(t){l&&!s&&l.exit(),c(t)}};n.length>o;)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&Nc(t)}))}},Nc=function(t){Oc.call(Te,(function(){var e,n,r,i=t._v,o=zc(t);if(o&&(e=dc((function(){Fc?Tc.emit("unhandledRejection",i,t):(n=Te.onunhandledrejection)?n({promise:t,reason:i}):(r=Te.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=Fc||zc(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},zc=function(t){return 1!==t._h&&0===(t._a||t._c).length},Vc=function(t){Oc.call(Te,(function(){var e;Fc?Tc.emit("rejectionHandled",t):(e=Te.onrejectionhandled)&&e({promise:t,reason:t._v})}))},qc=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),Dc(e,!0))},Hc=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw Ic("Promise can't be resolved itself");(e=$c(t))?Pc((function(){var r={_w:n,_d:!1};try{e.call(t,Ee(Hc,r,1),Ee(qc,r,1))}catch(t){qc.call(r,t)}})):(n._v=t,n._s=1,Dc(n,!1))}catch(t){qc.call({_w:n,_d:!1},t)}}};Lc||(Ec=function(t){!function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!")}(this,Ec,"Promise","_h"),Me(t),Cc.call(this);try{t(Ee(Hc,this,1),Ee(qc,this,1))}catch(t){qc.call(this,t)}},(Cc=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:We(t,r,e[r]);return t}(Ec.prototype,{then:function(t,e){var n=Rc(Ku(this,Ec));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Fc?Tc.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Dc(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),kc=function(){var t=new Cc;this.promise=t,this.resolve=Ee(Hc,t,1),this.reject=Ee(qc,t,1)},hc.f=Rc=function(t){return t===Ec||t===Sc?new kc(t):xc(t)}),Je(Je.G+Je.W+Je.F*!Lc,{Promise:Ec}),Tn(Ec,"Promise"),function(t){var e="function"==typeof je[t]?je[t]:Te[t];Le&&e&&!e[yc]&&He.f(e,yc,{configurable:!0,get:function(){return this}})}("Promise"),Sc=je.Promise,Je(Je.S+Je.F*!Lc,"Promise",{reject:function(t){var e=Rc(this);return(0,e.reject)(t),e.promise}}),Je(Je.S+!0*Je.F,"Promise",{resolve:function(t){return gc(this===Sc?Ec:this,t)}}),Je(Je.S+Je.F*!(Lc&&function(t,e){if(!e&&!_c)return!1;var n=!1;try{var r=[7],i=r[bc]();i.next=function(){return{done:n=!0}},r[bc]=function(){return i},t(r)}catch(t){}return n}((function(t){Ec.all(t).catch(Ac)}))),"Promise",{all:function(t){var e=this,n=Rc(e),r=n.resolve,i=n.reject,o=dc((function(){var n=[],o=0,s=1;Gu(t,!1,(function(t){var a=o++,u=!1;n.push(void 0),s++,e.resolve(t).then((function(t){u||(u=!0,n[a]=t,--s||r(n))}),i)})),--s||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=Rc(e),r=n.reject,i=dc((function(){Gu(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}}),Je(Je.P+Je.R,"Promise",{finally:function(t){var e=Ku(this,je.Promise||Te.Promise),n="function"==typeof t;return this.then(n?function(n){return gc(e,t()).then((function(){return n}))}:t,n?function(n){return gc(e,t()).then((function(){throw n}))}:t)}}),Je(Je.S,"Promise",{try:function(t){var e=hc.f(this),n=dc(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}});var Uc=je.Promise;function Wc(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Uc.resolve(u).then(r,i)}function Bc(t){return function(){var e=this,n=arguments;return new Uc((function(r,i){var o=t.apply(e,n);function s(t){Wc(o,r,i,s,a,"next",t)}function a(t){Wc(o,r,i,s,a,"throw",t)}s(void 0)}))}}Je(Je.S+Je.F*!Le,"Object",{defineProperty:He.f});var Gc=je.Object,Yc=function(t,e,n){return Gc.defineProperty(t,e,n)};function Kc(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Yc(t,r.key,r)}}var Jc=Gr(!0);_t(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=Jc(e,n),this._i+=t.length,{value:t,done:!1})}));var Qc=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}},Xc=Object.prototype.toString;
  /*!
  	 * Determine if an object is a Buffer
  	 *
  	 * @author   Feross Aboukhadijeh <https://feross.org>
  	 * @license  MIT
  	 */function Zc(t){return"[object Array]"===Xc.call(t)}function tl(t){return null!==t&&"object"===Hr(t)}function el(t){return"[object Function]"===Xc.call(t)}function nl(t,e){if(null!=t)if("object"!==Hr(t)&&(t=[t]),Zc(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}var rl={isArray:Zc,isArrayBuffer:function(t){return"[object ArrayBuffer]"===Xc.call(t)},isBuffer:function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:tl,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===Xc.call(t)},isFile:function(t){return"[object File]"===Xc.call(t)},isBlob:function(t){return"[object Blob]"===Xc.call(t)},isFunction:el,isStream:function(t){return tl(t)&&el(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:nl,merge:function t(){var e={};function n(n,r){"object"===Hr(e[r])&&"object"===Hr(n)?e[r]=t(e[r],n):e[r]=n}for(var r=0,i=arguments.length;r<i;r++)nl(arguments[r],n);return e},extend:function(t,e,n){return nl(e,(function(e,r){t[r]=n&&"function"==typeof e?Qc(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}},il=function(t,e,n,r,i){return function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t}(new Error(t),e,n,r,i)};function ol(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var sl=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],al=rl.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=rl.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0},ul=rl.isStandardBrowserEnv()?{write:function(t,e,n,r,i,o){var s=[];s.push(t+"="+encodeURIComponent(e)),rl.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),rl.isString(r)&&s.push("path="+r),rl.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},cl=function(t){return new Promise((function(e,n){var r=t.data,i=t.headers;rl.isFormData(r)&&delete i["Content-Type"];var o=new XMLHttpRequest;if(t.auth){var s=t.auth.username||"",a=t.auth.password||"";i.Authorization="Basic "+btoa(s+":"+a)}if(o.open(t.method.toUpperCase(),function(t,e,n){if(!e)return t;var r;if(n)r=n(e);else if(rl.isURLSearchParams(e))r=e.toString();else{var i=[];rl.forEach(e,(function(t,e){null!=t&&(rl.isArray(t)?e+="[]":t=[t],rl.forEach(t,(function(t){rl.isDate(t)?t=t.toISOString():rl.isObject(t)&&(t=JSON.stringify(t)),i.push(ol(e)+"="+ol(t))})))})),r=i.join("&")}return r&&(t+=(-1===t.indexOf("?")?"?":"&")+r),t}(t.url,t.params,t.paramsSerializer),!0),o.timeout=t.timeout,o.onreadystatechange=function(){if(o&&4===o.readyState&&(0!==o.status||o.responseURL&&0===o.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in o?function(t){var e,n,r,i={};return t?(rl.forEach(t.split("\n"),(function(t){if(r=t.indexOf(":"),e=rl.trim(t.substr(0,r)).toLowerCase(),n=rl.trim(t.substr(r+1)),e){if(i[e]&&sl.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}(o.getAllResponseHeaders()):null,i={data:t.responseType&&"text"!==t.responseType?o.response:o.responseText,status:o.status,statusText:o.statusText,headers:r,config:t,request:o};!function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(il("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}(e,n,i),o=null}},o.onerror=function(){n(il("Network Error",t,null,o)),o=null},o.ontimeout=function(){n(il("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",o)),o=null},rl.isStandardBrowserEnv()){var u=ul,c=(t.withCredentials||al(t.url))&&t.xsrfCookieName?u.read(t.xsrfCookieName):void 0;c&&(i[t.xsrfHeaderName]=c)}if("setRequestHeader"in o&&rl.forEach(i,(function(t,e){void 0===r&&"content-type"===e.toLowerCase()?delete i[e]:o.setRequestHeader(e,t)})),t.withCredentials&&(o.withCredentials=!0),t.responseType)try{o.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&o.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&o.upload&&o.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){o&&(o.abort(),n(t),o=null)})),void 0===r&&(r=null),o.send(r)}))},ll={"Content-Type":"application/x-www-form-urlencoded"};function fl(t,e){!rl.isUndefined(t)&&rl.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var pl,hl={adapter:("undefined"!=typeof XMLHttpRequest?pl=cl:"undefined"!=typeof process&&(pl=cl),pl),transformRequest:[function(t,e){return function(t,e){rl.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}(e,"Content-Type"),rl.isFormData(t)||rl.isArrayBuffer(t)||rl.isBuffer(t)||rl.isStream(t)||rl.isFile(t)||rl.isBlob(t)?t:rl.isArrayBufferView(t)?t.buffer:rl.isURLSearchParams(t)?(fl(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):rl.isObject(t)?(fl(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};hl.headers={common:{Accept:"application/json, text/plain, */*"}},rl.forEach(["delete","get","head"],(function(t){hl.headers[t]={}})),rl.forEach(["post","put","patch"],(function(t){hl.headers[t]=rl.merge(ll)}));var dl=hl;function ml(){this.handlers=[]}ml.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},ml.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},ml.prototype.forEach=function(t){rl.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var vl=ml,gl=function(t,e,n){return rl.forEach(n,(function(n){t=n(t,e)})),t},yl=function(t){return!(!t||!t.__CANCEL__)};function bl(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var _l=function(t){var e,n,r;return bl(t),t.baseURL&&(r=t.url,!/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(r))&&(t.url=(e=t.baseURL,(n=t.url)?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e)),t.headers=t.headers||{},t.data=gl(t.data,t.headers,t.transformRequest),t.headers=rl.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),rl.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||dl.adapter)(t).then((function(e){return bl(t),e.data=gl(e.data,e.headers,t.transformResponse),e}),(function(e){return yl(e)||(bl(t),e&&e.response&&(e.response.data=gl(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))};function wl(t){this.defaults=t,this.interceptors={request:new vl,response:new vl}}wl.prototype.request=function(t){"string"==typeof t&&(t=rl.merge({url:arguments[0]},arguments[1])),(t=rl.merge(dl,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[_l,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},rl.forEach(["delete","get","head","options"],(function(t){wl.prototype[t]=function(e,n){return this.request(rl.merge(n||{},{method:t,url:e}))}})),rl.forEach(["post","put","patch"],(function(t){wl.prototype[t]=function(e,n,r){return this.request(rl.merge(r||{},{method:t,url:e,data:n}))}}));var Cl=wl;function xl(t){this.message=t}xl.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},xl.prototype.__CANCEL__=!0;var kl=xl;function Sl(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new kl(t),e(n.reason))}))}Sl.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Sl.source=function(){var t;return{token:new Sl((function(e){t=e})),cancel:t}};var Ol=Sl;function Pl(t){var e=new Cl(t),n=Qc(Cl.prototype.request,e);return rl.extend(n,Cl.prototype,e),rl.extend(n,e),n}var Il=Pl(dl);Il.Axios=Cl,Il.create=function(t){return Pl(rl.merge(dl,t))},Il.Cancel=kl,Il.CancelToken=Ol,Il.isCancel=yl,Il.all=function(t){return Promise.all(t)},Il.spread=function(t){return function(e){return t.apply(null,e)}};var Tl=Il,jl=Il;Tl.default=jl;var Ml=Tl;function El(t){return{username:t.login,avatar:t.avatar_url,homepage:t.html_url}}function Fl(t){return{id:t.number,title:t.title,content:t.body,link:t.html_url}}function Al(t){return{id:t.id,content:t.body_html||"",contentRaw:t.body,author:El(t.user),createdAt:t.created_at,updatedAt:t.updated_at||"",reactions:null}}var Rl=function(){function t(e){var n=e.baseURL,r=void 0===n?"https://gitee.com":n,i=e.owner,o=e.repo,s=e.labels,a=e.clientId,u=e.clientSecret,c=e.state,l=e.proxy;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),void 0===u||void 0===l)throw new Error("clientSecret and proxy is required for Gitee V5");this.baseURL=r,this.owner=i,this.repo=o,this.labels=s,this.clientId=a,this.clientSecret=u,this.state=c,this.proxy=l,this.$http=Ml.create({baseURL:Xs(r,"api/v5")}),this.$http.interceptors.response.use((function(t){return t}),(function(t){return t.response.data&&t.response.data.message&&(t.message=t.response.data.message),Promise.reject(t)}))}var e,n,r,i,o,s,a,u,c,l,f,p,h,d;return e=t,(n=[{key:"redirectAuth",value:function(){window.location.href=Qs(Xs(this.baseURL,"oauth/authorize"),{client_id:this.clientId,redirect_uri:window.location.href,scope:"user_info issues notes",response_type:"code",state:this.state})}},{key:"handleAuth",value:(d=Bc(regeneratorRuntime.mark((function t(){var e,n,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=window.location.search,!(e=Ks(o,{ignoreQueryPrefix:!0})).code){t.next=13;break}if(e.state===this.state){t.next=4;break}return t.abrupt("return",null);case 4:return n=e.code,delete e.code,delete e.state,r=Qs(Zs(window.location.href),e)+window.location.hash,window.history.replaceState(null,"",r),t.next=11,this.getAccessToken({code:n});case 11:return i=t.sent,t.abrupt("return",i);case 13:return t.abrupt("return",null);case 14:case"end":return t.stop()}var o}),t,this)}))),function(){return d.apply(this,arguments)})},{key:"getAccessToken",value:(h=Bc(regeneratorRuntime.mark((function t(e){var n,r,i,o,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.code,r=Xs(this.baseURL,"oauth/token"),i="function"==typeof this.proxy?this.proxy(r):this.proxy,t.next=5,this.$http.post(i,{client_id:this.clientId,client_secret:this.clientSecret,code:n,grant_type:"authorization_code",redirect_uri:window.location.href});case 5:return o=t.sent,s=o.data,t.abrupt("return",s.access_token);case 8:case"end":return t.stop()}}),t,this)}))),function(t){return h.apply(this,arguments)})},{key:"getUser",value:(p=Bc(regeneratorRuntime.mark((function t(e){var n,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.accessToken,t.next=3,this.$http.get("user",{params:{access_token:n}});case 3:return r=t.sent,i=r.data,t.abrupt("return",El(i));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"getIssue",value:(f=Bc(regeneratorRuntime.mark((function t(e){var n,r,i,o,s,a,u,c,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.accessToken,r=e.issueId,i=e.issueTitle,o={params:{}},n&&(o.params.access_token=n),!r){t.next=21;break}return t.prev=4,t.next=7,this.$http.get("repos/".concat(this.owner,"/").concat(this.repo,"/issues/").concat(r),o);case 7:return s=t.sent,a=s.data,t.abrupt("return",Fl(a));case 12:if(t.prev=12,t.t0=t.catch(4),!t.t0.response||404!==t.t0.response.status){t.next=18;break}return t.abrupt("return",null);case 18:throw t.t0;case 19:t.next=28;break;case 21:return Object.assign(o.params,{q:i,repo:"".concat(this.owner,"/").concat(this.repo),per_page:1}),t.next=24,this.$http.get("search/issues",o);case 24:return u=t.sent,c=u.data,l=c.map(Fl).find((function(t){return t.title===i})),t.abrupt("return",l||null);case 28:case"end":return t.stop()}}),t,this,[[4,12]])}))),function(t){return f.apply(this,arguments)})},{key:"postIssue",value:(l=Bc(regeneratorRuntime.mark((function t(e){var n,r,i,o,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.accessToken,r=e.title,i=e.content,t.next=3,this.$http.post("repos/".concat(this.owner,"/issues"),{access_token:n,repo:this.repo,title:r,body:i,labels:this.labels.join(",")});case 3:return o=t.sent,s=o.data,t.abrupt("return",Fl(s));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"getComments",value:(c=Bc(regeneratorRuntime.mark((function t(e){var n,r,i,o,s,a,u,c,l,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.accessToken,r=e.issueId,i=e.query,o=(i=void 0===i?{}:i).page,s=void 0===o?1:o,a=i.perPage,c={params:{page:s,per_page:u=void 0===a?10:a},headers:{Accept:["application/vnd.gitee.html+json"]}},n&&(c.params.access_token=n),t.next=7,this.$http.get("repos/".concat(this.owner,"/").concat(this.repo,"/issues/").concat(r,"/comments"),c);case 7:return l=t.sent,f=Number(l.headers.total_count),t.abrupt("return",{count:f,page:s,perPage:u,data:l.data.map(Al)});case 10:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"postComment",value:(u=Bc(regeneratorRuntime.mark((function t(e){var n,r,i,o,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.accessToken,r=e.issueId,i=e.content,t.next=3,this.$http.post("repos/".concat(this.owner,"/").concat(this.repo,"/issues/").concat(r,"/comments"),{body:i,access_token:n},{headers:{Accept:["application/vnd.gitee.html+json"]}});case 3:return o=t.sent,s=o.data,t.abrupt("return",Al(s));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"putComment",value:(a=Bc(regeneratorRuntime.mark((function t(e){var n,r,i,o,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.accessToken,r=e.commentId,i=e.content,t.next=3,this.$http.patch("repos/".concat(this.owner,"/").concat(this.repo,"/issues/comments/").concat(r),{body:i,access_token:n},{headers:{Accept:["application/vnd.gitee.html+json"]}});case 3:return o=t.sent,s=o.data,t.abrupt("return",Al(s));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"deleteComment",value:(s=Bc(regeneratorRuntime.mark((function t(e){var n,r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.accessToken,r=e.commentId,t.next=3,this.$http.delete("repos/".concat(this.owner,"/").concat(this.repo,"/issues/comments/").concat(r),{params:{access_token:n}});case 3:return i=t.sent,o=i.status,t.abrupt("return",204===o);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"getCommentReactions",value:(o=Bc(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:throw new Error("501 Not Implemented");case 1:case"end":return t.stop()}}),t)}))),function(t){return o.apply(this,arguments)})},{key:"postCommentReaction",value:(i=Bc(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:throw new Error("501 Not Implemented");case 1:case"end":return t.stop()}}),t)}))),function(t){return i.apply(this,arguments)})},{key:"platform",get:function(){return{name:"Gitee",link:this.baseURL,version:"v5",meta:{reactable:!1,sortable:!1}}}}])&&Kc(e.prototype,n),r&&Kc(e,r),t}();"undefined"!=typeof window&&window.Vue&&window.Vue.use(ju,{api:Rl})}(Vue);
  