PageSourceSearch

https://fluentai.pro/assets/word-with-status-display-B_dD67TG.js

js fluentai.pro collected 2026-10-02 00:24:40 UTC 3,156 bytes, 1 lines download raw bytes

1import{a as e,n as t}from"./react-vendor-HKp8TdYr.js";import{s as n}from"./index.es-CaBg4AYq.js";import{yu as r}from"./design-system-BeMiRs4n.js";import{c as i,nn as a}from"./use-session-CYPy8wd6.js";import{A as o,_t as s,k as c,ot as l,vt as u}from"./learning-box-BdaxW5Gf.js";import{r as d}from"./click-popup-props.mapper-QKPyqF77.js";var f=t(),p=e=>{let{status:t}=e,r=a(t);return n({hasStatus:t!=null&&r!==void 0,normalizedStatus:r})},m=e=>{let t=(0,f.c)(24),{word:n,status:r,learningLanguageCode:a,bookmarkType:m,transliteration:_,learningSentence:v,source:y}=e,b=m===void 0?d.WORD:m,{isUpdating:x}=l(),S;t[0]!==a||t[1]!==n?(S={word:n,languageCode:a},t[0]=a,t[1]=n,t[2]=S):S=t[2];let{bookmarkInfo:C,isDetailLoading:w}=i(S),{normalizedStatus:T,hasStatus:E}=p({status:r??C.bookmarkStatus})._unsafeUnwrap(),{platform:D,resourcesController:O,videoPlayerAPI:k}=s(),A=_??void 0,j;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(j={getCurrentSubtitlesContext:u},t[3]=j):j=t[3];let M;t[4]!==C||t[5]!==b||t[6]!==x||t[7]!==a||t[8]!==v||t[9]!==D||t[10]!==O||t[11]!==y||t[12]!==A||t[13]!==k||t[14]!==n?(M={word:n,transliteration:A,index:0,bookmarkType:b,learningLanguageCode:a,bookmarkIndex:null,bookmarkInfo:C,platform:D,resourcesController:O,videoPlayerAPI:k,subtitlesController:j,isUpdating:x,learningSentence:v,source:y},t[4]=C,t[5]=b,t[6]=x,t[7]=a,t[8]=v,t[9]=D,t[10]=O,t[11]=y,t[12]=A,t[13]=k,t[14]=n,t[15]=M):M=t[15];let N=c(M),P;t[16]===N?P=t[17]:(P=()=>{N.handleContextMenu({preventDefault:h,stopPropagation:g})},t[16]=N,t[17]=P);let F=P,I=o(T),L=x||w,R;return t[18]!==E||t[19]!==F||t[20]!==I||t[21]!==L||t[22]!==n?(R={word:n,status:I,showStatusColors:E,bookmarkPending:L,onToggleBookmark:F},t[18]=E,t[19]=F,t[20]=I,t[21]=L,t[22]=n,t[23]=R):R=t[23],R};function h(){}function g(){}var _=e(),v=e=>{let t=(0,f.c)(9),{word:n,status:i,showStatusColors:a,bookmarkPending:o,onToggleBookmark:s,className:c,trailingAction:l,meta:u}=e,d;return t[0]!==o||t[1]!==c||t[2]!==u||t[3]!==s||t[4]!==a||t[5]!==i||t[6]!==l||t[7]!==n?(d=(0,_.jsx)(r,{bookmarkPending:o,className:c,meta:u,onToggleBookmark:s,showStatusColors:a,status:i,term:n,trailingAction:l,variant:`inline`}),t[0]=o,t[1]=c,t[2]=u,t[3]=s,t[4]=a,t[5]=i,t[6]=l,t[7]=n,t[8]=d):d=t[8],d},y=e=>{let t=(0,f.c)(17),{word:n,status:r,learningLanguageCode:i,bookmarkType:a,transliteration:o,className:s,trailingAction:c,meta:l,learningSentence:u,source:p}=e,h=a===void 0?d.WORD:a,g;t[0]!==h||t[1]!==i||t[2]!==u||t[3]!==p||t[4]!==r||t[5]!==o||t[6]!==n?(g={word:n,status:r,learningLanguageCode:i,bookmarkType:h,transliteration:o,learningSentence:u,source:p},t[0]=h,t[1]=i,t[2]=u,t[3]=p,t[4]=r,t[5]=o,t[6]=n,t[7]=g):g=t[7];let y=m(g),b;return t[8]!==s||t[9]!==l||t[10]!==y.bookmarkPending||t[11]!==y.onToggleBookmark||t[12]!==y.showStatusColors||t[13]!==y.status||t[14]!==c||t[15]!==n?(b=(0,_.jsx)(v,{bookmarkPending:y.bookmarkPending,className:s,meta:l,onToggleBookmark:y.onToggleBookmark,showStatusColors:y.showStatusColors,status:y.status,trailingAction:c,word:n}),t[8]=s,t[9]=l,t[10]=y.bookmarkPending,t[11]=y.onToggleBookmark,t[12]=y.showStatusColors,t[13]=y.status,t[14]=c,t[15]=n,t[16]=b):b=t[16],b};export{y as t};

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.