1"use strict";(self.webpackChunkcp_front=self.webpackChunkcp_front||[]).push([[7382],{20506:(e,a,t)=>{t.r(a),t.d(a,{PageBrowserBookmark:()=>N});var o=t(74848),r=t(96540),s=t(46771),i=t(95304),l=t(4604),n=t.n(l),d=t(38094),k=t(21220),c=t(46911),m=t(94410),f=t(84166),u=t(59914),g=t(64228);const B={isLoading:!1,all:0,offset:0,limit:0,data:[]},w=(0,g.Z0)({name:"browserBookmark",initialState:B,reducers:{getBrowserBookmarkList(e,a){const{offset:t,limit:o}=a.payload;e.isLoading=!0,e.offset=t,e.limit=o,0===t&&(e.data=[])},getBrowserBookmarkListOk(e,a){const{data:t,all:o}=a.payload;e.isLoading=!1,e.all=o,e.data=0===e.offset?t:[...e.data,...t]},getBrowserBookmarkListError(e){e.isLoading=!1},clearBrowserBookmarkList(e){e.isLoading=B.isLoading,e.all=B.all,e.offset=B.offset,e.limit=B.limit,e.data=B.data}}}),{actions:L,reducer:p}=w;var y=t(62169),b=t(92444),h=t(13789),j=t(34527);const{getBrowserBookmarkList:x,getBrowserBookmarkListError:v,getBrowserBookmarkListOk:M}=L;function*T({payload:e}){const a=yield*(0,y.Lt)(h.vf.Tp.selectCurrentSlotId);try{const{data:t}=yield*(0,y.T1)(j.FH.sensor.browserBookmark.getData,a,{limit:e.limit,offset:e.offset});yield*(0,y.yJ)(M(t))}catch(e){yield(0,y.yJ)(v()),yield(0,b.h4)(e),yield(0,b.aA)(e)}}function*C(){yield*(0,y.jP)(x.type,T)}const D=(0,u.j)({domain:e=>e.browserBookmark||B});var F=t(8101),O=t(31061),_=t(48701),E=t(37466);const H=(0,t(11164).YK)({title:{id:"app.pages.android-sensor.page-browser-bookmark.title",defaultMessage:"Browser Bookmark"}}),N=()=>{const{formatMessage:e}=(0,E.t)(),{initReviewPopupRating:a}=(0,d.T)(),{domain:t,getData:l,clearData:u}=(()=>{(0,m.N)({key:"browserBookmark",reducer:p}),(0,f.f)({key:"browserBookmark",saga:C});const e=(0,s.wA)(),a=(0,s.d4)(D),t=(0,r.useCallback)(a=>e(L.getBrowserBookmarkList(a)),[e]),o=(0,r.useCallback)(()=>e(L.clearBrowserBookmarkList()),[e]);return Object.assign(Object.assign({},a),{getData:t,clearData:o})})(),g=(0,i.useTheme)(),B=(0,i.useMediaQuery)(g.breakpoints.down("md")),{isLoading:w,all:y,offset:b,limit:h,data:j}=t,x=(0,s.d4)(c.w.Tp.makeSelectMenuFeatureMuted(F.Xj.BrowserBookmark)),{feature:v}=(0,c.z)({featureName:"browser_bookmark"}),[M]=(0,_.W)({offset:b||0,limit:h||20,all:y,action:e=>{l(e)}});return(0,r.useEffect)(()=>(M(),a(),()=>{u()}),[]),v?(0,o.jsxs)(F.F_,{children:[(0,o.jsx)(O.mk,{title:e(H.title),all:t.all,isLoading:t.isLoading,children:!B&&(0,o.jsx)(k.j,{sensorName:F.Xj.BrowserBookmark})}),(0,o.jsx)(F.rH,{mode:"catalogueOnly",catalogue:(0,o.jsx)(F.Lw,{indentHeightFetch:1e3,isLoading:w,all:y,items:j,onFetchMore:M,children:({item:e})=>(0,o.jsxs)(F.Xu,{children:[(0,o.jsx)(F.Vu,{variant:"body",width:"50%",children:(0,o.jsx)(n(),{variant:"body1",sx:{marginLeft:"10px"},children:e.siteTitle})}),(0,o.jsx)(F.Vu,{variant:"body",width:"50%",children:(0,o.jsx)(F.zQ,{url:e.url})})]},e.id)}),appMuted:x})]}):null}}}]);
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.