1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-jSjrNeEx.js","assets/VocabularySearcher-Ddk4NJgQ.js","assets/main-Bpkn1I1I.js","assets/token-D_ZQp8Og.js","assets/main-Bfi1VqAx.css","assets/search-D5ipjRP_.js","assets/collectionApi-Co40ha7z.js","assets/VocabularySearcher-WUCNAABJ.css","assets/export-DvOZmq4-.js","assets/dictionary-D7vPLdKz.js","assets/index-BxJaxBRo.css","assets/CollectionSentence-Bh65i4vg.js","assets/func-D_4ZmqC4.js","assets/Tooltip-DdGi8y0Y.js","assets/Tooltip-Ds_HxVnA.css","assets/CollectionSentence-KGxuATQC.css","assets/Bookmark-DXV1W2GJ.js","assets/Bookmark-wOe9vuqk.css"])))=>i.map(i=>d[i]); 2import{d as V,k as P,D as l,G as S,u as T,Z as A,S as E,l as R,o as i,c as x,e as p,b as d,x as I,n as t,m,z as N,X as O,ag as B,p as L,v as W,H as u,I as _,g as $}from"./main-Bpkn1I1I.js";import{u as q,V as z}from"./VocabularySearcher-Ddk4NJgQ.js";import{D as G}from"./Dictionary-DnzK0rVA.js";import{_ as H}from"./PageContentFilter.vue_vue_type_style_index_0_lang-DYdcBkWp.js";import{P as j}from"./PageHeading-BMVdIQIZ.js";import{c as f}from"./collectionApi-Co40ha7z.js";import{u as K}from"./dictionary-D7vPLdKz.js";import{u as M}from"./usePermissions-DZMvIHE-.js";import"./token-D_ZQp8Og.js";import"./search-D5ipjRP_.js";import"./aiTutorViewApi-S4aiw8QM.js";import"./articleViewApi-jnE1Gi4E.js";import"./calendarViewApi-DF0nqBvl.js";import"./courseApi-CjV1Umr3.js";import"./vvipApi-C6YoszJJ.js";import"./lessonViewApi-Ku38e3Xl.js";import"./listeningViewApi-Cz3-k1EK.js";import"./userGuide-B-fAlBBA.js";import"./useMyLevelToClassLevel-CcZ1PiBs.js";/* empty css *//* empty css */import"./FdIcon.vue_vue_type_script_setup_true_lang-C41I6Ng7.js";import"./useScrollHidden-CjnHLNPq.js";const U={class:"page-main"},X={class:"pageContainer"},Z=V({__name:"CollectionView",setup(F){const v=["å®å","ä½³å¥","æ¸ç±¤"],c={vocabulary:"å®å",sentence:"ä½³å¥",bookmark:"æ¸ç±¤"},n=P(),{isOpen:J,text:Q,resolveAction:Y}=l(S());M(n==null?void 0:n.userData);const a=q(),{type:e}=l(a),y=K(),{isDicShow:h}=l(y),C=T(),r=A(),b=r.name,k={vocabulary:u(()=>_(()=>import("./index-jSjrNeEx.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),sentence:u(()=>_(()=>import("./CollectionSentence-Bh65i4vg.js"),__vite__mapDeps([11,12,2,3,4,13,14,6,15]))),bookmark:u(()=>_(()=>import("./Bookmark-DXV1W2GJ.js"),__vite__mapDeps([16,2,3,4,6,17])))};function w(o){const s=Object.keys(c).filter(D=>c[D]===o)[0];e.value=s}const g=async(o,s)=>{s?await f.createPersonalWordCard(o):await f.deleteVocabulary(o.word),o.word===a.dWord&&(a.heart=!a.heart),await a.apiGetList()};return e.value=r.query.type?r.query.type:"vocabulary",E(()=>e.value,()=>{C.replace(`${r.path}?type=${e.value}`)}),R(()=>{}),(o,s)=>(i(),x("div",U,[p(j,{headingTitle:"Collection"}),d("div",X,[d("div",{class:I(["collection-filter",{isVocabulary:t(e)==="vocabulary"}])},[p(H,{options:v,class:"filter collectionPage",defaultCheck:c[t(e)],path:t(b),onCheck:w},null,8,["defaultCheck","path"]),t(e)==="vocabulary"?(i(),m(z,{key:0,class:"searcher"})):N("",!0)],2),(i(),m(B,null,[(i(),m(O(k[t(e)])))],1024))]),L(p(G,{onToggleCollect:g},null,512),[[W,t(h)]])]))}}),ge=$(Z,[["__scopeId","data-v-b8f34f34"]]);export{ge as default}; 3//# sourceMappingURL=CollectionView-CCxd8Mqi.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.