From f2bd6e4d6c18fa30027a6727fe602fd6a4729549 Mon Sep 17 00:00:00 2001 From: ember <1279347317@qq.com> Date: Tue, 6 Jan 2026 15:47:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E5=A5=97=E7=AC=94?= =?UTF-8?q?=E8=AE=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/css/133.0d9e2906.css | 1 + dist/css/211.d6859932.css | 1 - dist/css/859.043247f2.css | 1 - dist/css/924.1c0bd8d0.css | 1 + dist/index.html | 2 +- dist/js/{211.543873f5.js => 133.a5084be0.js} | 22 +-- dist/js/259.4d766dbd.js | 8 + dist/js/{416.6197103d.js => 416.9258341d.js} | 2 +- dist/js/705.83efab9f.js | 14 -- dist/js/{765.d04a9622.js => 765.fbd42649.js} | 2 +- dist/js/859.bbec9975.js | 27 --- dist/js/{868.a56a31a0.js => 868.f069e40b.js} | 12 +- dist/js/924.5a6ab73d.js | 27 +++ dist/js/{938.78cb062b.js => 938.77996131.js} | 2 +- dist/js/986.974a561f.js | 22 +++ dist/js/986.ef9ba720.js | 16 -- dist/js/{app.278b6016.js => app.e693087c.js} | 4 +- src/views/ListDetailView.vue | 182 ++++++++++++++++++- src/views/ListsView.vue | 28 ++- 19 files changed, 281 insertions(+), 93 deletions(-) create mode 100644 dist/css/133.0d9e2906.css delete mode 100644 dist/css/211.d6859932.css delete mode 100644 dist/css/859.043247f2.css create mode 100644 dist/css/924.1c0bd8d0.css rename dist/js/{211.543873f5.js => 133.a5084be0.js} (54%) create mode 100644 dist/js/259.4d766dbd.js rename dist/js/{416.6197103d.js => 416.9258341d.js} (99%) delete mode 100644 dist/js/705.83efab9f.js rename dist/js/{765.d04a9622.js => 765.fbd42649.js} (99%) delete mode 100644 dist/js/859.bbec9975.js rename dist/js/{868.a56a31a0.js => 868.f069e40b.js} (86%) create mode 100644 dist/js/924.5a6ab73d.js rename dist/js/{938.78cb062b.js => 938.77996131.js} (99%) create mode 100644 dist/js/986.974a561f.js delete mode 100644 dist/js/986.ef9ba720.js rename dist/js/{app.278b6016.js => app.e693087c.js} (72%) diff --git a/dist/css/133.0d9e2906.css b/dist/css/133.0d9e2906.css new file mode 100644 index 0000000..73a389e --- /dev/null +++ b/dist/css/133.0d9e2906.css @@ -0,0 +1 @@ +.line-clamp-2[data-v-5b59d2ce]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden} \ No newline at end of file diff --git a/dist/css/211.d6859932.css b/dist/css/211.d6859932.css deleted file mode 100644 index e9a220a..0000000 --- a/dist/css/211.d6859932.css +++ /dev/null @@ -1 +0,0 @@ -.line-clamp-2[data-v-1b91623e]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden} \ No newline at end of file diff --git a/dist/css/859.043247f2.css b/dist/css/859.043247f2.css deleted file mode 100644 index ed11a5c..0000000 --- a/dist/css/859.043247f2.css +++ /dev/null @@ -1 +0,0 @@ -.word-card:hover h3[data-v-614c94c1]{color:var(--n-color-primary)} \ No newline at end of file diff --git a/dist/css/924.1c0bd8d0.css b/dist/css/924.1c0bd8d0.css new file mode 100644 index 0000000..e430005 --- /dev/null +++ b/dist/css/924.1c0bd8d0.css @@ -0,0 +1 @@ +.word-card:hover h3[data-v-7038ea55]{color:var(--n-color-primary)}.note-detail-modal .markdown-body strong{font-weight:700;color:#4f46e5}.dark .note-detail-modal .markdown-body strong{color:#818cf8}.note-detail-modal .markdown-body{line-height:1.6;font-size:1rem}.note-detail-modal .markdown-body p{margin-bottom:.5em}.note-detail-modal .markdown-body ul{list-style-type:disc;padding-left:1.5em;margin-bottom:.5em}.note-detail-modal .markdown-body ol{list-style-type:decimal;padding-left:1.5em;margin-bottom:.5em}.note-detail-modal .markdown-body li{margin-bottom:.1em;padding-left:.25em}.note-detail-modal .markdown-body li>p{margin-top:.1em;margin-bottom:.1em}.note-detail-modal .markdown-body ol ul,.note-detail-modal .markdown-body ul ul{list-style-type:circle;margin-top:.25em}.note-detail-modal .markdown-body ol ol,.note-detail-modal .markdown-body ul ol{list-style-type:lower-roman;margin-top:.25em}.note-detail-modal .markdown-body blockquote{border-left:4px solid #e5e7eb;padding-left:1rem;font-style:italic;color:#6b7280;margin-bottom:1em;background-color:#f9fafb;padding-top:.5em;padding-bottom:.5em;border-radius:0 .25rem .25rem 0}.dark .note-detail-modal .markdown-body blockquote{border-color:#374151;color:#9ca3af;background-color:hsla(0,0%,100%,.05)}.note-detail-modal .markdown-body code{background-color:rgba(175,184,193,.2);padding:.2em .4em;border-radius:6px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:85%}.note-detail-modal .markdown-body pre code{background-color:transparent;padding:0} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 3b99b48..da28a18 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -Word Helper
\ No newline at end of file +Word Helper
\ No newline at end of file diff --git a/dist/js/211.543873f5.js b/dist/js/133.a5084be0.js similarity index 54% rename from dist/js/211.543873f5.js rename to dist/js/133.a5084be0.js index 5344b8b..96a9246 100644 --- a/dist/js/211.543873f5.js +++ b/dist/js/133.a5084be0.js @@ -1,10 +1,17 @@ -(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[211],{1576:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=1e3,t=6e4,n=36e5,a="millisecond",r="second",i="minute",s="hour",l="day",o="week",u="month",c="quarter",d="year",f="date",v="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(n)+e},g={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),a=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+y(a,2,"0")+":"+y(r,2,"0")},m:function e(t,n){if(t.date()1)return e(s[0])}else{var l=t.name;x[l]=t,r=l}return!a&&r&&(k=r),r||!a&&k},$=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new A(n)},R=g;R.l=_,R.i=w,R.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var A=function(){function m(e){this.$L=_(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(R.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var a=t.match(h);if(a){var r=a[2]-1||0,i=(a[7]||"0").substring(0,3);return n?new Date(Date.UTC(a[1],r,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)):new Date(a[1],r,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return R},y.isValid=function(){return!(this.$d.toString()===v)},y.isSame=function(e,t){var n=$(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return $(e)=t?e:""+Array(t+1-a.length).join(n)+e},g={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),a=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+y(a,2,"0")+":"+y(r,2,"0")},m:function e(t,n){if(t.date()1)return e(s[0])}else{var l=t.name;x[l]=t,r=l}return!a&&r&&(k=r),r||!a&&k},$=function(e,t){if(w(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new A(n)},R=g;R.l=_,R.i=w,R.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var A=function(){function m(e){this.$L=_(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(R.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var a=t.match(h);if(a){var r=a[2]-1||0,i=(a[7]||"0").substring(0,3);return n?new Date(Date.UTC(a[1],r,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)):new Date(a[1],r,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return R},y.isValid=function(){return!(this.$d.toString()===v)},y.isSame=function(e,t){var n=$(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return $(e)P()(e).format("YYYY-MM-DD"),_e=async(e=!1)=>{if(!j.value){j.value=!0;try{const t=await _.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/list",{params:{page:se.value,limit:9,own:oe.value,search:ce.value}}),n=t.data.data||t.data,a=n.list||[],r=n.pagination||{};ue.value=!!n.admin,S.value=e?[...S.value,...a]:a,le.value=se.value<(r.total_pages||0)}catch(t){console.error(t),n.error("加载词单失败")}finally{j.value=!1}}},$e=()=>{le.value&&(se.value++,_e(!0))},Re=()=>{se.value=1,S.value=[],le.value=!0,_e()};(0,a.wB)(oe,()=>{se.value=1,S.value=[],le.value=!0,_e()});const Ae=e=>{t.push({name:"list_detail",query:{list_id:e}})},Ce=()=>{fe.value="create",pe.id=null,pe.name="",pe.note="",de.value=!0},Me=e=>{fe.value="edit",pe.id=e.id,pe.name=e.name,pe.note=e.note,de.value=!0},Se=e=>{e.preventDefault(),he.value?.validate(async e=>{if(!e){ve.value=!0;try{const e={name:pe.name,note:pe.note};"edit"===fe.value&&(e.list_id=pe.id),await _.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/adjust",e),n.success("create"===fe.value?"创建成功":"更新成功"),de.value=!1,se.value=1,_e()}catch(t){console.error(t),n.error("操作失败")}finally{ve.value=!1}}})},Fe=async e=>{try{await _.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/del",{list_id:e.id}),n.success("删除成功"),1===S.value.length&&se.value>1&&se.value--,se.value=1,_e()}catch(t){console.error(t),n.error("删除失败")}},ze=e=>{xe.listId=e.id,xe.wordIds=[],ke.value=[],me.value=!0},De=async e=>{if(!e){const e=new Set(xe.wordIds);return void(ke.value=ke.value.filter(t=>e.has(t.value)))}ge.value=!0;try{const t=await _.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/search",{keyword:e,page:1,limit:5}),n=t.data.data||t.data,a=(n.list||[]).map(e=>({label:e.word+(e.translations&&e.translations[0]?` (${e.translations[0].meaning})`:""),value:e.id})),r=new Set(xe.wordIds),i=ke.value.filter(e=>r.has(e.value)),s=[...i,...a],l=new Map;s.forEach(e=>l.set(e.value,e)),ke.value=Array.from(l.values())}catch(t){console.error("Search failed:",t)}finally{ge.value=!1}},je=async()=>{if(0!==xe.wordIds.length)if(xe.wordIds.length>50)n.warning("一次最多只能导入50个单词");else{ye.value=!0;try{const e=await _.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/add_word",{list_id:xe.listId,word_id:xe.wordIds}),t=e.data.data||e.data;n.success(`导入成功,新增 ${t.added_count} 个单词`),me.value=!1,_e()}catch(e){console.error("Import failed:",e),n.error(e.response?.data?.message||"导入失败")}finally{ye.value=!1}}else n.warning("请至少选择一个单词")};return(0,a.sV)(()=>{document.title="我的词单 - Word Helper",_e()}),(e,t)=>{const n=(0,a.gN)("motion");return(0,a.uX)(),(0,a.CE)("div",O,[(0,a.bo)(((0,a.uX)(),(0,a.CE)("div",W,[(0,a.Lk)("div",null,[(0,a.Lk)("div",L,[(0,a.bF)((0,r.R1)($.A),{class:"w-8 h-8 text-primary"}),t[11]||(t[11]=(0,a.Lk)("h1",{class:"text-3xl font-bold text-gray-900 dark:text-white"},"我的词单",-1))]),t[12]||(t[12]=(0,a.Lk)("p",{class:"text-gray-500 dark:text-gray-400"},"管理您的自建词汇集合。您最多可以创建10个词单。",-1))]),(0,a.Lk)("div",T,[(0,a.Lk)("div",I,[(0,a.bF)((0,r.R1)(u.A),{value:ce.value,"onUpdate:value":t[0]||(t[0]=e=>ce.value=e),placeholder:"输入词单名...",onKeyup:(0,i.jR)(Re,["enter"]),clearable:"",onClear:Re},{prefix:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),{component:(0,r.R1)(R.A)},null,8,["component"])]),_:1},8,["value"]),(0,a.bF)((0,r.R1)(d.Ay),{onClick:Re},{default:(0,a.k6)(()=>[...t[13]||(t[13]=[(0,a.eW)("搜索",-1)])]),_:1})]),(0,a.Lk)("div",K,[t[14]||(t[14]=(0,a.Lk)("span",{class:"text-sm text-gray-600 dark:text-gray-300"},"仅自建",-1)),(0,a.bF)((0,r.R1)(f.A),{value:oe.value,"onUpdate:value":t[1]||(t[1]=e=>oe.value=e),size:"small"},null,8,["value"])]),(0,a.bF)((0,r.R1)(d.Ay),{type:"primary",size:"medium",onClick:Ce},{icon:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(A.A))]),_:1})]),default:(0,a.k6)(()=>[t[15]||(t[15]=(0,a.eW)(" 创建词单 ",-1))]),_:1})])])),[[n]]),j.value&&!S.value.length?((0,a.uX)(),(0,a.CE)("div",N,[(0,a.bF)((0,r.R1)(v.A),{size:"large"})])):S.value.length?((0,a.uX)(),(0,a.CE)("div",Y,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(S.value,(e,l)=>(0,a.bo)(((0,a.uX)(),(0,a.Wv)((0,r.R1)(p.Ay),{key:e.id,class:"group cursor-pointer hover:shadow-lg transition-all duration-300 border-gray-100 dark:border-gray-800",bordered:!0,size:"medium","content-style":"display: flex; flex-direction: column; height: 100%;",initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:50*l}},onClick:t=>Ae(e.id)},{header:(0,a.k6)(()=>[(0,a.Lk)("div",B,[(0,a.Lk)("div",H,[(0,a.Lk)("h3",{class:"text-lg font-bold text-gray-900 dark:text-white truncate",title:e.name},(0,s.v_)(e.name),9,q)]),(0,a.Lk)("div",U,[(0,a.bF)((0,r.R1)(m.Ay),{type:e.official?"success":"info",size:"small",round:"",bordered:!1},{default:(0,a.k6)(()=>[(0,a.eW)((0,s.v_)(e.official?"官方":"自建"),1)]),_:2},1032,["type"]),e.has_note?((0,a.uX)(),(0,a.Wv)((0,r.R1)(m.Ay),{key:0,type:"warning",size:"small",round:"",bordered:!1},{default:(0,a.k6)(()=>[...t[18]||(t[18]=[(0,a.eW)(" 配套笔记 ",-1)])]),_:1})):(0,a.Q3)("",!0)])])]),default:(0,a.k6)(()=>[(0,a.Lk)("div",X,[(0,a.Lk)("p",V,(0,s.v_)(e.note||"暂无备注"),1),(0,a.Lk)("div",Q,[(0,a.Lk)("div",J,[(0,a.Lk)("span",Z,[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(C.A),{size:"14"})]),_:1}),(0,a.eW)(" "+(0,s.v_)(e.word_count)+" 词 ",1)]),(0,a.Lk)("span",G,[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(M.A),{size:"14"})]),_:1}),(0,a.eW)(" "+(0,s.v_)(we(e.created_at)),1)])]),!e.official||ue.value?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"flex items-center gap-1 opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity",onClick:t[3]||(t[3]=(0,i.D$)(()=>{},["stop"]))},[(0,a.bF)((0,r.R1)(d.Ay),{quaternary:"",circle:"",size:"small",type:"success",onClick:t=>ze(e),title:"导入单词"},{icon:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(F),{size:"16"})]),_:1})]),_:1},8,["onClick"]),(0,a.bF)((0,r.R1)(d.Ay),{quaternary:"",circle:"",size:"small",type:"primary",onClick:t=>Me(e),title:"编辑词单"},{icon:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(z.A),{size:"16"})]),_:1})]),_:1},8,["onClick"]),(0,a.bF)((0,r.R1)(y.A),{onPositiveClick:t=>Fe(e),"negative-text":"取消","positive-text":"确定"},{trigger:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(d.Ay),{quaternary:"",circle:"",size:"small",type:"error",title:"删除词单"},{icon:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(D.A),{size:"16"})]),_:1})]),_:1})]),default:(0,a.k6)(()=>[t[19]||(t[19]=(0,a.eW)(" 确认删除该词单吗? ",-1))]),_:1},8,["onPositiveClick"])])):(0,a.Q3)("",!0)])])]),_:2},1032,["enter","onClick"])),[[n]])),128))])):((0,a.uX)(),(0,a.CE)("div",E,[(0,a.bF)((0,r.R1)(h.A),{description:"暂无词单数据",size:"large"},{extra:(0,a.k6)(()=>[oe.value?((0,a.uX)(),(0,a.Wv)((0,r.R1)(d.Ay),{key:0,size:"small",onClick:t[2]||(t[2]=e=>oe.value=!1)},{default:(0,a.k6)(()=>[...t[16]||(t[16]=[(0,a.eW)(" 查看所有词单 ",-1)])]),_:1})):((0,a.uX)(),(0,a.Wv)((0,r.R1)(d.Ay),{key:1,type:"primary",size:"medium",onClick:Ce},{default:(0,a.k6)(()=>[...t[17]||(t[17]=[(0,a.eW)(" 创建第一个词单 ",-1)])]),_:1}))]),_:1})])),S.value.length>0?((0,a.uX)(),(0,a.CE)("div",ee,[le.value?((0,a.uX)(),(0,a.Wv)((0,r.R1)(d.Ay),{key:0,loading:j.value,ghost:"",type:"primary",onClick:$e},{default:(0,a.k6)(()=>[...t[20]||(t[20]=[(0,a.eW)(" 加载更多 ",-1)])]),_:1},8,["loading"])):((0,a.uX)(),(0,a.CE)("span",te,"没有更多了"))])):(0,a.Q3)("",!0),(0,a.bF)((0,r.R1)(g.A),{show:de.value,"onUpdate:show":t[7]||(t[7]=e=>de.value=e),preset:"card",title:"create"===fe.value?"创建新词单":"编辑词单",class:"w-full max-w-md"},{footer:(0,a.k6)(()=>[(0,a.Lk)("div",ne,[(0,a.bF)((0,r.R1)(d.Ay),{onClick:t[6]||(t[6]=e=>de.value=!1)},{default:(0,a.k6)(()=>[...t[21]||(t[21]=[(0,a.eW)("取消",-1)])]),_:1}),(0,a.bF)((0,r.R1)(d.Ay),{type:"primary",loading:ve.value,onClick:Se},{default:(0,a.k6)(()=>[...t[22]||(t[22]=[(0,a.eW)(" 确定 ",-1)])]),_:1},8,["loading"])])]),default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(k.A),{ref_key:"formRef",ref:he,model:pe,rules:be,"label-placement":"left","label-width":"80","require-mark-placement":"right-hanging"},{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(x.Ay),{label:"名称",path:"name"},{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(u.A),{value:pe.name,"onUpdate:value":t[4]||(t[4]=e=>pe.name=e),placeholder:"请输入词单名称"},null,8,["value"])]),_:1}),(0,a.bF)((0,r.R1)(x.Ay),{label:"备注",path:"note"},{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(u.A),{value:pe.note,"onUpdate:value":t[5]||(t[5]=e=>pe.note=e),type:"textarea",placeholder:"请输入备注信息(可选)",autosize:{minRows:3,maxRows:5}},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["show","title"]),(0,a.bF)((0,r.R1)(g.A),{show:me.value,"onUpdate:show":t[10]||(t[10]=e=>me.value=e),preset:"card",title:"导入单词",class:"w-full max-w-lg"},{footer:(0,a.k6)(()=>[(0,a.Lk)("div",ie,[(0,a.bF)((0,r.R1)(d.Ay),{onClick:t[9]||(t[9]=e=>me.value=!1)},{default:(0,a.k6)(()=>[...t[25]||(t[25]=[(0,a.eW)("取消",-1)])]),_:1}),(0,a.bF)((0,r.R1)(d.Ay),{type:"primary",loading:ye.value,onClick:je},{default:(0,a.k6)(()=>[...t[26]||(t[26]=[(0,a.eW)(" 开始导入 ",-1)])]),_:1},8,["loading"])])]),default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(b.A),{type:"info",class:"mb-6","show-icon":""},{default:(0,a.k6)(()=>[...t[23]||(t[23]=[(0,a.eW)(" 一次性最多导入50个单词,已存在的单词将不会被再次导入。 ",-1)])]),_:1}),(0,a.Lk)("div",ae,[(0,a.Lk)("div",null,[t[24]||(t[24]=(0,a.Lk)("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"选择单词 (最多50个)",-1)),(0,a.bF)((0,r.R1)(w.A),{value:xe.wordIds,"onUpdate:value":t[8]||(t[8]=e=>xe.wordIds=e),multiple:"",filterable:"",remote:"",placeholder:"输入单词搜索并选择...",options:ke.value,loading:ge.value,onSearch:De,"max-tag-count":10,clearable:""},null,8,["value","options","loading"]),(0,a.Lk)("div",re," 已选: "+(0,s.v_)(xe.wordIds.length)+" / 50 ",1)])])]),_:1},8,["show"])])}}},le=n(71241);const oe=(0,le.A)(se,[["__scopeId","data-v-5b59d2ce"]]);var ue=oe},55727:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var a=n(45525); /** * @license lucide-vue-next v0.562.0 - ISC * @@ -22,18 +29,11 @@ * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const r=(0,a.A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},92211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return oe}});n(44114),n(18111),n(22489),n(61701),n(17642),n(58004),n(33853),n(45876),n(32475),n(15024),n(31698);var a=n(56768),r=n(90144),i=n(45130),s=n(24232),l=n(98728),o=n(97387),u=n(93913),c=n(59856),d=n(54880),f=n(43585),v=n(68042),h=n(9845),p=n(42517),m=n(92720),y=n(71168),g=n(8508),k=n(58911),x=n(52384),b=n(64498),w=n(19605),_=n(35720),$=n(57273),R=n(18169),A=n(19629),C=n(91733),M=n(55727),S=n(45525); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -const F=(0,S.A)("import",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m8 11 4 4 4-4",key:"1dohi6"}],["path",{d:"M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4",key:"1ywtjm"}]]);var z=n(96530),D=n(62784),j=n(1576),P=n.n(j);const O={class:"page-container max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},T={class:"flex flex-col md:flex-row md:items-center justify-between gap-4 mb-8",initial:{opacity:0,y:-20},enter:{opacity:1,y:0}},L={class:"flex items-center gap-3 mb-2"},W={class:"flex flex-col sm:flex-row items-start sm:items-center gap-4"},I={class:"flex items-center gap-2 w-full sm:w-auto"},K={class:"flex items-center gap-2 bg-white dark:bg-gray-800 px-4 py-2 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700"},N={key:0,class:"flex justify-center py-12"},E={key:1,class:"flex flex-col items-center justify-center py-16 text-center"},Y={key:2,class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"},B={class:"flex items-start justify-between gap-2"},H={class:"flex-1 min-w-0"},q=["title"],U={class:"flex-1 flex flex-col gap-4"},X={class:"text-gray-500 dark:text-gray-400 text-sm line-clamp-2 h-10"},V={class:"flex items-center justify-between mt-auto pt-4 border-t border-gray-50 dark:border-gray-800"},J={class:"flex items-center gap-4 text-xs text-gray-400"},Q={class:"flex items-center gap-1"},Z={class:"flex items-center gap-1"},G={key:3,class:"flex justify-center mt-8"},ee={key:1,class:"text-gray-400 text-sm"},te={class:"flex justify-end gap-3"},ne={class:"space-y-4"},ae={class:"mt-1 text-xs text-gray-500 text-right"},re={class:"flex justify-end gap-3"};var ie={__name:"ListsView",setup(e){const t=(0,l.rd)(),n=(0,o.J)(),S=(0,r.KR)([]),j=(0,r.KR)(!1),ie=(0,r.KR)(1),se=(0,r.KR)(!0),le=(0,r.KR)(!1),oe=(0,r.KR)(!1),ue=(0,r.KR)(""),ce=(0,r.KR)(!1),de=(0,r.KR)("create"),fe=(0,r.KR)(!1),ve=(0,r.KR)(null),he=(0,r.Kh)({id:null,name:"",note:""}),pe=(0,r.KR)(!1),me=(0,r.KR)(!1),ye=(0,r.KR)(!1),ge=(0,r.KR)([]),ke=(0,r.Kh)({listId:null,wordIds:[]}),xe={name:{required:!0,message:"请输入词单名称",trigger:["blur","input"]}},be=e=>P()(e).format("YYYY-MM-DD"),we=async(e=!1)=>{if(!j.value){j.value=!0;try{const t=await _.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/list",{params:{page:ie.value,limit:9,own:le.value,search:ue.value}}),n=t.data.data||t.data,a=n.list||[],r=n.pagination||{};oe.value=!!n.admin,S.value=e?[...S.value,...a]:a,se.value=ie.value<(r.total_pages||0)}catch(t){console.error(t),n.error("加载词单失败")}finally{j.value=!1}}},_e=()=>{se.value&&(ie.value++,we(!0))},$e=()=>{ie.value=1,S.value=[],se.value=!0,we()};(0,a.wB)(le,()=>{ie.value=1,S.value=[],se.value=!0,we()});const Re=e=>{t.push({name:"list_detail",query:{list_id:e}})},Ae=()=>{de.value="create",he.id=null,he.name="",he.note="",ce.value=!0},Ce=e=>{de.value="edit",he.id=e.id,he.name=e.name,he.note=e.note,ce.value=!0},Me=e=>{e.preventDefault(),ve.value?.validate(async e=>{if(!e){fe.value=!0;try{const e={name:he.name,note:he.note};"edit"===de.value&&(e.list_id=he.id),await _.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/adjust",e),n.success("create"===de.value?"创建成功":"更新成功"),ce.value=!1,ie.value=1,we()}catch(t){console.error(t),n.error("操作失败")}finally{fe.value=!1}}})},Se=async e=>{try{await _.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/del",{list_id:e.id}),n.success("删除成功"),1===S.value.length&&ie.value>1&&ie.value--,ie.value=1,we()}catch(t){console.error(t),n.error("删除失败")}},Fe=e=>{ke.listId=e.id,ke.wordIds=[],ge.value=[],pe.value=!0},ze=async e=>{if(!e){const e=new Set(ke.wordIds);return void(ge.value=ge.value.filter(t=>e.has(t.value)))}ye.value=!0;try{const t=await _.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/search",{keyword:e,page:1,limit:5}),n=t.data.data||t.data,a=(n.list||[]).map(e=>({label:e.word+(e.translations&&e.translations[0]?` (${e.translations[0].meaning})`:""),value:e.id})),r=new Set(ke.wordIds),i=ge.value.filter(e=>r.has(e.value)),s=[...i,...a],l=new Map;s.forEach(e=>l.set(e.value,e)),ge.value=Array.from(l.values())}catch(t){console.error("Search failed:",t)}finally{ye.value=!1}},De=async()=>{if(0!==ke.wordIds.length)if(ke.wordIds.length>50)n.warning("一次最多只能导入50个单词");else{me.value=!0;try{const e=await _.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/add_word",{list_id:ke.listId,word_id:ke.wordIds}),t=e.data.data||e.data;n.success(`导入成功,新增 ${t.added_count} 个单词`),pe.value=!1,we()}catch(e){console.error("Import failed:",e),n.error(e.response?.data?.message||"导入失败")}finally{me.value=!1}}else n.warning("请至少选择一个单词")};return(0,a.sV)(()=>{document.title="我的词单 - Word Helper",we()}),(e,t)=>{const n=(0,a.gN)("motion");return(0,a.uX)(),(0,a.CE)("div",O,[(0,a.bo)(((0,a.uX)(),(0,a.CE)("div",T,[(0,a.Lk)("div",null,[(0,a.Lk)("div",L,[(0,a.bF)((0,r.R1)($.A),{class:"w-8 h-8 text-primary"}),t[11]||(t[11]=(0,a.Lk)("h1",{class:"text-3xl font-bold text-gray-900 dark:text-white"},"我的词单",-1))]),t[12]||(t[12]=(0,a.Lk)("p",{class:"text-gray-500 dark:text-gray-400"},"管理您的自建词汇集合。您最多可以创建10个词单。",-1))]),(0,a.Lk)("div",W,[(0,a.Lk)("div",I,[(0,a.bF)((0,r.R1)(u.A),{value:ue.value,"onUpdate:value":t[0]||(t[0]=e=>ue.value=e),placeholder:"输入词单名...",onKeyup:(0,i.jR)($e,["enter"]),clearable:"",onClear:$e},{prefix:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),{component:(0,r.R1)(R.A)},null,8,["component"])]),_:1},8,["value"]),(0,a.bF)((0,r.R1)(d.Ay),{onClick:$e},{default:(0,a.k6)(()=>[...t[13]||(t[13]=[(0,a.eW)("搜索",-1)])]),_:1})]),(0,a.Lk)("div",K,[t[14]||(t[14]=(0,a.Lk)("span",{class:"text-sm text-gray-600 dark:text-gray-300"},"仅自建",-1)),(0,a.bF)((0,r.R1)(f.A),{value:le.value,"onUpdate:value":t[1]||(t[1]=e=>le.value=e),size:"small"},null,8,["value"])]),(0,a.bF)((0,r.R1)(d.Ay),{type:"primary",size:"medium",onClick:Ae},{icon:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(A.A))]),_:1})]),default:(0,a.k6)(()=>[t[15]||(t[15]=(0,a.eW)(" 创建词单 ",-1))]),_:1})])])),[[n]]),j.value&&!S.value.length?((0,a.uX)(),(0,a.CE)("div",N,[(0,a.bF)((0,r.R1)(v.A),{size:"large"})])):S.value.length?((0,a.uX)(),(0,a.CE)("div",Y,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(S.value,(e,l)=>(0,a.bo)(((0,a.uX)(),(0,a.Wv)((0,r.R1)(p.Ay),{key:e.id,class:"group cursor-pointer hover:shadow-lg transition-all duration-300 border-gray-100 dark:border-gray-800",bordered:!0,size:"medium","content-style":"display: flex; flex-direction: column; height: 100%;",initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:50*l}},onClick:t=>Re(e.id)},{header:(0,a.k6)(()=>[(0,a.Lk)("div",B,[(0,a.Lk)("div",H,[(0,a.Lk)("h3",{class:"text-lg font-bold text-gray-900 dark:text-white truncate",title:e.name},(0,s.v_)(e.name),9,q)]),(0,a.bF)((0,r.R1)(m.Ay),{type:e.official?"success":"info",size:"small",round:"",bordered:!1,class:"flex-shrink-0"},{default:(0,a.k6)(()=>[(0,a.eW)((0,s.v_)(e.official?"官方":"自建"),1)]),_:2},1032,["type"])])]),default:(0,a.k6)(()=>[(0,a.Lk)("div",U,[(0,a.Lk)("p",X,(0,s.v_)(e.note||"暂无备注"),1),(0,a.Lk)("div",V,[(0,a.Lk)("div",J,[(0,a.Lk)("span",Q,[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(C.A),{size:"14"})]),_:1}),(0,a.eW)(" "+(0,s.v_)(e.word_count)+" 词 ",1)]),(0,a.Lk)("span",Z,[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(M.A),{size:"14"})]),_:1}),(0,a.eW)(" "+(0,s.v_)(be(e.created_at)),1)])]),!e.official||oe.value?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"flex items-center gap-1 opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity",onClick:t[3]||(t[3]=(0,i.D$)(()=>{},["stop"]))},[(0,a.bF)((0,r.R1)(d.Ay),{quaternary:"",circle:"",size:"small",type:"success",onClick:t=>Fe(e),title:"导入单词"},{icon:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(F),{size:"16"})]),_:1})]),_:1},8,["onClick"]),(0,a.bF)((0,r.R1)(d.Ay),{quaternary:"",circle:"",size:"small",type:"primary",onClick:t=>Ce(e),title:"编辑词单"},{icon:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(z.A),{size:"16"})]),_:1})]),_:1},8,["onClick"]),(0,a.bF)((0,r.R1)(y.A),{onPositiveClick:t=>Se(e),"negative-text":"取消","positive-text":"确定"},{trigger:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(d.Ay),{quaternary:"",circle:"",size:"small",type:"error",title:"删除词单"},{icon:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(c._),null,{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(D.A),{size:"16"})]),_:1})]),_:1})]),default:(0,a.k6)(()=>[t[18]||(t[18]=(0,a.eW)(" 确认删除该词单吗? ",-1))]),_:1},8,["onPositiveClick"])])):(0,a.Q3)("",!0)])])]),_:2},1032,["enter","onClick"])),[[n]])),128))])):((0,a.uX)(),(0,a.CE)("div",E,[(0,a.bF)((0,r.R1)(h.A),{description:"暂无词单数据",size:"large"},{extra:(0,a.k6)(()=>[le.value?((0,a.uX)(),(0,a.Wv)((0,r.R1)(d.Ay),{key:0,size:"small",onClick:t[2]||(t[2]=e=>le.value=!1)},{default:(0,a.k6)(()=>[...t[16]||(t[16]=[(0,a.eW)(" 查看所有词单 ",-1)])]),_:1})):((0,a.uX)(),(0,a.Wv)((0,r.R1)(d.Ay),{key:1,type:"primary",size:"medium",onClick:Ae},{default:(0,a.k6)(()=>[...t[17]||(t[17]=[(0,a.eW)(" 创建第一个词单 ",-1)])]),_:1}))]),_:1})])),S.value.length>0?((0,a.uX)(),(0,a.CE)("div",G,[se.value?((0,a.uX)(),(0,a.Wv)((0,r.R1)(d.Ay),{key:0,loading:j.value,ghost:"",type:"primary",onClick:_e},{default:(0,a.k6)(()=>[...t[19]||(t[19]=[(0,a.eW)(" 加载更多 ",-1)])]),_:1},8,["loading"])):((0,a.uX)(),(0,a.CE)("span",ee,"没有更多了"))])):(0,a.Q3)("",!0),(0,a.bF)((0,r.R1)(g.A),{show:ce.value,"onUpdate:show":t[7]||(t[7]=e=>ce.value=e),preset:"card",title:"create"===de.value?"创建新词单":"编辑词单",class:"w-full max-w-md"},{footer:(0,a.k6)(()=>[(0,a.Lk)("div",te,[(0,a.bF)((0,r.R1)(d.Ay),{onClick:t[6]||(t[6]=e=>ce.value=!1)},{default:(0,a.k6)(()=>[...t[20]||(t[20]=[(0,a.eW)("取消",-1)])]),_:1}),(0,a.bF)((0,r.R1)(d.Ay),{type:"primary",loading:fe.value,onClick:Me},{default:(0,a.k6)(()=>[...t[21]||(t[21]=[(0,a.eW)(" 确定 ",-1)])]),_:1},8,["loading"])])]),default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(k.A),{ref_key:"formRef",ref:ve,model:he,rules:xe,"label-placement":"left","label-width":"80","require-mark-placement":"right-hanging"},{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(x.Ay),{label:"名称",path:"name"},{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(u.A),{value:he.name,"onUpdate:value":t[4]||(t[4]=e=>he.name=e),placeholder:"请输入词单名称"},null,8,["value"])]),_:1}),(0,a.bF)((0,r.R1)(x.Ay),{label:"备注",path:"note"},{default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(u.A),{value:he.note,"onUpdate:value":t[5]||(t[5]=e=>he.note=e),type:"textarea",placeholder:"请输入备注信息(可选)",autosize:{minRows:3,maxRows:5}},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["show","title"]),(0,a.bF)((0,r.R1)(g.A),{show:pe.value,"onUpdate:show":t[10]||(t[10]=e=>pe.value=e),preset:"card",title:"导入单词",class:"w-full max-w-lg"},{footer:(0,a.k6)(()=>[(0,a.Lk)("div",re,[(0,a.bF)((0,r.R1)(d.Ay),{onClick:t[9]||(t[9]=e=>pe.value=!1)},{default:(0,a.k6)(()=>[...t[24]||(t[24]=[(0,a.eW)("取消",-1)])]),_:1}),(0,a.bF)((0,r.R1)(d.Ay),{type:"primary",loading:me.value,onClick:De},{default:(0,a.k6)(()=>[...t[25]||(t[25]=[(0,a.eW)(" 开始导入 ",-1)])]),_:1},8,["loading"])])]),default:(0,a.k6)(()=>[(0,a.bF)((0,r.R1)(b.A),{type:"info",class:"mb-6","show-icon":""},{default:(0,a.k6)(()=>[...t[22]||(t[22]=[(0,a.eW)(" 一次性最多导入50个单词,已存在的单词将不会被再次导入。 ",-1)])]),_:1}),(0,a.Lk)("div",ne,[(0,a.Lk)("div",null,[t[23]||(t[23]=(0,a.Lk)("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"选择单词 (最多50个)",-1)),(0,a.bF)((0,r.R1)(w.A),{value:ke.wordIds,"onUpdate:value":t[8]||(t[8]=e=>ke.wordIds=e),multiple:"",filterable:"",remote:"",placeholder:"输入单词搜索并选择...",options:ge.value,loading:ye.value,onSearch:ze,"max-tag-count":10,clearable:""},null,8,["value","options","loading"]),(0,a.Lk)("div",ae," 已选: "+(0,s.v_)(ke.wordIds.length)+" / 50 ",1)])])]),_:1},8,["show"])])}}},se=n(71241);const le=(0,se.A)(ie,[["__scopeId","data-v-1b91623e"]]);var oe=le},96530:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var a=n(45525); + */const r=(0,a.A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},96530:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var a=n(45525); /** * @license lucide-vue-next v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const r=(0,a.A)("pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])}}]); -//# sourceMappingURL=211.543873f5.js.map \ No newline at end of file +//# sourceMappingURL=133.a5084be0.js.map \ No newline at end of file diff --git a/dist/js/259.4d766dbd.js b/dist/js/259.4d766dbd.js new file mode 100644 index 0000000..07a9d4e --- /dev/null +++ b/dist/js/259.4d766dbd.js @@ -0,0 +1,8 @@ +"use strict";(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[259],{74911:function(e,t,r){r.d(t,{A:function(){return Yn}});var n={};r.r(n),r.d(n,{decode:function(){return l},encode:function(){return d},format:function(){return m},parse:function(){return z}});var s={};r.r(s),r.d(s,{Any:function(){return I},Cc:function(){return R},Cf:function(){return M},P:function(){return B},S:function(){return T},Z:function(){return N}});var o={};r.r(o),r.d(o,{arrayReplaceAt:function(){return de},assign:function(){return fe},escapeHtml:function(){return xe},escapeRE:function(){return Se},fromCodePoint:function(){return ge},has:function(){return pe},isMdAsciiPunct:function(){return Te},isPunctChar:function(){return Be},isSpace:function(){return Le},isString:function(){return le},isValidEntityCode:function(){return me},isWhiteSpace:function(){return ze},lib:function(){return Re},normalizeReference:function(){return Ie},unescapeAll:function(){return Ee},unescapeMd:function(){return Ce}});var i={};r.r(i),r.d(i,{parseLinkDestination:function(){return Ne},parseLinkLabel:function(){return Me},parseLinkTitle:function(){return Pe}});r(18111),r(22489),r(7588),r(44114);const c={};function a(e){let t=c[e];if(t)return t;t=c[e]=[];for(let r=0;r<128;r++){const e=String.fromCharCode(r);t.push(e)}for(let r=0;r=55296&&e<=57343?"���":String.fromCharCode(e),n+=6;continue}}if(240===(248&o)&&n+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}}return t})}u.defaultChars=";/?:@&=+$,#",u.componentChars="";var l=u;const h={};function p(e){let t=h[e];if(t)return t;t=h[e]=[];for(let r=0;r<128;r++){const e=String.fromCharCode(r);/^[0-9a-z]$/i.test(e)?t.push(e):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r=55296&&t<=57343){if(t>=55296&&t<=56319&&o+1=56320&&t<=57343){s+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}s+="%EF%BF%BD"}else s+=encodeURIComponent(e[o])}return s}f.defaultChars=";/?:@&=+$,-_.!~*'()#",f.componentChars="-_.!~*'()";var d=f;function m(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function g(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const _=/^([a-z0-9.+-]+:)/i,k=/:[0-9]*$/,b=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,D=["<",">",'"',"`"," ","\r","\n","\t"],y=["{","}","|","\\","^","`"].concat(D),C=["'"].concat(y),E=["%","/","?",";","#"].concat(C),A=["/","?","#"],F=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,w=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},q={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function S(e,t){if(e&&e instanceof g)return e;const r=new g;return r.parse(e,t),r}g.prototype.parse=function(e,t){let r,n,s,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const e=b.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let i=_.exec(o);if(i&&(i=i[0],r=i.toLowerCase(),this.protocol=i,o=o.substr(i.length)),(t||i||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s="//"===o.substr(0,2),!s||i&&x[i]||(o=o.substr(2),this.slashes=!0)),!x[i]&&(s||i&&!q[i])){let e,t,r=-1;for(let c=0;c127?n+="x":n+=r[e];if(!n.match(v)){const n=e.slice(0,t),s=e.slice(t+1),i=r.match(w);i&&(n.push(i[1]),s.unshift(i[2])),s.length&&(o=s.join(".")+o),this.hostname=n.join(".");break}}}}this.hostname.length>F&&(this.hostname=""),i&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const c=o.indexOf("#");-1!==c&&(this.hash=o.substr(c),o=o.slice(0,c));const a=o.indexOf("?");return-1!==a&&(this.search=o.substr(a),o=o.slice(0,a)),o&&(this.pathname=o),q[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},g.prototype.parseHost=function(e){let t=k.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var L,z=S,B=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,T=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,I=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,R=/[\0-\x1F\x7F-\x9F]/,M=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,N=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,P=(r(16573),r(78100),r(77936),r(61701),r(79577),new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0)))),O=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));const U=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),V=null!==(L=String.fromCodePoint)&&void 0!==L?L:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function j(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=U.get(e))&&void 0!==t?t:e}var H;(function(e){e[e["NUM"]=35]="NUM",e[e["SEMI"]=59]="SEMI",e[e["EQUALS"]=61]="EQUALS",e[e["ZERO"]=48]="ZERO",e[e["NINE"]=57]="NINE",e[e["LOWER_A"]=97]="LOWER_A",e[e["LOWER_F"]=102]="LOWER_F",e[e["LOWER_X"]=120]="LOWER_X",e[e["LOWER_Z"]=122]="LOWER_Z",e[e["UPPER_A"]=65]="UPPER_A",e[e["UPPER_F"]=70]="UPPER_F",e[e["UPPER_Z"]=90]="UPPER_Z"})(H||(H={}));const Z=32;var $,G,J;function W(e){return e>=H.ZERO&&e<=H.NINE}function Q(e){return e>=H.UPPER_A&&e<=H.UPPER_F||e>=H.LOWER_A&&e<=H.LOWER_F}function Y(e){return e>=H.UPPER_A&&e<=H.UPPER_Z||e>=H.LOWER_A&&e<=H.LOWER_Z||W(e)}function X(e){return e===H.EQUALS||Y(e)}(function(e){e[e["VALUE_LENGTH"]=49152]="VALUE_LENGTH",e[e["BRANCH_LENGTH"]=16256]="BRANCH_LENGTH",e[e["JUMP_TABLE"]=127]="JUMP_TABLE"})($||($={})),function(e){e[e["EntityStart"]=0]="EntityStart",e[e["NumericStart"]=1]="NumericStart",e[e["NumericDecimal"]=2]="NumericDecimal",e[e["NumericHex"]=3]="NumericHex",e[e["NamedEntity"]=4]="NamedEntity"}(G||(G={})),function(e){e[e["Legacy"]=0]="Legacy",e[e["Strict"]=1]="Strict",e[e["Attribute"]=2]="Attribute"}(J||(J={}));class K{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=G.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=J.Strict}startEntity(e){this.decodeMode=e,this.state=G.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case G.EntityStart:return e.charCodeAt(t)===H.NUM?(this.state=G.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=G.NamedEntity,this.stateNamedEntity(e,t));case G.NumericStart:return this.stateNumericStart(e,t);case G.NumericDecimal:return this.stateNumericDecimal(e,t);case G.NumericHex:return this.stateNumericHex(e,t);case G.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|Z)===H.LOWER_X?(this.state=G.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=G.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const s=r-t;this.result=this.result*Math.pow(n,s)+parseInt(e.substr(t,s),n),this.consumed+=s}}stateNumericHex(e,t){const r=t;while(t>14;for(;t>14,0!==s){if(o===H.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==J.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&$.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~$.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case G.NamedEntity:return 0===this.result||this.decodeMode===J.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case G.NumericDecimal:return this.emitNumericEntity(0,2);case G.NumericHex:return this.emitNumericEntity(0,3);case G.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case G.EntityStart:return 0}}}function ee(e){let t="";const r=new K(e,e=>t+=V(e));return function(e,n){let s=0,o=0;while((o=e.indexOf("&",o))>=0){t+=e.slice(s,o),r.startEntity(n);const i=r.write(e,o+1);if(i<0){s=o+r.end();break}s=o+i,o=0===i?s+1:s}const i=t+e.slice(s);return t="",i}}function te(e,t,r,n){const s=(t&$.BRANCH_LENGTH)>>7,o=t&$.JUMP_TABLE;if(0===s)return 0!==o&&n===o?r:-1;if(o){const t=n-o;return t<0||t>=s?-1:e[r+t]-1}let i=r,c=i+s-1;while(i<=c){const t=i+c>>>1,r=e[t];if(rn))return e[t+s];c=t-1}}return-1}const re=ee(P);ee(O);function ne(e,t=J.Legacy){return re(e,t)}function se(e){for(let t=1;t'"]/g,oe),ie(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),ie(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var ce,ae;function ue(e){return Object.prototype.toString.call(e)}function le(e){return"[object String]"===ue(e)}(function(e){e[e["XML"]=0]="XML",e[e["HTML"]=1]="HTML"})(ce||(ce={})),function(e){e[e["UTF8"]=0]="UTF8",e[e["ASCII"]=1]="ASCII",e[e["Extensive"]=2]="Extensive",e[e["Attribute"]=3]="Attribute",e[e["Text"]=4]="Text"}(ae||(ae={}));const he=Object.prototype.hasOwnProperty;function pe(e,t){return he.call(e,t)}function fe(e){const t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e}function de(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function me(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function ge(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const _e=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ke=/&([a-z#][a-z0-9]{1,31});/gi,be=new RegExp(_e.source+"|"+ke.source,"gi"),De=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ye(e,t){if(35===t.charCodeAt(0)&&De.test(t)){const r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return me(r)?ge(r):e}const r=ne(e);return r!==e?r:e}function Ce(e){return e.indexOf("\\")<0?e:e.replace(_e,"$1")}function Ee(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(be,function(e,t,r){return t||ye(e,r)})}const Ae=/[&<>"]/,Fe=/[&<>"]/g,ve={"&":"&","<":"<",">":">",'"':"""};function we(e){return ve[e]}function xe(e){return Ae.test(e)?e.replace(Fe,we):e}const qe=/[.?*+^$[\]\\(){}|-]/g;function Se(e){return e.replace(qe,"\\$&")}function Le(e){switch(e){case 9:case 32:return!0}return!1}function ze(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Be(e){return B.test(e)||T.test(e)}function Te(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ie(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Re={mdurl:n,ucmicro:s};function Me(e,t,r){let n,s,o,i;const c=e.posMax,a=e.pos;e.pos=t+1,n=1;while(e.pos32))return o;if(41===n){if(0===i)break;i--}s++}}return t===s||0!==i||(o.str=Ee(e.slice(t,s)),o.pos=s,o.ok=!0),o}function Pe(e,t,r,n){let s,o=t;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)i.str=n.str,i.marker=n.marker;else{if(o>=r)return i;let n=e.charCodeAt(o);if(34!==n&&39!==n&&40!==n)return i;t++,o++,40===n&&(n=41),i.marker=n}while(o"+xe(o.content)+""},Oe.code_block=function(e,t,r,n,s){const o=e[t];return""+xe(e[t].content)+"\n"},Oe.fence=function(e,t,r,n,s){const o=e[t],i=o.info?Ee(o.info).trim():"";let c,a="",u="";if(i){const e=i.split(/(\s+)/g);a=e[0],u=e.slice(2).join("")}if(c=r.highlight&&r.highlight(o.content,a,u)||xe(o.content),0===c.indexOf("${c}\n`}return`
${c}
\n`},Oe.image=function(e,t,r,n,s){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,r,n),s.renderToken(e,t,r)},Oe.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},Oe.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},Oe.text=function(e,t){return xe(e[t].content)},Oe.html_block=function(e,t){return e[t].content},Oe.html_inline=function(e,t){return e[t].content},Ue.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">",s},Ue.prototype.renderInline=function(e,t,r){let n="";const s=this.rules;for(let o=0,i=e.length;o=0&&(r=this.attrs[t][1]),r},Ze.prototype.attrJoin=function(e,t){const r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var $e=Ze;function Ge(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ge.prototype.Token=$e;var Je=Ge;const We=/\r\n?|\n/g,Qe=/\0/g;function Ye(e){let t;t=e.src.replace(We,"\n"),t=t.replace(Qe,"�"),e.src=t}function Xe(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Ke(e){const t=e.tokens;for(let r=0,n=t.length;r\s]/i.test(e)}function tt(e){return/^<\/a\s*>/i.test(e)}function rt(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,n=t.length;r=0;o--){const i=n[o];if("link_close"!==i.type){if("html_inline"===i.type&&(et(i.content)&&s>0&&s--,tt(i.content)&&s++),!(s>0)&&"text"===i.type&&e.md.linkify.test(i.content)){const s=i.content;let c=e.md.linkify.match(s);const a=[];let u=i.level,l=0;c.length>0&&0===c[0].index&&o>0&&"text_special"===n[o-1].type&&(c=c.slice(1));for(let t=0;tl){const t=new e.Token("text","",0);t.content=s.slice(l,i),t.level=u,a.push(t)}const h=new e.Token("link_open","a",1);h.attrs=[["href",n]],h.level=u++,h.markup="linkify",h.info="auto",a.push(h);const p=new e.Token("text","",0);p.content=o,p.level=u,a.push(p);const f=new e.Token("link_close","a",-1);f.level=--u,f.markup="linkify",f.info="auto",a.push(f),l=c[t].lastIndex}if(l=0;r--){const n=e[r];"text"!==n.type||t||(n.content=n.content.replace(ot,ct)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}function ut(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];"text"!==n.type||t||nt.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}function lt(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(st.test(e.tokens[t].content)&&at(e.tokens[t].children),nt.test(e.tokens[t].content)&&ut(e.tokens[t].children))}const ht=/['"]/,pt=/['"]/g,ft="’";function dt(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function mt(e,t){let r;const n=[];for(let s=0;s=0;r--)if(n[r].level<=i)break;if(n.length=r+1,"text"!==o.type)continue;let c=o.content,a=0,u=c.length;e:while(a=0)d=c.charCodeAt(l.index-1);else for(r=s-1;r>=0;r--){if("softbreak"===e[r].type||"hardbreak"===e[r].type)break;if(e[r].content){d=e[r].content.charCodeAt(e[r].content.length-1);break}}let m=32;if(a=48&&d<=57&&(p=h=!1),h&&p&&(h=g,p=_),h||p){if(p)for(r=n.length-1;r>=0;r--){let h=n[r];if(n[r].level=0;t--)"inline"===e.tokens[t].type&&ht.test(e.tokens[t].content)&&mt(e.tokens[t].children,e)}function _t(e){let t,r;const n=e.tokens,s=n.length;for(let o=0;o0&&this.level++,this.tokens.push(n),n},yt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},yt.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et)if(!Le(this.src.charCodeAt(--e)))return e+1;return e},yt.prototype.skipChars=function(e,t){for(let r=this.src.length;er)if(t!==this.src.charCodeAt(--e))return e+1;return e},yt.prototype.getLines=function(e,t,r,n){if(e>=t)return"";const s=new Array(t-e);for(let o=0,i=e;ir?new Array(e-r+1).join(" ")+this.src.slice(u,a):this.src.slice(u,a)}return s.join("")},yt.prototype.Token=$e;var Ct=yt;const Et=65536;function At(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function Ft(e){const t=[],r=e.length;let n=0,s=e.charCodeAt(n),o=!1,i=0,c="";while(nr)return!1;let s=t+1;if(e.sCount[s]=4)return!1;let o=e.bMarks[s]+e.tShift[s];if(o>=e.eMarks[s])return!1;const i=e.src.charCodeAt(o++);if(124!==i&&45!==i&&58!==i)return!1;if(o>=e.eMarks[s])return!1;const c=e.src.charCodeAt(o++);if(124!==c&&45!==c&&58!==c&&!Le(c))return!1;if(45===i&&Le(c))return!1;while(o=4)return!1;u=Ft(a),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop();const h=u.length;if(0===h||h!==l.length)return!1;if(n)return!0;const p=e.parentType;e.parentType="table";const f=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),m=[t,0];d.map=m;const g=e.push("thead_open","thead",1);g.map=[t,t+1];const _=e.push("tr_open","tr",1);_.map=[t,t+1];for(let D=0;D=4)break;if(u=Ft(a),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),b+=h-u.length,b>Et)break;if(s===t+2){const r=e.push("tbody_open","tbody",1);r.map=k=[t+2,0]}const o=e.push("tr_open","tr",1);o.map=[s,s+1];for(let t=0;t=4))break;n++,s=n}e.line=s;const o=e.push("code_block","code",0);return o.content=e.getLines(t,s,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}function xt(e,t,r,n){let s=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(s+3>o)return!1;const i=e.src.charCodeAt(s);if(126!==i&&96!==i)return!1;let c=s;s=e.skipChars(s,i);let a=s-c;if(a<3)return!1;const u=e.src.slice(c,s),l=e.src.slice(s,o);if(96===i&&l.indexOf(String.fromCharCode(i))>=0)return!1;if(n)return!0;let h=t,p=!1;for(;;){if(h++,h>=r)break;if(s=c=e.bMarks[h]+e.tShift[h],o=e.eMarks[h],s=4)&&(s=e.skipChars(s,i),!(s-c=4)return!1;if(62!==e.src.charCodeAt(s))return!1;if(n)return!0;const c=[],a=[],u=[],l=[],h=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let f,d=!1;for(f=t;f=o)break;if(62===e.src.charCodeAt(s++)&&!t){let t,r,n=e.sCount[f]+1;32===e.src.charCodeAt(s)?(s++,n++,r=!1,t=!0):9===e.src.charCodeAt(s)?(t=!0,(e.bsCount[f]+n)%4===3?(s++,n++,r=!1):r=!0):t=!1;let i=n;c.push(e.bMarks[f]),e.bMarks[f]=s;while(s=o,a.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(t?1:0),u.push(e.sCount[f]),e.sCount[f]=i-n,l.push(e.tShift[f]),e.tShift[f]=s-e.bMarks[f];continue}if(d)break;let n=!1;for(let s=0,o=h.length;s";const _=[t,0];g.map=_,e.md.block.tokenize(e,t,f);const k=e.push("blockquote_close","blockquote",-1);k.markup=">",e.lineMax=i,e.parentType=p,_[1]=e.line;for(let b=0;b=4)return!1;let o=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(o++);if(42!==i&&45!==i&&95!==i)return!1;let c=1;while(o=n)return-1;let o=e.src.charCodeAt(s++);if(o<48||o>57)return-1;for(;;){if(s>=n)return-1;if(o=e.src.charCodeAt(s++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(s-r>=10)return-1}return s=4)return!1;if(e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]=e.blkIndent&&(f=!0),(p=zt(e,a))>=0){if(l=!0,i=e.bMarks[a]+e.tShift[a],h=Number(e.src.slice(i,p-1)),f&&1!==h)return!1}else{if(!((p=Lt(e,a))>=0))return!1;l=!1}if(f&&e.skipSpaces(p)>=e.eMarks[a])return!1;if(n)return!0;const d=e.src.charCodeAt(p-1),m=e.tokens.length;l?(c=e.push("ordered_list_open","ol",1),1!==h&&(c.attrs=[["start",h]])):c=e.push("bullet_list_open","ul",1);const g=[a,0];c.map=g,c.markup=String.fromCharCode(d);let _=!1;const k=e.md.block.ruler.getRules("list"),b=e.parentType;e.parentType="list";while(a=s?1:n-t,f>4&&(f=1);const m=t+f;c=e.push("list_item_open","li",1),c.markup=String.fromCharCode(d);const g=[a,0];c.map=g,l&&(c.info=e.src.slice(i,p-1));const b=e.tight,D=e.tShift[a],y=e.sCount[a],C=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[a]=h-e.bMarks[a],e.sCount[a]=n,h>=s&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,a,r,!0),e.tight&&!_||(u=!1),_=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[a]=D,e.sCount[a]=y,e.tight=b,c=e.push("list_item_close","li",-1),c.markup=String.fromCharCode(d),a=e.line,g[1]=a,a>=r)break;if(e.sCount[a]=4)break;let E=!1;for(let s=0,o=k.length;s=4)return!1;if(91!==e.src.charCodeAt(s))return!1;function c(t){const r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){const n=e.md.block.ruler.getRules("reference"),s=e.parentType;e.parentType="reference";let o=!1;for(let i=0,c=n.length;i`\\x00-\\x20]+",Pt="'[^']*'",Ot='"[^"]*"',Ut="(?:"+Nt+"|"+Pt+"|"+Ot+")",Vt="(?:\\s+"+Mt+"(?:\\s*=\\s*"+Ut+")?)",jt="<[A-Za-z][A-Za-z0-9\\-]*"+Vt+"*\\s*\\/?>",Ht="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Zt="\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e",$t="<[?][\\s\\S]*?[?]>",Gt="]*>",Jt="",Wt=new RegExp("^(?:"+jt+"|"+Ht+"|"+Zt+"|"+$t+"|"+Gt+"|"+Jt+")"),Qt=new RegExp("^(?:"+jt+"|"+Ht+")"),Yt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Qt.source+"\\s*$"),/^$/,!1]];function Xt(e,t,r,n){let s=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(s))return!1;let i=e.src.slice(s,o),c=0;for(;c=4)return!1;let i=e.src.charCodeAt(s);if(35!==i||s>=o)return!1;let c=1;i=e.src.charCodeAt(++s);while(35===i&&s6||ss&&Le(e.src.charCodeAt(a-1))&&(o=a),e.line=t+1;const u=e.push("heading_open","h"+String(c),1);u.markup="########".slice(0,c),u.map=[t,e.line];const l=e.push("inline","",0);l.content=e.src.slice(s,o).trim(),l.map=[t,e.line],l.children=[];const h=e.push("heading_close","h"+String(c),-1);return h.markup="########".slice(0,c),!0}function er(e,t,r){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const s=e.parentType;e.parentType="paragraph";let o,i=0,c=t+1;for(;c3)continue;if(e.sCount[c]>=e.blkIndent){let t=e.bMarks[c]+e.tShift[c];const r=e.eMarks[c];if(t=r))){i=61===o?1:2;break}}if(e.sCount[c]<0)continue;let t=!1;for(let s=0,o=n.length;s3)continue;if(e.sCount[o]<0)continue;let t=!1;for(let s=0,i=n.length;s=r)break;if(e.sCount[i]=o){e.line=r;break}const t=e.line;let a=!1;for(let o=0;o=e.line)throw new Error("block rule didn't increment state.line");break}if(!a)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(s),n},or.prototype.scanDelims=function(e,t){const r=this.posMax,n=this.src.charCodeAt(e),s=e>0?this.src.charCodeAt(e-1):32;let o=e;while(o0)return!1;const r=e.pos,n=e.posMax;if(r+3>n)return!1;if(58!==e.src.charCodeAt(r))return!1;if(47!==e.src.charCodeAt(r+1))return!1;if(47!==e.src.charCodeAt(r+2))return!1;const s=e.pending.match(ur);if(!s)return!1;const o=s[1],i=e.md.linkify.matchAtStart(e.src.slice(r-o.length));if(!i)return!1;let c=i.url;if(c.length<=o.length)return!1;c=c.replace(/\*+$/,"");const a=e.md.normalizeLink(c);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const t=e.push("link_open","a",1);t.attrs=[["href",a]],t.markup="linkify",t.info="auto";const r=e.push("text","",0);r.content=e.md.normalizeLinkText(c);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=c.length-o.length,!0}function hr(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;const n=e.pending.length-1,s=e.posMax;if(!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;while(t>=1&&32===e.pending.charCodeAt(t-1))t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);r++;while(r=n)return!1;let s=e.src.charCodeAt(r);if(10===s){t||e.push("hardbreak","br",0),r++;while(r=55296&&s<=56319&&r+1=56320&&t<=57343&&(o+=e.src[r+1],r++)}const i="\\"+o;if(!t){const t=e.push("text_special","",0);s<256&&0!==pr[s]?t.content=o:t.content=i,t.markup=i,t.info="escape"}return e.pos=r+1,!0}function dr(e,t){let r=e.pos;const n=e.src.charCodeAt(r);if(96!==n)return!1;const s=r;r++;const o=e.posMax;while(r?@[]^_`{|}~-".split("").forEach(function(e){pr[e.charCodeAt(0)]=1});var kr={tokenize:mr,postProcess:_r};function br(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t)return!1;if(95!==n&&42!==n)return!1;const s=e.scanDelims(e.pos,42===n);for(let o=0;o=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const s=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===s.token+1,i=String.fromCharCode(r.marker),c=e.tokens[r.token];c.type=o?"strong_open":"em_open",c.tag=o?"strong":"em",c.nesting=1,c.markup=o?i+i:i,c.content="";const a=e.tokens[s.token];a.type=o?"strong_close":"em_close",a.tag=o?"strong":"em",a.nesting=-1,a.markup=o?i+i:i,a.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function yr(e){const t=e.tokens_meta,r=e.tokens_meta.length;Dr(e,e.delimiters);for(let n=0;n=h)return!1;if(a=d,s=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),s.ok){for(i=e.md.normalizeLink(s.str),e.md.validateLink(i)?d=s.pos:i="",a=d;d=h||41!==e.src.charCodeAt(d))&&(u=!0),d++}if(u){if("undefined"===typeof e.env.references)return!1;if(d=0?n=e.src.slice(a,d++):d=f+1):d=f+1,n||(n=e.src.slice(p,f)),o=e.env.references[Ie(n)],!o)return e.pos=l,!1;i=o.href,c=o.title}if(!t){e.pos=p,e.posMax=f;const t=e.push("link_open","a",1),r=[["href",i]];t.attrs=r,c&&r.push(["title",c]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=h,!0}function Ar(e,t){let r,n,s,o,i,c,a,u,l="";const h=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const f=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if(o=d+1,o=p)return!1;for(u=o,c=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),c.ok&&(l=e.md.normalizeLink(c.str),e.md.validateLink(l)?o=c.pos:l=""),u=o;o=p||41!==e.src.charCodeAt(o))return e.pos=h,!1;o++}else{if("undefined"===typeof e.env.references)return!1;if(o=0?s=e.src.slice(u,o++):o=d+1):o=d+1,s||(s=e.src.slice(f,d)),i=e.env.references[Ie(s)],!i)return e.pos=h,!1;l=i.href,a=i.title}if(!t){n=e.src.slice(f,d);const t=[];e.md.inline.parse(n,e.md,e.env,t);const r=e.push("image","img",0),s=[["src",l],["alt",""]];r.attrs=s,r.children=t,r.content=n,a&&s.push(["title",a])}return e.pos=o,e.posMax=p,!0}const Fr=/^([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])?)*)$/,vr=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function wr(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;const n=e.pos,s=e.posMax;for(;;){if(++r>=s)return!1;const t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}const o=e.src.slice(n+1,r);if(vr.test(o)){const r=e.md.normalizeLink(o);if(!e.md.validateLink(r))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";const n=e.push("text","",0);n.content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}if(Fr.test(o)){const r=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(r))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";const n=e.push("text","",0);n.content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}return!1}function xr(e){return/^\s]/i.test(e)}function qr(e){return/^<\/a\s*>/i.test(e)}function Sr(e){const t=32|e;return t>=97&&t<=122}function Lr(e,t){if(!e.md.options.html)return!1;const r=e.posMax,n=e.pos;if(60!==e.src.charCodeAt(n)||n+2>=r)return!1;const s=e.src.charCodeAt(n+1);if(33!==s&&63!==s&&47!==s&&!Sr(s))return!1;const o=e.src.slice(n).match(Wt);if(!o)return!1;if(!t){const t=e.push("html_inline","",0);t.content=o[0],xr(t.content)&&e.linkLevel++,qr(t.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const zr=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Br=/^&([a-z][a-z0-9]{1,31});/i;function Tr(e,t){const r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r))return!1;if(r+1>=n)return!1;const s=e.src.charCodeAt(r+1);if(35===s){const n=e.src.slice(r).match(zr);if(n){if(!t){const t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=me(t)?ge(t):ge(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{const n=e.src.slice(r).match(Br);if(n){const r=ne(n[0]);if(r!==n[0]){if(!t){const t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}function Ir(e){const t={},r=e.length;if(!r)return;let n=0,s=-2;const o=[];for(let i=0;ic;a-=o[a]+1){const t=e[a];if(t.marker===r.marker&&(t.open&&t.end<0)){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3===0&&(t.length%3===0&&r.length%3===0||(n=!0)),!n){const n=a>0&&!e[a-1].open?o[a-1]+1:0;o[i]=i-a+n,o[a]=n,r.open=!1,t.end=i,t.close=!1,u=-1,s=-2;break}}}-1!==u&&(t[r.marker][(r.open?3:0)+(r.length||0)%3]=u)}}function Rr(e){const t=e.tokens_meta,r=e.tokens_meta.length;Ir(e.delimiters);for(let n=0;n0&&n++,"text"===s[t].type&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,o[t]=e.pos},Or.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,n=e.posMax,s=e.md.options.maxNesting;while(e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(i){if(e.pos>=n)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Or.prototype.parse=function(e,t,r,n){const s=new this.State(e,t,r,n);this.tokenize(s);const o=this.ruler2.getRules(""),i=o.length;for(let c=0;c|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function jr(e){const t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function Hr(e){return Object.prototype.toString.call(e)}function Zr(e){return"[object String]"===Hr(e)}function $r(e){return"[object Object]"===Hr(e)}function Gr(e){return"[object RegExp]"===Hr(e)}function Jr(e){return"[object Function]"===Hr(e)}function Wr(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Qr={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Yr(e){return Object.keys(e||{}).reduce(function(e,t){return e||Qr.hasOwnProperty(t)},!1)}const Xr={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Kr="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",en="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function tn(e){e.__index__=-1,e.__text_cache__=""}function rn(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function nn(){return function(e,t){t.normalize(e)}}function sn(e){const t=e.re=Vr(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(Kr),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const s=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){const r=e.__schemas__[t];if(null===r)return;const n={validate:null,link:null};if(e.__compiled__[t]=n,$r(r))return Gr(r.validate)?n.validate=rn(r.validate):Jr(r.validate)?n.validate=r.validate:o(t,r),void(Jr(r.normalize)?n.normalize=r.normalize:r.normalize?o(t,r):n.normalize=nn());Zr(r)?s.push(t):o(t,r)}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:nn()};const i=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(Wr).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),tn(e)}function on(e,t){const r=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=s,this.text=s,this.url=s}function cn(e,t){const r=new on(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function an(e,t){if(!(this instanceof an))return new an(e,t);t||Yr(e)&&(t=e,e={}),this.__opts__=jr({},Qr,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=jr({},Xr,e),this.__compiled__={},this.__tlds__=en,this.__tlds_replaced__=!1,this.re={},sn(this)}an.prototype.add=function(e,t){return this.__schemas__[e]=t,sn(this),this},an.prototype.set=function(e){return this.__opts__=jr(this.__opts__,e),this},an.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,r,n,s,o,i,c,a,u;if(this.re.schema_test.test(e)){c=this.re.schema_search,c.lastIndex=0;while(null!==(t=c.exec(e)))if(s=this.testSchemaAt(e,t[2],c.lastIndex),s){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(a=e.search(this.re.host_fuzzy_test),a>=0&&(this.__index__<0||a=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i))),this.__index__>=0},an.prototype.pretest=function(e){return this.re.pretest.test(e)},an.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},an.prototype.match=function(e){const t=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(cn(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;while(this.test(n))t.push(cn(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},an.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,cn(this,0)):null},an.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),sn(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,sn(this),this)},an.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},an.prototype.onCompile=function(){};var un=an;const ln=2147483647,hn=36,pn=1,fn=26,dn=38,mn=700,gn=72,_n=128,kn="-",bn=/^xn--/,Dn=/[^\0-\x7F]/,yn=/[\x2E\u3002\uFF0E\uFF61]/g,Cn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},En=hn-pn,An=Math.floor,Fn=String.fromCharCode;function vn(e){throw new RangeError(Cn[e])}function wn(e,t){const r=[];let n=e.length;while(n--)r[n]=t(e[n]);return r}function xn(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(yn,".");const s=e.split("."),o=wn(s,t).join(".");return n+o}function qn(e){const t=[];let r=0;const n=e.length;while(r=55296&&s<=56319&&rString.fromCodePoint(...e),Ln=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:hn},zn=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Bn=function(e,t,r){let n=0;for(e=r?An(e/mn):e>>1,e+=An(e/t);e>En*fn>>1;n+=hn)e=An(e/En);return An(n+(En+1)*e/(e+dn))},Tn=function(e){const t=[],r=e.length;let n=0,s=_n,o=gn,i=e.lastIndexOf(kn);i<0&&(i=0);for(let c=0;c=128&&vn("not-basic"),t.push(e.charCodeAt(c));for(let c=i>0?i+1:0;c=r&&vn("invalid-input");const i=Ln(e.charCodeAt(c++));i>=hn&&vn("invalid-input"),i>An((ln-n)/t)&&vn("overflow"),n+=i*t;const a=s<=o?pn:s>=o+fn?fn:s-o;if(iAn(ln/u)&&vn("overflow"),t*=u}const a=t.length+1;o=Bn(n-i,a,0==i),An(n/a)>ln-s&&vn("overflow"),s+=An(n/a),n%=a,t.splice(n++,0,s)}return String.fromCodePoint(...t)},In=function(e){const t=[];e=qn(e);const r=e.length;let n=_n,s=0,o=gn;for(const a of e)a<128&&t.push(Fn(a));const i=t.length;let c=i;i&&t.push(kn);while(c=n&&tAn((ln-s)/a)&&vn("overflow"),s+=(r-n)*a,n=r;for(const u of e)if(uln&&vn("overflow"),u===n){let e=s;for(let r=hn;;r+=hn){const n=r<=o?pn:r>=o+fn?fn:r-o;if(e=0))try{t.hostname=Pn.toASCII(t.hostname)}catch(r){}return d(m(t))}function Wn(e){const t=z(e,!0);if(t.hostname&&(!t.protocol||Gn.indexOf(t.protocol)>=0))try{t.hostname=Pn.toUnicode(t.hostname)}catch(r){}return l(m(t),l.defaultChars+"%")}function Qn(e,t){if(!(this instanceof Qn))return new Qn(e,t);t||le(e)||(t=e||{},e="default"),this.inline=new Ur,this.block=new sr,this.core=new Dt,this.renderer=new Ve,this.linkify=new un,this.validateLink=$n,this.normalizeLink=Jn,this.normalizeLinkText=Wn,this.utils=o,this.helpers=fe({},i),this.options={},this.configure(e),t&&this.set(t)}Qn.prototype.set=function(e){return fe(this.options,e),this},Qn.prototype.configure=function(e){const t=this;if(le(e)){const t=e;if(e=jn[t],!e)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},Qn.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},Qn.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},Qn.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Qn.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},Qn.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Qn.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},Qn.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Yn=Qn},91733:function(e,t,r){r.d(t,{A:function(){return s}});var n=r(45525); +/** + * @license lucide-vue-next v0.562.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const s=(0,n.A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])}}]); +//# sourceMappingURL=259.4d766dbd.js.map \ No newline at end of file diff --git a/dist/js/416.6197103d.js b/dist/js/416.9258341d.js similarity index 99% rename from dist/js/416.6197103d.js rename to dist/js/416.9258341d.js index 754fcdc..4629c36 100644 --- a/dist/js/416.6197103d.js +++ b/dist/js/416.9258341d.js @@ -18,4 +18,4 @@ const V=(0,T.A)("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838 * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const o=(0,i.A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])}}]); -//# sourceMappingURL=416.6197103d.js.map \ No newline at end of file +//# sourceMappingURL=416.9258341d.js.map \ No newline at end of file diff --git a/dist/js/705.83efab9f.js b/dist/js/705.83efab9f.js deleted file mode 100644 index 5266b17..0000000 --- a/dist/js/705.83efab9f.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict";(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[705],{7023:function(e,t,r){r.d(t,{A:function(){return s}});var n=r(45525); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const s=(0,n.A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},74911:function(e,t,r){r.d(t,{A:function(){return Yn}});var n={};r.r(n),r.d(n,{decode:function(){return l},encode:function(){return d},format:function(){return m},parse:function(){return z}});var s={};r.r(s),r.d(s,{Any:function(){return I},Cc:function(){return M},Cf:function(){return R},P:function(){return B},S:function(){return T},Z:function(){return N}});var o={};r.r(o),r.d(o,{arrayReplaceAt:function(){return de},assign:function(){return fe},escapeHtml:function(){return xe},escapeRE:function(){return Se},fromCodePoint:function(){return ge},has:function(){return pe},isMdAsciiPunct:function(){return Te},isPunctChar:function(){return Be},isSpace:function(){return Le},isString:function(){return le},isValidEntityCode:function(){return me},isWhiteSpace:function(){return ze},lib:function(){return Me},normalizeReference:function(){return Ie},unescapeAll:function(){return Ee},unescapeMd:function(){return Ce}});var i={};r.r(i),r.d(i,{parseLinkDestination:function(){return Ne},parseLinkLabel:function(){return Re},parseLinkTitle:function(){return Pe}});r(18111),r(22489),r(7588),r(44114);const c={};function a(e){let t=c[e];if(t)return t;t=c[e]=[];for(let r=0;r<128;r++){const e=String.fromCharCode(r);t.push(e)}for(let r=0;r=55296&&e<=57343?"���":String.fromCharCode(e),n+=6;continue}}if(240===(248&o)&&n+91114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),n+=9;continue}}t+="�"}}return t})}u.defaultChars=";/?:@&=+$,#",u.componentChars="";var l=u;const h={};function p(e){let t=h[e];if(t)return t;t=h[e]=[];for(let r=0;r<128;r++){const e=String.fromCharCode(r);/^[0-9a-z]$/i.test(e)?t.push(e):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r=55296&&t<=57343){if(t>=55296&&t<=56319&&o+1=56320&&t<=57343){s+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}s+="%EF%BF%BD"}else s+=encodeURIComponent(e[o])}return s}f.defaultChars=";/?:@&=+$,-_.!~*'()#",f.componentChars="-_.!~*'()";var d=f;function m(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function g(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const _=/^([a-z0-9.+-]+:)/i,k=/:[0-9]*$/,b=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,D=["<",">",'"',"`"," ","\r","\n","\t"],y=["{","}","|","\\","^","`"].concat(D),C=["'"].concat(y),E=["%","/","?",";","#"].concat(C),A=["/","?","#"],F=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,w=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},q={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function S(e,t){if(e&&e instanceof g)return e;const r=new g;return r.parse(e,t),r}g.prototype.parse=function(e,t){let r,n,s,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const e=b.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let i=_.exec(o);if(i&&(i=i[0],r=i.toLowerCase(),this.protocol=i,o=o.substr(i.length)),(t||i||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s="//"===o.substr(0,2),!s||i&&x[i]||(o=o.substr(2),this.slashes=!0)),!x[i]&&(s||i&&!q[i])){let e,t,r=-1;for(let c=0;c127?n+="x":n+=r[e];if(!n.match(v)){const n=e.slice(0,t),s=e.slice(t+1),i=r.match(w);i&&(n.push(i[1]),s.unshift(i[2])),s.length&&(o=s.join(".")+o),this.hostname=n.join(".");break}}}}this.hostname.length>F&&(this.hostname=""),i&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const c=o.indexOf("#");-1!==c&&(this.hash=o.substr(c),o=o.slice(0,c));const a=o.indexOf("?");return-1!==a&&(this.search=o.substr(a),o=o.slice(0,a)),o&&(this.pathname=o),q[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},g.prototype.parseHost=function(e){let t=k.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var L,z=S,B=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,T=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,I=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,M=/[\0-\x1F\x7F-\x9F]/,R=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,N=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,P=(r(16573),r(78100),r(77936),r(61701),r(79577),new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0)))),O=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));const U=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),V=null!==(L=String.fromCodePoint)&&void 0!==L?L:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function j(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=U.get(e))&&void 0!==t?t:e}var H;(function(e){e[e["NUM"]=35]="NUM",e[e["SEMI"]=59]="SEMI",e[e["EQUALS"]=61]="EQUALS",e[e["ZERO"]=48]="ZERO",e[e["NINE"]=57]="NINE",e[e["LOWER_A"]=97]="LOWER_A",e[e["LOWER_F"]=102]="LOWER_F",e[e["LOWER_X"]=120]="LOWER_X",e[e["LOWER_Z"]=122]="LOWER_Z",e[e["UPPER_A"]=65]="UPPER_A",e[e["UPPER_F"]=70]="UPPER_F",e[e["UPPER_Z"]=90]="UPPER_Z"})(H||(H={}));const Z=32;var $,G,J;function W(e){return e>=H.ZERO&&e<=H.NINE}function Q(e){return e>=H.UPPER_A&&e<=H.UPPER_F||e>=H.LOWER_A&&e<=H.LOWER_F}function Y(e){return e>=H.UPPER_A&&e<=H.UPPER_Z||e>=H.LOWER_A&&e<=H.LOWER_Z||W(e)}function X(e){return e===H.EQUALS||Y(e)}(function(e){e[e["VALUE_LENGTH"]=49152]="VALUE_LENGTH",e[e["BRANCH_LENGTH"]=16256]="BRANCH_LENGTH",e[e["JUMP_TABLE"]=127]="JUMP_TABLE"})($||($={})),function(e){e[e["EntityStart"]=0]="EntityStart",e[e["NumericStart"]=1]="NumericStart",e[e["NumericDecimal"]=2]="NumericDecimal",e[e["NumericHex"]=3]="NumericHex",e[e["NamedEntity"]=4]="NamedEntity"}(G||(G={})),function(e){e[e["Legacy"]=0]="Legacy",e[e["Strict"]=1]="Strict",e[e["Attribute"]=2]="Attribute"}(J||(J={}));class K{constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=G.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=J.Strict}startEntity(e){this.decodeMode=e,this.state=G.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case G.EntityStart:return e.charCodeAt(t)===H.NUM?(this.state=G.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=G.NamedEntity,this.stateNamedEntity(e,t));case G.NumericStart:return this.stateNumericStart(e,t);case G.NumericDecimal:return this.stateNumericDecimal(e,t);case G.NumericHex:return this.stateNumericHex(e,t);case G.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|Z)===H.LOWER_X?(this.state=G.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=G.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){const s=r-t;this.result=this.result*Math.pow(n,s)+parseInt(e.substr(t,s),n),this.consumed+=s}}stateNumericHex(e,t){const r=t;while(t>14;for(;t>14,0!==s){if(o===H.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==J.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:r}=this,n=(r[t]&$.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){const{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~$.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case G.NamedEntity:return 0===this.result||this.decodeMode===J.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case G.NumericDecimal:return this.emitNumericEntity(0,2);case G.NumericHex:return this.emitNumericEntity(0,3);case G.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case G.EntityStart:return 0}}}function ee(e){let t="";const r=new K(e,e=>t+=V(e));return function(e,n){let s=0,o=0;while((o=e.indexOf("&",o))>=0){t+=e.slice(s,o),r.startEntity(n);const i=r.write(e,o+1);if(i<0){s=o+r.end();break}s=o+i,o=0===i?s+1:s}const i=t+e.slice(s);return t="",i}}function te(e,t,r,n){const s=(t&$.BRANCH_LENGTH)>>7,o=t&$.JUMP_TABLE;if(0===s)return 0!==o&&n===o?r:-1;if(o){const t=n-o;return t<0||t>=s?-1:e[r+t]-1}let i=r,c=i+s-1;while(i<=c){const t=i+c>>>1,r=e[t];if(rn))return e[t+s];c=t-1}}return-1}const re=ee(P);ee(O);function ne(e,t=J.Legacy){return re(e,t)}function se(e){for(let t=1;t'"]/g,oe),ie(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),ie(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var ce,ae;function ue(e){return Object.prototype.toString.call(e)}function le(e){return"[object String]"===ue(e)}(function(e){e[e["XML"]=0]="XML",e[e["HTML"]=1]="HTML"})(ce||(ce={})),function(e){e[e["UTF8"]=0]="UTF8",e[e["ASCII"]=1]="ASCII",e[e["Extensive"]=2]="Extensive",e[e["Attribute"]=3]="Attribute",e[e["Text"]=4]="Text"}(ae||(ae={}));const he=Object.prototype.hasOwnProperty;function pe(e,t){return he.call(e,t)}function fe(e){const t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e}function de(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function me(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function ge(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const _e=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ke=/&([a-z#][a-z0-9]{1,31});/gi,be=new RegExp(_e.source+"|"+ke.source,"gi"),De=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ye(e,t){if(35===t.charCodeAt(0)&&De.test(t)){const r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return me(r)?ge(r):e}const r=ne(e);return r!==e?r:e}function Ce(e){return e.indexOf("\\")<0?e:e.replace(_e,"$1")}function Ee(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(be,function(e,t,r){return t||ye(e,r)})}const Ae=/[&<>"]/,Fe=/[&<>"]/g,ve={"&":"&","<":"<",">":">",'"':"""};function we(e){return ve[e]}function xe(e){return Ae.test(e)?e.replace(Fe,we):e}const qe=/[.?*+^$[\]\\(){}|-]/g;function Se(e){return e.replace(qe,"\\$&")}function Le(e){switch(e){case 9:case 32:return!0}return!1}function ze(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Be(e){return B.test(e)||T.test(e)}function Te(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ie(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Me={mdurl:n,ucmicro:s};function Re(e,t,r){let n,s,o,i;const c=e.posMax,a=e.pos;e.pos=t+1,n=1;while(e.pos32))return o;if(41===n){if(0===i)break;i--}s++}}return t===s||0!==i||(o.str=Ee(e.slice(t,s)),o.pos=s,o.ok=!0),o}function Pe(e,t,r,n){let s,o=t;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)i.str=n.str,i.marker=n.marker;else{if(o>=r)return i;let n=e.charCodeAt(o);if(34!==n&&39!==n&&40!==n)return i;t++,o++,40===n&&(n=41),i.marker=n}while(o"+xe(o.content)+""},Oe.code_block=function(e,t,r,n,s){const o=e[t];return""+xe(e[t].content)+"\n"},Oe.fence=function(e,t,r,n,s){const o=e[t],i=o.info?Ee(o.info).trim():"";let c,a="",u="";if(i){const e=i.split(/(\s+)/g);a=e[0],u=e.slice(2).join("")}if(c=r.highlight&&r.highlight(o.content,a,u)||xe(o.content),0===c.indexOf("${c}\n`}return`
${c}
\n`},Oe.image=function(e,t,r,n,s){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,r,n),s.renderToken(e,t,r)},Oe.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},Oe.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},Oe.text=function(e,t){return xe(e[t].content)},Oe.html_block=function(e,t){return e[t].content},Oe.html_inline=function(e,t){return e[t].content},Ue.prototype.renderAttrs=function(e){let t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">",s},Ue.prototype.renderInline=function(e,t,r){let n="";const s=this.rules;for(let o=0,i=e.length;o=0&&(r=this.attrs[t][1]),r},Ze.prototype.attrJoin=function(e,t){const r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var $e=Ze;function Ge(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ge.prototype.Token=$e;var Je=Ge;const We=/\r\n?|\n/g,Qe=/\0/g;function Ye(e){let t;t=e.src.replace(We,"\n"),t=t.replace(Qe,"�"),e.src=t}function Xe(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Ke(e){const t=e.tokens;for(let r=0,n=t.length;r\s]/i.test(e)}function tt(e){return/^<\/a\s*>/i.test(e)}function rt(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,n=t.length;r=0;o--){const i=n[o];if("link_close"!==i.type){if("html_inline"===i.type&&(et(i.content)&&s>0&&s--,tt(i.content)&&s++),!(s>0)&&"text"===i.type&&e.md.linkify.test(i.content)){const s=i.content;let c=e.md.linkify.match(s);const a=[];let u=i.level,l=0;c.length>0&&0===c[0].index&&o>0&&"text_special"===n[o-1].type&&(c=c.slice(1));for(let t=0;tl){const t=new e.Token("text","",0);t.content=s.slice(l,i),t.level=u,a.push(t)}const h=new e.Token("link_open","a",1);h.attrs=[["href",n]],h.level=u++,h.markup="linkify",h.info="auto",a.push(h);const p=new e.Token("text","",0);p.content=o,p.level=u,a.push(p);const f=new e.Token("link_close","a",-1);f.level=--u,f.markup="linkify",f.info="auto",a.push(f),l=c[t].lastIndex}if(l=0;r--){const n=e[r];"text"!==n.type||t||(n.content=n.content.replace(ot,ct)),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}function ut(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];"text"!==n.type||t||nt.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===n.type&&"auto"===n.info&&t--,"link_close"===n.type&&"auto"===n.info&&t++}}function lt(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(st.test(e.tokens[t].content)&&at(e.tokens[t].children),nt.test(e.tokens[t].content)&&ut(e.tokens[t].children))}const ht=/['"]/,pt=/['"]/g,ft="’";function dt(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function mt(e,t){let r;const n=[];for(let s=0;s=0;r--)if(n[r].level<=i)break;if(n.length=r+1,"text"!==o.type)continue;let c=o.content,a=0,u=c.length;e:while(a=0)d=c.charCodeAt(l.index-1);else for(r=s-1;r>=0;r--){if("softbreak"===e[r].type||"hardbreak"===e[r].type)break;if(e[r].content){d=e[r].content.charCodeAt(e[r].content.length-1);break}}let m=32;if(a=48&&d<=57&&(p=h=!1),h&&p&&(h=g,p=_),h||p){if(p)for(r=n.length-1;r>=0;r--){let h=n[r];if(n[r].level=0;t--)"inline"===e.tokens[t].type&&ht.test(e.tokens[t].content)&&mt(e.tokens[t].children,e)}function _t(e){let t,r;const n=e.tokens,s=n.length;for(let o=0;o0&&this.level++,this.tokens.push(n),n},yt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},yt.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et)if(!Le(this.src.charCodeAt(--e)))return e+1;return e},yt.prototype.skipChars=function(e,t){for(let r=this.src.length;er)if(t!==this.src.charCodeAt(--e))return e+1;return e},yt.prototype.getLines=function(e,t,r,n){if(e>=t)return"";const s=new Array(t-e);for(let o=0,i=e;ir?new Array(e-r+1).join(" ")+this.src.slice(u,a):this.src.slice(u,a)}return s.join("")},yt.prototype.Token=$e;var Ct=yt;const Et=65536;function At(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function Ft(e){const t=[],r=e.length;let n=0,s=e.charCodeAt(n),o=!1,i=0,c="";while(nr)return!1;let s=t+1;if(e.sCount[s]=4)return!1;let o=e.bMarks[s]+e.tShift[s];if(o>=e.eMarks[s])return!1;const i=e.src.charCodeAt(o++);if(124!==i&&45!==i&&58!==i)return!1;if(o>=e.eMarks[s])return!1;const c=e.src.charCodeAt(o++);if(124!==c&&45!==c&&58!==c&&!Le(c))return!1;if(45===i&&Le(c))return!1;while(o=4)return!1;u=Ft(a),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop();const h=u.length;if(0===h||h!==l.length)return!1;if(n)return!0;const p=e.parentType;e.parentType="table";const f=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),m=[t,0];d.map=m;const g=e.push("thead_open","thead",1);g.map=[t,t+1];const _=e.push("tr_open","tr",1);_.map=[t,t+1];for(let D=0;D=4)break;if(u=Ft(a),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),b+=h-u.length,b>Et)break;if(s===t+2){const r=e.push("tbody_open","tbody",1);r.map=k=[t+2,0]}const o=e.push("tr_open","tr",1);o.map=[s,s+1];for(let t=0;t=4))break;n++,s=n}e.line=s;const o=e.push("code_block","code",0);return o.content=e.getLines(t,s,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}function xt(e,t,r,n){let s=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(s+3>o)return!1;const i=e.src.charCodeAt(s);if(126!==i&&96!==i)return!1;let c=s;s=e.skipChars(s,i);let a=s-c;if(a<3)return!1;const u=e.src.slice(c,s),l=e.src.slice(s,o);if(96===i&&l.indexOf(String.fromCharCode(i))>=0)return!1;if(n)return!0;let h=t,p=!1;for(;;){if(h++,h>=r)break;if(s=c=e.bMarks[h]+e.tShift[h],o=e.eMarks[h],s=4)&&(s=e.skipChars(s,i),!(s-c=4)return!1;if(62!==e.src.charCodeAt(s))return!1;if(n)return!0;const c=[],a=[],u=[],l=[],h=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let f,d=!1;for(f=t;f=o)break;if(62===e.src.charCodeAt(s++)&&!t){let t,r,n=e.sCount[f]+1;32===e.src.charCodeAt(s)?(s++,n++,r=!1,t=!0):9===e.src.charCodeAt(s)?(t=!0,(e.bsCount[f]+n)%4===3?(s++,n++,r=!1):r=!0):t=!1;let i=n;c.push(e.bMarks[f]),e.bMarks[f]=s;while(s=o,a.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(t?1:0),u.push(e.sCount[f]),e.sCount[f]=i-n,l.push(e.tShift[f]),e.tShift[f]=s-e.bMarks[f];continue}if(d)break;let n=!1;for(let s=0,o=h.length;s";const _=[t,0];g.map=_,e.md.block.tokenize(e,t,f);const k=e.push("blockquote_close","blockquote",-1);k.markup=">",e.lineMax=i,e.parentType=p,_[1]=e.line;for(let b=0;b=4)return!1;let o=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(o++);if(42!==i&&45!==i&&95!==i)return!1;let c=1;while(o=n)return-1;let o=e.src.charCodeAt(s++);if(o<48||o>57)return-1;for(;;){if(s>=n)return-1;if(o=e.src.charCodeAt(s++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(s-r>=10)return-1}return s=4)return!1;if(e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]=e.blkIndent&&(f=!0),(p=zt(e,a))>=0){if(l=!0,i=e.bMarks[a]+e.tShift[a],h=Number(e.src.slice(i,p-1)),f&&1!==h)return!1}else{if(!((p=Lt(e,a))>=0))return!1;l=!1}if(f&&e.skipSpaces(p)>=e.eMarks[a])return!1;if(n)return!0;const d=e.src.charCodeAt(p-1),m=e.tokens.length;l?(c=e.push("ordered_list_open","ol",1),1!==h&&(c.attrs=[["start",h]])):c=e.push("bullet_list_open","ul",1);const g=[a,0];c.map=g,c.markup=String.fromCharCode(d);let _=!1;const k=e.md.block.ruler.getRules("list"),b=e.parentType;e.parentType="list";while(a=s?1:n-t,f>4&&(f=1);const m=t+f;c=e.push("list_item_open","li",1),c.markup=String.fromCharCode(d);const g=[a,0];c.map=g,l&&(c.info=e.src.slice(i,p-1));const b=e.tight,D=e.tShift[a],y=e.sCount[a],C=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=m,e.tight=!0,e.tShift[a]=h-e.bMarks[a],e.sCount[a]=n,h>=s&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,a,r,!0),e.tight&&!_||(u=!1),_=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[a]=D,e.sCount[a]=y,e.tight=b,c=e.push("list_item_close","li",-1),c.markup=String.fromCharCode(d),a=e.line,g[1]=a,a>=r)break;if(e.sCount[a]=4)break;let E=!1;for(let s=0,o=k.length;s=4)return!1;if(91!==e.src.charCodeAt(s))return!1;function c(t){const r=e.lineMax;if(t>=r||e.isEmpty(t))return null;let n=!1;if(e.sCount[t]-e.blkIndent>3&&(n=!0),e.sCount[t]<0&&(n=!0),!n){const n=e.md.block.ruler.getRules("reference"),s=e.parentType;e.parentType="reference";let o=!1;for(let i=0,c=n.length;i`\\x00-\\x20]+",Pt="'[^']*'",Ot='"[^"]*"',Ut="(?:"+Nt+"|"+Pt+"|"+Ot+")",Vt="(?:\\s+"+Rt+"(?:\\s*=\\s*"+Ut+")?)",jt="<[A-Za-z][A-Za-z0-9\\-]*"+Vt+"*\\s*\\/?>",Ht="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Zt="\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e",$t="<[?][\\s\\S]*?[?]>",Gt="]*>",Jt="",Wt=new RegExp("^(?:"+jt+"|"+Ht+"|"+Zt+"|"+$t+"|"+Gt+"|"+Jt+")"),Qt=new RegExp("^(?:"+jt+"|"+Ht+")"),Yt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Qt.source+"\\s*$"),/^$/,!1]];function Xt(e,t,r,n){let s=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(s))return!1;let i=e.src.slice(s,o),c=0;for(;c=4)return!1;let i=e.src.charCodeAt(s);if(35!==i||s>=o)return!1;let c=1;i=e.src.charCodeAt(++s);while(35===i&&s6||ss&&Le(e.src.charCodeAt(a-1))&&(o=a),e.line=t+1;const u=e.push("heading_open","h"+String(c),1);u.markup="########".slice(0,c),u.map=[t,e.line];const l=e.push("inline","",0);l.content=e.src.slice(s,o).trim(),l.map=[t,e.line],l.children=[];const h=e.push("heading_close","h"+String(c),-1);return h.markup="########".slice(0,c),!0}function er(e,t,r){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const s=e.parentType;e.parentType="paragraph";let o,i=0,c=t+1;for(;c3)continue;if(e.sCount[c]>=e.blkIndent){let t=e.bMarks[c]+e.tShift[c];const r=e.eMarks[c];if(t=r))){i=61===o?1:2;break}}if(e.sCount[c]<0)continue;let t=!1;for(let s=0,o=n.length;s3)continue;if(e.sCount[o]<0)continue;let t=!1;for(let s=0,i=n.length;s=r)break;if(e.sCount[i]=o){e.line=r;break}const t=e.line;let a=!1;for(let o=0;o=e.line)throw new Error("block rule didn't increment state.line");break}if(!a)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(s),n},or.prototype.scanDelims=function(e,t){const r=this.posMax,n=this.src.charCodeAt(e),s=e>0?this.src.charCodeAt(e-1):32;let o=e;while(o0)return!1;const r=e.pos,n=e.posMax;if(r+3>n)return!1;if(58!==e.src.charCodeAt(r))return!1;if(47!==e.src.charCodeAt(r+1))return!1;if(47!==e.src.charCodeAt(r+2))return!1;const s=e.pending.match(ur);if(!s)return!1;const o=s[1],i=e.md.linkify.matchAtStart(e.src.slice(r-o.length));if(!i)return!1;let c=i.url;if(c.length<=o.length)return!1;c=c.replace(/\*+$/,"");const a=e.md.normalizeLink(c);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const t=e.push("link_open","a",1);t.attrs=[["href",a]],t.markup="linkify",t.info="auto";const r=e.push("text","",0);r.content=e.md.normalizeLinkText(c);const n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=c.length-o.length,!0}function hr(e,t){let r=e.pos;if(10!==e.src.charCodeAt(r))return!1;const n=e.pending.length-1,s=e.posMax;if(!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){let t=n-1;while(t>=1&&32===e.pending.charCodeAt(t-1))t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);r++;while(r=n)return!1;let s=e.src.charCodeAt(r);if(10===s){t||e.push("hardbreak","br",0),r++;while(r=55296&&s<=56319&&r+1=56320&&t<=57343&&(o+=e.src[r+1],r++)}const i="\\"+o;if(!t){const t=e.push("text_special","",0);s<256&&0!==pr[s]?t.content=o:t.content=i,t.markup=i,t.info="escape"}return e.pos=r+1,!0}function dr(e,t){let r=e.pos;const n=e.src.charCodeAt(r);if(96!==n)return!1;const s=r;r++;const o=e.posMax;while(r?@[]^_`{|}~-".split("").forEach(function(e){pr[e.charCodeAt(0)]=1});var kr={tokenize:mr,postProcess:_r};function br(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t)return!1;if(95!==n&&42!==n)return!1;const s=e.scanDelims(e.pos,42===n);for(let o=0;o=0;n--){const r=t[n];if(95!==r.marker&&42!==r.marker)continue;if(-1===r.end)continue;const s=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===s.token+1,i=String.fromCharCode(r.marker),c=e.tokens[r.token];c.type=o?"strong_open":"em_open",c.tag=o?"strong":"em",c.nesting=1,c.markup=o?i+i:i,c.content="";const a=e.tokens[s.token];a.type=o?"strong_close":"em_close",a.tag=o?"strong":"em",a.nesting=-1,a.markup=o?i+i:i,a.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function yr(e){const t=e.tokens_meta,r=e.tokens_meta.length;Dr(e,e.delimiters);for(let n=0;n=h)return!1;if(a=d,s=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),s.ok){for(i=e.md.normalizeLink(s.str),e.md.validateLink(i)?d=s.pos:i="",a=d;d=h||41!==e.src.charCodeAt(d))&&(u=!0),d++}if(u){if("undefined"===typeof e.env.references)return!1;if(d=0?n=e.src.slice(a,d++):d=f+1):d=f+1,n||(n=e.src.slice(p,f)),o=e.env.references[Ie(n)],!o)return e.pos=l,!1;i=o.href,c=o.title}if(!t){e.pos=p,e.posMax=f;const t=e.push("link_open","a",1),r=[["href",i]];t.attrs=r,c&&r.push(["title",c]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=d,e.posMax=h,!0}function Ar(e,t){let r,n,s,o,i,c,a,u,l="";const h=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;const f=e.pos+2,d=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(d<0)return!1;if(o=d+1,o=p)return!1;for(u=o,c=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),c.ok&&(l=e.md.normalizeLink(c.str),e.md.validateLink(l)?o=c.pos:l=""),u=o;o=p||41!==e.src.charCodeAt(o))return e.pos=h,!1;o++}else{if("undefined"===typeof e.env.references)return!1;if(o=0?s=e.src.slice(u,o++):o=d+1):o=d+1,s||(s=e.src.slice(f,d)),i=e.env.references[Ie(s)],!i)return e.pos=h,!1;l=i.href,a=i.title}if(!t){n=e.src.slice(f,d);const t=[];e.md.inline.parse(n,e.md,e.env,t);const r=e.push("image","img",0),s=[["src",l],["alt",""]];r.attrs=s,r.children=t,r.content=n,a&&s.push(["title",a])}return e.pos=o,e.posMax=p,!0}const Fr=/^([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])?)*)$/,vr=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function wr(e,t){let r=e.pos;if(60!==e.src.charCodeAt(r))return!1;const n=e.pos,s=e.posMax;for(;;){if(++r>=s)return!1;const t=e.src.charCodeAt(r);if(60===t)return!1;if(62===t)break}const o=e.src.slice(n+1,r);if(vr.test(o)){const r=e.md.normalizeLink(o);if(!e.md.validateLink(r))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";const n=e.push("text","",0);n.content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}if(Fr.test(o)){const r=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(r))return!1;if(!t){const t=e.push("link_open","a",1);t.attrs=[["href",r]],t.markup="autolink",t.info="auto";const n=e.push("text","",0);n.content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}return!1}function xr(e){return/^\s]/i.test(e)}function qr(e){return/^<\/a\s*>/i.test(e)}function Sr(e){const t=32|e;return t>=97&&t<=122}function Lr(e,t){if(!e.md.options.html)return!1;const r=e.posMax,n=e.pos;if(60!==e.src.charCodeAt(n)||n+2>=r)return!1;const s=e.src.charCodeAt(n+1);if(33!==s&&63!==s&&47!==s&&!Sr(s))return!1;const o=e.src.slice(n).match(Wt);if(!o)return!1;if(!t){const t=e.push("html_inline","",0);t.content=o[0],xr(t.content)&&e.linkLevel++,qr(t.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const zr=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Br=/^&([a-z][a-z0-9]{1,31});/i;function Tr(e,t){const r=e.pos,n=e.posMax;if(38!==e.src.charCodeAt(r))return!1;if(r+1>=n)return!1;const s=e.src.charCodeAt(r+1);if(35===s){const n=e.src.slice(r).match(zr);if(n){if(!t){const t="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),r=e.push("text_special","",0);r.content=me(t)?ge(t):ge(65533),r.markup=n[0],r.info="entity"}return e.pos+=n[0].length,!0}}else{const n=e.src.slice(r).match(Br);if(n){const r=ne(n[0]);if(r!==n[0]){if(!t){const t=e.push("text_special","",0);t.content=r,t.markup=n[0],t.info="entity"}return e.pos+=n[0].length,!0}}}return!1}function Ir(e){const t={},r=e.length;if(!r)return;let n=0,s=-2;const o=[];for(let i=0;ic;a-=o[a]+1){const t=e[a];if(t.marker===r.marker&&(t.open&&t.end<0)){let n=!1;if((t.close||r.open)&&(t.length+r.length)%3===0&&(t.length%3===0&&r.length%3===0||(n=!0)),!n){const n=a>0&&!e[a-1].open?o[a-1]+1:0;o[i]=i-a+n,o[a]=n,r.open=!1,t.end=i,t.close=!1,u=-1,s=-2;break}}}-1!==u&&(t[r.marker][(r.open?3:0)+(r.length||0)%3]=u)}}function Mr(e){const t=e.tokens_meta,r=e.tokens_meta.length;Ir(e.delimiters);for(let n=0;n0&&n++,"text"===s[t].type&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,o[t]=e.pos},Or.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,n=e.posMax,s=e.md.options.maxNesting;while(e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(i){if(e.pos>=n)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Or.prototype.parse=function(e,t,r,n){const s=new this.State(e,t,r,n);this.tokenize(s);const o=this.ruler2.getRules(""),i=o.length;for(let c=0;c|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function jr(e){const t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function Hr(e){return Object.prototype.toString.call(e)}function Zr(e){return"[object String]"===Hr(e)}function $r(e){return"[object Object]"===Hr(e)}function Gr(e){return"[object RegExp]"===Hr(e)}function Jr(e){return"[object Function]"===Hr(e)}function Wr(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Qr={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Yr(e){return Object.keys(e||{}).reduce(function(e,t){return e||Qr.hasOwnProperty(t)},!1)}const Xr={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Kr="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",en="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function tn(e){e.__index__=-1,e.__text_cache__=""}function rn(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function nn(){return function(e,t){t.normalize(e)}}function sn(e){const t=e.re=Vr(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(Kr),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const s=[];function o(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){const r=e.__schemas__[t];if(null===r)return;const n={validate:null,link:null};if(e.__compiled__[t]=n,$r(r))return Gr(r.validate)?n.validate=rn(r.validate):Jr(r.validate)?n.validate=r.validate:o(t,r),void(Jr(r.normalize)?n.normalize=r.normalize:r.normalize?o(t,r):n.normalize=nn());Zr(r)?s.push(t):o(t,r)}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:nn()};const i=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(Wr).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),tn(e)}function on(e,t){const r=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=s,this.text=s,this.url=s}function cn(e,t){const r=new on(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function an(e,t){if(!(this instanceof an))return new an(e,t);t||Yr(e)&&(t=e,e={}),this.__opts__=jr({},Qr,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=jr({},Xr,e),this.__compiled__={},this.__tlds__=en,this.__tlds_replaced__=!1,this.re={},sn(this)}an.prototype.add=function(e,t){return this.__schemas__[e]=t,sn(this),this},an.prototype.set=function(e){return this.__opts__=jr(this.__opts__,e),this},an.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,r,n,s,o,i,c,a,u;if(this.re.schema_test.test(e)){c=this.re.schema_search,c.lastIndex=0;while(null!==(t=c.exec(e)))if(s=this.testSchemaAt(e,t[2],c.lastIndex),s){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(a=e.search(this.re.host_fuzzy_test),a>=0&&(this.__index__<0||a=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i))),this.__index__>=0},an.prototype.pretest=function(e){return this.re.pretest.test(e)},an.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},an.prototype.match=function(e){const t=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(cn(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;while(this.test(n))t.push(cn(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},an.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,cn(this,0)):null},an.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),sn(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,sn(this),this)},an.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},an.prototype.onCompile=function(){};var un=an;const ln=2147483647,hn=36,pn=1,fn=26,dn=38,mn=700,gn=72,_n=128,kn="-",bn=/^xn--/,Dn=/[^\0-\x7F]/,yn=/[\x2E\u3002\uFF0E\uFF61]/g,Cn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},En=hn-pn,An=Math.floor,Fn=String.fromCharCode;function vn(e){throw new RangeError(Cn[e])}function wn(e,t){const r=[];let n=e.length;while(n--)r[n]=t(e[n]);return r}function xn(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(yn,".");const s=e.split("."),o=wn(s,t).join(".");return n+o}function qn(e){const t=[];let r=0;const n=e.length;while(r=55296&&s<=56319&&rString.fromCodePoint(...e),Ln=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:hn},zn=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Bn=function(e,t,r){let n=0;for(e=r?An(e/mn):e>>1,e+=An(e/t);e>En*fn>>1;n+=hn)e=An(e/En);return An(n+(En+1)*e/(e+dn))},Tn=function(e){const t=[],r=e.length;let n=0,s=_n,o=gn,i=e.lastIndexOf(kn);i<0&&(i=0);for(let c=0;c=128&&vn("not-basic"),t.push(e.charCodeAt(c));for(let c=i>0?i+1:0;c=r&&vn("invalid-input");const i=Ln(e.charCodeAt(c++));i>=hn&&vn("invalid-input"),i>An((ln-n)/t)&&vn("overflow"),n+=i*t;const a=s<=o?pn:s>=o+fn?fn:s-o;if(iAn(ln/u)&&vn("overflow"),t*=u}const a=t.length+1;o=Bn(n-i,a,0==i),An(n/a)>ln-s&&vn("overflow"),s+=An(n/a),n%=a,t.splice(n++,0,s)}return String.fromCodePoint(...t)},In=function(e){const t=[];e=qn(e);const r=e.length;let n=_n,s=0,o=gn;for(const a of e)a<128&&t.push(Fn(a));const i=t.length;let c=i;i&&t.push(kn);while(c=n&&tAn((ln-s)/a)&&vn("overflow"),s+=(r-n)*a,n=r;for(const u of e)if(uln&&vn("overflow"),u===n){let e=s;for(let r=hn;;r+=hn){const n=r<=o?pn:r>=o+fn?fn:r-o;if(e=0))try{t.hostname=Pn.toASCII(t.hostname)}catch(r){}return d(m(t))}function Wn(e){const t=z(e,!0);if(t.hostname&&(!t.protocol||Gn.indexOf(t.protocol)>=0))try{t.hostname=Pn.toUnicode(t.hostname)}catch(r){}return l(m(t),l.defaultChars+"%")}function Qn(e,t){if(!(this instanceof Qn))return new Qn(e,t);t||le(e)||(t=e||{},e="default"),this.inline=new Ur,this.block=new sr,this.core=new Dt,this.renderer=new Ve,this.linkify=new un,this.validateLink=$n,this.normalizeLink=Jn,this.normalizeLinkText=Wn,this.utils=o,this.helpers=fe({},i),this.options={},this.configure(e),t&&this.set(t)}Qn.prototype.set=function(e){return fe(this.options,e),this},Qn.prototype.configure=function(e){const t=this;if(le(e)){const t=e;if(e=jn[t],!e)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},Qn.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},Qn.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},Qn.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Qn.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},Qn.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Qn.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},Qn.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Yn=Qn},91733:function(e,t,r){r.d(t,{A:function(){return s}});var n=r(45525); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const s=(0,n.A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])}}]); -//# sourceMappingURL=705.83efab9f.js.map \ No newline at end of file diff --git a/dist/js/765.d04a9622.js b/dist/js/765.fbd42649.js similarity index 99% rename from dist/js/765.d04a9622.js rename to dist/js/765.fbd42649.js index 247311a..842fd6f 100644 --- a/dist/js/765.d04a9622.js +++ b/dist/js/765.fbd42649.js @@ -24,4 +24,4 @@ * See the LICENSE file in the root directory of this source tree. */ const R=(0,_.A)("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]),A=(0,_.A)("frown",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);var L=l(65163),C=l(15520),F=l(2231),W=l(18495),K=l(35720),X=l(15227),E=l(91737);const z={class:"wordle-view max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},j={class:"flex flex-col gap-4 mb-8"},q={class:"flex items-center gap-2"},M={class:"bg-green-50 dark:bg-green-900/20 p-4 rounded-lg flex items-start gap-3"},U={key:0,class:"max-w-2xl mx-auto"},I={class:"w-full"},V={key:1,class:"text-gray-400 text-sm py-0.5 px-1"},H={class:"flex justify-end mt-6"},$={key:1,class:"max-w-md mx-auto"},Q={class:"flex justify-center mb-6"},N={class:"text-xl font-bold text-gray-700 dark:text-gray-200"},B={key:0,class:"space-y-4"},D={class:"text-gray-400 text-xs"},O={key:1,class:"text-center space-y-6 bg-white dark:bg-gray-800 p-6 rounded-xl shadow-lg"},S={key:0},T={class:"text-gray-600 dark:text-gray-400"},J={key:1},G={class:"text-gray-600 dark:text-gray-400"},P={class:"flex justify-center gap-4"},Y={class:"max-w-4xl mx-auto"},Z={class:"grid grid-cols-2 gap-4 mb-6"},ee={class:"text-center"},ae={class:"text-2xl font-bold text-primary"},le={class:"text-center"},te={class:"text-2xl font-bold text-green-500"},re={key:0,class:"space-y-3"},se={class:"flex justify-between items-center"},oe={class:"flex items-center gap-4"},de={class:"text-lg font-bold text-gray-900 dark:text-white uppercase"},ne={class:"flex items-center text-xs text-gray-400 mt-1"},ue={class:"flex justify-center mt-6 pb-8"},ie={key:1,class:"text-gray-400 text-sm py-4"};var ce={__name:"WordleView",setup(e){const a=(0,d.rd)(),l=(0,n.J)(),{width:_}=(0,E.lWr)(),ce=(0,t.EW)(()=>_.value<768),ve=(0,r.KR)("start"),ye=(0,r.KR)("config"),pe=(0,r.KR)(!1),ge=(0,r.KR)([]),ke=(0,r.KR)(!1),xe=(0,r.KR)([]),be=(0,r.KR)(!1),me=(0,r.KR)({mode:0,dict_ids:[],list_ids:[]}),he=(0,r.KR)(null),fe=(0,r.KR)(""),we=(0,t.EW)(()=>fe.value.length),_e=(0,t.EW)(()=>we.value+1),Re=(0,r.KR)(0),Ae=(0,r.KR)(""),Le=(0,r.KR)([]),Ce=(0,r.KR)("playing"),Fe=(0,r.KR)([]),We=(0,r.KR)([]),Ke=(0,r.KR)(1),Xe=(0,r.KR)({total_games:0,accuracy:0}),Ee=(0,r.KR)(!1),ze=(0,r.KR)(!1),je=()=>{Le.value=Array(_e.value).fill(null).map(()=>Array(we.value).fill(null).map(()=>({char:"",status:"empty"})))},qe=async()=>{be.value=!0;try{const e=await K.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/dict/list");0===e.data.code&&(ge.value=e.data.data.map(e=>({label:e.name,value:e.id})))}catch(e){console.error("Fetch dicts error:",e)}finally{be.value=!1}},Me=e=>{const a=me.value.list_ids.indexOf(e);a>-1&&me.value.list_ids.splice(a,1);const l=xe.value.findIndex(a=>a.id===e);l>-1&&xe.value.splice(l,1)},Ue=async(e=1)=>{Ee.value=!0;try{const a=await K.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/wordle/history",{params:{page:e}}),l=a.data;Xe.value=l.stats,We.value=1===e?l.list:[...We.value,...l.list],Ke.value=l.pagination.page,ze.value=l.pagination.has_more}catch(a){console.error("Fetch history error:",a),l.error("获取历史记录失败")}finally{Ee.value=!1}},Ie=()=>{!Ee.value&&ze.value&&Ue(Ke.value+1)},Ve=async()=>{if(1===me.value.mode&&me.value.dict_ids.length,3===me.value.mode){if(0===me.value.list_ids.length)return void l.warning("请至少选择一个词单");if(me.value.list_ids.length>10)return void l.warning("最多只能选择10个词单")}pe.value=!0;try{const e={mode:me.value.mode,dict_ids:3===me.value.mode?me.value.list_ids:me.value.dict_ids},a=await K.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/wordle/get_word",e),t=a.data;t.id&&t.word?(he.value=t.id,fe.value=t.word.toLowerCase(),Re.value=0,Ae.value="",Fe.value=[],Ce.value="playing",je(),ye.value="game"):t.error?l.error(t.error):l.error("获取单词失败")}catch(e){console.error("Start game error:",e),e.response&&e.response.data&&e.response.data.error?l.error(e.response.data.error):l.error("启动失败,请稍后重试")}finally{pe.value=!1}},He=()=>{ye.value="config",fe.value=""},$e=async()=>{if("playing"!==Ce.value)return;const e=Ae.value.toLowerCase().trim();if(e.length!==we.value)return void l.warning(`请输入 ${we.value} 个字母的单词`);if(!/^[a-z]+$/.test(e))return void l.warning("只能包含字母");const a=Le.value[Re.value],t=fe.value.split(""),r=e.split("");r.forEach((e,l)=>{a[l].char=e,e===t[l]&&(a[l].status="correct",t[l]=null)}),r.forEach((e,l)=>{if("correct"!==a[l].status){const r=t.indexOf(e);-1!==r?(a[l].status="present",t[r]=null):a[l].status="absent"}}),Fe.value.push(e),Re.value++,Ae.value="",e===fe.value?(Ce.value="won",await Qe(!0)):Re.value>=_e.value&&(Ce.value="lost",await Qe(!1))},Qe=async e=>{try{await K.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/wordle/record",{word_id:he.value,success:e,record:Fe.value})}catch(a){console.error("Record result error:",a)}},Ne=(e,a)=>{if(a>=Re.value)return"bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-white";switch(e.status){case"correct":return"bg-green-500 border-green-500 text-white";case"present":return"bg-yellow-500 border-yellow-500 text-white";case"absent":return"bg-gray-400 dark:bg-gray-600 border-gray-400 dark:border-gray-600 text-white";default:return"bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-600"}},Be=e=>{const l=a.resolve({path:"/word",query:{word_id:e}});window.open(l.href,"_blank")};return(0,t.sV)(()=>{document.title="猜单词 - Word Helper",qe()}),(0,t.wB)(()=>me.value.mode,e=>{1===e&&0===ge.value.length&&qe()}),(0,t.wB)(ve,e=>{"history"===e&&Ue(1)}),(e,a)=>{const l=(0,t.gN)("motion-slide-visible-once-left"),d=(0,t.gN)("motion-fade"),n=(0,t.gN)("motion-pop");return(0,t.uX)(),(0,t.CE)("div",z,[(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",j,[(0,t.Lk)("div",q,[(0,t.bF)((0,r.R1)(f.A),{class:"w-8 h-8 text-primary"}),a[11]||(a[11]=(0,t.Lk)("h1",{class:"text-3xl font-bold text-gray-900 dark:text-white"},"单词猜猜乐",-1)),(0,t.bF)((0,r.R1)(u.Ay),{type:"error",size:"small",round:""},{default:(0,t.k6)(()=>[...a[10]||(a[10]=[(0,t.eW)("困难",-1)])]),_:1})]),(0,t.Lk)("div",M,[(0,t.bF)((0,r.R1)(w.A),{class:"w-5 h-5 text-green-500 mt-0.5 flex-shrink-0"}),a[12]||(a[12]=(0,t.Lk)("p",{class:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed"},[(0,t.eW)(" 猜词游戏规则:您需要猜测一个由 5-9 个字母组成的单词。一个长度为 n 的单词有 n+1 次猜测机会。每次猜测后,方格颜色会提示您的猜测是否正确。"),(0,t.Lk)("br"),(0,t.Lk)("span",{class:"inline-block w-3 h-3 bg-green-500 mr-1 rounded-sm align-middle"}),(0,t.eW)("绿色:字母位置正确"),(0,t.Lk)("br"),(0,t.Lk)("span",{class:"inline-block w-3 h-3 bg-yellow-500 mr-1 rounded-sm align-middle"}),(0,t.eW)("黄色:字母存在但位置错误"),(0,t.Lk)("br"),(0,t.Lk)("span",{class:"inline-block w-3 h-3 bg-gray-400 mr-1 rounded-sm align-middle"}),(0,t.eW)("灰色:字母不存在,或目标词中该字母已全部匹配完毕 ")],-1))])])),[[l]]),(0,t.bF)((0,r.R1)(i.A),{type:"segment",animated:"",value:ve.value,"onUpdate:value":a[9]||(a[9]=e=>ve.value=e)},{default:(0,t.k6)(()=>[(0,t.bF)((0,r.R1)(c.A),{name:"start",tab:"开始游戏"},{default:(0,t.k6)(()=>["config"===ye.value?(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",U,[(0,t.bF)((0,r.R1)(v.Ay),{class:"rounded-xl shadow-sm",title:"游戏配置"},{default:(0,t.k6)(()=>[(0,t.bF)((0,r.R1)(y.A),{ref:"formRef",model:me.value,"label-placement":ce.value?"top":"left","label-width":ce.value?"auto":100,"require-mark-placement":"right-hanging"},{default:(0,t.k6)(()=>[(0,t.bF)((0,r.R1)(p.Ay),{label:"单词来源"},{default:(0,t.k6)(()=>[(0,t.bF)((0,r.R1)(g.A),{value:me.value.mode,"onUpdate:value":a[0]||(a[0]=e=>me.value.mode=e),name:"mode"},{default:(0,t.k6)(()=>[(0,t.bF)((0,r.R1)(k.A),{value:0,label:"学习记录"}),(0,t.bF)((0,r.R1)(k.A),{value:1,label:"词书挑战"}),(0,t.bF)((0,r.R1)(k.A),{value:2,label:"生词本"}),(0,t.bF)((0,r.R1)(k.A),{value:3,label:"词单抽词"})]),_:1},8,["value"])]),_:1}),1===me.value.mode?((0,t.uX)(),(0,t.Wv)((0,r.R1)(p.Ay),{key:0,label:"选择词书"},{default:(0,t.k6)(()=>[(0,t.bF)((0,r.R1)(x.A),{value:me.value.dict_ids,"onUpdate:value":a[1]||(a[1]=e=>me.value.dict_ids=e),multiple:"",filterable:"",placeholder:"请选择词书(不选代表全部)",options:ge.value,loading:be.value,clearable:""},null,8,["value","options","loading"])]),_:1})):(0,t.Q3)("",!0),3===me.value.mode?((0,t.uX)(),(0,t.Wv)((0,r.R1)(p.Ay),{key:1,label:"选择词单"},{default:(0,t.k6)(()=>[(0,t.Lk)("div",I,[(0,t.Lk)("div",{class:"border border-gray-300 dark:border-gray-600 rounded-md p-2 min-h-[34px] cursor-pointer hover:border-indigo-500 transition-colors bg-white dark:bg-black/10 flex flex-wrap gap-2",onClick:a[2]||(a[2]=e=>ke.value=!0)},[xe.value.length>0?((0,t.uX)(!0),(0,t.CE)(t.FK,{key:0},(0,t.pI)(xe.value,e=>((0,t.uX)(),(0,t.Wv)((0,r.R1)(u.Ay),{key:e.id,closable:"",onClose:(0,s.D$)(a=>Me(e.id),["stop"]),size:"small"},{default:(0,t.k6)(()=>[(0,t.eW)((0,o.v_)(e.name),1)]),_:2},1032,["onClose"]))),128)):((0,t.uX)(),(0,t.CE)("div",V," 点击选择词单... "))])])]),_:1})):(0,t.Q3)("",!0),(0,t.bF)(X.A,{show:ke.value,"onUpdate:show":a[3]||(a[3]=e=>ke.value=e),modelValue:me.value.list_ids,"onUpdate:modelValue":a[4]||(a[4]=e=>me.value.list_ids=e),selectedList:xe.value,"onUpdate:selectedList":a[5]||(a[5]=e=>xe.value=e),"max-count":10},null,8,["show","modelValue","selectedList"]),(0,t.Lk)("div",H,[(0,t.bF)((0,r.R1)(b.Ay),{type:"primary",size:"large",onClick:Ve,loading:pe.value},{default:(0,t.k6)(()=>[...a[13]||(a[13]=[(0,t.eW)(" 开始游戏 ",-1)])]),_:1},8,["loading"])])]),_:1},8,["model","label-placement","label-width"])]),_:1})])),[[d]]):"game"===ye.value?(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",$,[(0,t.Lk)("div",Q,[(0,t.Lk)("h2",N," 猜一个 "+(0,o.v_)(we.value)+" 个字母的单词 ",1)]),(0,t.Lk)("div",{class:"grid gap-2 mb-8 select-none",style:(0,o.Tr)({gridTemplateColumns:`repeat(${we.value}, minmax(0, 1fr))`})},[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(Le.value,(e,a)=>((0,t.uX)(),(0,t.CE)(t.FK,{key:a},[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(e,(e,l)=>((0,t.uX)(),(0,t.CE)("div",{key:l,class:(0,o.C4)(["aspect-square flex items-center justify-center text-2xl font-bold uppercase border-2 rounded transition-all duration-300",Ne(e,a)])},(0,o.v_)(e.char),3))),128))],64))),128))],4),"playing"===Ce.value?((0,t.uX)(),(0,t.CE)("div",B,[(0,t.bF)((0,r.R1)(m.A),{ref:"inputRef",value:Ae.value,"onUpdate:value":a[6]||(a[6]=e=>Ae.value=e),placeholder:"输入单词后回车",maxlength:we.value,onKeydown:(0,s.jR)($e,["enter"]),class:"text-center text-lg uppercase",autofocus:""},{suffix:(0,t.k6)(()=>[(0,t.Lk)("span",D,(0,o.v_)(Ae.value.length)+"/"+(0,o.v_)(we.value),1)]),_:1},8,["value","maxlength"]),(0,t.bF)((0,r.R1)(b.Ay),{block:"",type:"primary",onClick:$e,disabled:Ae.value.length!==we.value},{default:(0,t.k6)(()=>[...a[14]||(a[14]=[(0,t.eW)(" 提交猜测 ",-1)])]),_:1},8,["disabled"])])):(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",O,["won"===Ce.value?((0,t.uX)(),(0,t.CE)("div",S,[(0,t.bF)((0,r.R1)(R),{class:"w-16 h-16 text-yellow-500 mx-auto mb-4"}),a[16]||(a[16]=(0,t.Lk)("h3",{class:"text-2xl font-bold text-green-600 mb-2"},"恭喜胜利!",-1)),(0,t.Lk)("p",T,[a[15]||(a[15]=(0,t.eW)("单词是: ",-1)),(0,t.Lk)("span",{class:"font-bold text-lg text-primary cursor-pointer hover:underline decoration-primary decoration-2 underline-offset-4",onClick:a[7]||(a[7]=e=>Be(he.value)),title:"点击查看单词详情"},(0,o.v_)(fe.value),1)])])):((0,t.uX)(),(0,t.CE)("div",J,[(0,t.bF)((0,r.R1)(A),{class:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a[18]||(a[18]=(0,t.Lk)("h3",{class:"text-2xl font-bold text-red-500 mb-2"},"游戏结束",-1)),(0,t.Lk)("p",G,[a[17]||(a[17]=(0,t.eW)("正确单词是: ",-1)),(0,t.Lk)("span",{class:"font-bold text-lg text-primary cursor-pointer hover:underline decoration-primary decoration-2 underline-offset-4",onClick:a[8]||(a[8]=e=>Be(he.value)),title:"点击查看单词详情"},(0,o.v_)(fe.value),1)])])),(0,t.Lk)("div",P,[(0,t.bF)((0,r.R1)(b.Ay),{secondary:"",onClick:He},{default:(0,t.k6)(()=>[...a[19]||(a[19]=[(0,t.eW)("返回配置",-1)])]),_:1}),(0,t.bF)((0,r.R1)(b.Ay),{type:"primary",onClick:Ve},{default:(0,t.k6)(()=>[...a[20]||(a[20]=[(0,t.eW)("再来一局",-1)])]),_:1})])])),[[n]])])),[[d]]):(0,t.Q3)("",!0)]),_:1}),(0,t.bF)((0,r.R1)(c.A),{name:"history",tab:"历史记录"},{default:(0,t.k6)(()=>[(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",Y,[(0,t.Lk)("div",Z,[(0,t.bF)((0,r.R1)(v.Ay),{class:"bg-blue-50 dark:bg-blue-900/20 border-0 rounded-xl"},{default:(0,t.k6)(()=>[(0,t.Lk)("div",ee,[a[21]||(a[21]=(0,t.Lk)("div",{class:"text-gray-500 dark:text-gray-400 text-sm mb-1"},"累计场次",-1)),(0,t.Lk)("div",ae,(0,o.v_)(Xe.value.total_games),1)])]),_:1}),(0,t.bF)((0,r.R1)(v.Ay),{class:"bg-green-50 dark:bg-green-900/20 border-0 rounded-xl"},{default:(0,t.k6)(()=>[(0,t.Lk)("div",le,[a[22]||(a[22]=(0,t.Lk)("div",{class:"text-gray-500 dark:text-gray-400 text-sm mb-1"},"胜率",-1)),(0,t.Lk)("div",te,(0,o.v_)(Xe.value.accuracy)+"%",1)])]),_:1})]),We.value.length>0?((0,t.uX)(),(0,t.CE)("div",re,[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(We.value,e=>((0,t.uX)(),(0,t.Wv)((0,r.R1)(v.Ay),{key:e.id,size:"small",class:"hover:shadow-md transition-shadow cursor-pointer rounded-lg",onClick:a=>Be(e.word_id)},{default:(0,t.k6)(()=>[(0,t.Lk)("div",se,[(0,t.Lk)("div",oe,[((0,t.uX)(),(0,t.Wv)((0,t.$y)(e.success?(0,r.R1)(L.A):(0,r.R1)(C.A)),{class:(0,o.C4)(["w-8 h-8",e.success?"text-green-500":"text-red-500"])},null,8,["class"])),(0,t.Lk)("div",null,[(0,t.Lk)("h4",de,(0,o.v_)(e.word),1),(0,t.Lk)("div",ne,[(0,t.bF)((0,r.R1)(F.A),{class:"w-3 h-3 mr-1"}),(0,t.eW)(" "+(0,o.v_)(new Date(e.created_at).toLocaleString()),1)])])]),(0,t.bF)((0,r.R1)(W.A),{class:"w-4 h-4 text-gray-400"})])]),_:2},1032,["onClick"]))),128)),(0,t.Lk)("div",ue,[ze.value?((0,t.uX)(),(0,t.Wv)((0,r.R1)(b.Ay),{key:0,loading:Ee.value,onClick:Ie,secondary:"",round:""},{default:(0,t.k6)(()=>[...a[23]||(a[23]=[(0,t.eW)(" 查看更多 ",-1)])]),_:1},8,["loading"])):((0,t.uX)(),(0,t.CE)("div",ie,"没有更多了"))])])):Ee.value?(0,t.Q3)("",!0):((0,t.uX)(),(0,t.Wv)((0,r.R1)(h.A),{key:1,description:"暂无游戏记录",class:"mt-20"}))])),[[d]])]),_:1})]),_:1},8,["value"])])}}},ve=l(71241);const ye=(0,ve.A)(ce,[["__scopeId","data-v-5d345b7b"]]);var pe=ye}}]); -//# sourceMappingURL=765.d04a9622.js.map \ No newline at end of file +//# sourceMappingURL=765.fbd42649.js.map \ No newline at end of file diff --git a/dist/js/859.bbec9975.js b/dist/js/859.bbec9975.js deleted file mode 100644 index 08d3af3..0000000 --- a/dist/js/859.bbec9975.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict";(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[859],{9845:function(e,n,t){t.d(n,{A:function(){return m}});var i=t(56768),o=t(84279),s=(0,i.pM)({name:"Empty",render(){return(0,i.h)("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),(0,i.h)("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),r=t(79882),l=t(88733),a=t(82813),c=t(25216),d=t(34350),v=t(52945),u=(0,d.cB)("empty","\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: var(--n-font-size);\n",[(0,d.cE)("icon","\n width: var(--n-icon-size);\n height: var(--n-icon-size);\n font-size: var(--n-icon-size);\n line-height: var(--n-icon-size);\n color: var(--n-icon-color);\n transition:\n color .3s var(--n-bezier);\n ",[(0,d.c)("+",[(0,d.cE)("description","\n margin-top: 8px;\n ")])]),(0,d.cE)("description","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),(0,d.cE)("extra","\n text-align: center;\n transition: color .3s var(--n-bezier);\n margin-top: 12px;\n color: var(--n-extra-text-color);\n ")]);const p=Object.assign(Object.assign({},r.A.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function});var m=(0,i.pM)({name:"Empty",props:p,slots:Object,setup(e){const{mergedClsPrefixRef:n,inlineThemeDisabled:t,mergedComponentPropsRef:o}=(0,l.Ay)(e),p=(0,r.A)("Empty","-empty",u,v.A,e,n),{localeRef:m}=(0,a.A)("Empty"),f=(0,i.EW)(()=>{var n,t,i;return null!==(n=e.description)&&void 0!==n?n:null===(i=null===(t=null===o||void 0===o?void 0:o.value)||void 0===t?void 0:t.Empty)||void 0===i?void 0:i.description}),h=(0,i.EW)(()=>{var e,n;return(null===(n=null===(e=null===o||void 0===o?void 0:o.value)||void 0===e?void 0:e.Empty)||void 0===n?void 0:n.renderIcon)||(()=>(0,i.h)(s,null))}),y=(0,i.EW)(()=>{const{size:n}=e,{common:{cubicBezierEaseInOut:t},self:{[(0,d.cF)("iconSize",n)]:i,[(0,d.cF)("fontSize",n)]:o,textColor:s,iconColor:r,extraTextColor:l}}=p.value;return{"--n-icon-size":i,"--n-font-size":o,"--n-bezier":t,"--n-text-color":s,"--n-icon-color":r,"--n-extra-text-color":l}}),g=t?(0,c.R)("empty",(0,i.EW)(()=>{let n="";const{size:t}=e;return n+=t[0],n}),y,e):void 0;return{mergedClsPrefix:n,mergedRenderIcon:h,localizedDescription:(0,i.EW)(()=>f.value||m.value.description),cssVars:t?void 0:y,themeClass:null===g||void 0===g?void 0:g.themeClass,onRender:null===g||void 0===g?void 0:g.onRender}},render(){const{$slots:e,mergedClsPrefix:n,onRender:t}=this;return null===t||void 0===t||t(),(0,i.h)("div",{class:[`${n}-empty`,this.themeClass],style:this.cssVars},this.showIcon?(0,i.h)("div",{class:`${n}-empty__icon`},e.icon?e.icon():(0,i.h)(o.A,{clsPrefix:n},{default:this.mergedRenderIcon})):null,this.showDescription?(0,i.h)("div",{class:`${n}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?(0,i.h)("div",{class:`${n}-empty__extra`},e.extra()):null)}})},55200:function(e,n,t){t.d(n,{A:function(){return o}});var i=t(45525); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const o=(0,i.A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},62784:function(e,n,t){t.d(n,{A:function(){return o}});var i=t(45525); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const o=(0,i.A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},67859:function(e,n,t){t.r(n),t.d(n,{default:function(){return Z}});t(18111),t(22489);var i=t(56768),o=t(90144),s=t(24232),r=t(45130),l=t(98728),a=t(97387),c=t(68042),d=t(92720),v=t(59856),u=t(42517),p=t(71168),m=t(54880),f=t(9845),h=t(55200),y=t(45525); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -const g=(0,y.A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);var x=t(91733),k=t(2231),C=t(62784),b=t(6127),w=t(35720);const _={class:"list-detail-view max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},z={key:0,class:"flex justify-center py-20"},R={class:"mb-8",initial:{opacity:0,y:-20},enter:{opacity:1,y:0}},A={class:"flex flex-col md:flex-row md:items-center justify-between gap-4 mb-4"},P={class:"flex items-center gap-3 mb-2"},E={class:"text-3xl font-bold text-gray-900 dark:text-white"},L={class:"text-gray-500 dark:text-gray-400 text-lg"},j={class:"flex items-center gap-4 text-sm text-gray-500"},S={class:"flex items-center gap-1"},W={class:"flex items-center gap-1"},B={class:"space-y-4"},T={class:"flex items-start justify-between gap-4"},O={class:"flex-1 min-w-0"},$={class:"flex flex-col md:flex-row md:items-baseline md:gap-3 mb-3"},M={class:"text-2xl font-bold text-gray-900 dark:text-white hover:text-primary transition-colors break-all"},F={class:"flex flex-col md:flex-row md:gap-3 text-sm text-gray-500 dark:text-gray-400"},N={key:0},V={key:1},X={class:"space-y-2"},I={class:"flex-shrink-0 px-1.5 py-0.5 rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300 font-mono text-xs font-bold min-w-[2rem] text-center"},D={class:"text-gray-800 dark:text-gray-200 text-base leading-relaxed"},K={class:"mt-8 flex justify-center pb-8"},H={key:1,class:"text-gray-400 text-sm"};var q={__name:"ListDetailView",setup(e){const n=(0,l.lq)(),t=(0,l.rd)(),y=(0,a.J)(),q=n.query.list_id,Y=(0,o.KR)(!1),Q=(0,o.KR)(!1),Z=(0,o.KR)(null),U=(0,o.KR)([]),G=(0,o.KR)(1),J=(0,o.KR)(0),ee=(0,o.KR)(!1),ne=e=>(0,b.NR)(e,"YYYY-MM-DD").value,te=async(e=!1)=>{if(q){e?Q.value=!0:Y.value=!0;try{const n=await w.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/detail",{params:{list_id:q,page:G.value}}),t=n.data;e?t.words&&t.words.length>0&&(U.value=[...U.value,...t.words]):(Z.value={id:t.id,name:t.name,note:t.note,word_count:t.word_count,created_at:t.created_at,official:t.official,admin:t.admin},U.value=t.words||[]),J.value=t.pagination.total_items,ee.value=G.value{ee.value&&(G.value++,te(!0))},oe=e=>{const n=t.resolve({path:"/word",query:{word_id:e}});window.open(n.href,"_blank")},se=async e=>{try{const n=await w.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/rmv_word",{list_id:Z.value.id,word_id:[e.id]});y.success("移除成功"),U.value=U.value.filter(n=>n.id!==e.id),Z.value&&(Z.value.word_count=n.data.current_count)}catch(n){console.error(n),y.error("移除失败")}};return(0,i.sV)(()=>{document.title="词单详情 - Word Helper",te()}),(e,n)=>{const t=(0,i.gN)("motion");return(0,i.uX)(),(0,i.CE)("div",_,[Y.value&&!Z.value?((0,i.uX)(),(0,i.CE)("div",z,[(0,i.bF)((0,o.R1)(c.A),{size:"large"})])):Z.value?((0,i.uX)(),(0,i.CE)(i.FK,{key:1},[(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",R,[(0,i.Lk)("div",A,[(0,i.Lk)("div",null,[(0,i.Lk)("div",P,[(0,i.Lk)("h1",E,(0,s.v_)(Z.value.name),1),Z.value.official?((0,i.uX)(),(0,i.Wv)((0,o.R1)(d.Ay),{key:0,type:"success",round:"",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(v._),{component:(0,o.R1)(h.A)},null,8,["component"])]),default:(0,i.k6)(()=>[n[2]||(n[2]=(0,i.eW)(" 官方词单 ",-1))]),_:1})):((0,i.uX)(),(0,i.Wv)((0,o.R1)(d.Ay),{key:1,type:"info",round:"",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(v._),{component:(0,o.R1)(g)},null,8,["component"])]),default:(0,i.k6)(()=>[n[3]||(n[3]=(0,i.eW)(" 我创建的词单 ",-1))]),_:1}))]),(0,i.Lk)("p",L,(0,s.v_)(Z.value.note||"暂无描述"),1)]),(0,i.Lk)("div",j,[(0,i.Lk)("div",S,[(0,i.bF)((0,o.R1)(v._),{component:(0,o.R1)(x.A)},null,8,["component"]),(0,i.Lk)("span",null,(0,s.v_)(Z.value.word_count)+" 词",1)]),(0,i.Lk)("div",W,[(0,i.bF)((0,o.R1)(v._),{component:(0,o.R1)(k.A)},null,8,["component"]),(0,i.Lk)("span",null,(0,s.v_)(ne(Z.value.created_at)),1)])])])])),[[t]]),(0,i.Lk)("div",B,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(U.value,(e,l)=>(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,o.R1)(u.Ay),{key:e.id,class:"word-card rounded-xl shadow-sm hover:shadow-md transition-shadow cursor-pointer border-gray-100 dark:border-gray-800",bordered:!0,size:"medium",initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:50*l}},onClick:n=>oe(e.id)},{default:(0,i.k6)(()=>[(0,i.Lk)("div",T,[(0,i.Lk)("div",O,[(0,i.Lk)("div",$,[(0,i.Lk)("h3",M,(0,s.v_)(e.word),1),(0,i.Lk)("div",F,[e.uk_accent?((0,i.uX)(),(0,i.CE)("span",N,"英 ["+(0,s.v_)(e.uk_accent)+"]",1)):(0,i.Q3)("",!0),e.us_accent?((0,i.uX)(),(0,i.CE)("span",V,"美 ["+(0,s.v_)(e.us_accent)+"]",1)):(0,i.Q3)("",!0)])]),(0,i.Lk)("div",X,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(e.translations,(e,n)=>((0,i.uX)(),(0,i.CE)("div",{key:n,class:"flex items-baseline gap-2"},[(0,i.Lk)("span",I,(0,s.v_)(e.pos),1),(0,i.Lk)("span",D,(0,s.v_)(e.meaning),1)]))),128))])]),!Z.value.official||Z.value.admin?((0,i.uX)(),(0,i.CE)("div",{key:0,class:"flex-shrink-0 ml-2",onClick:n[0]||(n[0]=(0,r.D$)(()=>{},["stop"]))},[(0,i.bF)((0,o.R1)(p.A),{onPositiveClick:n=>se(e),"negative-text":"取消","positive-text":"确认移除"},{trigger:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(m.Ay),{quaternary:"",circle:"",type:"error",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(v._),{component:(0,o.R1)(C.A)},null,8,["component"])]),_:1})]),default:(0,i.k6)(()=>[(0,i.eW)(' 确定要将 "'+(0,s.v_)(e.word)+'" 移出本词单吗? ',1)]),_:2},1032,["onPositiveClick"])])):(0,i.Q3)("",!0)])]),_:2},1032,["enter","onClick"])),[[t]])),128))]),(0,i.Lk)("div",K,[ee.value?((0,i.uX)(),(0,i.Wv)((0,o.R1)(m.Ay),{key:0,loading:Q.value,onClick:ie,secondary:"",round:"",size:"large",class:"w-full md:w-auto px-8"},{default:(0,i.k6)(()=>[...n[4]||(n[4]=[(0,i.eW)(" 加载更多单词 ",-1)])]),_:1},8,["loading"])):U.value.length>0?((0,i.uX)(),(0,i.CE)("div",H," 已加载全部 "+(0,s.v_)(U.value.length)+" 个单词 ",1)):((0,i.uX)(),(0,i.Wv)((0,o.R1)(f.A),{key:2,description:"本词单暂无单词",class:"mt-12"}))])],64)):((0,i.uX)(),(0,i.Wv)((0,o.R1)(f.A),{key:2,description:"未找到词单信息",class:"mt-20"},{extra:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(m.Ay),{onClick:n[1]||(n[1]=n=>e.$router.back())},{default:(0,i.k6)(()=>[...n[5]||(n[5]=[(0,i.eW)("返回上一页",-1)])]),_:1})]),_:1}))])}}},Y=t(71241);const Q=(0,Y.A)(q,[["__scopeId","data-v-614c94c1"]]);var Z=Q},68042:function(e,n,t){t.d(n,{A:function(){return g}});var i=t(55472),o=t(37485),s=t(56768),r=t(90144),l=t(45130),a=t(21905),c=t(79882),d=t(88733),v=t(25216),u=t(34350),p=t(54507),m=t(29895),f=(0,u.c)([(0,u.c)("@keyframes spin-rotate","\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n "),(0,u.cB)("spin-container","\n position: relative;\n ",[(0,u.cB)("spin-body","\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[(0,m.v)()])]),(0,u.cB)("spin-body","\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n "),(0,u.cB)("spin","\n display: inline-flex;\n height: var(--n-size);\n width: var(--n-size);\n font-size: var(--n-size);\n color: var(--n-color);\n ",[(0,u.cM)("rotate","\n animation: spin-rotate 2s linear infinite;\n ")]),(0,u.cB)("spin-description","\n display: inline-block;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n margin-top: 8px;\n "),(0,u.cB)("spin-content","\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n pointer-events: all;\n ",[(0,u.cM)("spinning","\n user-select: none;\n -webkit-user-select: none;\n pointer-events: none;\n opacity: var(--n-opacity-spinning);\n ")])]);const h={small:20,medium:18,large:16},y=Object.assign(Object.assign({},c.A.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number});var g=(0,s.pM)({name:"Spin",props:y,slots:Object,setup(e){const{mergedClsPrefixRef:n,inlineThemeDisabled:t}=(0,d.Ay)(e),l=(0,c.A)("Spin","-spin",f,p.A,e,n),a=(0,s.EW)(()=>{const{size:n}=e,{common:{cubicBezierEaseInOut:t},self:o}=l.value,{opacitySpinning:s,color:r,textColor:a}=o,c="number"===typeof n?(0,i.Cw)(n):o[(0,u.cF)("size",n)];return{"--n-bezier":t,"--n-opacity-spinning":s,"--n-size":c,"--n-color":r,"--n-text-color":a}}),m=t?(0,v.R)("spin",(0,s.EW)(()=>{const{size:n}=e;return"number"===typeof n?String(n):n[0]}),a,e):void 0,y=(0,o.A)(e,["spinning","show"]),g=(0,r.KR)(!1);return(0,s.nT)(n=>{let t;if(y.value){const{delay:i}=e;if(i)return t=window.setTimeout(()=>{g.value=!0},i),void n(()=>{clearTimeout(t)})}g.value=y.value}),{mergedClsPrefix:n,active:g,mergedStrokeWidth:(0,s.EW)(()=>{const{strokeWidth:n}=e;if(void 0!==n)return n;const{size:t}=e;return h["number"===typeof t?"medium":t]}),cssVars:t?void 0:a,themeClass:null===m||void 0===m?void 0:m.themeClass,onRender:null===m||void 0===m?void 0:m.onRender}},render(){var e,n;const{$slots:t,mergedClsPrefix:i,description:o}=this,r=t.icon&&this.rotate,c=(o||t.description)&&(0,s.h)("div",{class:`${i}-spin-description`},o||(null===(e=t.description)||void 0===e?void 0:e.call(t))),d=t.icon?(0,s.h)("div",{class:[`${i}-spin-body`,this.themeClass]},(0,s.h)("div",{class:[`${i}-spin`,r&&`${i}-spin--rotate`],style:t.default?"":this.cssVars},t.icon()),c):(0,s.h)("div",{class:[`${i}-spin-body`,this.themeClass]},(0,s.h)(a.A,{clsPrefix:i,style:t.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${i}-spin`}),c);return null===(n=this.onRender)||void 0===n||n.call(this),t.default?(0,s.h)("div",{class:[`${i}-spin-container`,this.themeClass],style:this.cssVars},(0,s.h)("div",{class:[`${i}-spin-content`,this.active&&`${i}-spin-content--spinning`,this.contentClass],style:this.contentStyle},t),(0,s.h)(l.eB,{name:"fade-in-transition"},{default:()=>this.active?d:null})):d}})},71168:function(e,n,t){t.d(n,{A:function(){return A}});var i=t(56768),o=t(90144),s=t(79882),r=t(88733),l=t(37901),a=t(86866),c=t(91462),d=t(36921),v=t(29767),u=t(77727);const p=(0,u.D)("n-popconfirm");var m=t(84279),f=t(73921),h=t(82813),y=t(25216),g=t(52126),x=t(25972),k=t(54880);const C={positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0}},b=(0,g.Y)(C);var w=(0,i.pM)({name:"NPopconfirmPanel",props:C,setup(e){const{localeRef:n}=(0,h.A)("Popconfirm"),{inlineThemeDisabled:t}=(0,r.Ay)(),{mergedClsPrefixRef:s,mergedThemeRef:l,props:a}=(0,i.WQ)(p),c=(0,i.EW)(()=>{const{common:{cubicBezierEaseInOut:e},self:{fontSize:n,iconSize:t,iconColor:i}}=l.value;return{"--n-bezier":e,"--n-font-size":n,"--n-icon-size":t,"--n-icon-color":i}}),d=t?(0,y.R)("popconfirm-panel",void 0,c,a):void 0;return Object.assign(Object.assign({},(0,h.A)("Popconfirm")),{mergedClsPrefix:s,cssVars:t?void 0:c,localizedPositiveText:(0,i.EW)(()=>e.positiveText||n.value.positiveText),localizedNegativeText:(0,i.EW)(()=>e.negativeText||n.value.negativeText),positiveButtonProps:(0,o.lW)(a,"positiveButtonProps"),negativeButtonProps:(0,o.lW)(a,"negativeButtonProps"),handlePositiveClick(n){e.onPositiveClick(n)},handleNegativeClick(n){e.onNegativeClick(n)},themeClass:null===d||void 0===d?void 0:d.themeClass,onRender:null===d||void 0===d?void 0:d.onRender})},render(){var e;const{mergedClsPrefix:n,showIcon:t,$slots:o}=this,s=(0,x.Nj)(o.action,()=>null===this.negativeText&&null===this.positiveText?[]:[null!==this.negativeText&&(0,i.h)(k.Ay,Object.assign({size:"small",onClick:this.handleNegativeClick},this.negativeButtonProps),{default:()=>this.localizedNegativeText}),null!==this.positiveText&&(0,i.h)(k.Ay,Object.assign({size:"small",type:"primary",onClick:this.handlePositiveClick},this.positiveButtonProps),{default:()=>this.localizedPositiveText})]);return null===(e=this.onRender)||void 0===e||e.call(this),(0,i.h)("div",{class:[`${n}-popconfirm__panel`,this.themeClass],style:this.cssVars},(0,x.iQ)(o.default,e=>t||e?(0,i.h)("div",{class:`${n}-popconfirm__body`},t?(0,i.h)("div",{class:`${n}-popconfirm__icon`},(0,x.Nj)(o.icon,()=>[(0,i.h)(m.A,{clsPrefix:n},{default:()=>(0,i.h)(f.A,null)})])):null,e):null),s?(0,i.h)("div",{class:[`${n}-popconfirm__action`]},s):null)}}),_=t(34350),z=(0,_.cB)("popconfirm",[(0,_.cE)("body","\n font-size: var(--n-font-size);\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n position: relative;\n ",[(0,_.cE)("icon","\n display: flex;\n font-size: var(--n-icon-size);\n color: var(--n-icon-color);\n transition: color .3s var(--n-bezier);\n margin: 0 8px 0 0;\n ")]),(0,_.cE)("action","\n display: flex;\n justify-content: flex-end;\n ",[(0,_.c)("&:not(:first-child)","margin-top: 8px"),(0,_.cB)("button",[(0,_.c)("&:not(:last-child)","margin-right: 8px;")])])]);const R=Object.assign(Object.assign(Object.assign({},s.A.props),d.vY),{positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},trigger:{type:String,default:"click"},positiveButtonProps:Object,negativeButtonProps:Object,onPositiveClick:Function,onNegativeClick:Function});var A=(0,i.pM)({name:"Popconfirm",props:R,slots:Object,__popover__:!0,setup(e){const{mergedClsPrefixRef:n}=(0,r.Ay)(),t=(0,s.A)("Popconfirm","-popconfirm",z,v.A,e,n),a=(0,o.KR)(null);function c(n){var t;if(!(null===(t=a.value)||void 0===t?void 0:t.getMergedShow()))return;const{onPositiveClick:i,"onUpdate:show":o}=e;Promise.resolve(!i||i(n)).then(e=>{var n;!1!==e&&(null===(n=a.value)||void 0===n||n.setShow(!1),o&&(0,l.T)(o,!1))})}function d(n){var t;if(!(null===(t=a.value)||void 0===t?void 0:t.getMergedShow()))return;const{onNegativeClick:i,"onUpdate:show":o}=e;Promise.resolve(!i||i(n)).then(e=>{var n;!1!==e&&(null===(n=a.value)||void 0===n||n.setShow(!1),o&&(0,l.T)(o,!1))})}(0,i.Gt)(p,{mergedThemeRef:t,mergedClsPrefixRef:n,props:e});const u={setShow(e){var n;null===(n=a.value)||void 0===n||n.setShow(e)},syncPosition(){var e;null===(e=a.value)||void 0===e||e.syncPosition()},mergedTheme:t,popoverInstRef:a,handlePositiveClick:c,handleNegativeClick:d};return u},render(){const{$slots:e,$props:n,mergedTheme:t}=this;return(0,i.h)(d.Ay,Object.assign({},(0,a.c)(n,b),{theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalExtraClass:["popconfirm"],ref:"popoverInstRef"}),{trigger:e.trigger,default:()=>{const t=(0,c.a)(n,b);return(0,i.h)(w,Object.assign({},t,{onPositiveClick:this.handlePositiveClick,onNegativeClick:this.handleNegativeClick}),e)}})}})},91733:function(e,n,t){t.d(n,{A:function(){return o}});var i=t(45525); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const o=(0,i.A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])}}]); -//# sourceMappingURL=859.bbec9975.js.map \ No newline at end of file diff --git a/dist/js/868.a56a31a0.js b/dist/js/868.f069e40b.js similarity index 86% rename from dist/js/868.a56a31a0.js rename to dist/js/868.f069e40b.js index 4ba61a3..cf1c058 100644 --- a/dist/js/868.a56a31a0.js +++ b/dist/js/868.f069e40b.js @@ -1,4 +1,10 @@ -"use strict";(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[868],{9845:function(e,t,n){n.d(t,{A:function(){return h}});var i=n(56768),r=n(84279),a=(0,i.pM)({name:"Empty",render(){return(0,i.h)("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),(0,i.h)("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),l=n(79882),o=n(88733),s=n(82813),d=n(25216),c=n(34350),u=n(52945),v=(0,c.cB)("empty","\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: var(--n-font-size);\n",[(0,c.cE)("icon","\n width: var(--n-icon-size);\n height: var(--n-icon-size);\n font-size: var(--n-icon-size);\n line-height: var(--n-icon-size);\n color: var(--n-icon-color);\n transition:\n color .3s var(--n-bezier);\n ",[(0,c.c)("+",[(0,c.cE)("description","\n margin-top: 8px;\n ")])]),(0,c.cE)("description","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),(0,c.cE)("extra","\n text-align: center;\n transition: color .3s var(--n-bezier);\n margin-top: 12px;\n color: var(--n-extra-text-color);\n ")]);const p=Object.assign(Object.assign({},l.A.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function});var h=(0,i.pM)({name:"Empty",props:p,slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedComponentPropsRef:r}=(0,o.Ay)(e),p=(0,l.A)("Empty","-empty",v,u.A,e,t),{localeRef:h}=(0,s.A)("Empty"),g=(0,i.EW)(()=>{var t,n,i;return null!==(t=e.description)&&void 0!==t?t:null===(i=null===(n=null===r||void 0===r?void 0:r.value)||void 0===n?void 0:n.Empty)||void 0===i?void 0:i.description}),f=(0,i.EW)(()=>{var e,t;return(null===(t=null===(e=null===r||void 0===r?void 0:r.value)||void 0===e?void 0:e.Empty)||void 0===t?void 0:t.renderIcon)||(()=>(0,i.h)(a,null))}),m=(0,i.EW)(()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{[(0,c.cF)("iconSize",t)]:i,[(0,c.cF)("fontSize",t)]:r,textColor:a,iconColor:l,extraTextColor:o}}=p.value;return{"--n-icon-size":i,"--n-font-size":r,"--n-bezier":n,"--n-text-color":a,"--n-icon-color":l,"--n-extra-text-color":o}}),y=n?(0,d.R)("empty",(0,i.EW)(()=>{let t="";const{size:n}=e;return t+=n[0],t}),m,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:f,localizedDescription:(0,i.EW)(()=>g.value||h.value.description),cssVars:n?void 0:m,themeClass:null===y||void 0===y?void 0:y.themeClass,onRender:null===y||void 0===y?void 0:y.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return null===n||void 0===n||n(),(0,i.h)("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?(0,i.h)("div",{class:`${t}-empty__icon`},e.icon?e.icon():(0,i.h)(r.A,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?(0,i.h)("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?(0,i.h)("div",{class:`${t}-empty__extra`},e.extra()):null)}})},18495:function(e,t,n){n.d(t,{A:function(){return r}});var i=n(45525); +"use strict";(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[868],{7023:function(e,t,n){n.d(t,{A:function(){return r}});var i=n(45525); +/** + * @license lucide-vue-next v0.562.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const r=(0,i.A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},9845:function(e,t,n){n.d(t,{A:function(){return h}});var i=n(56768),r=n(84279),a=(0,i.pM)({name:"Empty",render(){return(0,i.h)("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),(0,i.h)("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),l=n(79882),o=n(88733),s=n(82813),d=n(25216),c=n(34350),u=n(52945),v=(0,c.cB)("empty","\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: var(--n-font-size);\n",[(0,c.cE)("icon","\n width: var(--n-icon-size);\n height: var(--n-icon-size);\n font-size: var(--n-icon-size);\n line-height: var(--n-icon-size);\n color: var(--n-icon-color);\n transition:\n color .3s var(--n-bezier);\n ",[(0,c.c)("+",[(0,c.cE)("description","\n margin-top: 8px;\n ")])]),(0,c.cE)("description","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),(0,c.cE)("extra","\n text-align: center;\n transition: color .3s var(--n-bezier);\n margin-top: 12px;\n color: var(--n-extra-text-color);\n ")]);const p=Object.assign(Object.assign({},l.A.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function});var h=(0,i.pM)({name:"Empty",props:p,slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedComponentPropsRef:r}=(0,o.Ay)(e),p=(0,l.A)("Empty","-empty",v,u.A,e,t),{localeRef:h}=(0,s.A)("Empty"),g=(0,i.EW)(()=>{var t,n,i;return null!==(t=e.description)&&void 0!==t?t:null===(i=null===(n=null===r||void 0===r?void 0:r.value)||void 0===n?void 0:n.Empty)||void 0===i?void 0:i.description}),f=(0,i.EW)(()=>{var e,t;return(null===(t=null===(e=null===r||void 0===r?void 0:r.value)||void 0===e?void 0:e.Empty)||void 0===t?void 0:t.renderIcon)||(()=>(0,i.h)(a,null))}),m=(0,i.EW)(()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{[(0,c.cF)("iconSize",t)]:i,[(0,c.cF)("fontSize",t)]:r,textColor:a,iconColor:l,extraTextColor:o}}=p.value;return{"--n-icon-size":i,"--n-font-size":r,"--n-bezier":n,"--n-text-color":a,"--n-icon-color":l,"--n-extra-text-color":o}}),y=n?(0,d.R)("empty",(0,i.EW)(()=>{let t="";const{size:n}=e;return t+=n[0],t}),m,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:f,localizedDescription:(0,i.EW)(()=>g.value||h.value.description),cssVars:n?void 0:m,themeClass:null===y||void 0===y?void 0:y.themeClass,onRender:null===y||void 0===y?void 0:y.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return null===n||void 0===n||n(),(0,i.h)("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?(0,i.h)("div",{class:`${t}-empty__icon`},e.icon?e.icon():(0,i.h)(r.A,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?(0,i.h)("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?(0,i.h)("div",{class:`${t}-empty__extra`},e.extra()):null)}})},18495:function(e,t,n){n.d(t,{A:function(){return r}});var i=n(45525); /** * @license lucide-vue-next v0.562.0 - ISC * @@ -50,5 +56,5 @@ const g=(0,d.A)("bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const b=(0,d.A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var k=n(38307),w=n(19629),_=n(54880),C=n(92720),R=n(59856),z=n(42517),A=n(68042),E=n(64498),L=n(71168),$=n(8508),F=n(93913),P=n(9845),j=n(79882),B=n(88733),W=n(38741),S=n(25216),M=n(77727),T=n(27355),X=n(34350),O=(0,X.c)([(0,X.cB)("list","\n --n-merged-border-color: var(--n-border-color);\n --n-merged-color: var(--n-color);\n --n-merged-color-hover: var(--n-color-hover);\n margin: 0;\n font-size: var(--n-font-size);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n padding: 0;\n list-style-type: none;\n color: var(--n-text-color);\n background-color: var(--n-merged-color);\n ",[(0,X.cM)("show-divider",[(0,X.cB)("list-item",[(0,X.c)("&:not(:last-child)",[(0,X.cE)("divider","\n background-color: var(--n-merged-border-color);\n ")])])]),(0,X.cM)("clickable",[(0,X.cB)("list-item","\n cursor: pointer;\n ")]),(0,X.cM)("bordered","\n border: 1px solid var(--n-merged-border-color);\n border-radius: var(--n-border-radius);\n "),(0,X.cM)("hoverable",[(0,X.cB)("list-item","\n border-radius: var(--n-border-radius);\n ",[(0,X.c)("&:hover","\n background-color: var(--n-merged-color-hover);\n ",[(0,X.cE)("divider","\n background-color: transparent;\n ")])])]),(0,X.cM)("bordered, hoverable",[(0,X.cB)("list-item","\n padding: 12px 20px;\n "),(0,X.cE)("header, footer","\n padding: 12px 20px;\n ")]),(0,X.cE)("header, footer","\n padding: 12px 0;\n box-sizing: border-box;\n transition: border-color .3s var(--n-bezier);\n ",[(0,X.c)("&:not(:last-child)","\n border-bottom: 1px solid var(--n-merged-border-color);\n ")]),(0,X.cB)("list-item","\n position: relative;\n padding: 12px 0; \n box-sizing: border-box;\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[(0,X.cE)("prefix","\n margin-right: 20px;\n flex: 0;\n "),(0,X.cE)("suffix","\n margin-left: 20px;\n flex: 0;\n "),(0,X.cE)("main","\n flex: 1;\n "),(0,X.cE)("divider","\n height: 1px;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: transparent;\n transition: background-color .3s var(--n-bezier);\n pointer-events: none;\n ")])]),(0,X.EM)((0,X.cB)("list","\n --n-merged-color-hover: var(--n-color-hover-modal);\n --n-merged-color: var(--n-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n ")),(0,X.ES)((0,X.cB)("list","\n --n-merged-color-hover: var(--n-color-hover-popover);\n --n-merged-color: var(--n-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n "))]);const I=Object.assign(Object.assign({},j.A.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),K=(0,M.D)("n-list");var H=(0,i.pM)({name:"List",props:I,slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:a}=(0,B.Ay)(e),l=(0,W.I)("List",a,t),o=(0,j.A)("List","-list",O,T.A,e,t);(0,i.Gt)(K,{showDividerRef:(0,r.lW)(e,"showDivider"),mergedClsPrefixRef:t});const s=(0,i.EW)(()=>{const{common:{cubicBezierEaseInOut:e},self:{fontSize:t,textColor:n,color:i,colorModal:r,colorPopover:a,borderColor:l,borderColorModal:s,borderColorPopover:d,borderRadius:c,colorHover:u,colorHoverModal:v,colorHoverPopover:p}}=o.value;return{"--n-font-size":t,"--n-bezier":e,"--n-text-color":n,"--n-color":i,"--n-border-radius":c,"--n-border-color":l,"--n-border-color-modal":s,"--n-border-color-popover":d,"--n-color-modal":r,"--n-color-popover":a,"--n-color-hover":u,"--n-color-hover-modal":v,"--n-color-hover-popover":p}}),d=n?(0,S.R)("list",void 0,s,e):void 0;return{mergedClsPrefix:t,rtlEnabled:l,cssVars:n?void 0:s,themeClass:null===d||void 0===d?void 0:d.themeClass,onRender:null===d||void 0===d?void 0:d.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:r}=this;return null===r||void 0===r||r(),(0,i.h)("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?(0,i.h)("div",{class:`${n}-list__header`},t.header()):null,null===(e=t.default)||void 0===e?void 0:e.call(t),t.footer?(0,i.h)("div",{class:`${n}-list__footer`},t.footer()):null)}}),D=n(35268),q=(0,i.pM)({name:"ListItem",slots:Object,setup(){const e=(0,i.WQ)(K,null);return e||(0,D.$8)("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return(0,i.h)("li",{class:`${t}-list-item`},e.prefix?(0,i.h)("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?(0,i.h)("div",{class:`${t}-list-item__main`},e):null,e.suffix?(0,i.h)("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&(0,i.h)("div",{class:`${t}-list-item__divider`}))}}),N=n(43585),V=n(69313),Q=(0,X.cB)("thing","\n display: flex;\n transition: color .3s var(--n-bezier);\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n",[(0,X.cB)("thing-avatar","\n margin-right: 12px;\n margin-top: 2px;\n "),(0,X.cB)("thing-avatar-header-wrapper","\n display: flex;\n flex-wrap: nowrap;\n ",[(0,X.cB)("thing-header-wrapper","\n flex: 1;\n ")]),(0,X.cB)("thing-main","\n flex-grow: 1;\n ",[(0,X.cB)("thing-header","\n display: flex;\n margin-bottom: 4px;\n justify-content: space-between;\n align-items: center;\n ",[(0,X.cE)("title","\n font-size: 16px;\n font-weight: var(--n-title-font-weight);\n transition: color .3s var(--n-bezier);\n color: var(--n-title-text-color);\n ")]),(0,X.cE)("description",[(0,X.c)("&:not(:last-child)","\n margin-bottom: 4px;\n ")]),(0,X.cE)("content",[(0,X.c)("&:not(:first-child)","\n margin-top: 12px;\n ")]),(0,X.cE)("footer",[(0,X.c)("&:not(:first-child)","\n margin-top: 12px;\n ")]),(0,X.cE)("action",[(0,X.c)("&:not(:first-child)","\n margin-top: 12px;\n ")])])]);const U=Object.assign(Object.assign({},j.A.props),{title:String,titleExtra:String,description:String,descriptionClass:String,descriptionStyle:[String,Object],content:String,contentClass:String,contentStyle:[String,Object],contentIndented:Boolean});var Z=(0,i.pM)({name:"Thing",props:U,slots:Object,setup(e,{slots:t}){const{mergedClsPrefixRef:n,inlineThemeDisabled:r,mergedRtlRef:a}=(0,B.Ay)(e),l=(0,j.A)("Thing","-thing",Q,V.A,e,n),o=(0,W.I)("Thing",a,n),s=(0,i.EW)(()=>{const{self:{titleTextColor:e,textColor:t,titleFontWeight:n,fontSize:i},common:{cubicBezierEaseInOut:r}}=l.value;return{"--n-bezier":r,"--n-font-size":i,"--n-text-color":t,"--n-title-font-weight":n,"--n-title-text-color":e}}),d=r?(0,S.R)("thing",void 0,s,e):void 0;return()=>{var a;const{value:l}=n,c=!!o&&o.value;return null===(a=null===d||void 0===d?void 0:d.onRender)||void 0===a||a.call(d),(0,i.h)("div",{class:[`${l}-thing`,null===d||void 0===d?void 0:d.themeClass,c&&`${l}-thing--rtl`],style:r?void 0:s.value},t.avatar&&e.contentIndented?(0,i.h)("div",{class:`${l}-thing-avatar`},t.avatar()):null,(0,i.h)("div",{class:`${l}-thing-main`},!e.contentIndented&&(t.header||e.title||t["header-extra"]||e.titleExtra||t.avatar)?(0,i.h)("div",{class:`${l}-thing-avatar-header-wrapper`},t.avatar?(0,i.h)("div",{class:`${l}-thing-avatar`},t.avatar()):null,t.header||e.title||t["header-extra"]||e.titleExtra?(0,i.h)("div",{class:`${l}-thing-header-wrapper`},(0,i.h)("div",{class:`${l}-thing-header`},t.header||e.title?(0,i.h)("div",{class:`${l}-thing-header__title`},t.header?t.header():e.title):null,t["header-extra"]||e.titleExtra?(0,i.h)("div",{class:`${l}-thing-header__extra`},t["header-extra"]?t["header-extra"]():e.titleExtra):null),t.description||e.description?(0,i.h)("div",{class:[`${l}-thing-main__description`,e.descriptionClass],style:e.descriptionStyle},t.description?t.description():e.description):null):null):(0,i.h)(i.FK,null,t.header||e.title||t["header-extra"]||e.titleExtra?(0,i.h)("div",{class:`${l}-thing-header`},t.header||e.title?(0,i.h)("div",{class:`${l}-thing-header__title`},t.header?t.header():e.title):null,t["header-extra"]||e.titleExtra?(0,i.h)("div",{class:`${l}-thing-header__extra`},t["header-extra"]?t["header-extra"]():e.titleExtra):null):null,t.description||e.description?(0,i.h)("div",{class:[`${l}-thing-main__description`,e.descriptionClass],style:e.descriptionStyle},t.description?t.description():e.description):null),t.default||e.content?(0,i.h)("div",{class:[`${l}-thing-main__content`,e.contentClass],style:e.contentStyle},t.default?t.default():e.content):null,t.footer?(0,i.h)("div",{class:`${l}-thing-main__footer`},t.footer()):null,t.action?(0,i.h)("div",{class:`${l}-thing-main__action`},t.action()):null))}}}),Y=n(35720),G=n(74911);const J={class:"word-detail-view max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},ee={key:0,class:"mb-6 flex items-center justify-between bg-primary/10 dark:bg-primary/20 rounded-lg px-4 py-3 border border-primary/20",initial:{opacity:0,y:-20},enter:{opacity:1,y:0,transition:{duration:500}}},te={class:"flex items-center gap-2"},ne={class:"font-medium text-primary"},ie={class:"text-sm font-mono text-primary"},re={class:"font-bold"},ae={class:"opacity-80"},le={class:"mb-8 flex flex-col md:flex-row md:items-center justify-between gap-4",initial:{opacity:0,y:-20},enter:{opacity:1,y:0,transition:{duration:500}}},oe={class:"flex flex-col md:flex-row md:items-center gap-3 md:gap-4 min-w-0"},se={class:"flex flex-col md:flex-row md:items-center gap-2 md:gap-4 min-w-0"},de={class:"text-4xl font-bold text-gray-900 dark:text-white break-all min-w-0"},ce={class:"flex flex-col gap-1 shrink-0"},ue={key:0,class:"text-sm text-gray-500 dark:text-gray-400"},ve={key:1,class:"text-sm text-gray-500 dark:text-gray-400"},pe={class:"flex items-center gap-2 shrink-0"},he={key:0,class:"flex items-center gap-3"},ge={class:"grid grid-cols-1 lg:grid-cols-3 gap-8"},fe={class:"lg:col-span-2 space-y-8"},me={key:0,class:"flex flex-wrap gap-2",initial:{opacity:0,x:-20},enter:{opacity:1,x:0,transition:{delay:200}}},ye={key:1,class:"flex flex-col gap-3",initial:{opacity:0,x:-20},enter:{opacity:1,x:0,transition:{delay:250}}},xe=["onClick"],be={class:"p-2 bg-blue-100 dark:bg-blue-800 rounded-full text-blue-600 dark:text-blue-300"},ke={class:"flex-1 flex items-center flex-wrap gap-2"},we={class:"text-gray-700 dark:text-gray-200"},_e={class:"font-bold text-blue-700 dark:text-blue-400"},Ce={class:"flex items-center gap-2"},Re={key:0,class:"space-y-6"},ze={class:"flex items-baseline gap-2 mb-3"},Ae={class:"px-2 py-0.5 rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300 font-mono text-sm font-bold"},Ee={class:"text-lg text-gray-800 dark:text-gray-200"},Le={key:0,class:"pl-4 border-l-2 border-gray-200 dark:border-gray-700 space-y-3"},$e={class:"text-gray-700 dark:text-gray-300"},Fe={class:"text-gray-500 dark:text-gray-500 text-sm mt-0.5"},Pe={key:1,class:"text-gray-400 text-center py-4"},je={class:"flex items-center gap-2"},Be={class:"relative overflow-hidden"},We=["innerHTML"],Se=["innerHTML"],Me={class:"mt-2 text-xs text-gray-400 text-right"},Te={key:1,class:"absolute inset-0 flex items-center justify-center"},Xe={key:2,class:"text-gray-400 text-center py-4"},Oe={key:0,class:"flex justify-between items-center mt-4 border-t border-gray-100 dark:border-gray-700 pt-3"},Ie={class:"text-xs text-gray-400"},Ke={class:"space-y-8"},He={class:"flex items-center gap-2"},De={class:"grid grid-cols-2 gap-4 text-center"},qe={class:"p-3 bg-gray-50 dark:bg-gray-700/50 rounded-lg"},Ne={class:"text-xl font-bold text-gray-900 dark:text-white mt-1"},Ve={class:"p-3 bg-green-50 dark:bg-green-900/20 rounded-lg"},Qe={class:"text-xl font-bold text-green-600 dark:text-green-400 mt-1"},Ue={class:"flex items-center justify-between"},Ze={class:"flex items-center gap-2"},Ye={key:0,class:"space-y-4"},Ge={key:0,class:"flex flex-wrap items-center gap-2 mb-2"},Je={class:"inline-flex items-center gap-1 bg-blue-100 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300 px-2 py-0.5 rounded-full text-xs font-medium"},et=["onClick"],tt=["innerHTML"],nt={class:"flex justify-end mt-2"},it={class:"text-xs text-gray-400"},rt={key:1,class:"mt-2 flex items-center justify-end gap-2"},at={key:0,class:"text-center pt-2"},lt={key:1,class:"flex justify-center py-4"},ot={key:2,class:"text-gray-400 text-center py-4 text-sm"},st={class:"flex justify-end gap-2"},dt={key:0,class:"py-8 flex justify-center"},ct={key:1,class:"py-8"},ut={class:"p-2 bg-blue-100 dark:bg-blue-900/30 rounded-lg text-blue-600 dark:text-blue-400"},vt={class:"text-xs text-gray-400"};var pt={__name:"WordDetailView",setup(e){const t=new G.A({html:!0,breaks:!0}),n=e=>{if(!e)return"";let n=e.replace(/([^\n])\n(\s*\d+\.\s)/g,"$1\n\n$2").replace(/([^\n])\n(\s*[-*+]\s)/g,"$1\n\n$2");return t.render(n)},d=(0,o.lq)(),j=(0,o.rd)(),B=(0,s.J)(),W=(0,r.KR)(!1),S=(0,r.KR)(null),M=(0,r.KR)({last:null,next:null}),T=(0,r.KR)(!1),X=(0,r.KR)(!1),O=(0,r.KR)({}),I=(0,r.KR)({content:""}),K=(0,r.KR)([]),D=(0,r.KR)(1),V=(0,r.KR)(0),Q=(0,r.KR)(!1),U=(0,r.KR)([]),pt=(0,r.KR)(1),ht=(0,r.KR)(0),gt=(0,r.KR)(!1),ft=(0,r.KR)("slide-left"),mt=(0,r.KR)(!1),yt=(0,r.KR)([]),xt=(0,r.KR)(!1),bt=(0,i.EW)(()=>"true"===d.query.learn),kt=(0,i.EW)(()=>Number(d.query.word_id)),wt=(0,i.EW)(()=>Number(d.query.dict_id)),_t=(0,i.EW)(()=>U.value[0]||null),Ct=async(e=1,t=!1)=>{if(kt.value){Q.value=!0;try{const n=await Y.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/note",{params:{word_id:kt.value,page:e,limit:5}});K.value=t?[...K.value,...n.data.list]:n.data.list,V.value=n.data.pagination.total_items,D.value=e}catch(n){console.error("Fetch notes failed:",n),B.error("获取笔记失败")}finally{Q.value=!1}}},Rt=()=>{Ct(D.value+1,!0)},zt=e=>{const t=j.resolve({path:"/list_detail",query:{list_id:e}}).href;window.open(t,"_blank")},At=async(e=1)=>{if(kt.value){gt.value=!0;try{const t=await Y.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/ai_passage",{params:{word_id:kt.value,page:e,limit:1}});U.value=t.data.list,ht.value=t.data.pagination.total_items,pt.value=e}catch(t){console.error("Fetch ai passages failed:",t)}finally{gt.value=!1}}},Et=()=>{pt.value>1&&(ft.value="slide-right",At(pt.value-1))},Lt=()=>{pt.value{if(kt.value){W.value=!0,Ct(1),At(1);try{const e={word_id:kt.value,learn:bt.value};bt.value&&wt.value&&(e.dict_id=wt.value);const t=await Y.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/word",e);M.value={last:t.data.last,next:t.data.next};const n={...t.data};delete n.last,delete n.next,S.value=n}catch(e){console.error("Fetch word detail failed:",e),B.error("获取单词详情失败")}finally{W.value=!1}}},Ft=e=>{e&&j.push({name:"word-detail",query:{...d.query,word_id:e}})},Pt=async()=>{if(S.value)try{const e=await Y.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/favorite",{word_id:S.value.id});S.value.is_favorite=e.data.is_favorite,B.success(e.data.message)}catch(e){B.error("操作失败")}},jt=(e=null)=>{e&&e.id?(O.value=e,I.value.content=e.content):(O.value={},I.value.content=""),T.value=!0},Bt=async()=>{if(I.value.content.trim()){X.value=!0;try{const e={word_id:S.value.id,content:I.value.content};O.value.id&&(e.note_id=O.value.id);const t=await Y.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/note",e);B.success(t.data.message),T.value=!1,Ct(1)}catch(e){B.error("保存笔记失败")}finally{X.value=!1}}else B.warning("笔记内容不能为空")},Wt=async e=>{try{const t=await Y.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/del_note",{note_id:e});B.success(t.data.message),Ct(1)}catch(t){B.error("删除笔记失败")}},St=async()=>{S.value?.id&&(mt.value=!0,await Mt())},Mt=async()=>{xt.value=!0;try{const e=await Y.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/contain_status",{params:{word_id:S.value.id}});yt.value=e.data.list.map(e=>({...e,loading:!1}))}catch(e){B.error("获取词单列表失败")}finally{xt.value=!1}},Tt=async(e,t)=>{if(!e.loading){e.loading=!0;try{const n=t?"https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/add_word":"https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/rmv_word",i=await Y.A.post(n,{list_id:e.id,word_id:[S.value.id]});e.has_word=t,e.word_count=i.data.current_count,B.success(t?"已加入词单":"已移出词单")}catch(n){B.error("操作失败")}finally{e.loading=!1}}},Xt=e=>{const t=j.resolve({path:"/list_detail",query:{list_id:e}});window.open(t.href,"_blank")};return(0,i.wB)(()=>d.query.word_id,e=>{e&&$t()},{immediate:!0}),(0,i.sV)(()=>{document.title="单词详情 - Word Helper"}),(e,o)=>{const s=(0,i.gN)("motion");return(0,i.uX)(),(0,i.CE)("div",J,[bt.value&&S.value?.dict?(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",ee,[(0,i.Lk)("div",te,[(0,i.bF)((0,r.R1)(c),{class:"w-4 h-4 text-primary"}),(0,i.Lk)("span",ne,(0,a.v_)(S.value.dict.name),1)]),(0,i.Lk)("div",ie,[(0,i.Lk)("span",re,(0,a.v_)(S.value.dict.current_order),1),o[6]||(o[6]=(0,i.Lk)("span",{class:"mx-1 opacity-60"},"/",-1)),(0,i.Lk)("span",ae,(0,a.v_)(S.value.dict.total_words),1)])])),[[s]]):(0,i.Q3)("",!0),(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",le,[(0,i.Lk)("div",oe,[(0,i.Lk)("div",se,[(0,i.Lk)("h1",de,(0,a.v_)(S.value?.word),1),(0,i.Lk)("div",ce,[S.value?.uk_accent?((0,i.uX)(),(0,i.CE)("div",ue," 英 ["+(0,a.v_)(S.value.uk_accent)+"] ",1)):(0,i.Q3)("",!0),S.value?.us_accent?((0,i.uX)(),(0,i.CE)("div",ve," 美 ["+(0,a.v_)(S.value.us_accent)+"] ",1)):(0,i.Q3)("",!0)])]),(0,i.Lk)("div",pe,[(0,i.Lk)("button",{onClick:Pt,class:(0,a.C4)(["p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",S.value?.is_favorite?"text-yellow-500":"text-gray-400"]),title:"加入/移出生词本"},[(0,i.bF)((0,r.R1)(u.A),{class:(0,a.C4)({"fill-current":S.value?.is_favorite})},null,8,["class"])],2),(0,i.Lk)("button",{onClick:St,class:"p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors text-gray-400 hover:text-primary",title:"词单快速管理"},[(0,i.bF)((0,r.R1)(v))])])]),bt.value?((0,i.uX)(),(0,i.CE)("div",he,[(0,i.bF)((0,r.R1)(_.Ay),{secondary:"",disabled:!M.value.last,onClick:o[0]||(o[0]=e=>Ft(M.value.last))},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(p))]),default:(0,i.k6)(()=>[o[7]||(o[7]=(0,i.eW)(" 上一个 ",-1))]),_:1},8,["disabled"]),(0,i.bF)((0,r.R1)(_.Ay),{type:"primary",disabled:!M.value.next,onClick:o[1]||(o[1]=e=>Ft(M.value.next))},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(h.A))]),default:(0,i.k6)(()=>[o[8]||(o[8]=(0,i.eW)(" 下一个 ",-1))]),_:1},8,["disabled"])])):(0,i.Q3)("",!0)])),[[s]]),(0,i.Lk)("div",ge,[(0,i.Lk)("div",fe,[S.value?.dictionaries?.length?(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",me,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(S.value.dictionaries,e=>((0,i.uX)(),(0,i.Wv)((0,r.R1)(C.Ay),{key:e.id,type:"info",size:"small",round:""},{default:(0,i.k6)(()=>[(0,i.eW)((0,a.v_)(e.tag||e.name),1)]),_:2},1024))),128))])),[[s]]):(0,i.Q3)("",!0),S.value?.official_lists?.length?(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",ye,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(S.value.official_lists,e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"cursor-pointer group flex items-center gap-3 p-3 rounded-lg bg-blue-50 dark:bg-blue-900/10 border border-blue-100 dark:border-blue-900/30 hover:shadow-md hover:border-blue-200 dark:hover:border-blue-800 transition-all",onClick:t=>Xt(e.id)},[(0,i.Lk)("div",be,[(0,i.bF)((0,r.R1)(g),{class:"w-4 h-4"})]),(0,i.Lk)("div",ke,[(0,i.Lk)("span",we,[o[9]||(o[9]=(0,i.eW)("收录于 ",-1)),(0,i.Lk)("span",_e,(0,a.v_)(e.name),1)]),(0,i.bF)((0,r.R1)(C.Ay),{type:"success",round:"",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(R._),{component:(0,r.R1)(f.A)},null,8,["component"])]),default:(0,i.k6)(()=>[o[10]||(o[10]=(0,i.eW)(" 官方词单 ",-1))]),_:1})]),(0,i.bF)((0,r.R1)(m.A),{class:"w-4 h-4 text-gray-400 opacity-0 group-hover:opacity-100 transition-opacity transform group-hover:translate-x-1"})],8,xe))),128))])),[[s]]):(0,i.Q3)("",!0),(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,r.R1)(z.Ay),{class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1,initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:300}}},{header:(0,i.k6)(()=>[(0,i.Lk)("div",Ce,[(0,i.bF)((0,r.R1)(y.A),{class:"w-5 h-5 text-primary"}),o[11]||(o[11]=(0,i.Lk)("span",{class:"font-bold"},"释义与例句",-1))])]),default:(0,i.k6)(()=>[S.value?.translations?.length?((0,i.uX)(),(0,i.CE)("div",Re,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(S.value.translations,e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"border-b border-gray-100 dark:border-gray-700 last:border-0 pb-6 last:pb-0"},[(0,i.Lk)("div",ze,[(0,i.Lk)("span",Ae,(0,a.v_)(e.pos),1),(0,i.Lk)("span",Ee,(0,a.v_)(e.meaning),1)]),e.examples?.length?((0,i.uX)(),(0,i.CE)("div",Le,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(e.examples,e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id},[(0,i.Lk)("p",$e,(0,a.v_)(e.sentence_en),1),(0,i.Lk)("p",Fe,(0,a.v_)(e.sentence_cn),1)]))),128))])):(0,i.Q3)("",!0)]))),128))])):((0,i.uX)(),(0,i.CE)("div",Pe,"暂无释义"))]),_:1})),[[s]]),(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,r.R1)(z.Ay),{class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1,initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:500}}},{header:(0,i.k6)(()=>[(0,i.Lk)("div",je,[(0,i.bF)((0,r.R1)(x.A),{class:"w-5 h-5 text-purple-500"}),o[12]||(o[12]=(0,i.Lk)("span",{class:"font-bold"},"AI 助记短文",-1))])]),default:(0,i.k6)(()=>[(0,i.Lk)("div",Be,[(0,i.bF)(l.eB,{name:ft.value,mode:"out-in"},{default:(0,i.k6)(()=>[_t.value?((0,i.uX)(),(0,i.CE)("div",{key:_t.value.id,class:"w-full"},[(0,i.Lk)("div",{class:"text-gray-700 dark:text-gray-300 leading-relaxed mb-2 markdown-body",innerHTML:(0,r.R1)(t).render(_t.value.content)},null,8,We),(0,i.Lk)("div",{class:"text-gray-500 dark:text-gray-400 text-sm border-t border-gray-100 dark:border-gray-700 pt-2 markdown-body",innerHTML:(0,r.R1)(t).render(_t.value.translation)},null,8,Se),(0,i.Lk)("div",Me,(0,a.v_)(new Date(_t.value.created_at).toLocaleDateString()),1)])):gt.value?((0,i.uX)(),(0,i.CE)("div",Te,[(0,i.bF)((0,r.R1)(A.A),{size:"small"})])):((0,i.uX)(),(0,i.CE)("div",Xe,"暂无我生成过的助记短文"))]),_:1},8,["name"])]),ht.value>0?((0,i.uX)(),(0,i.CE)("div",Oe,[(0,i.bF)((0,r.R1)(_.Ay),{size:"small",secondary:"",disabled:pt.value<=1||gt.value,onClick:Et},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(p),{class:"w-3 h-3"})]),default:(0,i.k6)(()=>[o[13]||(o[13]=(0,i.eW)(" 上一篇 ",-1))]),_:1},8,["disabled"]),(0,i.Lk)("span",Ie,(0,a.v_)(pt.value)+" / "+(0,a.v_)(ht.value),1),(0,i.bF)((0,r.R1)(_.Ay),{size:"small",secondary:"",disabled:pt.value>=ht.value||gt.value,onClick:Lt},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(h.A),{class:"w-3 h-3"})]),default:(0,i.k6)(()=>[o[14]||(o[14]=(0,i.eW)(" 下一篇 ",-1))]),_:1},8,["disabled"])])):(0,i.Q3)("",!0)]),_:1})),[[s]])]),(0,i.Lk)("div",Ke,[(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,r.R1)(z.Ay),{class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1,initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:400}}},{header:(0,i.k6)(()=>[(0,i.Lk)("div",He,[(0,i.bF)((0,r.R1)(b),{class:"w-5 h-5 text-blue-500"}),o[15]||(o[15]=(0,i.Lk)("span",{class:"font-bold"},"抽查历史",-1))])]),default:(0,i.k6)(()=>[(0,i.Lk)("div",De,[(0,i.Lk)("div",qe,[o[16]||(o[16]=(0,i.Lk)("div",{class:"text-xs text-gray-500 dark:text-gray-400"},"抽查次数",-1)),(0,i.Lk)("div",Ne,(0,a.v_)(S.value?.stats?.total_tests||0),1)]),(0,i.Lk)("div",Ve,[o[17]||(o[17]=(0,i.Lk)("div",{class:"text-xs text-gray-500 dark:text-gray-400"},"正确率",-1)),(0,i.Lk)("div",Qe,(0,a.v_)(S.value?.stats?.accuracy||0)+"%",1)])])]),_:1})),[[s]]),(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,r.R1)(z.Ay),{class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1,initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:600}}},{header:(0,i.k6)(()=>[(0,i.Lk)("div",Ue,[(0,i.Lk)("div",Ze,[(0,i.bF)((0,r.R1)(k.A),{class:"w-5 h-5 text-amber-500"}),o[18]||(o[18]=(0,i.Lk)("span",{class:"font-bold"},"用户笔记",-1))]),(0,i.bF)((0,r.R1)(_.Ay),{size:"tiny",secondary:"",circle:"",onClick:jt},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(w.A),{class:"w-4 h-4"})]),_:1})])]),default:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(E.A),{type:"warning","show-icon":"",class:"mb-4 text-xs"},{default:(0,i.k6)(()=>[...o[19]||(o[19]=[(0,i.eW)(" 每个用户对同一单词只能有一条笔记,如重复新建笔记,新笔记内容会替换旧内容,旧笔记不会保存! ",-1)])]),_:1}),K.value.length?((0,i.uX)(),(0,i.CE)("div",Ye,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(K.value,e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"p-3 bg-yellow-50 dark:bg-yellow-900/10 rounded-lg border border-yellow-100 dark:border-yellow-900/30"},[e.word_list_id?((0,i.uX)(),(0,i.CE)("div",Ge,[(0,i.Lk)("div",Je,[o[20]||(o[20]=(0,i.Lk)("span",{class:"font-bold"},"词单配套笔记",-1)),o[21]||(o[21]=(0,i.Lk)("span",{class:"w-px h-3 bg-blue-300 dark:bg-blue-700 mx-1"},null,-1)),(0,i.Lk)("span",{class:"cursor-pointer hover:text-blue-800 dark:hover:text-blue-200 flex items-center gap-0.5",onClick:(0,l.D$)(t=>zt(e.word_list_id),["stop"]),style:{cursor:"pointer"}},[(0,i.eW)((0,a.v_)(e.word_list_name)+" ",1),(0,i.bF)((0,r.R1)(m.A),{class:"w-3 h-3"})],8,et)])])):(0,i.Q3)("",!0),(0,i.Lk)("div",{class:"text-gray-700 dark:text-gray-300 markdown-body text-sm",innerHTML:n(e.content)},null,8,tt),(0,i.Lk)("div",nt,[(0,i.Lk)("span",it,(0,a.v_)(new Date(e.updated_at).toLocaleDateString()),1)]),e.owner?((0,i.uX)(),(0,i.CE)("div",rt,[(0,i.bF)((0,r.R1)(C.Ay),{type:"success",size:"tiny",bordered:!1},{default:(0,i.k6)(()=>[...o[22]||(o[22]=[(0,i.eW)("我的笔记",-1)])]),_:1}),(0,i.bF)((0,r.R1)(_.Ay),{size:"tiny",text:"",type:"primary",onClick:t=>jt(e)},{default:(0,i.k6)(()=>[...o[23]||(o[23]=[(0,i.eW)("编辑",-1)])]),_:1},8,["onClick"]),(0,i.bF)((0,r.R1)(L.A),{onPositiveClick:t=>Wt(e.id)},{trigger:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(_.Ay),{size:"tiny",text:"",type:"error"},{default:(0,i.k6)(()=>[...o[24]||(o[24]=[(0,i.eW)("删除",-1)])]),_:1})]),default:(0,i.k6)(()=>[o[25]||(o[25]=(0,i.eW)(" 确定要删除这条笔记吗? ",-1))]),_:1},8,["onPositiveClick"])])):(0,i.Q3)("",!0)]))),128)),K.value.length[...o[26]||(o[26]=[(0,i.eW)(" 加载更多笔记 ",-1)])]),_:1},8,["loading"])])):(0,i.Q3)("",!0)])):Q.value?((0,i.uX)(),(0,i.CE)("div",lt,[(0,i.bF)((0,r.R1)(A.A),{size:"small"})])):((0,i.uX)(),(0,i.CE)("div",ot," 暂无笔记,点击右上角添加 "))]),_:1})),[[s]])])]),(0,i.bF)((0,r.R1)($.A),{show:T.value,"onUpdate:show":o[4]||(o[4]=e=>T.value=e),preset:"card",title:O.value.id?"编辑笔记":"添加笔记",class:"w-full max-w-lg"},{footer:(0,i.k6)(()=>[(0,i.Lk)("div",st,[(0,i.bF)((0,r.R1)(_.Ay),{onClick:o[3]||(o[3]=e=>T.value=!1)},{default:(0,i.k6)(()=>[...o[27]||(o[27]=[(0,i.eW)("取消",-1)])]),_:1}),(0,i.bF)((0,r.R1)(_.Ay),{type:"primary",loading:X.value,onClick:Bt},{default:(0,i.k6)(()=>[...o[28]||(o[28]=[(0,i.eW)("保存",-1)])]),_:1},8,["loading"])])]),default:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(F.A),{value:I.value.content,"onUpdate:value":o[2]||(o[2]=e=>I.value.content=e),type:"textarea",placeholder:"记录你的学习心得...",autosize:{minRows:4,maxRows:8}},null,8,["value"])]),_:1},8,["show","title"]),(0,i.bF)((0,r.R1)($.A),{show:mt.value,"onUpdate:show":o[5]||(o[5]=e=>mt.value=e),preset:"card",title:"词单快速管理",class:"w-full max-w-md"},{default:(0,i.k6)(()=>[xt.value?((0,i.uX)(),(0,i.CE)("div",dt,[(0,i.bF)((0,r.R1)(A.A),{size:"medium"})])):0===yt.value.length?((0,i.uX)(),(0,i.CE)("div",ct,[(0,i.bF)((0,r.R1)(P.A),{description:"暂无自建词单"})])):((0,i.uX)(),(0,i.Wv)((0,r.R1)(H),{key:2,hoverable:"",clickable:""},{default:(0,i.k6)(()=>[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(yt.value,e=>((0,i.uX)(),(0,i.Wv)((0,r.R1)(q),{key:e.id},{prefix:(0,i.k6)(()=>[(0,i.Lk)("div",ut,[(0,i.bF)((0,r.R1)(c),{class:"w-5 h-5"})])]),suffix:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(N.A),{value:e.has_word,loading:e.loading,"onUpdate:value":t=>Tt(e,t)},null,8,["value","loading","onUpdate:value"])]),default:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(Z),{title:e.name},{description:(0,i.k6)(()=>[(0,i.Lk)("span",vt,"共 "+(0,a.v_)(e.word_count)+" 词",1)]),_:2},1032,["title"])]),_:2},1024))),128))]),_:1})),o[29]||(o[29]=(0,i.Lk)("div",{class:"mt-4 text-xs text-gray-400 text-center"}," 点击开关一键将当前单词添加/移除词单 ",-1))]),_:1},8,["show"])])}}},ht=n(71241);const gt=(0,ht.A)(pt,[["__scopeId","data-v-54eb101e"]]);var ft=gt}}]); -//# sourceMappingURL=868.a56a31a0.js.map \ No newline at end of file +const b=(0,d.A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var k=n(38307),w=n(19629),_=n(54880),C=n(92720),R=n(59856),z=n(42517),A=n(68042),E=n(64498),L=n(71168),$=n(8508),F=n(93913),P=n(9845),j=n(79882),B=n(88733),W=n(38741),S=n(25216),M=n(77727),T=n(27355),X=n(34350),O=(0,X.c)([(0,X.cB)("list","\n --n-merged-border-color: var(--n-border-color);\n --n-merged-color: var(--n-color);\n --n-merged-color-hover: var(--n-color-hover);\n margin: 0;\n font-size: var(--n-font-size);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n padding: 0;\n list-style-type: none;\n color: var(--n-text-color);\n background-color: var(--n-merged-color);\n ",[(0,X.cM)("show-divider",[(0,X.cB)("list-item",[(0,X.c)("&:not(:last-child)",[(0,X.cE)("divider","\n background-color: var(--n-merged-border-color);\n ")])])]),(0,X.cM)("clickable",[(0,X.cB)("list-item","\n cursor: pointer;\n ")]),(0,X.cM)("bordered","\n border: 1px solid var(--n-merged-border-color);\n border-radius: var(--n-border-radius);\n "),(0,X.cM)("hoverable",[(0,X.cB)("list-item","\n border-radius: var(--n-border-radius);\n ",[(0,X.c)("&:hover","\n background-color: var(--n-merged-color-hover);\n ",[(0,X.cE)("divider","\n background-color: transparent;\n ")])])]),(0,X.cM)("bordered, hoverable",[(0,X.cB)("list-item","\n padding: 12px 20px;\n "),(0,X.cE)("header, footer","\n padding: 12px 20px;\n ")]),(0,X.cE)("header, footer","\n padding: 12px 0;\n box-sizing: border-box;\n transition: border-color .3s var(--n-bezier);\n ",[(0,X.c)("&:not(:last-child)","\n border-bottom: 1px solid var(--n-merged-border-color);\n ")]),(0,X.cB)("list-item","\n position: relative;\n padding: 12px 0; \n box-sizing: border-box;\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[(0,X.cE)("prefix","\n margin-right: 20px;\n flex: 0;\n "),(0,X.cE)("suffix","\n margin-left: 20px;\n flex: 0;\n "),(0,X.cE)("main","\n flex: 1;\n "),(0,X.cE)("divider","\n height: 1px;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: transparent;\n transition: background-color .3s var(--n-bezier);\n pointer-events: none;\n ")])]),(0,X.EM)((0,X.cB)("list","\n --n-merged-color-hover: var(--n-color-hover-modal);\n --n-merged-color: var(--n-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n ")),(0,X.ES)((0,X.cB)("list","\n --n-merged-color-hover: var(--n-color-hover-popover);\n --n-merged-color: var(--n-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n "))]);const I=Object.assign(Object.assign({},j.A.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),H=(0,M.D)("n-list");var K=(0,i.pM)({name:"List",props:I,slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:a}=(0,B.Ay)(e),l=(0,W.I)("List",a,t),o=(0,j.A)("List","-list",O,T.A,e,t);(0,i.Gt)(H,{showDividerRef:(0,r.lW)(e,"showDivider"),mergedClsPrefixRef:t});const s=(0,i.EW)(()=>{const{common:{cubicBezierEaseInOut:e},self:{fontSize:t,textColor:n,color:i,colorModal:r,colorPopover:a,borderColor:l,borderColorModal:s,borderColorPopover:d,borderRadius:c,colorHover:u,colorHoverModal:v,colorHoverPopover:p}}=o.value;return{"--n-font-size":t,"--n-bezier":e,"--n-text-color":n,"--n-color":i,"--n-border-radius":c,"--n-border-color":l,"--n-border-color-modal":s,"--n-border-color-popover":d,"--n-color-modal":r,"--n-color-popover":a,"--n-color-hover":u,"--n-color-hover-modal":v,"--n-color-hover-popover":p}}),d=n?(0,S.R)("list",void 0,s,e):void 0;return{mergedClsPrefix:t,rtlEnabled:l,cssVars:n?void 0:s,themeClass:null===d||void 0===d?void 0:d.themeClass,onRender:null===d||void 0===d?void 0:d.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:r}=this;return null===r||void 0===r||r(),(0,i.h)("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?(0,i.h)("div",{class:`${n}-list__header`},t.header()):null,null===(e=t.default)||void 0===e?void 0:e.call(t),t.footer?(0,i.h)("div",{class:`${n}-list__footer`},t.footer()):null)}}),q=n(35268),D=(0,i.pM)({name:"ListItem",slots:Object,setup(){const e=(0,i.WQ)(H,null);return e||(0,q.$8)("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return(0,i.h)("li",{class:`${t}-list-item`},e.prefix?(0,i.h)("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?(0,i.h)("div",{class:`${t}-list-item__main`},e):null,e.suffix?(0,i.h)("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&(0,i.h)("div",{class:`${t}-list-item__divider`}))}}),N=n(43585),V=n(69313),Q=(0,X.cB)("thing","\n display: flex;\n transition: color .3s var(--n-bezier);\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n",[(0,X.cB)("thing-avatar","\n margin-right: 12px;\n margin-top: 2px;\n "),(0,X.cB)("thing-avatar-header-wrapper","\n display: flex;\n flex-wrap: nowrap;\n ",[(0,X.cB)("thing-header-wrapper","\n flex: 1;\n ")]),(0,X.cB)("thing-main","\n flex-grow: 1;\n ",[(0,X.cB)("thing-header","\n display: flex;\n margin-bottom: 4px;\n justify-content: space-between;\n align-items: center;\n ",[(0,X.cE)("title","\n font-size: 16px;\n font-weight: var(--n-title-font-weight);\n transition: color .3s var(--n-bezier);\n color: var(--n-title-text-color);\n ")]),(0,X.cE)("description",[(0,X.c)("&:not(:last-child)","\n margin-bottom: 4px;\n ")]),(0,X.cE)("content",[(0,X.c)("&:not(:first-child)","\n margin-top: 12px;\n ")]),(0,X.cE)("footer",[(0,X.c)("&:not(:first-child)","\n margin-top: 12px;\n ")]),(0,X.cE)("action",[(0,X.c)("&:not(:first-child)","\n margin-top: 12px;\n ")])])]);const U=Object.assign(Object.assign({},j.A.props),{title:String,titleExtra:String,description:String,descriptionClass:String,descriptionStyle:[String,Object],content:String,contentClass:String,contentStyle:[String,Object],contentIndented:Boolean});var Z=(0,i.pM)({name:"Thing",props:U,slots:Object,setup(e,{slots:t}){const{mergedClsPrefixRef:n,inlineThemeDisabled:r,mergedRtlRef:a}=(0,B.Ay)(e),l=(0,j.A)("Thing","-thing",Q,V.A,e,n),o=(0,W.I)("Thing",a,n),s=(0,i.EW)(()=>{const{self:{titleTextColor:e,textColor:t,titleFontWeight:n,fontSize:i},common:{cubicBezierEaseInOut:r}}=l.value;return{"--n-bezier":r,"--n-font-size":i,"--n-text-color":t,"--n-title-font-weight":n,"--n-title-text-color":e}}),d=r?(0,S.R)("thing",void 0,s,e):void 0;return()=>{var a;const{value:l}=n,c=!!o&&o.value;return null===(a=null===d||void 0===d?void 0:d.onRender)||void 0===a||a.call(d),(0,i.h)("div",{class:[`${l}-thing`,null===d||void 0===d?void 0:d.themeClass,c&&`${l}-thing--rtl`],style:r?void 0:s.value},t.avatar&&e.contentIndented?(0,i.h)("div",{class:`${l}-thing-avatar`},t.avatar()):null,(0,i.h)("div",{class:`${l}-thing-main`},!e.contentIndented&&(t.header||e.title||t["header-extra"]||e.titleExtra||t.avatar)?(0,i.h)("div",{class:`${l}-thing-avatar-header-wrapper`},t.avatar?(0,i.h)("div",{class:`${l}-thing-avatar`},t.avatar()):null,t.header||e.title||t["header-extra"]||e.titleExtra?(0,i.h)("div",{class:`${l}-thing-header-wrapper`},(0,i.h)("div",{class:`${l}-thing-header`},t.header||e.title?(0,i.h)("div",{class:`${l}-thing-header__title`},t.header?t.header():e.title):null,t["header-extra"]||e.titleExtra?(0,i.h)("div",{class:`${l}-thing-header__extra`},t["header-extra"]?t["header-extra"]():e.titleExtra):null),t.description||e.description?(0,i.h)("div",{class:[`${l}-thing-main__description`,e.descriptionClass],style:e.descriptionStyle},t.description?t.description():e.description):null):null):(0,i.h)(i.FK,null,t.header||e.title||t["header-extra"]||e.titleExtra?(0,i.h)("div",{class:`${l}-thing-header`},t.header||e.title?(0,i.h)("div",{class:`${l}-thing-header__title`},t.header?t.header():e.title):null,t["header-extra"]||e.titleExtra?(0,i.h)("div",{class:`${l}-thing-header__extra`},t["header-extra"]?t["header-extra"]():e.titleExtra):null):null,t.description||e.description?(0,i.h)("div",{class:[`${l}-thing-main__description`,e.descriptionClass],style:e.descriptionStyle},t.description?t.description():e.description):null),t.default||e.content?(0,i.h)("div",{class:[`${l}-thing-main__content`,e.contentClass],style:e.contentStyle},t.default?t.default():e.content):null,t.footer?(0,i.h)("div",{class:`${l}-thing-main__footer`},t.footer()):null,t.action?(0,i.h)("div",{class:`${l}-thing-main__action`},t.action()):null))}}}),Y=n(35720),G=n(74911);const J={class:"word-detail-view max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},ee={key:0,class:"mb-6 flex items-center justify-between bg-primary/10 dark:bg-primary/20 rounded-lg px-4 py-3 border border-primary/20",initial:{opacity:0,y:-20},enter:{opacity:1,y:0,transition:{duration:500}}},te={class:"flex items-center gap-2"},ne={class:"font-medium text-primary"},ie={class:"text-sm font-mono text-primary"},re={class:"font-bold"},ae={class:"opacity-80"},le={class:"mb-8 flex flex-col md:flex-row md:items-center justify-between gap-4",initial:{opacity:0,y:-20},enter:{opacity:1,y:0,transition:{duration:500}}},oe={class:"flex flex-col md:flex-row md:items-center gap-3 md:gap-4 min-w-0"},se={class:"flex flex-col md:flex-row md:items-center gap-2 md:gap-4 min-w-0"},de={class:"text-4xl font-bold text-gray-900 dark:text-white break-all min-w-0"},ce={class:"flex flex-col gap-1 shrink-0"},ue={key:0,class:"text-sm text-gray-500 dark:text-gray-400"},ve={key:1,class:"text-sm text-gray-500 dark:text-gray-400"},pe={class:"flex items-center gap-2 shrink-0"},he={key:0,class:"flex items-center gap-3"},ge={class:"grid grid-cols-1 lg:grid-cols-3 gap-8"},fe={class:"lg:col-span-2 space-y-8"},me={key:0,class:"flex flex-wrap gap-2",initial:{opacity:0,x:-20},enter:{opacity:1,x:0,transition:{delay:200}}},ye={key:1,class:"flex flex-col gap-3",initial:{opacity:0,x:-20},enter:{opacity:1,x:0,transition:{delay:250}}},xe=["onClick"],be={class:"p-2 bg-blue-100 dark:bg-blue-800 rounded-full text-blue-600 dark:text-blue-300"},ke={class:"flex-1 flex items-center flex-wrap gap-2"},we={class:"text-gray-700 dark:text-gray-200"},_e={class:"font-bold text-blue-700 dark:text-blue-400"},Ce={class:"flex items-center gap-2"},Re={key:0,class:"space-y-6"},ze={class:"flex items-baseline gap-2 mb-3"},Ae={class:"px-2 py-0.5 rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300 font-mono text-sm font-bold"},Ee={class:"text-lg text-gray-800 dark:text-gray-200"},Le={key:0,class:"pl-4 border-l-2 border-gray-200 dark:border-gray-700 space-y-3"},$e={class:"text-gray-700 dark:text-gray-300"},Fe={class:"text-gray-500 dark:text-gray-500 text-sm mt-0.5"},Pe={key:1,class:"text-gray-400 text-center py-4"},je={class:"flex items-center gap-2"},Be={class:"relative overflow-hidden"},We=["innerHTML"],Se=["innerHTML"],Me={class:"mt-2 text-xs text-gray-400 text-right"},Te={key:1,class:"absolute inset-0 flex items-center justify-center"},Xe={key:2,class:"text-gray-400 text-center py-4"},Oe={key:0,class:"flex justify-between items-center mt-4 border-t border-gray-100 dark:border-gray-700 pt-3"},Ie={class:"text-xs text-gray-400"},He={class:"space-y-8"},Ke={class:"flex items-center gap-2"},qe={class:"grid grid-cols-2 gap-4 text-center"},De={class:"p-3 bg-gray-50 dark:bg-gray-700/50 rounded-lg"},Ne={class:"text-xl font-bold text-gray-900 dark:text-white mt-1"},Ve={class:"p-3 bg-green-50 dark:bg-green-900/20 rounded-lg"},Qe={class:"text-xl font-bold text-green-600 dark:text-green-400 mt-1"},Ue={class:"flex items-center justify-between"},Ze={class:"flex items-center gap-2"},Ye={key:0,class:"space-y-4"},Ge={key:0,class:"flex flex-wrap items-center gap-2 mb-2"},Je={class:"inline-flex items-center gap-1 bg-blue-100 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300 px-2 py-0.5 rounded-full text-xs font-medium"},et=["onClick"],tt=["innerHTML"],nt={class:"flex justify-end mt-2"},it={class:"text-xs text-gray-400"},rt={key:1,class:"mt-2 flex items-center justify-end gap-2"},at={key:0,class:"text-center pt-2"},lt={key:1,class:"flex justify-center py-4"},ot={key:2,class:"text-gray-400 text-center py-4 text-sm"},st={class:"flex justify-end gap-2"},dt={key:0,class:"py-8 flex justify-center"},ct={key:1,class:"py-8"},ut={class:"p-2 bg-blue-100 dark:bg-blue-900/30 rounded-lg text-blue-600 dark:text-blue-400"},vt={class:"text-xs text-gray-400"};var pt={__name:"WordDetailView",setup(e){const t=new G.A({html:!0,breaks:!0}),n=e=>{if(!e)return"";let n=e.replace(/([^\n])\n(\s*\d+\.\s)/g,"$1\n\n$2").replace(/([^\n])\n(\s*[-*+]\s)/g,"$1\n\n$2");return t.render(n)},d=(0,o.lq)(),j=(0,o.rd)(),B=(0,s.J)(),W=(0,r.KR)(!1),S=(0,r.KR)(null),M=(0,r.KR)({last:null,next:null}),T=(0,r.KR)(!1),X=(0,r.KR)(!1),O=(0,r.KR)({}),I=(0,r.KR)({content:""}),H=(0,r.KR)([]),q=(0,r.KR)(1),V=(0,r.KR)(0),Q=(0,r.KR)(!1),U=(0,r.KR)([]),pt=(0,r.KR)(1),ht=(0,r.KR)(0),gt=(0,r.KR)(!1),ft=(0,r.KR)("slide-left"),mt=(0,r.KR)(!1),yt=(0,r.KR)([]),xt=(0,r.KR)(!1),bt=(0,i.EW)(()=>"true"===d.query.learn),kt=(0,i.EW)(()=>Number(d.query.word_id)),wt=(0,i.EW)(()=>Number(d.query.dict_id)),_t=(0,i.EW)(()=>U.value[0]||null),Ct=async(e=1,t=!1)=>{if(kt.value){Q.value=!0;try{const n=await Y.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/note",{params:{word_id:kt.value,page:e,limit:5}});H.value=t?[...H.value,...n.data.list]:n.data.list,V.value=n.data.pagination.total_items,q.value=e}catch(n){console.error("Fetch notes failed:",n),B.error("获取笔记失败")}finally{Q.value=!1}}},Rt=()=>{Ct(q.value+1,!0)},zt=e=>{const t=j.resolve({path:"/list_detail",query:{list_id:e}}).href;window.open(t,"_blank")},At=async(e=1)=>{if(kt.value){gt.value=!0;try{const t=await Y.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/ai_passage",{params:{word_id:kt.value,page:e,limit:1}});U.value=t.data.list,ht.value=t.data.pagination.total_items,pt.value=e}catch(t){console.error("Fetch ai passages failed:",t)}finally{gt.value=!1}}},Et=()=>{pt.value>1&&(ft.value="slide-right",At(pt.value-1))},Lt=()=>{pt.value{if(kt.value){W.value=!0,Ct(1),At(1);try{const e={word_id:kt.value,learn:bt.value};bt.value&&wt.value&&(e.dict_id=wt.value);const t=await Y.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/word",e);M.value={last:t.data.last,next:t.data.next};const n={...t.data};delete n.last,delete n.next,S.value=n}catch(e){console.error("Fetch word detail failed:",e),B.error("获取单词详情失败")}finally{W.value=!1}}},Ft=e=>{e&&j.push({name:"word-detail",query:{...d.query,word_id:e}})},Pt=async()=>{if(S.value)try{const e=await Y.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/favorite",{word_id:S.value.id});S.value.is_favorite=e.data.is_favorite,B.success(e.data.message)}catch(e){B.error("操作失败")}},jt=(e=null)=>{e&&e.id?(O.value=e,I.value.content=e.content):(O.value={},I.value.content=""),T.value=!0},Bt=async()=>{if(I.value.content.trim()){X.value=!0;try{const e={word_id:S.value.id,content:I.value.content};O.value.id&&(e.note_id=O.value.id);const t=await Y.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/note",e);B.success(t.data.message),T.value=!1,Ct(1)}catch(e){B.error("保存笔记失败")}finally{X.value=!1}}else B.warning("笔记内容不能为空")},Wt=async e=>{try{const t=await Y.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/detail/del_note",{note_id:e});B.success(t.data.message),Ct(1)}catch(t){B.error("删除笔记失败")}},St=async()=>{S.value?.id&&(mt.value=!0,await Mt())},Mt=async()=>{xt.value=!0;try{const e=await Y.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/contain_status",{params:{word_id:S.value.id}});yt.value=e.data.list.map(e=>({...e,loading:!1}))}catch(e){B.error("获取词单列表失败")}finally{xt.value=!1}},Tt=async(e,t)=>{if(!e.loading){e.loading=!0;try{const n=t?"https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/add_word":"https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/rmv_word",i=await Y.A.post(n,{list_id:e.id,word_id:[S.value.id]});e.has_word=t,e.word_count=i.data.current_count,B.success(t?"已加入词单":"已移出词单")}catch(n){B.error("操作失败")}finally{e.loading=!1}}},Xt=e=>{const t=j.resolve({path:"/list_detail",query:{list_id:e}});window.open(t.href,"_blank")};return(0,i.wB)(()=>d.query.word_id,e=>{e&&$t()},{immediate:!0}),(0,i.sV)(()=>{document.title="单词详情 - Word Helper"}),(e,o)=>{const s=(0,i.gN)("motion");return(0,i.uX)(),(0,i.CE)("div",J,[bt.value&&S.value?.dict?(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",ee,[(0,i.Lk)("div",te,[(0,i.bF)((0,r.R1)(c),{class:"w-4 h-4 text-primary"}),(0,i.Lk)("span",ne,(0,a.v_)(S.value.dict.name),1)]),(0,i.Lk)("div",ie,[(0,i.Lk)("span",re,(0,a.v_)(S.value.dict.current_order),1),o[6]||(o[6]=(0,i.Lk)("span",{class:"mx-1 opacity-60"},"/",-1)),(0,i.Lk)("span",ae,(0,a.v_)(S.value.dict.total_words),1)])])),[[s]]):(0,i.Q3)("",!0),(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",le,[(0,i.Lk)("div",oe,[(0,i.Lk)("div",se,[(0,i.Lk)("h1",de,(0,a.v_)(S.value?.word),1),(0,i.Lk)("div",ce,[S.value?.uk_accent?((0,i.uX)(),(0,i.CE)("div",ue," 英 ["+(0,a.v_)(S.value.uk_accent)+"] ",1)):(0,i.Q3)("",!0),S.value?.us_accent?((0,i.uX)(),(0,i.CE)("div",ve," 美 ["+(0,a.v_)(S.value.us_accent)+"] ",1)):(0,i.Q3)("",!0)])]),(0,i.Lk)("div",pe,[(0,i.Lk)("button",{onClick:Pt,class:(0,a.C4)(["p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",S.value?.is_favorite?"text-yellow-500":"text-gray-400"]),title:"加入/移出生词本"},[(0,i.bF)((0,r.R1)(u.A),{class:(0,a.C4)({"fill-current":S.value?.is_favorite})},null,8,["class"])],2),(0,i.Lk)("button",{onClick:St,class:"p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors text-gray-400 hover:text-primary",title:"词单快速管理"},[(0,i.bF)((0,r.R1)(v))])])]),bt.value?((0,i.uX)(),(0,i.CE)("div",he,[(0,i.bF)((0,r.R1)(_.Ay),{secondary:"",disabled:!M.value.last,onClick:o[0]||(o[0]=e=>Ft(M.value.last))},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(p))]),default:(0,i.k6)(()=>[o[7]||(o[7]=(0,i.eW)(" 上一个 ",-1))]),_:1},8,["disabled"]),(0,i.bF)((0,r.R1)(_.Ay),{type:"primary",disabled:!M.value.next,onClick:o[1]||(o[1]=e=>Ft(M.value.next))},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(h.A))]),default:(0,i.k6)(()=>[o[8]||(o[8]=(0,i.eW)(" 下一个 ",-1))]),_:1},8,["disabled"])])):(0,i.Q3)("",!0)])),[[s]]),(0,i.Lk)("div",ge,[(0,i.Lk)("div",fe,[S.value?.dictionaries?.length?(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",me,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(S.value.dictionaries,e=>((0,i.uX)(),(0,i.Wv)((0,r.R1)(C.Ay),{key:e.id,type:"info",size:"small",round:""},{default:(0,i.k6)(()=>[(0,i.eW)((0,a.v_)(e.tag||e.name),1)]),_:2},1024))),128))])),[[s]]):(0,i.Q3)("",!0),S.value?.official_lists?.length?(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",ye,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(S.value.official_lists,e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"cursor-pointer group flex items-center gap-3 p-3 rounded-lg bg-blue-50 dark:bg-blue-900/10 border border-blue-100 dark:border-blue-900/30 hover:shadow-md hover:border-blue-200 dark:hover:border-blue-800 transition-all",onClick:t=>Xt(e.id)},[(0,i.Lk)("div",be,[(0,i.bF)((0,r.R1)(g),{class:"w-4 h-4"})]),(0,i.Lk)("div",ke,[(0,i.Lk)("span",we,[o[9]||(o[9]=(0,i.eW)("收录于 ",-1)),(0,i.Lk)("span",_e,(0,a.v_)(e.name),1)]),(0,i.bF)((0,r.R1)(C.Ay),{type:"success",round:"",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(R._),{component:(0,r.R1)(f.A)},null,8,["component"])]),default:(0,i.k6)(()=>[o[10]||(o[10]=(0,i.eW)(" 官方词单 ",-1))]),_:1})]),(0,i.bF)((0,r.R1)(m.A),{class:"w-4 h-4 text-gray-400 opacity-0 group-hover:opacity-100 transition-opacity transform group-hover:translate-x-1"})],8,xe))),128))])),[[s]]):(0,i.Q3)("",!0),(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,r.R1)(z.Ay),{class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1,initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:300}}},{header:(0,i.k6)(()=>[(0,i.Lk)("div",Ce,[(0,i.bF)((0,r.R1)(y.A),{class:"w-5 h-5 text-primary"}),o[11]||(o[11]=(0,i.Lk)("span",{class:"font-bold"},"释义与例句",-1))])]),default:(0,i.k6)(()=>[S.value?.translations?.length?((0,i.uX)(),(0,i.CE)("div",Re,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(S.value.translations,e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"border-b border-gray-100 dark:border-gray-700 last:border-0 pb-6 last:pb-0"},[(0,i.Lk)("div",ze,[(0,i.Lk)("span",Ae,(0,a.v_)(e.pos),1),(0,i.Lk)("span",Ee,(0,a.v_)(e.meaning),1)]),e.examples?.length?((0,i.uX)(),(0,i.CE)("div",Le,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(e.examples,e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id},[(0,i.Lk)("p",$e,(0,a.v_)(e.sentence_en),1),(0,i.Lk)("p",Fe,(0,a.v_)(e.sentence_cn),1)]))),128))])):(0,i.Q3)("",!0)]))),128))])):((0,i.uX)(),(0,i.CE)("div",Pe,"暂无释义"))]),_:1})),[[s]]),(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,r.R1)(z.Ay),{class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1,initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:500}}},{header:(0,i.k6)(()=>[(0,i.Lk)("div",je,[(0,i.bF)((0,r.R1)(x.A),{class:"w-5 h-5 text-purple-500"}),o[12]||(o[12]=(0,i.Lk)("span",{class:"font-bold"},"AI 助记短文",-1))])]),default:(0,i.k6)(()=>[(0,i.Lk)("div",Be,[(0,i.bF)(l.eB,{name:ft.value,mode:"out-in"},{default:(0,i.k6)(()=>[_t.value?((0,i.uX)(),(0,i.CE)("div",{key:_t.value.id,class:"w-full"},[(0,i.Lk)("div",{class:"text-gray-700 dark:text-gray-300 leading-relaxed mb-2 markdown-body",innerHTML:(0,r.R1)(t).render(_t.value.content)},null,8,We),(0,i.Lk)("div",{class:"text-gray-500 dark:text-gray-400 text-sm border-t border-gray-100 dark:border-gray-700 pt-2 markdown-body",innerHTML:(0,r.R1)(t).render(_t.value.translation)},null,8,Se),(0,i.Lk)("div",Me,(0,a.v_)(new Date(_t.value.created_at).toLocaleDateString()),1)])):gt.value?((0,i.uX)(),(0,i.CE)("div",Te,[(0,i.bF)((0,r.R1)(A.A),{size:"small"})])):((0,i.uX)(),(0,i.CE)("div",Xe,"暂无我生成过的助记短文"))]),_:1},8,["name"])]),ht.value>0?((0,i.uX)(),(0,i.CE)("div",Oe,[(0,i.bF)((0,r.R1)(_.Ay),{size:"small",secondary:"",disabled:pt.value<=1||gt.value,onClick:Et},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(p),{class:"w-3 h-3"})]),default:(0,i.k6)(()=>[o[13]||(o[13]=(0,i.eW)(" 上一篇 ",-1))]),_:1},8,["disabled"]),(0,i.Lk)("span",Ie,(0,a.v_)(pt.value)+" / "+(0,a.v_)(ht.value),1),(0,i.bF)((0,r.R1)(_.Ay),{size:"small",secondary:"",disabled:pt.value>=ht.value||gt.value,onClick:Lt},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(h.A),{class:"w-3 h-3"})]),default:(0,i.k6)(()=>[o[14]||(o[14]=(0,i.eW)(" 下一篇 ",-1))]),_:1},8,["disabled"])])):(0,i.Q3)("",!0)]),_:1})),[[s]])]),(0,i.Lk)("div",He,[(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,r.R1)(z.Ay),{class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1,initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:400}}},{header:(0,i.k6)(()=>[(0,i.Lk)("div",Ke,[(0,i.bF)((0,r.R1)(b),{class:"w-5 h-5 text-blue-500"}),o[15]||(o[15]=(0,i.Lk)("span",{class:"font-bold"},"抽查历史",-1))])]),default:(0,i.k6)(()=>[(0,i.Lk)("div",qe,[(0,i.Lk)("div",De,[o[16]||(o[16]=(0,i.Lk)("div",{class:"text-xs text-gray-500 dark:text-gray-400"},"抽查次数",-1)),(0,i.Lk)("div",Ne,(0,a.v_)(S.value?.stats?.total_tests||0),1)]),(0,i.Lk)("div",Ve,[o[17]||(o[17]=(0,i.Lk)("div",{class:"text-xs text-gray-500 dark:text-gray-400"},"正确率",-1)),(0,i.Lk)("div",Qe,(0,a.v_)(S.value?.stats?.accuracy||0)+"%",1)])])]),_:1})),[[s]]),(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,r.R1)(z.Ay),{class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1,initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:600}}},{header:(0,i.k6)(()=>[(0,i.Lk)("div",Ue,[(0,i.Lk)("div",Ze,[(0,i.bF)((0,r.R1)(k.A),{class:"w-5 h-5 text-amber-500"}),o[18]||(o[18]=(0,i.Lk)("span",{class:"font-bold"},"用户笔记",-1))]),(0,i.bF)((0,r.R1)(_.Ay),{size:"tiny",secondary:"",circle:"",onClick:jt},{icon:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(w.A),{class:"w-4 h-4"})]),_:1})])]),default:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(E.A),{type:"warning","show-icon":"",class:"mb-4 text-xs"},{default:(0,i.k6)(()=>[...o[19]||(o[19]=[(0,i.eW)(" 每个用户对同一单词只能有一条笔记,如重复新建笔记,新笔记内容会替换旧内容,旧笔记不会保存! ",-1)])]),_:1}),H.value.length?((0,i.uX)(),(0,i.CE)("div",Ye,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(H.value,e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"p-3 bg-yellow-50 dark:bg-yellow-900/10 rounded-lg border border-yellow-100 dark:border-yellow-900/30"},[e.word_list_id?((0,i.uX)(),(0,i.CE)("div",Ge,[(0,i.Lk)("div",Je,[o[20]||(o[20]=(0,i.Lk)("span",{class:"font-bold"},"词单配套笔记",-1)),o[21]||(o[21]=(0,i.Lk)("span",{class:"w-px h-3 bg-blue-300 dark:bg-blue-700 mx-1"},null,-1)),(0,i.Lk)("span",{class:"cursor-pointer hover:text-blue-800 dark:hover:text-blue-200 flex items-center gap-0.5",onClick:(0,l.D$)(t=>zt(e.word_list_id),["stop"]),style:{cursor:"pointer"}},[(0,i.eW)((0,a.v_)(e.word_list_name)+" ",1),(0,i.bF)((0,r.R1)(m.A),{class:"w-3 h-3"})],8,et)])])):(0,i.Q3)("",!0),(0,i.Lk)("div",{class:"text-gray-700 dark:text-gray-300 markdown-body text-sm",innerHTML:n(e.content)},null,8,tt),(0,i.Lk)("div",nt,[(0,i.Lk)("span",it,(0,a.v_)(new Date(e.updated_at).toLocaleDateString()),1)]),e.owner?((0,i.uX)(),(0,i.CE)("div",rt,[(0,i.bF)((0,r.R1)(C.Ay),{type:"success",size:"tiny",bordered:!1},{default:(0,i.k6)(()=>[...o[22]||(o[22]=[(0,i.eW)("我的笔记",-1)])]),_:1}),(0,i.bF)((0,r.R1)(_.Ay),{size:"tiny",text:"",type:"primary",onClick:t=>jt(e)},{default:(0,i.k6)(()=>[...o[23]||(o[23]=[(0,i.eW)("编辑",-1)])]),_:1},8,["onClick"]),(0,i.bF)((0,r.R1)(L.A),{onPositiveClick:t=>Wt(e.id)},{trigger:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(_.Ay),{size:"tiny",text:"",type:"error"},{default:(0,i.k6)(()=>[...o[24]||(o[24]=[(0,i.eW)("删除",-1)])]),_:1})]),default:(0,i.k6)(()=>[o[25]||(o[25]=(0,i.eW)(" 确定要删除这条笔记吗? ",-1))]),_:1},8,["onPositiveClick"])])):(0,i.Q3)("",!0)]))),128)),H.value.length[...o[26]||(o[26]=[(0,i.eW)(" 加载更多笔记 ",-1)])]),_:1},8,["loading"])])):(0,i.Q3)("",!0)])):Q.value?((0,i.uX)(),(0,i.CE)("div",lt,[(0,i.bF)((0,r.R1)(A.A),{size:"small"})])):((0,i.uX)(),(0,i.CE)("div",ot," 暂无笔记,点击右上角添加 "))]),_:1})),[[s]])])]),(0,i.bF)((0,r.R1)($.A),{show:T.value,"onUpdate:show":o[4]||(o[4]=e=>T.value=e),preset:"card",title:O.value.id?"编辑笔记":"添加笔记",class:"w-full max-w-lg"},{footer:(0,i.k6)(()=>[(0,i.Lk)("div",st,[(0,i.bF)((0,r.R1)(_.Ay),{onClick:o[3]||(o[3]=e=>T.value=!1)},{default:(0,i.k6)(()=>[...o[27]||(o[27]=[(0,i.eW)("取消",-1)])]),_:1}),(0,i.bF)((0,r.R1)(_.Ay),{type:"primary",loading:X.value,onClick:Bt},{default:(0,i.k6)(()=>[...o[28]||(o[28]=[(0,i.eW)("保存",-1)])]),_:1},8,["loading"])])]),default:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(F.A),{value:I.value.content,"onUpdate:value":o[2]||(o[2]=e=>I.value.content=e),type:"textarea",placeholder:"记录你的学习心得...",autosize:{minRows:4,maxRows:8}},null,8,["value"])]),_:1},8,["show","title"]),(0,i.bF)((0,r.R1)($.A),{show:mt.value,"onUpdate:show":o[5]||(o[5]=e=>mt.value=e),preset:"card",title:"词单快速管理",class:"w-full max-w-md"},{default:(0,i.k6)(()=>[xt.value?((0,i.uX)(),(0,i.CE)("div",dt,[(0,i.bF)((0,r.R1)(A.A),{size:"medium"})])):0===yt.value.length?((0,i.uX)(),(0,i.CE)("div",ct,[(0,i.bF)((0,r.R1)(P.A),{description:"暂无自建词单"})])):((0,i.uX)(),(0,i.Wv)((0,r.R1)(K),{key:2,hoverable:"",clickable:""},{default:(0,i.k6)(()=>[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(yt.value,e=>((0,i.uX)(),(0,i.Wv)((0,r.R1)(D),{key:e.id},{prefix:(0,i.k6)(()=>[(0,i.Lk)("div",ut,[(0,i.bF)((0,r.R1)(c),{class:"w-5 h-5"})])]),suffix:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(N.A),{value:e.has_word,loading:e.loading,"onUpdate:value":t=>Tt(e,t)},null,8,["value","loading","onUpdate:value"])]),default:(0,i.k6)(()=>[(0,i.bF)((0,r.R1)(Z),{title:e.name},{description:(0,i.k6)(()=>[(0,i.Lk)("span",vt,"共 "+(0,a.v_)(e.word_count)+" 词",1)]),_:2},1032,["title"])]),_:2},1024))),128))]),_:1})),o[29]||(o[29]=(0,i.Lk)("div",{class:"mt-4 text-xs text-gray-400 text-center"}," 点击开关一键将当前单词添加/移除词单 ",-1))]),_:1},8,["show"])])}}},ht=n(71241);const gt=(0,ht.A)(pt,[["__scopeId","data-v-54eb101e"]]);var ft=gt}}]); +//# sourceMappingURL=868.f069e40b.js.map \ No newline at end of file diff --git a/dist/js/924.5a6ab73d.js b/dist/js/924.5a6ab73d.js new file mode 100644 index 0000000..36ed8b9 --- /dev/null +++ b/dist/js/924.5a6ab73d.js @@ -0,0 +1,27 @@ +"use strict";(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[924],{9845:function(e,n,t){t.d(n,{A:function(){return m}});var i=t(56768),o=t(84279),s=(0,i.pM)({name:"Empty",render(){return(0,i.h)("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),(0,i.h)("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),l=t(79882),r=t(88733),a=t(82813),c=t(25216),d=t(34350),u=t(52945),v=(0,d.cB)("empty","\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: var(--n-font-size);\n",[(0,d.cE)("icon","\n width: var(--n-icon-size);\n height: var(--n-icon-size);\n font-size: var(--n-icon-size);\n line-height: var(--n-icon-size);\n color: var(--n-icon-color);\n transition:\n color .3s var(--n-bezier);\n ",[(0,d.c)("+",[(0,d.cE)("description","\n margin-top: 8px;\n ")])]),(0,d.cE)("description","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),(0,d.cE)("extra","\n text-align: center;\n transition: color .3s var(--n-bezier);\n margin-top: 12px;\n color: var(--n-extra-text-color);\n ")]);const p=Object.assign(Object.assign({},l.A.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function});var m=(0,i.pM)({name:"Empty",props:p,slots:Object,setup(e){const{mergedClsPrefixRef:n,inlineThemeDisabled:t,mergedComponentPropsRef:o}=(0,r.Ay)(e),p=(0,l.A)("Empty","-empty",v,u.A,e,n),{localeRef:m}=(0,a.A)("Empty"),h=(0,i.EW)(()=>{var n,t,i;return null!==(n=e.description)&&void 0!==n?n:null===(i=null===(t=null===o||void 0===o?void 0:o.value)||void 0===t?void 0:t.Empty)||void 0===i?void 0:i.description}),f=(0,i.EW)(()=>{var e,n;return(null===(n=null===(e=null===o||void 0===o?void 0:o.value)||void 0===e?void 0:e.Empty)||void 0===n?void 0:n.renderIcon)||(()=>(0,i.h)(s,null))}),y=(0,i.EW)(()=>{const{size:n}=e,{common:{cubicBezierEaseInOut:t},self:{[(0,d.cF)("iconSize",n)]:i,[(0,d.cF)("fontSize",n)]:o,textColor:s,iconColor:l,extraTextColor:r}}=p.value;return{"--n-icon-size":i,"--n-font-size":o,"--n-bezier":t,"--n-text-color":s,"--n-icon-color":l,"--n-extra-text-color":r}}),g=t?(0,c.R)("empty",(0,i.EW)(()=>{let n="";const{size:t}=e;return n+=t[0],n}),y,e):void 0;return{mergedClsPrefix:n,mergedRenderIcon:f,localizedDescription:(0,i.EW)(()=>h.value||m.value.description),cssVars:t?void 0:y,themeClass:null===g||void 0===g?void 0:g.themeClass,onRender:null===g||void 0===g?void 0:g.onRender}},render(){const{$slots:e,mergedClsPrefix:n,onRender:t}=this;return null===t||void 0===t||t(),(0,i.h)("div",{class:[`${n}-empty`,this.themeClass],style:this.cssVars},this.showIcon?(0,i.h)("div",{class:`${n}-empty__icon`},e.icon?e.icon():(0,i.h)(o.A,{clsPrefix:n},{default:this.mergedRenderIcon})):null,this.showDescription?(0,i.h)("div",{class:`${n}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?(0,i.h)("div",{class:`${n}-empty__extra`},e.extra()):null)}})},38307:function(e,n,t){t.d(n,{A:function(){return o}});var i=t(45525); +/** + * @license lucide-vue-next v0.562.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const o=(0,i.A)("sticky-note",[["path",{d:"M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",key:"1dfntj"}],["path",{d:"M15 3v5a1 1 0 0 0 1 1h5",key:"6s6qgf"}]])},53924:function(e,n,t){t.r(n),t.d(n,{default:function(){return ne}});t(18111),t(22489);var i=t(56768),o=t(90144),s=t(24232),l=t(45130),r=t(98728),a=t(97387),c=t(68042),d=t(92720),u=t(59856),v=t(42517),p=t(54880),m=t(71168),h=t(9845),f=t(8508),y=t(55200),g=t(45525); +/** + * @license lucide-vue-next v0.562.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */ +const x=(0,g.A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);var k=t(38307),C=t(91733),b=t(2231),w=t(62784),_=t(6127),z=t(35720),R=t(74911);const A={class:"list-detail-view max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},P={key:0,class:"flex justify-center py-20"},E={class:"mb-8",initial:{opacity:0,y:-20},enter:{opacity:1,y:0}},L={class:"flex flex-col md:flex-row md:items-center justify-between gap-4 mb-4"},j={class:"flex items-center gap-3 mb-2"},W={class:"text-3xl font-bold text-gray-900 dark:text-white"},T={class:"text-gray-500 dark:text-gray-400 text-lg"},S={class:"flex items-center gap-4 text-sm text-gray-500"},B={class:"flex items-center gap-1"},$={class:"flex items-center gap-1"},M={class:"space-y-4"},O={class:"flex items-start justify-between gap-4"},F={class:"flex-1 min-w-0"},X={class:"flex flex-col md:flex-row md:items-baseline md:gap-3 mb-3"},N={class:"text-2xl font-bold text-gray-900 dark:text-white hover:text-primary transition-colors break-all"},V={class:"flex flex-col md:flex-row md:gap-3 text-sm text-gray-500 dark:text-gray-400"},I={key:0},K={key:1},H={class:"space-y-2"},D={class:"flex-shrink-0 px-1.5 py-0.5 rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300 font-mono text-xs font-bold min-w-[2rem] text-center"},q={class:"text-gray-800 dark:text-gray-200 text-base leading-relaxed"},Q={class:"mt-8 flex justify-center pb-8"},Y={key:1,class:"text-gray-400 text-sm"},Z={key:0,class:"flex justify-center py-8"},U=["innerHTML"];var G={__name:"ListDetailView",setup(e){const n=new R.A({html:!0,breaks:!0}),t=e=>{if(!e)return"";let t=e.replace(/([^\n])\n(\s*\d+\.\s)/g,"$1\n\n$2").replace(/([^\n])\n(\s*[-*+]\s)/g,"$1\n\n$2");return n.render(t)},g=(0,r.lq)(),G=(0,r.rd)(),J=(0,a.J)(),ee=g.query.list_id,ne=(0,o.KR)(!1),te=(0,o.KR)(!1),ie=(0,o.KR)(null),oe=(0,o.KR)([]),se=(0,o.KR)(1),le=(0,o.KR)(0),re=(0,o.KR)(!1),ae=(0,o.KR)(!1),ce=(0,o.KR)(!1),de=(0,o.KR)(""),ue=e=>(0,_.NR)(e,"YYYY-MM-DD").value,ve=async(e=!1)=>{if(ee){e?te.value=!0:ne.value=!0;try{const n=await z.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/detail",{params:{list_id:ee,page:se.value}}),t=n.data;e?t.words&&t.words.length>0&&(oe.value=[...oe.value,...t.words]):(ie.value={id:t.id,name:t.name,note:t.note,word_count:t.word_count,created_at:t.created_at,official:t.official,admin:t.admin,has_note:t.has_note},oe.value=t.words||[]),le.value=t.pagination.total_items,re.value=se.value{re.value&&(se.value++,ve(!0))},me=e=>{const n=G.resolve({path:"/word",query:{word_id:e}});window.open(n.href,"_blank")},he=async e=>{try{const n=await z.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/word_list/rmv_word",{list_id:ie.value.id,word_id:[e.id]});J.success("移除成功"),oe.value=oe.value.filter(n=>n.id!==e.id),ie.value&&(ie.value.word_count=n.data.current_count)}catch(n){console.error(n),J.error("移除失败")}},fe=async e=>{ae.value=!0,ce.value=!0,de.value="";try{const n=await z.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/note/detail",{params:{note_id:e}}),t=n.data;de.value=t.content||""}catch(n){console.error(n),J.error("获取笔记失败"),de.value="加载失败"}finally{ce.value=!1}};return(0,i.sV)(()=>{document.title="词单详情 - Word Helper",ve()}),(e,n)=>{const r=(0,i.gN)("motion");return(0,i.uX)(),(0,i.CE)("div",A,[ne.value&&!ie.value?((0,i.uX)(),(0,i.CE)("div",P,[(0,i.bF)((0,o.R1)(c.A),{size:"large"})])):ie.value?((0,i.uX)(),(0,i.CE)(i.FK,{key:1},[(0,i.bo)(((0,i.uX)(),(0,i.CE)("div",E,[(0,i.Lk)("div",L,[(0,i.Lk)("div",null,[(0,i.Lk)("div",j,[(0,i.Lk)("h1",W,(0,s.v_)(ie.value.name),1),ie.value.official?((0,i.uX)(),(0,i.Wv)((0,o.R1)(d.Ay),{key:0,type:"success",round:"",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(u._),{component:(0,o.R1)(y.A)},null,8,["component"])]),default:(0,i.k6)(()=>[n[3]||(n[3]=(0,i.eW)(" 官方词单 ",-1))]),_:1})):((0,i.uX)(),(0,i.Wv)((0,o.R1)(d.Ay),{key:1,type:"info",round:"",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(u._),{component:(0,o.R1)(x)},null,8,["component"])]),default:(0,i.k6)(()=>[n[4]||(n[4]=(0,i.eW)(" 我创建的词单 ",-1))]),_:1})),ie.value.has_note?((0,i.uX)(),(0,i.Wv)((0,o.R1)(d.Ay),{key:2,type:"warning",round:"",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(u._),{component:(0,o.R1)(k.A)},null,8,["component"])]),default:(0,i.k6)(()=>[n[5]||(n[5]=(0,i.eW)(" 配套笔记 ",-1))]),_:1})):(0,i.Q3)("",!0)]),(0,i.Lk)("p",T,(0,s.v_)(ie.value.note||"暂无描述"),1)]),(0,i.Lk)("div",S,[(0,i.Lk)("div",B,[(0,i.bF)((0,o.R1)(u._),{component:(0,o.R1)(C.A)},null,8,["component"]),(0,i.Lk)("span",null,(0,s.v_)(ie.value.word_count)+" 词",1)]),(0,i.Lk)("div",$,[(0,i.bF)((0,o.R1)(u._),{component:(0,o.R1)(b.A)},null,8,["component"]),(0,i.Lk)("span",null,(0,s.v_)(ue(ie.value.created_at)),1)])])])])),[[r]]),(0,i.Lk)("div",M,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(oe.value,(e,t)=>(0,i.bo)(((0,i.uX)(),(0,i.Wv)((0,o.R1)(v.Ay),{key:e.id,class:"word-card rounded-xl shadow-sm hover:shadow-md transition-shadow cursor-pointer border-gray-100 dark:border-gray-800",bordered:!0,size:"medium",initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:50*t}},onClick:n=>me(e.id)},{default:(0,i.k6)(()=>[(0,i.Lk)("div",O,[(0,i.Lk)("div",F,[(0,i.Lk)("div",X,[(0,i.Lk)("h3",N,(0,s.v_)(e.word),1),(0,i.Lk)("div",V,[e.uk_accent?((0,i.uX)(),(0,i.CE)("span",I,"英 ["+(0,s.v_)(e.uk_accent)+"]",1)):(0,i.Q3)("",!0),e.us_accent?((0,i.uX)(),(0,i.CE)("span",K,"美 ["+(0,s.v_)(e.us_accent)+"]",1)):(0,i.Q3)("",!0)])]),(0,i.Lk)("div",H,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(e.translations,(e,n)=>((0,i.uX)(),(0,i.CE)("div",{key:n,class:"flex items-baseline gap-2"},[(0,i.Lk)("span",D,(0,s.v_)(e.pos),1),(0,i.Lk)("span",q,(0,s.v_)(e.meaning),1)]))),128))])]),(0,i.Lk)("div",{class:"flex-shrink-0 ml-2 flex items-center gap-1",onClick:n[0]||(n[0]=(0,l.D$)(()=>{},["stop"]))},[e.note_id?((0,i.uX)(),(0,i.Wv)((0,o.R1)(p.Ay),{key:0,quaternary:"",circle:"",type:"warning",size:"small",onClick:n=>fe(e.note_id),title:"查看配套笔记"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(u._),{component:(0,o.R1)(k.A)},null,8,["component"])]),_:1},8,["onClick"])):(0,i.Q3)("",!0),!ie.value.official||ie.value.admin?((0,i.uX)(),(0,i.Wv)((0,o.R1)(m.A),{key:1,onPositiveClick:n=>he(e),"negative-text":"取消","positive-text":"确认移除"},{trigger:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(p.Ay),{quaternary:"",circle:"",type:"error",size:"small"},{icon:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(u._),{component:(0,o.R1)(w.A)},null,8,["component"])]),_:1})]),default:(0,i.k6)(()=>[(0,i.eW)(' 确定要将 "'+(0,s.v_)(e.word)+'" 移出本词单吗? ',1)]),_:2},1032,["onPositiveClick"])):(0,i.Q3)("",!0)])])]),_:2},1032,["enter","onClick"])),[[r]])),128))]),(0,i.Lk)("div",Q,[re.value?((0,i.uX)(),(0,i.Wv)((0,o.R1)(p.Ay),{key:0,loading:te.value,onClick:pe,secondary:"",round:"",size:"large",class:"w-full md:w-auto px-8"},{default:(0,i.k6)(()=>[...n[6]||(n[6]=[(0,i.eW)(" 加载更多单词 ",-1)])]),_:1},8,["loading"])):oe.value.length>0?((0,i.uX)(),(0,i.CE)("div",Y," 已加载全部 "+(0,s.v_)(oe.value.length)+" 个单词 ",1)):((0,i.uX)(),(0,i.Wv)((0,o.R1)(h.A),{key:2,description:"本词单暂无单词",class:"mt-12"}))])],64)):((0,i.uX)(),(0,i.Wv)((0,o.R1)(h.A),{key:2,description:"未找到词单信息",class:"mt-20"},{extra:(0,i.k6)(()=>[(0,i.bF)((0,o.R1)(p.Ay),{onClick:n[1]||(n[1]=n=>e.$router.back())},{default:(0,i.k6)(()=>[...n[7]||(n[7]=[(0,i.eW)("返回上一页",-1)])]),_:1})]),_:1})),(0,i.bF)((0,o.R1)(f.A),{show:ae.value,"onUpdate:show":n[2]||(n[2]=e=>ae.value=e),preset:"card",title:"配套笔记",class:"w-full max-w-2xl note-detail-modal",style:{"max-height":"80vh"}},{default:(0,i.k6)(()=>[ce.value?((0,i.uX)(),(0,i.CE)("div",Z,[(0,i.bF)((0,o.R1)(c.A),{size:"medium"})])):((0,i.uX)(),(0,i.CE)("div",{key:1,class:"markdown-body text-gray-700 dark:text-gray-300 leading-relaxed overflow-y-auto custom-scrollbar",style:{"max-height":"calc(80vh - 100px)","padding-right":"10px"},innerHTML:t(de.value)},null,8,U))]),_:1},8,["show"])])}}},J=t(71241);const ee=(0,J.A)(G,[["__scopeId","data-v-7038ea55"]]);var ne=ee},55200:function(e,n,t){t.d(n,{A:function(){return o}});var i=t(45525); +/** + * @license lucide-vue-next v0.562.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const o=(0,i.A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},62784:function(e,n,t){t.d(n,{A:function(){return o}});var i=t(45525); +/** + * @license lucide-vue-next v0.562.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const o=(0,i.A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},68042:function(e,n,t){t.d(n,{A:function(){return g}});var i=t(55472),o=t(37485),s=t(56768),l=t(90144),r=t(45130),a=t(21905),c=t(79882),d=t(88733),u=t(25216),v=t(34350),p=t(54507),m=t(29895),h=(0,v.c)([(0,v.c)("@keyframes spin-rotate","\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n "),(0,v.cB)("spin-container","\n position: relative;\n ",[(0,v.cB)("spin-body","\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[(0,m.v)()])]),(0,v.cB)("spin-body","\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n "),(0,v.cB)("spin","\n display: inline-flex;\n height: var(--n-size);\n width: var(--n-size);\n font-size: var(--n-size);\n color: var(--n-color);\n ",[(0,v.cM)("rotate","\n animation: spin-rotate 2s linear infinite;\n ")]),(0,v.cB)("spin-description","\n display: inline-block;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n margin-top: 8px;\n "),(0,v.cB)("spin-content","\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n pointer-events: all;\n ",[(0,v.cM)("spinning","\n user-select: none;\n -webkit-user-select: none;\n pointer-events: none;\n opacity: var(--n-opacity-spinning);\n ")])]);const f={small:20,medium:18,large:16},y=Object.assign(Object.assign({},c.A.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number});var g=(0,s.pM)({name:"Spin",props:y,slots:Object,setup(e){const{mergedClsPrefixRef:n,inlineThemeDisabled:t}=(0,d.Ay)(e),r=(0,c.A)("Spin","-spin",h,p.A,e,n),a=(0,s.EW)(()=>{const{size:n}=e,{common:{cubicBezierEaseInOut:t},self:o}=r.value,{opacitySpinning:s,color:l,textColor:a}=o,c="number"===typeof n?(0,i.Cw)(n):o[(0,v.cF)("size",n)];return{"--n-bezier":t,"--n-opacity-spinning":s,"--n-size":c,"--n-color":l,"--n-text-color":a}}),m=t?(0,u.R)("spin",(0,s.EW)(()=>{const{size:n}=e;return"number"===typeof n?String(n):n[0]}),a,e):void 0,y=(0,o.A)(e,["spinning","show"]),g=(0,l.KR)(!1);return(0,s.nT)(n=>{let t;if(y.value){const{delay:i}=e;if(i)return t=window.setTimeout(()=>{g.value=!0},i),void n(()=>{clearTimeout(t)})}g.value=y.value}),{mergedClsPrefix:n,active:g,mergedStrokeWidth:(0,s.EW)(()=>{const{strokeWidth:n}=e;if(void 0!==n)return n;const{size:t}=e;return f["number"===typeof t?"medium":t]}),cssVars:t?void 0:a,themeClass:null===m||void 0===m?void 0:m.themeClass,onRender:null===m||void 0===m?void 0:m.onRender}},render(){var e,n;const{$slots:t,mergedClsPrefix:i,description:o}=this,l=t.icon&&this.rotate,c=(o||t.description)&&(0,s.h)("div",{class:`${i}-spin-description`},o||(null===(e=t.description)||void 0===e?void 0:e.call(t))),d=t.icon?(0,s.h)("div",{class:[`${i}-spin-body`,this.themeClass]},(0,s.h)("div",{class:[`${i}-spin`,l&&`${i}-spin--rotate`],style:t.default?"":this.cssVars},t.icon()),c):(0,s.h)("div",{class:[`${i}-spin-body`,this.themeClass]},(0,s.h)(a.A,{clsPrefix:i,style:t.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${i}-spin`}),c);return null===(n=this.onRender)||void 0===n||n.call(this),t.default?(0,s.h)("div",{class:[`${i}-spin-container`,this.themeClass],style:this.cssVars},(0,s.h)("div",{class:[`${i}-spin-content`,this.active&&`${i}-spin-content--spinning`,this.contentClass],style:this.contentStyle},t),(0,s.h)(r.eB,{name:"fade-in-transition"},{default:()=>this.active?d:null})):d}})},71168:function(e,n,t){t.d(n,{A:function(){return A}});var i=t(56768),o=t(90144),s=t(79882),l=t(88733),r=t(37901),a=t(86866),c=t(91462),d=t(36921),u=t(29767),v=t(77727);const p=(0,v.D)("n-popconfirm");var m=t(84279),h=t(73921),f=t(82813),y=t(25216),g=t(52126),x=t(25972),k=t(54880);const C={positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0}},b=(0,g.Y)(C);var w=(0,i.pM)({name:"NPopconfirmPanel",props:C,setup(e){const{localeRef:n}=(0,f.A)("Popconfirm"),{inlineThemeDisabled:t}=(0,l.Ay)(),{mergedClsPrefixRef:s,mergedThemeRef:r,props:a}=(0,i.WQ)(p),c=(0,i.EW)(()=>{const{common:{cubicBezierEaseInOut:e},self:{fontSize:n,iconSize:t,iconColor:i}}=r.value;return{"--n-bezier":e,"--n-font-size":n,"--n-icon-size":t,"--n-icon-color":i}}),d=t?(0,y.R)("popconfirm-panel",void 0,c,a):void 0;return Object.assign(Object.assign({},(0,f.A)("Popconfirm")),{mergedClsPrefix:s,cssVars:t?void 0:c,localizedPositiveText:(0,i.EW)(()=>e.positiveText||n.value.positiveText),localizedNegativeText:(0,i.EW)(()=>e.negativeText||n.value.negativeText),positiveButtonProps:(0,o.lW)(a,"positiveButtonProps"),negativeButtonProps:(0,o.lW)(a,"negativeButtonProps"),handlePositiveClick(n){e.onPositiveClick(n)},handleNegativeClick(n){e.onNegativeClick(n)},themeClass:null===d||void 0===d?void 0:d.themeClass,onRender:null===d||void 0===d?void 0:d.onRender})},render(){var e;const{mergedClsPrefix:n,showIcon:t,$slots:o}=this,s=(0,x.Nj)(o.action,()=>null===this.negativeText&&null===this.positiveText?[]:[null!==this.negativeText&&(0,i.h)(k.Ay,Object.assign({size:"small",onClick:this.handleNegativeClick},this.negativeButtonProps),{default:()=>this.localizedNegativeText}),null!==this.positiveText&&(0,i.h)(k.Ay,Object.assign({size:"small",type:"primary",onClick:this.handlePositiveClick},this.positiveButtonProps),{default:()=>this.localizedPositiveText})]);return null===(e=this.onRender)||void 0===e||e.call(this),(0,i.h)("div",{class:[`${n}-popconfirm__panel`,this.themeClass],style:this.cssVars},(0,x.iQ)(o.default,e=>t||e?(0,i.h)("div",{class:`${n}-popconfirm__body`},t?(0,i.h)("div",{class:`${n}-popconfirm__icon`},(0,x.Nj)(o.icon,()=>[(0,i.h)(m.A,{clsPrefix:n},{default:()=>(0,i.h)(h.A,null)})])):null,e):null),s?(0,i.h)("div",{class:[`${n}-popconfirm__action`]},s):null)}}),_=t(34350),z=(0,_.cB)("popconfirm",[(0,_.cE)("body","\n font-size: var(--n-font-size);\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n position: relative;\n ",[(0,_.cE)("icon","\n display: flex;\n font-size: var(--n-icon-size);\n color: var(--n-icon-color);\n transition: color .3s var(--n-bezier);\n margin: 0 8px 0 0;\n ")]),(0,_.cE)("action","\n display: flex;\n justify-content: flex-end;\n ",[(0,_.c)("&:not(:first-child)","margin-top: 8px"),(0,_.cB)("button",[(0,_.c)("&:not(:last-child)","margin-right: 8px;")])])]);const R=Object.assign(Object.assign(Object.assign({},s.A.props),d.vY),{positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},trigger:{type:String,default:"click"},positiveButtonProps:Object,negativeButtonProps:Object,onPositiveClick:Function,onNegativeClick:Function});var A=(0,i.pM)({name:"Popconfirm",props:R,slots:Object,__popover__:!0,setup(e){const{mergedClsPrefixRef:n}=(0,l.Ay)(),t=(0,s.A)("Popconfirm","-popconfirm",z,u.A,e,n),a=(0,o.KR)(null);function c(n){var t;if(!(null===(t=a.value)||void 0===t?void 0:t.getMergedShow()))return;const{onPositiveClick:i,"onUpdate:show":o}=e;Promise.resolve(!i||i(n)).then(e=>{var n;!1!==e&&(null===(n=a.value)||void 0===n||n.setShow(!1),o&&(0,r.T)(o,!1))})}function d(n){var t;if(!(null===(t=a.value)||void 0===t?void 0:t.getMergedShow()))return;const{onNegativeClick:i,"onUpdate:show":o}=e;Promise.resolve(!i||i(n)).then(e=>{var n;!1!==e&&(null===(n=a.value)||void 0===n||n.setShow(!1),o&&(0,r.T)(o,!1))})}(0,i.Gt)(p,{mergedThemeRef:t,mergedClsPrefixRef:n,props:e});const v={setShow(e){var n;null===(n=a.value)||void 0===n||n.setShow(e)},syncPosition(){var e;null===(e=a.value)||void 0===e||e.syncPosition()},mergedTheme:t,popoverInstRef:a,handlePositiveClick:c,handleNegativeClick:d};return v},render(){const{$slots:e,$props:n,mergedTheme:t}=this;return(0,i.h)(d.Ay,Object.assign({},(0,a.c)(n,b),{theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalExtraClass:["popconfirm"],ref:"popoverInstRef"}),{trigger:e.trigger,default:()=>{const t=(0,c.a)(n,b);return(0,i.h)(w,Object.assign({},t,{onPositiveClick:this.handlePositiveClick,onNegativeClick:this.handleNegativeClick}),e)}})}})}}]); +//# sourceMappingURL=924.5a6ab73d.js.map \ No newline at end of file diff --git a/dist/js/938.78cb062b.js b/dist/js/938.77996131.js similarity index 99% rename from dist/js/938.78cb062b.js rename to dist/js/938.77996131.js index 6d4f736..6e19555 100644 --- a/dist/js/938.78cb062b.js +++ b/dist/js/938.77996131.js @@ -31,4 +31,4 @@ const E=(0,W.A)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1 * See the LICENSE file in the root directory of this source tree. */ const j=(0,W.A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var q=l(18495),I=l(35720),$=l(15227);const Q={class:"check-view max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},U={class:"flex flex-col gap-4 mb-8"},M={class:"flex items-center gap-2"},B={class:"bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg flex items-start gap-3"},D={key:0,class:"max-w-2xl mx-auto"},V={class:"w-full"},S={key:1,class:"text-gray-400 text-sm py-0.5 px-1"},N={class:"flex justify-end mt-6"},G={key:1,class:"max-w-3xl mx-auto"},H={class:"mb-6 flex items-center justify-between"},J={class:"text-sm text-gray-500"},O={class:"text-4xl font-bold text-gray-900 dark:text-white mb-8"},P={key:0,class:"w-full max-w-md mx-auto space-y-4"},T={class:"flex justify-between items-center"},Y={class:"flex justify-center mt-4"},Z={key:0,class:"mt-4 text-left bg-gray-50 dark:bg-gray-800 p-4 rounded-lg"},ee={class:"list-disc list-inside space-y-1"},ae={key:1,class:"w-full max-w-md mx-auto space-y-6"},le={class:"flex flex-col items-center"},te={class:"bg-gray-50 dark:bg-gray-800 p-4 rounded-lg text-left"},se={class:"text-gray-700 dark:text-gray-200"},re={class:"flex justify-center gap-4"},de={key:2,class:"max-w-4xl mx-auto"},oe={class:"flex justify-center items-center gap-12"},ne={class:"text-center"},ue={class:"text-5xl font-bold text-primary mb-2"},ie={class:"text-center"},ce={class:"text-3xl font-bold text-green-500 mb-2"},ve={class:"mt-8 flex justify-center gap-4"},ye={key:0},ke={class:"text-xl font-bold mb-4 flex items-center"},xe={class:"grid grid-cols-1 md:grid-cols-2 gap-4"},me={class:"flex justify-between items-start"},be={class:"text-lg font-bold text-gray-900 dark:text-white"},pe={class:"mt-2 space-y-1"},fe={class:"text-gray-400 mr-1"},he={class:"text-gray-600 dark:text-gray-300"},ge={class:"max-w-4xl mx-auto"},we={class:"grid grid-cols-2 gap-4 mb-6"},_e={class:"text-center"},Re={class:"text-2xl font-bold text-primary"},Ae={class:"text-center"},Fe={class:"text-2xl font-bold text-green-500"},Le={key:0,class:"space-y-3"},Ce={class:"font-bold text-lg mb-4 flex items-center"},We={class:"flex justify-between items-start"},Ee={class:"flex-1"},Ke={class:"flex items-center gap-2 mb-2"},Xe={class:"text-lg font-bold text-gray-900 dark:text-white"},ze={class:"text-sm text-gray-600 dark:text-gray-300"},je={class:"bg-gray-100 dark:bg-gray-700 px-1.5 py-0.5 rounded text-xs mr-2"},qe={class:"flex justify-center mt-6 pb-8"},Ie={key:1,class:"text-gray-400 text-sm py-4"};var $e={__name:"CheckView",setup(e){const a=(0,o.rd)(),l=(0,n.J)(),{isDark:m}=(0,t.WQ)("themeContext"),b=(0,s.KR)("config"),W=(0,s.KR)(!1),$e=(0,s.KR)(!1),Qe=(0,s.KR)(!1),Ue=(0,s.KR)(!1),Me=(0,s.KR)(!1),Be=(0,s.KR)("start"),De=(0,s.KR)([]),Ve=(0,s.KR)(1),Se=(0,s.KR)(0),Ne=(0,s.KR)({total_answers:0,accuracy:0}),Ge=(0,s.KR)(!1),He=(0,t.EW)(()=>De.value.lengthYe.value[Ze.value]||null),da=(0,t.EW)(()=>Ze.value===Ye.value.length-1),oa=(0,t.EW)(()=>sa.value.filter(e=>e.correct).length),na=(0,t.EW)(()=>Math.round(oa.value/Ye.value.length*100)),ua=(0,t.EW)(()=>sa.value.filter(e=>!e.correct)),ia=async()=>{Ue.value=!0;try{const e=await I.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/dict/list");0===e.data.code&&(Oe.value=e.data.data.map(e=>({label:e.name,value:e.id})))}catch(e){console.error("Fetch dicts error:",e)}finally{Ue.value=!1}},ca=e=>{const a=Je.value.list_ids.indexOf(e);a>-1&&Je.value.list_ids.splice(a,1);const l=Te.value.findIndex(a=>a.id===e);l>-1&&Te.value.splice(l,1)},va=async()=>{if(1===Je.value.mode&&Je.value.dict_ids.length,3===Je.value.mode){if(0===Je.value.list_ids.length)return void l.warning("请至少选择一个词单");if(Je.value.list_ids.length>10)return void l.warning("最多只能选择10个词单")}W.value=!0;try{const e={word_count:Je.value.word_count,mode:Je.value.mode,reinforce:Je.value.reinforce,dict_id:3===Je.value.mode?Je.value.list_ids:Je.value.dict_ids},a=await I.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/check/getlist",e),t=a.data;t&&t.words&&t.words.length>0?(Ye.value=t.words,Ze.value=0,sa.value=[],ya(),b.value="quiz"):l.warning(a.data.msg||"未获取到单词,请尝试调整条件")}catch(e){if(console.error("Start check error:",e),e.response&&e.response.data&&e.response.data.error){const a=e.response.data.error;a.includes("不足")?l.error("记录不足,无法抽查"):l.error(a)}else l.error("启动失败,请稍后重试")}finally{W.value=!1}},ya=()=>{ea.value="",aa.value=!1,la.value=[],ta.value={correct:!1,translations:[]}},ka=async()=>{if(ea.value.trim()){$e.value=!0;try{const e=await I.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/check/reply",{word_id:ra.value.id,reply:ea.value});if(e.data){const a=e.data;ta.value={correct:a.correct,translations:a.translations||[]},sa.value.push({word:ra.value,correct:a.correct,translations:a.translations||[]}),aa.value=!0}}catch(e){console.error("Submit answer error:",e),l.error("提交失败")}finally{$e.value=!1}}},xa=async()=>{sa.value.push({word:ra.value,correct:!0,translations:[]}),da.value?b.value="summary":(Ze.value++,ya())},ma=async()=>{Qe.value=!0;try{const e=await I.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/check/sign",{word_id:ra.value.id});e.data&&e.data.examples&&(la.value=e.data.examples,0===la.value.length&&l.info("该单词暂无例句提示"))}catch(e){console.error("Get hint error:",e),l.error("获取提示失败")}finally{Qe.value=!1}},ba=()=>{da.value?b.value="summary":(Ze.value++,ya())},pa=e=>{const l=a.resolve({path:"/word",query:{word_id:e}});window.open(l.href,"_blank")},fa=()=>{b.value="config",Ye.value=[],sa.value=[],Ze.value=0,ya()},ha=async(e=!1)=>{if(!Ge.value){Ge.value=!0;try{const a=await I.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/check/history",{params:{page:e?Ve.value+1:1}}),l=a.data;if(l){const{list:a,total:t,stats:s,page:r}=l;De.value=e?[...De.value,...a]:a,Se.value=t,Ve.value=parseInt(r),s&&(Ne.value=s)}}catch(a){console.error("Fetch history error:",a),l.error("获取历史记录失败")}finally{Ge.value=!1}}},ga=()=>{ha(!0)};(0,t.wB)(Be,e=>{"history"===e&&0===De.value.length&&ha()}),(0,t.wB)(()=>Je.value.mode,e=>{1===e&&0===Oe.value.length&&ia()}),(0,t.sV)(()=>{ia(),document.title="智能抽查 - Word Helper",wa(),window.addEventListener("resize",wa)}),(0,t.hi)(()=>{window.removeEventListener("resize",wa)});const wa=()=>{Me.value=window.innerWidth<640};return(e,a)=>{const l=(0,t.gN)("motion-slide-visible-once-left"),o=(0,t.gN)("motion-fade");return(0,t.uX)(),(0,t.CE)("div",Q,[(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",U,[(0,t.Lk)("div",M,[(0,t.bF)((0,s.R1)(L.A),{class:"w-8 h-8 text-primary"}),a[12]||(a[12]=(0,t.Lk)("h1",{class:"text-3xl font-bold text-gray-900 dark:text-white"},"智能抽查",-1)),(0,t.bF)((0,s.R1)(u.Ay),{type:"info",size:"small",round:""},{default:(0,t.k6)(()=>[...a[11]||(a[11]=[(0,t.eW)("限时免费",-1)])]),_:1})]),(0,t.Lk)("div",B,[(0,t.bF)((0,s.R1)(C.A),{class:"w-5 h-5 text-blue-500 mt-0.5 flex-shrink-0"}),a[13]||(a[13]=(0,t.Lk)("p",{class:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed"}," 欢迎体验智能抽查功能!我们基于超过 50,000 条真实用户答题数据训练的智能模型,为您提供高效、可靠的单词抽查与判题,帮助您快速发现薄弱词汇,针对性巩固学习效果。 ",-1))])])),[[l]]),(0,t.bF)((0,s.R1)(i.A),{type:"segment",animated:"",value:Be.value,"onUpdate:value":a[10]||(a[10]=e=>Be.value=e)},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(c.A),{name:"start",tab:"开始抽查"},{default:(0,t.k6)(()=>["config"===b.value?(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",D,[(0,t.bF)((0,s.R1)(v.Ay),{class:"rounded-xl shadow-sm",title:"抽查配置"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(y.A),{ref:"formRef",model:Je.value,"label-placement":Me.value?"top":"left","label-width":Me.value?"auto":100,"require-mark-placement":"right-hanging"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(k.Ay),{label:"单词数量"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(x.A),{value:Je.value.word_count,"onUpdate:value":a[0]||(a[0]=e=>Je.value.word_count=e),name:"word_count",class:"overflow-x-auto overflow-y-hidden max-w-full no-scrollbar"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(p),{value:10,label:"10"}),(0,t.bF)((0,s.R1)(p),{value:20,label:"20"}),(0,t.bF)((0,s.R1)(p),{value:30,label:"30"}),(0,t.bF)((0,s.R1)(p),{value:40,label:"40"})]),_:1},8,["value"])]),_:1}),(0,t.bF)((0,s.R1)(k.Ay),{label:"单词来源"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(x.A),{value:Je.value.mode,"onUpdate:value":a[1]||(a[1]=e=>Je.value.mode=e),name:"mode"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(f.A),{value:0,label:"学习记录"}),(0,t.bF)((0,s.R1)(f.A),{value:1,label:"词书挑战"}),(0,t.bF)((0,s.R1)(f.A),{value:2,label:"生词本"}),(0,t.bF)((0,s.R1)(f.A),{value:3,label:"词单抽词"})]),_:1},8,["value"])]),_:1}),(0,t.bF)((0,s.R1)(k.Ay),{label:"易错巩固"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(h.A),{value:Je.value.reinforce,"onUpdate:value":a[2]||(a[2]=e=>Je.value.reinforce=e)},{checked:(0,t.k6)(()=>[...a[14]||(a[14]=[(0,t.eW)("开启",-1)])]),unchecked:(0,t.k6)(()=>[...a[15]||(a[15]=[(0,t.eW)("关闭",-1)])]),_:1},8,["value"]),a[16]||(a[16]=(0,t.Lk)("span",{class:"ml-2 text-xs text-gray-500"},"优先抽取历史错题",-1))]),_:1}),1===Je.value.mode?((0,t.uX)(),(0,t.Wv)((0,s.R1)(k.Ay),{key:0,label:"选择词书"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(g.A),{value:Je.value.dict_ids,"onUpdate:value":a[3]||(a[3]=e=>Je.value.dict_ids=e),multiple:"",filterable:"",placeholder:"请选择词书(不选代表全部)",options:Oe.value,loading:Ue.value,clearable:""},null,8,["value","options","loading"])]),_:1})):(0,t.Q3)("",!0),3===Je.value.mode?((0,t.uX)(),(0,t.Wv)((0,s.R1)(k.Ay),{key:1,label:"选择词单"},{default:(0,t.k6)(()=>[(0,t.Lk)("div",V,[(0,t.Lk)("div",{class:"border border-gray-300 dark:border-gray-600 rounded-md p-2 min-h-[34px] cursor-pointer hover:border-indigo-500 transition-colors bg-white dark:bg-black/10 flex flex-wrap gap-2",onClick:a[4]||(a[4]=e=>Pe.value=!0)},[Te.value.length>0?((0,t.uX)(!0),(0,t.CE)(t.FK,{key:0},(0,t.pI)(Te.value,e=>((0,t.uX)(),(0,t.Wv)((0,s.R1)(u.Ay),{key:e.id,closable:"",onClose:(0,r.D$)(a=>ca(e.id),["stop"]),size:"small"},{default:(0,t.k6)(()=>[(0,t.eW)((0,d.v_)(e.name),1)]),_:2},1032,["onClose"]))),128)):((0,t.uX)(),(0,t.CE)("div",S," 点击选择词单... "))])])]),_:1})):(0,t.Q3)("",!0),(0,t.bF)($.A,{show:Pe.value,"onUpdate:show":a[5]||(a[5]=e=>Pe.value=e),modelValue:Je.value.list_ids,"onUpdate:modelValue":a[6]||(a[6]=e=>Je.value.list_ids=e),selectedList:Te.value,"onUpdate:selectedList":a[7]||(a[7]=e=>Te.value=e),"max-count":10},null,8,["show","modelValue","selectedList"]),(0,t.Lk)("div",N,[(0,t.bF)((0,s.R1)(w.Ay),{type:"primary",size:"large",onClick:va,loading:W.value},{default:(0,t.k6)(()=>[...a[17]||(a[17]=[(0,t.eW)(" 开始挑战 ",-1)])]),_:1},8,["loading"])])]),_:1},8,["model","label-placement","label-width"])]),_:1})])),[[o]]):"quiz"===b.value?(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",G,[(0,t.Lk)("div",H,[(0,t.Lk)("span",J,"进度: "+(0,d.v_)(Ze.value+1)+" / "+(0,d.v_)(Ye.value.length),1),(0,t.bF)((0,s.R1)(_.A),{type:"line",percentage:(Ze.value+1)/Ye.value.length*100,"show-indicator":!1,class:"w-48",status:"success"},null,8,["percentage"])]),(0,t.bF)((0,s.R1)(v.Ay),{class:"rounded-xl shadow-lg min-h-[400px] flex flex-col justify-center items-center text-center p-8"},{default:(0,t.k6)(()=>[ra.value?((0,t.uX)(),(0,t.CE)(t.FK,{key:0},[(0,t.Lk)("h2",O,(0,d.v_)(ra.value.word),1),aa.value?((0,t.uX)(),(0,t.CE)("div",ae,[(0,t.Lk)("div",le,[((0,t.uX)(),(0,t.Wv)((0,t.$y)(ta.value.correct?(0,s.R1)(X.A):(0,s.R1)(z.A)),{class:(0,d.C4)(["w-16 h-16 mb-2",ta.value.correct?"text-green-500":"text-red-500"])},null,8,["class"])),(0,t.Lk)("span",{class:(0,d.C4)(["text-xl font-bold",ta.value.correct?"text-green-600":"text-red-600"])},(0,d.v_)(ta.value.correct?"回答正确":"回答错误"),3)]),(0,t.Lk)("div",te,[a[22]||(a[22]=(0,t.Lk)("div",{class:"text-xs text-gray-400 mb-2"},"正确释义:",-1)),((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(ta.value.translations,(e,a)=>((0,t.uX)(),(0,t.CE)("div",{key:a,class:"mb-1"},[(0,t.bF)((0,s.R1)(u.Ay),{size:"small",bordered:!1,type:"info",class:"mr-2"},{default:(0,t.k6)(()=>[(0,t.eW)((0,d.v_)(e.pos),1)]),_:2},1024),(0,t.Lk)("span",se,(0,d.v_)(e.meaning),1)]))),128))]),(0,t.Lk)("div",re,[(0,t.bF)((0,s.R1)(w.Ay),{secondary:"",type:"info",onClick:a[9]||(a[9]=e=>pa(ra.value.id))},{default:(0,t.k6)(()=>[...a[23]||(a[23]=[(0,t.eW)(" 查看详细释义 ",-1)])]),_:1}),(0,t.bF)((0,s.R1)(w.Ay),{type:"primary",onClick:ba},{default:(0,t.k6)(()=>[(0,t.eW)((0,d.v_)(da.value?"查看成绩":"下一题"),1)]),_:1})])])):((0,t.uX)(),(0,t.CE)("div",P,[(0,t.bF)((0,s.R1)(R.A),{value:ea.value,"onUpdate:value":a[8]||(a[8]=e=>ea.value=e),type:"textarea",placeholder:"请输入中文释义...",autosize:{minRows:3,maxRows:5},maxlength:20,"show-count":"",onKeydown:(0,r.jR)((0,r.D$)(ka,["prevent"]),["enter"])},null,8,["value","onKeydown"]),(0,t.Lk)("div",T,[(0,t.bF)((0,s.R1)(w.Ay),{quaternary:"",type:"info",size:"small",onClick:ma,loading:Qe.value},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(E),{class:"w-4 h-4 mr-1"}),a[18]||(a[18]=(0,t.eW)(" 查看例句提示 ",-1))]),_:1},8,["loading"]),(0,t.bF)((0,s.R1)(w.Ay),{type:"primary",onClick:ka,disabled:!ea.value.trim(),loading:$e.value},{default:(0,t.k6)(()=>[...a[19]||(a[19]=[(0,t.eW)(" 提交答案 ",-1)])]),_:1},8,["disabled","loading"])]),(0,t.Lk)("div",Y,[(0,t.bF)((0,s.R1)(w.Ay),{text:"",type:"success",onClick:xa},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(K.A),{class:"w-4 h-4 mr-1"}),a[20]||(a[20]=(0,t.eW)(" 我已掌握 (跳过) ",-1))]),_:1})]),la.value.length>0?((0,t.uX)(),(0,t.CE)("div",Z,[a[21]||(a[21]=(0,t.Lk)("div",{class:"text-xs text-gray-400 mb-2"},"例句提示:",-1)),(0,t.Lk)("ul",ee,[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(la.value,(e,a)=>((0,t.uX)(),(0,t.CE)("li",{key:a,class:"text-sm text-gray-600 dark:text-gray-300"},(0,d.v_)(e),1))),128))])])):(0,t.Q3)("",!0)]))],64)):(0,t.Q3)("",!0)]),_:1})])),[[o]]):"summary"===b.value?(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",de,[(0,t.bF)((0,s.R1)(v.Ay),{class:"rounded-xl shadow-lg text-center p-8 mb-8"},{default:(0,t.k6)(()=>[a[27]||(a[27]=(0,t.Lk)("h2",{class:"text-2xl font-bold mb-6"},"本次挑战完成!",-1)),(0,t.Lk)("div",oe,[(0,t.Lk)("div",ne,[(0,t.Lk)("div",ue,(0,d.v_)(na.value),1),a[24]||(a[24]=(0,t.Lk)("div",{class:"text-gray-500"},"总分",-1))]),(0,t.Lk)("div",ie,[(0,t.Lk)("div",ce,(0,d.v_)(oa.value)+" / "+(0,d.v_)(Ye.value.length),1),a[25]||(a[25]=(0,t.Lk)("div",{class:"text-gray-500"},"正确率",-1))])]),(0,t.Lk)("div",ve,[(0,t.bF)((0,s.R1)(w.Ay),{type:"primary",onClick:fa},{default:(0,t.k6)(()=>[...a[26]||(a[26]=[(0,t.eW)("再来一轮",-1)])]),_:1})])]),_:1}),ua.value.length>0?((0,t.uX)(),(0,t.CE)("div",ye,[(0,t.Lk)("h3",ke,[(0,t.bF)((0,s.R1)(j),{class:"w-5 h-5 mr-2 text-red-500"}),a[28]||(a[28]=(0,t.eW)(" 错题回顾 ",-1))]),(0,t.Lk)("div",xe,[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(ua.value,e=>((0,t.uX)(),(0,t.Wv)((0,s.R1)(v.Ay),{key:e.word.id,class:"rounded-lg shadow-sm hover:shadow-md transition-shadow",size:"small"},{default:(0,t.k6)(()=>[(0,t.Lk)("div",me,[(0,t.Lk)("div",null,[(0,t.Lk)("h4",be,(0,d.v_)(e.word.word),1),(0,t.Lk)("div",pe,[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(e.translations,(e,a)=>((0,t.uX)(),(0,t.CE)("div",{key:a,class:"text-sm"},[(0,t.Lk)("span",fe,(0,d.v_)(e.pos),1),(0,t.Lk)("span",he,(0,d.v_)(e.meaning),1)]))),128))])]),(0,t.bF)((0,s.R1)(w.Ay),{size:"tiny",secondary:"",circle:"",onClick:a=>pa(e.word.id)},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(q.A),{class:"w-4 h-4"})]),_:1},8,["onClick"])])]),_:2},1024))),128))])])):(0,t.Q3)("",!0)])),[[o]]):(0,t.Q3)("",!0)]),_:1}),(0,t.bF)((0,s.R1)(c.A),{name:"history",tab:"历史记录"},{default:(0,t.k6)(()=>[(0,t.bF)((0,s.R1)(A.A),{type:"warning",class:"mb-4",bordered:!1,"show-icon":""},{default:(0,t.k6)(()=>[...a[29]||(a[29]=[(0,t.eW)(" 跳过回答的单词不会被此处统计 ",-1)])]),_:1}),(0,t.bo)(((0,t.uX)(),(0,t.CE)("div",ge,[(0,t.Lk)("div",we,[(0,t.bF)((0,s.R1)(v.Ay),{class:"bg-blue-50 dark:bg-blue-900/20 border-0 rounded-xl"},{default:(0,t.k6)(()=>[(0,t.Lk)("div",_e,[a[30]||(a[30]=(0,t.Lk)("div",{class:"text-gray-500 dark:text-gray-400 text-sm mb-1"},"累计答题",-1)),(0,t.Lk)("div",Re,(0,d.v_)(Ne.value.total_answers),1)])]),_:1}),(0,t.bF)((0,s.R1)(v.Ay),{class:"bg-green-50 dark:bg-green-900/20 border-0 rounded-xl"},{default:(0,t.k6)(()=>[(0,t.Lk)("div",Ae,[a[31]||(a[31]=(0,t.Lk)("div",{class:"text-gray-500 dark:text-gray-400 text-sm mb-1"},"正确率",-1)),(0,t.Lk)("div",Fe,(0,d.v_)(Ne.value.accuracy)+"%",1)])]),_:1})]),De.value.length>0?((0,t.uX)(),(0,t.CE)("div",Le,[(0,t.Lk)("h3",Ce,[(0,t.bF)((0,s.R1)(j),{class:"w-5 h-5 mr-2 text-red-500"}),a[32]||(a[32]=(0,t.eW)(" 错题本 ",-1))]),((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(De.value,e=>((0,t.uX)(),(0,t.Wv)((0,s.R1)(v.Ay),{key:e.id,size:"small",class:"hover:shadow-md transition-shadow cursor-pointer rounded-lg",onClick:a=>pa(e.id)},{default:(0,t.k6)(()=>[(0,t.Lk)("div",We,[(0,t.Lk)("div",Ee,[(0,t.Lk)("div",Ke,[(0,t.Lk)("h4",Xe,(0,d.v_)(e.word),1),(0,t.bF)((0,s.R1)(u.Ay),{type:"error",size:"small",round:"",bordered:!1},{default:(0,t.k6)(()=>[(0,t.eW)(" 错误 "+(0,d.v_)(e.error_count)+" 次 ",1)]),_:2},1024)]),(0,t.Lk)("div",ze,[((0,t.uX)(!0),(0,t.CE)(t.FK,null,(0,t.pI)(e.translations,(e,a)=>((0,t.uX)(),(0,t.CE)("div",{key:a,class:"line-clamp-1 mb-1"},[(0,t.Lk)("span",je,(0,d.v_)(e.pos),1),(0,t.Lk)("span",null,(0,d.v_)(e.meaning),1)]))),128))])]),(0,t.bF)((0,s.R1)(q.A),{class:"w-4 h-4 text-gray-400 mt-1 flex-shrink-0"})])]),_:2},1032,["onClick"]))),128)),(0,t.Lk)("div",qe,[He.value?((0,t.uX)(),(0,t.Wv)((0,s.R1)(w.Ay),{key:0,loading:Ge.value,onClick:ga,secondary:"",round:""},{default:(0,t.k6)(()=>[...a[33]||(a[33]=[(0,t.eW)(" 查看更多 ",-1)])]),_:1},8,["loading"])):((0,t.uX)(),(0,t.CE)("div",Ie,"没有更多了"))])])):Ge.value?(0,t.Q3)("",!0):((0,t.uX)(),(0,t.Wv)((0,s.R1)(F.A),{key:1,description:"暂无错题记录",class:"mt-20"}))])),[[o]])]),_:1})]),_:1},8,["value"])])}}},Qe=l(71241);const Ue=(0,Qe.A)($e,[["__scopeId","data-v-6ef8afc2"]]);var Me=Ue}}]); -//# sourceMappingURL=938.78cb062b.js.map \ No newline at end of file +//# sourceMappingURL=938.77996131.js.map \ No newline at end of file diff --git a/dist/js/986.974a561f.js b/dist/js/986.974a561f.js new file mode 100644 index 0000000..3de774b --- /dev/null +++ b/dist/js/986.974a561f.js @@ -0,0 +1,22 @@ +(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[986],{1576:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",a="second",l="minute",i="hour",o="day",s="week",u="month",d="quarter",c="year",f="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),a=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(a,2,"0")},m:function e(t,n){if(t.date()1)return e(i[0])}else{var o=t.name;x[o]=t,a=o}return!r&&a&&(y=a),a||!r&&y},$=function(e,t){if(k(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},_=b;_.l=A,_.i=k,_.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function v(e){this.$L=A(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var a=r[2]-1||0,l=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,l)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,l)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return _},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=$(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return $(e){const t=String(e).split(".")[1];return t?t.length:0},I=t=>{const n=[e.min,e.max,e.step,t].map(e=>void 0===e?0:A(e));return Math.max(...n)},F=(0,x.A)(()=>{const{placeholder:t}=e;return void 0!==t?t:o.value.placeholder}),S=(0,x.A)(()=>{const t=K(e.step);return null!==t?0===t?1:Math.abs(t):1}),E=(0,x.A)(()=>{const t=K(e.min);return null!==t?t:null}),T=(0,x.A)(()=>{const t=K(e.max);return null!==t?t:null}),B=()=>{const{value:t}=w;if(W(t)){const{format:n,precision:r}=e;n?k.value=n(t):null===t||void 0===r||A(t)>r?k.value=j(t,void 0):k.value=j(t,r)}else k.value=String(t)};B();const O=t=>{const{value:n}=w;if(t===n)return void B();const{"onUpdate:value":r,onUpdateValue:a,onChange:l}=e,{nTriggerFormInput:i,nTriggerFormChange:o}=s;l&&(0,D.T)(l,t),a&&(0,D.T)(a,t),r&&(0,D.T)(r,t),m.value=t,i(),o()},z=({offset:t,doUpdateIfValid:n,fixPrecision:r,isInputing:a})=>{const{value:l}=k;if(a&&U(l))return!1;const i=(e.parse||N)(l);if(null===i)return n&&O(null),null;if(W(i)){const l=A(i),{precision:o}=e;if(void 0!==o&&ot){if(!n||a)return!1;s=t}if(null!==r&&s{const e=z({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1});return!1===e}),q=(0,x.A)(()=>{const{value:t}=w;if(e.validator&&null===t)return!1;const{value:n}=S,r=z({offset:-n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1});return!1!==r}),Y=(0,x.A)(()=>{const{value:t}=w;if(e.validator&&null===t)return!1;const{value:n}=S,r=z({offset:+n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1});return!1!==r});function Q(t){const{onFocus:n}=e,{nTriggerFormFocus:r}=s;n&&(0,D.T)(n,t),r()}function G(t){var n,a;if(t.target===(null===(n=f.value)||void 0===n?void 0:n.wrapperElRef))return;const l=z({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(!1!==l){const e=null===(a=f.value)||void 0===a?void 0:a.inputElRef;e&&(e.value=String(l||"")),w.value===l&&B()}else B();const{onBlur:i}=e,{nTriggerFormBlur:o}=s;i&&(0,D.T)(i,t),o(),(0,r.dY)(()=>{B()})}function Z(t){const{onClear:n}=e;n&&(0,D.T)(n,t)}function J(){const{value:t}=Y;if(!t)return void ce();const{value:n}=w;if(null===n)e.validator||O(re());else{const{value:e}=S;z({offset:e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function ee(){const{value:t}=q;if(!t)return void ue();const{value:n}=w;if(null===n)e.validator||O(re());else{const{value:e}=S;z({offset:-e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const te=Q,ne=G;function re(){if(e.validator)return null;const{value:t}=E,{value:n}=T;return null!==t?Math.max(0,t):null!==n?Math.min(0,n):0}function ae(e){Z(e),O(null)}function le(e){var t,n,r;(null===(t=h.value)||void 0===t?void 0:t.$el.contains(e.target))&&e.preventDefault(),(null===(n=p.value)||void 0===n?void 0:n.$el.contains(e.target))&&e.preventDefault(),null===(r=f.value)||void 0===r||r.activate()}let ie=null,oe=null,se=null;function ue(){se&&(window.clearTimeout(se),se=null),ie&&(window.clearInterval(ie),ie=null)}let de=null;function ce(){de&&(window.clearTimeout(de),de=null),oe&&(window.clearInterval(oe),oe=null)}function fe(){ue(),se=window.setTimeout(()=>{ie=window.setInterval(()=>{ee()},X)},H),(0,g.on)("mouseup",document,ue,{once:!0})}function pe(){ce(),de=window.setTimeout(()=>{oe=window.setInterval(()=>{J()},X)},H),(0,g.on)("mouseup",document,ce,{once:!0})}const he=()=>{oe||J()},me=()=>{ie||ee()};function ve(t){var n,r;if("Enter"===t.key){if(t.target===(null===(n=f.value)||void 0===n?void 0:n.wrapperElRef))return;const e=z({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});!1!==e&&(null===(r=f.value)||void 0===r||r.deactivate())}else if("ArrowUp"===t.key){if(!Y.value)return;if(!1===e.keyboard.ArrowUp)return;t.preventDefault();const n=z({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});!1!==n&&J()}else if("ArrowDown"===t.key){if(!q.value)return;if(!1===e.keyboard.ArrowDown)return;t.preventDefault();const n=z({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});!1!==n&&ee()}}function ge(t){k.value=t,!e.updateValueOnInput||e.format||e.parse||void 0!==e.precision||z({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}(0,r.wB)(w,()=>{B()});const be={focus:()=>{var e;return null===(e=f.value)||void 0===e?void 0:e.focus()},blur:()=>{var e;return null===(e=f.value)||void 0===e?void 0:e.blur()},select:()=>{var e;return null===(e=f.value)||void 0===e?void 0:e.select()}},ye=(0,R.I)("InputNumber",l,n);return Object.assign(Object.assign({},be),{rtlEnabled:ye,inputInstRef:f,minusButtonInstRef:p,addButtonInstRef:h,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:m,mergedValue:w,mergedPlaceholder:F,displayedValueInvalid:L,mergedSize:u,mergedDisabled:d,displayedValue:k,addable:Y,minusable:q,mergedStatus:c,handleFocus:te,handleBlur:ne,handleClear:ae,handleMouseDown:le,handleAddClick:he,handleMinusClick:me,handleAddMousedown:pe,handleMinusMousedown:fe,handleKeyDown:ve,handleUpdateDisplayedValue:ge,mergedTheme:i,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:(0,r.EW)(()=>{const{self:{iconColorDisabled:e}}=i.value,[t,n,r,a]=(0,b.B3)(e);return{textColorTextDisabled:`rgb(${t}, ${n}, ${r})`,opacityDisabled:`${a}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>(0,r.h)(F.b2,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>(0,I.Nj)(t["minus-icon"],()=>[(0,r.h)(w.A,{clsPrefix:e},{default:()=>(0,r.h)(k,null)})])}),a=()=>(0,r.h)(F.b2,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>(0,I.Nj)(t["add-icon"],()=>[(0,r.h)(w.A,{clsPrefix:e},{default:()=>(0,r.h)(A.A,null)})])});return(0,r.h)("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},(0,r.h)(S.A,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,round:this.round,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var a;return this.showButton&&"both"===this.buttonPlacement?[n(),(0,I.iQ)(t.prefix,t=>t?(0,r.h)("span",{class:`${e}-input-number-prefix`},t):null)]:null===(a=t.prefix)||void 0===a?void 0:a.call(t)},suffix:()=>{var l;return this.showButton?[(0,I.iQ)(t.suffix,t=>t?(0,r.h)("span",{class:`${e}-input-number-suffix`},t):null),"right"===this.buttonPlacement?n():null,a()]:null===(l=t.suffix)||void 0===l?void 0:l.call(t)}}))}}),Q=n(19605),G=n(92720),Z=n(68042),J=(n(44114),n(25216)),ee=n(77727),te=n(14764),ne=n(92548),re=(0,L.cB)("collapse","width: 100%;",[(0,L.cB)("collapse-item","\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n transition:\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n margin: var(--n-item-margin);\n ",[(0,L.cM)("disabled",[(0,L.cE)("header","cursor: not-allowed;",[(0,L.cE)("header-main","\n color: var(--n-title-text-color-disabled);\n "),(0,L.cB)("collapse-item-arrow","\n color: var(--n-arrow-color-disabled);\n ")])]),(0,L.cB)("collapse-item","margin-left: 32px;"),(0,L.c)("&:first-child","margin-top: 0;"),(0,L.c)("&:first-child >",[(0,L.cE)("header","padding-top: 0;")]),(0,L.cM)("left-arrow-placement",[(0,L.cE)("header",[(0,L.cB)("collapse-item-arrow","margin-right: 4px;")])]),(0,L.cM)("right-arrow-placement",[(0,L.cE)("header",[(0,L.cB)("collapse-item-arrow","margin-left: 4px;")])]),(0,L.cE)("content-wrapper",[(0,L.cE)("content-inner","padding-top: 16px;"),(0,ne._)({duration:"0.15s"})]),(0,L.cM)("active",[(0,L.cE)("header",[(0,L.cM)("active",[(0,L.cB)("collapse-item-arrow","transform: rotate(90deg);")])])]),(0,L.c)("&:not(:first-child)","border-top: 1px solid var(--n-divider-color);"),(0,L.C5)("disabled",[(0,L.cM)("trigger-area-main",[(0,L.cE)("header",[(0,L.cE)("header-main","cursor: pointer;"),(0,L.cB)("collapse-item-arrow","cursor: default;")])]),(0,L.cM)("trigger-area-arrow",[(0,L.cE)("header",[(0,L.cB)("collapse-item-arrow","cursor: pointer;")])]),(0,L.cM)("trigger-area-extra",[(0,L.cE)("header",[(0,L.cE)("header-extra","cursor: pointer;")])])]),(0,L.cE)("header","\n font-size: var(--n-title-font-size);\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n transition: color .3s var(--n-bezier);\n position: relative;\n padding: var(--n-title-padding);\n color: var(--n-title-text-color);\n ",[(0,L.cE)("header-main","\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n font-weight: var(--n-title-font-weight);\n transition: color .3s var(--n-bezier);\n flex: 1;\n color: var(--n-title-text-color);\n "),(0,L.cE)("header-extra","\n display: flex;\n align-items: center;\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),(0,L.cB)("collapse-item-arrow","\n display: flex;\n transition:\n transform .15s var(--n-bezier),\n color .3s var(--n-bezier);\n font-size: 18px;\n color: var(--n-arrow-color);\n ")])])]);const ae=Object.assign(Object.assign({},$.A.props),{defaultExpandedNames:{type:[Array,String],default:null},expandedNames:[Array,String],arrowPlacement:{type:String,default:"left"},accordion:{type:Boolean,default:!1},displayDirective:{type:String,default:"if"},triggerAreas:{type:Array,default:()=>["main","extra","arrow"]},onItemHeaderClick:[Function,Array],"onUpdate:expandedNames":[Function,Array],onUpdateExpandedNames:[Function,Array],onExpandedNamesChange:{type:[Function,Array],validator:()=>!0,default:void 0}}),le=(0,ee.D)("n-collapse");var ie=(0,r.pM)({name:"Collapse",props:ae,slots:Object,setup(e,{slots:t}){const{mergedClsPrefixRef:n,inlineThemeDisabled:l,mergedRtlRef:i}=(0,_.Ay)(e),o=(0,a.KR)(e.defaultExpandedNames),s=(0,r.EW)(()=>e.expandedNames),u=(0,y.A)(s,o),d=(0,$.A)("Collapse","-collapse",re,te.A,e,n);function c(t){const{"onUpdate:expandedNames":n,onUpdateExpandedNames:r,onExpandedNamesChange:a}=e;r&&(0,D.T)(r,t),n&&(0,D.T)(n,t),a&&(0,D.T)(a,t),o.value=t}function f(t){const{onItemHeaderClick:n}=e;n&&(0,D.T)(n,t)}function p(t,n,r){const{accordion:a}=e,{value:l}=u;if(a)t?(c([n]),f({name:n,expanded:!0,event:r})):(c([]),f({name:n,expanded:!1,event:r}));else if(Array.isArray(l)){const e=l.slice(),t=e.findIndex(e=>n===e);~t?(e.splice(t,1),c(e),f({name:n,expanded:!1,event:r})):(e.push(n),c(e),f({name:n,expanded:!0,event:r}))}else c([n]),f({name:n,expanded:!0,event:r})}(0,r.Gt)(le,{props:e,mergedClsPrefixRef:n,expandedNamesRef:u,slots:t,toggleItem:p});const h=(0,R.I)("Collapse",i,n),m=(0,r.EW)(()=>{const{common:{cubicBezierEaseInOut:e},self:{titleFontWeight:t,dividerColor:n,titlePadding:r,titleTextColor:a,titleTextColorDisabled:l,textColor:i,arrowColor:o,fontSize:s,titleFontSize:u,arrowColorDisabled:c,itemMargin:f}}=d.value;return{"--n-font-size":s,"--n-bezier":e,"--n-text-color":i,"--n-divider-color":n,"--n-title-padding":r,"--n-title-font-size":u,"--n-title-text-color":a,"--n-title-text-color-disabled":l,"--n-title-font-weight":t,"--n-arrow-color":o,"--n-arrow-color-disabled":c,"--n-item-margin":f}}),v=l?(0,J.R)("collapse",void 0,m,e):void 0;return{rtlEnabled:h,mergedTheme:d,mergedClsPrefix:n,cssVars:l?void 0:m,themeClass:null===v||void 0===v?void 0:v.themeClass,onRender:null===v||void 0===v?void 0:v.onRender}},render(){var e;return null===(e=this.onRender)||void 0===e||e.call(this),(0,r.h)("div",{class:[`${this.mergedClsPrefix}-collapse`,this.rtlEnabled&&`${this.mergedClsPrefix}-collapse--rtl`,this.themeClass],style:this.cssVars},this.$slots)}}),oe=n(65049),se=n(11336),ue=(0,r.pM)({name:"ChevronLeft",render(){return(0,r.h)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M10.3536 3.14645C10.5488 3.34171 10.5488 3.65829 10.3536 3.85355L6.20711 8L10.3536 12.1464C10.5488 12.3417 10.5488 12.6583 10.3536 12.8536C10.1583 13.0488 9.84171 13.0488 9.64645 12.8536L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645L9.64645 3.14645C9.84171 2.95118 10.1583 2.95118 10.3536 3.14645Z",fill:"currentColor"}))}}),de=n(86074),ce=n(35268),fe=n(74978),pe=n(55405),he=(0,r.pM)({name:"CollapseItemContent",props:{displayDirective:{type:String,required:!0},show:Boolean,clsPrefix:{type:String,required:!0}},setup(e){const t=(0,fe.A)((0,a.lW)(e,"show"));return{onceTrue:t}},render(){return(0,r.h)(pe.A,null,{default:()=>{const{show:e,displayDirective:t,onceTrue:n,clsPrefix:a}=this,i="show"===t&&n,o=(0,r.h)("div",{class:`${a}-collapse-item__content-wrapper`},(0,r.h)("div",{class:`${a}-collapse-item__content-inner`},this.$slots));return i?(0,r.bo)(o,[[l.aG,e]]):e?o:null}})}});const me={title:String,name:[String,Number],disabled:Boolean,displayDirective:String};var ve=(0,r.pM)({name:"CollapseItem",props:me,setup(e){const{mergedRtlRef:t}=(0,_.Ay)(e),n=(0,oe.sX)(),l=(0,x.A)(()=>{var t;return null!==(t=e.name)&&void 0!==t?t:n}),i=(0,r.WQ)(le);i||(0,ce.$8)("collapse-item","`n-collapse-item` must be placed inside `n-collapse`.");const{expandedNamesRef:o,props:s,mergedClsPrefixRef:u,slots:d}=i,c=(0,r.EW)(()=>{const{value:e}=o;if(Array.isArray(e)){const{value:t}=l;return!~e.findIndex(e=>e===t)}if(e){const{value:t}=l;return t!==e}return!0}),f=(0,R.I)("Collapse",t,u);return{rtlEnabled:f,collapseSlots:d,randomName:n,mergedClsPrefix:u,collapsed:c,triggerAreas:(0,a.lW)(s,"triggerAreas"),mergedDisplayDirective:(0,r.EW)(()=>{const{displayDirective:t}=e;return t||s.displayDirective}),arrowPlacement:(0,r.EW)(()=>s.arrowPlacement),handleClick(t){let n="main";(0,se.d)(t,"arrow")&&(n="arrow"),(0,se.d)(t,"extra")&&(n="extra"),s.triggerAreas.includes(n)&&i&&!e.disabled&&i.toggleItem(c.value,l.value,t)}}},render(){const{collapseSlots:e,$slots:t,arrowPlacement:n,collapsed:a,mergedDisplayDirective:l,mergedClsPrefix:i,disabled:o,triggerAreas:s}=this,u=(0,I.Vu)(t.header,{collapsed:a},()=>[this.title]),d=t["header-extra"]||e["header-extra"],c=t.arrow||e.arrow;return(0,r.h)("div",{class:[`${i}-collapse-item`,`${i}-collapse-item--${n}-arrow-placement`,o&&`${i}-collapse-item--disabled`,!a&&`${i}-collapse-item--active`,s.map(e=>`${i}-collapse-item--trigger-area-${e}`)]},(0,r.h)("div",{class:[`${i}-collapse-item__header`,!a&&`${i}-collapse-item__header--active`]},(0,r.h)("div",{class:`${i}-collapse-item__header-main`,onClick:this.handleClick},"right"===n&&u,(0,r.h)("div",{class:`${i}-collapse-item-arrow`,key:this.rtlEnabled?0:1,"data-arrow":!0},(0,I.Vu)(c,{collapsed:a},()=>[(0,r.h)(w.A,{clsPrefix:i},{default:()=>this.rtlEnabled?(0,r.h)(ue,null):(0,r.h)(de.A,null)})])),"left"===n&&u),(0,I.aD)(d,{collapsed:a},e=>(0,r.h)("div",{class:`${i}-collapse-item__header-extra`,onClick:this.handleClick,"data-extra":!0},e))),(0,r.h)(he,{clsPrefix:i,displayDirective:l,show:!a},t))}}),ge=n(22695),be=n(82089),ye=n(45525); +/** + * @license lucide-vue-next v0.562.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */ +const xe=(0,ye.A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var we=n(91733); +/** + * @license lucide-vue-next v0.562.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */ +const ke=(0,ye.A)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);var Ae=n(7023),$e=n(1576),_e=n.n($e),Ce=n(74911),Me=n(35720),Re=n(98728),De=n(15227);const Ie={class:"passage-view max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},Fe={class:"flex flex-col gap-4 mb-8"},Se={class:"flex items-center gap-2"},Ee={key:0},Te={key:0,class:"bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg flex items-start gap-3 mt-2"},Be={key:1,class:"bg-yellow-50 dark:bg-yellow-900/20 p-4 rounded-lg flex items-start gap-3 mt-2"},Oe={class:"max-w-2xl mx-auto"},ze={key:1,class:"text-gray-400 text-sm"},Pe={class:"max-w-4xl mx-auto space-y-6"},Le={key:0,class:"flex justify-center py-12"},Ve={key:1,class:"flex flex-col items-center justify-center py-16 text-center"},Ne={key:2,class:"space-y-6"},Ue={class:"flex items-center gap-1"},We=["innerHTML"],je=["innerHTML"],Ke=["innerHTML"],He={class:"mt-6 pt-4 border-t border-gray-100 dark:border-gray-800"},Xe={class:"flex items-center gap-2 mb-3"},qe={class:"flex flex-wrap gap-2"},Ye=["onClick"],Qe={key:0,class:"flex justify-center mt-8"},Ge={key:1,class:"text-center text-gray-400 text-sm mt-8"},Ze='Google Gemini',Je='OpenAI';var et={__name:"PassageView",setup(e){const t=(0,s.J)(),n=(0,Re.rd)(),g=(0,o.Pj)(),b=new Ce.A({html:!0,breaks:!0,linkify:!0}),y=(0,a.KR)("generate"),x=(0,a.KR)(!1),w=(0,a.KR)(!1),k=(0,a.KR)(!1),A=(0,a.KR)(!1),$=(0,a.KR)(!1),_=(0,a.KR)("unlimited"),C=(0,a.KR)(1),M=(0,a.KR)(!0),R=(0,a.KR)([]),D=(0,a.KR)([]),I=(0,a.KR)([]),S=(0,a.KR)([]),E=(0,r.EW)(()=>g.getters.userInfo),T=(0,r.EW)(()=>E.value?.is_vip),B=(0,a.Kh)({mode:0,count:5,dict_ids:[],list_ids:[],word_ids:[],model:"gemini-3-pro"}),O=[{label:"Gemini 3 Pro (推荐)",value:"gemini-3-pro"}],z=e=>_e()(e).format("YYYY年MM月DD日 HH:mm"),P=e=>b.render(e||""),L=e=>{const t=n.resolve({path:"/word",query:{word_id:e}});window.open(t.href,"_blank")},V=async()=>{k.value=!0;try{const e=await Me.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/dict/list");0===e.data.code&&(D.value=e.data.data.map(e=>({label:e.name,value:e.id})))}catch(e){console.error("Fetch dicts error:",e)}finally{k.value=!1}},N=async e=>{if(e){A.value=!0;try{const t=await Me.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/search",{keyword:e,page:1,limit:5}),n=t.data.data||t.data,r=new Set(B.word_ids),a=I.value.filter(e=>r.has(e.value)),l=(n.list||[]).map(e=>({label:e.word+(e.translations&&e.translations[0]?` (${e.translations[0].meaning})`:""),value:e.id})),i=[...a,...l],o=new Map;i.forEach(e=>o.set(e.value,e)),I.value=Array.from(o.values())}catch(t){console.error("Search words error:",t)}finally{A.value=!1}}},U=e=>{B.list_ids=B.list_ids.filter(t=>t!==e),S.value=S.value.filter(t=>t.id!==e)},W=async(e=!1)=>{if(!w.value){w.value=!0;try{const t=await Me.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/ai_passage/list",{params:{page:C.value}}),n=t.data,r=n.list||[],a=n.pagination||{};R.value=e?[...R.value,...r]:r,M.value=C.value<(a.total_pages||0)}catch(n){console.error("Fetch history error:",n),t.error("获取历史记录失败")}finally{w.value=!1}}},j=()=>{M.value&&(C.value++,W(!0))},K=async()=>{if(1===B.mode&&B.dict_ids.length,3!==B.mode||0!==B.list_ids.length)if(4!==B.mode||0!==B.word_ids.length){x.value=!0;try{const e={mode:B.mode,model:B.model,count:B.count};1===B.mode&&(e.dict_ids=B.dict_ids),3===B.mode&&(e.dict_ids=B.list_ids),4===B.mode&&(e.word_ids=B.word_ids);const n=await Me.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/ai_passage/generate",e);void 0!==n.data.remaining_usage&&(_.value=n.data.remaining_usage),t.success(`生成成功!剩余试用次数:${n.data.remaining_usage}`),y.value="history",C.value=1,W()}catch(e){console.error("Generate error:",e),e.response?.data?.message?t.error(e.response.data.message):t.error("生成失败,请稍后重试")}finally{x.value=!1}}else t.warning("请至少选择一个单词");else t.warning("请至少选择一个词单")};return(0,r.wB)(()=>B.mode,e=>{1===e&&0===D.value.length&&V()}),(0,r.wB)(y,e=>{"history"===e&&0===R.value.length&&W()}),(0,r.sV)(()=>{document.title="AI 助记短文 - Word Helper"}),(e,t)=>{const n=(0,r.gN)("motion-fade"),o=(0,r.gN)("motion-slide-visible-once-left");return(0,r.uX)(),(0,r.CE)("div",Ie,[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Fe,[(0,r.Lk)("div",Se,[(0,r.bF)((0,a.R1)(u._),{size:"32",class:"text-primary"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(ge.A))]),_:1}),t[10]||(t[10]=(0,r.Lk)("h1",{class:"text-3xl font-bold text-gray-900 dark:text-white"},"AI 助记短文",-1))]),t[13]||(t[13]=(0,r.Lk)("p",{class:"text-gray-500 dark:text-gray-400"}," 利用 AI 生成包含目标单词的趣味短文,帮助您在语境中记忆单词。 ",-1)),E.value?(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Ee,[T.value?((0,r.uX)(),(0,r.CE)("div",Te,[(0,r.bF)((0,a.R1)(be.A),{class:"w-5 h-5 text-blue-500 mt-0.5 flex-shrink-0"}),t[11]||(t[11]=(0,r.Lk)("p",{class:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed"}," 您是VIP用户,可无限量畅享AI助记短文功能。 ",-1))])):((0,r.uX)(),(0,r.CE)("div",Be,[(0,r.bF)((0,a.R1)(xe),{class:"w-5 h-5 text-yellow-500 mt-0.5 flex-shrink-0"}),t[12]||(t[12]=(0,r.Lk)("p",{class:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed"},[(0,r.eW)(" 非VIP用户可试用3次AI助记短文功能,"),(0,r.Lk)("a",{href:"https://www.xn--xhq44jb2fzpc.com/subscribe",target:"_blank",class:"text-yellow-600 dark:text-yellow-400 font-bold hover:underline"},"赞助"),(0,r.eW)("可获得会员权限。 ")],-1))]))])),[[n]]):(0,r.Q3)("",!0)])),[[o]]),(0,r.bF)((0,a.R1)(d.A),{type:"segment",animated:"",value:y.value,"onUpdate:value":t[6]||(t[6]=e=>y.value=e),class:"mb-8"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(c.A),{name:"generate",tab:"生成短文"},{default:(0,r.k6)(()=>[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Oe,[(0,r.bF)((0,a.R1)(f.Ay),{title:"生成配置",class:"rounded-xl shadow-sm"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(p.A),{ref:"formRef",model:B,"label-placement":"top"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(h.Ay),{label:"单词来源"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(m.A),{value:B.mode,"onUpdate:value":t[0]||(t[0]=e=>B.mode=e),name:"mode",class:"grid grid-cols-2 gap-2 w-full"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(v.A),{value:0,label:"最近学习"}),(0,r.bF)((0,a.R1)(v.A),{value:1,label:"词书"}),(0,r.bF)((0,a.R1)(v.A),{value:2,label:"生词本"}),(0,r.bF)((0,a.R1)(v.A),{value:3,label:"词单"}),(0,r.bF)((0,a.R1)(v.A),{value:4,label:"自定义"})]),_:1},8,["value"])]),_:1}),4!==B.mode?((0,r.uX)(),(0,r.Wv)((0,a.R1)(h.Ay),{key:0,label:"单词数量"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Y),{value:B.count,"onUpdate:value":t[1]||(t[1]=e=>B.count=e),min:1,max:20,class:"w-full"},null,8,["value"])]),_:1})):(0,r.Q3)("",!0),1===B.mode?((0,r.uX)(),(0,r.Wv)((0,a.R1)(h.Ay),{key:1,label:"选择词书"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Q.A),{value:B.dict_ids,"onUpdate:value":t[2]||(t[2]=e=>B.dict_ids=e),multiple:"",filterable:"",placeholder:"请选择词书(不选代表全部)",options:D.value,loading:k.value,clearable:""},null,8,["value","options","loading"])]),_:1})):(0,r.Q3)("",!0),3===B.mode?((0,r.uX)(),(0,r.Wv)((0,a.R1)(h.Ay),{key:2,label:"选择词单"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",{class:"w-full border border-gray-300 dark:border-gray-700 rounded p-2 cursor-pointer hover:border-primary transition-colors min-h-[34px] flex flex-wrap gap-2",onClick:t[3]||(t[3]=e=>$.value=!0)},[S.value.length>0?((0,r.uX)(!0),(0,r.CE)(r.FK,{key:0},(0,r.pI)(S.value,e=>((0,r.uX)(),(0,r.Wv)((0,a.R1)(G.Ay),{key:e.id,closable:"",onClose:(0,l.D$)(t=>U(e.id),["stop"]),size:"small"},{default:(0,r.k6)(()=>[(0,r.eW)((0,i.v_)(e.name),1)]),_:2},1032,["onClose"]))),128)):((0,r.uX)(),(0,r.CE)("span",ze,"点击选择词单..."))])]),_:1})):(0,r.Q3)("",!0),4===B.mode?((0,r.uX)(),(0,r.Wv)((0,a.R1)(h.Ay),{key:3,label:"选择单词 (最多20个)"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Q.A),{value:B.word_ids,"onUpdate:value":t[4]||(t[4]=e=>B.word_ids=e),multiple:"",filterable:"",remote:"",placeholder:"输入单词搜索...",options:I.value,loading:A.value,onSearch:N,"max-tag-count":5,clearable:""},null,8,["value","options","loading"])]),_:1})):(0,r.Q3)("",!0),(0,r.bF)((0,a.R1)(h.Ay),{label:"AI 模型"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Q.A),{value:B.model,"onUpdate:value":t[5]||(t[5]=e=>B.model=e),options:O},null,8,["value"])]),_:1}),(0,r.bF)((0,a.R1)(F.Ay),{type:"primary",block:"",size:"large",loading:x.value,onClick:K},{default:(0,r.k6)(()=>[...t[14]||(t[14]=[(0,r.eW)(" 生成短文 ",-1)])]),_:1},8,["loading"])]),_:1},8,["model"])]),_:1})])),[[n]])]),_:1}),(0,r.bF)((0,a.R1)(c.A),{name:"history",tab:"历史记录"},{default:(0,r.k6)(()=>[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Pe,[w.value&&1===C.value?((0,r.uX)(),(0,r.CE)("div",Le,[(0,r.bF)((0,a.R1)(Z.A),{size:"large"})])):0===R.value.length?((0,r.uX)(),(0,r.CE)("div",Ve,[(0,r.bF)((0,a.R1)(u._),{size:"64",class:"text-gray-300 dark:text-gray-600 mb-4"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(we.A))]),_:1}),t[15]||(t[15]=(0,r.Lk)("p",{class:"text-gray-500 dark:text-gray-400"},"暂无生成记录,快去生成第一篇吧!",-1))])):((0,r.uX)(),(0,r.CE)("div",Ne,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(R.value,e=>((0,r.uX)(),(0,r.Wv)((0,a.R1)(f.Ay),{key:e.id,class:"rounded-xl shadow-sm hover:shadow-md transition-shadow",title:z(e.created_at),size:"medium"},{"header-extra":(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(G.Ay),{size:"small",type:"gpt-5"===e.model?"success":"info",bordered:!1},{default:(0,r.k6)(()=>[(0,r.Lk)("div",Ue,[(0,r.Lk)("span",{class:"w-4 h-4 flex items-center justify-center",innerHTML:"gpt-5"===e.model?Je:Ze},null,8,We),(0,r.Lk)("span",null,(0,i.v_)("gpt-5"===e.model?"GPT-5":"Gemini 3 Pro"),1)])]),_:2},1032,["type"])]),default:(0,r.k6)(()=>[(0,r.Lk)("div",{class:"prose dark:prose-invert max-w-none mb-6 text-base leading-relaxed",innerHTML:P(e.content)},null,8,je),(0,r.bF)((0,a.R1)(ie),null,{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(ve),{title:"查看中文翻译",name:"1"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",{class:"prose dark:prose-invert max-w-none text-gray-600 dark:text-gray-300 p-4 bg-gray-50 dark:bg-gray-800/50 rounded-lg",innerHTML:P(e.translation)},null,8,Ke)]),_:2},1024)]),_:2},1024),(0,r.Lk)("div",He,[(0,r.Lk)("div",Xe,[(0,r.bF)((0,a.R1)(u._),{size:"16",class:"text-gray-400"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(ke))]),_:1}),t[16]||(t[16]=(0,r.Lk)("span",{class:"text-xs text-gray-500 font-medium"},"关联单词",-1))]),(0,r.Lk)("div",qe,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.words,e=>((0,r.uX)(),(0,r.CE)("div",{key:e.id,class:"group cursor-pointer px-3 py-1.5 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg text-sm hover:border-primary hover:text-primary transition-all flex items-center gap-1 shadow-sm",onClick:t=>L(e.id)},[(0,r.Lk)("span",null,(0,i.v_)(e.word),1),(0,r.bF)((0,a.R1)(u._),{size:"12",class:"opacity-0 group-hover:opacity-100 transition-opacity"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Ae.A))]),_:1})],8,Ye))),128))])])]),_:2},1032,["title"]))),128)),M.value?((0,r.uX)(),(0,r.CE)("div",Qe,[(0,r.bF)((0,a.R1)(F.Ay),{loading:w.value,onClick:j,secondary:""},{default:(0,r.k6)(()=>[...t[17]||(t[17]=[(0,r.eW)(" 加载更多历史记录 ",-1)])]),_:1},8,["loading"])])):R.value.length>0?((0,r.uX)(),(0,r.CE)("div",Ge," 没有更多记录了 ")):(0,r.Q3)("",!0)]))])),[[n]])]),_:1})]),_:1},8,["value"]),(0,r.bF)(De.A,{show:$.value,"onUpdate:show":t[7]||(t[7]=e=>$.value=e),modelValue:B.list_ids,"onUpdate:modelValue":t[8]||(t[8]=e=>B.list_ids=e),selectedList:S.value,"onUpdate:selectedList":t[9]||(t[9]=e=>S.value=e),"max-count":10},null,8,["show","modelValue","selectedList"])])}}},tt=n(71241);const nt=(0,tt.A)(et,[["__scopeId","data-v-27b499a4"]]);var rt=nt}}]); +//# sourceMappingURL=986.974a561f.js.map \ No newline at end of file diff --git a/dist/js/986.ef9ba720.js b/dist/js/986.ef9ba720.js deleted file mode 100644 index aba7566..0000000 --- a/dist/js/986.ef9ba720.js +++ /dev/null @@ -1,16 +0,0 @@ -(self["webpackChunkwordhelper"]=self["webpackChunkwordhelper"]||[]).push([[986],{1576:function(e){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",a="second",l="minute",i="hour",o="day",s="week",u="month",d="quarter",c="year",f="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),a=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(a,2,"0")},m:function e(t,n){if(t.date()1)return e(i[0])}else{var o=t.name;x[o]=t,a=o}return!r&&a&&(y=a),a||!r&&y},$=function(e,t){if(k(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},_=b;_.l=A,_.i=k,_.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function v(e){this.$L=A(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(m);if(r){var a=r[2]-1||0,l=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,l)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,l)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return _},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=$(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return $(e){const t=String(e).split(".")[1];return t?t.length:0},I=t=>{const n=[e.min,e.max,e.step,t].map(e=>void 0===e?0:A(e));return Math.max(...n)},F=(0,x.A)(()=>{const{placeholder:t}=e;return void 0!==t?t:o.value.placeholder}),S=(0,x.A)(()=>{const t=K(e.step);return null!==t?0===t?1:Math.abs(t):1}),E=(0,x.A)(()=>{const t=K(e.min);return null!==t?t:null}),T=(0,x.A)(()=>{const t=K(e.max);return null!==t?t:null}),B=()=>{const{value:t}=w;if(W(t)){const{format:n,precision:r}=e;n?k.value=n(t):null===t||void 0===r||A(t)>r?k.value=j(t,void 0):k.value=j(t,r)}else k.value=String(t)};B();const O=t=>{const{value:n}=w;if(t===n)return void B();const{"onUpdate:value":r,onUpdateValue:a,onChange:l}=e,{nTriggerFormInput:i,nTriggerFormChange:o}=s;l&&(0,D.T)(l,t),a&&(0,D.T)(a,t),r&&(0,D.T)(r,t),h.value=t,i(),o()},z=({offset:t,doUpdateIfValid:n,fixPrecision:r,isInputing:a})=>{const{value:l}=k;if(a&&U(l))return!1;const i=(e.parse||V)(l);if(null===i)return n&&O(null),null;if(W(i)){const l=A(i),{precision:o}=e;if(void 0!==o&&ot){if(!n||a)return!1;s=t}if(null!==r&&s{const e=z({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1});return!1===e}),Y=(0,x.A)(()=>{const{value:t}=w;if(e.validator&&null===t)return!1;const{value:n}=S,r=z({offset:-n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1});return!1!==r}),q=(0,x.A)(()=>{const{value:t}=w;if(e.validator&&null===t)return!1;const{value:n}=S,r=z({offset:+n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1});return!1!==r});function Q(t){const{onFocus:n}=e,{nTriggerFormFocus:r}=s;n&&(0,D.T)(n,t),r()}function G(t){var n,a;if(t.target===(null===(n=f.value)||void 0===n?void 0:n.wrapperElRef))return;const l=z({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(!1!==l){const e=null===(a=f.value)||void 0===a?void 0:a.inputElRef;e&&(e.value=String(l||"")),w.value===l&&B()}else B();const{onBlur:i}=e,{nTriggerFormBlur:o}=s;i&&(0,D.T)(i,t),o(),(0,r.dY)(()=>{B()})}function Z(t){const{onClear:n}=e;n&&(0,D.T)(n,t)}function J(){const{value:t}=q;if(!t)return void ce();const{value:n}=w;if(null===n)e.validator||O(re());else{const{value:e}=S;z({offset:e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function ee(){const{value:t}=Y;if(!t)return void ue();const{value:n}=w;if(null===n)e.validator||O(re());else{const{value:e}=S;z({offset:-e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const te=Q,ne=G;function re(){if(e.validator)return null;const{value:t}=E,{value:n}=T;return null!==t?Math.max(0,t):null!==n?Math.min(0,n):0}function ae(e){Z(e),O(null)}function le(e){var t,n,r;(null===(t=m.value)||void 0===t?void 0:t.$el.contains(e.target))&&e.preventDefault(),(null===(n=p.value)||void 0===n?void 0:n.$el.contains(e.target))&&e.preventDefault(),null===(r=f.value)||void 0===r||r.activate()}let ie=null,oe=null,se=null;function ue(){se&&(window.clearTimeout(se),se=null),ie&&(window.clearInterval(ie),ie=null)}let de=null;function ce(){de&&(window.clearTimeout(de),de=null),oe&&(window.clearInterval(oe),oe=null)}function fe(){ue(),se=window.setTimeout(()=>{ie=window.setInterval(()=>{ee()},X)},H),(0,g.on)("mouseup",document,ue,{once:!0})}function pe(){ce(),de=window.setTimeout(()=>{oe=window.setInterval(()=>{J()},X)},H),(0,g.on)("mouseup",document,ce,{once:!0})}const me=()=>{oe||J()},he=()=>{ie||ee()};function ve(t){var n,r;if("Enter"===t.key){if(t.target===(null===(n=f.value)||void 0===n?void 0:n.wrapperElRef))return;const e=z({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});!1!==e&&(null===(r=f.value)||void 0===r||r.deactivate())}else if("ArrowUp"===t.key){if(!q.value)return;if(!1===e.keyboard.ArrowUp)return;t.preventDefault();const n=z({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});!1!==n&&J()}else if("ArrowDown"===t.key){if(!Y.value)return;if(!1===e.keyboard.ArrowDown)return;t.preventDefault();const n=z({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});!1!==n&&ee()}}function ge(t){k.value=t,!e.updateValueOnInput||e.format||e.parse||void 0!==e.precision||z({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}(0,r.wB)(w,()=>{B()});const be={focus:()=>{var e;return null===(e=f.value)||void 0===e?void 0:e.focus()},blur:()=>{var e;return null===(e=f.value)||void 0===e?void 0:e.blur()},select:()=>{var e;return null===(e=f.value)||void 0===e?void 0:e.select()}},ye=(0,R.I)("InputNumber",l,n);return Object.assign(Object.assign({},be),{rtlEnabled:ye,inputInstRef:f,minusButtonInstRef:p,addButtonInstRef:m,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:h,mergedValue:w,mergedPlaceholder:F,displayedValueInvalid:L,mergedSize:u,mergedDisabled:d,displayedValue:k,addable:q,minusable:Y,mergedStatus:c,handleFocus:te,handleBlur:ne,handleClear:ae,handleMouseDown:le,handleAddClick:me,handleMinusClick:he,handleAddMousedown:pe,handleMinusMousedown:fe,handleKeyDown:ve,handleUpdateDisplayedValue:ge,mergedTheme:i,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:(0,r.EW)(()=>{const{self:{iconColorDisabled:e}}=i.value,[t,n,r,a]=(0,b.B3)(e);return{textColorTextDisabled:`rgb(${t}, ${n}, ${r})`,opacityDisabled:`${a}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>(0,r.h)(F.b2,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>(0,I.Nj)(t["minus-icon"],()=>[(0,r.h)(w.A,{clsPrefix:e},{default:()=>(0,r.h)(k,null)})])}),a=()=>(0,r.h)(F.b2,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>(0,I.Nj)(t["add-icon"],()=>[(0,r.h)(w.A,{clsPrefix:e},{default:()=>(0,r.h)(A.A,null)})])});return(0,r.h)("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},(0,r.h)(S.A,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,round:this.round,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var a;return this.showButton&&"both"===this.buttonPlacement?[n(),(0,I.iQ)(t.prefix,t=>t?(0,r.h)("span",{class:`${e}-input-number-prefix`},t):null)]:null===(a=t.prefix)||void 0===a?void 0:a.call(t)},suffix:()=>{var l;return this.showButton?[(0,I.iQ)(t.suffix,t=>t?(0,r.h)("span",{class:`${e}-input-number-suffix`},t):null),"right"===this.buttonPlacement?n():null,a()]:null===(l=t.suffix)||void 0===l?void 0:l.call(t)}}))}}),Q=n(19605),G=n(92720),Z=n(68042),J=(n(44114),n(25216)),ee=n(77727),te=n(14764),ne=n(92548),re=(0,L.cB)("collapse","width: 100%;",[(0,L.cB)("collapse-item","\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n transition:\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n margin: var(--n-item-margin);\n ",[(0,L.cM)("disabled",[(0,L.cE)("header","cursor: not-allowed;",[(0,L.cE)("header-main","\n color: var(--n-title-text-color-disabled);\n "),(0,L.cB)("collapse-item-arrow","\n color: var(--n-arrow-color-disabled);\n ")])]),(0,L.cB)("collapse-item","margin-left: 32px;"),(0,L.c)("&:first-child","margin-top: 0;"),(0,L.c)("&:first-child >",[(0,L.cE)("header","padding-top: 0;")]),(0,L.cM)("left-arrow-placement",[(0,L.cE)("header",[(0,L.cB)("collapse-item-arrow","margin-right: 4px;")])]),(0,L.cM)("right-arrow-placement",[(0,L.cE)("header",[(0,L.cB)("collapse-item-arrow","margin-left: 4px;")])]),(0,L.cE)("content-wrapper",[(0,L.cE)("content-inner","padding-top: 16px;"),(0,ne._)({duration:"0.15s"})]),(0,L.cM)("active",[(0,L.cE)("header",[(0,L.cM)("active",[(0,L.cB)("collapse-item-arrow","transform: rotate(90deg);")])])]),(0,L.c)("&:not(:first-child)","border-top: 1px solid var(--n-divider-color);"),(0,L.C5)("disabled",[(0,L.cM)("trigger-area-main",[(0,L.cE)("header",[(0,L.cE)("header-main","cursor: pointer;"),(0,L.cB)("collapse-item-arrow","cursor: default;")])]),(0,L.cM)("trigger-area-arrow",[(0,L.cE)("header",[(0,L.cB)("collapse-item-arrow","cursor: pointer;")])]),(0,L.cM)("trigger-area-extra",[(0,L.cE)("header",[(0,L.cE)("header-extra","cursor: pointer;")])])]),(0,L.cE)("header","\n font-size: var(--n-title-font-size);\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n transition: color .3s var(--n-bezier);\n position: relative;\n padding: var(--n-title-padding);\n color: var(--n-title-text-color);\n ",[(0,L.cE)("header-main","\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n font-weight: var(--n-title-font-weight);\n transition: color .3s var(--n-bezier);\n flex: 1;\n color: var(--n-title-text-color);\n "),(0,L.cE)("header-extra","\n display: flex;\n align-items: center;\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),(0,L.cB)("collapse-item-arrow","\n display: flex;\n transition:\n transform .15s var(--n-bezier),\n color .3s var(--n-bezier);\n font-size: 18px;\n color: var(--n-arrow-color);\n ")])])]);const ae=Object.assign(Object.assign({},$.A.props),{defaultExpandedNames:{type:[Array,String],default:null},expandedNames:[Array,String],arrowPlacement:{type:String,default:"left"},accordion:{type:Boolean,default:!1},displayDirective:{type:String,default:"if"},triggerAreas:{type:Array,default:()=>["main","extra","arrow"]},onItemHeaderClick:[Function,Array],"onUpdate:expandedNames":[Function,Array],onUpdateExpandedNames:[Function,Array],onExpandedNamesChange:{type:[Function,Array],validator:()=>!0,default:void 0}}),le=(0,ee.D)("n-collapse");var ie=(0,r.pM)({name:"Collapse",props:ae,slots:Object,setup(e,{slots:t}){const{mergedClsPrefixRef:n,inlineThemeDisabled:l,mergedRtlRef:i}=(0,_.Ay)(e),o=(0,a.KR)(e.defaultExpandedNames),s=(0,r.EW)(()=>e.expandedNames),u=(0,y.A)(s,o),d=(0,$.A)("Collapse","-collapse",re,te.A,e,n);function c(t){const{"onUpdate:expandedNames":n,onUpdateExpandedNames:r,onExpandedNamesChange:a}=e;r&&(0,D.T)(r,t),n&&(0,D.T)(n,t),a&&(0,D.T)(a,t),o.value=t}function f(t){const{onItemHeaderClick:n}=e;n&&(0,D.T)(n,t)}function p(t,n,r){const{accordion:a}=e,{value:l}=u;if(a)t?(c([n]),f({name:n,expanded:!0,event:r})):(c([]),f({name:n,expanded:!1,event:r}));else if(Array.isArray(l)){const e=l.slice(),t=e.findIndex(e=>n===e);~t?(e.splice(t,1),c(e),f({name:n,expanded:!1,event:r})):(e.push(n),c(e),f({name:n,expanded:!0,event:r}))}else c([n]),f({name:n,expanded:!0,event:r})}(0,r.Gt)(le,{props:e,mergedClsPrefixRef:n,expandedNamesRef:u,slots:t,toggleItem:p});const m=(0,R.I)("Collapse",i,n),h=(0,r.EW)(()=>{const{common:{cubicBezierEaseInOut:e},self:{titleFontWeight:t,dividerColor:n,titlePadding:r,titleTextColor:a,titleTextColorDisabled:l,textColor:i,arrowColor:o,fontSize:s,titleFontSize:u,arrowColorDisabled:c,itemMargin:f}}=d.value;return{"--n-font-size":s,"--n-bezier":e,"--n-text-color":i,"--n-divider-color":n,"--n-title-padding":r,"--n-title-font-size":u,"--n-title-text-color":a,"--n-title-text-color-disabled":l,"--n-title-font-weight":t,"--n-arrow-color":o,"--n-arrow-color-disabled":c,"--n-item-margin":f}}),v=l?(0,J.R)("collapse",void 0,h,e):void 0;return{rtlEnabled:m,mergedTheme:d,mergedClsPrefix:n,cssVars:l?void 0:h,themeClass:null===v||void 0===v?void 0:v.themeClass,onRender:null===v||void 0===v?void 0:v.onRender}},render(){var e;return null===(e=this.onRender)||void 0===e||e.call(this),(0,r.h)("div",{class:[`${this.mergedClsPrefix}-collapse`,this.rtlEnabled&&`${this.mergedClsPrefix}-collapse--rtl`,this.themeClass],style:this.cssVars},this.$slots)}}),oe=n(65049),se=n(11336),ue=(0,r.pM)({name:"ChevronLeft",render(){return(0,r.h)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M10.3536 3.14645C10.5488 3.34171 10.5488 3.65829 10.3536 3.85355L6.20711 8L10.3536 12.1464C10.5488 12.3417 10.5488 12.6583 10.3536 12.8536C10.1583 13.0488 9.84171 13.0488 9.64645 12.8536L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645L9.64645 3.14645C9.84171 2.95118 10.1583 2.95118 10.3536 3.14645Z",fill:"currentColor"}))}}),de=n(86074),ce=n(35268),fe=n(74978),pe=n(55405),me=(0,r.pM)({name:"CollapseItemContent",props:{displayDirective:{type:String,required:!0},show:Boolean,clsPrefix:{type:String,required:!0}},setup(e){const t=(0,fe.A)((0,a.lW)(e,"show"));return{onceTrue:t}},render(){return(0,r.h)(pe.A,null,{default:()=>{const{show:e,displayDirective:t,onceTrue:n,clsPrefix:a}=this,i="show"===t&&n,o=(0,r.h)("div",{class:`${a}-collapse-item__content-wrapper`},(0,r.h)("div",{class:`${a}-collapse-item__content-inner`},this.$slots));return i?(0,r.bo)(o,[[l.aG,e]]):e?o:null}})}});const he={title:String,name:[String,Number],disabled:Boolean,displayDirective:String};var ve=(0,r.pM)({name:"CollapseItem",props:he,setup(e){const{mergedRtlRef:t}=(0,_.Ay)(e),n=(0,oe.sX)(),l=(0,x.A)(()=>{var t;return null!==(t=e.name)&&void 0!==t?t:n}),i=(0,r.WQ)(le);i||(0,ce.$8)("collapse-item","`n-collapse-item` must be placed inside `n-collapse`.");const{expandedNamesRef:o,props:s,mergedClsPrefixRef:u,slots:d}=i,c=(0,r.EW)(()=>{const{value:e}=o;if(Array.isArray(e)){const{value:t}=l;return!~e.findIndex(e=>e===t)}if(e){const{value:t}=l;return t!==e}return!0}),f=(0,R.I)("Collapse",t,u);return{rtlEnabled:f,collapseSlots:d,randomName:n,mergedClsPrefix:u,collapsed:c,triggerAreas:(0,a.lW)(s,"triggerAreas"),mergedDisplayDirective:(0,r.EW)(()=>{const{displayDirective:t}=e;return t||s.displayDirective}),arrowPlacement:(0,r.EW)(()=>s.arrowPlacement),handleClick(t){let n="main";(0,se.d)(t,"arrow")&&(n="arrow"),(0,se.d)(t,"extra")&&(n="extra"),s.triggerAreas.includes(n)&&i&&!e.disabled&&i.toggleItem(c.value,l.value,t)}}},render(){const{collapseSlots:e,$slots:t,arrowPlacement:n,collapsed:a,mergedDisplayDirective:l,mergedClsPrefix:i,disabled:o,triggerAreas:s}=this,u=(0,I.Vu)(t.header,{collapsed:a},()=>[this.title]),d=t["header-extra"]||e["header-extra"],c=t.arrow||e.arrow;return(0,r.h)("div",{class:[`${i}-collapse-item`,`${i}-collapse-item--${n}-arrow-placement`,o&&`${i}-collapse-item--disabled`,!a&&`${i}-collapse-item--active`,s.map(e=>`${i}-collapse-item--trigger-area-${e}`)]},(0,r.h)("div",{class:[`${i}-collapse-item__header`,!a&&`${i}-collapse-item__header--active`]},(0,r.h)("div",{class:`${i}-collapse-item__header-main`,onClick:this.handleClick},"right"===n&&u,(0,r.h)("div",{class:`${i}-collapse-item-arrow`,key:this.rtlEnabled?0:1,"data-arrow":!0},(0,I.Vu)(c,{collapsed:a},()=>[(0,r.h)(w.A,{clsPrefix:i},{default:()=>this.rtlEnabled?(0,r.h)(ue,null):(0,r.h)(de.A,null)})])),"left"===n&&u),(0,I.aD)(d,{collapsed:a},e=>(0,r.h)("div",{class:`${i}-collapse-item__header-extra`,onClick:this.handleClick,"data-extra":!0},e))),(0,r.h)(me,{clsPrefix:i,displayDirective:l,show:!a},t))}}),ge=n(22695),be=n(82089),ye=n(45525); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -const xe=(0,ye.A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var we=n(91733); -/** - * @license lucide-vue-next v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -const ke=(0,ye.A)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);var Ae=n(7023),$e=n(1576),_e=n.n($e),Ce=n(74911),Me=n(35720),Re=n(98728),De=n(15227);const Ie={class:"passage-view max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},Fe={class:"flex flex-col gap-4 mb-8"},Se={class:"flex items-center gap-2"},Ee={key:0},Te={key:0,class:"bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg flex items-start gap-3 mt-2"},Be={key:1,class:"bg-yellow-50 dark:bg-yellow-900/20 p-4 rounded-lg flex items-start gap-3 mt-2"},Oe={class:"max-w-2xl mx-auto"},ze={key:1,class:"text-gray-400 text-sm"},Pe={class:"max-w-4xl mx-auto space-y-6"},Le={key:0,class:"flex justify-center py-12"},Ne={key:1,class:"flex flex-col items-center justify-center py-16 text-center"},Ve={key:2,class:"space-y-6"},Ue={class:"flex items-center gap-1"},We=["innerHTML"],je=["innerHTML"],Ke=["innerHTML"],He={class:"mt-6 pt-4 border-t border-gray-100 dark:border-gray-800"},Xe={class:"flex items-center gap-2 mb-3"},Ye={class:"flex flex-wrap gap-2"},qe=["onClick"],Qe={key:0,class:"flex justify-center mt-8"},Ge={key:1,class:"text-center text-gray-400 text-sm mt-8"},Ze='Google Gemini',Je='OpenAI';var et={__name:"PassageView",setup(e){const t=(0,s.J)(),n=(0,Re.rd)(),g=(0,o.Pj)(),b=new Ce.A({html:!0,breaks:!0,linkify:!0}),y=(0,a.KR)("generate"),x=(0,a.KR)(!1),w=(0,a.KR)(!1),k=(0,a.KR)(!1),A=(0,a.KR)(!1),$=(0,a.KR)(!1),_=(0,a.KR)("unlimited"),C=(0,a.KR)(1),M=(0,a.KR)(!0),R=(0,a.KR)([]),D=(0,a.KR)([]),I=(0,a.KR)([]),S=(0,a.KR)([]),E=(0,r.EW)(()=>g.getters.userInfo),T=(0,r.EW)(()=>E.value?.is_vip),B=(0,a.Kh)({mode:0,count:5,dict_ids:[],list_ids:[],word_ids:[],model:"gemini-3-pro"}),O=[{label:"Gemini 3 Pro (推荐)",value:"gemini-3-pro"}],z=e=>_e()(e).format("YYYY年MM月DD日 HH:mm"),P=e=>b.render(e||""),L=e=>{const t=n.resolve({path:"/word",query:{word_id:e}});window.open(t.href,"_blank")},N=async()=>{k.value=!0;try{const e=await Me.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/dict/list");0===e.data.code&&(D.value=e.data.data.map(e=>({label:e.name,value:e.id})))}catch(e){console.error("Fetch dicts error:",e)}finally{k.value=!1}},V=async e=>{if(e){A.value=!0;try{const t=await Me.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/search",{keyword:e,page:1,limit:5}),n=t.data.data||t.data,r=new Set(B.word_ids),a=I.value.filter(e=>r.has(e.value)),l=(n.list||[]).map(e=>({label:e.word+(e.translations&&e.translations[0]?` (${e.translations[0].meaning})`:""),value:e.id})),i=[...a,...l],o=new Map;i.forEach(e=>o.set(e.value,e)),I.value=Array.from(o.values())}catch(t){console.error("Search words error:",t)}finally{A.value=!1}}},U=e=>{B.list_ids=B.list_ids.filter(t=>t!==e),S.value=S.value.filter(t=>t.id!==e)},W=async(e=!1)=>{if(!w.value){w.value=!0;try{const t=await Me.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/ai_passage/list",{params:{page:C.value}}),n=t.data,r=n.list||[],a=n.pagination||{};R.value=e?[...R.value,...r]:r,M.value=C.value<(a.total_pages||0)}catch(n){console.error("Fetch history error:",n),t.error("获取历史记录失败")}finally{w.value=!1}}},j=()=>{M.value&&(C.value++,W(!0))},K=async()=>{if(1===B.mode&&B.dict_ids.length,3!==B.mode||0!==B.list_ids.length)if(4!==B.mode||0!==B.word_ids.length){x.value=!0;try{const e={mode:B.mode,model:B.model,count:B.count};1===B.mode&&(e.dict_ids=B.dict_ids),3===B.mode&&(e.dict_ids=B.list_ids),4===B.mode&&(e.word_ids=B.word_ids);const n=await Me.A.post("https://newfront.xn--xhq44jb2fzpc.com/word_helper/ai_passage/generate",e);void 0!==n.data.remaining_usage&&(_.value=n.data.remaining_usage),t.success(`生成成功!剩余试用次数:${n.data.remaining_usage}`),y.value="history",C.value=1,W()}catch(e){console.error("Generate error:",e),e.response?.data?.message?t.error(e.response.data.message):t.error("生成失败,请稍后重试")}finally{x.value=!1}}else t.warning("请至少选择一个单词");else t.warning("请至少选择一个词单")};return(0,r.wB)(()=>B.mode,e=>{1===e&&0===D.value.length&&N()}),(0,r.wB)(y,e=>{"history"===e&&0===R.value.length&&W()}),(0,r.sV)(()=>{document.title="AI 助记短文 - Word Helper"}),(e,t)=>{const n=(0,r.gN)("motion-fade"),o=(0,r.gN)("motion-slide-visible-once-left");return(0,r.uX)(),(0,r.CE)("div",Ie,[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Fe,[(0,r.Lk)("div",Se,[(0,r.bF)((0,a.R1)(u._),{size:"32",class:"text-primary"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(ge.A))]),_:1}),t[10]||(t[10]=(0,r.Lk)("h1",{class:"text-3xl font-bold text-gray-900 dark:text-white"},"AI 助记短文",-1))]),t[13]||(t[13]=(0,r.Lk)("p",{class:"text-gray-500 dark:text-gray-400"}," 利用 AI 生成包含目标单词的趣味短文,帮助您在语境中记忆单词。 ",-1)),E.value?(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Ee,[T.value?((0,r.uX)(),(0,r.CE)("div",Te,[(0,r.bF)((0,a.R1)(be.A),{class:"w-5 h-5 text-blue-500 mt-0.5 flex-shrink-0"}),t[11]||(t[11]=(0,r.Lk)("p",{class:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed"}," 您是VIP用户,可无限量畅享AI助记短文功能。 ",-1))])):((0,r.uX)(),(0,r.CE)("div",Be,[(0,r.bF)((0,a.R1)(xe),{class:"w-5 h-5 text-yellow-500 mt-0.5 flex-shrink-0"}),t[12]||(t[12]=(0,r.Lk)("p",{class:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed"},[(0,r.eW)(" 非VIP用户可试用3次AI助记短文功能,"),(0,r.Lk)("a",{href:"https://www.xn--xhq44jb2fzpc.com/subscribe",target:"_blank",class:"text-yellow-600 dark:text-yellow-400 font-bold hover:underline"},"赞助"),(0,r.eW)("可获得会员权限。 ")],-1))]))])),[[n]]):(0,r.Q3)("",!0)])),[[o]]),(0,r.bF)((0,a.R1)(d.A),{type:"segment",animated:"",value:y.value,"onUpdate:value":t[6]||(t[6]=e=>y.value=e),class:"mb-8"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(c.A),{name:"generate",tab:"生成短文"},{default:(0,r.k6)(()=>[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Oe,[(0,r.bF)((0,a.R1)(f.Ay),{title:"生成配置",class:"rounded-xl shadow-sm"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(p.A),{ref:"formRef",model:B,"label-placement":"top"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(m.Ay),{label:"单词来源"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(h.A),{value:B.mode,"onUpdate:value":t[0]||(t[0]=e=>B.mode=e),name:"mode",class:"grid grid-cols-2 gap-2 w-full"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(v.A),{value:0,label:"最近学习"}),(0,r.bF)((0,a.R1)(v.A),{value:1,label:"词书"}),(0,r.bF)((0,a.R1)(v.A),{value:2,label:"生词本"}),(0,r.bF)((0,a.R1)(v.A),{value:3,label:"词单"}),(0,r.bF)((0,a.R1)(v.A),{value:4,label:"自定义"})]),_:1},8,["value"])]),_:1}),4!==B.mode?((0,r.uX)(),(0,r.Wv)((0,a.R1)(m.Ay),{key:0,label:"单词数量"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(q),{value:B.count,"onUpdate:value":t[1]||(t[1]=e=>B.count=e),min:1,max:20,class:"w-full"},null,8,["value"])]),_:1})):(0,r.Q3)("",!0),1===B.mode?((0,r.uX)(),(0,r.Wv)((0,a.R1)(m.Ay),{key:1,label:"选择词书"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Q.A),{value:B.dict_ids,"onUpdate:value":t[2]||(t[2]=e=>B.dict_ids=e),multiple:"",filterable:"",placeholder:"请选择词书(不选代表全部)",options:D.value,loading:k.value,clearable:""},null,8,["value","options","loading"])]),_:1})):(0,r.Q3)("",!0),3===B.mode?((0,r.uX)(),(0,r.Wv)((0,a.R1)(m.Ay),{key:2,label:"选择词单"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",{class:"w-full border border-gray-300 dark:border-gray-700 rounded p-2 cursor-pointer hover:border-primary transition-colors min-h-[34px] flex flex-wrap gap-2",onClick:t[3]||(t[3]=e=>$.value=!0)},[S.value.length>0?((0,r.uX)(!0),(0,r.CE)(r.FK,{key:0},(0,r.pI)(S.value,e=>((0,r.uX)(),(0,r.Wv)((0,a.R1)(G.Ay),{key:e.id,closable:"",onClose:(0,l.D$)(t=>U(e.id),["stop"]),size:"small"},{default:(0,r.k6)(()=>[(0,r.eW)((0,i.v_)(e.name),1)]),_:2},1032,["onClose"]))),128)):((0,r.uX)(),(0,r.CE)("span",ze,"点击选择词单..."))])]),_:1})):(0,r.Q3)("",!0),4===B.mode?((0,r.uX)(),(0,r.Wv)((0,a.R1)(m.Ay),{key:3,label:"选择单词 (最多20个)"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Q.A),{value:B.word_ids,"onUpdate:value":t[4]||(t[4]=e=>B.word_ids=e),multiple:"",filterable:"",remote:"",placeholder:"输入单词搜索...",options:I.value,loading:A.value,onSearch:V,"max-tag-count":5,clearable:""},null,8,["value","options","loading"])]),_:1})):(0,r.Q3)("",!0),(0,r.bF)((0,a.R1)(m.Ay),{label:"AI 模型"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Q.A),{value:B.model,"onUpdate:value":t[5]||(t[5]=e=>B.model=e),options:O},null,8,["value"])]),_:1}),(0,r.bF)((0,a.R1)(F.Ay),{type:"primary",block:"",size:"large",loading:x.value,onClick:K},{default:(0,r.k6)(()=>[...t[14]||(t[14]=[(0,r.eW)(" 生成短文 ",-1)])]),_:1},8,["loading"])]),_:1},8,["model"])]),_:1})])),[[n]])]),_:1}),(0,r.bF)((0,a.R1)(c.A),{name:"history",tab:"历史记录"},{default:(0,r.k6)(()=>[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Pe,[w.value&&1===C.value?((0,r.uX)(),(0,r.CE)("div",Le,[(0,r.bF)((0,a.R1)(Z.A),{size:"large"})])):0===R.value.length?((0,r.uX)(),(0,r.CE)("div",Ne,[(0,r.bF)((0,a.R1)(u._),{size:"64",class:"text-gray-300 dark:text-gray-600 mb-4"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(we.A))]),_:1}),t[15]||(t[15]=(0,r.Lk)("p",{class:"text-gray-500 dark:text-gray-400"},"暂无生成记录,快去生成第一篇吧!",-1))])):((0,r.uX)(),(0,r.CE)("div",Ve,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(R.value,e=>((0,r.uX)(),(0,r.Wv)((0,a.R1)(f.Ay),{key:e.id,class:"rounded-xl shadow-sm hover:shadow-md transition-shadow",title:z(e.created_at),size:"medium"},{"header-extra":(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(G.Ay),{size:"small",type:"gpt-5"===e.model?"success":"info",bordered:!1},{default:(0,r.k6)(()=>[(0,r.Lk)("div",Ue,[(0,r.Lk)("span",{class:"w-4 h-4 flex items-center justify-center",innerHTML:"gpt-5"===e.model?Je:Ze},null,8,We),(0,r.Lk)("span",null,(0,i.v_)("gpt-5"===e.model?"GPT-5":"Gemini 3 Pro"),1)])]),_:2},1032,["type"])]),default:(0,r.k6)(()=>[(0,r.Lk)("div",{class:"prose dark:prose-invert max-w-none mb-6 text-base leading-relaxed",innerHTML:P(e.content)},null,8,je),(0,r.bF)((0,a.R1)(ie),null,{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(ve),{title:"查看中文翻译",name:"1"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",{class:"prose dark:prose-invert max-w-none text-gray-600 dark:text-gray-300 p-4 bg-gray-50 dark:bg-gray-800/50 rounded-lg",innerHTML:P(e.translation)},null,8,Ke)]),_:2},1024)]),_:2},1024),(0,r.Lk)("div",He,[(0,r.Lk)("div",Xe,[(0,r.bF)((0,a.R1)(u._),{size:"16",class:"text-gray-400"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(ke))]),_:1}),t[16]||(t[16]=(0,r.Lk)("span",{class:"text-xs text-gray-500 font-medium"},"关联单词",-1))]),(0,r.Lk)("div",Ye,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.words,e=>((0,r.uX)(),(0,r.CE)("div",{key:e.id,class:"group cursor-pointer px-3 py-1.5 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg text-sm hover:border-primary hover:text-primary transition-all flex items-center gap-1 shadow-sm",onClick:t=>L(e.id)},[(0,r.Lk)("span",null,(0,i.v_)(e.word),1),(0,r.bF)((0,a.R1)(u._),{size:"12",class:"opacity-0 group-hover:opacity-100 transition-opacity"},{default:(0,r.k6)(()=>[(0,r.bF)((0,a.R1)(Ae.A))]),_:1})],8,qe))),128))])])]),_:2},1032,["title"]))),128)),M.value?((0,r.uX)(),(0,r.CE)("div",Qe,[(0,r.bF)((0,a.R1)(F.Ay),{loading:w.value,onClick:j,secondary:""},{default:(0,r.k6)(()=>[...t[17]||(t[17]=[(0,r.eW)(" 加载更多历史记录 ",-1)])]),_:1},8,["loading"])])):R.value.length>0?((0,r.uX)(),(0,r.CE)("div",Ge," 没有更多记录了 ")):(0,r.Q3)("",!0)]))])),[[n]])]),_:1})]),_:1},8,["value"]),(0,r.bF)(De.A,{show:$.value,"onUpdate:show":t[7]||(t[7]=e=>$.value=e),modelValue:B.list_ids,"onUpdate:modelValue":t[8]||(t[8]=e=>B.list_ids=e),selectedList:S.value,"onUpdate:selectedList":t[9]||(t[9]=e=>S.value=e),"max-count":10},null,8,["show","modelValue","selectedList"])])}}},tt=n(71241);const nt=(0,tt.A)(et,[["__scopeId","data-v-27b499a4"]]);var rt=nt}}]); -//# sourceMappingURL=986.ef9ba720.js.map \ No newline at end of file diff --git a/dist/js/app.278b6016.js b/dist/js/app.e693087c.js similarity index 72% rename from dist/js/app.278b6016.js rename to dist/js/app.e693087c.js index e19318b..d14213b 100644 --- a/dist/js/app.278b6016.js +++ b/dist/js/app.e693087c.js @@ -1,2 +1,2 @@ -(function(){"use strict";var e={35720:function(e,t,a){var n=a(94373),r=a(55129);const o=n.A.create({timeout:5e3});o.interceptors.request.use(e=>{const t=r.A.getters.token;return t&&(e.headers["Authorization"]=t),e.url&&e.url.includes("/ai_passage/generate")&&(e.timeout=24e4),e},e=>(console.log(e),Promise.reject(e))),t.A=o},55129:function(e,t,a){var n=a(60782),r=a(35720);t.A=(0,n.y$)({state:{token:"",userInfo:null},getters:{token:e=>e.token,userInfo:e=>e.userInfo},mutations:{setToken(e,t){e.token=t},setUserInfo(e,t){e.userInfo=t}},actions:{fetchUserInfo({commit:e}){return new Promise((t,a)=>{r.A.get("https://newfront.xn--xhq44jb2fzpc.com/user/info").then(n=>{const r=n.data;r?(e("setUserInfo",r),t(r)):a(new Error("No user info"))}).catch(e=>{a(e)})})}},modules:{}})},78174:function(e,t,a){var n=a(45130),r=a(56768),o=a(90144),l=a(73725),s=a(22646),i=a(28686),d=a(78597),c=a(3575),u={__name:"App",setup(e){const t=(0,o.KR)(null),a=(0,o.KR)(!1),n={Menu:{borderRadius:"50px",itemHeight:"42px",itemMargin:"4px 8px"}},u=e=>{a.value=e,t.value=e?l.a:null,e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),localStorage.setItem("theme",e?"dark":"light")},m=()=>{u(!a.value)};return(0,r.sV)(()=>{const e=localStorage.getItem("theme");if(e)u("dark"===e);else{const e=window.matchMedia("(prefers-color-scheme: dark)").matches;u(e)}}),(0,r.Gt)("themeContext",{isDark:a,toggleTheme:m}),(e,a)=>{const l=(0,r.g2)("router-view");return(0,r.uX)(),(0,r.Wv)((0,o.R1)(s.A),{theme:t.value,"theme-overrides":n},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(i.A)),(0,r.bF)((0,o.R1)(d.A),null,{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(c.K),null,{default:(0,r.k6)(()=>[(0,r.bF)(l)]),_:1})]),_:1})]),_:1},8,["theme"])}}};const m=u;var f=m,p=a(98728),b=(a(44114),a(24232)),g=a(60782),h=a(59856),v=a(33889),y=a(13230),k=a(99310),x=a(58421),w=a(86727),_=a(30284),A=a(36921),L=a(28451),R=a(58096),E=a(56714),C=a(93812),F=a(35161),j=a(18169),z=a(95802),I=a(57273),P=a(26961),W=a(29554),q=a(41829),S=a(22695),X=a(82089),O=a(94578),T=a(51415),N=a(55704);const K={class:"h-16 flex items-center justify-center border-b border-gray-200 dark:border-gray-800"},V={key:0,class:"flex items-center gap-3 px-4 truncate"},U={key:1,class:"flex justify-center w-full"},B={class:"flex items-center gap-4"},H={class:"flex items-center gap-4"},M={class:"flex items-center gap-3 pl-4 border-l border-gray-200 dark:border-gray-700"},D={class:"text-right hidden sm:block"},G={class:"text-sm font-medium text-gray-900 dark:text-gray-100"},Q={key:0,class:"inline-flex items-center gap-1 px-2 py-0.5 mt-0.5 rounded-full text-xs font-medium bg-amber-50 text-amber-600 border border-amber-200 dark:bg-amber-900/20 dark:text-amber-400 dark:border-amber-800/50"},Y={key:1,class:"inline-flex items-center px-2 py-0.5 mt-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-500 border border-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-700"},$={class:"p-4 min-w-[200px] bg-white dark:bg-gray-900 rounded-lg"},J={class:"flex flex-col items-center"},Z={class:"text-base font-medium text-gray-900 dark:text-gray-100 mb-2"},ee={key:0,class:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-medium bg-amber-50 text-amber-600 border border-amber-200 dark:bg-amber-900/20 dark:text-amber-400 dark:border-amber-800/50"},te={key:1,class:"inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-500 border border-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-700"};var ae={__name:"MainLayout",setup(e){const t=(0,g.Pj)(),a=(0,p.rd)(),l=(0,p.lq)(),{isDark:s,toggleTheme:i}=(0,r.WQ)("themeContext"),d=(0,o.KR)(!1),c=(0,o.KR)(!1),u=(0,o.KR)(!1),m=()=>{u.value=window.innerWidth<768};(0,r.sV)(()=>{m(),window.addEventListener("resize",m)}),(0,r.hi)(()=>{window.removeEventListener("resize",m)});const f=(0,r.EW)(()=>t.getters.userInfo);function ae(e){return()=>(0,r.h)(h._,null,{default:()=>(0,r.h)(e)})}const ne=[{label:"我的数据",key:"home",icon:ae(E.A)},{label:"词书",key:"dict",icon:ae(C.A)},{label:"生词本",key:"favorite",icon:ae(F.A)},{label:"单词搜索",key:"search",icon:ae(j.A)},{label:"我的笔记",key:"note",icon:ae(z.A)},{label:"我的词单",key:"lists",icon:ae(I.A)},{label:"学习记录",key:"learn",icon:ae(P.A)},{label:"智能抽查",key:"check",icon:ae(W.A)},{label:"猜单词",key:"guess",icon:ae(q.A)},{label:"AI 助记短文",key:"passage",icon:ae(S.A)},{label:"关于",key:"about",icon:ae(X.A)}],re=(0,r.EW)(()=>l.name),oe=e=>{a.push({name:e}),c.value=!1};return(e,t)=>{const a=(0,r.g2)("router-view");return(0,r.uX)(),(0,r.Wv)((0,o.R1)(v.Ay),{class:"h-screen","has-sider":""},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(y.A),{show:c.value,"onUpdate:show":t[0]||(t[0]=e=>c.value=e),placement:"left",width:240,class:"md:hidden"},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(k.A),{"body-content-style":"padding: 0;"},{header:(0,r.k6)(()=>[...t[5]||(t[5]=[(0,r.Lk)("div",{class:"flex items-center gap-2"},[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/wh_logo.png",class:"w-8 h-8",alt:"Logo"}),(0,r.Lk)("span",{class:"text-lg font-bold text-gray-900 dark:text-white"},"Word Helper")],-1)])]),default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(x.A),{options:ne,value:re.value,"onUpdate:value":oe,class:"custom-menu"},null,8,["value"])]),_:1})]),_:1},8,["show"]),u.value?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.Wv)((0,o.R1)(w.A),{key:0,bordered:"","collapse-mode":"width","collapsed-width":64,width:240,collapsed:d.value,"show-trigger":"",onCollapse:t[1]||(t[1]=e=>d.value=!0),onExpand:t[2]||(t[2]=e=>d.value=!1),class:"hidden md:block bg-white dark:bg-gray-900 h-screen shadow-sm z-10"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",K,[d.value?((0,r.uX)(),(0,r.CE)("div",U,[...t[7]||(t[7]=[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/wh_logo.png",class:"w-8 h-8",alt:"Logo"},null,-1)])])):((0,r.uX)(),(0,r.CE)("div",V,[...t[6]||(t[6]=[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/wh_logo.png",class:"w-8 h-8",alt:"Logo"},null,-1),(0,r.Lk)("h1",{class:"text-xl font-bold text-primary"},"Word Helper",-1)])]))]),(0,r.bF)((0,o.R1)(x.A),{class:"mt-2",collapsed:d.value,"collapsed-width":64,"collapsed-icon-size":22,options:ne,value:re.value,"onUpdate:value":oe},null,8,["collapsed","value"])]),_:1},8,["collapsed"])),(0,r.bF)((0,o.R1)(v.Ay),{class:"h-screen bg-gray-50 dark:bg-gray-950","native-scrollbar":!1},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(_.A),{bordered:"",class:"h-16 px-4 flex items-center justify-between bg-white dark:bg-gray-900 border-b border-gray-200 dark:border-gray-800 shadow-sm z-10 sticky top-0"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",B,[(0,r.Lk)("button",{onClick:t[3]||(t[3]=e=>c.value=!0),class:"md:hidden p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"},[(0,r.bF)((0,o.R1)(O.A),{class:"w-6 h-6 text-gray-600 dark:text-gray-300"})]),t[8]||(t[8]=(0,r.Lk)("div",{class:"flex items-center gap-2 md:hidden"},[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/wh_logo.png",class:"w-8 h-8",alt:"Logo"}),(0,r.Lk)("span",{class:"text-lg font-bold text-gray-800 dark:text-white"},"Word Helper")],-1))]),(0,r.Lk)("div",H,[(0,r.Lk)("button",{onClick:t[4]||(t[4]=(...e)=>(0,o.R1)(i)&&(0,o.R1)(i)(...e)),class:"p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"},[(0,o.R1)(s)?((0,r.uX)(),(0,r.Wv)((0,o.R1)(T.A),{key:0,class:"w-5 h-5 text-yellow-500"})):((0,r.uX)(),(0,r.Wv)((0,o.R1)(N.A),{key:1,class:"w-5 h-5 text-gray-600"}))]),(0,r.Lk)("div",M,[(0,r.Lk)("div",D,[(0,r.Lk)("div",G,(0,b.v_)(f.value?.nickname||"Guest"),1),f.value?.is_vip?((0,r.uX)(),(0,r.CE)("div",Q,[...t[9]||(t[9]=[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/vip_g3.svg",class:"w-3 h-3",alt:"VIP"},null,-1),(0,r.Lk)("span",null,"VIP用户",-1)])])):((0,r.uX)(),(0,r.CE)("div",Y," 普通用户 "))]),u.value?((0,r.uX)(),(0,r.Wv)((0,o.R1)(A.Ay),{key:0,trigger:"click",placement:"bottom-end",style:{padding:"0"}},{trigger:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(L.A),{round:"",size:"medium",src:f.value?.avatar_path,"fallback-src":"https://download.xn--xhq44jb2fzpc.com/avatar/default.png",class:"cursor-pointer"},null,8,["src"])]),default:(0,r.k6)(()=>[(0,r.Lk)("div",$,[(0,r.Lk)("div",J,[(0,r.Lk)("div",Z,(0,b.v_)(f.value?.nickname||"Guest"),1),f.value?.is_vip?((0,r.uX)(),(0,r.CE)("div",ee,[...t[10]||(t[10]=[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/vip_g3.svg",class:"w-3 h-3",alt:"VIP"},null,-1),(0,r.Lk)("span",null,"VIP用户",-1)])])):((0,r.uX)(),(0,r.CE)("div",te," 普通用户 "))])])]),_:1})):((0,r.uX)(),(0,r.Wv)((0,o.R1)(L.A),{key:1,round:"",size:"medium",src:f.value?.avatar_path,"fallback-src":"https://download.xn--xhq44jb2fzpc.com/avatar/default.png"},null,8,["src"]))])])]),_:1}),(0,r.bF)((0,o.R1)(R.A),{class:"p-4 md:p-6 bg-gray-50 dark:bg-gray-950","content-style":"min-height: calc(100vh - 64px)"},{default:(0,r.k6)(()=>[(0,r.bF)(a,null,{default:(0,r.k6)(({Component:e})=>[(0,r.bF)(n.eB,{"enter-active-class":"animate__animated animate__fadeIn animate__faster","leave-active-class":"animate__animated animate__fadeOut animate__faster",mode:"out-in"},{default:(0,r.k6)(()=>[((0,r.uX)(),(0,r.Wv)((0,r.$y)(e)))]),_:2},1024)]),_:1})]),_:1})]),_:1})]),_:1})}}},ne=a(71241);const re=(0,ne.A)(ae,[["__scopeId","data-v-1f30e042"]]);var oe=re,le=(a(18111),a(61701),a(97387)),se=a(91332),ie=a(2231),de=a(49912),ce=a(42517),ue=a(37006),me=a(35720),fe=a(60501),pe=a(2043),be=a(75095),ge=a(32685),he=a(53708),ve=a(89536),ye=a(5143),ke=a(40623),xe=a(92080),we=a(56677);const _e={class:"home-view max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},Ae={initial:{opacity:0,y:20},enter:{opacity:1,y:0},class:"mb-8"},Le={class:"text-3xl font-bold text-gray-900 dark:text-white mb-2"},Re={class:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"},Ee={class:"flex items-center justify-between"},Ce={class:"text-3xl font-bold text-primary mt-1"},Fe={class:"p-3 bg-blue-50 dark:bg-blue-900/20 rounded-lg"},je={class:"flex items-center justify-between"},ze={class:"text-3xl font-bold text-green-600 dark:text-green-400 mt-1"},Ie={class:"p-3 bg-green-50 dark:bg-green-900/20 rounded-lg"},Pe={class:"flex items-center justify-between"},We={class:"text-3xl font-bold text-purple-600 dark:text-purple-400 mt-1"},qe={class:"p-3 bg-purple-50 dark:bg-purple-900/20 rounded-lg"},Se={class:"h-[400px] w-full relative",ref:"chartContainer"};var Xe={__name:"HomeView",setup(e){(0,pe.Y)([be.a,ge.a,he.a,ve.a,ye.a,ke.a,xe.i]);const t=(0,g.Pj)(),a=(0,le.J)(),{isDark:n}=(0,r.WQ)("themeContext"),l=(0,r.EW)(()=>t.getters.userInfo||t.state.userInfo),s=(0,o.KR)(!1),i=(0,o.KR)(null),d=(0,o.KR)({today_count:0,week_count:0,month_count:0,last_7_days:[]}),c=()=>{const e=i.value?.getEChartsInstance?.();e&&e.resize()},u=async()=>{await(0,r.dY)(),requestAnimationFrame(()=>{c(),requestAnimationFrame(c)})},m=(0,r.EW)(()=>{const e=n.value,t=e?"#e5e7eb":"#374151",a=e?"rgba(255, 255, 255, 0.05)":"rgba(0, 0, 0, 0.05)",r=e?"rgba(31, 41, 55, 0.9)":"rgba(255, 255, 255, 0.9)",o=e?"#374151":"#e5e7eb";return{backgroundColor:"transparent",grid:{left:48,right:20,bottom:28,top:40},tooltip:{trigger:"axis",backgroundColor:r,borderColor:o,textStyle:{color:t},axisPointer:{type:"line",lineStyle:{color:"#6366f1",type:"dashed"}}},xAxis:{type:"category",boundaryGap:!1,data:d.value.last_7_days.map(e=>e.date.slice(5)),axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:t,margin:15},splitLine:{show:!0,lineStyle:{color:a}}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:t},splitLine:{show:!0,lineStyle:{color:a,type:"dashed"}}},series:[{name:"学习次数",type:"line",smooth:!0,showSymbol:!1,symbolSize:8,itemStyle:{color:"#6366f1",borderWidth:2,borderColor:"#fff"},lineStyle:{width:3,color:new we.A(0,0,1,0,[{offset:0,color:"#6366f1"},{offset:1,color:"#818cf8"}])},areaStyle:{color:new we.A(0,0,0,1,[{offset:0,color:"rgba(99, 102, 241, 0.2)"},{offset:1,color:"rgba(99, 102, 241, 0)"}])},data:d.value.last_7_days.map(e=>e.count)}]}}),f=async()=>{s.value=!0;try{const e=await me.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/home/stats");e.data&&(d.value=e.data,await u())}catch(e){console.error("Failed to fetch stats:",e),a.error("获取学习数据失败,请稍后重试")}finally{s.value=!1}},p=()=>{u()},v=()=>{u()},y=()=>{u()};return(0,r.sV)(async()=>{window.addEventListener("pageshow",p),window.addEventListener("orientationchange",v),window.visualViewport?.addEventListener("resize",y),await u(),await f(),document.title="我的数据 - Word Helper"}),(0,r.hi)(()=>{window.removeEventListener("pageshow",p),window.removeEventListener("orientationchange",v),window.visualViewport?.removeEventListener("resize",y)}),(0,r.wB)(()=>d.value.last_7_days.length,()=>{u()}),(0,r.wB)(n,()=>{u()}),(e,t)=>{const a=(0,r.gN)("motion");return(0,r.uX)(),(0,r.CE)("div",_e,[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Ae,[(0,r.Lk)("h1",Le," 欢迎回来,"+(0,b.v_)(l.value?.nickname||"学习者")+" 👋 ",1),t[0]||(t[0]=(0,r.Lk)("p",{class:"text-gray-600 dark:text-gray-400"}," 保持学习节奏,今天也要加油哦! ",-1))])),[[a]]),(0,r.Lk)("div",Re,[(0,r.bo)(((0,r.uX)(),(0,r.Wv)((0,o.R1)(ce.Ay),{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:100}},class:"rounded-xl shadow-sm hover:shadow-md transition-shadow dark:bg-gray-800",bordered:!1},{default:(0,r.k6)(()=>[(0,r.Lk)("div",Ee,[(0,r.Lk)("div",null,[t[1]||(t[1]=(0,r.Lk)("p",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"今日学习次数",-1)),(0,r.Lk)("h3",Ce,[(0,r.bF)((0,o.R1)(ue.A),{from:0,to:d.value.today_count},null,8,["to"])])]),(0,r.Lk)("div",Fe,[(0,r.bF)((0,o.R1)(h._),{size:"24",class:"text-blue-600 dark:text-blue-400"},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(se.A))]),_:1})])])]),_:1})),[[a]]),(0,r.bo)(((0,r.uX)(),(0,r.Wv)((0,o.R1)(ce.Ay),{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:200}},class:"rounded-xl shadow-sm hover:shadow-md transition-shadow dark:bg-gray-800",bordered:!1},{default:(0,r.k6)(()=>[(0,r.Lk)("div",je,[(0,r.Lk)("div",null,[t[2]||(t[2]=(0,r.Lk)("p",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"本周学习次数",-1)),(0,r.Lk)("h3",ze,[(0,r.bF)((0,o.R1)(ue.A),{from:0,to:d.value.week_count},null,8,["to"])])]),(0,r.Lk)("div",Ie,[(0,r.bF)((0,o.R1)(h._),{size:"24",class:"text-green-600 dark:text-green-400"},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(ie.A))]),_:1})])])]),_:1})),[[a]]),(0,r.bo)(((0,r.uX)(),(0,r.Wv)((0,o.R1)(ce.Ay),{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:300}},class:"rounded-xl shadow-sm hover:shadow-md transition-shadow dark:bg-gray-800",bordered:!1},{default:(0,r.k6)(()=>[(0,r.Lk)("div",Pe,[(0,r.Lk)("div",null,[t[3]||(t[3]=(0,r.Lk)("p",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"本月学习次数",-1)),(0,r.Lk)("h3",We,[(0,r.bF)((0,o.R1)(ue.A),{from:0,to:d.value.month_count},null,8,["to"])])]),(0,r.Lk)("div",qe,[(0,r.bF)((0,o.R1)(h._),{size:"24",class:"text-purple-600 dark:text-purple-400"},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(de.A))]),_:1})])])]),_:1})),[[a]])]),(0,r.bo)(((0,r.uX)(),(0,r.Wv)((0,o.R1)(ce.Ay),{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:400}},title:"近7天学习趋势",class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1},{"header-extra":(0,r.k6)(()=>[...t[4]||(t[4]=[(0,r.Lk)("div",{class:"flex items-center gap-2"},[(0,r.Lk)("span",{class:"w-3 h-3 rounded-full bg-primary"}),(0,r.Lk)("span",{class:"text-xs text-gray-500"},"本数据实时更新")],-1)])]),default:(0,r.k6)(()=>[(0,r.Lk)("div",Se,[(0,r.bF)((0,o.R1)(fe.Ay),{ref_key:"chartRef",ref:i,class:"chart",option:m.value,autoresize:"",loading:s.value},null,8,["option","loading"])],512)]),_:1})),[[a]])])}}};const Oe=(0,ne.A)(Xe,[["__scopeId","data-v-8ed4da6a"]]);var Te=Oe,Ne=a(78704),Ke=a(55129);const Ve=[{path:"/login-required",name:"login-required",component:()=>a.e(117).then(a.bind(a,95117))},{path:"/",component:oe,children:[{path:"",name:"home",component:Te},{path:"about",name:"about",component:()=>a.e(594).then(a.bind(a,51144))},{path:"/word",name:"word-detail",component:()=>Promise.all([a.e(913),a.e(410),a.e(705),a.e(868)]).then(a.bind(a,73868))},{path:"/dict",name:"dict",component:()=>Promise.all([a.e(205),a.e(387)]).then(a.bind(a,71387))},{path:"/favorite",name:"favorite",component:()=>a.e(431).then(a.bind(a,96431))},{path:"/search",name:"search",component:()=>Promise.all([a.e(913),a.e(67)]).then(a.bind(a,46067))},{path:"/check",name:"check",component:()=>Promise.all([a.e(913),a.e(150),a.e(62),a.e(493),a.e(410),a.e(205),a.e(938)]).then(a.bind(a,67686))},{path:"/guess",name:"guess",component:()=>Promise.all([a.e(913),a.e(150),a.e(62),a.e(493),a.e(765)]).then(a.bind(a,75765))},{path:"/note",name:"note",component:()=>Promise.all([a.e(913),a.e(150),a.e(774)]).then(a.bind(a,58774))},{path:"/learn",name:"learn",component:()=>a.e(416).then(a.bind(a,27416))},{path:"/list_detail",name:"list_detail",component:()=>a.e(859).then(a.bind(a,67859))},{path:"/lists",name:"lists",component:()=>Promise.all([a.e(913),a.e(150),a.e(62),a.e(410),a.e(211)]).then(a.bind(a,92211))},{path:"/passage",name:"passage",component:()=>Promise.all([a.e(913),a.e(150),a.e(62),a.e(493),a.e(705),a.e(986)]).then(a.bind(a,16638))}]}],Ue=(0,p.aE)({history:(0,p.LA)("/"),routes:Ve});Ue.beforeEach(async(e,t,a)=>{if("login-required"===e.name)return void a();const n=Ne.A.get("cb_token");if(n)if(Ke.A.getters.token||Ke.A.commit("setToken",n),Ke.A.getters.userInfo)a();else try{await Ke.A.dispatch("fetchUserInfo"),a()}catch(r){Ne.A.remove("cb_token"),a({name:"login-required"})}else a({name:"login-required"})});var Be=Ue,He=a(12424);(0,n.Ef)(f).use(Ke.A).use(Be).use(He.uy).mount("#app")}},t={};function a(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,a),o.exports}a.m=e,function(){var e=[];a.O=function(t,n,r,o){if(!n){var l=1/0;for(c=0;c=o)&&Object.keys(a.O).every(function(e){return a.O[e](n[i])})?n.splice(i--,1):(s=!1,o0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[n,r,o]}}(),function(){a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,{a:t}),t}}(),function(){a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce(function(t,n){return a.f[n](e,t),t},[]))}}(),function(){a.u=function(e){return"js/"+(594===e?"about":e)+"."+{62:"97b91111",67:"c5181ab8",117:"f0b3f650",150:"49b65dd0",205:"5e1a6eef",211:"543873f5",387:"2c1359c2",410:"5d08c1a8",416:"6197103d",431:"ce56f232",493:"00994683",594:"e8da17fa",705:"83efab9f",765:"d04a9622",774:"80696cdb",859:"bbec9975",868:"a56a31a0",913:"57fbc7fd",938:"78cb062b",986:"ef9ba720"}[e]+".js"}}(),function(){a.miniCssF=function(e){return"css/"+(594===e?"about":e)+"."+{67:"91d1e5b7",211:"d6859932",387:"c1c3debd",416:"94c42108",431:"86dfd5fb",594:"29136f20",765:"3e3d4a68",774:"1b803950",859:"043247f2",868:"3e4eb23a",938:"ea8ed904",986:"bb14e4c4"}[e]+".css"}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="wordhelper:";a.l=function(n,r,o,l){if(e[n])e[n].push(r);else{var s,i;if(void 0!==o)for(var d=document.getElementsByTagName("script"),c=0;c{const t=r.A.getters.token;return t&&(e.headers["Authorization"]=t),e.url&&e.url.includes("/ai_passage/generate")&&(e.timeout=24e4),e},e=>(console.log(e),Promise.reject(e))),t.A=o},55129:function(e,t,a){var n=a(60782),r=a(35720);t.A=(0,n.y$)({state:{token:"",userInfo:null},getters:{token:e=>e.token,userInfo:e=>e.userInfo},mutations:{setToken(e,t){e.token=t},setUserInfo(e,t){e.userInfo=t}},actions:{fetchUserInfo({commit:e}){return new Promise((t,a)=>{r.A.get("https://newfront.xn--xhq44jb2fzpc.com/user/info").then(n=>{const r=n.data;r?(e("setUserInfo",r),t(r)):a(new Error("No user info"))}).catch(e=>{a(e)})})}},modules:{}})},78174:function(e,t,a){var n=a(45130),r=a(56768),o=a(90144),l=a(73725),s=a(22646),i=a(28686),d=a(78597),c=a(3575),u={__name:"App",setup(e){const t=(0,o.KR)(null),a=(0,o.KR)(!1),n={Menu:{borderRadius:"50px",itemHeight:"42px",itemMargin:"4px 8px"}},u=e=>{a.value=e,t.value=e?l.a:null,e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),localStorage.setItem("theme",e?"dark":"light")},m=()=>{u(!a.value)};return(0,r.sV)(()=>{const e=localStorage.getItem("theme");if(e)u("dark"===e);else{const e=window.matchMedia("(prefers-color-scheme: dark)").matches;u(e)}}),(0,r.Gt)("themeContext",{isDark:a,toggleTheme:m}),(e,a)=>{const l=(0,r.g2)("router-view");return(0,r.uX)(),(0,r.Wv)((0,o.R1)(s.A),{theme:t.value,"theme-overrides":n},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(i.A)),(0,r.bF)((0,o.R1)(d.A),null,{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(c.K),null,{default:(0,r.k6)(()=>[(0,r.bF)(l)]),_:1})]),_:1})]),_:1},8,["theme"])}}};const m=u;var f=m,p=a(98728),b=(a(44114),a(24232)),g=a(60782),h=a(59856),v=a(33889),y=a(13230),k=a(99310),x=a(58421),w=a(86727),_=a(30284),A=a(36921),L=a(28451),R=a(58096),E=a(56714),C=a(93812),F=a(35161),j=a(18169),z=a(95802),P=a(57273),I=a(26961),W=a(29554),q=a(41829),S=a(22695),X=a(82089),O=a(94578),T=a(51415),N=a(55704);const K={class:"h-16 flex items-center justify-center border-b border-gray-200 dark:border-gray-800"},V={key:0,class:"flex items-center gap-3 px-4 truncate"},U={key:1,class:"flex justify-center w-full"},B={class:"flex items-center gap-4"},H={class:"flex items-center gap-4"},M={class:"flex items-center gap-3 pl-4 border-l border-gray-200 dark:border-gray-700"},D={class:"text-right hidden sm:block"},G={class:"text-sm font-medium text-gray-900 dark:text-gray-100"},Q={key:0,class:"inline-flex items-center gap-1 px-2 py-0.5 mt-0.5 rounded-full text-xs font-medium bg-amber-50 text-amber-600 border border-amber-200 dark:bg-amber-900/20 dark:text-amber-400 dark:border-amber-800/50"},Y={key:1,class:"inline-flex items-center px-2 py-0.5 mt-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-500 border border-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-700"},$={class:"p-4 min-w-[200px] bg-white dark:bg-gray-900 rounded-lg"},J={class:"flex flex-col items-center"},Z={class:"text-base font-medium text-gray-900 dark:text-gray-100 mb-2"},ee={key:0,class:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-medium bg-amber-50 text-amber-600 border border-amber-200 dark:bg-amber-900/20 dark:text-amber-400 dark:border-amber-800/50"},te={key:1,class:"inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-500 border border-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-700"};var ae={__name:"MainLayout",setup(e){const t=(0,g.Pj)(),a=(0,p.rd)(),l=(0,p.lq)(),{isDark:s,toggleTheme:i}=(0,r.WQ)("themeContext"),d=(0,o.KR)(!1),c=(0,o.KR)(!1),u=(0,o.KR)(!1),m=()=>{u.value=window.innerWidth<768};(0,r.sV)(()=>{m(),window.addEventListener("resize",m)}),(0,r.hi)(()=>{window.removeEventListener("resize",m)});const f=(0,r.EW)(()=>t.getters.userInfo);function ae(e){return()=>(0,r.h)(h._,null,{default:()=>(0,r.h)(e)})}const ne=[{label:"我的数据",key:"home",icon:ae(E.A)},{label:"词书",key:"dict",icon:ae(C.A)},{label:"生词本",key:"favorite",icon:ae(F.A)},{label:"单词搜索",key:"search",icon:ae(j.A)},{label:"我的笔记",key:"note",icon:ae(z.A)},{label:"我的词单",key:"lists",icon:ae(P.A)},{label:"学习记录",key:"learn",icon:ae(I.A)},{label:"智能抽查",key:"check",icon:ae(W.A)},{label:"猜单词",key:"guess",icon:ae(q.A)},{label:"AI 助记短文",key:"passage",icon:ae(S.A)},{label:"关于",key:"about",icon:ae(X.A)}],re=(0,r.EW)(()=>l.name),oe=e=>{a.push({name:e}),c.value=!1};return(e,t)=>{const a=(0,r.g2)("router-view");return(0,r.uX)(),(0,r.Wv)((0,o.R1)(v.Ay),{class:"h-screen","has-sider":""},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(y.A),{show:c.value,"onUpdate:show":t[0]||(t[0]=e=>c.value=e),placement:"left",width:240,class:"md:hidden"},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(k.A),{"body-content-style":"padding: 0;"},{header:(0,r.k6)(()=>[...t[5]||(t[5]=[(0,r.Lk)("div",{class:"flex items-center gap-2"},[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/wh_logo.png",class:"w-8 h-8",alt:"Logo"}),(0,r.Lk)("span",{class:"text-lg font-bold text-gray-900 dark:text-white"},"Word Helper")],-1)])]),default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(x.A),{options:ne,value:re.value,"onUpdate:value":oe,class:"custom-menu"},null,8,["value"])]),_:1})]),_:1},8,["show"]),u.value?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.Wv)((0,o.R1)(w.A),{key:0,bordered:"","collapse-mode":"width","collapsed-width":64,width:240,collapsed:d.value,"show-trigger":"",onCollapse:t[1]||(t[1]=e=>d.value=!0),onExpand:t[2]||(t[2]=e=>d.value=!1),class:"hidden md:block bg-white dark:bg-gray-900 h-screen shadow-sm z-10"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",K,[d.value?((0,r.uX)(),(0,r.CE)("div",U,[...t[7]||(t[7]=[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/wh_logo.png",class:"w-8 h-8",alt:"Logo"},null,-1)])])):((0,r.uX)(),(0,r.CE)("div",V,[...t[6]||(t[6]=[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/wh_logo.png",class:"w-8 h-8",alt:"Logo"},null,-1),(0,r.Lk)("h1",{class:"text-xl font-bold text-primary"},"Word Helper",-1)])]))]),(0,r.bF)((0,o.R1)(x.A),{class:"mt-2",collapsed:d.value,"collapsed-width":64,"collapsed-icon-size":22,options:ne,value:re.value,"onUpdate:value":oe},null,8,["collapsed","value"])]),_:1},8,["collapsed"])),(0,r.bF)((0,o.R1)(v.Ay),{class:"h-screen bg-gray-50 dark:bg-gray-950","native-scrollbar":!1},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(_.A),{bordered:"",class:"h-16 px-4 flex items-center justify-between bg-white dark:bg-gray-900 border-b border-gray-200 dark:border-gray-800 shadow-sm z-10 sticky top-0"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",B,[(0,r.Lk)("button",{onClick:t[3]||(t[3]=e=>c.value=!0),class:"md:hidden p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"},[(0,r.bF)((0,o.R1)(O.A),{class:"w-6 h-6 text-gray-600 dark:text-gray-300"})]),t[8]||(t[8]=(0,r.Lk)("div",{class:"flex items-center gap-2 md:hidden"},[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/wh_logo.png",class:"w-8 h-8",alt:"Logo"}),(0,r.Lk)("span",{class:"text-lg font-bold text-gray-800 dark:text-white"},"Word Helper")],-1))]),(0,r.Lk)("div",H,[(0,r.Lk)("button",{onClick:t[4]||(t[4]=(...e)=>(0,o.R1)(i)&&(0,o.R1)(i)(...e)),class:"p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"},[(0,o.R1)(s)?((0,r.uX)(),(0,r.Wv)((0,o.R1)(T.A),{key:0,class:"w-5 h-5 text-yellow-500"})):((0,r.uX)(),(0,r.Wv)((0,o.R1)(N.A),{key:1,class:"w-5 h-5 text-gray-600"}))]),(0,r.Lk)("div",M,[(0,r.Lk)("div",D,[(0,r.Lk)("div",G,(0,b.v_)(f.value?.nickname||"Guest"),1),f.value?.is_vip?((0,r.uX)(),(0,r.CE)("div",Q,[...t[9]||(t[9]=[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/vip_g3.svg",class:"w-3 h-3",alt:"VIP"},null,-1),(0,r.Lk)("span",null,"VIP用户",-1)])])):((0,r.uX)(),(0,r.CE)("div",Y," 普通用户 "))]),u.value?((0,r.uX)(),(0,r.Wv)((0,o.R1)(A.Ay),{key:0,trigger:"click",placement:"bottom-end",style:{padding:"0"}},{trigger:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(L.A),{round:"",size:"medium",src:f.value?.avatar_path,"fallback-src":"https://download.xn--xhq44jb2fzpc.com/avatar/default.png",class:"cursor-pointer"},null,8,["src"])]),default:(0,r.k6)(()=>[(0,r.Lk)("div",$,[(0,r.Lk)("div",J,[(0,r.Lk)("div",Z,(0,b.v_)(f.value?.nickname||"Guest"),1),f.value?.is_vip?((0,r.uX)(),(0,r.CE)("div",ee,[...t[10]||(t[10]=[(0,r.Lk)("img",{src:"https://download.xn--xhq44jb2fzpc.com/images/vip_g3.svg",class:"w-3 h-3",alt:"VIP"},null,-1),(0,r.Lk)("span",null,"VIP用户",-1)])])):((0,r.uX)(),(0,r.CE)("div",te," 普通用户 "))])])]),_:1})):((0,r.uX)(),(0,r.Wv)((0,o.R1)(L.A),{key:1,round:"",size:"medium",src:f.value?.avatar_path,"fallback-src":"https://download.xn--xhq44jb2fzpc.com/avatar/default.png"},null,8,["src"]))])])]),_:1}),(0,r.bF)((0,o.R1)(R.A),{class:"p-4 md:p-6 bg-gray-50 dark:bg-gray-950","content-style":"min-height: calc(100vh - 64px)"},{default:(0,r.k6)(()=>[(0,r.bF)(a,null,{default:(0,r.k6)(({Component:e})=>[(0,r.bF)(n.eB,{"enter-active-class":"animate__animated animate__fadeIn animate__faster","leave-active-class":"animate__animated animate__fadeOut animate__faster",mode:"out-in"},{default:(0,r.k6)(()=>[((0,r.uX)(),(0,r.Wv)((0,r.$y)(e)))]),_:2},1024)]),_:1})]),_:1})]),_:1})]),_:1})}}},ne=a(71241);const re=(0,ne.A)(ae,[["__scopeId","data-v-1f30e042"]]);var oe=re,le=(a(18111),a(61701),a(97387)),se=a(91332),ie=a(2231),de=a(49912),ce=a(42517),ue=a(37006),me=a(35720),fe=a(60501),pe=a(2043),be=a(75095),ge=a(32685),he=a(53708),ve=a(89536),ye=a(5143),ke=a(40623),xe=a(92080),we=a(56677);const _e={class:"home-view max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},Ae={initial:{opacity:0,y:20},enter:{opacity:1,y:0},class:"mb-8"},Le={class:"text-3xl font-bold text-gray-900 dark:text-white mb-2"},Re={class:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"},Ee={class:"flex items-center justify-between"},Ce={class:"text-3xl font-bold text-primary mt-1"},Fe={class:"p-3 bg-blue-50 dark:bg-blue-900/20 rounded-lg"},je={class:"flex items-center justify-between"},ze={class:"text-3xl font-bold text-green-600 dark:text-green-400 mt-1"},Pe={class:"p-3 bg-green-50 dark:bg-green-900/20 rounded-lg"},Ie={class:"flex items-center justify-between"},We={class:"text-3xl font-bold text-purple-600 dark:text-purple-400 mt-1"},qe={class:"p-3 bg-purple-50 dark:bg-purple-900/20 rounded-lg"},Se={class:"h-[400px] w-full relative",ref:"chartContainer"};var Xe={__name:"HomeView",setup(e){(0,pe.Y)([be.a,ge.a,he.a,ve.a,ye.a,ke.a,xe.i]);const t=(0,g.Pj)(),a=(0,le.J)(),{isDark:n}=(0,r.WQ)("themeContext"),l=(0,r.EW)(()=>t.getters.userInfo||t.state.userInfo),s=(0,o.KR)(!1),i=(0,o.KR)(null),d=(0,o.KR)({today_count:0,week_count:0,month_count:0,last_7_days:[]}),c=()=>{const e=i.value?.getEChartsInstance?.();e&&e.resize()},u=async()=>{await(0,r.dY)(),requestAnimationFrame(()=>{c(),requestAnimationFrame(c)})},m=(0,r.EW)(()=>{const e=n.value,t=e?"#e5e7eb":"#374151",a=e?"rgba(255, 255, 255, 0.05)":"rgba(0, 0, 0, 0.05)",r=e?"rgba(31, 41, 55, 0.9)":"rgba(255, 255, 255, 0.9)",o=e?"#374151":"#e5e7eb";return{backgroundColor:"transparent",grid:{left:48,right:20,bottom:28,top:40},tooltip:{trigger:"axis",backgroundColor:r,borderColor:o,textStyle:{color:t},axisPointer:{type:"line",lineStyle:{color:"#6366f1",type:"dashed"}}},xAxis:{type:"category",boundaryGap:!1,data:d.value.last_7_days.map(e=>e.date.slice(5)),axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:t,margin:15},splitLine:{show:!0,lineStyle:{color:a}}},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{color:t},splitLine:{show:!0,lineStyle:{color:a,type:"dashed"}}},series:[{name:"学习次数",type:"line",smooth:!0,showSymbol:!1,symbolSize:8,itemStyle:{color:"#6366f1",borderWidth:2,borderColor:"#fff"},lineStyle:{width:3,color:new we.A(0,0,1,0,[{offset:0,color:"#6366f1"},{offset:1,color:"#818cf8"}])},areaStyle:{color:new we.A(0,0,0,1,[{offset:0,color:"rgba(99, 102, 241, 0.2)"},{offset:1,color:"rgba(99, 102, 241, 0)"}])},data:d.value.last_7_days.map(e=>e.count)}]}}),f=async()=>{s.value=!0;try{const e=await me.A.get("https://newfront.xn--xhq44jb2fzpc.com/word_helper/home/stats");e.data&&(d.value=e.data,await u())}catch(e){console.error("Failed to fetch stats:",e),a.error("获取学习数据失败,请稍后重试")}finally{s.value=!1}},p=()=>{u()},v=()=>{u()},y=()=>{u()};return(0,r.sV)(async()=>{window.addEventListener("pageshow",p),window.addEventListener("orientationchange",v),window.visualViewport?.addEventListener("resize",y),await u(),await f(),document.title="我的数据 - Word Helper"}),(0,r.hi)(()=>{window.removeEventListener("pageshow",p),window.removeEventListener("orientationchange",v),window.visualViewport?.removeEventListener("resize",y)}),(0,r.wB)(()=>d.value.last_7_days.length,()=>{u()}),(0,r.wB)(n,()=>{u()}),(e,t)=>{const a=(0,r.gN)("motion");return(0,r.uX)(),(0,r.CE)("div",_e,[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",Ae,[(0,r.Lk)("h1",Le," 欢迎回来,"+(0,b.v_)(l.value?.nickname||"学习者")+" 👋 ",1),t[0]||(t[0]=(0,r.Lk)("p",{class:"text-gray-600 dark:text-gray-400"}," 保持学习节奏,今天也要加油哦! ",-1))])),[[a]]),(0,r.Lk)("div",Re,[(0,r.bo)(((0,r.uX)(),(0,r.Wv)((0,o.R1)(ce.Ay),{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:100}},class:"rounded-xl shadow-sm hover:shadow-md transition-shadow dark:bg-gray-800",bordered:!1},{default:(0,r.k6)(()=>[(0,r.Lk)("div",Ee,[(0,r.Lk)("div",null,[t[1]||(t[1]=(0,r.Lk)("p",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"今日学习次数",-1)),(0,r.Lk)("h3",Ce,[(0,r.bF)((0,o.R1)(ue.A),{from:0,to:d.value.today_count},null,8,["to"])])]),(0,r.Lk)("div",Fe,[(0,r.bF)((0,o.R1)(h._),{size:"24",class:"text-blue-600 dark:text-blue-400"},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(se.A))]),_:1})])])]),_:1})),[[a]]),(0,r.bo)(((0,r.uX)(),(0,r.Wv)((0,o.R1)(ce.Ay),{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:200}},class:"rounded-xl shadow-sm hover:shadow-md transition-shadow dark:bg-gray-800",bordered:!1},{default:(0,r.k6)(()=>[(0,r.Lk)("div",je,[(0,r.Lk)("div",null,[t[2]||(t[2]=(0,r.Lk)("p",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"本周学习次数",-1)),(0,r.Lk)("h3",ze,[(0,r.bF)((0,o.R1)(ue.A),{from:0,to:d.value.week_count},null,8,["to"])])]),(0,r.Lk)("div",Pe,[(0,r.bF)((0,o.R1)(h._),{size:"24",class:"text-green-600 dark:text-green-400"},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(ie.A))]),_:1})])])]),_:1})),[[a]]),(0,r.bo)(((0,r.uX)(),(0,r.Wv)((0,o.R1)(ce.Ay),{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:300}},class:"rounded-xl shadow-sm hover:shadow-md transition-shadow dark:bg-gray-800",bordered:!1},{default:(0,r.k6)(()=>[(0,r.Lk)("div",Ie,[(0,r.Lk)("div",null,[t[3]||(t[3]=(0,r.Lk)("p",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"本月学习次数",-1)),(0,r.Lk)("h3",We,[(0,r.bF)((0,o.R1)(ue.A),{from:0,to:d.value.month_count},null,8,["to"])])]),(0,r.Lk)("div",qe,[(0,r.bF)((0,o.R1)(h._),{size:"24",class:"text-purple-600 dark:text-purple-400"},{default:(0,r.k6)(()=>[(0,r.bF)((0,o.R1)(de.A))]),_:1})])])]),_:1})),[[a]])]),(0,r.bo)(((0,r.uX)(),(0,r.Wv)((0,o.R1)(ce.Ay),{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{delay:400}},title:"近7天学习趋势",class:"rounded-xl shadow-sm dark:bg-gray-800",bordered:!1},{"header-extra":(0,r.k6)(()=>[...t[4]||(t[4]=[(0,r.Lk)("div",{class:"flex items-center gap-2"},[(0,r.Lk)("span",{class:"w-3 h-3 rounded-full bg-primary"}),(0,r.Lk)("span",{class:"text-xs text-gray-500"},"本数据实时更新")],-1)])]),default:(0,r.k6)(()=>[(0,r.Lk)("div",Se,[(0,r.bF)((0,o.R1)(fe.Ay),{ref_key:"chartRef",ref:i,class:"chart",option:m.value,autoresize:"",loading:s.value},null,8,["option","loading"])],512)]),_:1})),[[a]])])}}};const Oe=(0,ne.A)(Xe,[["__scopeId","data-v-8ed4da6a"]]);var Te=Oe,Ne=a(78704),Ke=a(55129);const Ve=[{path:"/login-required",name:"login-required",component:()=>a.e(117).then(a.bind(a,95117))},{path:"/",component:oe,children:[{path:"",name:"home",component:Te},{path:"about",name:"about",component:()=>a.e(594).then(a.bind(a,51144))},{path:"/word",name:"word-detail",component:()=>Promise.all([a.e(913),a.e(259),a.e(410),a.e(868)]).then(a.bind(a,73868))},{path:"/dict",name:"dict",component:()=>Promise.all([a.e(205),a.e(387)]).then(a.bind(a,71387))},{path:"/favorite",name:"favorite",component:()=>a.e(431).then(a.bind(a,96431))},{path:"/search",name:"search",component:()=>Promise.all([a.e(913),a.e(67)]).then(a.bind(a,46067))},{path:"/check",name:"check",component:()=>Promise.all([a.e(913),a.e(150),a.e(62),a.e(493),a.e(410),a.e(205),a.e(938)]).then(a.bind(a,67686))},{path:"/guess",name:"guess",component:()=>Promise.all([a.e(913),a.e(150),a.e(62),a.e(493),a.e(765)]).then(a.bind(a,75765))},{path:"/note",name:"note",component:()=>Promise.all([a.e(913),a.e(150),a.e(774)]).then(a.bind(a,58774))},{path:"/learn",name:"learn",component:()=>a.e(416).then(a.bind(a,27416))},{path:"/list_detail",name:"list_detail",component:()=>Promise.all([a.e(259),a.e(924)]).then(a.bind(a,53924))},{path:"/lists",name:"lists",component:()=>Promise.all([a.e(913),a.e(150),a.e(62),a.e(410),a.e(133)]).then(a.bind(a,31133))},{path:"/passage",name:"passage",component:()=>Promise.all([a.e(913),a.e(150),a.e(62),a.e(259),a.e(493),a.e(986)]).then(a.bind(a,16638))}]}],Ue=(0,p.aE)({history:(0,p.LA)("/"),routes:Ve});Ue.beforeEach(async(e,t,a)=>{if("login-required"===e.name)return void a();const n=Ne.A.get("cb_token");if(n)if(Ke.A.getters.token||Ke.A.commit("setToken",n),Ke.A.getters.userInfo)a();else try{await Ke.A.dispatch("fetchUserInfo"),a()}catch(r){Ne.A.remove("cb_token"),a({name:"login-required"})}else a({name:"login-required"})});var Be=Ue,He=a(12424);(0,n.Ef)(f).use(Ke.A).use(Be).use(He.uy).mount("#app")}},t={};function a(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,a),o.exports}a.m=e,function(){var e=[];a.O=function(t,n,r,o){if(!n){var l=1/0;for(c=0;c=o)&&Object.keys(a.O).every(function(e){return a.O[e](n[i])})?n.splice(i--,1):(s=!1,o0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[n,r,o]}}(),function(){a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,{a:t}),t}}(),function(){a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce(function(t,n){return a.f[n](e,t),t},[]))}}(),function(){a.u=function(e){return"js/"+(594===e?"about":e)+"."+{62:"97b91111",67:"c5181ab8",117:"f0b3f650",133:"a5084be0",150:"49b65dd0",205:"5e1a6eef",259:"4d766dbd",387:"2c1359c2",410:"5d08c1a8",416:"9258341d",431:"ce56f232",493:"00994683",594:"e8da17fa",765:"fbd42649",774:"80696cdb",868:"f069e40b",913:"57fbc7fd",924:"5a6ab73d",938:"77996131",986:"974a561f"}[e]+".js"}}(),function(){a.miniCssF=function(e){return"css/"+(594===e?"about":e)+"."+{67:"91d1e5b7",133:"0d9e2906",387:"c1c3debd",416:"94c42108",431:"86dfd5fb",594:"29136f20",765:"3e3d4a68",774:"1b803950",868:"3e4eb23a",924:"1c0bd8d0",938:"ea8ed904",986:"bb14e4c4"}[e]+".css"}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="wordhelper:";a.l=function(n,r,o,l){if(e[n])e[n].push(r);else{var s,i;if(void 0!==o)for(var d=document.getElementsByTagName("script"),c=0;c 我创建的词单 + + + 配套笔记 +

{{ listInfo.note || '暂无描述' }}

@@ -81,9 +85,25 @@ - -
+ +
+ + + + + 返回上一页 + + + +
+ +
+
+