PageSourceSearch

https://omniscent.ai/_next/static/chunks/pages/[lang]/app/bookmark-bd7ac68830d66eca.js

js omniscent.ai collected 2026-10-05 15:42:24 UTC 4,682 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3508],{39287:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/app/bookmark",function(){return s(48883)}])},48883:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return f}});var n=s(47568),i=s(51438),r=s(52951),a=s(88029),o=s(5950),l=s(97582),c=s(85893),d=s(67294),u=s(14364),h=s(37742),m=s(29473),p=s(16923),g=s(9008),k=s.n(g),v=s(41664),b=s.n(v),f=function(e){(0,a.Z)(s,e);var t=(0,o.Z)(s);function s(e){var n;return(0,i.Z)(this,s),(n=t.call(this,e)).state={loading:!0,bookmark:{}},n}return(0,r.Z)(s,[{key:"componentDidMount",value:function(){var e=this;return(0,n.Z)((function(){var t;return(0,l.__generator)(this,(function(s){switch(s.label){case 0:return e.mountPage=!0,[4,(0,u.ih)(e.props.lang)];case 1:return t=s.sent(),e.setState({typeAcc:t.type,userInfoCheck:t,dev:t.dev}),e.mountPage&&(e.getBookmark(),(0,h.S)("visit_listing_bookmark",{account:t.type})),[2]}}))}))()}},{key:"deleteInfo",value:function(e,t){var s=this;m.h.get("/delete_user_save_item",{headers:{Authorization:"Bearer "+localStorage.getItem("auth_identifier_token"),type:e,id:t}}).then((function(e){s.getBookmark(!0)})).catch((function(e){console.log(e)}))}},{key:"getBookmark",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this;!1===e&&this.setState({loading:!0}),m.h.get("/get_bookmark",{headers:{Authorization:"Bearer "+localStorage.getItem("auth_identifier_token"),type:"bookmark"}}).then((function(e){t.setState({bookmark:e.data.data,loading:!1})})).catch((function(e){console.log(e)}))}},{key:"render",value:function(){var e=this,t=this.state.bookmark,s={cluster:"My saved filters",product_group:"My clusters",product:"Products",brand:"Brands",group:"Groups",franchise:"Franchises",composition_house:"Perfume houses",perfumer:"Perfumers"},n=!1;return Object.keys(t).forEach((function(e){"cluster"!==e&&"product_group"!==e&&t[e].length>0&&(n=!0)})),(0,c.jsxs)("div",{className:"container-withbg-list",children:[(0,c.jsx)(k(),{children:(0,c.jsx)("title",{children:"Your Bookmarks"})}),(0,c.jsx)("div",{className:"title-top-list",children:"Your Bookmarks"}),this.state.loading?(0,c.jsx)("div",{className:"loader-list-items",children:(0,c.jsx)(p.Z,{black:!0})}):n?Object.keys(t).map((function(n,i){return"cluster"===n||"product_group"===n?null:(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{className:"title-bookmark noselect",style:{display:"flex",alignItems:"center"},children:[s[n],(0,c.jsx)("div",{className:"bubble-nbr-item",children:t[n].length})]}),(0,c.jsx)("div",{className:"list-filter-listing",style:{minWidth:450,paddingTop:6},children:(0,c.jsx)("div",{className:"",style:{display:"flex",flexWrap:"wrap"},children:t[n].map((function(t,s){return"product_group"===n||"cluster"===n?null:(0,c.jsxs)("div",{style:{position:"relative"},className:"div-del-hover box-white-area-list",children:[(0,c.jsx)(b(),{href:t.industrial_brand?(0,u.DW)(e.props.lang,"app/brand/"+t.industrial_brand):(0,u.DW)(e.props.lang,"app/"+t.type+"/"+t.path),children:(0,c.jsx)("a",{className:"clean-a",children:(0,c.jsx)("div",{className:"tr-list transition-200",children:(0,c.jsxs)("div",{className:"tr-list-name tr-list-content",style:{width:"100%",paddingRight:20},children:[null===t.img?(0,c.jsx)("div",{className:"tr-list-img noselect",style:{position:"relative"},children:(0,c.jsx)("div",{className:"center-absolute big-letter",children:t.name.substring(0,1)})}):(0,c.jsx)("img",{alt:"img",className:"tr-list-img noselect",style:"product"===t.type?{padding:8}:{},src:t.img}),(0,c.jsxs)("div",{className:"",children:[(0,c.jsx)("div",{className:"tr-list-content-name",children:t.name}),"product"===t.type?(0,c.jsx)("div",{className:"tr-list-content-subname",children:t.brand}):null]})]})})})}),(0,c.jsx)("img",{alt:"cancel",onClick:function(){return e.deleteInfo(t.type,t.id_)},className:"img-del-hover",src:"/cancel.png",style:{position:"absolute",zIndex:2,right:10,cursor:"pointer",height:26,top:"50%",transform:"translateY(-50%)"}})]},"unique_product_list_"+s+"_"+i)}))})})]},"list_bk_"+i)})):(0,c.jsxs)("div",{className:"onboard-book-div noselect",children:[(0,c.jsx)("div",{children:(0,c.jsx)("div",{className:"onboard-book-div-img",children:(0,c.jsx)("img",{alt:"",src:"/bookmark_ico.png"})})}),(0,c.jsx)("div",{className:"onboard-book-div-title",children:"You don\u2019t have any bookmark yet"}),(0,c.jsx)("div",{className:"onboard-book-div-desc",children:"Hit the bookmark button from any product, brand, group or perfumer page to access it more quickly."})]})]})}}]),s}(d.Component)}},function(e){e.O(0,[9774,2888,179],(function(){return t=39287,e(e.s=t);var t}));var t=e.O();_N_E=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.