@logan-jun/cd1-rag-chat 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/assets/{arc-CEjm_TxR.js → arc-B5hRruRb.js} +1 -1
  2. package/dist/assets/{architectureDiagram-3BPJPVTR-Cp2HDVpm.js → architectureDiagram-3BPJPVTR-jrcRCLfr.js} +1 -1
  3. package/dist/assets/{blockDiagram-GPEHLZMM-BQ00kwZS.js → blockDiagram-GPEHLZMM-D2uNiCoM.js} +1 -1
  4. package/dist/assets/{c4Diagram-AAUBKEIU-BisNzCoM.js → c4Diagram-AAUBKEIU-DbZY1pWe.js} +1 -1
  5. package/dist/assets/channel-CxkP1mgW.js +1 -0
  6. package/dist/assets/{chunk-2J33WTMH-7IyosOxa.js → chunk-2J33WTMH-BbevoPVB.js} +1 -1
  7. package/dist/assets/{chunk-4BX2VUAB-DU7RqtVr.js → chunk-4BX2VUAB-CV25i0x_.js} +1 -1
  8. package/dist/assets/{chunk-55IACEB6-ShO3Sb5A.js → chunk-55IACEB6-CLanG6xD.js} +1 -1
  9. package/dist/assets/{chunk-727SXJPM-V9W7Ke17.js → chunk-727SXJPM-CUHMtWd-.js} +1 -1
  10. package/dist/assets/{chunk-AQP2D5EJ-BAtFlD1X.js → chunk-AQP2D5EJ-CaJw-F0S.js} +1 -1
  11. package/dist/assets/{chunk-FMBD7UC4-q80IYdgk.js → chunk-FMBD7UC4-CD_yQwRt.js} +1 -1
  12. package/dist/assets/{chunk-ND2GUHAM-BxUzbw-k.js → chunk-ND2GUHAM-BKasXBd_.js} +1 -1
  13. package/dist/assets/{chunk-QZHKN3VN-CceniOhD.js → chunk-QZHKN3VN-DrxjfkCf.js} +1 -1
  14. package/dist/assets/classDiagram-4FO5ZUOK-CIcvqmsO.js +1 -0
  15. package/dist/assets/classDiagram-v2-Q7XG4LA2-CIcvqmsO.js +1 -0
  16. package/dist/assets/{cose-bilkent-S5V4N54A-DnjbZfMv.js → cose-bilkent-S5V4N54A-B6hMueDl.js} +1 -1
  17. package/dist/assets/{dagre-BM42HDAG-Vrc6cQyG.js → dagre-BM42HDAG-Bqvgncpq.js} +1 -1
  18. package/dist/assets/{diagram-2AECGRRQ-lNhHRhuD.js → diagram-2AECGRRQ-DMbUq-3h.js} +1 -1
  19. package/dist/assets/{diagram-5GNKFQAL-DH8NzNT1.js → diagram-5GNKFQAL-CpsxyY54.js} +1 -1
  20. package/dist/assets/{diagram-KO2AKTUF-DQPWQ2wy.js → diagram-KO2AKTUF-z5PaSwy_.js} +1 -1
  21. package/dist/assets/{diagram-LMA3HP47-Bl01aqaJ.js → diagram-LMA3HP47-CAgLoo_L.js} +1 -1
  22. package/dist/assets/{diagram-OG6HWLK6-CN6tkRXI.js → diagram-OG6HWLK6-CX6g8NPl.js} +1 -1
  23. package/dist/assets/{erDiagram-TEJ5UH35-Dj9Ndw2F.js → erDiagram-TEJ5UH35-DQKLhiXP.js} +1 -1
  24. package/dist/assets/{flowDiagram-I6XJVG4X-CLJD1-kb.js → flowDiagram-I6XJVG4X-CvoIIIRL.js} +1 -1
  25. package/dist/assets/{ganttDiagram-6RSMTGT7-BB_i9I0Y.js → ganttDiagram-6RSMTGT7-LNOKvKyg.js} +1 -1
  26. package/dist/assets/{gitGraphDiagram-PVQCEYII-MO9maVdl.js → gitGraphDiagram-PVQCEYII-CBl-x2KY.js} +1 -1
  27. package/dist/assets/{index-_zFISBb7.js → index-DgfLAEAF.js} +15 -15
  28. package/dist/assets/index-DsBn3nLl.css +1 -0
  29. package/dist/assets/{infoDiagram-5YYISTIA-C_B7oRnK.js → infoDiagram-5YYISTIA-1FJpx-y5.js} +1 -1
  30. package/dist/assets/{ishikawaDiagram-YF4QCWOH-DarTVWAu.js → ishikawaDiagram-YF4QCWOH-Jy4m9Ko0.js} +1 -1
  31. package/dist/assets/{journeyDiagram-JHISSGLW-BgpyrCO4.js → journeyDiagram-JHISSGLW-D6XBhWOt.js} +1 -1
  32. package/dist/assets/{kanban-definition-UN3LZRKU-BcYBmdvA.js → kanban-definition-UN3LZRKU-e8IDaIoh.js} +1 -1
  33. package/dist/assets/{linear-D_Ntb4o6.js → linear-BFOE0130.js} +1 -1
  34. package/dist/assets/{mermaid.core-NyHocDCX.js → mermaid.core-CAJcdzB2.js} +4 -4
  35. package/dist/assets/{mindmap-definition-RKZ34NQL-C6Sk83rn.js → mindmap-definition-RKZ34NQL-DXoNy0tU.js} +1 -1
  36. package/dist/assets/{pieDiagram-4H26LBE5-D2YGrcE9.js → pieDiagram-4H26LBE5-Dnac-1FG.js} +1 -1
  37. package/dist/assets/{quadrantDiagram-W4KKPZXB-MFs21wYG.js → quadrantDiagram-W4KKPZXB-CodL5gwQ.js} +1 -1
  38. package/dist/assets/{requirementDiagram-4Y6WPE33-BK6Jd7Or.js → requirementDiagram-4Y6WPE33-Ckumwyrv.js} +1 -1
  39. package/dist/assets/{sankeyDiagram-5OEKKPKP-Dv6QDqRj.js → sankeyDiagram-5OEKKPKP-DfomtVgp.js} +1 -1
  40. package/dist/assets/{sequenceDiagram-3UESZ5HK-DGvxyRnG.js → sequenceDiagram-3UESZ5HK-SgXP3xRz.js} +1 -1
  41. package/dist/assets/{stateDiagram-AJRCARHV-CZwz_oPu.js → stateDiagram-AJRCARHV-BGt-tlTE.js} +1 -1
  42. package/dist/assets/stateDiagram-v2-BHNVJYJU-D3LI__5W.js +1 -0
  43. package/dist/assets/{timeline-definition-PNZ67QCA-BFlBr5uO.js → timeline-definition-PNZ67QCA-UTScVsft.js} +1 -1
  44. package/dist/assets/{vennDiagram-CIIHVFJN-BjKRK01G.js → vennDiagram-CIIHVFJN-LHQpT53H.js} +1 -1
  45. package/dist/assets/{wardley-L42UT6IY-44Mdcee-.js → wardley-L42UT6IY-DU4f3T8l.js} +1 -1
  46. package/dist/assets/{wardleyDiagram-YWT4CUSO-DifoM5ez.js → wardleyDiagram-YWT4CUSO-BCfVATVF.js} +1 -1
  47. package/dist/assets/{xychartDiagram-2RQKCTM6-swy9ZKZN.js → xychartDiagram-2RQKCTM6-BemyKV1H.js} +1 -1
  48. package/dist/index.html +2 -2
  49. package/package.json +1 -1
  50. package/dist/assets/channel-BXznNZpQ.js +0 -1
  51. package/dist/assets/classDiagram-4FO5ZUOK-DVV0lX27.js +0 -1
  52. package/dist/assets/classDiagram-v2-Q7XG4LA2-DVV0lX27.js +0 -1
  53. package/dist/assets/index-jMWU4758.css +0 -1
  54. package/dist/assets/stateDiagram-v2-BHNVJYJU-d31Ya4O3.js +0 -1
@@ -2,7 +2,7 @@ var el=Object.defineProperty;var tl=(e,t,n)=>t in e?el(e,t,{enumerable:!0,config
2
2
  * Vue.js v2.7.16
3
3
  * (c) 2014-2023 Evan You
4
4
  * Released under the MIT License.
5
- */var ve=Object.freeze({}),P=Array.isArray;function E(e){return e==null}function m(e){return e!=null}function V(e){return e===!0}function rl(e){return e===!1}function fn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function Y(e){return typeof e=="function"}function ue(e){return e!==null&&typeof e=="object"}var fi=Object.prototype.toString;function Te(e){return fi.call(e)==="[object Object]"}function il(e){return fi.call(e)==="[object RegExp]"}function Ao(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function zr(e){return m(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function sl(e){return e==null?"":Array.isArray(e)||Te(e)&&e.toString===fi?JSON.stringify(e,ol,2):String(e)}function ol(e,t){return t&&t.__v_isRef?t.value:t}function sn(e){var t=parseFloat(e);return isNaN(t)?e:t}function Ne(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(s){return n[s.toLowerCase()]}:function(s){return n[s]}}Ne("slot,component",!0);var al=Ne("key,ref,slot,slot-scope,is");function ot(e,t){var n=e.length;if(n){if(t===e[n-1]){e.length=n-1;return}var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var ll=Object.prototype.hasOwnProperty;function pe(e,t){return ll.call(e,t)}function bt(e){var t=Object.create(null);return function(r){var i=t[r];return i||(t[r]=e(r))}}var cl=/-(\w)/g,mt=bt(function(e){return e.replace(cl,function(t,n){return n?n.toUpperCase():""})}),ul=bt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),fl=/\B([A-Z])/g,pn=bt(function(e){return e.replace(fl,"-$1").toLowerCase()});function pl(e,t){function n(r){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return n._length=e.length,n}function hl(e,t){return e.bind(t)}var Eo=Function.prototype.bind?hl:pl;function Fr(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function X(e,t){for(var n in t)e[n]=t[n];return e}function Oo(e){for(var t={},n=0;n<e.length;n++)e[n]&&X(t,e[n]);return t}function Q(e,t,n){}var Cn=function(e,t,n){return!1},$o=function(e){return e};function gt(e,t){if(e===t)return!0;var n=ue(e),r=ue(t);if(n&&r)try{var i=Array.isArray(e),s=Array.isArray(t);if(i&&s)return e.length===t.length&&e.every(function(l,u){return gt(l,t[u])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!i&&!s){var o=Object.keys(e),a=Object.keys(t);return o.length===a.length&&o.every(function(l){return gt(e[l],t[l])})}else return!1}catch{return!1}else return!n&&!r?String(e)===String(t):!1}function Ro(e,t){for(var n=0;n<e.length;n++)if(gt(e[n],t))return n;return-1}function jn(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function Br(e,t){return e===t?e===0&&1/e!==1/t:e===e||t===t}var ss="data-server-rendered",ir=["component","directive","filter"],Io=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],$e={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Cn,isReservedAttr:Cn,isUnknownElement:Cn,getTagNamespace:Q,parsePlatformTagName:$o,mustUseProp:Cn,async:!0,_lifecycleHooks:Io},dl=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Do(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function xe(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}var ml=new RegExp("[^".concat(dl.source,".$_\\d]"));function gl(e){if(!ml.test(e)){var t=e.split(".");return function(n){for(var r=0;r<t.length;r++){if(!n)return;n=n[t[r]]}return n}}}var vl="__proto__"in{},Se=typeof window!="undefined",Re=Se&&window.navigator.userAgent.toLowerCase(),Mt=Re&&/msie|trident/.test(Re),zt=Re&&Re.indexOf("msie 9.0")>0,Lo=Re&&Re.indexOf("edge/")>0;Re&&Re.indexOf("android")>0;var _l=Re&&/iphone|ipad|ipod|ios/.test(Re),os=Re&&Re.match(/firefox\/(\d+)/),Hr={}.watch,Po=!1;if(Se)try{var as={};Object.defineProperty(as,"passive",{get:function(){Po=!0}}),window.addEventListener("test-passive",null,as)}catch{}var Sn,at=function(){return Sn===void 0&&(!Se&&typeof global!="undefined"?Sn=global.process&&nl.VUE_ENV==="server":Sn=!1),Sn},Wn=Se&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Pt(e){return typeof e=="function"&&/native code/.test(e.toString())}var hn=typeof Symbol!="undefined"&&Pt(Symbol)&&typeof Reflect!="undefined"&&Pt(Reflect.ownKeys),on;typeof Set!="undefined"&&Pt(Set)?on=Set:on=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Le=null;function rt(e){e===void 0&&(e=null),e||Le&&Le._scope.off(),Le=e,e&&e._scope.on()}var Ce=function(){function e(t,n,r,i,s,o,a,l){this.tag=t,this.data=n,this.children=r,this.text=i,this.elm=s,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),pt=function(e){e===void 0&&(e="");var t=new Ce;return t.text=e,t.isComment=!0,t};function It(e){return new Ce(void 0,void 0,void 0,String(e))}function Ur(e){var t=new Ce(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var yl=0,Mn=[],bl=function(){for(var e=0;e<Mn.length;e++){var t=Mn[e];t.subs=t.subs.filter(function(n){return n}),t._pending=!1}Mn.length=0},Ye=function(){function e(){this._pending=!1,this.id=yl++,this.subs=[]}return e.prototype.addSub=function(t){this.subs.push(t)},e.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,Mn.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(t){for(var n=this.subs.filter(function(o){return o}),r=0,i=n.length;r<i;r++){var s=n[r];s.update()}},e}();Ye.target=null;var zn=[];function Ft(e){zn.push(e),Ye.target=e}function Bt(){zn.pop(),Ye.target=zn[zn.length-1]}var No=Array.prototype,Gn=Object.create(No),wl=["push","pop","shift","unshift","splice","sort","reverse"];wl.forEach(function(e){var t=No[e];xe(Gn,e,function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var s=t.apply(this,r),o=this.__ob__,a;switch(e){case"push":case"unshift":a=r;break;case"splice":a=r.slice(2);break}return a&&o.observeArray(a),o.dep.notify(),s})});var ls=Object.getOwnPropertyNames(Gn),Mo={},pi=!0;function it(e){pi=e}var xl={notify:Q,depend:Q,addSub:Q,removeSub:Q},cs=function(){function e(t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!1),this.value=t,this.shallow=n,this.mock=r,this.dep=r?xl:new Ye,this.vmCount=0,xe(t,"__ob__",this),P(t)){if(!r)if(vl)t.__proto__=Gn;else for(var i=0,s=ls.length;i<s;i++){var o=ls[i];xe(t,o,Gn[o])}n||this.observeArray(t)}else for(var a=Object.keys(t),i=0;i<a.length;i++){var o=a[i];st(t,o,Mo,void 0,n,r)}}return e.prototype.observeArray=function(t){for(var n=0,r=t.length;n<r;n++)Xe(t[n],!1,this.mock)},e}();function Xe(e,t,n){if(e&&pe(e,"__ob__")&&e.__ob__ instanceof cs)return e.__ob__;if(pi&&(n||!at())&&(P(e)||Te(e))&&Object.isExtensible(e)&&!e.__v_skip&&!ke(e)&&!(e instanceof Ce))return new cs(e,t,n)}function st(e,t,n,r,i,s,o){o===void 0&&(o=!1);var a=new Ye,l=Object.getOwnPropertyDescriptor(e,t);if(!(l&&l.configurable===!1)){var u=l&&l.get,f=l&&l.set;(!u||f)&&(n===Mo||arguments.length===2)&&(n=e[t]);var g=i?n&&n.__ob__:Xe(n,!1,s);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var _=u?u.call(e):n;return Ye.target&&(a.depend(),g&&(g.dep.depend(),P(_)&&Fo(_))),ke(_)&&!i?_.value:_},set:function(_){var w=u?u.call(e):n;if(Br(w,_)){if(f)f.call(e,_);else{if(u)return;if(!i&&ke(w)&&!ke(_)){w.value=_;return}else n=_}g=i?_&&_.__ob__:Xe(_,!1,s),a.notify()}}}),a}}function hi(e,t,n){if(!sr(e)){var r=e.__ob__;return P(e)&&Ao(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Xe(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(st(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function zo(e,t){if(P(e)&&Ao(t)){e.splice(t,1);return}var n=e.__ob__;e._isVue||n&&n.vmCount||sr(e)||pe(e,t)&&(delete e[t],n&&n.dep.notify())}function Fo(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),P(t)&&Fo(t)}function kl(e){return Ho(e,!1),e}function Bo(e){return Ho(e,!0),xe(e,"__v_isShallow",!0),e}function Ho(e,t){sr(e)||Xe(e,t,at())}function Fn(e){return sr(e)?Fn(e.__v_raw):!!(e&&e.__ob__)}function us(e){return!!(e&&e.__v_isShallow)}function sr(e){return!!(e&&e.__v_isReadonly)}var Uo="__v_isRef";function ke(e){return!!(e&&e.__v_isRef===!0)}function be(e){return Tl(e,!1)}function Tl(e,t){if(ke(e))return e;var n={};return xe(n,Uo,!0),xe(n,"__v_isShallow",t),xe(n,"dep",st(n,"value",e,null,t,at())),n}function jr(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var r=t[n];if(ke(r))return r.value;var i=r&&r.__ob__;return i&&i.dep.depend(),r},set:function(r){var i=t[n];ke(i)&&!ke(r)?i.value=r:t[n]=r}})}function Cl(e,t){var n,r,i=Y(e);i?(n=e,r=Q):(n=e.get,r=e.set);var s=at()?null:new mn(Le,n,Q,{lazy:!0}),o={effect:s,get value(){return s?(s.dirty&&s.evaluate(),Ye.target&&s.depend(),s.value):n()},set value(a){r(a)}};return xe(o,Uo,!0),xe(o,"__v_isReadonly",i),o}var or="watcher",fs="".concat(or," callback"),ps="".concat(or," getter"),Sl="".concat(or," cleanup"),hs={};function ar(e,t,n){return Al(e,t,n)}function Al(e,t,n){var r=n===void 0?ve:n,i=r.immediate,s=r.deep,o=r.flush,a=o===void 0?"pre":o;r.onTrack,r.onTrigger;var l=Le,u=function($,L,I){I===void 0&&(I=null);var K=Ke($,null,I,l,L);return s&&K&&K.__ob__&&K.__ob__.dep.depend(),K},f,g=!1,y=!1;if(ke(e)?(f=function(){return e.value},g=us(e)):Fn(e)?(f=function(){return e.__ob__.dep.depend(),e},s=!0):P(e)?(y=!0,g=e.some(function($){return Fn($)||us($)}),f=function(){return e.map(function($){if(ke($))return $.value;if(Fn($))return $.__ob__.dep.depend(),Nt($);if(Y($))return u($,ps)})}):Y(e)?t?f=function(){return u(e,ps)}:f=function(){if(!(l&&l._isDestroyed))return w&&w(),u(e,or,[S])}:f=Q,t&&s){var _=f;f=function(){return Nt(_())}}var w,S=function($){w=k.onStop=function(){u($,Sl)}};if(at())return S=Q,t?i&&u(t,fs,[f(),y?[]:void 0,S]):f(),Q;var k=new mn(Le,f,Q,{lazy:!0});k.noRecurse=!t;var F=y?[]:hs;return k.run=function(){if(k.active)if(t){var $=k.get();(s||g||(y?$.some(function(L,I){return Br(L,F[I])}):Br($,F)))&&(w&&w(),u(t,fs,[$,F===hs?void 0:F,S]),F=$)}else k.get()},a==="sync"?k.update=k.run:a==="post"?(k.post=!0,k.update=function(){return Kr(k)}):k.update=function(){if(l&&l===Le&&!l._isMounted){var $=l._preWatchers||(l._preWatchers=[]);$.indexOf(k)<0&&$.push(k)}else Kr(k)},t?i?k.run():F=k.get():a==="post"&&l?l.$once("hook:mounted",function(){return k.get()}):k.get(),function(){k.teardown()}}var ge,El=function(){function e(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ge,!t&&ge&&(this.index=(ge.scopes||(ge.scopes=[])).push(this)-1)}return e.prototype.run=function(t){if(this.active){var n=ge;try{return ge=this,t()}finally{ge=n}}},e.prototype.on=function(){ge=this},e.prototype.off=function(){ge=this.parent},e.prototype.stop=function(t){if(this.active){var n=void 0,r=void 0;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].teardown();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},e}();function Ol(e,t){t===void 0&&(t=ge),t&&t.active&&t.effects.push(e)}function $l(){return ge}function Rl(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}var ds=bt(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var n=e.charAt(0)==="~";e=n?e.slice(1):e;var r=e.charAt(0)==="!";return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}});function Wr(e,t){function n(){var r=n.fns;if(P(r))for(var i=r.slice(),s=0;s<i.length;s++)Ke(i[s],null,arguments,t,"v-on handler");else return Ke(r,null,arguments,t,"v-on handler")}return n.fns=e,n}function jo(e,t,n,r,i,s){var o,a,l,u;for(o in e)a=e[o],l=t[o],u=ds(o),E(a)||(E(l)?(E(a.fns)&&(a=e[o]=Wr(a,s)),V(u.once)&&(a=e[o]=i(u.name,a,u.capture)),n(u.name,a,u.capture,u.passive,u.params)):a!==l&&(l.fns=a,e[o]=l));for(o in t)E(e[o])&&(u=ds(o),r(u.name,t[o],u.capture))}function tt(e,t,n){e instanceof Ce&&(e=e.data.hook||(e.data.hook={}));var r,i=e[t];function s(){n.apply(this,arguments),ot(r.fns,s)}E(i)?r=Wr([s]):m(i.fns)&&V(i.merged)?(r=i,r.fns.push(s)):r=Wr([i,s]),r.merged=!0,e[t]=r}function Il(e,t,n){var r=t.options.props;if(!E(r)){var i={},s=e.attrs,o=e.props;if(m(s)||m(o))for(var a in r){var l=pn(a);ms(i,o,a,l,!0)||ms(i,s,a,l,!1)}return i}}function ms(e,t,n,r,i){if(m(t)){if(pe(t,n))return e[n]=t[n],i||delete t[n],!0;if(pe(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function Dl(e){for(var t=0;t<e.length;t++)if(P(e[t]))return Array.prototype.concat.apply([],e);return e}function di(e){return fn(e)?[It(e)]:P(e)?Wo(e):void 0}function Gt(e){return m(e)&&m(e.text)&&rl(e.isComment)}function Wo(e,t){var n=[],r,i,s,o;for(r=0;r<e.length;r++)i=e[r],!(E(i)||typeof i=="boolean")&&(s=n.length-1,o=n[s],P(i)?i.length>0&&(i=Wo(i,"".concat(t||"","_").concat(r)),Gt(i[0])&&Gt(o)&&(n[s]=It(o.text+i[0].text),i.shift()),n.push.apply(n,i)):fn(i)?Gt(o)?n[s]=It(o.text+i):i!==""&&n.push(It(i)):Gt(i)&&Gt(o)?n[s]=It(o.text+i.text):(V(e._isVList)&&m(i.tag)&&E(i.key)&&m(t)&&(i.key="__vlist".concat(t,"_").concat(r,"__")),n.push(i)));return n}function Ll(e,t){var n=null,r,i,s,o;if(P(e)||typeof e=="string")for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if(typeof e=="number")for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(ue(e))if(hn&&e[Symbol.iterator]){n=[];for(var a=e[Symbol.iterator](),l=a.next();!l.done;)n.push(t(l.value,n.length)),l=a.next()}else for(s=Object.keys(e),n=new Array(s.length),r=0,i=s.length;r<i;r++)o=s[r],n[r]=t(e[o],o,r);return m(n)||(n=[]),n._isVList=!0,n}function Pl(e,t,n,r){var i=this.$scopedSlots[e],s;i?(n=n||{},r&&(n=X(X({},r),n)),s=i(n)||(Y(t)?t():t)):s=this.$slots[e]||(Y(t)?t():t);var o=n&&n.slot;return o?this.$createElement("template",{slot:o},s):s}function Nl(e){return Kn(this.$options,"filters",e)||$o}function gs(e,t){return P(e)?e.indexOf(t)===-1:e!==t}function Ml(e,t,n,r,i){var s=$e.keyCodes[t]||n;return i&&r&&!$e.keyCodes[t]?gs(i,r):s?gs(s,e):r?pn(r)!==t:e===void 0}function zl(e,t,n,r,i){if(n&&ue(n)){P(n)&&(n=Oo(n));var s=void 0,o=function(l){if(l==="class"||l==="style"||al(l))s=e;else{var u=e.attrs&&e.attrs.type;s=r||$e.mustUseProp(t,u,l)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var f=mt(l),g=pn(l);if(!(f in s)&&!(g in s)&&(s[l]=n[l],i)){var y=e.on||(e.on={});y["update:".concat(l)]=function(_){n[l]=_}}};for(var a in n)o(a)}return e}function Fl(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),Go(r,"__static__".concat(e),!1)),r}function Bl(e,t,n){return Go(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function Go(e,t,n){if(P(e))for(var r=0;r<e.length;r++)e[r]&&typeof e[r]!="string"&&vs(e[r],"".concat(t,"_").concat(r),n);else vs(e,t,n)}function vs(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Hl(e,t){if(t&&Te(t)){var n=e.on=e.on?X({},e.on):{};for(var r in t){var i=n[r],s=t[r];n[r]=i?[].concat(i,s):s}}return e}function qo(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var s=e[i];P(s)?qo(s,t,n):s&&(s.proxy&&(s.fn.proxy=!0),t[s.key]=s.fn)}return r&&(t.$key=r),t}function Ul(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];typeof r=="string"&&r&&(e[t[n]]=t[n+1])}return e}function jl(e,t){return typeof e=="string"?t+e:e}function Zo(e){e._o=Bl,e._n=sn,e._s=sl,e._l=Ll,e._t=Pl,e._q=gt,e._i=Ro,e._m=Fl,e._f=Nl,e._k=Ml,e._b=zl,e._v=It,e._e=pt,e._u=qo,e._g=Hl,e._d=Ul,e._p=jl}function mi(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var s=e[r],o=s.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(s.context===t||s.fnContext===t)&&o&&o.slot!=null){var a=o.slot,l=n[a]||(n[a]=[]);s.tag==="template"?l.push.apply(l,s.children||[]):l.push(s)}else(n.default||(n.default=[])).push(s)}for(var u in n)n[u].every(Wl)&&delete n[u];return n}function Wl(e){return e.isComment&&!e.asyncFactory||e.text===" "}function an(e){return e.isComment&&e.asyncFactory}function tn(e,t,n,r){var i,s=Object.keys(n).length>0,o=t?!!t.$stable:!s,a=t&&t.$key;if(!t)i={};else{if(t._normalized)return t._normalized;if(o&&r&&r!==ve&&a===r.$key&&!s&&!r.$hasNormal)return r;i={};for(var l in t)t[l]&&l[0]!=="$"&&(i[l]=Gl(e,n,l,t[l]))}for(var u in n)u in i||(i[u]=ql(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),xe(i,"$stable",o),xe(i,"$key",a),xe(i,"$hasNormal",s),i}function Gl(e,t,n,r){var i=function(){var s=Le;rt(e);var o=arguments.length?r.apply(null,arguments):r({});o=o&&typeof o=="object"&&!P(o)?[o]:di(o);var a=o&&o[0];return rt(s),o&&(!a||o.length===1&&a.isComment&&!an(a))?void 0:o};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function ql(e,t){return function(){return e[t]}}function Zl(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=Yl(e);rt(e),Ft();var i=Ke(n,null,[e._props||Bo({}),r],e,"setup");if(Bt(),rt(),Y(i))t.render=i;else if(ue(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var s in i)s!=="__sfc"&&jr(o,i,s)}else for(var s in i)Do(s)||jr(e,i,s)}}function Yl(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};xe(t,"_v_attr_proxy",!0),qn(t,e.$attrs,ve,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};qn(t,e.$listeners,ve,e,"$listeners")}return e._listenersProxy},get slots(){return Kl(e)},emit:Eo(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return jr(e,t,n)})}}}function qn(e,t,n,r,i){var s=!1;for(var o in t)o in e?t[o]!==n[o]&&(s=!0):(s=!0,Xl(e,o,r,i));for(var o in e)o in t||(s=!0,delete e[o]);return s}function Xl(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Kl(e){return e._slotsProxy||Yo(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function Yo(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Jl(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=mi(t._renderChildren,r),e.$scopedSlots=n?tn(e.$parent,n.data.scopedSlots,e.$slots):ve,e._c=function(s,o,a,l){return Zn(e,s,o,a,l,!1)},e.$createElement=function(s,o,a,l){return Zn(e,s,o,a,l,!0)};var i=n&&n.data;st(e,"$attrs",i&&i.attrs||ve,null,!0),st(e,"$listeners",t._parentListeners||ve,null,!0)}var Bn=null;function Ql(e){Zo(e.prototype),e.prototype.$nextTick=function(t){return dn(t,this)},e.prototype._render=function(){var t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&t._isMounted&&(t.$scopedSlots=tn(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Yo(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var s=Le,o=Bn,a;try{rt(t),Bn=t,a=r.call(t._renderProxy,t.$createElement)}catch(l){vt(l,t,"render"),a=t._vnode}finally{Bn=o,rt(s)}return P(a)&&a.length===1&&(a=a[0]),a instanceof Ce||(a=pt()),a.parent=i,a}}function kr(e,t){return(e.__esModule||hn&&e[Symbol.toStringTag]==="Module")&&(e=e.default),ue(e)?t.extend(e):e}function Vl(e,t,n,r,i){var s=pt();return s.asyncFactory=e,s.asyncMeta={data:t,context:n,children:r,tag:i},s}function ec(e,t){if(V(e.error)&&m(e.errorComp))return e.errorComp;if(m(e.resolved))return e.resolved;var n=Bn;if(n&&m(e.owners)&&e.owners.indexOf(n)===-1&&e.owners.push(n),V(e.loading)&&m(e.loadingComp))return e.loadingComp;if(n&&!m(e.owners)){var r=e.owners=[n],i=!0,s=null,o=null;n.$on("hook:destroyed",function(){return ot(r,n)});var a=function(g){for(var y=0,_=r.length;y<_;y++)r[y].$forceUpdate();g&&(r.length=0,s!==null&&(clearTimeout(s),s=null),o!==null&&(clearTimeout(o),o=null))},l=jn(function(g){e.resolved=kr(g,t),i?r.length=0:a(!0)}),u=jn(function(g){m(e.errorComp)&&(e.error=!0,a(!0))}),f=e(l,u);return ue(f)&&(zr(f)?E(e.resolved)&&f.then(l,u):zr(f.component)&&(f.component.then(l,u),m(f.error)&&(e.errorComp=kr(f.error,t)),m(f.loading)&&(e.loadingComp=kr(f.loading,t),f.delay===0?e.loading=!0:s=setTimeout(function(){s=null,E(e.resolved)&&E(e.error)&&(e.loading=!0,a(!1))},f.delay||200)),m(f.timeout)&&(o=setTimeout(function(){o=null,E(e.resolved)&&u(null)},f.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}function Xo(e){if(P(e))for(var t=0;t<e.length;t++){var n=e[t];if(m(n)&&(m(n.componentOptions)||an(n)))return n}}var tc=1,Ko=2;function Zn(e,t,n,r,i,s){return(P(n)||fn(n))&&(i=r,r=n,n=void 0),V(s)&&(i=Ko),nc(e,t,n,r,i)}function nc(e,t,n,r,i){if(m(n)&&m(n.__ob__)||(m(n)&&m(n.is)&&(t=n.is),!t))return pt();P(r)&&Y(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===Ko?r=di(r):i===tc&&(r=Dl(r));var s,o;if(typeof t=="string"){var a=void 0;o=e.$vnode&&e.$vnode.ns||$e.getTagNamespace(t),$e.isReservedTag(t)?s=new Ce($e.parsePlatformTagName(t),n,r,void 0,void 0,e):(!n||!n.pre)&&m(a=Kn(e.$options,"components",t))?s=Cs(a,n,e,r,t):s=new Ce(t,n,r,void 0,void 0,e)}else s=Cs(t,n,e,r);return P(s)?s:m(s)?(m(o)&&Jo(s,o),m(n)&&rc(n),s):pt()}function Jo(e,t,n){if(e.ns=t,e.tag==="foreignObject"&&(t=void 0,n=!0),m(e.children))for(var r=0,i=e.children.length;r<i;r++){var s=e.children[r];m(s.tag)&&(E(s.ns)||V(n)&&s.tag!=="svg")&&Jo(s,t,n)}}function rc(e){ue(e.style)&&Nt(e.style),ue(e.class)&&Nt(e.class)}function vt(e,t,n){Ft();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var s=0;s<i.length;s++)try{var o=i[s].call(r,e,t,n)===!1;if(o)return}catch(a){_s(a,r,"errorCaptured hook")}}_s(e,t,n)}finally{Bt()}}function Ke(e,t,n,r,i){var s;try{s=n?e.apply(t,n):e.call(t),s&&!s._isVue&&zr(s)&&!s._handled&&(s.catch(function(o){return vt(o,r,i+" (Promise/async)")}),s._handled=!0)}catch(o){vt(o,r,i)}return s}function _s(e,t,n){if($e.errorHandler)try{return $e.errorHandler.call(null,e,t,n)}catch(r){r!==e&&ys(r)}ys(e)}function ys(e,t,n){if(Se&&typeof console!="undefined")console.error(e);else throw e}var Gr=!1,qr=[],Zr=!1;function An(){Zr=!1;var e=qr.slice(0);qr.length=0;for(var t=0;t<e.length;t++)e[t]()}var Vt;if(typeof Promise!="undefined"&&Pt(Promise)){var ic=Promise.resolve();Vt=function(){ic.then(An),_l&&setTimeout(Q)},Gr=!0}else if(!Mt&&typeof MutationObserver!="undefined"&&(Pt(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var En=1,sc=new MutationObserver(An),bs=document.createTextNode(String(En));sc.observe(bs,{characterData:!0}),Vt=function(){En=(En+1)%2,bs.data=String(En)},Gr=!0}else typeof setImmediate!="undefined"&&Pt(setImmediate)?Vt=function(){setImmediate(An)}:Vt=function(){setTimeout(An,0)};function dn(e,t){var n;if(qr.push(function(){if(e)try{e.call(t)}catch(r){vt(r,t,"nextTick")}else n&&n(t)}),Zr||(Zr=!0,Vt()),!e&&typeof Promise!="undefined")return new Promise(function(r){n=r})}function Qo(e){return function(t,n){if(n===void 0&&(n=Le),!!n)return oc(n,e,t)}}function oc(e,t,n){var r=e.$options;r[t]=oa(r[t],n)}var Vo=Qo("mounted"),ac=Qo("updated"),lc="2.7.16";var ws=new on;function Nt(e){return Hn(e,ws),ws.clear(),e}function Hn(e,t){var n,r,i=P(e);if(!(!i&&!ue(e)||e.__v_skip||Object.isFrozen(e)||e instanceof Ce)){if(e.__ob__){var s=e.__ob__.dep.id;if(t.has(s))return;t.add(s)}if(i)for(n=e.length;n--;)Hn(e[n],t);else if(ke(e))Hn(e.value,t);else for(r=Object.keys(e),n=r.length;n--;)Hn(e[r[n]],t)}}var cc=0,mn=function(){function e(t,n,r,i,s){Ol(this,ge&&!ge._vm?ge:t?t._scope:void 0),(this.vm=t)&&s&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++cc,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new on,this.newDepIds=new on,this.expression="",Y(n)?this.getter=n:(this.getter=gl(n),this.getter||(this.getter=Q)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){Ft(this);var t,n=this.vm;try{t=this.getter.call(n,n)}catch(r){if(this.user)vt(r,n,'getter for watcher "'.concat(this.expression,'"'));else throw r}finally{this.deep&&Nt(t),Bt(),this.cleanupDeps()}return t},e.prototype.addDep=function(t){var n=t.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(t),this.depIds.has(n)||t.addSub(this))},e.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var n=this.deps[t];this.newDepIds.has(n.id)||n.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Kr(this)},e.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||ue(t)||this.deep){var n=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');Ke(this.cb,this.vm,[t,n],this.vm,r)}else this.cb.call(this.vm,t,n)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&ot(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function uc(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ea(e,t)}var ln;function fc(e,t){ln.$on(e,t)}function pc(e,t){ln.$off(e,t)}function hc(e,t){var n=ln;return function r(){var i=t.apply(null,arguments);i!==null&&n.$off(e,r)}}function ea(e,t,n){ln=e,jo(t,n||{},fc,pc,hc,e),ln=void 0}function dc(e){var t=/^hook:/;e.prototype.$on=function(n,r){var i=this;if(P(n))for(var s=0,o=n.length;s<o;s++)i.$on(n[s],r);else(i._events[n]||(i._events[n]=[])).push(r),t.test(n)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(n,r){var i=this;function s(){i.$off(n,s),r.apply(i,arguments)}return s.fn=r,i.$on(n,s),i},e.prototype.$off=function(n,r){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(P(n)){for(var s=0,o=n.length;s<o;s++)i.$off(n[s],r);return i}var a=i._events[n];if(!a)return i;if(!r)return i._events[n]=null,i;for(var l,u=a.length;u--;)if(l=a[u],l===r||l.fn===r){a.splice(u,1);break}return i},e.prototype.$emit=function(n){var r=this,i=r._events[n];if(i){i=i.length>1?Fr(i):i;for(var s=Fr(arguments,1),o='event handler for "'.concat(n,'"'),a=0,l=i.length;a<l;a++)Ke(i[a],r,s,r,o)}return r}}var ht=null;function ta(e){var t=ht;return ht=e,function(){ht=t}}function mc(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function gc(e){e.prototype._update=function(t,n){var r=this,i=r.$el,s=r._vnode,o=ta(r);r._vnode=t,s?r.$el=r.__patch__(s,t):r.$el=r.__patch__(r.$el,t,n,!1),o(),i&&(i.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var a=r;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Pe(t,"beforeDestroy"),t._isBeingDestroyed=!0;var n=t.$parent;n&&!n._isBeingDestroyed&&!t.$options.abstract&&ot(n.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Pe(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function vc(e,t,n){e.$el=t,e.$options.render||(e.$options.render=pt),Pe(e,"beforeMount");var r;r=function(){e._update(e._render(),n)};var i={before:function(){e._isMounted&&!e._isDestroyed&&Pe(e,"beforeUpdate")}};new mn(e,r,Q,i,!0),n=!1;var s=e._preWatchers;if(s)for(var o=0;o<s.length;o++)s[o].run();return e.$vnode==null&&(e._isMounted=!0,Pe(e,"mounted")),e}function _c(e,t,n,r,i){var s=r.data.scopedSlots,o=e.$scopedSlots,a=!!(s&&!s.$stable||o!==ve&&!o.$stable||s&&e.$scopedSlots.$key!==s.$key||!s&&e.$scopedSlots.$key),l=!!(i||e.$options._renderChildren||a),u=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i;var f=r.data.attrs||ve;e._attrsProxy&&qn(e._attrsProxy,f,u.data&&u.data.attrs||ve,e,"$attrs")&&(l=!0),e.$attrs=f,n=n||ve;var g=e.$options._parentListeners;if(e._listenersProxy&&qn(e._listenersProxy,n,g||ve,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,ea(e,n,g),t&&e.$options.props){it(!1);for(var y=e._props,_=e.$options._propKeys||[],w=0;w<_.length;w++){var S=_[w],k=e.$options.props;y[S]=wi(S,k,t,e)}it(!0),e.$options.propsData=t}l&&(e.$slots=mi(i,r.context),e.$forceUpdate())}function na(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function gi(e,t){if(t){if(e._directInactive=!1,na(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var n=0;n<e.$children.length;n++)gi(e.$children[n]);Pe(e,"activated")}}function ra(e,t){if(!(t&&(e._directInactive=!0,na(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)ra(e.$children[n]);Pe(e,"deactivated")}}function Pe(e,t,n,r){r===void 0&&(r=!0),Ft();var i=Le,s=$l();r&&rt(e);var o=e.$options[t],a="".concat(t," hook");if(o)for(var l=0,u=o.length;l<u;l++)Ke(o[l],e,null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),r&&(rt(i),s&&s.on()),Bt()}var qe=[],vi=[],Yn={},Yr=!1,_i=!1,Dt=0;function yc(){Dt=qe.length=vi.length=0,Yn={},Yr=_i=!1}var ia=0,Xr=Date.now;if(Se&&!Mt){var Tr=window.performance;Tr&&typeof Tr.now=="function"&&Xr()>document.createEvent("Event").timeStamp&&(Xr=function(){return Tr.now()})}var bc=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function wc(){ia=Xr(),_i=!0;var e,t;for(qe.sort(bc),Dt=0;Dt<qe.length;Dt++)e=qe[Dt],e.before&&e.before(),t=e.id,Yn[t]=null,e.run();var n=vi.slice(),r=qe.slice();yc(),Tc(n),xc(r),bl(),Wn&&$e.devtools&&Wn.emit("flush")}function xc(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Pe(r,"updated")}}function kc(e){e._inactive=!1,vi.push(e)}function Tc(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,gi(e[t],!0)}function Kr(e){var t=e.id;if(Yn[t]==null&&!(e===Ye.target&&e.noRecurse)){if(Yn[t]=!0,!_i)qe.push(e);else{for(var n=qe.length-1;n>Dt&&qe[n].id>e.id;)n--;qe.splice(n+1,0,e)}Yr||(Yr=!0,dn(wc))}}function Cc(e){var t=e.$options.provide;if(t){var n=Y(t)?t.call(e):t;if(!ue(n))return;for(var r=Rl(e),i=hn?Reflect.ownKeys(n):Object.keys(n),s=0;s<i.length;s++){var o=i[s];Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(n,o))}}}function Sc(e){var t=sa(e.$options.inject,e);t&&(it(!1),Object.keys(t).forEach(function(n){st(e,n,t[n])}),it(!0))}function sa(e,t){if(e){for(var n=Object.create(null),r=hn?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var s=r[i];if(s!=="__ob__"){var o=e[s].from;if(o in t._provided)n[s]=t._provided[o];else if("default"in e[s]){var a=e[s].default;n[s]=Y(a)?a.call(t):a}}}return n}}function yi(e,t,n,r,i){var s=this,o=i.options,a;pe(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var l=V(o._compiled),u=!l;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||ve,this.injections=sa(o.inject,r),this.slots=function(){return s.$slots||tn(r,e.scopedSlots,s.$slots=mi(n,r)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return tn(r,e.scopedSlots,this.slots())}}),l&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=tn(r,e.scopedSlots,this.$slots)),o._scopeId?this._c=function(f,g,y,_){var w=Zn(a,f,g,y,_,u);return w&&!P(w)&&(w.fnScopeId=o._scopeId,w.fnContext=r),w}:this._c=function(f,g,y,_){return Zn(a,f,g,y,_,u)}}Zo(yi.prototype);function Ac(e,t,n,r,i){var s=e.options,o={},a=s.props;if(m(a))for(var l in a)o[l]=wi(l,a,t||ve);else m(n.attrs)&&ks(o,n.attrs),m(n.props)&&ks(o,n.props);var u=new yi(n,o,i,r,e),f=s.render.call(null,u._c,u);if(f instanceof Ce)return xs(f,n,u.parent,s);if(P(f)){for(var g=di(f)||[],y=new Array(g.length),_=0;_<g.length;_++)y[_]=xs(g[_],n,u.parent,s);return y}}function xs(e,t,n,r,i){var s=Ur(e);return s.fnContext=n,s.fnOptions=r,t.slot&&((s.data||(s.data={})).slot=t.slot),s}function ks(e,t){for(var n in t)e[mt(n)]=t[n]}function Xn(e){return e.name||e.__name||e._componentTag}var bi={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;bi.prepatch(n,n)}else{var r=e.componentInstance=Ec(e,ht);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;_c(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Pe(n,"mounted")),e.data.keepAlive&&(t._isMounted?kc(n):gi(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?ra(t,!0):t.$destroy())}},Ts=Object.keys(bi);function Cs(e,t,n,r,i){if(!E(e)){var s=n.$options._base;if(ue(e)&&(e=s.extend(e)),typeof e=="function"){var o;if(E(e.cid)&&(o=e,e=ec(o,s),e===void 0))return Vl(o,t,n,r,i);t=t||{},ki(e),m(t.model)&&Rc(e.options,t);var a=Il(t,e);if(V(e.options.functional))return Ac(e,a,t,n,r);var l=t.on;if(t.on=t.nativeOn,V(e.options.abstract)){var u=t.slot;t={},u&&(t.slot=u)}Oc(t);var f=Xn(e.options)||i,g=new Ce("vue-component-".concat(e.cid).concat(f?"-".concat(f):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:l,tag:i,children:r},o);return g}}}function Ec(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return m(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function Oc(e){for(var t=e.hook||(e.hook={}),n=0;n<Ts.length;n++){var r=Ts[n],i=t[r],s=bi[r];i!==s&&!(i&&i._merged)&&(t[r]=i?$c(s,i):s)}}function $c(e,t){var n=function(r,i){e(r,i),t(r,i)};return n._merged=!0,n}function Rc(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),s=i[r],o=t.model.callback;m(s)?(P(s)?s.indexOf(o)===-1:s!==o)&&(i[r]=[o].concat(s)):i[r]=o}var Ic=Q,Ue=$e.optionMergeStrategies;function cn(e,t,n){if(n===void 0&&(n=!0),!t)return e;for(var r,i,s,o=hn?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)r=o[a],r!=="__ob__"&&(i=e[r],s=t[r],!n||!pe(e,r)?hi(e,r,s):i!==s&&Te(i)&&Te(s)&&cn(i,s));return e}function Ss(e,t,n){return n?function(){var i=Y(t)?t.call(n,n):t,s=Y(e)?e.call(n,n):e;return i?cn(i,s):s}:t?e?function(){return cn(Y(t)?t.call(this,this):t,Y(e)?e.call(this,this):e)}:t:e}Ue.data=function(e,t,n){return n?Ss(e,t,n):t&&typeof t!="function"?e:Ss(e,t)};function oa(e,t){var n=t?e?e.concat(t):P(t)?t:[t]:e;return n&&Dc(n)}function Dc(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}Io.forEach(function(e){Ue[e]=oa});function Lc(e,t,n,r){var i=Object.create(e||null);return t?X(i,t):i}ir.forEach(function(e){Ue[e+"s"]=Lc});Ue.watch=function(e,t,n,r){if(e===Hr&&(e=void 0),t===Hr&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};X(i,e);for(var s in t){var o=i[s],a=t[s];o&&!P(o)&&(o=[o]),i[s]=o?o.concat(a):P(a)?a:[a]}return i};Ue.props=Ue.methods=Ue.inject=Ue.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return X(i,e),t&&X(i,t),i};Ue.provide=function(e,t){return e?function(){var n=Object.create(null);return cn(n,Y(e)?e.call(this):e),t&&cn(n,Y(t)?t.call(this):t,!1),n}:t};var Pc=function(e,t){return t===void 0?e:t};function Nc(e,t){var n=e.props;if(n){var r={},i,s,o;if(P(n))for(i=n.length;i--;)s=n[i],typeof s=="string"&&(o=mt(s),r[o]={type:null});else if(Te(n))for(var a in n)s=n[a],o=mt(a),r[o]=Te(s)?s:{type:s};e.props=r}}function Mc(e,t){var n=e.inject;if(n){var r=e.inject={};if(P(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(Te(n))for(var s in n){var o=n[s];r[s]=Te(o)?X({from:s},o):{from:o}}}}function zc(e){var t=e.directives;if(t)for(var n in t){var r=t[n];Y(r)&&(t[n]={bind:r,update:r})}}function _t(e,t,n){if(Y(t)&&(t=t.options),Nc(t),Mc(t),zc(t),!t._base&&(t.extends&&(e=_t(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=_t(e,t.mixins[r],n);var s={},o;for(o in e)a(o);for(o in t)pe(e,o)||a(o);function a(l){var u=Ue[l]||Pc;s[l]=u(e[l],t[l],n,l)}return s}function Kn(e,t,n,r){if(typeof n=="string"){var i=e[t];if(pe(i,n))return i[n];var s=mt(n);if(pe(i,s))return i[s];var o=ul(s);if(pe(i,o))return i[o];var a=i[n]||i[s]||i[o];return a}}function wi(e,t,n,r){var i=t[e],s=!pe(n,e),o=n[e],a=Es(Boolean,i.type);if(a>-1){if(s&&!pe(i,"default"))o=!1;else if(o===""||o===pn(e)){var l=Es(String,i.type);(l<0||a<l)&&(o=!0)}}if(o===void 0){o=Fc(r,i,e);var u=pi;it(!0),Xe(o),it(u)}return o}function Fc(e,t,n){if(pe(t,"default")){var r=t.default;return e&&e.$options.propsData&&e.$options.propsData[n]===void 0&&e._props[n]!==void 0?e._props[n]:Y(r)&&Jr(t.type)!=="Function"?r.call(e):r}}var Bc=/^\s*function (\w+)/;function Jr(e){var t=e&&e.toString().match(Bc);return t?t[1]:""}function As(e,t){return Jr(e)===Jr(t)}function Es(e,t){if(!P(t))return As(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(As(t[n],e))return n;return-1}var et={enumerable:!0,configurable:!0,get:Q,set:Q};function xi(e,t,n){et.get=function(){return this[t][n]},et.set=function(i){this[t][n]=i},Object.defineProperty(e,n,et)}function Hc(e){var t=e.$options;if(t.props&&Uc(e,t.props),Zl(e),t.methods&&Zc(e,t.methods),t.data)jc(e);else{var n=Xe(e._data={});n&&n.vmCount++}t.computed&&qc(e,t.computed),t.watch&&t.watch!==Hr&&Yc(e,t.watch)}function Uc(e,t){var n=e.$options.propsData||{},r=e._props=Bo({}),i=e.$options._propKeys=[],s=!e.$parent;s||it(!1);var o=function(l){i.push(l);var u=wi(l,t,n,e);st(r,l,u,void 0,!0),l in e||xi(e,"_props",l)};for(var a in t)o(a);it(!0)}function jc(e){var t=e.$options.data;t=e._data=Y(t)?Wc(t,e):t||{},Te(t)||(t={});var n=Object.keys(t),r=e.$options.props;e.$options.methods;for(var i=n.length;i--;){var s=n[i];r&&pe(r,s)||Do(s)||xi(e,"_data",s)}var o=Xe(t);o&&o.vmCount++}function Wc(e,t){Ft();try{return e.call(t,t)}catch(n){return vt(n,t,"data()"),{}}finally{Bt()}}var Gc={lazy:!0};function qc(e,t){var n=e._computedWatchers=Object.create(null),r=at();for(var i in t){var s=t[i],o=Y(s)?s:s.get;r||(n[i]=new mn(e,o||Q,Q,Gc)),i in e||aa(e,i,s)}}function aa(e,t,n){var r=!at();Y(n)?(et.get=r?Os(t):$s(n),et.set=Q):(et.get=n.get?r&&n.cache!==!1?Os(t):$s(n.get):Q,et.set=n.set||Q),Object.defineProperty(e,t,et)}function Os(e){return function(){var n=this._computedWatchers&&this._computedWatchers[e];if(n)return n.dirty&&n.evaluate(),Ye.target&&n.depend(),n.value}}function $s(e){return function(){return e.call(this,this)}}function Zc(e,t){e.$options.props;for(var n in t)e[n]=typeof t[n]!="function"?Q:Eo(t[n],e)}function Yc(e,t){for(var n in t){var r=t[n];if(P(r))for(var i=0;i<r.length;i++)Qr(e,n,r[i]);else Qr(e,n,r)}}function Qr(e,t,n,r){return Te(n)&&(r=n,n=n.handler),typeof n=="string"&&(n=e[n]),e.$watch(t,n,r)}function Xc(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=hi,e.prototype.$delete=zo,e.prototype.$watch=function(r,i,s){var o=this;if(Te(i))return Qr(o,r,i,s);s=s||{},s.user=!0;var a=new mn(o,r,i,s);if(s.immediate){var l='callback for immediate watcher "'.concat(a.expression,'"');Ft(),Ke(i,o,[a.value],o,l),Bt()}return function(){a.teardown()}}}var Kc=0;function Jc(e){e.prototype._init=function(t){var n=this;n._uid=Kc++,n._isVue=!0,n.__v_skip=!0,n._scope=new El(!0),n._scope.parent=void 0,n._scope._vm=!0,t&&t._isComponent?Qc(n,t):n.$options=_t(ki(n.constructor),t||{},n),n._renderProxy=n,n._self=n,mc(n),uc(n),Jl(n),Pe(n,"beforeCreate",void 0,!1),Sc(n),Hc(n),Cc(n),Pe(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}function Qc(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function ki(e){var t=e.options;if(e.super){var n=ki(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=Vc(e);i&&X(e.extendOptions,i),t=e.options=_t(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Vc(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function ne(e){this._init(e)}Jc(ne);Xc(ne);dc(ne);gc(ne);Ql(ne);function eu(e){e.use=function(t){var n=this._installedPlugins||(this._installedPlugins=[]);if(n.indexOf(t)>-1)return this;var r=Fr(arguments,1);return r.unshift(this),Y(t.install)?t.install.apply(t,r):Y(t)&&t.apply(null,r),n.push(t),this}}function tu(e){e.mixin=function(t){return this.options=_t(this.options,t),this}}function nu(e){e.cid=0;var t=1;e.extend=function(n){n=n||{};var r=this,i=r.cid,s=n._Ctor||(n._Ctor={});if(s[i])return s[i];var o=Xn(n)||Xn(r.options),a=function(u){this._init(u)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=_t(r.options,n),a.super=r,a.options.props&&ru(a),a.options.computed&&iu(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,ir.forEach(function(l){a[l]=r[l]}),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=n,a.sealedOptions=X({},a.options),s[i]=a,a}}function ru(e){var t=e.options.props;for(var n in t)xi(e.prototype,"_props",n)}function iu(e){var t=e.options.computed;for(var n in t)aa(e.prototype,n,t[n])}function su(e){ir.forEach(function(t){e[t]=function(n,r){return r?(t==="component"&&Te(r)&&(r.name=r.name||n,r=this.options._base.extend(r)),t==="directive"&&Y(r)&&(r={bind:r,update:r}),this.options[t+"s"][n]=r,r):this.options[t+"s"][n]}})}function Rs(e){return e&&(Xn(e.Ctor.options)||e.tag)}function On(e,t){return P(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:il(e)?e.test(t):!1}function Is(e,t){var n=e.cache,r=e.keys,i=e._vnode,s=e.$vnode;for(var o in n){var a=n[o];if(a){var l=a.name;l&&!t(l)&&Vr(n,o,r,i)}}s.componentOptions.children=void 0}function Vr(e,t,n,r){var i=e[t];i&&(!r||i.tag!==r.tag)&&i.componentInstance.$destroy(),e[t]=null,ot(n,t)}var Ds=[String,RegExp,Array],ou={name:"keep-alive",abstract:!0,props:{include:Ds,exclude:Ds,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var s=r.tag,o=r.componentInstance,a=r.componentOptions;t[i]={name:Rs(a),tag:s,componentInstance:o},n.push(i),this.max&&n.length>parseInt(this.max)&&Vr(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Vr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Is(e,function(n){return On(t,n)})}),this.$watch("exclude",function(t){Is(e,function(n){return!On(t,n)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Xo(e),n=t&&t.componentOptions;if(n){var r=Rs(n),i=this,s=i.include,o=i.exclude;if(s&&(!r||!On(s,r))||o&&r&&On(o,r))return t;var a=this,l=a.cache,u=a.keys,f=t.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;l[f]?(t.componentInstance=l[f].componentInstance,ot(u,f),u.push(f)):(this.vnodeToCache=t,this.keyToCache=f),t.data.keepAlive=!0}return t||e&&e[0]}},au={KeepAlive:ou};function lu(e){var t={};t.get=function(){return $e},Object.defineProperty(e,"config",t),e.util={warn:Ic,extend:X,mergeOptions:_t,defineReactive:st},e.set=hi,e.delete=zo,e.nextTick=dn,e.observable=function(n){return Xe(n),n},e.options=Object.create(null),ir.forEach(function(n){e.options[n+"s"]=Object.create(null)}),e.options._base=e,X(e.options.components,au),eu(e),tu(e),nu(e),su(e)}lu(ne);Object.defineProperty(ne.prototype,"$isServer",{get:at});Object.defineProperty(ne.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(ne,"FunctionalRenderContext",{value:yi});ne.version=lc;var cu=Ne("style,class"),uu=Ne("input,textarea,option,select,progress"),fu=function(e,t,n){return n==="value"&&uu(e)&&t!=="button"||n==="selected"&&e==="option"||n==="checked"&&e==="input"||n==="muted"&&e==="video"},la=Ne("contenteditable,draggable,spellcheck"),pu=Ne("events,caret,typing,plaintext-only"),hu=function(e,t){return Jn(t)||t==="false"?"false":e==="contenteditable"&&pu(t)?t:"true"},du=Ne("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ei="http://www.w3.org/1999/xlink",Ti=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},ca=function(e){return Ti(e)?e.slice(6,e.length):""},Jn=function(e){return e==null||e===!1};function mu(e){for(var t=e.data,n=e,r=e;m(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=Ls(r.data,t));for(;m(n=n.parent);)n&&n.data&&(t=Ls(t,n.data));return gu(t.staticClass,t.class)}function Ls(e,t){return{staticClass:Ci(e.staticClass,t.staticClass),class:m(e.class)?[e.class,t.class]:t.class}}function gu(e,t){return m(e)||m(t)?Ci(e,Si(t)):""}function Ci(e,t){return e?t?e+" "+t:e:t||""}function Si(e){return Array.isArray(e)?vu(e):ue(e)?_u(e):typeof e=="string"?e:""}function vu(e){for(var t="",n,r=0,i=e.length;r<i;r++)m(n=Si(e[r]))&&n!==""&&(t&&(t+=" "),t+=n);return t}function _u(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var yu={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},bu=Ne("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ai=Ne("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ua=function(e){return bu(e)||Ai(e)};function wu(e){if(Ai(e))return"svg";if(e==="math")return"math"}var $n=Object.create(null);function xu(e){if(!Se)return!0;if(ua(e))return!1;if(e=e.toLowerCase(),$n[e]!=null)return $n[e];var t=document.createElement(e);return e.indexOf("-")>-1?$n[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:$n[e]=/HTMLUnknownElement/.test(t.toString())}var ti=Ne("text,number,password,search,email,tel,url");function ku(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function Tu(e,t){var n=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function Cu(e,t){return document.createElementNS(yu[e],t)}function Su(e){return document.createTextNode(e)}function Au(e){return document.createComment(e)}function Eu(e,t,n){e.insertBefore(t,n)}function Ou(e,t){e.removeChild(t)}function $u(e,t){e.appendChild(t)}function Ru(e){return e.parentNode}function Iu(e){return e.nextSibling}function Du(e){return e.tagName}function Lu(e,t){e.textContent=t}function Pu(e,t){e.setAttribute(t,"")}var Nu=Object.freeze({__proto__:null,createElement:Tu,createElementNS:Cu,createTextNode:Su,createComment:Au,insertBefore:Eu,removeChild:Ou,appendChild:$u,parentNode:Ru,nextSibling:Iu,tagName:Du,setTextContent:Lu,setStyleScope:Pu}),Mu={create:function(e,t){Lt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Lt(e,!0),Lt(t))},destroy:function(e){Lt(e,!0)}};function Lt(e,t){var n=e.data.ref;if(m(n)){var r=e.context,i=e.componentInstance||e.elm,s=t?null:i,o=t?void 0:i;if(Y(n)){Ke(n,r,[s],r,"template ref function");return}var a=e.data.refInFor,l=typeof n=="string"||typeof n=="number",u=ke(n),f=r.$refs;if(l||u){if(a){var g=l?f[n]:n.value;t?P(g)&&ot(g,i):P(g)?g.includes(i)||g.push(i):l?(f[n]=[i],Ps(r,n,f[n])):n.value=[i]}else if(l){if(t&&f[n]!==i)return;f[n]=o,Ps(r,n,s)}else if(u){if(t&&n.value!==i)return;n.value=s}}}}function Ps(e,t,n){var r=e._setupState;r&&pe(r,t)&&(ke(r[t])?r[t].value=n:r[t]=n)}var nt=new Ce("",{},[]),qt=["create","activate","update","remove","destroy"];function ut(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&m(e.data)===m(t.data)&&zu(e,t)||V(e.isAsyncPlaceholder)&&E(t.asyncFactory.error))}function zu(e,t){if(e.tag!=="input")return!0;var n,r=m(n=e.data)&&m(n=n.attrs)&&n.type,i=m(n=t.data)&&m(n=n.attrs)&&n.type;return r===i||ti(r)&&ti(i)}function Fu(e,t,n){var r,i,s={};for(r=t;r<=n;++r)i=e[r].key,m(i)&&(s[i]=r);return s}function Bu(e){var t,n,r={},i=e.modules,s=e.nodeOps;for(t=0;t<qt.length;++t)for(r[qt[t]]=[],n=0;n<i.length;++n)m(i[n][qt[t]])&&r[qt[t]].push(i[n][qt[t]]);function o(h){return new Ce(s.tagName(h).toLowerCase(),{},[],void 0,h)}function a(h,p){function d(){--d.listeners===0&&l(h)}return d.listeners=p,d}function l(h){var p=s.parentNode(h);m(p)&&s.removeChild(p,h)}function u(h,p,d,b,T,O,A){if(m(h.elm)&&m(O)&&(h=O[A]=Ur(h)),h.isRootInsert=!T,!f(h,p,d,b)){var R=h.data,z=h.children,B=h.tag;m(B)?(h.elm=h.ns?s.createElementNS(h.ns,B):s.createElement(B,h),F(h),w(h,z,p),m(R)&&k(h,p),_(d,h.elm,b)):V(h.isComment)?(h.elm=s.createComment(h.text),_(d,h.elm,b)):(h.elm=s.createTextNode(h.text),_(d,h.elm,b))}}function f(h,p,d,b){var T=h.data;if(m(T)){var O=m(h.componentInstance)&&T.keepAlive;if(m(T=T.hook)&&m(T=T.init)&&T(h,!1),m(h.componentInstance))return g(h,p),_(d,h.elm,b),V(O)&&y(h,p,d,b),!0}}function g(h,p){m(h.data.pendingInsert)&&(p.push.apply(p,h.data.pendingInsert),h.data.pendingInsert=null),h.elm=h.componentInstance.$el,S(h)?(k(h,p),F(h)):(Lt(h),p.push(h))}function y(h,p,d,b){for(var T,O=h;O.componentInstance;)if(O=O.componentInstance._vnode,m(T=O.data)&&m(T=T.transition)){for(T=0;T<r.activate.length;++T)r.activate[T](nt,O);p.push(O);break}_(d,h.elm,b)}function _(h,p,d){m(h)&&(m(d)?s.parentNode(d)===h&&s.insertBefore(h,p,d):s.appendChild(h,p))}function w(h,p,d){if(P(p))for(var b=0;b<p.length;++b)u(p[b],d,h.elm,null,!0,p,b);else fn(h.text)&&s.appendChild(h.elm,s.createTextNode(String(h.text)))}function S(h){for(;h.componentInstance;)h=h.componentInstance._vnode;return m(h.tag)}function k(h,p){for(var d=0;d<r.create.length;++d)r.create[d](nt,h);t=h.data.hook,m(t)&&(m(t.create)&&t.create(nt,h),m(t.insert)&&p.push(h))}function F(h){var p;if(m(p=h.fnScopeId))s.setStyleScope(h.elm,p);else for(var d=h;d;)m(p=d.context)&&m(p=p.$options._scopeId)&&s.setStyleScope(h.elm,p),d=d.parent;m(p=ht)&&p!==h.context&&p!==h.fnContext&&m(p=p.$options._scopeId)&&s.setStyleScope(h.elm,p)}function $(h,p,d,b,T,O){for(;b<=T;++b)u(d[b],O,h,p,!1,d,b)}function L(h){var p,d,b=h.data;if(m(b))for(m(p=b.hook)&&m(p=p.destroy)&&p(h),p=0;p<r.destroy.length;++p)r.destroy[p](h);if(m(p=h.children))for(d=0;d<h.children.length;++d)L(h.children[d])}function I(h,p,d){for(;p<=d;++p){var b=h[p];m(b)&&(m(b.tag)?(K(b),L(b)):l(b.elm))}}function K(h,p){if(m(p)||m(h.data)){var d,b=r.remove.length+1;for(m(p)?p.listeners+=b:p=a(h.elm,b),m(d=h.componentInstance)&&m(d=d._vnode)&&m(d.data)&&K(d,p),d=0;d<r.remove.length;++d)r.remove[d](h,p);m(d=h.data.hook)&&m(d=d.remove)?d(h,p):p()}else l(h.elm)}function N(h,p,d,b,T){for(var O=0,A=0,R=p.length-1,z=p[0],B=p[R],H=d.length-1,ee=d[0],U=d[H],ze,J,Fe,W,je=!T;O<=R&&A<=H;)E(z)?z=p[++O]:E(B)?B=p[--R]:ut(z,ee)?(oe(z,ee,b,d,A),z=p[++O],ee=d[++A]):ut(B,U)?(oe(B,U,b,d,H),B=p[--R],U=d[--H]):ut(z,U)?(oe(z,U,b,d,H),je&&s.insertBefore(h,z.elm,s.nextSibling(B.elm)),z=p[++O],U=d[--H]):ut(B,ee)?(oe(B,ee,b,d,A),je&&s.insertBefore(h,B.elm,z.elm),B=p[--R],ee=d[++A]):(E(ze)&&(ze=Fu(p,O,R)),J=m(ee.key)?ze[ee.key]:q(ee,p,O,R),E(J)?u(ee,b,h,z.elm,!1,d,A):(Fe=p[J],ut(Fe,ee)?(oe(Fe,ee,b,d,A),p[J]=void 0,je&&s.insertBefore(h,Fe.elm,z.elm)):u(ee,b,h,z.elm,!1,d,A)),ee=d[++A]);O>R?(W=E(d[H+1])?null:d[H+1].elm,$(h,W,d,A,H,b)):A>H&&I(p,O,R)}function q(h,p,d,b){for(var T=d;T<b;T++){var O=p[T];if(m(O)&&ut(h,O))return T}}function oe(h,p,d,b,T,O){if(h!==p){m(p.elm)&&m(b)&&(p=b[T]=Ur(p));var A=p.elm=h.elm;if(V(h.isAsyncPlaceholder)){m(p.asyncFactory.resolved)?ye(h.elm,p,d):p.isAsyncPlaceholder=!0;return}if(V(p.isStatic)&&V(h.isStatic)&&p.key===h.key&&(V(p.isCloned)||V(p.isOnce))){p.componentInstance=h.componentInstance;return}var R,z=p.data;m(z)&&m(R=z.hook)&&m(R=R.prepatch)&&R(h,p);var B=h.children,H=p.children;if(m(z)&&S(p)){for(R=0;R<r.update.length;++R)r.update[R](h,p);m(R=z.hook)&&m(R=R.update)&&R(h,p)}E(p.text)?m(B)&&m(H)?B!==H&&N(A,B,H,d,O):m(H)?(m(h.text)&&s.setTextContent(A,""),$(A,null,H,0,H.length-1,d)):m(B)?I(B,0,B.length-1):m(h.text)&&s.setTextContent(A,""):h.text!==p.text&&s.setTextContent(A,p.text),m(z)&&m(R=z.hook)&&m(R=R.postpatch)&&R(h,p)}}function _e(h,p,d){if(V(d)&&m(h.parent))h.parent.data.pendingInsert=p;else for(var b=0;b<p.length;++b)p[b].data.hook.insert(p[b])}var Me=Ne("attrs,class,staticClass,staticStyle,key");function ye(h,p,d,b){var T,O=p.tag,A=p.data,R=p.children;if(b=b||A&&A.pre,p.elm=h,V(p.isComment)&&m(p.asyncFactory))return p.isAsyncPlaceholder=!0,!0;if(m(A)&&(m(T=A.hook)&&m(T=T.init)&&T(p,!0),m(T=p.componentInstance)))return g(p,d),!0;if(m(O)){if(m(R))if(!h.hasChildNodes())w(p,R,d);else if(m(T=A)&&m(T=T.domProps)&&m(T=T.innerHTML)){if(T!==h.innerHTML)return!1}else{for(var z=!0,B=h.firstChild,H=0;H<R.length;H++){if(!B||!ye(B,R[H],d,b)){z=!1;break}B=B.nextSibling}if(!z||B)return!1}if(m(A)){var ee=!1;for(var U in A)if(!Me(U)){ee=!0,k(p,d);break}!ee&&A.class&&Nt(A.class)}}else h.data!==p.text&&(h.data=p.text);return!0}return function(p,d,b,T){if(E(d)){m(p)&&L(p);return}var O=!1,A=[];if(E(p))O=!0,u(d,A);else{var R=m(p.nodeType);if(!R&&ut(p,d))oe(p,d,A,null,null,T);else{if(R){if(p.nodeType===1&&p.hasAttribute(ss)&&(p.removeAttribute(ss),b=!0),V(b)&&ye(p,d,A))return _e(d,A,!0),p;p=o(p)}var z=p.elm,B=s.parentNode(z);if(u(d,A,z._leaveCb?null:B,s.nextSibling(z)),m(d.parent))for(var H=d.parent,ee=S(d);H;){for(var U=0;U<r.destroy.length;++U)r.destroy[U](H);if(H.elm=d.elm,ee){for(var ze=0;ze<r.create.length;++ze)r.create[ze](nt,H);var J=H.data.hook.insert;if(J.merged)for(var Fe=J.fns.slice(1),W=0;W<Fe.length;W++)Fe[W]()}else Lt(H);H=H.parent}m(B)?I([p],0,0):m(p.tag)&&L(p)}}return _e(d,A,O),d.elm}}var Hu={create:Cr,update:Cr,destroy:function(t){Cr(t,nt)}};function Cr(e,t){(e.data.directives||t.data.directives)&&Uu(e,t)}function Uu(e,t){var n=e===nt,r=t===nt,i=Ns(e.data.directives,e.context),s=Ns(t.data.directives,t.context),o=[],a=[],l,u,f;for(l in s)u=i[l],f=s[l],u?(f.oldValue=u.value,f.oldArg=u.arg,Zt(f,"update",t,e),f.def&&f.def.componentUpdated&&a.push(f)):(Zt(f,"bind",t,e),f.def&&f.def.inserted&&o.push(f));if(o.length){var g=function(){for(var y=0;y<o.length;y++)Zt(o[y],"inserted",t,e)};n?tt(t,"insert",g):g()}if(a.length&&tt(t,"postpatch",function(){for(var y=0;y<a.length;y++)Zt(a[y],"componentUpdated",t,e)}),!n)for(l in i)s[l]||Zt(i[l],"unbind",e,e,r)}var ju=Object.create(null);function Ns(e,t){var n=Object.create(null);if(!e)return n;var r,i;for(r=0;r<e.length;r++){if(i=e[r],i.modifiers||(i.modifiers=ju),n[Wu(i)]=i,t._setupState&&t._setupState.__sfc){var s=i.def||Kn(t,"_setupState","v-"+i.name);typeof s=="function"?i.def={bind:s,update:s}:i.def=s}i.def=i.def||Kn(t.$options,"directives",i.name)}return n}function Wu(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function Zt(e,t,n,r,i){var s=e.def&&e.def[t];if(s)try{s(n.elm,e,n,r,i)}catch(o){vt(o,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var Gu=[Mu,Hu];function Ms(e,t){var n=t.componentOptions;if(!(m(n)&&n.Ctor.options.inheritAttrs===!1)&&!(E(e.data.attrs)&&E(t.data.attrs))){var r,i,s,o=t.elm,a=e.data.attrs||{},l=t.data.attrs||{};(m(l.__ob__)||V(l._v_attr_proxy))&&(l=t.data.attrs=X({},l));for(r in l)i=l[r],s=a[r],s!==i&&zs(o,r,i,t.data.pre);(Mt||Lo)&&l.value!==a.value&&zs(o,"value",l.value);for(r in a)E(l[r])&&(Ti(r)?o.removeAttributeNS(ei,ca(r)):la(r)||o.removeAttribute(r))}}function zs(e,t,n,r){r||e.tagName.indexOf("-")>-1?Fs(e,t,n):du(t)?Jn(n)?e.removeAttribute(t):(n=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,n)):la(t)?e.setAttribute(t,hu(t,n)):Ti(t)?Jn(n)?e.removeAttributeNS(ei,ca(t)):e.setAttributeNS(ei,t,n):Fs(e,t,n)}function Fs(e,t,n){if(Jn(n))e.removeAttribute(t);else{if(Mt&&!zt&&e.tagName==="TEXTAREA"&&t==="placeholder"&&n!==""&&!e.__ieph){var r=function(i){i.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var qu={create:Ms,update:Ms};function Bs(e,t){var n=t.elm,r=t.data,i=e.data;if(!(E(r.staticClass)&&E(r.class)&&(E(i)||E(i.staticClass)&&E(i.class)))){var s=mu(t),o=n._transitionClasses;m(o)&&(s=Ci(s,Si(o))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Zu={create:Bs,update:Bs},Sr="__r",Ar="__c";function Yu(e){if(m(e[Sr])){var t=Mt?"change":"input";e[t]=[].concat(e[Sr],e[t]||[]),delete e[Sr]}m(e[Ar])&&(e.change=[].concat(e[Ar],e.change||[]),delete e[Ar])}var un;function Xu(e,t,n){var r=un;return function i(){var s=t.apply(null,arguments);s!==null&&fa(e,i,n,r)}}var Ku=Gr&&!(os&&Number(os[1])<=53);function Ju(e,t,n,r){if(Ku){var i=ia,s=t;t=s._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=i||o.timeStamp<=0||o.target.ownerDocument!==document)return s.apply(this,arguments)}}un.addEventListener(e,t,Po?{capture:n,passive:r}:n)}function fa(e,t,n,r){(r||un).removeEventListener(e,t._wrapper||t,n)}function Er(e,t){if(!(E(e.data.on)&&E(t.data.on))){var n=t.data.on||{},r=e.data.on||{};un=t.elm||e.elm,Yu(n),jo(n,r,Ju,fa,Xu,t.context),un=void 0}}var Qu={create:Er,update:Er,destroy:function(e){return Er(e,nt)}},Rn;function Hs(e,t){if(!(E(e.data.domProps)&&E(t.data.domProps))){var n,r,i=t.elm,s=e.data.domProps||{},o=t.data.domProps||{};(m(o.__ob__)||V(o._v_attr_proxy))&&(o=t.data.domProps=X({},o));for(n in s)n in o||(i[n]="");for(n in o){if(r=o[n],n==="textContent"||n==="innerHTML"){if(t.children&&(t.children.length=0),r===s[n])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(n==="value"&&i.tagName!=="PROGRESS"){i._value=r;var a=E(r)?"":String(r);Vu(i,a)&&(i.value=a)}else if(n==="innerHTML"&&Ai(i.tagName)&&E(i.innerHTML)){Rn=Rn||document.createElement("div"),Rn.innerHTML="<svg>".concat(r,"</svg>");for(var l=Rn.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(r!==s[n])try{i[n]=r}catch{}}}}function Vu(e,t){return!e.composing&&(e.tagName==="OPTION"||ef(e,t)||tf(e,t))}function ef(e,t){var n=!0;try{n=document.activeElement!==e}catch{}return n&&e.value!==t}function tf(e,t){var n=e.value,r=e._vModifiers;if(m(r)){if(r.number)return sn(n)!==sn(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var nf={create:Hs,update:Hs},rf=bt(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(i){if(i){var s=i.split(r);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t});function Or(e){var t=pa(e.style);return e.staticStyle?X(e.staticStyle,t):t}function pa(e){return Array.isArray(e)?Oo(e):typeof e=="string"?rf(e):e}function sf(e,t){for(var n={},r,i=e;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(r=Or(i.data))&&X(n,r);(r=Or(e.data))&&X(n,r);for(var s=e;s=s.parent;)s.data&&(r=Or(s.data))&&X(n,r);return n}var of=/^--/,Us=/\s*!important$/,js=function(e,t,n){if(of.test(t))e.style.setProperty(t,n);else if(Us.test(n))e.style.setProperty(pn(t),n.replace(Us,""),"important");else{var r=af(t);if(Array.isArray(n))for(var i=0,s=n.length;i<s;i++)e.style[r]=n[i];else e.style[r]=n}},Ws=["Webkit","Moz","ms"],In,af=bt(function(e){if(In=In||document.createElement("div").style,e=mt(e),e!=="filter"&&e in In)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Ws.length;n++){var r=Ws[n]+t;if(r in In)return r}});function Gs(e,t){var n=t.data,r=e.data;if(!(E(n.staticStyle)&&E(n.style)&&E(r.staticStyle)&&E(r.style))){var i,s,o=t.elm,a=r.staticStyle,l=r.normalizedStyle||r.style||{},u=a||l,f=pa(t.data.style)||{};t.data.normalizedStyle=m(f.__ob__)?X({},f):f;var g=sf(t);for(s in u)E(g[s])&&js(o,s,"");for(s in g)i=g[s],js(o,s,i==null?"":i)}}var lf={create:Gs,update:Gs},ha=/\s+/;function da(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(ha).forEach(function(r){return e.classList.add(r)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ma(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(ha).forEach(function(i){return e.classList.remove(i)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function ga(e){if(e){if(typeof e=="object"){var t={};return e.css!==!1&&X(t,qs(e.name||"v")),X(t,e),t}else if(typeof e=="string")return qs(e)}}var qs=bt(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),va=Se&&!zt,$t="transition",$r="animation",Un="transition",Qn="transitionend",ni="animation",_a="animationend";va&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Un="WebkitTransition",Qn="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(ni="WebkitAnimation",_a="webkitAnimationEnd"));var Zs=Se?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ya(e){Zs(function(){Zs(e)})}function dt(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),da(e,t))}function Ze(e,t){e._transitionClasses&&ot(e._transitionClasses,t),ma(e,t)}function ba(e,t,n){var r=wa(e,t),i=r.type,s=r.timeout,o=r.propCount;if(!i)return n();var a=i===$t?Qn:_a,l=0,u=function(){e.removeEventListener(a,f),n()},f=function(g){g.target===e&&++l>=o&&u()};setTimeout(function(){l<o&&u()},s+1),e.addEventListener(a,f)}var cf=/\b(transform|all)(,|$)/;function wa(e,t){var n=window.getComputedStyle(e),r=(n[Un+"Delay"]||"").split(", "),i=(n[Un+"Duration"]||"").split(", "),s=Ys(r,i),o=(n[ni+"Delay"]||"").split(", "),a=(n[ni+"Duration"]||"").split(", "),l=Ys(o,a),u,f=0,g=0;t===$t?s>0&&(u=$t,f=s,g=i.length):t===$r?l>0&&(u=$r,f=l,g=a.length):(f=Math.max(s,l),u=f>0?s>l?$t:$r:null,g=u?u===$t?i.length:a.length:0);var y=u===$t&&cf.test(n[Un+"Property"]);return{type:u,timeout:f,propCount:g,hasTransform:y}}function Ys(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(n,r){return Xs(n)+Xs(e[r])}))}function Xs(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ri(e,t){var n=e.elm;m(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=ga(e.data.transition);if(!E(r)&&!(m(n._enterCb)||n.nodeType!==1)){for(var i=r.css,s=r.type,o=r.enterClass,a=r.enterToClass,l=r.enterActiveClass,u=r.appearClass,f=r.appearToClass,g=r.appearActiveClass,y=r.beforeEnter,_=r.enter,w=r.afterEnter,S=r.enterCancelled,k=r.beforeAppear,F=r.appear,$=r.afterAppear,L=r.appearCancelled,I=r.duration,K=ht,N=ht.$vnode;N&&N.parent;)K=N.context,N=N.parent;var q=!K._isMounted||!e.isRootInsert;if(!(q&&!F&&F!=="")){var oe=q&&u?u:o,_e=q&&g?g:l,Me=q&&f?f:a,ye=q&&k||y,h=q&&Y(F)?F:_,p=q&&$||w,d=q&&L||S,b=sn(ue(I)?I.enter:I),T=i!==!1&&!zt,O=Ei(h),A=n._enterCb=jn(function(){T&&(Ze(n,Me),Ze(n,_e)),A.cancelled?(T&&Ze(n,oe),d&&d(n)):p&&p(n),n._enterCb=null});e.data.show||tt(e,"insert",function(){var R=n.parentNode,z=R&&R._pending&&R._pending[e.key];z&&z.tag===e.tag&&z.elm._leaveCb&&z.elm._leaveCb(),h&&h(n,A)}),ye&&ye(n),T&&(dt(n,oe),dt(n,_e),ya(function(){Ze(n,oe),A.cancelled||(dt(n,Me),O||(ka(b)?setTimeout(A,b):ba(n,s,A)))})),e.data.show&&(t&&t(),h&&h(n,A)),!T&&!O&&A()}}}function xa(e,t){var n=e.elm;m(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ga(e.data.transition);if(E(r)||n.nodeType!==1)return t();if(m(n._leaveCb))return;var i=r.css,s=r.type,o=r.leaveClass,a=r.leaveToClass,l=r.leaveActiveClass,u=r.beforeLeave,f=r.leave,g=r.afterLeave,y=r.leaveCancelled,_=r.delayLeave,w=r.duration,S=i!==!1&&!zt,k=Ei(f),F=sn(ue(w)?w.leave:w),$=n._leaveCb=jn(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),S&&(Ze(n,a),Ze(n,l)),$.cancelled?(S&&Ze(n,o),y&&y(n)):(t(),g&&g(n)),n._leaveCb=null});_?_(L):L();function L(){$.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),u&&u(n),S&&(dt(n,o),dt(n,l),ya(function(){Ze(n,o),$.cancelled||(dt(n,a),k||(ka(F)?setTimeout($,F):ba(n,s,$)))})),f&&f(n,$),!S&&!k&&$())}}function ka(e){return typeof e=="number"&&!isNaN(e)}function Ei(e){if(E(e))return!1;var t=e.fns;return m(t)?Ei(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ks(e,t){t.data.show!==!0&&ri(t)}var uf=Se?{create:Ks,activate:Ks,remove:function(e,t){e.data.show!==!0?xa(e,t):t()}}:{},ff=[qu,Zu,Qu,nf,lf,uf],pf=ff.concat(Gu),hf=Bu({nodeOps:Nu,modules:pf});zt&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Oi(e,"input")});var Ta={inserted:function(e,t,n,r){n.tag==="select"?(r.elm&&!r.elm._vOptions?tt(n,"postpatch",function(){Ta.componentUpdated(e,t,n)}):Js(e,t,n.context),e._vOptions=[].map.call(e.options,Vn)):(n.tag==="textarea"||ti(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",df),e.addEventListener("compositionend",eo),e.addEventListener("change",eo),zt&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if(n.tag==="select"){Js(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Vn);if(i.some(function(o,a){return!gt(o,r[a])})){var s=e.multiple?t.value.some(function(o){return Vs(o,i)}):t.value!==t.oldValue&&Vs(t.value,i);s&&Oi(e,"change")}}}};function Js(e,t,n){Qs(e,t),(Mt||Lo)&&setTimeout(function(){Qs(e,t)},0)}function Qs(e,t,n){var r=t.value,i=e.multiple;if(!(i&&!Array.isArray(r))){for(var s,o,a=0,l=e.options.length;a<l;a++)if(o=e.options[a],i)s=Ro(r,Vn(o))>-1,o.selected!==s&&(o.selected=s);else if(gt(Vn(o),r)){e.selectedIndex!==a&&(e.selectedIndex=a);return}i||(e.selectedIndex=-1)}}function Vs(e,t){return t.every(function(n){return!gt(n,e)})}function Vn(e){return"_value"in e?e._value:e.value}function df(e){e.target.composing=!0}function eo(e){e.target.composing&&(e.target.composing=!1,Oi(e.target,"input"))}function Oi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ii(e){return e.componentInstance&&(!e.data||!e.data.transition)?ii(e.componentInstance._vnode):e}var mf={bind:function(e,t,n){var r=t.value;n=ii(n);var i=n.data&&n.data.transition,s=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;r&&i?(n.data.show=!0,ri(n,function(){e.style.display=s})):e.style.display=r?s:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!=!i){n=ii(n);var s=n.data&&n.data.transition;s?(n.data.show=!0,r?ri(n,function(){e.style.display=e.__vOriginalDisplay}):xa(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},gf={model:Ta,show:mf},Ca={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function si(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?si(Xo(t.children)):e}function Sa(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var r in i)t[mt(r)]=i[r];return t}function to(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function vf(e){for(;e=e.parent;)if(e.data.transition)return!0}function _f(e,t){return t.key===e.key&&t.tag===e.tag}var yf=function(e){return e.tag||an(e)},bf=function(e){return e.name==="show"},wf={name:"transition",props:Ca,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(yf),!!n.length)){var r=this.mode,i=n[0];if(vf(this.$vnode))return i;var s=si(i);if(!s)return i;if(this._leaving)return to(e,i);var o="__transition-".concat(this._uid,"-");s.key=s.key==null?s.isComment?o+"comment":o+s.tag:fn(s.key)?String(s.key).indexOf(o)===0?s.key:o+s.key:s.key;var a=(s.data||(s.data={})).transition=Sa(this),l=this._vnode,u=si(l);if(s.data.directives&&s.data.directives.some(bf)&&(s.data.show=!0),u&&u.data&&!_f(s,u)&&!an(u)&&!(u.componentInstance&&u.componentInstance._vnode.isComment)){var f=u.data.transition=X({},a);if(r==="out-in")return this._leaving=!0,tt(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),to(e,i);if(r==="in-out"){if(an(s))return l;var g,y=function(){g()};tt(a,"afterEnter",y),tt(a,"enterCancelled",y),tt(f,"delayLeave",function(_){g=_})}}return i}}},Aa=X({tag:String,moveClass:String},Ca);delete Aa.mode;var xf={props:Aa,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=ta(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],s=this.children=[],o=Sa(this),a=0;a<i.length;a++){var l=i[a];l.tag&&l.key!=null&&String(l.key).indexOf("__vlist")!==0&&(s.push(l),n[l.key]=l,(l.data||(l.data={})).transition=o)}if(r){for(var u=[],f=[],a=0;a<r.length;a++){var l=r[a];l.data.transition=o,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?u.push(l):f.push(l)}this.kept=e(t,null,u),this.removed=f}return e(t,null,s)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,t)||(e.forEach(kf),e.forEach(Tf),e.forEach(Cf),this._reflow=document.body.offsetHeight,e.forEach(function(n){if(n.data.moved){var r=n.elm,i=r.style;dt(r,t),i.transform=i.WebkitTransform=i.transitionDuration="",r.addEventListener(Qn,r._moveCb=function s(o){o&&o.target!==r||(!o||/transform$/.test(o.propertyName))&&(r.removeEventListener(Qn,s),r._moveCb=null,Ze(r,t))})}}))},methods:{hasMove:function(e,t){if(!va)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(i){ma(n,i)}),da(n,t),n.style.display="none",this.$el.appendChild(n);var r=wa(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function kf(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Tf(e){e.data.newPos=e.elm.getBoundingClientRect()}function Cf(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var s=e.elm.style;s.transform=s.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),s.transitionDuration="0s"}}var Sf={Transition:wf,TransitionGroup:xf};ne.config.mustUseProp=fu;ne.config.isReservedTag=ua;ne.config.isReservedAttr=cu;ne.config.getTagNamespace=wu;ne.config.isUnknownElement=xu;X(ne.options.directives,gf);X(ne.options.components,Sf);ne.prototype.__patch__=Se?hf:Q;ne.prototype.$mount=function(e,t){return e=e&&Se?ku(e):void 0,vc(this,e,t)};Se&&setTimeout(function(){$e.devtools&&Wn&&Wn.emit("init",ne)},0);const Af="modulepreload",Ef=function(e,t){return new URL(e,t).href},no={},Of=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(n.map(u=>{if(u=Ef(u,r),u in no)return;no[u]=!0;const f=u.endsWith(".css"),g=f?'[rel="stylesheet"]':"";if(!!r)for(let w=o.length-1;w>=0;w--){const S=o[w];if(S.href===u&&(!f||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${g}`))return;const _=document.createElement("link");if(_.rel=f?"stylesheet":Af,f||(_.as="script"),_.crossOrigin="",_.href=u,l&&_.setAttribute("nonce",l),document.head.appendChild(_),f)return new Promise((w,S)=>{_.addEventListener("load",w),_.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};function $i(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let wt=$i();function Ea(e){wt=e}const Oa=/[&<>"']/,$f=new RegExp(Oa.source,"g"),$a=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Rf=new RegExp($a.source,"g"),If={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ro=e=>If[e];function we(e,t){if(t){if(Oa.test(e))return e.replace($f,ro)}else if($a.test(e))return e.replace(Rf,ro);return e}const Df=/(^|[^\[])\^/g;function G(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(i,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace(Df,"$1"),n=n.replace(i,o),r},getRegex:()=>new RegExp(n,t)};return r}function io(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const nn={exec:()=>null};function so(e,t){const n=e.replace(/\|/g,(s,o,a)=>{let l=!1,u=o;for(;--u>=0&&a[u]==="\\";)l=!l;return l?"|":" |"}),r=n.split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function Yt(e,t,n){const r=e.length;if(r===0)return"";let i=0;for(;i<r&&e.charAt(r-i-1)===t;)i++;return e.slice(0,r-i)}function Lf(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function oo(e,t,n,r){const i=t.href,s=t.title?we(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:n,href:i,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,a}return{type:"image",raw:n,href:i,title:s,text:we(o)}}function Pf(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(`
5
+ */var ve=Object.freeze({}),N=Array.isArray;function O(e){return e==null}function m(e){return e!=null}function V(e){return e===!0}function rl(e){return e===!1}function fn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function Y(e){return typeof e=="function"}function ue(e){return e!==null&&typeof e=="object"}var fi=Object.prototype.toString;function Te(e){return fi.call(e)==="[object Object]"}function il(e){return fi.call(e)==="[object RegExp]"}function Ao(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function zr(e){return m(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function sl(e){return e==null?"":Array.isArray(e)||Te(e)&&e.toString===fi?JSON.stringify(e,ol,2):String(e)}function ol(e,t){return t&&t.__v_isRef?t.value:t}function sn(e){var t=parseFloat(e);return isNaN(t)?e:t}function Ne(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(s){return n[s.toLowerCase()]}:function(s){return n[s]}}Ne("slot,component",!0);var al=Ne("key,ref,slot,slot-scope,is");function ot(e,t){var n=e.length;if(n){if(t===e[n-1]){e.length=n-1;return}var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var ll=Object.prototype.hasOwnProperty;function pe(e,t){return ll.call(e,t)}function bt(e){var t=Object.create(null);return function(r){var i=t[r];return i||(t[r]=e(r))}}var cl=/-(\w)/g,mt=bt(function(e){return e.replace(cl,function(t,n){return n?n.toUpperCase():""})}),ul=bt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),fl=/\B([A-Z])/g,pn=bt(function(e){return e.replace(fl,"-$1").toLowerCase()});function pl(e,t){function n(r){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return n._length=e.length,n}function hl(e,t){return e.bind(t)}var Eo=Function.prototype.bind?hl:pl;function Br(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function X(e,t){for(var n in t)e[n]=t[n];return e}function Oo(e){for(var t={},n=0;n<e.length;n++)e[n]&&X(t,e[n]);return t}function Q(e,t,n){}var Cn=function(e,t,n){return!1},$o=function(e){return e};function gt(e,t){if(e===t)return!0;var n=ue(e),r=ue(t);if(n&&r)try{var i=Array.isArray(e),s=Array.isArray(t);if(i&&s)return e.length===t.length&&e.every(function(l,u){return gt(l,t[u])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!i&&!s){var o=Object.keys(e),a=Object.keys(t);return o.length===a.length&&o.every(function(l){return gt(e[l],t[l])})}else return!1}catch{return!1}else return!n&&!r?String(e)===String(t):!1}function Ro(e,t){for(var n=0;n<e.length;n++)if(gt(e[n],t))return n;return-1}function jn(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function Fr(e,t){return e===t?e===0&&1/e!==1/t:e===e||t===t}var ss="data-server-rendered",ir=["component","directive","filter"],Io=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],$e={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Cn,isReservedAttr:Cn,isUnknownElement:Cn,getTagNamespace:Q,parsePlatformTagName:$o,mustUseProp:Cn,async:!0,_lifecycleHooks:Io},dl=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Do(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function xe(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}var ml=new RegExp("[^".concat(dl.source,".$_\\d]"));function gl(e){if(!ml.test(e)){var t=e.split(".");return function(n){for(var r=0;r<t.length;r++){if(!n)return;n=n[t[r]]}return n}}}var vl="__proto__"in{},Se=typeof window!="undefined",Re=Se&&window.navigator.userAgent.toLowerCase(),Mt=Re&&/msie|trident/.test(Re),zt=Re&&Re.indexOf("msie 9.0")>0,Lo=Re&&Re.indexOf("edge/")>0;Re&&Re.indexOf("android")>0;var _l=Re&&/iphone|ipad|ipod|ios/.test(Re),os=Re&&Re.match(/firefox\/(\d+)/),Hr={}.watch,Po=!1;if(Se)try{var as={};Object.defineProperty(as,"passive",{get:function(){Po=!0}}),window.addEventListener("test-passive",null,as)}catch{}var Sn,at=function(){return Sn===void 0&&(!Se&&typeof global!="undefined"?Sn=global.process&&nl.VUE_ENV==="server":Sn=!1),Sn},Wn=Se&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Pt(e){return typeof e=="function"&&/native code/.test(e.toString())}var hn=typeof Symbol!="undefined"&&Pt(Symbol)&&typeof Reflect!="undefined"&&Pt(Reflect.ownKeys),on;typeof Set!="undefined"&&Pt(Set)?on=Set:on=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Le=null;function rt(e){e===void 0&&(e=null),e||Le&&Le._scope.off(),Le=e,e&&e._scope.on()}var Ce=function(){function e(t,n,r,i,s,o,a,l){this.tag=t,this.data=n,this.children=r,this.text=i,this.elm=s,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=n&&n.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),pt=function(e){e===void 0&&(e="");var t=new Ce;return t.text=e,t.isComment=!0,t};function It(e){return new Ce(void 0,void 0,void 0,String(e))}function Ur(e){var t=new Ce(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var yl=0,Mn=[],bl=function(){for(var e=0;e<Mn.length;e++){var t=Mn[e];t.subs=t.subs.filter(function(n){return n}),t._pending=!1}Mn.length=0},Ye=function(){function e(){this._pending=!1,this.id=yl++,this.subs=[]}return e.prototype.addSub=function(t){this.subs.push(t)},e.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,Mn.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(t){for(var n=this.subs.filter(function(o){return o}),r=0,i=n.length;r<i;r++){var s=n[r];s.update()}},e}();Ye.target=null;var zn=[];function Bt(e){zn.push(e),Ye.target=e}function Ft(){zn.pop(),Ye.target=zn[zn.length-1]}var No=Array.prototype,Gn=Object.create(No),wl=["push","pop","shift","unshift","splice","sort","reverse"];wl.forEach(function(e){var t=No[e];xe(Gn,e,function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var s=t.apply(this,r),o=this.__ob__,a;switch(e){case"push":case"unshift":a=r;break;case"splice":a=r.slice(2);break}return a&&o.observeArray(a),o.dep.notify(),s})});var ls=Object.getOwnPropertyNames(Gn),Mo={},pi=!0;function it(e){pi=e}var xl={notify:Q,depend:Q,addSub:Q,removeSub:Q},cs=function(){function e(t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!1),this.value=t,this.shallow=n,this.mock=r,this.dep=r?xl:new Ye,this.vmCount=0,xe(t,"__ob__",this),N(t)){if(!r)if(vl)t.__proto__=Gn;else for(var i=0,s=ls.length;i<s;i++){var o=ls[i];xe(t,o,Gn[o])}n||this.observeArray(t)}else for(var a=Object.keys(t),i=0;i<a.length;i++){var o=a[i];st(t,o,Mo,void 0,n,r)}}return e.prototype.observeArray=function(t){for(var n=0,r=t.length;n<r;n++)Xe(t[n],!1,this.mock)},e}();function Xe(e,t,n){if(e&&pe(e,"__ob__")&&e.__ob__ instanceof cs)return e.__ob__;if(pi&&(n||!at())&&(N(e)||Te(e))&&Object.isExtensible(e)&&!e.__v_skip&&!ke(e)&&!(e instanceof Ce))return new cs(e,t,n)}function st(e,t,n,r,i,s,o){o===void 0&&(o=!1);var a=new Ye,l=Object.getOwnPropertyDescriptor(e,t);if(!(l&&l.configurable===!1)){var u=l&&l.get,f=l&&l.set;(!u||f)&&(n===Mo||arguments.length===2)&&(n=e[t]);var g=i?n&&n.__ob__:Xe(n,!1,s);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var _=u?u.call(e):n;return Ye.target&&(a.depend(),g&&(g.dep.depend(),N(_)&&Bo(_))),ke(_)&&!i?_.value:_},set:function(_){var w=u?u.call(e):n;if(Fr(w,_)){if(f)f.call(e,_);else{if(u)return;if(!i&&ke(w)&&!ke(_)){w.value=_;return}else n=_}g=i?_&&_.__ob__:Xe(_,!1,s),a.notify()}}}),a}}function hi(e,t,n){if(!sr(e)){var r=e.__ob__;return N(e)&&Ao(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Xe(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(st(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function zo(e,t){if(N(e)&&Ao(t)){e.splice(t,1);return}var n=e.__ob__;e._isVue||n&&n.vmCount||sr(e)||pe(e,t)&&(delete e[t],n&&n.dep.notify())}function Bo(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),N(t)&&Bo(t)}function kl(e){return Ho(e,!1),e}function Fo(e){return Ho(e,!0),xe(e,"__v_isShallow",!0),e}function Ho(e,t){sr(e)||Xe(e,t,at())}function Bn(e){return sr(e)?Bn(e.__v_raw):!!(e&&e.__ob__)}function us(e){return!!(e&&e.__v_isShallow)}function sr(e){return!!(e&&e.__v_isReadonly)}var Uo="__v_isRef";function ke(e){return!!(e&&e.__v_isRef===!0)}function be(e){return Tl(e,!1)}function Tl(e,t){if(ke(e))return e;var n={};return xe(n,Uo,!0),xe(n,"__v_isShallow",t),xe(n,"dep",st(n,"value",e,null,t,at())),n}function jr(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var r=t[n];if(ke(r))return r.value;var i=r&&r.__ob__;return i&&i.dep.depend(),r},set:function(r){var i=t[n];ke(i)&&!ke(r)?i.value=r:t[n]=r}})}function Cl(e,t){var n,r,i=Y(e);i?(n=e,r=Q):(n=e.get,r=e.set);var s=at()?null:new mn(Le,n,Q,{lazy:!0}),o={effect:s,get value(){return s?(s.dirty&&s.evaluate(),Ye.target&&s.depend(),s.value):n()},set value(a){r(a)}};return xe(o,Uo,!0),xe(o,"__v_isReadonly",i),o}var or="watcher",fs="".concat(or," callback"),ps="".concat(or," getter"),Sl="".concat(or," cleanup"),hs={};function ar(e,t,n){return Al(e,t,n)}function Al(e,t,n){var r=n===void 0?ve:n,i=r.immediate,s=r.deep,o=r.flush,a=o===void 0?"pre":o;r.onTrack,r.onTrigger;var l=Le,u=function($,P,I){I===void 0&&(I=null);var K=Ke($,null,I,l,P);return s&&K&&K.__ob__&&K.__ob__.dep.depend(),K},f,g=!1,y=!1;if(ke(e)?(f=function(){return e.value},g=us(e)):Bn(e)?(f=function(){return e.__ob__.dep.depend(),e},s=!0):N(e)?(y=!0,g=e.some(function($){return Bn($)||us($)}),f=function(){return e.map(function($){if(ke($))return $.value;if(Bn($))return $.__ob__.dep.depend(),Nt($);if(Y($))return u($,ps)})}):Y(e)?t?f=function(){return u(e,ps)}:f=function(){if(!(l&&l._isDestroyed))return w&&w(),u(e,or,[S])}:f=Q,t&&s){var _=f;f=function(){return Nt(_())}}var w,S=function($){w=T.onStop=function(){u($,Sl)}};if(at())return S=Q,t?i&&u(t,fs,[f(),y?[]:void 0,S]):f(),Q;var T=new mn(Le,f,Q,{lazy:!0});T.noRecurse=!t;var B=y?[]:hs;return T.run=function(){if(T.active)if(t){var $=T.get();(s||g||(y?$.some(function(P,I){return Fr(P,B[I])}):Fr($,B)))&&(w&&w(),u(t,fs,[$,B===hs?void 0:B,S]),B=$)}else T.get()},a==="sync"?T.update=T.run:a==="post"?(T.post=!0,T.update=function(){return Kr(T)}):T.update=function(){if(l&&l===Le&&!l._isMounted){var $=l._preWatchers||(l._preWatchers=[]);$.indexOf(T)<0&&$.push(T)}else Kr(T)},t?i?T.run():B=T.get():a==="post"&&l?l.$once("hook:mounted",function(){return T.get()}):T.get(),function(){T.teardown()}}var ge,El=function(){function e(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=ge,!t&&ge&&(this.index=(ge.scopes||(ge.scopes=[])).push(this)-1)}return e.prototype.run=function(t){if(this.active){var n=ge;try{return ge=this,t()}finally{ge=n}}},e.prototype.on=function(){ge=this},e.prototype.off=function(){ge=this.parent},e.prototype.stop=function(t){if(this.active){var n=void 0,r=void 0;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].teardown();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},e}();function Ol(e,t){t===void 0&&(t=ge),t&&t.active&&t.effects.push(e)}function $l(){return ge}function Rl(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}var ds=bt(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var n=e.charAt(0)==="~";e=n?e.slice(1):e;var r=e.charAt(0)==="!";return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}});function Wr(e,t){function n(){var r=n.fns;if(N(r))for(var i=r.slice(),s=0;s<i.length;s++)Ke(i[s],null,arguments,t,"v-on handler");else return Ke(r,null,arguments,t,"v-on handler")}return n.fns=e,n}function jo(e,t,n,r,i,s){var o,a,l,u;for(o in e)a=e[o],l=t[o],u=ds(o),O(a)||(O(l)?(O(a.fns)&&(a=e[o]=Wr(a,s)),V(u.once)&&(a=e[o]=i(u.name,a,u.capture)),n(u.name,a,u.capture,u.passive,u.params)):a!==l&&(l.fns=a,e[o]=l));for(o in t)O(e[o])&&(u=ds(o),r(u.name,t[o],u.capture))}function tt(e,t,n){e instanceof Ce&&(e=e.data.hook||(e.data.hook={}));var r,i=e[t];function s(){n.apply(this,arguments),ot(r.fns,s)}O(i)?r=Wr([s]):m(i.fns)&&V(i.merged)?(r=i,r.fns.push(s)):r=Wr([i,s]),r.merged=!0,e[t]=r}function Il(e,t,n){var r=t.options.props;if(!O(r)){var i={},s=e.attrs,o=e.props;if(m(s)||m(o))for(var a in r){var l=pn(a);ms(i,o,a,l,!0)||ms(i,s,a,l,!1)}return i}}function ms(e,t,n,r,i){if(m(t)){if(pe(t,n))return e[n]=t[n],i||delete t[n],!0;if(pe(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function Dl(e){for(var t=0;t<e.length;t++)if(N(e[t]))return Array.prototype.concat.apply([],e);return e}function di(e){return fn(e)?[It(e)]:N(e)?Wo(e):void 0}function Gt(e){return m(e)&&m(e.text)&&rl(e.isComment)}function Wo(e,t){var n=[],r,i,s,o;for(r=0;r<e.length;r++)i=e[r],!(O(i)||typeof i=="boolean")&&(s=n.length-1,o=n[s],N(i)?i.length>0&&(i=Wo(i,"".concat(t||"","_").concat(r)),Gt(i[0])&&Gt(o)&&(n[s]=It(o.text+i[0].text),i.shift()),n.push.apply(n,i)):fn(i)?Gt(o)?n[s]=It(o.text+i):i!==""&&n.push(It(i)):Gt(i)&&Gt(o)?n[s]=It(o.text+i.text):(V(e._isVList)&&m(i.tag)&&O(i.key)&&m(t)&&(i.key="__vlist".concat(t,"_").concat(r,"__")),n.push(i)));return n}function Ll(e,t){var n=null,r,i,s,o;if(N(e)||typeof e=="string")for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if(typeof e=="number")for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(ue(e))if(hn&&e[Symbol.iterator]){n=[];for(var a=e[Symbol.iterator](),l=a.next();!l.done;)n.push(t(l.value,n.length)),l=a.next()}else for(s=Object.keys(e),n=new Array(s.length),r=0,i=s.length;r<i;r++)o=s[r],n[r]=t(e[o],o,r);return m(n)||(n=[]),n._isVList=!0,n}function Pl(e,t,n,r){var i=this.$scopedSlots[e],s;i?(n=n||{},r&&(n=X(X({},r),n)),s=i(n)||(Y(t)?t():t)):s=this.$slots[e]||(Y(t)?t():t);var o=n&&n.slot;return o?this.$createElement("template",{slot:o},s):s}function Nl(e){return Kn(this.$options,"filters",e)||$o}function gs(e,t){return N(e)?e.indexOf(t)===-1:e!==t}function Ml(e,t,n,r,i){var s=$e.keyCodes[t]||n;return i&&r&&!$e.keyCodes[t]?gs(i,r):s?gs(s,e):r?pn(r)!==t:e===void 0}function zl(e,t,n,r,i){if(n&&ue(n)){N(n)&&(n=Oo(n));var s=void 0,o=function(l){if(l==="class"||l==="style"||al(l))s=e;else{var u=e.attrs&&e.attrs.type;s=r||$e.mustUseProp(t,u,l)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var f=mt(l),g=pn(l);if(!(f in s)&&!(g in s)&&(s[l]=n[l],i)){var y=e.on||(e.on={});y["update:".concat(l)]=function(_){n[l]=_}}};for(var a in n)o(a)}return e}function Bl(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),Go(r,"__static__".concat(e),!1)),r}function Fl(e,t,n){return Go(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function Go(e,t,n){if(N(e))for(var r=0;r<e.length;r++)e[r]&&typeof e[r]!="string"&&vs(e[r],"".concat(t,"_").concat(r),n);else vs(e,t,n)}function vs(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Hl(e,t){if(t&&Te(t)){var n=e.on=e.on?X({},e.on):{};for(var r in t){var i=n[r],s=t[r];n[r]=i?[].concat(i,s):s}}return e}function qo(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var s=e[i];N(s)?qo(s,t,n):s&&(s.proxy&&(s.fn.proxy=!0),t[s.key]=s.fn)}return r&&(t.$key=r),t}function Ul(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];typeof r=="string"&&r&&(e[t[n]]=t[n+1])}return e}function jl(e,t){return typeof e=="string"?t+e:e}function Zo(e){e._o=Fl,e._n=sn,e._s=sl,e._l=Ll,e._t=Pl,e._q=gt,e._i=Ro,e._m=Bl,e._f=Nl,e._k=Ml,e._b=zl,e._v=It,e._e=pt,e._u=qo,e._g=Hl,e._d=Ul,e._p=jl}function mi(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var s=e[r],o=s.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(s.context===t||s.fnContext===t)&&o&&o.slot!=null){var a=o.slot,l=n[a]||(n[a]=[]);s.tag==="template"?l.push.apply(l,s.children||[]):l.push(s)}else(n.default||(n.default=[])).push(s)}for(var u in n)n[u].every(Wl)&&delete n[u];return n}function Wl(e){return e.isComment&&!e.asyncFactory||e.text===" "}function an(e){return e.isComment&&e.asyncFactory}function tn(e,t,n,r){var i,s=Object.keys(n).length>0,o=t?!!t.$stable:!s,a=t&&t.$key;if(!t)i={};else{if(t._normalized)return t._normalized;if(o&&r&&r!==ve&&a===r.$key&&!s&&!r.$hasNormal)return r;i={};for(var l in t)t[l]&&l[0]!=="$"&&(i[l]=Gl(e,n,l,t[l]))}for(var u in n)u in i||(i[u]=ql(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),xe(i,"$stable",o),xe(i,"$key",a),xe(i,"$hasNormal",s),i}function Gl(e,t,n,r){var i=function(){var s=Le;rt(e);var o=arguments.length?r.apply(null,arguments):r({});o=o&&typeof o=="object"&&!N(o)?[o]:di(o);var a=o&&o[0];return rt(s),o&&(!a||o.length===1&&a.isComment&&!an(a))?void 0:o};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function ql(e,t){return function(){return e[t]}}function Zl(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=Yl(e);rt(e),Bt();var i=Ke(n,null,[e._props||Fo({}),r],e,"setup");if(Ft(),rt(),Y(i))t.render=i;else if(ue(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var s in i)s!=="__sfc"&&jr(o,i,s)}else for(var s in i)Do(s)||jr(e,i,s)}}function Yl(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};xe(t,"_v_attr_proxy",!0),qn(t,e.$attrs,ve,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};qn(t,e.$listeners,ve,e,"$listeners")}return e._listenersProxy},get slots(){return Kl(e)},emit:Eo(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return jr(e,t,n)})}}}function qn(e,t,n,r,i){var s=!1;for(var o in t)o in e?t[o]!==n[o]&&(s=!0):(s=!0,Xl(e,o,r,i));for(var o in e)o in t||(s=!0,delete e[o]);return s}function Xl(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Kl(e){return e._slotsProxy||Yo(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function Yo(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function Jl(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=mi(t._renderChildren,r),e.$scopedSlots=n?tn(e.$parent,n.data.scopedSlots,e.$slots):ve,e._c=function(s,o,a,l){return Zn(e,s,o,a,l,!1)},e.$createElement=function(s,o,a,l){return Zn(e,s,o,a,l,!0)};var i=n&&n.data;st(e,"$attrs",i&&i.attrs||ve,null,!0),st(e,"$listeners",t._parentListeners||ve,null,!0)}var Fn=null;function Ql(e){Zo(e.prototype),e.prototype.$nextTick=function(t){return dn(t,this)},e.prototype._render=function(){var t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&t._isMounted&&(t.$scopedSlots=tn(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Yo(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var s=Le,o=Fn,a;try{rt(t),Fn=t,a=r.call(t._renderProxy,t.$createElement)}catch(l){vt(l,t,"render"),a=t._vnode}finally{Fn=o,rt(s)}return N(a)&&a.length===1&&(a=a[0]),a instanceof Ce||(a=pt()),a.parent=i,a}}function kr(e,t){return(e.__esModule||hn&&e[Symbol.toStringTag]==="Module")&&(e=e.default),ue(e)?t.extend(e):e}function Vl(e,t,n,r,i){var s=pt();return s.asyncFactory=e,s.asyncMeta={data:t,context:n,children:r,tag:i},s}function ec(e,t){if(V(e.error)&&m(e.errorComp))return e.errorComp;if(m(e.resolved))return e.resolved;var n=Fn;if(n&&m(e.owners)&&e.owners.indexOf(n)===-1&&e.owners.push(n),V(e.loading)&&m(e.loadingComp))return e.loadingComp;if(n&&!m(e.owners)){var r=e.owners=[n],i=!0,s=null,o=null;n.$on("hook:destroyed",function(){return ot(r,n)});var a=function(g){for(var y=0,_=r.length;y<_;y++)r[y].$forceUpdate();g&&(r.length=0,s!==null&&(clearTimeout(s),s=null),o!==null&&(clearTimeout(o),o=null))},l=jn(function(g){e.resolved=kr(g,t),i?r.length=0:a(!0)}),u=jn(function(g){m(e.errorComp)&&(e.error=!0,a(!0))}),f=e(l,u);return ue(f)&&(zr(f)?O(e.resolved)&&f.then(l,u):zr(f.component)&&(f.component.then(l,u),m(f.error)&&(e.errorComp=kr(f.error,t)),m(f.loading)&&(e.loadingComp=kr(f.loading,t),f.delay===0?e.loading=!0:s=setTimeout(function(){s=null,O(e.resolved)&&O(e.error)&&(e.loading=!0,a(!1))},f.delay||200)),m(f.timeout)&&(o=setTimeout(function(){o=null,O(e.resolved)&&u(null)},f.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}function Xo(e){if(N(e))for(var t=0;t<e.length;t++){var n=e[t];if(m(n)&&(m(n.componentOptions)||an(n)))return n}}var tc=1,Ko=2;function Zn(e,t,n,r,i,s){return(N(n)||fn(n))&&(i=r,r=n,n=void 0),V(s)&&(i=Ko),nc(e,t,n,r,i)}function nc(e,t,n,r,i){if(m(n)&&m(n.__ob__)||(m(n)&&m(n.is)&&(t=n.is),!t))return pt();N(r)&&Y(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===Ko?r=di(r):i===tc&&(r=Dl(r));var s,o;if(typeof t=="string"){var a=void 0;o=e.$vnode&&e.$vnode.ns||$e.getTagNamespace(t),$e.isReservedTag(t)?s=new Ce($e.parsePlatformTagName(t),n,r,void 0,void 0,e):(!n||!n.pre)&&m(a=Kn(e.$options,"components",t))?s=Cs(a,n,e,r,t):s=new Ce(t,n,r,void 0,void 0,e)}else s=Cs(t,n,e,r);return N(s)?s:m(s)?(m(o)&&Jo(s,o),m(n)&&rc(n),s):pt()}function Jo(e,t,n){if(e.ns=t,e.tag==="foreignObject"&&(t=void 0,n=!0),m(e.children))for(var r=0,i=e.children.length;r<i;r++){var s=e.children[r];m(s.tag)&&(O(s.ns)||V(n)&&s.tag!=="svg")&&Jo(s,t,n)}}function rc(e){ue(e.style)&&Nt(e.style),ue(e.class)&&Nt(e.class)}function vt(e,t,n){Bt();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var s=0;s<i.length;s++)try{var o=i[s].call(r,e,t,n)===!1;if(o)return}catch(a){_s(a,r,"errorCaptured hook")}}_s(e,t,n)}finally{Ft()}}function Ke(e,t,n,r,i){var s;try{s=n?e.apply(t,n):e.call(t),s&&!s._isVue&&zr(s)&&!s._handled&&(s.catch(function(o){return vt(o,r,i+" (Promise/async)")}),s._handled=!0)}catch(o){vt(o,r,i)}return s}function _s(e,t,n){if($e.errorHandler)try{return $e.errorHandler.call(null,e,t,n)}catch(r){r!==e&&ys(r)}ys(e)}function ys(e,t,n){if(Se&&typeof console!="undefined")console.error(e);else throw e}var Gr=!1,qr=[],Zr=!1;function An(){Zr=!1;var e=qr.slice(0);qr.length=0;for(var t=0;t<e.length;t++)e[t]()}var Vt;if(typeof Promise!="undefined"&&Pt(Promise)){var ic=Promise.resolve();Vt=function(){ic.then(An),_l&&setTimeout(Q)},Gr=!0}else if(!Mt&&typeof MutationObserver!="undefined"&&(Pt(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var En=1,sc=new MutationObserver(An),bs=document.createTextNode(String(En));sc.observe(bs,{characterData:!0}),Vt=function(){En=(En+1)%2,bs.data=String(En)},Gr=!0}else typeof setImmediate!="undefined"&&Pt(setImmediate)?Vt=function(){setImmediate(An)}:Vt=function(){setTimeout(An,0)};function dn(e,t){var n;if(qr.push(function(){if(e)try{e.call(t)}catch(r){vt(r,t,"nextTick")}else n&&n(t)}),Zr||(Zr=!0,Vt()),!e&&typeof Promise!="undefined")return new Promise(function(r){n=r})}function Qo(e){return function(t,n){if(n===void 0&&(n=Le),!!n)return oc(n,e,t)}}function oc(e,t,n){var r=e.$options;r[t]=oa(r[t],n)}var Vo=Qo("mounted"),ac=Qo("updated"),lc="2.7.16";var ws=new on;function Nt(e){return Hn(e,ws),ws.clear(),e}function Hn(e,t){var n,r,i=N(e);if(!(!i&&!ue(e)||e.__v_skip||Object.isFrozen(e)||e instanceof Ce)){if(e.__ob__){var s=e.__ob__.dep.id;if(t.has(s))return;t.add(s)}if(i)for(n=e.length;n--;)Hn(e[n],t);else if(ke(e))Hn(e.value,t);else for(r=Object.keys(e),n=r.length;n--;)Hn(e[r[n]],t)}}var cc=0,mn=function(){function e(t,n,r,i,s){Ol(this,ge&&!ge._vm?ge:t?t._scope:void 0),(this.vm=t)&&s&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++cc,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new on,this.newDepIds=new on,this.expression="",Y(n)?this.getter=n:(this.getter=gl(n),this.getter||(this.getter=Q)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){Bt(this);var t,n=this.vm;try{t=this.getter.call(n,n)}catch(r){if(this.user)vt(r,n,'getter for watcher "'.concat(this.expression,'"'));else throw r}finally{this.deep&&Nt(t),Ft(),this.cleanupDeps()}return t},e.prototype.addDep=function(t){var n=t.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(t),this.depIds.has(n)||t.addSub(this))},e.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var n=this.deps[t];this.newDepIds.has(n.id)||n.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Kr(this)},e.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||ue(t)||this.deep){var n=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');Ke(this.cb,this.vm,[t,n],this.vm,r)}else this.cb.call(this.vm,t,n)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&ot(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function uc(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ea(e,t)}var ln;function fc(e,t){ln.$on(e,t)}function pc(e,t){ln.$off(e,t)}function hc(e,t){var n=ln;return function r(){var i=t.apply(null,arguments);i!==null&&n.$off(e,r)}}function ea(e,t,n){ln=e,jo(t,n||{},fc,pc,hc,e),ln=void 0}function dc(e){var t=/^hook:/;e.prototype.$on=function(n,r){var i=this;if(N(n))for(var s=0,o=n.length;s<o;s++)i.$on(n[s],r);else(i._events[n]||(i._events[n]=[])).push(r),t.test(n)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(n,r){var i=this;function s(){i.$off(n,s),r.apply(i,arguments)}return s.fn=r,i.$on(n,s),i},e.prototype.$off=function(n,r){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(N(n)){for(var s=0,o=n.length;s<o;s++)i.$off(n[s],r);return i}var a=i._events[n];if(!a)return i;if(!r)return i._events[n]=null,i;for(var l,u=a.length;u--;)if(l=a[u],l===r||l.fn===r){a.splice(u,1);break}return i},e.prototype.$emit=function(n){var r=this,i=r._events[n];if(i){i=i.length>1?Br(i):i;for(var s=Br(arguments,1),o='event handler for "'.concat(n,'"'),a=0,l=i.length;a<l;a++)Ke(i[a],r,s,r,o)}return r}}var ht=null;function ta(e){var t=ht;return ht=e,function(){ht=t}}function mc(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function gc(e){e.prototype._update=function(t,n){var r=this,i=r.$el,s=r._vnode,o=ta(r);r._vnode=t,s?r.$el=r.__patch__(s,t):r.$el=r.__patch__(r.$el,t,n,!1),o(),i&&(i.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var a=r;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Pe(t,"beforeDestroy"),t._isBeingDestroyed=!0;var n=t.$parent;n&&!n._isBeingDestroyed&&!t.$options.abstract&&ot(n.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Pe(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function vc(e,t,n){e.$el=t,e.$options.render||(e.$options.render=pt),Pe(e,"beforeMount");var r;r=function(){e._update(e._render(),n)};var i={before:function(){e._isMounted&&!e._isDestroyed&&Pe(e,"beforeUpdate")}};new mn(e,r,Q,i,!0),n=!1;var s=e._preWatchers;if(s)for(var o=0;o<s.length;o++)s[o].run();return e.$vnode==null&&(e._isMounted=!0,Pe(e,"mounted")),e}function _c(e,t,n,r,i){var s=r.data.scopedSlots,o=e.$scopedSlots,a=!!(s&&!s.$stable||o!==ve&&!o.$stable||s&&e.$scopedSlots.$key!==s.$key||!s&&e.$scopedSlots.$key),l=!!(i||e.$options._renderChildren||a),u=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i;var f=r.data.attrs||ve;e._attrsProxy&&qn(e._attrsProxy,f,u.data&&u.data.attrs||ve,e,"$attrs")&&(l=!0),e.$attrs=f,n=n||ve;var g=e.$options._parentListeners;if(e._listenersProxy&&qn(e._listenersProxy,n,g||ve,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,ea(e,n,g),t&&e.$options.props){it(!1);for(var y=e._props,_=e.$options._propKeys||[],w=0;w<_.length;w++){var S=_[w],T=e.$options.props;y[S]=wi(S,T,t,e)}it(!0),e.$options.propsData=t}l&&(e.$slots=mi(i,r.context),e.$forceUpdate())}function na(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function gi(e,t){if(t){if(e._directInactive=!1,na(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var n=0;n<e.$children.length;n++)gi(e.$children[n]);Pe(e,"activated")}}function ra(e,t){if(!(t&&(e._directInactive=!0,na(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)ra(e.$children[n]);Pe(e,"deactivated")}}function Pe(e,t,n,r){r===void 0&&(r=!0),Bt();var i=Le,s=$l();r&&rt(e);var o=e.$options[t],a="".concat(t," hook");if(o)for(var l=0,u=o.length;l<u;l++)Ke(o[l],e,null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),r&&(rt(i),s&&s.on()),Ft()}var qe=[],vi=[],Yn={},Yr=!1,_i=!1,Dt=0;function yc(){Dt=qe.length=vi.length=0,Yn={},Yr=_i=!1}var ia=0,Xr=Date.now;if(Se&&!Mt){var Tr=window.performance;Tr&&typeof Tr.now=="function"&&Xr()>document.createEvent("Event").timeStamp&&(Xr=function(){return Tr.now()})}var bc=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function wc(){ia=Xr(),_i=!0;var e,t;for(qe.sort(bc),Dt=0;Dt<qe.length;Dt++)e=qe[Dt],e.before&&e.before(),t=e.id,Yn[t]=null,e.run();var n=vi.slice(),r=qe.slice();yc(),Tc(n),xc(r),bl(),Wn&&$e.devtools&&Wn.emit("flush")}function xc(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Pe(r,"updated")}}function kc(e){e._inactive=!1,vi.push(e)}function Tc(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,gi(e[t],!0)}function Kr(e){var t=e.id;if(Yn[t]==null&&!(e===Ye.target&&e.noRecurse)){if(Yn[t]=!0,!_i)qe.push(e);else{for(var n=qe.length-1;n>Dt&&qe[n].id>e.id;)n--;qe.splice(n+1,0,e)}Yr||(Yr=!0,dn(wc))}}function Cc(e){var t=e.$options.provide;if(t){var n=Y(t)?t.call(e):t;if(!ue(n))return;for(var r=Rl(e),i=hn?Reflect.ownKeys(n):Object.keys(n),s=0;s<i.length;s++){var o=i[s];Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(n,o))}}}function Sc(e){var t=sa(e.$options.inject,e);t&&(it(!1),Object.keys(t).forEach(function(n){st(e,n,t[n])}),it(!0))}function sa(e,t){if(e){for(var n=Object.create(null),r=hn?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var s=r[i];if(s!=="__ob__"){var o=e[s].from;if(o in t._provided)n[s]=t._provided[o];else if("default"in e[s]){var a=e[s].default;n[s]=Y(a)?a.call(t):a}}}return n}}function yi(e,t,n,r,i){var s=this,o=i.options,a;pe(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var l=V(o._compiled),u=!l;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||ve,this.injections=sa(o.inject,r),this.slots=function(){return s.$slots||tn(r,e.scopedSlots,s.$slots=mi(n,r)),s.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return tn(r,e.scopedSlots,this.slots())}}),l&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=tn(r,e.scopedSlots,this.$slots)),o._scopeId?this._c=function(f,g,y,_){var w=Zn(a,f,g,y,_,u);return w&&!N(w)&&(w.fnScopeId=o._scopeId,w.fnContext=r),w}:this._c=function(f,g,y,_){return Zn(a,f,g,y,_,u)}}Zo(yi.prototype);function Ac(e,t,n,r,i){var s=e.options,o={},a=s.props;if(m(a))for(var l in a)o[l]=wi(l,a,t||ve);else m(n.attrs)&&ks(o,n.attrs),m(n.props)&&ks(o,n.props);var u=new yi(n,o,i,r,e),f=s.render.call(null,u._c,u);if(f instanceof Ce)return xs(f,n,u.parent,s);if(N(f)){for(var g=di(f)||[],y=new Array(g.length),_=0;_<g.length;_++)y[_]=xs(g[_],n,u.parent,s);return y}}function xs(e,t,n,r,i){var s=Ur(e);return s.fnContext=n,s.fnOptions=r,t.slot&&((s.data||(s.data={})).slot=t.slot),s}function ks(e,t){for(var n in t)e[mt(n)]=t[n]}function Xn(e){return e.name||e.__name||e._componentTag}var bi={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;bi.prepatch(n,n)}else{var r=e.componentInstance=Ec(e,ht);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;_c(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Pe(n,"mounted")),e.data.keepAlive&&(t._isMounted?kc(n):gi(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?ra(t,!0):t.$destroy())}},Ts=Object.keys(bi);function Cs(e,t,n,r,i){if(!O(e)){var s=n.$options._base;if(ue(e)&&(e=s.extend(e)),typeof e=="function"){var o;if(O(e.cid)&&(o=e,e=ec(o,s),e===void 0))return Vl(o,t,n,r,i);t=t||{},ki(e),m(t.model)&&Rc(e.options,t);var a=Il(t,e);if(V(e.options.functional))return Ac(e,a,t,n,r);var l=t.on;if(t.on=t.nativeOn,V(e.options.abstract)){var u=t.slot;t={},u&&(t.slot=u)}Oc(t);var f=Xn(e.options)||i,g=new Ce("vue-component-".concat(e.cid).concat(f?"-".concat(f):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:l,tag:i,children:r},o);return g}}}function Ec(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return m(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function Oc(e){for(var t=e.hook||(e.hook={}),n=0;n<Ts.length;n++){var r=Ts[n],i=t[r],s=bi[r];i!==s&&!(i&&i._merged)&&(t[r]=i?$c(s,i):s)}}function $c(e,t){var n=function(r,i){e(r,i),t(r,i)};return n._merged=!0,n}function Rc(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),s=i[r],o=t.model.callback;m(s)?(N(s)?s.indexOf(o)===-1:s!==o)&&(i[r]=[o].concat(s)):i[r]=o}var Ic=Q,Ue=$e.optionMergeStrategies;function cn(e,t,n){if(n===void 0&&(n=!0),!t)return e;for(var r,i,s,o=hn?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)r=o[a],r!=="__ob__"&&(i=e[r],s=t[r],!n||!pe(e,r)?hi(e,r,s):i!==s&&Te(i)&&Te(s)&&cn(i,s));return e}function Ss(e,t,n){return n?function(){var i=Y(t)?t.call(n,n):t,s=Y(e)?e.call(n,n):e;return i?cn(i,s):s}:t?e?function(){return cn(Y(t)?t.call(this,this):t,Y(e)?e.call(this,this):e)}:t:e}Ue.data=function(e,t,n){return n?Ss(e,t,n):t&&typeof t!="function"?e:Ss(e,t)};function oa(e,t){var n=t?e?e.concat(t):N(t)?t:[t]:e;return n&&Dc(n)}function Dc(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}Io.forEach(function(e){Ue[e]=oa});function Lc(e,t,n,r){var i=Object.create(e||null);return t?X(i,t):i}ir.forEach(function(e){Ue[e+"s"]=Lc});Ue.watch=function(e,t,n,r){if(e===Hr&&(e=void 0),t===Hr&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};X(i,e);for(var s in t){var o=i[s],a=t[s];o&&!N(o)&&(o=[o]),i[s]=o?o.concat(a):N(a)?a:[a]}return i};Ue.props=Ue.methods=Ue.inject=Ue.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return X(i,e),t&&X(i,t),i};Ue.provide=function(e,t){return e?function(){var n=Object.create(null);return cn(n,Y(e)?e.call(this):e),t&&cn(n,Y(t)?t.call(this):t,!1),n}:t};var Pc=function(e,t){return t===void 0?e:t};function Nc(e,t){var n=e.props;if(n){var r={},i,s,o;if(N(n))for(i=n.length;i--;)s=n[i],typeof s=="string"&&(o=mt(s),r[o]={type:null});else if(Te(n))for(var a in n)s=n[a],o=mt(a),r[o]=Te(s)?s:{type:s};e.props=r}}function Mc(e,t){var n=e.inject;if(n){var r=e.inject={};if(N(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(Te(n))for(var s in n){var o=n[s];r[s]=Te(o)?X({from:s},o):{from:o}}}}function zc(e){var t=e.directives;if(t)for(var n in t){var r=t[n];Y(r)&&(t[n]={bind:r,update:r})}}function _t(e,t,n){if(Y(t)&&(t=t.options),Nc(t),Mc(t),zc(t),!t._base&&(t.extends&&(e=_t(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=_t(e,t.mixins[r],n);var s={},o;for(o in e)a(o);for(o in t)pe(e,o)||a(o);function a(l){var u=Ue[l]||Pc;s[l]=u(e[l],t[l],n,l)}return s}function Kn(e,t,n,r){if(typeof n=="string"){var i=e[t];if(pe(i,n))return i[n];var s=mt(n);if(pe(i,s))return i[s];var o=ul(s);if(pe(i,o))return i[o];var a=i[n]||i[s]||i[o];return a}}function wi(e,t,n,r){var i=t[e],s=!pe(n,e),o=n[e],a=Es(Boolean,i.type);if(a>-1){if(s&&!pe(i,"default"))o=!1;else if(o===""||o===pn(e)){var l=Es(String,i.type);(l<0||a<l)&&(o=!0)}}if(o===void 0){o=Bc(r,i,e);var u=pi;it(!0),Xe(o),it(u)}return o}function Bc(e,t,n){if(pe(t,"default")){var r=t.default;return e&&e.$options.propsData&&e.$options.propsData[n]===void 0&&e._props[n]!==void 0?e._props[n]:Y(r)&&Jr(t.type)!=="Function"?r.call(e):r}}var Fc=/^\s*function (\w+)/;function Jr(e){var t=e&&e.toString().match(Fc);return t?t[1]:""}function As(e,t){return Jr(e)===Jr(t)}function Es(e,t){if(!N(t))return As(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(As(t[n],e))return n;return-1}var et={enumerable:!0,configurable:!0,get:Q,set:Q};function xi(e,t,n){et.get=function(){return this[t][n]},et.set=function(i){this[t][n]=i},Object.defineProperty(e,n,et)}function Hc(e){var t=e.$options;if(t.props&&Uc(e,t.props),Zl(e),t.methods&&Zc(e,t.methods),t.data)jc(e);else{var n=Xe(e._data={});n&&n.vmCount++}t.computed&&qc(e,t.computed),t.watch&&t.watch!==Hr&&Yc(e,t.watch)}function Uc(e,t){var n=e.$options.propsData||{},r=e._props=Fo({}),i=e.$options._propKeys=[],s=!e.$parent;s||it(!1);var o=function(l){i.push(l);var u=wi(l,t,n,e);st(r,l,u,void 0,!0),l in e||xi(e,"_props",l)};for(var a in t)o(a);it(!0)}function jc(e){var t=e.$options.data;t=e._data=Y(t)?Wc(t,e):t||{},Te(t)||(t={});var n=Object.keys(t),r=e.$options.props;e.$options.methods;for(var i=n.length;i--;){var s=n[i];r&&pe(r,s)||Do(s)||xi(e,"_data",s)}var o=Xe(t);o&&o.vmCount++}function Wc(e,t){Bt();try{return e.call(t,t)}catch(n){return vt(n,t,"data()"),{}}finally{Ft()}}var Gc={lazy:!0};function qc(e,t){var n=e._computedWatchers=Object.create(null),r=at();for(var i in t){var s=t[i],o=Y(s)?s:s.get;r||(n[i]=new mn(e,o||Q,Q,Gc)),i in e||aa(e,i,s)}}function aa(e,t,n){var r=!at();Y(n)?(et.get=r?Os(t):$s(n),et.set=Q):(et.get=n.get?r&&n.cache!==!1?Os(t):$s(n.get):Q,et.set=n.set||Q),Object.defineProperty(e,t,et)}function Os(e){return function(){var n=this._computedWatchers&&this._computedWatchers[e];if(n)return n.dirty&&n.evaluate(),Ye.target&&n.depend(),n.value}}function $s(e){return function(){return e.call(this,this)}}function Zc(e,t){e.$options.props;for(var n in t)e[n]=typeof t[n]!="function"?Q:Eo(t[n],e)}function Yc(e,t){for(var n in t){var r=t[n];if(N(r))for(var i=0;i<r.length;i++)Qr(e,n,r[i]);else Qr(e,n,r)}}function Qr(e,t,n,r){return Te(n)&&(r=n,n=n.handler),typeof n=="string"&&(n=e[n]),e.$watch(t,n,r)}function Xc(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=hi,e.prototype.$delete=zo,e.prototype.$watch=function(r,i,s){var o=this;if(Te(i))return Qr(o,r,i,s);s=s||{},s.user=!0;var a=new mn(o,r,i,s);if(s.immediate){var l='callback for immediate watcher "'.concat(a.expression,'"');Bt(),Ke(i,o,[a.value],o,l),Ft()}return function(){a.teardown()}}}var Kc=0;function Jc(e){e.prototype._init=function(t){var n=this;n._uid=Kc++,n._isVue=!0,n.__v_skip=!0,n._scope=new El(!0),n._scope.parent=void 0,n._scope._vm=!0,t&&t._isComponent?Qc(n,t):n.$options=_t(ki(n.constructor),t||{},n),n._renderProxy=n,n._self=n,mc(n),uc(n),Jl(n),Pe(n,"beforeCreate",void 0,!1),Sc(n),Hc(n),Cc(n),Pe(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}function Qc(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function ki(e){var t=e.options;if(e.super){var n=ki(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=Vc(e);i&&X(e.extendOptions,i),t=e.options=_t(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Vc(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function ne(e){this._init(e)}Jc(ne);Xc(ne);dc(ne);gc(ne);Ql(ne);function eu(e){e.use=function(t){var n=this._installedPlugins||(this._installedPlugins=[]);if(n.indexOf(t)>-1)return this;var r=Br(arguments,1);return r.unshift(this),Y(t.install)?t.install.apply(t,r):Y(t)&&t.apply(null,r),n.push(t),this}}function tu(e){e.mixin=function(t){return this.options=_t(this.options,t),this}}function nu(e){e.cid=0;var t=1;e.extend=function(n){n=n||{};var r=this,i=r.cid,s=n._Ctor||(n._Ctor={});if(s[i])return s[i];var o=Xn(n)||Xn(r.options),a=function(u){this._init(u)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=_t(r.options,n),a.super=r,a.options.props&&ru(a),a.options.computed&&iu(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,ir.forEach(function(l){a[l]=r[l]}),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=n,a.sealedOptions=X({},a.options),s[i]=a,a}}function ru(e){var t=e.options.props;for(var n in t)xi(e.prototype,"_props",n)}function iu(e){var t=e.options.computed;for(var n in t)aa(e.prototype,n,t[n])}function su(e){ir.forEach(function(t){e[t]=function(n,r){return r?(t==="component"&&Te(r)&&(r.name=r.name||n,r=this.options._base.extend(r)),t==="directive"&&Y(r)&&(r={bind:r,update:r}),this.options[t+"s"][n]=r,r):this.options[t+"s"][n]}})}function Rs(e){return e&&(Xn(e.Ctor.options)||e.tag)}function On(e,t){return N(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:il(e)?e.test(t):!1}function Is(e,t){var n=e.cache,r=e.keys,i=e._vnode,s=e.$vnode;for(var o in n){var a=n[o];if(a){var l=a.name;l&&!t(l)&&Vr(n,o,r,i)}}s.componentOptions.children=void 0}function Vr(e,t,n,r){var i=e[t];i&&(!r||i.tag!==r.tag)&&i.componentInstance.$destroy(),e[t]=null,ot(n,t)}var Ds=[String,RegExp,Array],ou={name:"keep-alive",abstract:!0,props:{include:Ds,exclude:Ds,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var s=r.tag,o=r.componentInstance,a=r.componentOptions;t[i]={name:Rs(a),tag:s,componentInstance:o},n.push(i),this.max&&n.length>parseInt(this.max)&&Vr(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Vr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Is(e,function(n){return On(t,n)})}),this.$watch("exclude",function(t){Is(e,function(n){return!On(t,n)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Xo(e),n=t&&t.componentOptions;if(n){var r=Rs(n),i=this,s=i.include,o=i.exclude;if(s&&(!r||!On(s,r))||o&&r&&On(o,r))return t;var a=this,l=a.cache,u=a.keys,f=t.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;l[f]?(t.componentInstance=l[f].componentInstance,ot(u,f),u.push(f)):(this.vnodeToCache=t,this.keyToCache=f),t.data.keepAlive=!0}return t||e&&e[0]}},au={KeepAlive:ou};function lu(e){var t={};t.get=function(){return $e},Object.defineProperty(e,"config",t),e.util={warn:Ic,extend:X,mergeOptions:_t,defineReactive:st},e.set=hi,e.delete=zo,e.nextTick=dn,e.observable=function(n){return Xe(n),n},e.options=Object.create(null),ir.forEach(function(n){e.options[n+"s"]=Object.create(null)}),e.options._base=e,X(e.options.components,au),eu(e),tu(e),nu(e),su(e)}lu(ne);Object.defineProperty(ne.prototype,"$isServer",{get:at});Object.defineProperty(ne.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(ne,"FunctionalRenderContext",{value:yi});ne.version=lc;var cu=Ne("style,class"),uu=Ne("input,textarea,option,select,progress"),fu=function(e,t,n){return n==="value"&&uu(e)&&t!=="button"||n==="selected"&&e==="option"||n==="checked"&&e==="input"||n==="muted"&&e==="video"},la=Ne("contenteditable,draggable,spellcheck"),pu=Ne("events,caret,typing,plaintext-only"),hu=function(e,t){return Jn(t)||t==="false"?"false":e==="contenteditable"&&pu(t)?t:"true"},du=Ne("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ei="http://www.w3.org/1999/xlink",Ti=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},ca=function(e){return Ti(e)?e.slice(6,e.length):""},Jn=function(e){return e==null||e===!1};function mu(e){for(var t=e.data,n=e,r=e;m(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(t=Ls(r.data,t));for(;m(n=n.parent);)n&&n.data&&(t=Ls(t,n.data));return gu(t.staticClass,t.class)}function Ls(e,t){return{staticClass:Ci(e.staticClass,t.staticClass),class:m(e.class)?[e.class,t.class]:t.class}}function gu(e,t){return m(e)||m(t)?Ci(e,Si(t)):""}function Ci(e,t){return e?t?e+" "+t:e:t||""}function Si(e){return Array.isArray(e)?vu(e):ue(e)?_u(e):typeof e=="string"?e:""}function vu(e){for(var t="",n,r=0,i=e.length;r<i;r++)m(n=Si(e[r]))&&n!==""&&(t&&(t+=" "),t+=n);return t}function _u(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var yu={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},bu=Ne("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ai=Ne("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ua=function(e){return bu(e)||Ai(e)};function wu(e){if(Ai(e))return"svg";if(e==="math")return"math"}var $n=Object.create(null);function xu(e){if(!Se)return!0;if(ua(e))return!1;if(e=e.toLowerCase(),$n[e]!=null)return $n[e];var t=document.createElement(e);return e.indexOf("-")>-1?$n[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:$n[e]=/HTMLUnknownElement/.test(t.toString())}var ti=Ne("text,number,password,search,email,tel,url");function ku(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function Tu(e,t){var n=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&n.setAttribute("multiple","multiple"),n}function Cu(e,t){return document.createElementNS(yu[e],t)}function Su(e){return document.createTextNode(e)}function Au(e){return document.createComment(e)}function Eu(e,t,n){e.insertBefore(t,n)}function Ou(e,t){e.removeChild(t)}function $u(e,t){e.appendChild(t)}function Ru(e){return e.parentNode}function Iu(e){return e.nextSibling}function Du(e){return e.tagName}function Lu(e,t){e.textContent=t}function Pu(e,t){e.setAttribute(t,"")}var Nu=Object.freeze({__proto__:null,createElement:Tu,createElementNS:Cu,createTextNode:Su,createComment:Au,insertBefore:Eu,removeChild:Ou,appendChild:$u,parentNode:Ru,nextSibling:Iu,tagName:Du,setTextContent:Lu,setStyleScope:Pu}),Mu={create:function(e,t){Lt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Lt(e,!0),Lt(t))},destroy:function(e){Lt(e,!0)}};function Lt(e,t){var n=e.data.ref;if(m(n)){var r=e.context,i=e.componentInstance||e.elm,s=t?null:i,o=t?void 0:i;if(Y(n)){Ke(n,r,[s],r,"template ref function");return}var a=e.data.refInFor,l=typeof n=="string"||typeof n=="number",u=ke(n),f=r.$refs;if(l||u){if(a){var g=l?f[n]:n.value;t?N(g)&&ot(g,i):N(g)?g.includes(i)||g.push(i):l?(f[n]=[i],Ps(r,n,f[n])):n.value=[i]}else if(l){if(t&&f[n]!==i)return;f[n]=o,Ps(r,n,s)}else if(u){if(t&&n.value!==i)return;n.value=s}}}}function Ps(e,t,n){var r=e._setupState;r&&pe(r,t)&&(ke(r[t])?r[t].value=n:r[t]=n)}var nt=new Ce("",{},[]),qt=["create","activate","update","remove","destroy"];function ut(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&m(e.data)===m(t.data)&&zu(e,t)||V(e.isAsyncPlaceholder)&&O(t.asyncFactory.error))}function zu(e,t){if(e.tag!=="input")return!0;var n,r=m(n=e.data)&&m(n=n.attrs)&&n.type,i=m(n=t.data)&&m(n=n.attrs)&&n.type;return r===i||ti(r)&&ti(i)}function Bu(e,t,n){var r,i,s={};for(r=t;r<=n;++r)i=e[r].key,m(i)&&(s[i]=r);return s}function Fu(e){var t,n,r={},i=e.modules,s=e.nodeOps;for(t=0;t<qt.length;++t)for(r[qt[t]]=[],n=0;n<i.length;++n)m(i[n][qt[t]])&&r[qt[t]].push(i[n][qt[t]]);function o(d){return new Ce(s.tagName(d).toLowerCase(),{},[],void 0,d)}function a(d,p){function h(){--h.listeners===0&&l(d)}return h.listeners=p,h}function l(d){var p=s.parentNode(d);m(p)&&s.removeChild(p,d)}function u(d,p,h,b,k,E,A){if(m(d.elm)&&m(E)&&(d=E[A]=Ur(d)),d.isRootInsert=!k,!f(d,p,h,b)){var R=d.data,z=d.children,F=d.tag;m(F)?(d.elm=d.ns?s.createElementNS(d.ns,F):s.createElement(F,d),B(d),w(d,z,p),m(R)&&T(d,p),_(h,d.elm,b)):V(d.isComment)?(d.elm=s.createComment(d.text),_(h,d.elm,b)):(d.elm=s.createTextNode(d.text),_(h,d.elm,b))}}function f(d,p,h,b){var k=d.data;if(m(k)){var E=m(d.componentInstance)&&k.keepAlive;if(m(k=k.hook)&&m(k=k.init)&&k(d,!1),m(d.componentInstance))return g(d,p),_(h,d.elm,b),V(E)&&y(d,p,h,b),!0}}function g(d,p){m(d.data.pendingInsert)&&(p.push.apply(p,d.data.pendingInsert),d.data.pendingInsert=null),d.elm=d.componentInstance.$el,S(d)?(T(d,p),B(d)):(Lt(d),p.push(d))}function y(d,p,h,b){for(var k,E=d;E.componentInstance;)if(E=E.componentInstance._vnode,m(k=E.data)&&m(k=k.transition)){for(k=0;k<r.activate.length;++k)r.activate[k](nt,E);p.push(E);break}_(h,d.elm,b)}function _(d,p,h){m(d)&&(m(h)?s.parentNode(h)===d&&s.insertBefore(d,p,h):s.appendChild(d,p))}function w(d,p,h){if(N(p))for(var b=0;b<p.length;++b)u(p[b],h,d.elm,null,!0,p,b);else fn(d.text)&&s.appendChild(d.elm,s.createTextNode(String(d.text)))}function S(d){for(;d.componentInstance;)d=d.componentInstance._vnode;return m(d.tag)}function T(d,p){for(var h=0;h<r.create.length;++h)r.create[h](nt,d);t=d.data.hook,m(t)&&(m(t.create)&&t.create(nt,d),m(t.insert)&&p.push(d))}function B(d){var p;if(m(p=d.fnScopeId))s.setStyleScope(d.elm,p);else for(var h=d;h;)m(p=h.context)&&m(p=p.$options._scopeId)&&s.setStyleScope(d.elm,p),h=h.parent;m(p=ht)&&p!==d.context&&p!==d.fnContext&&m(p=p.$options._scopeId)&&s.setStyleScope(d.elm,p)}function $(d,p,h,b,k,E){for(;b<=k;++b)u(h[b],E,d,p,!1,h,b)}function P(d){var p,h,b=d.data;if(m(b))for(m(p=b.hook)&&m(p=p.destroy)&&p(d),p=0;p<r.destroy.length;++p)r.destroy[p](d);if(m(p=d.children))for(h=0;h<d.children.length;++h)P(d.children[h])}function I(d,p,h){for(;p<=h;++p){var b=d[p];m(b)&&(m(b.tag)?(K(b),P(b)):l(b.elm))}}function K(d,p){if(m(p)||m(d.data)){var h,b=r.remove.length+1;for(m(p)?p.listeners+=b:p=a(d.elm,b),m(h=d.componentInstance)&&m(h=h._vnode)&&m(h.data)&&K(h,p),h=0;h<r.remove.length;++h)r.remove[h](d,p);m(h=d.data.hook)&&m(h=h.remove)?h(d,p):p()}else l(d.elm)}function D(d,p,h,b,k){for(var E=0,A=0,R=p.length-1,z=p[0],F=p[R],H=h.length-1,ee=h[0],U=h[H],ze,J,Be,W,je=!k;E<=R&&A<=H;)O(z)?z=p[++E]:O(F)?F=p[--R]:ut(z,ee)?(oe(z,ee,b,h,A),z=p[++E],ee=h[++A]):ut(F,U)?(oe(F,U,b,h,H),F=p[--R],U=h[--H]):ut(z,U)?(oe(z,U,b,h,H),je&&s.insertBefore(d,z.elm,s.nextSibling(F.elm)),z=p[++E],U=h[--H]):ut(F,ee)?(oe(F,ee,b,h,A),je&&s.insertBefore(d,F.elm,z.elm),F=p[--R],ee=h[++A]):(O(ze)&&(ze=Bu(p,E,R)),J=m(ee.key)?ze[ee.key]:q(ee,p,E,R),O(J)?u(ee,b,d,z.elm,!1,h,A):(Be=p[J],ut(Be,ee)?(oe(Be,ee,b,h,A),p[J]=void 0,je&&s.insertBefore(d,Be.elm,z.elm)):u(ee,b,d,z.elm,!1,h,A)),ee=h[++A]);E>R?(W=O(h[H+1])?null:h[H+1].elm,$(d,W,h,A,H,b)):A>H&&I(p,E,R)}function q(d,p,h,b){for(var k=h;k<b;k++){var E=p[k];if(m(E)&&ut(d,E))return k}}function oe(d,p,h,b,k,E){if(d!==p){m(p.elm)&&m(b)&&(p=b[k]=Ur(p));var A=p.elm=d.elm;if(V(d.isAsyncPlaceholder)){m(p.asyncFactory.resolved)?ye(d.elm,p,h):p.isAsyncPlaceholder=!0;return}if(V(p.isStatic)&&V(d.isStatic)&&p.key===d.key&&(V(p.isCloned)||V(p.isOnce))){p.componentInstance=d.componentInstance;return}var R,z=p.data;m(z)&&m(R=z.hook)&&m(R=R.prepatch)&&R(d,p);var F=d.children,H=p.children;if(m(z)&&S(p)){for(R=0;R<r.update.length;++R)r.update[R](d,p);m(R=z.hook)&&m(R=R.update)&&R(d,p)}O(p.text)?m(F)&&m(H)?F!==H&&D(A,F,H,h,E):m(H)?(m(d.text)&&s.setTextContent(A,""),$(A,null,H,0,H.length-1,h)):m(F)?I(F,0,F.length-1):m(d.text)&&s.setTextContent(A,""):d.text!==p.text&&s.setTextContent(A,p.text),m(z)&&m(R=z.hook)&&m(R=R.postpatch)&&R(d,p)}}function _e(d,p,h){if(V(h)&&m(d.parent))d.parent.data.pendingInsert=p;else for(var b=0;b<p.length;++b)p[b].data.hook.insert(p[b])}var Me=Ne("attrs,class,staticClass,staticStyle,key");function ye(d,p,h,b){var k,E=p.tag,A=p.data,R=p.children;if(b=b||A&&A.pre,p.elm=d,V(p.isComment)&&m(p.asyncFactory))return p.isAsyncPlaceholder=!0,!0;if(m(A)&&(m(k=A.hook)&&m(k=k.init)&&k(p,!0),m(k=p.componentInstance)))return g(p,h),!0;if(m(E)){if(m(R))if(!d.hasChildNodes())w(p,R,h);else if(m(k=A)&&m(k=k.domProps)&&m(k=k.innerHTML)){if(k!==d.innerHTML)return!1}else{for(var z=!0,F=d.firstChild,H=0;H<R.length;H++){if(!F||!ye(F,R[H],h,b)){z=!1;break}F=F.nextSibling}if(!z||F)return!1}if(m(A)){var ee=!1;for(var U in A)if(!Me(U)){ee=!0,T(p,h);break}!ee&&A.class&&Nt(A.class)}}else d.data!==p.text&&(d.data=p.text);return!0}return function(p,h,b,k){if(O(h)){m(p)&&P(p);return}var E=!1,A=[];if(O(p))E=!0,u(h,A);else{var R=m(p.nodeType);if(!R&&ut(p,h))oe(p,h,A,null,null,k);else{if(R){if(p.nodeType===1&&p.hasAttribute(ss)&&(p.removeAttribute(ss),b=!0),V(b)&&ye(p,h,A))return _e(h,A,!0),p;p=o(p)}var z=p.elm,F=s.parentNode(z);if(u(h,A,z._leaveCb?null:F,s.nextSibling(z)),m(h.parent))for(var H=h.parent,ee=S(h);H;){for(var U=0;U<r.destroy.length;++U)r.destroy[U](H);if(H.elm=h.elm,ee){for(var ze=0;ze<r.create.length;++ze)r.create[ze](nt,H);var J=H.data.hook.insert;if(J.merged)for(var Be=J.fns.slice(1),W=0;W<Be.length;W++)Be[W]()}else Lt(H);H=H.parent}m(F)?I([p],0,0):m(p.tag)&&P(p)}}return _e(h,A,E),h.elm}}var Hu={create:Cr,update:Cr,destroy:function(t){Cr(t,nt)}};function Cr(e,t){(e.data.directives||t.data.directives)&&Uu(e,t)}function Uu(e,t){var n=e===nt,r=t===nt,i=Ns(e.data.directives,e.context),s=Ns(t.data.directives,t.context),o=[],a=[],l,u,f;for(l in s)u=i[l],f=s[l],u?(f.oldValue=u.value,f.oldArg=u.arg,Zt(f,"update",t,e),f.def&&f.def.componentUpdated&&a.push(f)):(Zt(f,"bind",t,e),f.def&&f.def.inserted&&o.push(f));if(o.length){var g=function(){for(var y=0;y<o.length;y++)Zt(o[y],"inserted",t,e)};n?tt(t,"insert",g):g()}if(a.length&&tt(t,"postpatch",function(){for(var y=0;y<a.length;y++)Zt(a[y],"componentUpdated",t,e)}),!n)for(l in i)s[l]||Zt(i[l],"unbind",e,e,r)}var ju=Object.create(null);function Ns(e,t){var n=Object.create(null);if(!e)return n;var r,i;for(r=0;r<e.length;r++){if(i=e[r],i.modifiers||(i.modifiers=ju),n[Wu(i)]=i,t._setupState&&t._setupState.__sfc){var s=i.def||Kn(t,"_setupState","v-"+i.name);typeof s=="function"?i.def={bind:s,update:s}:i.def=s}i.def=i.def||Kn(t.$options,"directives",i.name)}return n}function Wu(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function Zt(e,t,n,r,i){var s=e.def&&e.def[t];if(s)try{s(n.elm,e,n,r,i)}catch(o){vt(o,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var Gu=[Mu,Hu];function Ms(e,t){var n=t.componentOptions;if(!(m(n)&&n.Ctor.options.inheritAttrs===!1)&&!(O(e.data.attrs)&&O(t.data.attrs))){var r,i,s,o=t.elm,a=e.data.attrs||{},l=t.data.attrs||{};(m(l.__ob__)||V(l._v_attr_proxy))&&(l=t.data.attrs=X({},l));for(r in l)i=l[r],s=a[r],s!==i&&zs(o,r,i,t.data.pre);(Mt||Lo)&&l.value!==a.value&&zs(o,"value",l.value);for(r in a)O(l[r])&&(Ti(r)?o.removeAttributeNS(ei,ca(r)):la(r)||o.removeAttribute(r))}}function zs(e,t,n,r){r||e.tagName.indexOf("-")>-1?Bs(e,t,n):du(t)?Jn(n)?e.removeAttribute(t):(n=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,n)):la(t)?e.setAttribute(t,hu(t,n)):Ti(t)?Jn(n)?e.removeAttributeNS(ei,ca(t)):e.setAttributeNS(ei,t,n):Bs(e,t,n)}function Bs(e,t,n){if(Jn(n))e.removeAttribute(t);else{if(Mt&&!zt&&e.tagName==="TEXTAREA"&&t==="placeholder"&&n!==""&&!e.__ieph){var r=function(i){i.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var qu={create:Ms,update:Ms};function Fs(e,t){var n=t.elm,r=t.data,i=e.data;if(!(O(r.staticClass)&&O(r.class)&&(O(i)||O(i.staticClass)&&O(i.class)))){var s=mu(t),o=n._transitionClasses;m(o)&&(s=Ci(s,Si(o))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Zu={create:Fs,update:Fs},Sr="__r",Ar="__c";function Yu(e){if(m(e[Sr])){var t=Mt?"change":"input";e[t]=[].concat(e[Sr],e[t]||[]),delete e[Sr]}m(e[Ar])&&(e.change=[].concat(e[Ar],e.change||[]),delete e[Ar])}var un;function Xu(e,t,n){var r=un;return function i(){var s=t.apply(null,arguments);s!==null&&fa(e,i,n,r)}}var Ku=Gr&&!(os&&Number(os[1])<=53);function Ju(e,t,n,r){if(Ku){var i=ia,s=t;t=s._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=i||o.timeStamp<=0||o.target.ownerDocument!==document)return s.apply(this,arguments)}}un.addEventListener(e,t,Po?{capture:n,passive:r}:n)}function fa(e,t,n,r){(r||un).removeEventListener(e,t._wrapper||t,n)}function Er(e,t){if(!(O(e.data.on)&&O(t.data.on))){var n=t.data.on||{},r=e.data.on||{};un=t.elm||e.elm,Yu(n),jo(n,r,Ju,fa,Xu,t.context),un=void 0}}var Qu={create:Er,update:Er,destroy:function(e){return Er(e,nt)}},Rn;function Hs(e,t){if(!(O(e.data.domProps)&&O(t.data.domProps))){var n,r,i=t.elm,s=e.data.domProps||{},o=t.data.domProps||{};(m(o.__ob__)||V(o._v_attr_proxy))&&(o=t.data.domProps=X({},o));for(n in s)n in o||(i[n]="");for(n in o){if(r=o[n],n==="textContent"||n==="innerHTML"){if(t.children&&(t.children.length=0),r===s[n])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(n==="value"&&i.tagName!=="PROGRESS"){i._value=r;var a=O(r)?"":String(r);Vu(i,a)&&(i.value=a)}else if(n==="innerHTML"&&Ai(i.tagName)&&O(i.innerHTML)){Rn=Rn||document.createElement("div"),Rn.innerHTML="<svg>".concat(r,"</svg>");for(var l=Rn.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(r!==s[n])try{i[n]=r}catch{}}}}function Vu(e,t){return!e.composing&&(e.tagName==="OPTION"||ef(e,t)||tf(e,t))}function ef(e,t){var n=!0;try{n=document.activeElement!==e}catch{}return n&&e.value!==t}function tf(e,t){var n=e.value,r=e._vModifiers;if(m(r)){if(r.number)return sn(n)!==sn(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var nf={create:Hs,update:Hs},rf=bt(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(i){if(i){var s=i.split(r);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t});function Or(e){var t=pa(e.style);return e.staticStyle?X(e.staticStyle,t):t}function pa(e){return Array.isArray(e)?Oo(e):typeof e=="string"?rf(e):e}function sf(e,t){for(var n={},r,i=e;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(r=Or(i.data))&&X(n,r);(r=Or(e.data))&&X(n,r);for(var s=e;s=s.parent;)s.data&&(r=Or(s.data))&&X(n,r);return n}var of=/^--/,Us=/\s*!important$/,js=function(e,t,n){if(of.test(t))e.style.setProperty(t,n);else if(Us.test(n))e.style.setProperty(pn(t),n.replace(Us,""),"important");else{var r=af(t);if(Array.isArray(n))for(var i=0,s=n.length;i<s;i++)e.style[r]=n[i];else e.style[r]=n}},Ws=["Webkit","Moz","ms"],In,af=bt(function(e){if(In=In||document.createElement("div").style,e=mt(e),e!=="filter"&&e in In)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Ws.length;n++){var r=Ws[n]+t;if(r in In)return r}});function Gs(e,t){var n=t.data,r=e.data;if(!(O(n.staticStyle)&&O(n.style)&&O(r.staticStyle)&&O(r.style))){var i,s,o=t.elm,a=r.staticStyle,l=r.normalizedStyle||r.style||{},u=a||l,f=pa(t.data.style)||{};t.data.normalizedStyle=m(f.__ob__)?X({},f):f;var g=sf(t);for(s in u)O(g[s])&&js(o,s,"");for(s in g)i=g[s],js(o,s,i==null?"":i)}}var lf={create:Gs,update:Gs},ha=/\s+/;function da(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(ha).forEach(function(r){return e.classList.add(r)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ma(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(ha).forEach(function(i){return e.classList.remove(i)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function ga(e){if(e){if(typeof e=="object"){var t={};return e.css!==!1&&X(t,qs(e.name||"v")),X(t,e),t}else if(typeof e=="string")return qs(e)}}var qs=bt(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),va=Se&&!zt,$t="transition",$r="animation",Un="transition",Qn="transitionend",ni="animation",_a="animationend";va&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Un="WebkitTransition",Qn="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(ni="WebkitAnimation",_a="webkitAnimationEnd"));var Zs=Se?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function ya(e){Zs(function(){Zs(e)})}function dt(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),da(e,t))}function Ze(e,t){e._transitionClasses&&ot(e._transitionClasses,t),ma(e,t)}function ba(e,t,n){var r=wa(e,t),i=r.type,s=r.timeout,o=r.propCount;if(!i)return n();var a=i===$t?Qn:_a,l=0,u=function(){e.removeEventListener(a,f),n()},f=function(g){g.target===e&&++l>=o&&u()};setTimeout(function(){l<o&&u()},s+1),e.addEventListener(a,f)}var cf=/\b(transform|all)(,|$)/;function wa(e,t){var n=window.getComputedStyle(e),r=(n[Un+"Delay"]||"").split(", "),i=(n[Un+"Duration"]||"").split(", "),s=Ys(r,i),o=(n[ni+"Delay"]||"").split(", "),a=(n[ni+"Duration"]||"").split(", "),l=Ys(o,a),u,f=0,g=0;t===$t?s>0&&(u=$t,f=s,g=i.length):t===$r?l>0&&(u=$r,f=l,g=a.length):(f=Math.max(s,l),u=f>0?s>l?$t:$r:null,g=u?u===$t?i.length:a.length:0);var y=u===$t&&cf.test(n[Un+"Property"]);return{type:u,timeout:f,propCount:g,hasTransform:y}}function Ys(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(n,r){return Xs(n)+Xs(e[r])}))}function Xs(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ri(e,t){var n=e.elm;m(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=ga(e.data.transition);if(!O(r)&&!(m(n._enterCb)||n.nodeType!==1)){for(var i=r.css,s=r.type,o=r.enterClass,a=r.enterToClass,l=r.enterActiveClass,u=r.appearClass,f=r.appearToClass,g=r.appearActiveClass,y=r.beforeEnter,_=r.enter,w=r.afterEnter,S=r.enterCancelled,T=r.beforeAppear,B=r.appear,$=r.afterAppear,P=r.appearCancelled,I=r.duration,K=ht,D=ht.$vnode;D&&D.parent;)K=D.context,D=D.parent;var q=!K._isMounted||!e.isRootInsert;if(!(q&&!B&&B!=="")){var oe=q&&u?u:o,_e=q&&g?g:l,Me=q&&f?f:a,ye=q&&T||y,d=q&&Y(B)?B:_,p=q&&$||w,h=q&&P||S,b=sn(ue(I)?I.enter:I),k=i!==!1&&!zt,E=Ei(d),A=n._enterCb=jn(function(){k&&(Ze(n,Me),Ze(n,_e)),A.cancelled?(k&&Ze(n,oe),h&&h(n)):p&&p(n),n._enterCb=null});e.data.show||tt(e,"insert",function(){var R=n.parentNode,z=R&&R._pending&&R._pending[e.key];z&&z.tag===e.tag&&z.elm._leaveCb&&z.elm._leaveCb(),d&&d(n,A)}),ye&&ye(n),k&&(dt(n,oe),dt(n,_e),ya(function(){Ze(n,oe),A.cancelled||(dt(n,Me),E||(ka(b)?setTimeout(A,b):ba(n,s,A)))})),e.data.show&&(t&&t(),d&&d(n,A)),!k&&!E&&A()}}}function xa(e,t){var n=e.elm;m(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ga(e.data.transition);if(O(r)||n.nodeType!==1)return t();if(m(n._leaveCb))return;var i=r.css,s=r.type,o=r.leaveClass,a=r.leaveToClass,l=r.leaveActiveClass,u=r.beforeLeave,f=r.leave,g=r.afterLeave,y=r.leaveCancelled,_=r.delayLeave,w=r.duration,S=i!==!1&&!zt,T=Ei(f),B=sn(ue(w)?w.leave:w),$=n._leaveCb=jn(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),S&&(Ze(n,a),Ze(n,l)),$.cancelled?(S&&Ze(n,o),y&&y(n)):(t(),g&&g(n)),n._leaveCb=null});_?_(P):P();function P(){$.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),u&&u(n),S&&(dt(n,o),dt(n,l),ya(function(){Ze(n,o),$.cancelled||(dt(n,a),T||(ka(B)?setTimeout($,B):ba(n,s,$)))})),f&&f(n,$),!S&&!T&&$())}}function ka(e){return typeof e=="number"&&!isNaN(e)}function Ei(e){if(O(e))return!1;var t=e.fns;return m(t)?Ei(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ks(e,t){t.data.show!==!0&&ri(t)}var uf=Se?{create:Ks,activate:Ks,remove:function(e,t){e.data.show!==!0?xa(e,t):t()}}:{},ff=[qu,Zu,Qu,nf,lf,uf],pf=ff.concat(Gu),hf=Fu({nodeOps:Nu,modules:pf});zt&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Oi(e,"input")});var Ta={inserted:function(e,t,n,r){n.tag==="select"?(r.elm&&!r.elm._vOptions?tt(n,"postpatch",function(){Ta.componentUpdated(e,t,n)}):Js(e,t,n.context),e._vOptions=[].map.call(e.options,Vn)):(n.tag==="textarea"||ti(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",df),e.addEventListener("compositionend",eo),e.addEventListener("change",eo),zt&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if(n.tag==="select"){Js(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Vn);if(i.some(function(o,a){return!gt(o,r[a])})){var s=e.multiple?t.value.some(function(o){return Vs(o,i)}):t.value!==t.oldValue&&Vs(t.value,i);s&&Oi(e,"change")}}}};function Js(e,t,n){Qs(e,t),(Mt||Lo)&&setTimeout(function(){Qs(e,t)},0)}function Qs(e,t,n){var r=t.value,i=e.multiple;if(!(i&&!Array.isArray(r))){for(var s,o,a=0,l=e.options.length;a<l;a++)if(o=e.options[a],i)s=Ro(r,Vn(o))>-1,o.selected!==s&&(o.selected=s);else if(gt(Vn(o),r)){e.selectedIndex!==a&&(e.selectedIndex=a);return}i||(e.selectedIndex=-1)}}function Vs(e,t){return t.every(function(n){return!gt(n,e)})}function Vn(e){return"_value"in e?e._value:e.value}function df(e){e.target.composing=!0}function eo(e){e.target.composing&&(e.target.composing=!1,Oi(e.target,"input"))}function Oi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ii(e){return e.componentInstance&&(!e.data||!e.data.transition)?ii(e.componentInstance._vnode):e}var mf={bind:function(e,t,n){var r=t.value;n=ii(n);var i=n.data&&n.data.transition,s=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;r&&i?(n.data.show=!0,ri(n,function(){e.style.display=s})):e.style.display=r?s:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!=!i){n=ii(n);var s=n.data&&n.data.transition;s?(n.data.show=!0,r?ri(n,function(){e.style.display=e.__vOriginalDisplay}):xa(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},gf={model:Ta,show:mf},Ca={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function si(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?si(Xo(t.children)):e}function Sa(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var r in i)t[mt(r)]=i[r];return t}function to(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function vf(e){for(;e=e.parent;)if(e.data.transition)return!0}function _f(e,t){return t.key===e.key&&t.tag===e.tag}var yf=function(e){return e.tag||an(e)},bf=function(e){return e.name==="show"},wf={name:"transition",props:Ca,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(yf),!!n.length)){var r=this.mode,i=n[0];if(vf(this.$vnode))return i;var s=si(i);if(!s)return i;if(this._leaving)return to(e,i);var o="__transition-".concat(this._uid,"-");s.key=s.key==null?s.isComment?o+"comment":o+s.tag:fn(s.key)?String(s.key).indexOf(o)===0?s.key:o+s.key:s.key;var a=(s.data||(s.data={})).transition=Sa(this),l=this._vnode,u=si(l);if(s.data.directives&&s.data.directives.some(bf)&&(s.data.show=!0),u&&u.data&&!_f(s,u)&&!an(u)&&!(u.componentInstance&&u.componentInstance._vnode.isComment)){var f=u.data.transition=X({},a);if(r==="out-in")return this._leaving=!0,tt(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),to(e,i);if(r==="in-out"){if(an(s))return l;var g,y=function(){g()};tt(a,"afterEnter",y),tt(a,"enterCancelled",y),tt(f,"delayLeave",function(_){g=_})}}return i}}},Aa=X({tag:String,moveClass:String},Ca);delete Aa.mode;var xf={props:Aa,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=ta(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],s=this.children=[],o=Sa(this),a=0;a<i.length;a++){var l=i[a];l.tag&&l.key!=null&&String(l.key).indexOf("__vlist")!==0&&(s.push(l),n[l.key]=l,(l.data||(l.data={})).transition=o)}if(r){for(var u=[],f=[],a=0;a<r.length;a++){var l=r[a];l.data.transition=o,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?u.push(l):f.push(l)}this.kept=e(t,null,u),this.removed=f}return e(t,null,s)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,t)||(e.forEach(kf),e.forEach(Tf),e.forEach(Cf),this._reflow=document.body.offsetHeight,e.forEach(function(n){if(n.data.moved){var r=n.elm,i=r.style;dt(r,t),i.transform=i.WebkitTransform=i.transitionDuration="",r.addEventListener(Qn,r._moveCb=function s(o){o&&o.target!==r||(!o||/transform$/.test(o.propertyName))&&(r.removeEventListener(Qn,s),r._moveCb=null,Ze(r,t))})}}))},methods:{hasMove:function(e,t){if(!va)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(i){ma(n,i)}),da(n,t),n.style.display="none",this.$el.appendChild(n);var r=wa(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function kf(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Tf(e){e.data.newPos=e.elm.getBoundingClientRect()}function Cf(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var s=e.elm.style;s.transform=s.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),s.transitionDuration="0s"}}var Sf={Transition:wf,TransitionGroup:xf};ne.config.mustUseProp=fu;ne.config.isReservedTag=ua;ne.config.isReservedAttr=cu;ne.config.getTagNamespace=wu;ne.config.isUnknownElement=xu;X(ne.options.directives,gf);X(ne.options.components,Sf);ne.prototype.__patch__=Se?hf:Q;ne.prototype.$mount=function(e,t){return e=e&&Se?ku(e):void 0,vc(this,e,t)};Se&&setTimeout(function(){$e.devtools&&Wn&&Wn.emit("init",ne)},0);const Af="modulepreload",Ef=function(e,t){return new URL(e,t).href},no={},Of=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(n.map(u=>{if(u=Ef(u,r),u in no)return;no[u]=!0;const f=u.endsWith(".css"),g=f?'[rel="stylesheet"]':"";if(!!r)for(let w=o.length-1;w>=0;w--){const S=o[w];if(S.href===u&&(!f||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${g}`))return;const _=document.createElement("link");if(_.rel=f?"stylesheet":Af,f||(_.as="script"),_.crossOrigin="",_.href=u,l&&_.setAttribute("nonce",l),document.head.appendChild(_),f)return new Promise((w,S)=>{_.addEventListener("load",w),_.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};function $i(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let wt=$i();function Ea(e){wt=e}const Oa=/[&<>"']/,$f=new RegExp(Oa.source,"g"),$a=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Rf=new RegExp($a.source,"g"),If={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ro=e=>If[e];function we(e,t){if(t){if(Oa.test(e))return e.replace($f,ro)}else if($a.test(e))return e.replace(Rf,ro);return e}const Df=/(^|[^\[])\^/g;function G(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(i,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace(Df,"$1"),n=n.replace(i,o),r},getRegex:()=>new RegExp(n,t)};return r}function io(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const nn={exec:()=>null};function so(e,t){const n=e.replace(/\|/g,(s,o,a)=>{let l=!1,u=o;for(;--u>=0&&a[u]==="\\";)l=!l;return l?"|":" |"}),r=n.split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function Yt(e,t,n){const r=e.length;if(r===0)return"";let i=0;for(;i<r&&e.charAt(r-i-1)===t;)i++;return e.slice(0,r-i)}function Lf(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function oo(e,t,n,r){const i=t.href,s=t.title?we(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:n,href:i,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,a}return{type:"image",raw:n,href:i,title:s,text:we(o)}}function Pf(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(`
6
6
  `).map(i=>{const s=i.match(/^\s+/);if(s===null)return i;const[o]=s;return o.length>=r.length?i.slice(r.length):i}).join(`
7
7
  `)}class er{constructor(t){Z(this,"options");Z(this,"rules");Z(this,"lexer");this.options=t||wt}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Yt(r,`
8
8
  `)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],i=Pf(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const i=Yt(r,"#");(this.options.pedantic||!i||/ $/.test(i))&&(r=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:Yt(n[0],`
@@ -14,19 +14,19 @@ var el=Object.defineProperty;var tl=(e,t,n)=>t in e?el(e,t,{enumerable:!0,config
14
14
  ${f}`:f,s=s?`${s}
15
15
  ${g}`:g;const y=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(g,o,!0),this.lexer.state.top=y,r.length===0)break;const _=o[o.length-1];if((_==null?void 0:_.type)==="code")break;if((_==null?void 0:_.type)==="blockquote"){const w=_,S=w.raw+`
16
16
  `+r.join(`
17
- `),k=this.blockquote(S);o[o.length-1]=k,i=i.substring(0,i.length-w.raw.length)+k.raw,s=s.substring(0,s.length-w.text.length)+k.text;break}else if((_==null?void 0:_.type)==="list"){const w=_,S=w.raw+`
17
+ `),T=this.blockquote(S);o[o.length-1]=T,i=i.substring(0,i.length-w.raw.length)+T.raw,s=s.substring(0,s.length-w.text.length)+T.text;break}else if((_==null?void 0:_.type)==="list"){const w=_,S=w.raw+`
18
18
  `+r.join(`
19
- `),k=this.list(S);o[o.length-1]=k,i=i.substring(0,i.length-_.raw.length)+k.raw,s=s.substring(0,s.length-w.raw.length)+k.raw,r=S.substring(o[o.length-1].raw.length).split(`
19
+ `),T=this.list(S);o[o.length-1]=T,i=i.substring(0,i.length-_.raw.length)+T.raw,s=s.substring(0,s.length-w.raw.length)+T.raw,r=S.substring(o[o.length-1].raw.length).split(`
20
20
  `);continue}}return{type:"blockquote",raw:i,tokens:o,text:s}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r=n[1].trim();const i=r.length>1,s={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");const o=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`);let a=!1;for(;t;){let l=!1,u="",f="";if(!(n=o.exec(t))||this.rules.block.hr.test(t))break;u=n[0],t=t.substring(u.length);let g=n[2].split(`
21
- `,1)[0].replace(/^\t+/,F=>" ".repeat(3*F.length)),y=t.split(`
21
+ `,1)[0].replace(/^\t+/,B=>" ".repeat(3*B.length)),y=t.split(`
22
22
  `,1)[0],_=!g.trim(),w=0;if(this.options.pedantic?(w=2,f=g.trimStart()):_?w=n[1].length+1:(w=n[2].search(/[^ ]/),w=w>4?1:w,f=g.slice(w),w+=n[1].length),_&&/^[ \t]*$/.test(y)&&(u+=y+`
23
- `,t=t.substring(y.length+1),l=!0),!l){const F=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),$=new RegExp(`^ {0,${Math.min(3,w-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),L=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:\`\`\`|~~~)`),I=new RegExp(`^ {0,${Math.min(3,w-1)}}#`),K=new RegExp(`^ {0,${Math.min(3,w-1)}}<(?:[a-z].*>|!--)`,"i");for(;t;){const N=t.split(`
24
- `,1)[0];let q;if(y=N,this.options.pedantic?(y=y.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),q=y):q=y.replace(/\t/g," "),L.test(y)||I.test(y)||K.test(y)||F.test(y)||$.test(y))break;if(q.search(/[^ ]/)>=w||!y.trim())f+=`
25
- `+q.slice(w);else{if(_||g.replace(/\t/g," ").search(/[^ ]/)>=4||L.test(g)||I.test(g)||$.test(g))break;f+=`
26
- `+y}!_&&!y.trim()&&(_=!0),u+=N+`
27
- `,t=t.substring(N.length+1),g=q.slice(w)}}s.loose||(a?s.loose=!0:/\n[ \t]*\n[ \t]*$/.test(u)&&(a=!0));let S=null,k;this.options.gfm&&(S=/^\[[ xX]\] /.exec(f),S&&(k=S[0]!=="[ ] ",f=f.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:u,task:!!S,checked:k,loose:!1,text:f,tokens:[]}),s.raw+=u}s.items[s.items.length-1].raw=s.items[s.items.length-1].raw.trimEnd(),s.items[s.items.length-1].text=s.items[s.items.length-1].text.trimEnd(),s.raw=s.raw.trimEnd();for(let l=0;l<s.items.length;l++)if(this.lexer.state.top=!1,s.items[l].tokens=this.lexer.blockTokens(s.items[l].text,[]),!s.loose){const u=s.items[l].tokens.filter(g=>g.type==="space"),f=u.length>0&&u.some(g=>/\n.*\n/.test(g.raw));s.loose=f}if(s.loose)for(let l=0;l<s.items.length;l++)s.items[l].loose=!0;return s}}html(t){const n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),i=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:i,title:s}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=so(n[1]),i=n[2].replace(/^\||\| *$/g,"").split("|"),s=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
23
+ `,t=t.substring(y.length+1),l=!0),!l){const B=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),$=new RegExp(`^ {0,${Math.min(3,w-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),P=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:\`\`\`|~~~)`),I=new RegExp(`^ {0,${Math.min(3,w-1)}}#`),K=new RegExp(`^ {0,${Math.min(3,w-1)}}<(?:[a-z].*>|!--)`,"i");for(;t;){const D=t.split(`
24
+ `,1)[0];let q;if(y=D,this.options.pedantic?(y=y.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),q=y):q=y.replace(/\t/g," "),P.test(y)||I.test(y)||K.test(y)||B.test(y)||$.test(y))break;if(q.search(/[^ ]/)>=w||!y.trim())f+=`
25
+ `+q.slice(w);else{if(_||g.replace(/\t/g," ").search(/[^ ]/)>=4||P.test(g)||I.test(g)||$.test(g))break;f+=`
26
+ `+y}!_&&!y.trim()&&(_=!0),u+=D+`
27
+ `,t=t.substring(D.length+1),g=q.slice(w)}}s.loose||(a?s.loose=!0:/\n[ \t]*\n[ \t]*$/.test(u)&&(a=!0));let S=null,T;this.options.gfm&&(S=/^\[[ xX]\] /.exec(f),S&&(T=S[0]!=="[ ] ",f=f.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:u,task:!!S,checked:T,loose:!1,text:f,tokens:[]}),s.raw+=u}s.items[s.items.length-1].raw=s.items[s.items.length-1].raw.trimEnd(),s.items[s.items.length-1].text=s.items[s.items.length-1].text.trimEnd(),s.raw=s.raw.trimEnd();for(let l=0;l<s.items.length;l++)if(this.lexer.state.top=!1,s.items[l].tokens=this.lexer.blockTokens(s.items[l].text,[]),!s.loose){const u=s.items[l].tokens.filter(g=>g.type==="space"),f=u.length>0&&u.some(g=>/\n.*\n/.test(g.raw));s.loose=f}if(s.loose)for(let l=0;l<s.items.length;l++)s.items[l].loose=!0;return s}}html(t){const n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),i=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:i,title:s}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=so(n[1]),i=n[2].replace(/^\||\| *$/g,"").split("|"),s=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
28
28
  `):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===i.length){for(const a of i)/^ *-+: *$/.test(a)?o.align.push("right"):/^ *:-+: *$/.test(a)?o.align.push("center"):/^ *:-+ *$/.test(a)?o.align.push("left"):o.align.push(null);for(let a=0;a<r.length;a++)o.header.push({text:r[a],tokens:this.lexer.inline(r[a]),header:!0,align:o.align[a]});for(const a of s)o.rows.push(so(a,o.header.length).map((l,u)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:o.align[u]})));return o}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===`
29
- `?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:we(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const o=Yt(r.slice(0,-1),"\\");if((r.length-o.length)%2===0)return}else{const o=Lf(n[2],"()");if(o>-1){const l=(n[0].indexOf("!")===0?5:4)+n[1].length+o;n[2]=n[2].substring(0,o),n[0]=n[0].substring(0,l).trim(),n[3]=""}}let i=n[2],s="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);o&&(i=o[1],s=o[3])}else s=n[3]?n[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(this.options.pedantic&&!/>$/.test(r)?i=i.slice(1):i=i.slice(1,-1)),oo(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const i=(r[2]||r[1]).replace(/\s+/g," "),s=n[i.toLowerCase()];if(!s){const o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return oo(r,s,r[0],this.lexer)}}emStrong(t,n,r=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const o=[...i[0]].length-1;let a,l,u=o,f=0;const g=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(g.lastIndex=0,n=n.slice(-1*t.length+o);(i=g.exec(n))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(l=[...a].length,i[3]||i[4]){u+=l;continue}else if((i[5]||i[6])&&o%3&&!((o+l)%3)){f+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+f);const y=[...i[0]][0].length,_=t.slice(0,o+i.index+y+l);if(Math.min(o,l)%2){const S=_.slice(1,-1);return{type:"em",raw:_,text:S,tokens:this.lexer.inlineTokens(S)}}const w=_.slice(2,-2);return{type:"strong",raw:_,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const i=/[^ ]/.test(r),s=/^ /.test(r)&&/ $/.test(r);return i&&s&&(r=r.substring(1,r.length-1)),r=we(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,i;return n[2]==="@"?(r=we(n[1]),i="mailto:"+r):(r=we(n[1]),i=r),{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(t){var r,i;let n;if(n=this.rules.inline.url.exec(t)){let s,o;if(n[2]==="@")s=we(n[0]),o="mailto:"+s;else{let a;do a=n[0],n[0]=(i=(r=this.rules.inline._backpedal.exec(n[0]))==null?void 0:r[0])!=null?i:"";while(a!==n[0]);s=we(n[0]),n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:s,href:o,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=we(n[0]),{type:"text",raw:n[0],text:r}}}}const Nf=/^(?:[ \t]*(?:\n|$))+/,Mf=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,zf=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,gn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ff=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ra=/(?:[*+-]|\d{1,9}[.)])/,Ia=G(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Ra).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Ri=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Bf=/^[^\n]+/,Ii=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Hf=G(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ii).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Uf=G(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ra).getRegex(),lr="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Di=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,jf=G("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Di).replace("tag",lr).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Da=G(Ri).replace("hr",gn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lr).getRegex(),Wf=G(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Da).getRegex(),Li={blockquote:Wf,code:Mf,def:Hf,fences:zf,heading:Ff,hr:gn,html:jf,lheading:Ia,list:Uf,newline:Nf,paragraph:Da,table:nn,text:Bf},ao=G("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",gn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lr).getRegex(),Gf={...Li,table:ao,paragraph:G(Ri).replace("hr",gn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ao).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lr).getRegex()},qf={...Li,html:G(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Di).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:nn,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:G(Ri).replace("hr",gn).replace("heading",` *#{1,6} *[^
29
+ `?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:we(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const o=Yt(r.slice(0,-1),"\\");if((r.length-o.length)%2===0)return}else{const o=Lf(n[2],"()");if(o>-1){const l=(n[0].indexOf("!")===0?5:4)+n[1].length+o;n[2]=n[2].substring(0,o),n[0]=n[0].substring(0,l).trim(),n[3]=""}}let i=n[2],s="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);o&&(i=o[1],s=o[3])}else s=n[3]?n[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(this.options.pedantic&&!/>$/.test(r)?i=i.slice(1):i=i.slice(1,-1)),oo(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const i=(r[2]||r[1]).replace(/\s+/g," "),s=n[i.toLowerCase()];if(!s){const o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return oo(r,s,r[0],this.lexer)}}emStrong(t,n,r=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const o=[...i[0]].length-1;let a,l,u=o,f=0;const g=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(g.lastIndex=0,n=n.slice(-1*t.length+o);(i=g.exec(n))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(l=[...a].length,i[3]||i[4]){u+=l;continue}else if((i[5]||i[6])&&o%3&&!((o+l)%3)){f+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+f);const y=[...i[0]][0].length,_=t.slice(0,o+i.index+y+l);if(Math.min(o,l)%2){const S=_.slice(1,-1);return{type:"em",raw:_,text:S,tokens:this.lexer.inlineTokens(S)}}const w=_.slice(2,-2);return{type:"strong",raw:_,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const i=/[^ ]/.test(r),s=/^ /.test(r)&&/ $/.test(r);return i&&s&&(r=r.substring(1,r.length-1)),r=we(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,i;return n[2]==="@"?(r=we(n[1]),i="mailto:"+r):(r=we(n[1]),i=r),{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(t){var r,i;let n;if(n=this.rules.inline.url.exec(t)){let s,o;if(n[2]==="@")s=we(n[0]),o="mailto:"+s;else{let a;do a=n[0],n[0]=(i=(r=this.rules.inline._backpedal.exec(n[0]))==null?void 0:r[0])!=null?i:"";while(a!==n[0]);s=we(n[0]),n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:s,href:o,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=we(n[0]),{type:"text",raw:n[0],text:r}}}}const Nf=/^(?:[ \t]*(?:\n|$))+/,Mf=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,zf=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,gn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Bf=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ra=/(?:[*+-]|\d{1,9}[.)])/,Ia=G(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Ra).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Ri=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ff=/^[^\n]+/,Ii=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Hf=G(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ii).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Uf=G(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ra).getRegex(),lr="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Di=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,jf=G("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Di).replace("tag",lr).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Da=G(Ri).replace("hr",gn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lr).getRegex(),Wf=G(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Da).getRegex(),Li={blockquote:Wf,code:Mf,def:Hf,fences:zf,heading:Bf,hr:gn,html:jf,lheading:Ia,list:Uf,newline:Nf,paragraph:Da,table:nn,text:Ff},ao=G("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",gn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lr).getRegex(),Gf={...Li,table:ao,paragraph:G(Ri).replace("hr",gn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ao).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lr).getRegex()},qf={...Li,html:G(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Di).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:nn,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:G(Ri).replace("hr",gn).replace("heading",` *#{1,6} *[^
30
30
  ]`).replace("lheading",Ia).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},La=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Zf=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Pa=/^( {2,}|\\)\n(?!\s*$)/,Yf=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,vn="\\p{P}\\p{S}",Xf=G(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,vn).getRegex(),Kf=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Jf=G(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,vn).getRegex(),Qf=G("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,vn).getRegex(),Vf=G("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,vn).getRegex(),ep=G(/\\([punct])/,"gu").replace(/punct/g,vn).getRegex(),tp=G(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),np=G(Di).replace("(?:-->|$)","-->").getRegex(),rp=G("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",np).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),tr=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ip=G(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",tr).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Na=G(/^!?\[(label)\]\[(ref)\]/).replace("label",tr).replace("ref",Ii).getRegex(),Ma=G(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ii).getRegex(),sp=G("reflink|nolink(?!\\()","g").replace("reflink",Na).replace("nolink",Ma).getRegex(),Pi={_backpedal:nn,anyPunctuation:ep,autolink:tp,blockSkip:Kf,br:Pa,code:Zf,del:nn,emStrongLDelim:Jf,emStrongRDelimAst:Qf,emStrongRDelimUnd:Vf,escape:La,link:ip,nolink:Ma,punctuation:Xf,reflink:Na,reflinkSearch:sp,tag:rp,text:Yf,url:nn},op={...Pi,link:G(/^!?\[(label)\]\((.*?)\)/).replace("label",tr).getRegex(),reflink:G(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",tr).getRegex()},oi={...Pi,escape:G(La).replace("])","~|])").getRegex(),url:G(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},ap={...oi,br:G(Pa).replace("{2,}","*").getRegex(),text:G(oi.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Dn={normal:Li,gfm:Gf,pedantic:qf},Xt={normal:Pi,gfm:oi,breaks:ap,pedantic:op};class Ee{constructor(t){Z(this,"tokens");Z(this,"options");Z(this,"state");Z(this,"tokenizer");Z(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||wt,this.options.tokenizer=this.options.tokenizer||new er,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:Dn.normal,inline:Xt.normal};this.options.pedantic?(n.block=Dn.pedantic,n.inline=Xt.pedantic):this.options.gfm&&(n.block=Dn.gfm,this.options.breaks?n.inline=Xt.breaks:n.inline=Xt.gfm),this.tokenizer.rules=n}static get rules(){return{block:Dn,inline:Xt}}static lex(t,n){return new Ee(n).lex(t)}static lexInline(t,n){return new Ee(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
31
31
  `),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){const r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],r=!1){this.options.pedantic&&(t=t.replace(/\t/g," ").replace(/^ +$/gm,""));let i,s,o;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(i=a.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),i.raw.length===1&&n.length>0?n[n.length-1].raw+=`
32
32
  `:n.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),s=n[n.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
@@ -58,9 +58,9 @@ ${t}</tr>
58
58
  `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${t}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:n,tokens:r}){const i=this.parser.parseInline(r),s=io(t);if(s===null)return i;t=s;let o='<a href="'+t+'"';return n&&(o+=' title="'+n+'"'),o+=">"+i+"</a>",o}image({href:t,title:n,text:r}){const i=io(t);if(i===null)return r;t=i;let s=`<img src="${t}" alt="${r}"`;return n&&(s+=` title="${n}"`),s+=">",s}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):t.text}}class Ni{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class Oe{constructor(t){Z(this,"options");Z(this,"renderer");Z(this,"textRenderer");this.options=t||wt,this.options.renderer=this.options.renderer||new nr,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Ni}static parse(t,n){return new Oe(n).parse(t)}static parseInline(t,n){return new Oe(n).parseInline(t)}parse(t,n=!0){let r="";for(let i=0;i<t.length;i++){const s=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const a=s,l=this.options.extensions.renderers[a.type].call({parser:this},a);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){r+=l||"";continue}}const o=s;switch(o.type){case"space":{r+=this.renderer.space(o);continue}case"hr":{r+=this.renderer.hr(o);continue}case"heading":{r+=this.renderer.heading(o);continue}case"code":{r+=this.renderer.code(o);continue}case"table":{r+=this.renderer.table(o);continue}case"blockquote":{r+=this.renderer.blockquote(o);continue}case"list":{r+=this.renderer.list(o);continue}case"html":{r+=this.renderer.html(o);continue}case"paragraph":{r+=this.renderer.paragraph(o);continue}case"text":{let a=o,l=this.renderer.text(a);for(;i+1<t.length&&t[i+1].type==="text";)a=t[++i],l+=`
59
59
  `+this.renderer.text(a);n?r+=this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l}]}):r+=l;continue}default:{const a='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}parseInline(t,n){n=n||this.renderer;let r="";for(let i=0;i<t.length;i++){const s=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const a=this.options.extensions.renderers[s.type].call({parser:this},s);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=a||"";continue}}const o=s;switch(o.type){case"escape":{r+=n.text(o);break}case"html":{r+=n.html(o);break}case"link":{r+=n.link(o);break}case"image":{r+=n.image(o);break}case"strong":{r+=n.strong(o);break}case"em":{r+=n.em(o);break}case"codespan":{r+=n.codespan(o);break}case"br":{r+=n.br(o);break}case"del":{r+=n.del(o);break}case"text":{r+=n.text(o);break}default:{const a='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}}class rn{constructor(t){Z(this,"options");Z(this,"block");this.options=t||wt}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Ee.lex:Ee.lexInline}provideParser(){return this.block?Oe.parse:Oe.parseInline}}Z(rn,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class lp{constructor(...t){Z(this,"defaults",$i());Z(this,"options",this.setOptions);Z(this,"parse",this.parseMarkdown(!0));Z(this,"parseInline",this.parseMarkdown(!1));Z(this,"Parser",Oe);Z(this,"Renderer",nr);Z(this,"TextRenderer",Ni);Z(this,"Lexer",Ee);Z(this,"Tokenizer",er);Z(this,"Hooks",rn);this.use(...t)}walkTokens(t,n){var i,s;let r=[];for(const o of t)switch(r=r.concat(n.call(this,o)),o.type){case"table":{const a=o;for(const l of a.header)r=r.concat(this.walkTokens(l.tokens,n));for(const l of a.rows)for(const u of l)r=r.concat(this.walkTokens(u.tokens,n));break}case"list":{const a=o;r=r.concat(this.walkTokens(a.items,n));break}default:{const a=o;(s=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&s[a.type]?this.defaults.extensions.childTokens[a.type].forEach(l=>{const u=a[l].flat(1/0);r=r.concat(this.walkTokens(u,n))}):a.tokens&&(r=r.concat(this.walkTokens(a.tokens,n)))}}return r}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const i={...r};if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const o=n.renderers[s.name];o?n.renderers[s.name]=function(...a){let l=s.renderer.apply(this,a);return l===!1&&(l=o.apply(this,a)),l}:n.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=n[s.level];o?o.unshift(s.tokenizer):n[s.level]=[s.tokenizer],s.start&&(s.level==="block"?n.startBlock?n.startBlock.push(s.start):n.startBlock=[s.start]:s.level==="inline"&&(n.startInline?n.startInline.push(s.start):n.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(n.childTokens[s.name]=s.childTokens)}),i.extensions=n),r.renderer){const s=this.defaults.renderer||new nr(this.defaults);for(const o in r.renderer){if(!(o in s))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const a=o,l=r.renderer[a],u=s[a];s[a]=(...f)=>{let g=l.apply(s,f);return g===!1&&(g=u.apply(s,f)),g||""}}i.renderer=s}if(r.tokenizer){const s=this.defaults.tokenizer||new er(this.defaults);for(const o in r.tokenizer){if(!(o in s))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const a=o,l=r.tokenizer[a],u=s[a];s[a]=(...f)=>{let g=l.apply(s,f);return g===!1&&(g=u.apply(s,f)),g}}i.tokenizer=s}if(r.hooks){const s=this.defaults.hooks||new rn;for(const o in r.hooks){if(!(o in s))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const a=o,l=r.hooks[a],u=s[a];rn.passThroughHooks.has(o)?s[a]=f=>{if(this.defaults.async)return Promise.resolve(l.call(s,f)).then(y=>u.call(s,y));const g=l.call(s,f);return u.call(s,g)}:s[a]=(...f)=>{let g=l.apply(s,f);return g===!1&&(g=u.apply(s,f)),g}}i.hooks=s}if(r.walkTokens){const s=this.defaults.walkTokens,o=r.walkTokens;i.walkTokens=function(a){let l=[];return l.push(o.call(this,a)),s&&(l=l.concat(s.call(this,a))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Ee.lex(t,n!=null?n:this.defaults)}parser(t,n){return Oe.parse(t,n!=null?n:this.defaults)}parseMarkdown(t){return(r,i)=>{const s={...i},o={...this.defaults,...s},a=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&s.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof r=="undefined"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=t);const l=o.hooks?o.hooks.provideLexer():t?Ee.lex:Ee.lexInline,u=o.hooks?o.hooks.provideParser():t?Oe.parse:Oe.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(r):r).then(f=>l(f,o)).then(f=>o.hooks?o.hooks.processAllTokens(f):f).then(f=>o.walkTokens?Promise.all(this.walkTokens(f,o.walkTokens)).then(()=>f):f).then(f=>u(f,o)).then(f=>o.hooks?o.hooks.postprocess(f):f).catch(a);try{o.hooks&&(r=o.hooks.preprocess(r));let f=l(r,o);o.hooks&&(f=o.hooks.processAllTokens(f)),o.walkTokens&&this.walkTokens(f,o.walkTokens);let g=u(f,o);return o.hooks&&(g=o.hooks.postprocess(g)),g}catch(f){return a(f)}}}onError(t,n){return r=>{if(r.message+=`
60
60
  Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+we(r.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(r);throw r}}}const yt=new lp;function j(e,t){return yt.parse(e,t)}j.options=j.setOptions=function(e){return yt.setOptions(e),j.defaults=yt.defaults,Ea(j.defaults),j};j.getDefaults=$i;j.defaults=wt;j.use=function(...e){return yt.use(...e),j.defaults=yt.defaults,Ea(j.defaults),j};j.walkTokens=function(e,t){return yt.walkTokens(e,t)};j.parseInline=yt.parseInline;j.Parser=Oe;j.parser=Oe.parse;j.Renderer=nr;j.TextRenderer=Ni;j.Lexer=Ee;j.lexer=Ee.lex;j.Tokenizer=er;j.Hooks=rn;j.parse=j;j.options;j.setOptions;j.use;j.walkTokens;j.parseInline;Oe.parse;Ee.lex;/*! @license DOMPurify 3.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.5/LICENSE */function lo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function cp(e){if(Array.isArray(e))return e}function up(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,o,a=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}function fp(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
61
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pp(e,t){return cp(e)||up(e,t)||hp(e,t)||fp()}function hp(e,t){if(e){if(typeof e=="string")return lo(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lo(e,t):void 0}}const za=Object.entries,co=Object.setPrototypeOf,dp=Object.isFrozen,mp=Object.getPrototypeOf,gp=Object.getOwnPropertyDescriptor;let he=Object.freeze,Ie=Object.seal,Rt=Object.create,Fa=typeof Reflect!="undefined"&&Reflect,ai=Fa.apply,li=Fa.construct;he||(he=function(t){return t});Ie||(Ie=function(t){return t});ai||(ai=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),s=2;s<r;s++)i[s-2]=arguments[s];return t.apply(n,i)});li||(li=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return new t(...r)});const St=se(Array.prototype.forEach),vp=se(Array.prototype.lastIndexOf),uo=se(Array.prototype.pop),At=se(Array.prototype.push),_p=se(Array.prototype.splice),fe=Array.isArray,en=se(String.prototype.toLowerCase),Rr=se(String.prototype.toString),fo=se(String.prototype.match),Et=se(String.prototype.replace),po=se(String.prototype.indexOf),yp=se(String.prototype.trim),bp=se(Number.prototype.toString),wp=se(Boolean.prototype.toString),ho=typeof BigInt=="undefined"?null:se(BigInt.prototype.toString),mo=typeof Symbol=="undefined"?null:se(Symbol.prototype.toString),te=se(Object.prototype.hasOwnProperty),Kt=se(Object.prototype.toString),ce=se(RegExp.prototype.test),Ln=xp(TypeError);function se(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return ai(e,t,r)}}function xp(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return li(e,n)}}function D(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:en;if(co&&co(e,null),!fe(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const s=n(i);s!==i&&(dp(t)||(t[r]=s),i=s)}e[i]=!0}return e}function kp(e){for(let t=0;t<e.length;t++)te(e,t)||(e[t]=null);return e}function me(e){const t=Rt(null);for(const r of za(e)){var n=pp(r,2);const i=n[0],s=n[1];te(e,i)&&(fe(s)?t[i]=kp(s):s&&typeof s=="object"&&s.constructor===Object?t[i]=me(s):t[i]=s)}return t}function Tp(e){switch(typeof e){case"string":return e;case"number":return bp(e);case"boolean":return wp(e);case"bigint":return ho?ho(e):"0";case"symbol":return mo?mo(e):"Symbol()";case"undefined":return Kt(e);case"function":case"object":{if(e===null)return Kt(e);const t=e,n=ft(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:Kt(r)}return Kt(e)}default:return Kt(e)}}function ft(e,t){for(;e!==null;){const r=gp(e,t);if(r){if(r.get)return se(r.get);if(typeof r.value=="function")return se(r.value)}e=mp(e)}function n(){return null}return n}function Cp(e){try{return ce(e,""),!0}catch{return!1}}const go=he(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ir=he(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Dr=he(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Sp=he(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Lr=he(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ap=he(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),vo=he(["#text"]),_o=he(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Pr=he(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),yo=he(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Pn=he(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ep=Ie(/{{[\w\W]*|^[\w\W]*}}/g),Op=Ie(/<%[\w\W]*|^[\w\W]*%>/g),$p=Ie(/\${[\w\W]*/g),Rp=Ie(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ip=Ie(/^aria-[\-\w]+$/),bo=Ie(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Dp=Ie(/^(?:\w+script|data):/i),Lp=Ie(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Pp=Ie(/^html$/i),Np=Ie(/^[a-z][.\w]*(-[.\w]+)+$/i),Ot={element:1,text:3,progressingInstruction:7,comment:8,document:9},Mp=function(){return typeof window=="undefined"?null:window},zp=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const s="dompurify"+(r?"#"+r:"");try{return t.createPolicy(s,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},wo=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ba(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mp();const t=C=>Ba(C);if(t.version="3.4.5",t.removed=[],!e||!e.document||e.document.nodeType!==Ot.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,i=r.currentScript,s=e.DocumentFragment,o=e.HTMLTemplateElement,a=e.Node,l=e.Element,u=e.NodeFilter,f=e.NamedNodeMap,g=f===void 0?e.NamedNodeMap||e.MozNamedAttrMap:f,y=e.HTMLFormElement,_=e.DOMParser,w=e.trustedTypes,S=l.prototype,k=ft(S,"cloneNode"),F=ft(S,"remove"),$=ft(S,"nextSibling"),L=ft(S,"childNodes"),I=ft(S,"parentNode"),K=a&&a.prototype?ft(a.prototype,"nodeType"):null;if(typeof o=="function"){const C=n.createElement("template");C.content&&C.content.ownerDocument&&(n=C.content.ownerDocument)}let N,q="";const oe=n,_e=oe.implementation,Me=oe.createNodeIterator,ye=oe.createDocumentFragment,h=oe.getElementsByTagName,p=r.importNode;let d=wo();t.isSupported=typeof za=="function"&&typeof I=="function"&&_e&&_e.createHTMLDocument!==void 0;const b=Ep,T=Op,O=$p,A=Rp,R=Ip,z=Dp,B=Lp,H=Np;let ee=bo,U=null;const ze=D({},[...go,...Ir,...Dr,...Lr,...vo]);let J=null;const Fe=D({},[..._o,...Pr,...yo,...Pn]);let W=Object.seal(Rt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),je=null,_n=null;const Je=Object.seal(Rt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let zi=!0,cr=!0,Fi=!1,Bi=!0,Qe=!1,Ut=!0,lt=!1,ur=!1,fr=!1,xt=!1,yn=!1,bn=!1,Hi=!0,Ui=!1;const ji="user-content-";let pr=!0,jt=!1,kt={},Be=null;const hr=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Wi=null;const Gi=D({},["audio","video","img","source","image","track"]);let dr=null;const qi=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),wn="http://www.w3.org/1998/Math/MathML",xn="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let Tt=He,mr=!1,gr=null;const Za=D({},[wn,xn,He],Rr);let vr=D({},["mi","mo","mn","ms","mtext"]),_r=D({},["annotation-xml"]);const Ya=D({},["title","style","font","a","script"]);let Wt=null;const Xa=["application/xhtml+xml","text/html"],Ka="text/html";let ae=null,Ct=null;const Ja=n.createElement("form"),Zi=function(c){return c instanceof RegExp||c instanceof Function},yr=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ct&&Ct===c)return;(!c||typeof c!="object")&&(c={}),c=me(c),Wt=Xa.indexOf(c.PARSER_MEDIA_TYPE)===-1?Ka:c.PARSER_MEDIA_TYPE,ae=Wt==="application/xhtml+xml"?Rr:en,U=te(c,"ALLOWED_TAGS")&&fe(c.ALLOWED_TAGS)?D({},c.ALLOWED_TAGS,ae):ze,J=te(c,"ALLOWED_ATTR")&&fe(c.ALLOWED_ATTR)?D({},c.ALLOWED_ATTR,ae):Fe,gr=te(c,"ALLOWED_NAMESPACES")&&fe(c.ALLOWED_NAMESPACES)?D({},c.ALLOWED_NAMESPACES,Rr):Za,dr=te(c,"ADD_URI_SAFE_ATTR")&&fe(c.ADD_URI_SAFE_ATTR)?D(me(qi),c.ADD_URI_SAFE_ATTR,ae):qi,Wi=te(c,"ADD_DATA_URI_TAGS")&&fe(c.ADD_DATA_URI_TAGS)?D(me(Gi),c.ADD_DATA_URI_TAGS,ae):Gi,Be=te(c,"FORBID_CONTENTS")&&fe(c.FORBID_CONTENTS)?D({},c.FORBID_CONTENTS,ae):hr,je=te(c,"FORBID_TAGS")&&fe(c.FORBID_TAGS)?D({},c.FORBID_TAGS,ae):me({}),_n=te(c,"FORBID_ATTR")&&fe(c.FORBID_ATTR)?D({},c.FORBID_ATTR,ae):me({}),kt=te(c,"USE_PROFILES")?c.USE_PROFILES&&typeof c.USE_PROFILES=="object"?me(c.USE_PROFILES):c.USE_PROFILES:!1,zi=c.ALLOW_ARIA_ATTR!==!1,cr=c.ALLOW_DATA_ATTR!==!1,Fi=c.ALLOW_UNKNOWN_PROTOCOLS||!1,Bi=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Qe=c.SAFE_FOR_TEMPLATES||!1,Ut=c.SAFE_FOR_XML!==!1,lt=c.WHOLE_DOCUMENT||!1,xt=c.RETURN_DOM||!1,yn=c.RETURN_DOM_FRAGMENT||!1,bn=c.RETURN_TRUSTED_TYPE||!1,fr=c.FORCE_BODY||!1,Hi=c.SANITIZE_DOM!==!1,Ui=c.SANITIZE_NAMED_PROPS||!1,pr=c.KEEP_CONTENT!==!1,jt=c.IN_PLACE||!1,ee=Cp(c.ALLOWED_URI_REGEXP)?c.ALLOWED_URI_REGEXP:bo,Tt=typeof c.NAMESPACE=="string"?c.NAMESPACE:He,vr=te(c,"MATHML_TEXT_INTEGRATION_POINTS")&&c.MATHML_TEXT_INTEGRATION_POINTS&&typeof c.MATHML_TEXT_INTEGRATION_POINTS=="object"?me(c.MATHML_TEXT_INTEGRATION_POINTS):D({},["mi","mo","mn","ms","mtext"]),_r=te(c,"HTML_INTEGRATION_POINTS")&&c.HTML_INTEGRATION_POINTS&&typeof c.HTML_INTEGRATION_POINTS=="object"?me(c.HTML_INTEGRATION_POINTS):D({},["annotation-xml"]);const v=te(c,"CUSTOM_ELEMENT_HANDLING")&&c.CUSTOM_ELEMENT_HANDLING&&typeof c.CUSTOM_ELEMENT_HANDLING=="object"?me(c.CUSTOM_ELEMENT_HANDLING):Rt(null);if(W=Rt(null),te(v,"tagNameCheck")&&Zi(v.tagNameCheck)&&(W.tagNameCheck=v.tagNameCheck),te(v,"attributeNameCheck")&&Zi(v.attributeNameCheck)&&(W.attributeNameCheck=v.attributeNameCheck),te(v,"allowCustomizedBuiltInElements")&&typeof v.allowCustomizedBuiltInElements=="boolean"&&(W.allowCustomizedBuiltInElements=v.allowCustomizedBuiltInElements),Qe&&(cr=!1),yn&&(xt=!0),kt&&(U=D({},vo),J=Rt(null),kt.html===!0&&(D(U,go),D(J,_o)),kt.svg===!0&&(D(U,Ir),D(J,Pr),D(J,Pn)),kt.svgFilters===!0&&(D(U,Dr),D(J,Pr),D(J,Pn)),kt.mathMl===!0&&(D(U,Lr),D(J,yo),D(J,Pn))),Je.tagCheck=null,Je.attributeCheck=null,te(c,"ADD_TAGS")&&(typeof c.ADD_TAGS=="function"?Je.tagCheck=c.ADD_TAGS:fe(c.ADD_TAGS)&&(U===ze&&(U=me(U)),D(U,c.ADD_TAGS,ae))),te(c,"ADD_ATTR")&&(typeof c.ADD_ATTR=="function"?Je.attributeCheck=c.ADD_ATTR:fe(c.ADD_ATTR)&&(J===Fe&&(J=me(J)),D(J,c.ADD_ATTR,ae))),te(c,"ADD_URI_SAFE_ATTR")&&fe(c.ADD_URI_SAFE_ATTR)&&D(dr,c.ADD_URI_SAFE_ATTR,ae),te(c,"FORBID_CONTENTS")&&fe(c.FORBID_CONTENTS)&&(Be===hr&&(Be=me(Be)),D(Be,c.FORBID_CONTENTS,ae)),te(c,"ADD_FORBID_CONTENTS")&&fe(c.ADD_FORBID_CONTENTS)&&(Be===hr&&(Be=me(Be)),D(Be,c.ADD_FORBID_CONTENTS,ae)),pr&&(U["#text"]=!0),lt&&D(U,["html","head","body"]),U.table&&(D(U,["tbody"]),delete je.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ln('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ln('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');N=c.TRUSTED_TYPES_POLICY,q=N.createHTML("")}else N===void 0&&(N=zp(w,i)),N!==null&&typeof q=="string"&&(q=N.createHTML(""));he&&he(c),Ct=c},Yi=D({},[...Ir,...Dr,...Sp]),Xi=D({},[...Lr,...Ap]),Qa=function(c){let v=I(c);(!v||!v.tagName)&&(v={namespaceURI:Tt,tagName:"template"});const x=en(c.tagName),M=en(v.tagName);return gr[c.namespaceURI]?c.namespaceURI===xn?v.namespaceURI===He?x==="svg":v.namespaceURI===wn?x==="svg"&&(M==="annotation-xml"||vr[M]):!!Yi[x]:c.namespaceURI===wn?v.namespaceURI===He?x==="math":v.namespaceURI===xn?x==="math"&&_r[M]:!!Xi[x]:c.namespaceURI===He?v.namespaceURI===xn&&!_r[M]||v.namespaceURI===wn&&!vr[M]?!1:!Xi[x]&&(Ya[x]||!Yi[x]):!!(Wt==="application/xhtml+xml"&&gr[c.namespaceURI]):!1},De=function(c){At(t.removed,{element:c});try{I(c).removeChild(c)}catch{F(c)}},ct=function(c,v){try{At(t.removed,{attribute:v.getAttributeNode(c),from:v})}catch{At(t.removed,{attribute:null,from:v})}if(v.removeAttribute(c),c==="is")if(xt||yn)try{De(v)}catch{}else try{v.setAttribute(c,"")}catch{}},Ki=function(c){let v=null,x=null;if(fr)c="<remove></remove>"+c;else{const ie=fo(c,/^[\r\n\t ]+/);x=ie&&ie[0]}Wt==="application/xhtml+xml"&&Tt===He&&(c='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+c+"</body></html>");const M=N?N.createHTML(c):c;if(Tt===He)try{v=new _().parseFromString(M,Wt)}catch{}if(!v||!v.documentElement){v=_e.createDocument(Tt,"template",null);try{v.documentElement.innerHTML=mr?q:M}catch{}}const re=v.body||v.documentElement;return c&&x&&re.insertBefore(n.createTextNode(x),re.childNodes[0]||null),Tt===He?h.call(v,lt?"html":"body")[0]:lt?v.documentElement:re},Ji=function(c){return Me.call(c.ownerDocument||c,c,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Qi=function(c){c.normalize();const v=Me.call(c.ownerDocument||c,c,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let x=v.nextNode();for(;x;){let M=x.data;St([b,T,O],re=>{M=Et(M,re," ")}),x.data=M,x=v.nextNode()}},br=function(c){return c instanceof y&&(typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||!(c.attributes instanceof g)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function")},kn=function(c){if(!K||typeof c!="object"||c===null)return!1;try{return typeof K(c)=="number"}catch{return!1}};function We(C,c,v){St(C,x=>{x.call(t,c,v,Ct)})}const Vi=function(c){let v=null;if(We(d.beforeSanitizeElements,c,null),br(c))return De(c),!0;const x=ae(c.nodeName);if(We(d.uponSanitizeElement,c,{tagName:x,allowedTags:U}),Ut&&c.hasChildNodes()&&!kn(c.firstElementChild)&&ce(/<[/\w!]/g,c.innerHTML)&&ce(/<[/\w!]/g,c.textContent)||Ut&&c.namespaceURI===He&&x==="style"&&kn(c.firstElementChild)||c.nodeType===Ot.progressingInstruction||Ut&&c.nodeType===Ot.comment&&ce(/<[/\w]/g,c.data))return De(c),!0;if(je[x]||!(Je.tagCheck instanceof Function&&Je.tagCheck(x))&&!U[x]){if(!je[x]&&ts(x)&&(W.tagNameCheck instanceof RegExp&&ce(W.tagNameCheck,x)||W.tagNameCheck instanceof Function&&W.tagNameCheck(x)))return!1;if(pr&&!Be[x]){const M=I(c)||c.parentNode,re=L(c)||c.childNodes;if(re&&M){const ie=re.length;for(let de=ie-1;de>=0;--de){const Ve=k(re[de],!0);M.insertBefore(Ve,$(c))}}}return De(c),!0}return c instanceof l&&!Qa(c)||(x==="noscript"||x==="noembed"||x==="noframes")&&ce(/<\/no(script|embed|frames)/i,c.innerHTML)?(De(c),!0):(Qe&&c.nodeType===Ot.text&&(v=c.textContent,St([b,T,O],M=>{v=Et(v,M," ")}),c.textContent!==v&&(At(t.removed,{element:c.cloneNode()}),c.textContent=v)),We(d.afterSanitizeElements,c,null),!1)},es=function(c,v,x){if(_n[v]||Hi&&(v==="id"||v==="name")&&(x in n||x in Ja))return!1;const M=J[v]||Je.attributeCheck instanceof Function&&Je.attributeCheck(v,c);if(!(cr&&!_n[v]&&ce(A,v))){if(!(zi&&ce(R,v))){if(!M||_n[v]){if(!(ts(c)&&(W.tagNameCheck instanceof RegExp&&ce(W.tagNameCheck,c)||W.tagNameCheck instanceof Function&&W.tagNameCheck(c))&&(W.attributeNameCheck instanceof RegExp&&ce(W.attributeNameCheck,v)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(v,c))||v==="is"&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&ce(W.tagNameCheck,x)||W.tagNameCheck instanceof Function&&W.tagNameCheck(x))))return!1}else if(!dr[v]){if(!ce(ee,Et(x,B,""))){if(!((v==="src"||v==="xlink:href"||v==="href")&&c!=="script"&&po(x,"data:")===0&&Wi[c])){if(!(Fi&&!ce(z,Et(x,B,"")))){if(x)return!1}}}}}}return!0},Va=D({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ts=function(c){return!Va[en(c)]&&ce(H,c)},ns=function(c){We(d.beforeSanitizeAttributes,c,null);const v=c.attributes;if(!v||br(c))return;const x={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:J,forceKeepAttr:void 0};let M=v.length;for(;M--;){const re=v[M],ie=re.name,de=re.namespaceURI,Ve=re.value,Ge=ae(ie),xr=Ve;let le=ie==="value"?xr:yp(xr);if(x.attrName=Ge,x.attrValue=le,x.keepAttr=!0,x.forceKeepAttr=void 0,We(d.uponSanitizeAttribute,c,x),le=x.attrValue,Ui&&(Ge==="id"||Ge==="name")&&po(le,ji)!==0&&(ct(ie,c),le=ji+le),Ut&&ce(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,le)){ct(ie,c);continue}if(Ge==="attributename"&&fo(le,"href")){ct(ie,c);continue}if(x.forceKeepAttr)continue;if(!x.keepAttr){ct(ie,c);continue}if(!Bi&&ce(/\/>/i,le)){ct(ie,c);continue}Qe&&St([b,T,O],is=>{le=Et(le,is," ")});const rs=ae(c.nodeName);if(!es(rs,Ge,le)){ct(ie,c);continue}if(N&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!de)switch(w.getAttributeType(rs,Ge)){case"TrustedHTML":{le=N.createHTML(le);break}case"TrustedScriptURL":{le=N.createScriptURL(le);break}}if(le!==xr)try{de?c.setAttributeNS(de,ie,le):c.setAttribute(ie,le),br(c)?De(c):uo(t.removed)}catch{ct(ie,c)}}We(d.afterSanitizeAttributes,c,null)},wr=function(c){let v=null;const x=Ji(c);for(We(d.beforeSanitizeShadowDOM,c,null);v=x.nextNode();)We(d.uponSanitizeShadowNode,v,null),Vi(v),ns(v),v.content instanceof s&&wr(v.content);We(d.afterSanitizeShadowDOM,c,null)},Tn=function(c){if(c.nodeType===Ot.element&&c.shadowRoot instanceof s){const M=c.shadowRoot;Tn(M),wr(M)}const v=c.childNodes;if(!v)return;const x=[];St(v,M=>{At(x,M)});for(const M of x)Tn(M)};return t.sanitize=function(C){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=null,x=null,M=null,re=null;if(mr=!C,mr&&(C="<!-->"),typeof C!="string"&&!kn(C)&&(C=Tp(C),typeof C!="string"))throw Ln("dirty is not a string, aborting");if(!t.isSupported)return C;if(ur||yr(c),t.removed=[],typeof C=="string"&&(jt=!1),jt){const Ve=C.nodeName;if(typeof Ve=="string"){const Ge=ae(Ve);if(!U[Ge]||je[Ge])throw Ln("root node is forbidden and cannot be sanitized in-place")}Tn(C)}else if(kn(C))v=Ki("<!---->"),x=v.ownerDocument.importNode(C,!0),x.nodeType===Ot.element&&x.nodeName==="BODY"||x.nodeName==="HTML"?v=x:v.appendChild(x),Tn(x);else{if(!xt&&!Qe&&!lt&&C.indexOf("<")===-1)return N&&bn?N.createHTML(C):C;if(v=Ki(C),!v)return xt?null:bn?q:""}v&&fr&&De(v.firstChild);const ie=Ji(jt?C:v);for(;M=ie.nextNode();)Vi(M),ns(M),M.content instanceof s&&wr(M.content);if(jt)return Qe&&Qi(C),C;if(xt){if(Qe&&Qi(v),yn)for(re=ye.call(v.ownerDocument);v.firstChild;)re.appendChild(v.firstChild);else re=v;return(J.shadowroot||J.shadowrootmode)&&(re=p.call(r,re,!0)),re}let de=lt?v.outerHTML:v.innerHTML;return lt&&U["!doctype"]&&v.ownerDocument&&v.ownerDocument.doctype&&v.ownerDocument.doctype.name&&ce(Pp,v.ownerDocument.doctype.name)&&(de="<!DOCTYPE "+v.ownerDocument.doctype.name+`>
62
- `+de),Qe&&St([b,T,O],Ve=>{de=Et(de,Ve," ")}),N&&bn?N.createHTML(de):de},t.setConfig=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};yr(C),ur=!0},t.clearConfig=function(){Ct=null,ur=!1},t.isValidAttribute=function(C,c,v){Ct||yr({});const x=ae(C),M=ae(c);return es(x,M,v)},t.addHook=function(C,c){typeof c=="function"&&At(d[C],c)},t.removeHook=function(C,c){if(c!==void 0){const v=vp(d[C],c);return v===-1?void 0:_p(d[C],v,1)[0]}return uo(d[C])},t.removeHooks=function(C){d[C]=[]},t.removeAllHooks=function(){d=wo()},t}var Fp=Ba();function Bp(e){return btoa(unescape(encodeURIComponent(e)))}function Nn(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}j.use({gfm:!0,breaks:!0,renderer:{code(e){var o,a;const t=(o=e.text)!=null?o:"",r=((a=e.lang)!=null?a:"").trim()||"text";if(r==="mermaid")return`<div class="mermaid">${Nn(t)}</div>`;const i=Nn(t),s=Bp(t);return`<div class="code-card"><div class="code-head"><span class="code-lang">${Nn(r)}</span><button type="button" class="code-copy" data-code="${s}" aria-label="코드 복사"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg><span class="code-copy-label">복사</span></button></div><pre class="code-body"><code class="language-${Nn(r)}">${i}</code></pre></div>`}}});function Hp(e){const t=(e.match(/```/g)||[]).length,n=e.replace(/```[\s\S]*?```/g,""),r=n.replace(/`[^`\n]*`/g,"");return{hasUnclosedCodeBlock:t%2===1,hasUnclosedInlineCode:(n.match(/`/g)||[]).length%2===1,hasUnclosedBoldStar:(r.match(/\*\*/g)||[]).length%2===1,hasUnclosedBoldUnderscore:(r.match(/__/g)||[]).length%2===1}}function Up(e,t=!1){let n=e;if(t){const i=Hp(e);i.hasUnclosedCodeBlock&&(n+="\n```"),i.hasUnclosedInlineCode&&(n+="`"),i.hasUnclosedBoldStar&&(n+="**"),i.hasUnclosedBoldUnderscore&&(n+="__")}const r=j.parse(n);return Fp.sanitize(r,{ADD_ATTR:["target","rel","data-code"],ADD_TAGS:["svg","path","g","foreignObject","marker","defs","pattern"]})}async function jp(e){const t=e.closest(".code-copy");if(!t)return!1;const n=t.getAttribute("data-code")||"";if(!n)return!1;let r="";try{r=decodeURIComponent(escape(atob(n)))}catch{r=atob(n)}try{return await navigator.clipboard.writeText(r),xo(t),!0}catch{const i=document.createElement("textarea");i.value=r,document.body.appendChild(i),i.select();try{document.execCommand("copy")}catch{}return i.remove(),xo(t),!0}}function xo(e){const t=e.querySelector(".code-copy-label"),n=t==null?void 0:t.textContent;t&&(t.textContent="복사됨"),e.classList.add("is-copied"),setTimeout(()=>{t&&n&&(t.textContent=n),e.classList.remove("is-copied")},1400)}function ko(e){return e.replace(/"/g,"&quot;").replace(/\[/g,"(").replace(/\]/g,")")}function Wp(e){const t=[];let n=0;for(;n<e.length;)if(e[n]==="["&&n>0&&/\w/.test(e[n-1])){if(e[n+1]==="["){t.push(e[n],e[n+1]),n+=2;let i=1;for(;n<e.length&&i>0;){if(e[n]==="["&&e[n+1]==="["){i++,t.push(e[n],e[n+1]),n+=2;continue}if(e[n]==="]"&&e[n+1]==="]"){if(i--,i===0){t.push("]","]"),n+=2;break}t.push("]","]"),n+=2;continue}t.push(e[n]),n++}continue}t.push("["),n++;let r=1;for(;n<e.length&&r>0;){if(e[n]==="["){r++,t.push("("),n++;continue}if(e[n]==="]"){if(r--,r===0){t.push("]"),n++;break}t.push(")"),n++;continue}if(e[n]===`
63
- `){t.push(e[n]),n++;break}t.push(e[n]),n++}}else t.push(e[n]),n++;return t.join("")}function Gp(e){return e.replace(/```mermaid\s*\n([\s\S]*?)```/g,(t,n)=>{let r=n;return r=r.replace(/%%.*$/gm,""),r=r.replace(/^(\s*)end(\s*)$/gm,"$1__END_PH__$2"),r=r.replace(/^(\s*(?:class|style|click|classDef|linkStyle)\b.*)$/gm,i=>i.replace(/\bend\b/g,"__END_PH__")),r=r.replace(/\bend\b/g,"end_node"),r=r.replace(/__END_PH__/g,"end"),r=r.replace(/\\"/g,"&quot;"),r=r.replace(/(\s)->([\s\w])/g,"$1-->$2"),r=r.replace(/(\s)-\.(\s)/g,"$1-.->$2"),r=r.replace(/^(.*)$/gm,i=>{const s=[];let o=0;for(;o<i.length;)if(o>0&&/\w/.test(i[o-1])&&i[o]==="["&&i[o+1]!=="["&&i[o+1]!=="("&&i[o+1]!=="/"&&i[o+1]!=="\\"){let a=1,l=o+1;for(;l<i.length&&a>0;)i[l]==="["?a++:i[l]==="]"&&a--,a>0&&l++;if(a===0){let u=i.slice(o+1,l);if(u.startsWith('"')&&u.endsWith('"')?u=u.slice(1,-1):u.startsWith('"')&&(u=u.replace(/"/g,"")),/[\[\]"]/.test(u)){const f=u.replace(/\[/g,"&#91;").replace(/\]/g,"&#93;").replace(/"/g,"&quot;");s.push(`["${f}"]`)}else s.push(i.slice(o,l+1));o=l+1}else s.push(i[o]),o++}else s.push(i[o]),o++;return s.join("")}),r=Wp(r),r=r.replace(/(\b\w+)\[\[([^\]\n]*)\]\]/g,(i,s,o)=>o.startsWith('"')&&o.endsWith('"')?i:`${s}[["${ko(o)}"]]`),r=r.replace(/(\b\w+)\[(?!\[|\()([^\]\n]*)\]/g,(i,s,o)=>o.startsWith('"')&&o.endsWith('"')?i:`${s}["${ko(o)}"]`),r=r.replace(/\|([^|]*)\|/g,(i,s)=>/[\[\]]/.test(s)?`|${s.replace(/\[/g,"&#91;").replace(/\]/g,"&#93;")}|`:i),r=r.replace(/^(\s*subgraph\s+)(?!")([^\n]*[ \t][^\n]*)$/gm,(i,s,o)=>/^\w+\s*\[/.test(o)?i:`${s}"${o.replace(/"/g,"&quot;")}"`),r=r.replace(/(\b\w+)\[""\]/g,"$1"),r=r.replace(/^(\s*direction\s+)(?!TB|BT|LR|RL|TD)(\w+)/gm,"$1TD"),"```mermaid\n"+r+"```"})}function qp(e){const t="```mermaid\n"+e+"```";return Gp(t).replace(/^```mermaid\s*\n/,"").replace(/```\s*$/,"")}let To=!1,Jt=null;async function Zp(){if(!Jt){const e=await Of(()=>import("./mermaid.core-NyHocDCX.js").then(t=>t.aI),[],import.meta.url);Jt=e.default||e}return!To&&Jt&&(Jt.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",fontFamily:"inherit"}),To=!0),Jt}async function Yp(e){const t=e.querySelectorAll(".mermaid");if(t.length)try{const n=await Zp(),r=Array.from(t).filter(s=>!s.getAttribute("data-processed"));if(!r.length)return;for(const s of r){const o=s.textContent||"";if(o){const a=qp(o);a!==o&&(s.textContent=a)}}await n.run({nodes:r,suppressErrors:!0});const i=e.querySelectorAll(".mermaid[data-processed]");for(const s of Array.from(i)){if(s.querySelector(".mermaid-capture"))continue;s.style.position="relative";const o=document.createElement("button");o.className="mermaid-capture",o.type="button",o.title="PNG 로 저장",o.setAttribute("aria-label","PNG 로 저장"),o.innerHTML='<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>',o.addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Xp(s,o)}),s.appendChild(o)}}catch(n){console.warn("[mermaid] render failed:",n)}}async function Xp(e,t){console.log("[mermaid-capture] click",e);const n=e.querySelector("svg");if(!n){console.warn("[mermaid-capture] no svg found in container");return}const r=t.title;t.title="저장 중...",t.classList.add("is-busy");try{const i=n.getBoundingClientRect();let s=Math.ceil(i.width||n.clientWidth||0),o=Math.ceil(i.height||n.clientHeight||0);if(!s||!o){const S=n.getAttribute("viewBox");if(S){const[,,k,F]=S.split(/\s+/).map(Number);k&&F&&(s=Math.ceil(k),o=Math.ceil(F))}}s||(s=800),o||(o=600);const a=2,l=n.cloneNode(!0);l.getAttribute("xmlns")||l.setAttribute("xmlns","http://www.w3.org/2000/svg"),l.getAttribute("xmlns:xlink")||l.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),l.setAttribute("width",String(s)),l.setAttribute("height",String(o));const u=new XMLSerializer().serializeToString(l);console.log("[mermaid-capture] svg size",s,"x",o,"len=",u.length);const f="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(u),g=new Image;await new Promise((S,k)=>{g.onload=()=>{console.log("[mermaid-capture] img loaded",g.naturalWidth,g.naturalHeight),S()},g.onerror=F=>{console.error("[mermaid-capture] img load failed",F),k(new Error("image load failed"))},g.src=f});const y=document.createElement("canvas");y.width=s*a,y.height=o*a;const _=y.getContext("2d");_.fillStyle="#ffffff",_.fillRect(0,0,y.width,y.height),_.scale(a,a),_.drawImage(g,0,0,s,o);const w=S=>{const k=document.createElement("a");k.href=S;const F=new Date().toISOString().replace(/[:.]/g,"-").slice(0,19);k.download=`mermaid-${F}.png`,k.style.display="none",document.body.appendChild(k),k.click(),setTimeout(()=>k.remove(),0)};try{await new Promise(S=>{y.toBlob(k=>{if(k){const F=URL.createObjectURL(k);w(F),setTimeout(()=>URL.revokeObjectURL(F),1500)}else w(y.toDataURL("image/png"));S()},"image/png")})}catch{w(y.toDataURL("image/png"))}console.log("[mermaid-capture] download triggered"),t.classList.add("is-success"),setTimeout(()=>t.classList.remove("is-success"),1200)}catch(i){console.warn("[mermaid-capture] failed:",i),t.classList.add("is-error"),setTimeout(()=>t.classList.remove("is-error"),1500)}finally{t.title=r,t.classList.remove("is-busy")}}const Kp={name:"StreamingMarkdown",props:{content:{type:String,required:!0},isStreaming:{type:Boolean,default:!1}},setup(e){const t=be(null),n=Cl(()=>Up(e.content,e.isStreaming));function r(s){const o=s.target;o&&jp(o)}async function i(){e.isStreaming||(await dn(),t.value&&await Yp(t.value))}return Vo(i),ar(()=>[e.content,e.isStreaming],i),{root:t,rendered:n,onClick:r}}};function Ht(e,t,n,r,i,s,o,a){var l=typeof e=="function"?e.options:e;return t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),s&&(l._scopeId="data-v-"+s),{exports:e,options:l}}var Jp=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{ref:"root",staticClass:"sm-root",domProps:{innerHTML:t._s(t.rendered)},on:{click:t.onClick}})},Qp=[],Vp=Ht(Kp,Jp,Qp,!1,null,null);const eh=Vp.exports,th={name:"StatusHistory",props:{items:{type:Array,default:()=>[]}}};var nh=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.items&&t.items.length?n("div",{staticClass:"sh-root"},t._l(t.items,function(r,i){return n("div",{key:i,class:["sh-line",r.fade&&"sh-fade"]},[r.icon?n("span",{staticClass:"sh-icon"},[r.icon==="search"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("circle",{attrs:{cx:"11",cy:"11",r:"7"}}),n("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})]):r.icon==="summarize"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round"}},[n("line",{attrs:{x1:"4",y1:"6",x2:"20",y2:"6"}}),n("line",{attrs:{x1:"4",y1:"11",x2:"20",y2:"11"}}),n("line",{attrs:{x1:"4",y1:"16",x2:"13",y2:"16"}})]):r.icon==="warning"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("path",{attrs:{d:"M12 3 L22 20 L2 20 Z"}}),n("line",{attrs:{x1:"12",y1:"10",x2:"12",y2:"14"}}),n("circle",{attrs:{cx:"12",cy:"17",r:"0.6",fill:"currentColor"}})]):r.icon==="database"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("ellipse",{attrs:{cx:"12",cy:"5",rx:"8",ry:"2.5"}}),n("path",{attrs:{d:"M4 5 V12 C4 13.4 7.6 14.5 12 14.5 C16.4 14.5 20 13.4 20 12 V5"}}),n("path",{attrs:{d:"M4 12 V19 C4 20.4 7.6 21.5 12 21.5 C16.4 21.5 20 20.4 20 19 V12"}})]):n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("circle",{attrs:{cx:"12",cy:"12",r:"9"}})])]):n("span",{staticClass:"sh-dot"}),n("span",{staticClass:"sh-text"},[t._v(t._s(r.text))])])}),0):t._e()},rh=[],ih=Ht(th,nh,rh,!1,null,"f1233fd0");const sh=ih.exports,oh={name:"MessageItem",components:{StreamingMarkdown:eh,StatusHistory:sh},props:{message:{type:Object,required:!0}}};var ah=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{class:["mi-row","mi-"+t.message.role]},[t.message.role==="assistant"?[n("div",{staticClass:"mi-avatar mi-avatar-assistant",attrs:{"aria-hidden":"true"}},[n("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M12 2 L14.2 9.8 L22 12 L14.2 14.2 L12 22 L9.8 14.2 L2 12 L9.8 9.8 Z",fill:"currentColor"}}),n("circle",{attrs:{cx:"19",cy:"5",r:"1.6",fill:"currentColor",opacity:"0.85"}}),n("circle",{attrs:{cx:"5",cy:"19",r:"1.1",fill:"currentColor",opacity:"0.7"}})])]),n("div",{staticClass:"mi-body"},[n("div",{staticClass:"mi-role"},[t._v("BDP Agent")]),n("StatusHistory",{attrs:{items:t.message.statusHistory||[]}}),t.message.toolProcessing?n("div",{staticClass:"mi-tool-processing"},[n("span"),n("span"),n("span"),n("em",[t._v("분석 중...")])]):t._e(),t.message.content?n("StreamingMarkdown",{attrs:{content:t.message.content,"is-streaming":!!t.message.isStreaming}}):t.message.isStreaming&&!t.message.toolProcessing&&(!t.message.statusHistory||!t.message.statusHistory.length)?n("div",{staticClass:"mi-typing"},[n("span"),n("span"),n("span")]):t._e(),t.message.error?n("div",{staticClass:"mi-error"},[t._v("⚠️ "+t._s(t.message.error))]):t._e()],1)]:[n("div",{staticClass:"mi-body mi-body-user"},[n("div",{staticClass:"mi-bubble-user"},[t._v(t._s(t.message.content))])])]],2)},lh=[],ch=Ht(oh,ah,lh,!1,null,"a9af1281");const uh=ch.exports,fh={name:"ChatInput",props:{busy:{type:Boolean,default:!1},placeholder:{type:String,default:"질문을 입력하세요..."},prefillText:{type:String,default:""}},emits:["submit","cancel","prefill-consumed"],setup(e,{emit:t}){const n=be("");ar(()=>e.prefillText,o=>{o&&(n.value=o,t("prefill-consumed"))});function r(){const o=n.value.trim();o&&(t("submit",o),n.value="")}function i(){t("cancel")}function s(o){o.key==="Enter"&&(o.isComposing||o.keyCode===229||o.shiftKey||(o.preventDefault(),r()))}return{text:n,submit:r,onCancel:i,onKeyDown:s}}};var ph=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"ci-root"},[n("div",{staticClass:"ci-box"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.text,expression:"text"}],ref:"ta",attrs:{placeholder:t.placeholder,disabled:t.busy,rows:"2"},domProps:{value:t.text},on:{keydown:t.onKeyDown,input:function(r){r.target.composing||(t.text=r.target.value)}}}),t._v(" "),t.busy?n("button",{staticClass:"ci-cancel",attrs:{type:"button",title:"요청 취소"},on:{click:t.onCancel}},[n("svg",{attrs:{viewBox:"0 0 24 24",width:"12",height:"12",fill:"currentColor","aria-hidden":"true"}},[n("rect",{attrs:{x:"6",y:"6",width:"12",height:"12",rx:"1.5"}})]),n("span",[t._v("취소")])]):n("button",{staticClass:"ci-send",attrs:{disabled:!t.text.trim(),type:"button"},on:{click:t.submit}},[t._v("전송")])])])},hh=[],dh=Ht(fh,ph,hh,!1,null,"ec0be156");const mh=dh.exports,gh={name:"HistoryPanel",props:{items:{type:Array,required:!0},activeId:{type:String,default:null}},emits:["select","delete","clear"],setup(e,{emit:t}){function n(o){const a=new Date(o),l=new Date;return a.getFullYear()===l.getFullYear()&&a.getMonth()===l.getMonth()&&a.getDate()===l.getDate()?`${r(a.getHours())}:${r(a.getMinutes())}`:`${a.getMonth()+1}/${a.getDate()}`}function r(o){return o<10?"0"+o:""+o}function i(o){return`${o.messages.filter(l=>l.role==="user").length}개 질문`}function s(){confirm("모든 대화 이력을 삭제할까요?")&&t("clear")}return{formatTime:n,messageCount:i,onClearAll:s}}};var vh=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("aside",{staticClass:"hp-root"},[n("div",{staticClass:"hp-head"},[n("span",{staticClass:"hp-title"},[t._v("대화 이력")]),t.items.length?n("button",{staticClass:"hp-clear",attrs:{type:"button"},on:{click:t.onClearAll}},[t._v("전체 삭제")]):t._e()]),t.items.length?n("ul",{staticClass:"hp-list"},t._l(t.items,function(r){return n("li",{key:r.id,class:["hp-item",r.id===t.activeId&&"hp-item-active"],on:{click:function(i){return t.$emit("select",r.id)}}},[n("div",{staticClass:"hp-item-title"},[t._v(t._s(r.title))]),n("div",{staticClass:"hp-item-meta"},[n("span",[t._v(t._s(t.formatTime(r.updatedAt)))]),n("span",[t._v("·")]),n("span",[t._v(t._s(t.messageCount(r)))])]),n("button",{staticClass:"hp-del",attrs:{type:"button","aria-label":"대화 삭제"},on:{click:function(i){return i.stopPropagation(),t.$emit("delete",r.id)}}},[t._v("×")])])}),0):n("div",{staticClass:"hp-empty"},[t._v(" 아직 대화가 없습니다. ")])])},_h=[],yh=Ht(gh,vh,_h,!1,null,"3db415ee");const bh=yh.exports,wh=/^https:\/\/([a-z0-9-]+\.)*hyundaicard\.com$/;function Ha(e){return e?wh.test(e):!1}function xh(){try{if(!document.referrer)return null;const e=new URL(document.referrer).origin;return Ha(e)?e:null}catch{return null}}let ci=null,ui=null;function kh(e){ui=e}const Ae=kl({token:null,baseUrl:null,user:null,hostRoute:null});function rr(e){if(!window.parent||window.parent===window)return;const t=ci||xh();t&&window.parent.postMessage(e,t)}function Th(){window.addEventListener("message",t=>{var r,i,s,o,a;if(!Ha(t.origin))return;const n=t.data;if(!(!n||typeof n!="object"))switch(ci||(ci=t.origin),n.type){case"init":Ae.token=(r=n.token)!=null?r:null,Ae.baseUrl=(i=n.baseUrl)!=null?i:null,Ae.user=(s=n.user)!=null?s:null;break;case"token":Ae.token=(o=n.token)!=null?o:null;break;case"route":Ae.hostRoute=(a=n.path)!=null?a:null;break;case"prompt":ui&&typeof n.prompt=="string"&&n.prompt.trim()&&ui({prompt:n.prompt,autoSend:n.autoSend,newConversation:n.newConversation,mode:n.mode,meta:n.meta});break}}),new ResizeObserver(()=>{const t=document.documentElement.scrollHeight;rr({type:"height",value:t})}).observe(document.documentElement),rr({type:"ready"})}function Ua(){rr({type:"request-token"})}function Ch(e){rr({type:"busy",meta:e})}ar(()=>({...Ae}),e=>console.debug("[sample-feature] session updated",e),{deep:!0});const Nr={},ja=(Nr==null?void 0:Nr.VITE_USE_MOCK)==="true",Sh="https://bdp-agent.hyundaicard.com",Ah="https://bdp-agent-dev.hyundaicard.com";function Eh(){if(typeof window=="undefined")return"";const e=window.location.hostname||"";return e==="localhost"||e==="127.0.0.1"||e.startsWith("192.168.")?"":/(^|[.-])dev([.-]|$)/i.test(e)?Ah:Sh}function Wa(e){return Ae.baseUrl?Ae.baseUrl+e:Eh()+e}async function Oh(e,t,n){if(ja)return Ih(e,t,n);const r=Wa("/agents/hdsp_rag/chat/stream"),i={"Content-Type":"application/json",Accept:"text/event-stream"};Ae.token&&(i.Authorization=`Bearer ${Ae.token}`);const s=await fetch(r,{method:"POST",headers:i,body:JSON.stringify(e),signal:n});if(s.status===401)throw Ua(),new Error("401 unauthorized — 토큰 갱신 요청");if(!s.ok){const u=await s.text();throw new Error(`backend ${s.status}: ${u.slice(0,300)}`)}if(!s.body)throw new Error("no response body");const o=s.body.getReader(),a=new TextDecoder;let l="";for(;;){const{value:u,done:f}=await o.read();if(f)break;l+=a.decode(u,{stream:!0});let g;for(;(g=l.indexOf(`
61
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pp(e,t){return cp(e)||up(e,t)||hp(e,t)||fp()}function hp(e,t){if(e){if(typeof e=="string")return lo(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lo(e,t):void 0}}const za=Object.entries,co=Object.setPrototypeOf,dp=Object.isFrozen,mp=Object.getPrototypeOf,gp=Object.getOwnPropertyDescriptor;let he=Object.freeze,Ie=Object.seal,Rt=Object.create,Ba=typeof Reflect!="undefined"&&Reflect,ai=Ba.apply,li=Ba.construct;he||(he=function(t){return t});Ie||(Ie=function(t){return t});ai||(ai=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),s=2;s<r;s++)i[s-2]=arguments[s];return t.apply(n,i)});li||(li=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return new t(...r)});const St=se(Array.prototype.forEach),vp=se(Array.prototype.lastIndexOf),uo=se(Array.prototype.pop),At=se(Array.prototype.push),_p=se(Array.prototype.splice),fe=Array.isArray,en=se(String.prototype.toLowerCase),Rr=se(String.prototype.toString),fo=se(String.prototype.match),Et=se(String.prototype.replace),po=se(String.prototype.indexOf),yp=se(String.prototype.trim),bp=se(Number.prototype.toString),wp=se(Boolean.prototype.toString),ho=typeof BigInt=="undefined"?null:se(BigInt.prototype.toString),mo=typeof Symbol=="undefined"?null:se(Symbol.prototype.toString),te=se(Object.prototype.hasOwnProperty),Kt=se(Object.prototype.toString),ce=se(RegExp.prototype.test),Ln=xp(TypeError);function se(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return ai(e,t,r)}}function xp(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return li(e,n)}}function L(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:en;if(co&&co(e,null),!fe(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const s=n(i);s!==i&&(dp(t)||(t[r]=s),i=s)}e[i]=!0}return e}function kp(e){for(let t=0;t<e.length;t++)te(e,t)||(e[t]=null);return e}function me(e){const t=Rt(null);for(const r of za(e)){var n=pp(r,2);const i=n[0],s=n[1];te(e,i)&&(fe(s)?t[i]=kp(s):s&&typeof s=="object"&&s.constructor===Object?t[i]=me(s):t[i]=s)}return t}function Tp(e){switch(typeof e){case"string":return e;case"number":return bp(e);case"boolean":return wp(e);case"bigint":return ho?ho(e):"0";case"symbol":return mo?mo(e):"Symbol()";case"undefined":return Kt(e);case"function":case"object":{if(e===null)return Kt(e);const t=e,n=ft(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:Kt(r)}return Kt(e)}default:return Kt(e)}}function ft(e,t){for(;e!==null;){const r=gp(e,t);if(r){if(r.get)return se(r.get);if(typeof r.value=="function")return se(r.value)}e=mp(e)}function n(){return null}return n}function Cp(e){try{return ce(e,""),!0}catch{return!1}}const go=he(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ir=he(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Dr=he(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Sp=he(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Lr=he(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ap=he(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),vo=he(["#text"]),_o=he(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Pr=he(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),yo=he(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Pn=he(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ep=Ie(/{{[\w\W]*|^[\w\W]*}}/g),Op=Ie(/<%[\w\W]*|^[\w\W]*%>/g),$p=Ie(/\${[\w\W]*/g),Rp=Ie(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ip=Ie(/^aria-[\-\w]+$/),bo=Ie(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Dp=Ie(/^(?:\w+script|data):/i),Lp=Ie(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Pp=Ie(/^html$/i),Np=Ie(/^[a-z][.\w]*(-[.\w]+)+$/i),Ot={element:1,text:3,progressingInstruction:7,comment:8,document:9},Mp=function(){return typeof window=="undefined"?null:window},zp=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const s="dompurify"+(r?"#"+r:"");try{return t.createPolicy(s,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},wo=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Fa(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mp();const t=C=>Fa(C);if(t.version="3.4.5",t.removed=[],!e||!e.document||e.document.nodeType!==Ot.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,i=r.currentScript,s=e.DocumentFragment,o=e.HTMLTemplateElement,a=e.Node,l=e.Element,u=e.NodeFilter,f=e.NamedNodeMap,g=f===void 0?e.NamedNodeMap||e.MozNamedAttrMap:f,y=e.HTMLFormElement,_=e.DOMParser,w=e.trustedTypes,S=l.prototype,T=ft(S,"cloneNode"),B=ft(S,"remove"),$=ft(S,"nextSibling"),P=ft(S,"childNodes"),I=ft(S,"parentNode"),K=a&&a.prototype?ft(a.prototype,"nodeType"):null;if(typeof o=="function"){const C=n.createElement("template");C.content&&C.content.ownerDocument&&(n=C.content.ownerDocument)}let D,q="";const oe=n,_e=oe.implementation,Me=oe.createNodeIterator,ye=oe.createDocumentFragment,d=oe.getElementsByTagName,p=r.importNode;let h=wo();t.isSupported=typeof za=="function"&&typeof I=="function"&&_e&&_e.createHTMLDocument!==void 0;const b=Ep,k=Op,E=$p,A=Rp,R=Ip,z=Dp,F=Lp,H=Np;let ee=bo,U=null;const ze=L({},[...go,...Ir,...Dr,...Lr,...vo]);let J=null;const Be=L({},[..._o,...Pr,...yo,...Pn]);let W=Object.seal(Rt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),je=null,_n=null;const Je=Object.seal(Rt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let zi=!0,cr=!0,Bi=!1,Fi=!0,Qe=!1,Ut=!0,lt=!1,ur=!1,fr=!1,xt=!1,yn=!1,bn=!1,Hi=!0,Ui=!1;const ji="user-content-";let pr=!0,jt=!1,kt={},Fe=null;const hr=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Wi=null;const Gi=L({},["audio","video","img","source","image","track"]);let dr=null;const qi=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),wn="http://www.w3.org/1998/Math/MathML",xn="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let Tt=He,mr=!1,gr=null;const Za=L({},[wn,xn,He],Rr);let vr=L({},["mi","mo","mn","ms","mtext"]),_r=L({},["annotation-xml"]);const Ya=L({},["title","style","font","a","script"]);let Wt=null;const Xa=["application/xhtml+xml","text/html"],Ka="text/html";let ae=null,Ct=null;const Ja=n.createElement("form"),Zi=function(c){return c instanceof RegExp||c instanceof Function},yr=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ct&&Ct===c)return;(!c||typeof c!="object")&&(c={}),c=me(c),Wt=Xa.indexOf(c.PARSER_MEDIA_TYPE)===-1?Ka:c.PARSER_MEDIA_TYPE,ae=Wt==="application/xhtml+xml"?Rr:en,U=te(c,"ALLOWED_TAGS")&&fe(c.ALLOWED_TAGS)?L({},c.ALLOWED_TAGS,ae):ze,J=te(c,"ALLOWED_ATTR")&&fe(c.ALLOWED_ATTR)?L({},c.ALLOWED_ATTR,ae):Be,gr=te(c,"ALLOWED_NAMESPACES")&&fe(c.ALLOWED_NAMESPACES)?L({},c.ALLOWED_NAMESPACES,Rr):Za,dr=te(c,"ADD_URI_SAFE_ATTR")&&fe(c.ADD_URI_SAFE_ATTR)?L(me(qi),c.ADD_URI_SAFE_ATTR,ae):qi,Wi=te(c,"ADD_DATA_URI_TAGS")&&fe(c.ADD_DATA_URI_TAGS)?L(me(Gi),c.ADD_DATA_URI_TAGS,ae):Gi,Fe=te(c,"FORBID_CONTENTS")&&fe(c.FORBID_CONTENTS)?L({},c.FORBID_CONTENTS,ae):hr,je=te(c,"FORBID_TAGS")&&fe(c.FORBID_TAGS)?L({},c.FORBID_TAGS,ae):me({}),_n=te(c,"FORBID_ATTR")&&fe(c.FORBID_ATTR)?L({},c.FORBID_ATTR,ae):me({}),kt=te(c,"USE_PROFILES")?c.USE_PROFILES&&typeof c.USE_PROFILES=="object"?me(c.USE_PROFILES):c.USE_PROFILES:!1,zi=c.ALLOW_ARIA_ATTR!==!1,cr=c.ALLOW_DATA_ATTR!==!1,Bi=c.ALLOW_UNKNOWN_PROTOCOLS||!1,Fi=c.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Qe=c.SAFE_FOR_TEMPLATES||!1,Ut=c.SAFE_FOR_XML!==!1,lt=c.WHOLE_DOCUMENT||!1,xt=c.RETURN_DOM||!1,yn=c.RETURN_DOM_FRAGMENT||!1,bn=c.RETURN_TRUSTED_TYPE||!1,fr=c.FORCE_BODY||!1,Hi=c.SANITIZE_DOM!==!1,Ui=c.SANITIZE_NAMED_PROPS||!1,pr=c.KEEP_CONTENT!==!1,jt=c.IN_PLACE||!1,ee=Cp(c.ALLOWED_URI_REGEXP)?c.ALLOWED_URI_REGEXP:bo,Tt=typeof c.NAMESPACE=="string"?c.NAMESPACE:He,vr=te(c,"MATHML_TEXT_INTEGRATION_POINTS")&&c.MATHML_TEXT_INTEGRATION_POINTS&&typeof c.MATHML_TEXT_INTEGRATION_POINTS=="object"?me(c.MATHML_TEXT_INTEGRATION_POINTS):L({},["mi","mo","mn","ms","mtext"]),_r=te(c,"HTML_INTEGRATION_POINTS")&&c.HTML_INTEGRATION_POINTS&&typeof c.HTML_INTEGRATION_POINTS=="object"?me(c.HTML_INTEGRATION_POINTS):L({},["annotation-xml"]);const v=te(c,"CUSTOM_ELEMENT_HANDLING")&&c.CUSTOM_ELEMENT_HANDLING&&typeof c.CUSTOM_ELEMENT_HANDLING=="object"?me(c.CUSTOM_ELEMENT_HANDLING):Rt(null);if(W=Rt(null),te(v,"tagNameCheck")&&Zi(v.tagNameCheck)&&(W.tagNameCheck=v.tagNameCheck),te(v,"attributeNameCheck")&&Zi(v.attributeNameCheck)&&(W.attributeNameCheck=v.attributeNameCheck),te(v,"allowCustomizedBuiltInElements")&&typeof v.allowCustomizedBuiltInElements=="boolean"&&(W.allowCustomizedBuiltInElements=v.allowCustomizedBuiltInElements),Qe&&(cr=!1),yn&&(xt=!0),kt&&(U=L({},vo),J=Rt(null),kt.html===!0&&(L(U,go),L(J,_o)),kt.svg===!0&&(L(U,Ir),L(J,Pr),L(J,Pn)),kt.svgFilters===!0&&(L(U,Dr),L(J,Pr),L(J,Pn)),kt.mathMl===!0&&(L(U,Lr),L(J,yo),L(J,Pn))),Je.tagCheck=null,Je.attributeCheck=null,te(c,"ADD_TAGS")&&(typeof c.ADD_TAGS=="function"?Je.tagCheck=c.ADD_TAGS:fe(c.ADD_TAGS)&&(U===ze&&(U=me(U)),L(U,c.ADD_TAGS,ae))),te(c,"ADD_ATTR")&&(typeof c.ADD_ATTR=="function"?Je.attributeCheck=c.ADD_ATTR:fe(c.ADD_ATTR)&&(J===Be&&(J=me(J)),L(J,c.ADD_ATTR,ae))),te(c,"ADD_URI_SAFE_ATTR")&&fe(c.ADD_URI_SAFE_ATTR)&&L(dr,c.ADD_URI_SAFE_ATTR,ae),te(c,"FORBID_CONTENTS")&&fe(c.FORBID_CONTENTS)&&(Fe===hr&&(Fe=me(Fe)),L(Fe,c.FORBID_CONTENTS,ae)),te(c,"ADD_FORBID_CONTENTS")&&fe(c.ADD_FORBID_CONTENTS)&&(Fe===hr&&(Fe=me(Fe)),L(Fe,c.ADD_FORBID_CONTENTS,ae)),pr&&(U["#text"]=!0),lt&&L(U,["html","head","body"]),U.table&&(L(U,["tbody"]),delete je.tbody),c.TRUSTED_TYPES_POLICY){if(typeof c.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ln('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof c.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ln('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');D=c.TRUSTED_TYPES_POLICY,q=D.createHTML("")}else D===void 0&&(D=zp(w,i)),D!==null&&typeof q=="string"&&(q=D.createHTML(""));he&&he(c),Ct=c},Yi=L({},[...Ir,...Dr,...Sp]),Xi=L({},[...Lr,...Ap]),Qa=function(c){let v=I(c);(!v||!v.tagName)&&(v={namespaceURI:Tt,tagName:"template"});const x=en(c.tagName),M=en(v.tagName);return gr[c.namespaceURI]?c.namespaceURI===xn?v.namespaceURI===He?x==="svg":v.namespaceURI===wn?x==="svg"&&(M==="annotation-xml"||vr[M]):!!Yi[x]:c.namespaceURI===wn?v.namespaceURI===He?x==="math":v.namespaceURI===xn?x==="math"&&_r[M]:!!Xi[x]:c.namespaceURI===He?v.namespaceURI===xn&&!_r[M]||v.namespaceURI===wn&&!vr[M]?!1:!Xi[x]&&(Ya[x]||!Yi[x]):!!(Wt==="application/xhtml+xml"&&gr[c.namespaceURI]):!1},De=function(c){At(t.removed,{element:c});try{I(c).removeChild(c)}catch{B(c)}},ct=function(c,v){try{At(t.removed,{attribute:v.getAttributeNode(c),from:v})}catch{At(t.removed,{attribute:null,from:v})}if(v.removeAttribute(c),c==="is")if(xt||yn)try{De(v)}catch{}else try{v.setAttribute(c,"")}catch{}},Ki=function(c){let v=null,x=null;if(fr)c="<remove></remove>"+c;else{const ie=fo(c,/^[\r\n\t ]+/);x=ie&&ie[0]}Wt==="application/xhtml+xml"&&Tt===He&&(c='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+c+"</body></html>");const M=D?D.createHTML(c):c;if(Tt===He)try{v=new _().parseFromString(M,Wt)}catch{}if(!v||!v.documentElement){v=_e.createDocument(Tt,"template",null);try{v.documentElement.innerHTML=mr?q:M}catch{}}const re=v.body||v.documentElement;return c&&x&&re.insertBefore(n.createTextNode(x),re.childNodes[0]||null),Tt===He?d.call(v,lt?"html":"body")[0]:lt?v.documentElement:re},Ji=function(c){return Me.call(c.ownerDocument||c,c,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Qi=function(c){c.normalize();const v=Me.call(c.ownerDocument||c,c,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let x=v.nextNode();for(;x;){let M=x.data;St([b,k,E],re=>{M=Et(M,re," ")}),x.data=M,x=v.nextNode()}},br=function(c){return c instanceof y&&(typeof c.nodeName!="string"||typeof c.textContent!="string"||typeof c.removeChild!="function"||!(c.attributes instanceof g)||typeof c.removeAttribute!="function"||typeof c.setAttribute!="function"||typeof c.namespaceURI!="string"||typeof c.insertBefore!="function"||typeof c.hasChildNodes!="function")},kn=function(c){if(!K||typeof c!="object"||c===null)return!1;try{return typeof K(c)=="number"}catch{return!1}};function We(C,c,v){St(C,x=>{x.call(t,c,v,Ct)})}const Vi=function(c){let v=null;if(We(h.beforeSanitizeElements,c,null),br(c))return De(c),!0;const x=ae(c.nodeName);if(We(h.uponSanitizeElement,c,{tagName:x,allowedTags:U}),Ut&&c.hasChildNodes()&&!kn(c.firstElementChild)&&ce(/<[/\w!]/g,c.innerHTML)&&ce(/<[/\w!]/g,c.textContent)||Ut&&c.namespaceURI===He&&x==="style"&&kn(c.firstElementChild)||c.nodeType===Ot.progressingInstruction||Ut&&c.nodeType===Ot.comment&&ce(/<[/\w]/g,c.data))return De(c),!0;if(je[x]||!(Je.tagCheck instanceof Function&&Je.tagCheck(x))&&!U[x]){if(!je[x]&&ts(x)&&(W.tagNameCheck instanceof RegExp&&ce(W.tagNameCheck,x)||W.tagNameCheck instanceof Function&&W.tagNameCheck(x)))return!1;if(pr&&!Fe[x]){const M=I(c)||c.parentNode,re=P(c)||c.childNodes;if(re&&M){const ie=re.length;for(let de=ie-1;de>=0;--de){const Ve=T(re[de],!0);M.insertBefore(Ve,$(c))}}}return De(c),!0}return c instanceof l&&!Qa(c)||(x==="noscript"||x==="noembed"||x==="noframes")&&ce(/<\/no(script|embed|frames)/i,c.innerHTML)?(De(c),!0):(Qe&&c.nodeType===Ot.text&&(v=c.textContent,St([b,k,E],M=>{v=Et(v,M," ")}),c.textContent!==v&&(At(t.removed,{element:c.cloneNode()}),c.textContent=v)),We(h.afterSanitizeElements,c,null),!1)},es=function(c,v,x){if(_n[v]||Hi&&(v==="id"||v==="name")&&(x in n||x in Ja))return!1;const M=J[v]||Je.attributeCheck instanceof Function&&Je.attributeCheck(v,c);if(!(cr&&!_n[v]&&ce(A,v))){if(!(zi&&ce(R,v))){if(!M||_n[v]){if(!(ts(c)&&(W.tagNameCheck instanceof RegExp&&ce(W.tagNameCheck,c)||W.tagNameCheck instanceof Function&&W.tagNameCheck(c))&&(W.attributeNameCheck instanceof RegExp&&ce(W.attributeNameCheck,v)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(v,c))||v==="is"&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&ce(W.tagNameCheck,x)||W.tagNameCheck instanceof Function&&W.tagNameCheck(x))))return!1}else if(!dr[v]){if(!ce(ee,Et(x,F,""))){if(!((v==="src"||v==="xlink:href"||v==="href")&&c!=="script"&&po(x,"data:")===0&&Wi[c])){if(!(Bi&&!ce(z,Et(x,F,"")))){if(x)return!1}}}}}}return!0},Va=L({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ts=function(c){return!Va[en(c)]&&ce(H,c)},ns=function(c){We(h.beforeSanitizeAttributes,c,null);const v=c.attributes;if(!v||br(c))return;const x={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:J,forceKeepAttr:void 0};let M=v.length;for(;M--;){const re=v[M],ie=re.name,de=re.namespaceURI,Ve=re.value,Ge=ae(ie),xr=Ve;let le=ie==="value"?xr:yp(xr);if(x.attrName=Ge,x.attrValue=le,x.keepAttr=!0,x.forceKeepAttr=void 0,We(h.uponSanitizeAttribute,c,x),le=x.attrValue,Ui&&(Ge==="id"||Ge==="name")&&po(le,ji)!==0&&(ct(ie,c),le=ji+le),Ut&&ce(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,le)){ct(ie,c);continue}if(Ge==="attributename"&&fo(le,"href")){ct(ie,c);continue}if(x.forceKeepAttr)continue;if(!x.keepAttr){ct(ie,c);continue}if(!Fi&&ce(/\/>/i,le)){ct(ie,c);continue}Qe&&St([b,k,E],is=>{le=Et(le,is," ")});const rs=ae(c.nodeName);if(!es(rs,Ge,le)){ct(ie,c);continue}if(D&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!de)switch(w.getAttributeType(rs,Ge)){case"TrustedHTML":{le=D.createHTML(le);break}case"TrustedScriptURL":{le=D.createScriptURL(le);break}}if(le!==xr)try{de?c.setAttributeNS(de,ie,le):c.setAttribute(ie,le),br(c)?De(c):uo(t.removed)}catch{ct(ie,c)}}We(h.afterSanitizeAttributes,c,null)},wr=function(c){let v=null;const x=Ji(c);for(We(h.beforeSanitizeShadowDOM,c,null);v=x.nextNode();)We(h.uponSanitizeShadowNode,v,null),Vi(v),ns(v),v.content instanceof s&&wr(v.content);We(h.afterSanitizeShadowDOM,c,null)},Tn=function(c){if(c.nodeType===Ot.element&&c.shadowRoot instanceof s){const M=c.shadowRoot;Tn(M),wr(M)}const v=c.childNodes;if(!v)return;const x=[];St(v,M=>{At(x,M)});for(const M of x)Tn(M)};return t.sanitize=function(C){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=null,x=null,M=null,re=null;if(mr=!C,mr&&(C="<!-->"),typeof C!="string"&&!kn(C)&&(C=Tp(C),typeof C!="string"))throw Ln("dirty is not a string, aborting");if(!t.isSupported)return C;if(ur||yr(c),t.removed=[],typeof C=="string"&&(jt=!1),jt){const Ve=C.nodeName;if(typeof Ve=="string"){const Ge=ae(Ve);if(!U[Ge]||je[Ge])throw Ln("root node is forbidden and cannot be sanitized in-place")}Tn(C)}else if(kn(C))v=Ki("<!---->"),x=v.ownerDocument.importNode(C,!0),x.nodeType===Ot.element&&x.nodeName==="BODY"||x.nodeName==="HTML"?v=x:v.appendChild(x),Tn(x);else{if(!xt&&!Qe&&!lt&&C.indexOf("<")===-1)return D&&bn?D.createHTML(C):C;if(v=Ki(C),!v)return xt?null:bn?q:""}v&&fr&&De(v.firstChild);const ie=Ji(jt?C:v);for(;M=ie.nextNode();)Vi(M),ns(M),M.content instanceof s&&wr(M.content);if(jt)return Qe&&Qi(C),C;if(xt){if(Qe&&Qi(v),yn)for(re=ye.call(v.ownerDocument);v.firstChild;)re.appendChild(v.firstChild);else re=v;return(J.shadowroot||J.shadowrootmode)&&(re=p.call(r,re,!0)),re}let de=lt?v.outerHTML:v.innerHTML;return lt&&U["!doctype"]&&v.ownerDocument&&v.ownerDocument.doctype&&v.ownerDocument.doctype.name&&ce(Pp,v.ownerDocument.doctype.name)&&(de="<!DOCTYPE "+v.ownerDocument.doctype.name+`>
62
+ `+de),Qe&&St([b,k,E],Ve=>{de=Et(de,Ve," ")}),D&&bn?D.createHTML(de):de},t.setConfig=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};yr(C),ur=!0},t.clearConfig=function(){Ct=null,ur=!1},t.isValidAttribute=function(C,c,v){Ct||yr({});const x=ae(C),M=ae(c);return es(x,M,v)},t.addHook=function(C,c){typeof c=="function"&&At(h[C],c)},t.removeHook=function(C,c){if(c!==void 0){const v=vp(h[C],c);return v===-1?void 0:_p(h[C],v,1)[0]}return uo(h[C])},t.removeHooks=function(C){h[C]=[]},t.removeAllHooks=function(){h=wo()},t}var Bp=Fa();function Fp(e){return btoa(unescape(encodeURIComponent(e)))}function Nn(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}j.use({gfm:!0,breaks:!0,renderer:{code(e){var o,a;const t=(o=e.text)!=null?o:"",r=((a=e.lang)!=null?a:"").trim()||"text";if(r==="mermaid")return`<div class="mermaid">${Nn(t)}</div>`;const i=Nn(t),s=Fp(t);return`<div class="code-card"><div class="code-head"><span class="code-lang">${Nn(r)}</span><button type="button" class="code-copy" data-code="${s}" aria-label="코드 복사"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/></svg><span class="code-copy-label">복사</span></button></div><pre class="code-body"><code class="language-${Nn(r)}">${i}</code></pre></div>`}}});function Hp(e){const t=(e.match(/```/g)||[]).length,n=e.replace(/```[\s\S]*?```/g,""),r=n.replace(/`[^`\n]*`/g,"");return{hasUnclosedCodeBlock:t%2===1,hasUnclosedInlineCode:(n.match(/`/g)||[]).length%2===1,hasUnclosedBoldStar:(r.match(/\*\*/g)||[]).length%2===1,hasUnclosedBoldUnderscore:(r.match(/__/g)||[]).length%2===1}}function Up(e,t=!1){let n=e;if(t){const i=Hp(e);i.hasUnclosedCodeBlock&&(n+="\n```"),i.hasUnclosedInlineCode&&(n+="`"),i.hasUnclosedBoldStar&&(n+="**"),i.hasUnclosedBoldUnderscore&&(n+="__")}const r=j.parse(n);return Bp.sanitize(r,{ADD_ATTR:["target","rel","data-code"],ADD_TAGS:["svg","path","g","foreignObject","marker","defs","pattern"]})}async function jp(e){const t=e.closest(".code-copy");if(!t)return!1;const n=t.getAttribute("data-code")||"";if(!n)return!1;let r="";try{r=decodeURIComponent(escape(atob(n)))}catch{r=atob(n)}try{return await navigator.clipboard.writeText(r),xo(t),!0}catch{const i=document.createElement("textarea");i.value=r,document.body.appendChild(i),i.select();try{document.execCommand("copy")}catch{}return i.remove(),xo(t),!0}}function xo(e){const t=e.querySelector(".code-copy-label"),n=t==null?void 0:t.textContent;t&&(t.textContent="복사됨"),e.classList.add("is-copied"),setTimeout(()=>{t&&n&&(t.textContent=n),e.classList.remove("is-copied")},1400)}function ko(e){return e.replace(/"/g,"&quot;").replace(/\[/g,"(").replace(/\]/g,")")}function Wp(e){const t=[];let n=0;for(;n<e.length;)if(e[n]==="["&&n>0&&/\w/.test(e[n-1])){if(e[n+1]==="["){t.push(e[n],e[n+1]),n+=2;let i=1;for(;n<e.length&&i>0;){if(e[n]==="["&&e[n+1]==="["){i++,t.push(e[n],e[n+1]),n+=2;continue}if(e[n]==="]"&&e[n+1]==="]"){if(i--,i===0){t.push("]","]"),n+=2;break}t.push("]","]"),n+=2;continue}t.push(e[n]),n++}continue}t.push("["),n++;let r=1;for(;n<e.length&&r>0;){if(e[n]==="["){r++,t.push("("),n++;continue}if(e[n]==="]"){if(r--,r===0){t.push("]"),n++;break}t.push(")"),n++;continue}if(e[n]===`
63
+ `){t.push(e[n]),n++;break}t.push(e[n]),n++}}else t.push(e[n]),n++;return t.join("")}function Gp(e){return e.replace(/```mermaid\s*\n([\s\S]*?)```/g,(t,n)=>{let r=n;return r=r.replace(/%%.*$/gm,""),r=r.replace(/^(\s*)end(\s*)$/gm,"$1__END_PH__$2"),r=r.replace(/^(\s*(?:class|style|click|classDef|linkStyle)\b.*)$/gm,i=>i.replace(/\bend\b/g,"__END_PH__")),r=r.replace(/\bend\b/g,"end_node"),r=r.replace(/__END_PH__/g,"end"),r=r.replace(/\\"/g,"&quot;"),r=r.replace(/(\s)->([\s\w])/g,"$1-->$2"),r=r.replace(/(\s)-\.(\s)/g,"$1-.->$2"),r=r.replace(/^(.*)$/gm,i=>{const s=[];let o=0;for(;o<i.length;)if(o>0&&/\w/.test(i[o-1])&&i[o]==="["&&i[o+1]!=="["&&i[o+1]!=="("&&i[o+1]!=="/"&&i[o+1]!=="\\"){let a=1,l=o+1;for(;l<i.length&&a>0;)i[l]==="["?a++:i[l]==="]"&&a--,a>0&&l++;if(a===0){let u=i.slice(o+1,l);if(u.startsWith('"')&&u.endsWith('"')?u=u.slice(1,-1):u.startsWith('"')&&(u=u.replace(/"/g,"")),/[\[\]"]/.test(u)){const f=u.replace(/\[/g,"&#91;").replace(/\]/g,"&#93;").replace(/"/g,"&quot;");s.push(`["${f}"]`)}else s.push(i.slice(o,l+1));o=l+1}else s.push(i[o]),o++}else s.push(i[o]),o++;return s.join("")}),r=Wp(r),r=r.replace(/(\b\w+)\[\[([^\]\n]*)\]\]/g,(i,s,o)=>o.startsWith('"')&&o.endsWith('"')?i:`${s}[["${ko(o)}"]]`),r=r.replace(/(\b\w+)\[(?!\[|\()([^\]\n]*)\]/g,(i,s,o)=>o.startsWith('"')&&o.endsWith('"')?i:`${s}["${ko(o)}"]`),r=r.replace(/\|([^|]*)\|/g,(i,s)=>/[\[\]]/.test(s)?`|${s.replace(/\[/g,"&#91;").replace(/\]/g,"&#93;")}|`:i),r=r.replace(/^(\s*subgraph\s+)(?!")([^\n]*[ \t][^\n]*)$/gm,(i,s,o)=>/^\w+\s*\[/.test(o)?i:`${s}"${o.replace(/"/g,"&quot;")}"`),r=r.replace(/(\b\w+)\[""\]/g,"$1"),r=r.replace(/^(\s*direction\s+)(?!TB|BT|LR|RL|TD)(\w+)/gm,"$1TD"),"```mermaid\n"+r+"```"})}function qp(e){const t="```mermaid\n"+e+"```";return Gp(t).replace(/^```mermaid\s*\n/,"").replace(/```\s*$/,"")}let To=!1,Jt=null;async function Zp(){if(!Jt){const e=await Of(()=>import("./mermaid.core-CAJcdzB2.js").then(t=>t.aI),[],import.meta.url);Jt=e.default||e}return!To&&Jt&&(Jt.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",fontFamily:"inherit"}),To=!0),Jt}async function Yp(e){const t=e.querySelectorAll(".mermaid");if(t.length)try{const n=await Zp(),r=Array.from(t).filter(s=>!s.getAttribute("data-processed"));if(!r.length)return;for(const s of r){const o=s.textContent||"";if(o){const a=qp(o);a!==o&&(s.textContent=a)}}await n.run({nodes:r,suppressErrors:!0});const i=e.querySelectorAll(".mermaid[data-processed]");for(const s of Array.from(i)){if(s.querySelector(".mermaid-capture"))continue;s.style.position="relative";const o=document.createElement("button");o.className="mermaid-capture",o.type="button",o.title="PNG 로 저장",o.setAttribute("aria-label","PNG 로 저장"),o.innerHTML='<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>',o.addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Xp(s,o)}),s.appendChild(o)}}catch(n){console.warn("[mermaid] render failed:",n)}}async function Xp(e,t){console.log("[mermaid-capture] click",e);const n=e.querySelector("svg");if(!n){console.warn("[mermaid-capture] no svg found in container");return}const r=t.title;t.title="저장 중...",t.classList.add("is-busy");try{const i=n.getBoundingClientRect();let s=Math.ceil(i.width||n.clientWidth||0),o=Math.ceil(i.height||n.clientHeight||0);if(!s||!o){const S=n.getAttribute("viewBox");if(S){const[,,T,B]=S.split(/\s+/).map(Number);T&&B&&(s=Math.ceil(T),o=Math.ceil(B))}}s||(s=800),o||(o=600);const a=2,l=n.cloneNode(!0);l.getAttribute("xmlns")||l.setAttribute("xmlns","http://www.w3.org/2000/svg"),l.getAttribute("xmlns:xlink")||l.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),l.setAttribute("width",String(s)),l.setAttribute("height",String(o));const u=new XMLSerializer().serializeToString(l);console.log("[mermaid-capture] svg size",s,"x",o,"len=",u.length);const f="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(u),g=new Image;await new Promise((S,T)=>{g.onload=()=>{console.log("[mermaid-capture] img loaded",g.naturalWidth,g.naturalHeight),S()},g.onerror=B=>{console.error("[mermaid-capture] img load failed",B),T(new Error("image load failed"))},g.src=f});const y=document.createElement("canvas");y.width=s*a,y.height=o*a;const _=y.getContext("2d");_.fillStyle="#ffffff",_.fillRect(0,0,y.width,y.height),_.scale(a,a),_.drawImage(g,0,0,s,o);const w=S=>{const T=document.createElement("a");T.href=S;const B=new Date().toISOString().replace(/[:.]/g,"-").slice(0,19);T.download=`mermaid-${B}.png`,T.style.display="none",document.body.appendChild(T),T.click(),setTimeout(()=>T.remove(),0)};try{await new Promise(S=>{y.toBlob(T=>{if(T){const B=URL.createObjectURL(T);w(B),setTimeout(()=>URL.revokeObjectURL(B),1500)}else w(y.toDataURL("image/png"));S()},"image/png")})}catch{w(y.toDataURL("image/png"))}console.log("[mermaid-capture] download triggered"),t.classList.add("is-success"),setTimeout(()=>t.classList.remove("is-success"),1200)}catch(i){console.warn("[mermaid-capture] failed:",i),t.classList.add("is-error"),setTimeout(()=>t.classList.remove("is-error"),1500)}finally{t.title=r,t.classList.remove("is-busy")}}const Kp={name:"StreamingMarkdown",props:{content:{type:String,required:!0},isStreaming:{type:Boolean,default:!1}},setup(e){const t=be(null),n=Cl(()=>Up(e.content,e.isStreaming));function r(s){const o=s.target;o&&jp(o)}async function i(){e.isStreaming||(await dn(),t.value&&await Yp(t.value))}return Vo(i),ar(()=>[e.content,e.isStreaming],i),{root:t,rendered:n,onClick:r}}};function Ht(e,t,n,r,i,s,o,a){var l=typeof e=="function"?e.options:e;return t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),s&&(l._scopeId="data-v-"+s),{exports:e,options:l}}var Jp=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{ref:"root",staticClass:"sm-root",domProps:{innerHTML:t._s(t.rendered)},on:{click:t.onClick}})},Qp=[],Vp=Ht(Kp,Jp,Qp,!1,null,null);const eh=Vp.exports,th={name:"StatusHistory",props:{items:{type:Array,default:()=>[]}}};var nh=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.items&&t.items.length?n("div",{staticClass:"sh-root"},t._l(t.items,function(r,i){return n("div",{key:i,class:["sh-line",r.fade&&"sh-fade"]},[r.icon?n("span",{staticClass:"sh-icon"},[r.icon==="search"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("circle",{attrs:{cx:"11",cy:"11",r:"7"}}),n("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})]):r.icon==="summarize"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2.2","stroke-linecap":"round"}},[n("line",{attrs:{x1:"4",y1:"6",x2:"20",y2:"6"}}),n("line",{attrs:{x1:"4",y1:"11",x2:"20",y2:"11"}}),n("line",{attrs:{x1:"4",y1:"16",x2:"13",y2:"16"}})]):r.icon==="warning"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("path",{attrs:{d:"M12 3 L22 20 L2 20 Z"}}),n("line",{attrs:{x1:"12",y1:"10",x2:"12",y2:"14"}}),n("circle",{attrs:{cx:"12",cy:"17",r:"0.6",fill:"currentColor"}})]):r.icon==="database"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("ellipse",{attrs:{cx:"12",cy:"5",rx:"8",ry:"2.5"}}),n("path",{attrs:{d:"M4 5 V12 C4 13.4 7.6 14.5 12 14.5 C16.4 14.5 20 13.4 20 12 V5"}}),n("path",{attrs:{d:"M4 12 V19 C4 20.4 7.6 21.5 12 21.5 C16.4 21.5 20 20.4 20 19 V12"}})]):r.icon==="workflow"?n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("rect",{attrs:{x:"3",y:"3",width:"8",height:"8",rx:"2"}}),n("path",{attrs:{d:"M7 11v4a2 2 0 0 0 2 2h4"}}),n("rect",{attrs:{x:"13",y:"13",width:"8",height:"8",rx:"2"}})]):n("svg",{attrs:{viewBox:"0 0 24 24",width:"13",height:"13",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("circle",{attrs:{cx:"12",cy:"12",r:"9"}})])]):n("span",{staticClass:"sh-dot"}),n("span",{staticClass:"sh-text"},[t._v(t._s(r.text))])])}),0):t._e()},rh=[],ih=Ht(th,nh,rh,!1,null,"0563b329");const sh=ih.exports,oh={name:"MessageItem",components:{StreamingMarkdown:eh,StatusHistory:sh},props:{message:{type:Object,required:!0}}};var ah=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{class:["mi-row","mi-"+t.message.role]},[t.message.role==="assistant"?[n("div",{staticClass:"mi-avatar mi-avatar-assistant",attrs:{"aria-hidden":"true"}},[n("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M12 2 L14.2 9.8 L22 12 L14.2 14.2 L12 22 L9.8 14.2 L2 12 L9.8 9.8 Z",fill:"currentColor"}}),n("circle",{attrs:{cx:"19",cy:"5",r:"1.6",fill:"currentColor",opacity:"0.85"}}),n("circle",{attrs:{cx:"5",cy:"19",r:"1.1",fill:"currentColor",opacity:"0.7"}})])]),n("div",{staticClass:"mi-body"},[n("div",{staticClass:"mi-role"},[t._v("BDP Agent")]),n("StatusHistory",{attrs:{items:t.message.statusHistory||[]}}),t.message.toolProcessing?n("div",{staticClass:"mi-tool-processing"},[n("span"),n("span"),n("span"),n("em",[t._v("분석 중...")])]):t._e(),t.message.content?n("StreamingMarkdown",{attrs:{content:t.message.content,"is-streaming":!!t.message.isStreaming}}):t.message.isStreaming&&!t.message.toolProcessing&&(!t.message.statusHistory||!t.message.statusHistory.length)?n("div",{staticClass:"mi-typing"},[n("span"),n("span"),n("span")]):t._e(),t.message.error?n("div",{staticClass:"mi-error"},[t._v("⚠️ "+t._s(t.message.error))]):t._e()],1)]:[n("div",{staticClass:"mi-body mi-body-user"},[n("div",{staticClass:"mi-user-wrap"},[n("div",{staticClass:"mi-bubble-user"},[t._v(t._s(t.message.content))]),t.message.maskedTypes&&t.message.maskedTypes.length?n("div",{staticClass:"mi-pii-mask-strip"},[n("span",{staticClass:"mi-pii-mask-icon",attrs:{"aria-hidden":"true"}},[t._v("ⓘ")]),n("span",{staticClass:"mi-pii-mask-text"},[t._v(t._s(t.message.maskedTypes.join("·"))+" 자동 마스킹됨")])]):t._e()])])]],2)},lh=[],ch=Ht(oh,ah,lh,!1,null,"43bf0937");const uh=ch.exports,fh={name:"ChatInput",props:{busy:{type:Boolean,default:!1},placeholder:{type:String,default:"질문을 입력하세요..."},prefillText:{type:String,default:""}},emits:["submit","cancel","prefill-consumed"],setup(e,{emit:t}){const n=be("");ar(()=>e.prefillText,o=>{o&&(n.value=o,t("prefill-consumed"))});function r(){const o=n.value.trim();o&&(t("submit",o),n.value="")}function i(){t("cancel")}function s(o){o.key==="Enter"&&(o.isComposing||o.keyCode===229||o.shiftKey||(o.preventDefault(),r()))}return{text:n,submit:r,onCancel:i,onKeyDown:s}}};var ph=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"ci-root"},[n("div",{staticClass:"ci-box"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.text,expression:"text"}],ref:"ta",attrs:{placeholder:t.placeholder,disabled:t.busy,rows:"2"},domProps:{value:t.text},on:{keydown:t.onKeyDown,input:function(r){r.target.composing||(t.text=r.target.value)}}}),t._v(" "),t.busy?n("button",{staticClass:"ci-cancel",attrs:{type:"button",title:"요청 취소"},on:{click:t.onCancel}},[n("svg",{attrs:{viewBox:"0 0 24 24",width:"12",height:"12",fill:"currentColor","aria-hidden":"true"}},[n("rect",{attrs:{x:"6",y:"6",width:"12",height:"12",rx:"1.5"}})]),n("span",[t._v("취소")])]):n("button",{staticClass:"ci-send",attrs:{disabled:!t.text.trim(),type:"button"},on:{click:t.submit}},[t._v("전송")])])])},hh=[],dh=Ht(fh,ph,hh,!1,null,"ec0be156");const mh=dh.exports,gh={name:"HistoryPanel",props:{items:{type:Array,required:!0},activeId:{type:String,default:null}},emits:["select","delete","clear"],setup(e,{emit:t}){function n(o){const a=new Date(o),l=new Date;return a.getFullYear()===l.getFullYear()&&a.getMonth()===l.getMonth()&&a.getDate()===l.getDate()?`${r(a.getHours())}:${r(a.getMinutes())}`:`${a.getMonth()+1}/${a.getDate()}`}function r(o){return o<10?"0"+o:""+o}function i(o){return`${o.messages.filter(l=>l.role==="user").length}개 질문`}function s(){confirm("모든 대화 이력을 삭제할까요?")&&t("clear")}return{formatTime:n,messageCount:i,onClearAll:s}}};var vh=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("aside",{staticClass:"hp-root"},[n("div",{staticClass:"hp-head"},[n("span",{staticClass:"hp-title"},[t._v("대화 이력")]),t.items.length?n("button",{staticClass:"hp-clear",attrs:{type:"button"},on:{click:t.onClearAll}},[t._v("전체 삭제")]):t._e()]),t.items.length?n("ul",{staticClass:"hp-list"},t._l(t.items,function(r){return n("li",{key:r.id,class:["hp-item",r.id===t.activeId&&"hp-item-active"],on:{click:function(i){return t.$emit("select",r.id)}}},[n("div",{staticClass:"hp-item-title"},[t._v(t._s(r.title))]),n("div",{staticClass:"hp-item-meta"},[n("span",[t._v(t._s(t.formatTime(r.updatedAt)))]),n("span",[t._v("·")]),n("span",[t._v(t._s(t.messageCount(r)))])]),n("button",{staticClass:"hp-del",attrs:{type:"button","aria-label":"대화 삭제"},on:{click:function(i){return i.stopPropagation(),t.$emit("delete",r.id)}}},[t._v("×")])])}),0):n("div",{staticClass:"hp-empty"},[t._v(" 아직 대화가 없습니다. ")])])},_h=[],yh=Ht(gh,vh,_h,!1,null,"3db415ee");const bh=yh.exports,wh=/^https:\/\/([a-z0-9-]+\.)*hyundaicard\.com$/;function Ha(e){return e?wh.test(e):!1}function xh(){try{if(!document.referrer)return null;const e=new URL(document.referrer).origin;return Ha(e)?e:null}catch{return null}}let ci=null,ui=null;function kh(e){ui=e}const Ae=kl({token:null,baseUrl:null,user:null,hostRoute:null});function rr(e){if(!window.parent||window.parent===window)return;const t=ci||xh();t&&window.parent.postMessage(e,t)}function Th(){window.addEventListener("message",t=>{var r,i,s,o,a;if(!Ha(t.origin))return;const n=t.data;if(!(!n||typeof n!="object"))switch(ci||(ci=t.origin),n.type){case"init":Ae.token=(r=n.token)!=null?r:null,Ae.baseUrl=(i=n.baseUrl)!=null?i:null,Ae.user=(s=n.user)!=null?s:null;break;case"token":Ae.token=(o=n.token)!=null?o:null;break;case"route":Ae.hostRoute=(a=n.path)!=null?a:null;break;case"prompt":ui&&typeof n.prompt=="string"&&n.prompt.trim()&&ui({prompt:n.prompt,autoSend:n.autoSend,newConversation:n.newConversation,mode:n.mode,meta:n.meta});break}}),new ResizeObserver(()=>{const t=document.documentElement.scrollHeight;rr({type:"height",value:t})}).observe(document.documentElement),rr({type:"ready"})}function Ua(){rr({type:"request-token"})}function Ch(e){rr({type:"busy",meta:e})}ar(()=>({...Ae}),e=>console.debug("[sample-feature] session updated",e),{deep:!0});const Nr={},ja=(Nr==null?void 0:Nr.VITE_USE_MOCK)==="true",Sh="https://bdp-agent-api.hyundaicard.com",Ah="https://bdp-agent-api-dev.hyundaicard.com";function Eh(){if(typeof window=="undefined")return"";const e=window.location.hostname||"";return e==="localhost"||e==="127.0.0.1"||e.startsWith("192.168.")?"":/(^|[.-])dev([.-]|$)/i.test(e)?Ah:Sh}function Wa(e){return Ae.baseUrl?Ae.baseUrl+e:Eh()+e}async function Oh(e,t,n){if(ja)return Ih(e,t,n);const r=Wa("/agents/hdsp_rag/chat/stream"),i={"Content-Type":"application/json",Accept:"text/event-stream"};Ae.token&&(i.Authorization=`Bearer ${Ae.token}`);const s=await fetch(r,{method:"POST",headers:i,body:JSON.stringify(e),signal:n});if(s.status===401)throw Ua(),new Error("401 unauthorized — 토큰 갱신 요청");if(!s.ok){const u=await s.text();throw new Error(`backend ${s.status}: ${u.slice(0,300)}`)}if(!s.body)throw new Error("no response body");const o=s.body.getReader(),a=new TextDecoder;let l="";for(;;){const{value:u,done:f}=await o.read();if(f)break;l+=a.decode(u,{stream:!0});let g;for(;(g=l.indexOf(`
64
64
 
65
65
  `))!==-1;){const y=l.slice(0,g);l=l.slice(g+2);const _=Rh(y);_&&t(_)}}}async function $h(e,t){if(ja)return await new Promise(s=>setTimeout(s,600)),{summary:`## 세션 목표
66
66
  사용자는 이전 대화 맥락을 유지하면서 추가 질문을 이어가려 합니다.
@@ -90,5 +90,5 @@ spark-submit \\
90
90
  | Driver | 2g ~ 4g |
91
91
  | Executor | 4g ~ 8g |
92
92
 
93
- executor 메모리는 노드 메모리의 80% 이내로 두는 것을 권장합니다.`}function Qt(e,t){return new Promise((n,r)=>{if(t!=null&&t.aborted)return r(new Error("aborted"));const i=setTimeout(n,e);t==null||t.addEventListener("abort",()=>{clearTimeout(i),r(new Error("aborted"))})})}const Mi="bdp-agent-conversations-v1",Ga=50;function Co(){try{const e=localStorage.getItem(Mi);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}function Mr(e){try{localStorage.setItem(Mi,JSON.stringify(e.slice(0,Ga)))}catch{}}function qa(e){const t=e.trim().replace(/\s+/g," ");return t.length>36?t.slice(0,36)+"…":t}function Lh(){const e=be(Co());function t(){e.value=Co()}function n(o){const a=e.value.filter(l=>l.id!==o.id);a.unshift(o),e.value=a.slice(0,Ga),Mr(e.value)}function r(o){e.value=e.value.filter(a=>a.id!==o),Mr(e.value)}function i(){e.value=[],Mr([])}function s(o){return e.value.find(a=>a.id===o)}return typeof window!="undefined"&&window.addEventListener("storage",o=>{o.key===Mi&&t()}),{items:e,refresh:t,upsert:n,remove:r,clearAll:i,get:s,shortTitle:qa}}let Ph=0;function So(){return`m-${Date.now()}-${++Ph}`}const Nh=1.5,Mh=6e4,zh=e=>Math.ceil(e*Nh);function Fh(){const e=be([]),t=be("knowledge"),n=be(!1),r=be(null),i=be(null),s=be(""),o=be(null),a=be(0);let l=null,u=0;const f=Lh();function g(){if(!r.value||e.value.length===0)return;const L=e.value.find(N=>N.role==="user"),I=L?qa(L.content):"(빈 대화)",K={id:r.value,title:I,messages:[...e.value],createdAt:u||Date.now(),updatedAt:Date.now(),summary:o.value||void 0,summarizedThrough:a.value||void 0};f.upsert(K)}function y(L,I,K,N=!1){const q=L.statusHistory||(L.statusHistory=[]);N&&q.forEach(oe=>oe.fade=!0),q.push({text:I,icon:K})}async function _(L){var h;if(n.value)return;i.value=null,u||(u=Date.now()),e.value.push({id:So(),role:"user",content:L});const I={id:So(),role:"assistant",content:"",isStreaming:!0,statusHistory:[],toolProcessing:!1};e.value.push(I),n.value=!0,l=new AbortController;const K=e.value.slice(0,-2),N=K.slice(a.value).filter(p=>(p.role==="user"||p.role==="assistant")&&!p.error&&!!p.content).map(p=>({role:p.role,content:p.content})),q=(((h=o.value)==null?void 0:h.length)||0)+N.reduce((p,d)=>p+d.content.length,0)+L.length,oe=zh(q);let _e=o.value,Me=N;if(oe>Mh&&N.length>0){y(I,"이전 대화 요약 중...","summarize");try{const p=await $h({messages:N,previous_summary:o.value||null},l.signal);_e=p.summary,o.value=p.summary,a.value=K.length,Me=[],y(I,`이전 대화 ${p.message_count}건 요약 완료`,"summarize",!0)}catch(p){const d=p instanceof Error?p.message:String(p);console.warn("summarize failed, falling back to raw history",d),y(I,"요약 실패 — 원문으로 진행","warning",!0)}}const ye=[];_e&&(ye.push({role:"user",content:`[이전 대화 요약 — 참고용 컨텍스트]
94
- ${_e}`}),ye.push({role:"assistant",content:"이전 대화 요약을 확인했습니다. 이어서 답변하겠습니다."})),ye.push(...Me);try{await Oh({message:L,conversation_id:r.value,history_messages:ye,mode:t.value},p=>{const d=e.value[e.value.length-1];if(p.event==="ready"){r.value=p.data.conversationId;return}const b=p.data||{};if(typeof b.content=="string"&&b.content&&(d.content+=b.content,d.toolProcessing=!1),b.status){const T={text:b.status,icon:b.icon},O=d.statusHistory||(d.statusHistory=[]);b.fade_previous&&O.forEach(A=>A.fade=!0),O.push(T),d.toolProcessing=!1}b.tool_processing&&(d.toolProcessing=!0),b.done&&(d.isStreaming=!1,d.toolProcessing=!1,d.statusHistory&&d.statusHistory.length&&d.statusHistory.forEach(T=>T.fade=!0),b.error&&(d.error="오류가 발생했습니다."))},l.signal)}catch(p){const d=e.value[e.value.length-1],b=(p==null?void 0:p.name)==="AbortError"||p instanceof Error&&/abort/i.test(p.message);d.isStreaming=!1,d.toolProcessing=!1,d.statusHistory&&d.statusHistory.length&&d.statusHistory.forEach(T=>T.fade=!0),b?d.content||(d.content="_(취소되었습니다)_"):(d.error=p instanceof Error?p.message:String(p),i.value=d.error||null)}finally{n.value=!1,l=null;const p=e.value[e.value.length-1];p&&(p.isStreaming=!1,p.toolProcessing=!1),g()}await dn()}function w(){e.value=[],r.value=null,i.value=null,u=0,o.value=null,a.value=0}function S(L){const I=f.get(L);I&&(e.value=I.messages.map(K=>({...K,isStreaming:!1,toolProcessing:!1,statusHistory:(K.statusHistory||[]).map(N=>({...N,fade:!0}))})),r.value=I.id,u=I.createdAt,i.value=null,o.value=I.summary||null,a.value=I.summarizedThrough||0)}function k(L){f.remove(L),r.value===L&&w()}function F(){l==null||l.abort()}function $(L){if(n.value){Ch(L.meta);return}const I=(L.prompt||"").trim();I&&(L.newConversation!==!1&&w(),L.mode&&(t.value=L.mode),L.autoSend!==!1?_(I):s.value=I)}return{messages:e,mode:t,busy:n,convId:r,error:i,pendingInput:s,send:_,reset:w,stop:F,runPrompt:$,historyItems:f.items,clearHistory:f.clearAll,loadConversation:S,deleteConversation:k}}const Bh={name:"App",components:{MessageItem:uh,ChatInput:mh,HistoryPanel:bh},setup(){const e=Fh(),t=be(null),n=be(!1),r=["EMR Serverless 메모리 설정 방법","Airflow DAG 실패 원인 분석","BDP 테이블 스키마 조회 예시","Spark executor 튜닝 가이드"];function i(){const o=t.value;o&&(o.scrollTop=o.scrollHeight)}Vo(()=>{i(),kh(e.runPrompt)}),ac(i),ar(e.messages,()=>i(),{deep:!0});function s(){e.pendingInput.value=""}return{...e,scrollEl:t,suggestions:r,historyOpen:n,onPrefillConsumed:s}}};var Hh=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"cp-root"},[n("div",{staticClass:"cp-body"},[n("section",{staticClass:"cp-chat"},[n("div",{staticClass:"cp-actions"},[n("button",{staticClass:"cp-icon-btn",attrs:{type:"button","aria-label":"새 대화",title:"새 대화"},on:{click:t.reset}},[n("svg",{attrs:{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("path",{attrs:{d:"M12 20h9"}}),n("path",{attrs:{d:"M16.5 3.5a2.121 2.121 0 1 1 3 3L7 19l-4 1 1-4 12.5-12.5z"}})])]),n("button",{staticClass:"cp-icon-btn",attrs:{type:"button","aria-pressed":t.historyOpen,"aria-label":t.historyOpen?"이력 닫기":"이력 열기",title:t.historyOpen?"이력 닫기":"이력 열기"},on:{click:function(r){t.historyOpen=!t.historyOpen}}},[n("svg",{attrs:{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("path",{attrs:{d:"M3 12a9 9 0 1 0 3-6.7L3 8"}}),n("path",{attrs:{d:"M3 3v5h5"}}),n("path",{attrs:{d:"M12 7v5l3 2"}})])])]),n("main",{ref:"scrollEl",staticClass:"cp-main"},[t.messages.length?n("div",{staticClass:"cp-list"},t._l(t.messages,function(r){return n("MessageItem",{key:r.id,attrs:{message:r}})}),1):n("div",{staticClass:"cp-empty"},[n("div",{staticClass:"cp-empty-title"},[t._v("무엇을 도와드릴까요?")]),n("p",{staticClass:"cp-empty-sub"},[t._v("사내 가이드·테이블 메타데이터를 검색해서 답해드립니다.")]),n("div",{staticClass:"cp-suggestions"},t._l(t.suggestions,function(r){return n("button",{key:r,staticClass:"cp-sug",attrs:{disabled:t.busy,type:"button"},on:{click:function(i){return t.send(r)}}},[t._v(t._s(r))])}),0)])]),n("ChatInput",{attrs:{busy:t.busy,"prefill-text":t.pendingInput},on:{submit:t.send,cancel:t.stop,"prefill-consumed":t.onPrefillConsumed}})],1),t.historyOpen?n("HistoryPanel",{staticClass:"cp-history",attrs:{items:t.historyItems,"active-id":t.convId},on:{select:t.loadConversation,delete:t.deleteConversation,clear:t.clearHistory}}):t._e()],1)])},Uh=[],jh=Ht(Bh,Hh,Uh,!1,null,null);const Wh=jh.exports;ne.config.productionTip=!1;new ne({render:e=>e(Wh)}).$mount("#app");Th();export{Of as _,Fp as p};
93
+ executor 메모리는 노드 메모리의 80% 이내로 두는 것을 권장합니다.`}function Qt(e,t){return new Promise((n,r)=>{if(t!=null&&t.aborted)return r(new Error("aborted"));const i=setTimeout(n,e);t==null||t.addEventListener("abort",()=>{clearTimeout(i),r(new Error("aborted"))})})}const Mi="bdp-agent-conversations-v1",Ga=50;function Co(){try{const e=localStorage.getItem(Mi);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}function Mr(e){try{localStorage.setItem(Mi,JSON.stringify(e.slice(0,Ga)))}catch{}}function qa(e){const t=e.trim().replace(/\s+/g," ");return t.length>36?t.slice(0,36)+"…":t}function Lh(){const e=be(Co());function t(){e.value=Co()}function n(o){const a=e.value.filter(l=>l.id!==o.id);a.unshift(o),e.value=a.slice(0,Ga),Mr(e.value)}function r(o){e.value=e.value.filter(a=>a.id!==o),Mr(e.value)}function i(){e.value=[],Mr([])}function s(o){return e.value.find(a=>a.id===o)}return typeof window!="undefined"&&window.addEventListener("storage",o=>{o.key===Mi&&t()}),{items:e,refresh:t,upsert:n,remove:r,clearAll:i,get:s,shortTitle:qa}}let Ph=0;function So(){return`m-${Date.now()}-${++Ph}`}const Nh=1.5,Mh=6e4,zh=e=>Math.ceil(e*Nh);function Bh(){const e=be([]),t=be("knowledge"),n=be(!1),r=be(null),i=be(null),s=be(""),o=be(null),a=be(0);let l=null,u=0;const f=Lh();function g(){if(!r.value||e.value.length===0)return;const P=e.value.find(D=>D.role==="user"),I=P?qa(P.content):"(빈 대화)",K={id:r.value,title:I,messages:[...e.value],createdAt:u||Date.now(),updatedAt:Date.now(),summary:o.value||void 0,summarizedThrough:a.value||void 0};f.upsert(K)}function y(P,I,K,D=!1){const q=P.statusHistory||(P.statusHistory=[]);D&&q.forEach(oe=>oe.fade=!0),q.push({text:I,icon:K})}async function _(P){var d;if(n.value)return;i.value=null,u||(u=Date.now()),e.value.push({id:So(),role:"user",content:P});const I={id:So(),role:"assistant",content:"",isStreaming:!0,statusHistory:[],toolProcessing:!1};e.value.push(I),n.value=!0,l=new AbortController;const K=e.value.slice(0,-2),D=[];for(const p of K.slice(a.value))if(!(p.error||!p.content)){if(p.role==="user")D.push({role:"user",content:p.content});else if(p.role==="assistant"){for(const h of p.toolMemory||[])D.push({role:"tool",name:h.name,content:JSON.stringify(h.result)});D.push({role:"assistant",content:p.content})}}const q=(((d=o.value)==null?void 0:d.length)||0)+D.reduce((p,h)=>p+h.content.length,0)+P.length,oe=zh(q);let _e=o.value,Me=D;if(oe>Mh&&D.length>0){y(I,"이전 대화 요약 중...","summarize");try{const p=await $h({messages:D,previous_summary:o.value||null},l.signal);_e=p.summary,o.value=p.summary,a.value=K.length,Me=[],y(I,`이전 대화 ${p.message_count}건 요약 완료`,"summarize",!0)}catch(p){const h=p instanceof Error?p.message:String(p);console.warn("summarize failed, falling back to raw history",h),y(I,"요약 실패 — 원문으로 진행","warning",!0)}}const ye=[];_e&&(ye.push({role:"user",content:`[이전 대화 요약 — 참고용 컨텍스트]
94
+ ${_e}`}),ye.push({role:"assistant",content:"이전 대화 요약을 확인했습니다. 이어서 답변하겠습니다."})),ye.push(...Me);try{await Oh({message:P,conversation_id:r.value,history_messages:ye,mode:t.value},p=>{const h=e.value[e.value.length-1];if(p.event==="ready"){r.value=p.data.conversationId;return}const b=p.data||{};if(b.type==="input_masked"){for(let k=e.value.length-1;k>=0;k--){const E=e.value[k];if(E.role==="user"){e.value.splice(k,1,{...E,content:b.masked_text,maskedTypes:b.detected_types||[]});break}}return}if(b.tool_memory){(h.toolMemory||(h.toolMemory=[])).push(b.tool_memory);return}if(typeof b.content=="string"&&b.content&&(h.content+=b.content,h.toolProcessing=!1),b.status){const k={text:b.status,icon:b.icon},E=h.statusHistory||(h.statusHistory=[]);b.fade_previous&&E.forEach(A=>A.fade=!0),E.push(k),h.toolProcessing=!1}b.tool_processing&&(h.toolProcessing=!0),b.done&&(h.isStreaming=!1,h.toolProcessing=!1,h.statusHistory&&h.statusHistory.length&&h.statusHistory.forEach(k=>k.fade=!0),b.error&&(h.error="오류가 발생했습니다."))},l.signal)}catch(p){const h=e.value[e.value.length-1],b=(p==null?void 0:p.name)==="AbortError"||p instanceof Error&&/abort/i.test(p.message);h.isStreaming=!1,h.toolProcessing=!1,h.statusHistory&&h.statusHistory.length&&h.statusHistory.forEach(k=>k.fade=!0),b?h.content||(h.content="_(취소되었습니다)_"):(h.error=p instanceof Error?p.message:String(p),i.value=h.error||null)}finally{n.value=!1,l=null;const p=e.value[e.value.length-1];p&&(p.isStreaming=!1,p.toolProcessing=!1),g()}await dn()}function w(){e.value=[],r.value=null,i.value=null,u=0,o.value=null,a.value=0}function S(P){const I=f.get(P);I&&(e.value=I.messages.map(K=>({...K,isStreaming:!1,toolProcessing:!1,statusHistory:(K.statusHistory||[]).map(D=>({...D,fade:!0}))})),r.value=I.id,u=I.createdAt,i.value=null,o.value=I.summary||null,a.value=I.summarizedThrough||0)}function T(P){f.remove(P),r.value===P&&w()}function B(){l==null||l.abort()}function $(P){if(n.value){Ch(P.meta);return}const I=(P.prompt||"").trim();I&&(P.newConversation!==!1&&w(),P.mode&&(t.value=P.mode),P.autoSend!==!1?_(I):s.value=I)}return{messages:e,mode:t,busy:n,convId:r,error:i,pendingInput:s,send:_,reset:w,stop:B,runPrompt:$,historyItems:f.items,clearHistory:f.clearAll,loadConversation:S,deleteConversation:T}}const Fh={name:"App",components:{MessageItem:uh,ChatInput:mh,HistoryPanel:bh},setup(){const e=Bh(),t=be(null),n=be(!1),r=["EMR Serverless 메모리 설정 방법","Airflow DAG 실패 원인 분석","BDP 테이블 스키마 조회 예시","Spark executor 튜닝 가이드"];function i(){const o=t.value;o&&(o.scrollTop=o.scrollHeight)}Vo(()=>{i(),kh(e.runPrompt)}),ac(i),ar(e.messages,()=>i(),{deep:!0});function s(){e.pendingInput.value=""}return{...e,scrollEl:t,suggestions:r,historyOpen:n,onPrefillConsumed:s}}};var Hh=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"cp-root"},[n("div",{staticClass:"cp-body"},[n("section",{staticClass:"cp-chat"},[n("div",{staticClass:"cp-actions"},[n("button",{staticClass:"cp-icon-btn",attrs:{type:"button","aria-label":"새 대화",title:"새 대화"},on:{click:t.reset}},[n("svg",{attrs:{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("path",{attrs:{d:"M12 20h9"}}),n("path",{attrs:{d:"M16.5 3.5a2.121 2.121 0 1 1 3 3L7 19l-4 1 1-4 12.5-12.5z"}})])]),n("button",{staticClass:"cp-icon-btn",attrs:{type:"button","aria-pressed":t.historyOpen,"aria-label":t.historyOpen?"이력 닫기":"이력 열기",title:t.historyOpen?"이력 닫기":"이력 열기"},on:{click:function(r){t.historyOpen=!t.historyOpen}}},[n("svg",{attrs:{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("path",{attrs:{d:"M3 12a9 9 0 1 0 3-6.7L3 8"}}),n("path",{attrs:{d:"M3 3v5h5"}}),n("path",{attrs:{d:"M12 7v5l3 2"}})])])]),n("main",{ref:"scrollEl",staticClass:"cp-main"},[t.messages.length?n("div",{staticClass:"cp-list"},t._l(t.messages,function(r){return n("MessageItem",{key:r.id,attrs:{message:r}})}),1):n("div",{staticClass:"cp-empty"},[n("div",{staticClass:"cp-empty-title"},[t._v("무엇을 도와드릴까요?")]),n("p",{staticClass:"cp-empty-sub"},[t._v("사내 가이드·테이블 메타데이터를 검색해서 답해드립니다.")]),n("div",{staticClass:"cp-suggestions"},t._l(t.suggestions,function(r){return n("button",{key:r,staticClass:"cp-sug",attrs:{disabled:t.busy,type:"button"},on:{click:function(i){return t.send(r)}}},[t._v(t._s(r))])}),0)])]),n("ChatInput",{attrs:{busy:t.busy,"prefill-text":t.pendingInput},on:{submit:t.send,cancel:t.stop,"prefill-consumed":t.onPrefillConsumed}})],1),t.historyOpen?n("HistoryPanel",{staticClass:"cp-history",attrs:{items:t.historyItems,"active-id":t.convId},on:{select:t.loadConversation,delete:t.deleteConversation,clear:t.clearHistory}}):t._e()],1)])},Uh=[],jh=Ht(Fh,Hh,Uh,!1,null,null);const Wh=jh.exports;ne.config.productionTip=!1;new ne({render:e=>e(Wh)}).$mount("#app");Th();export{Of as _,Bp as p};