1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[199],{1083:function(e,t,s){s.d(t,{P:function(){return I}});var r=s(3621),a=s(5165),n=s(8279),o=s(1669),i=s(5982),l=s(7111),c=s(7895),d=s(6336),u=s(5390),m=s(320),p=s(3372),x=s(6290),f=s(1161),h=s(1158),g=s(9396),b=s(483),j=s(7569),y=s(9685),v=s(4670),w=s(1054),N=s(3197),k=s(4130),C=s(2558),D=s(9113);let I={logo:a.Z,close:n.Z,spinner:o.Z,chevronLeft:i.Z,chevronRight:l.Z,trash:c.Z,post:d.Z,page:u.Z,media:m.Z,settings:p.Z,billing:x.Z,ellipsis:f.Z,add:h.Z,warning:g.Z,user:b.Z,arrowRight:j.Z,help:y.Z,pizza:v.Z,sun:w.Z,moon:N.Z,laptop:k.Z,gitHub:e=>{let{...t}=e;return(0,r.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fab","data-icon":"github",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512",...t,children:(0,r.jsx)("path",{fill:"currentColor",d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"})})},google:e=>(0,r.jsx)("svg",{role:"img",viewBox:"0 0 24 24",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"})}),apple:e=>(0,r.jsx)("svg",{role:"img",viewBox:"0 0 24 24",...e,children:(0,r.jsx)("path",{d:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",fill:"currentColor"})}),twitter:C.Z,check:D.Z}},5353:function(e,t,s){s.d(t,{Z:function(){return MainHeader}});var r=s(3621),a=s(4983),n=s.n(a),o=s(9366),i=s.n(o);function MainHeader(){return(0,r.jsxs)(i(),{href:"/",className:"flex space-x-3",children:[(0,r.jsx)(n(),{alt:"header text",src:"/logob.png",className:"sm:w-12 sm:h-12 w-8 h-8 rounded-lg",width:32,height:32}),(0,r.jsx)("span",{className:"sm:text-2xl text-xl ml-2 tracking-tight font-extralight flex items-center",children:"AI Bookmarker"})]})}},2676:function(e,t,s){s.d(t,{Z:function(){return UserAccountHeader}});var r=s(3621),a=s(9748),n=s(6259),o=s(5031),i=s(9366),l=s.n(i),c=s(1083),d=s(9073),u=s(2740);let m=d.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(u.fC,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",s),...a}
1)});m.displayName=u.fC.displayName;let p=d.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(u.Ee,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",s),...a})});p.displayName=u.Ee.displayName;let x=d.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(u.NY,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",s),...a})});function UserAvatar(e){let{user:t,...s}=e;return(0,r.jsx)(m,{...s,children:t.avatar?(0,r.jsx)(p,{alt:"Picture",src:t.avatar}):(0,r.jsxs)(x,{children:[(0,r.jsx)("span",{className:"sr-only",children:t.username}),(0,r.jsx)(c.P.user,{className:"h-4 w-4"})]})})}function PremiumIcon(e){let{className:t}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"37",height:"15",viewBox:"0 0 27 11",xmlSpace:"preserve",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"blackGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,r.jsx)("stop",{offset:"0%",style:{stopColor:"#000000",stopOpacity:1}}),(0,r.jsx)("stop",{offset:"50%",style:{stopColor:"#111111",stopOpacity:1}}),(0,r.jsx)("stop",{offset:"100%",style:{stopColor:"#222222",stopOpacity:1}})]})}),(0,r.jsx)("path",{style:{stroke:"#000",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeDashoffset:0,strokeLinejoin:"miter",strokeMiterlimit:4,fill:"url(#blackGradient)",fillOpacity:.97,fillRule:"nonzero",opacity:1},transform:"matrix(.21 0 0 .28 -.002 .006)",d:"M20.014 0h84.374C115.44 0 124.4 9.282 124.4 20.733c0 11.45-8.96 20.732-20.013 20.732H20.014C8.96 41.465 0 32.183 0 20.733S8.96 0 20.014 0z"}),(0,r.jsx)("text",{xmlSpace:"preserve",fontFamily:"'Open Sans', sans-serif",fontSize:"8",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeDashoffset:0,strokeLinejoin:"miter",strokeMiterlimit:4,fill:"#FFD700",fillRule:"nonzero",opacity:1,whiteSpace:"pre"},transform:"translate(18.2 6.02)",children:(0,r.jsx)("tspan",{x:"-13.7",y:"2.51",children:"SVIP"})})]})}function ProIcon(e){let{className:t}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"37",height:"15",viewBox:"0 0 27 11",xmlSpace:"preserve",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"goldGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,r.jsx)("stop",{offset:"0%",style:{stopColor:"#FFD700",stopOpacity:1}}),(0,r.jsx)("stop",{offset:"50%",style:{stopColor:"#FFC700",stopOpacity:1}}),(0,r.jsx)("stop",{offset:"100%",style:{stopColor:"#FFA500",stopOpacity:1}})]})}),(0,r.jsx)("path",{style:{stroke:"#000",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeDashoffset:0,strokeLinejoin:"miter",strokeMiterlimit:4,fill:"url(#goldGradient)",fillRule:"nonzero",opacity:1},transform:"matrix(.21 0 0 .28 -.002 .006)",d:"M20.014 0h84.374C115.44 0 124.4 9.282 124.4 20.733c0 11.45-8.96 20.732-20.013 20.732H20.014C8.96 41.465 0 32.183 0 20.733S8.96 0 20.014 0z"}),(0,r.jsx)("text",{xmlSpace:"preserve",fontFamily:"'Open Sans', sans-serif",fontSize:"8",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeDashoffset:0,strokeLinejoin:"miter",strokeMiterlimit:4,fill:"#006400",fillRule:"nonzero",opacity:1,whiteSpace:"pre"},transform:"translate(20.2 6.02)",children:(0,r.jsx)("tspan",{x:"-13.7",y:"2.51",style:{strokeWidth:1,fontFamily:"Open Sans, sans-serif",fontStyle:"normal",fontWeight:400},children:"Pro"})})]})}x.displayName=u.NY.displayName;var f=s(4750),h=s(7111),g=s(9113),b=s(507);let j=f.fC,y=f.xz;f.ZA,f.Uv,f.Tr,f.Ee;let v=d.forwardRef((e,t)=>{let{className:s,inset:a,children:o,...i}=e;return(0,r.jsxs)(f.fF,{ref:t,className:(0,n.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",a&&"pl-8",s),...i,children:[o,(0,r.jsx)(h.Z,{className:"ml-auto h-4 w-4"})]})});v.displayName=f.fF.displayName;let w=d.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(f.tu,{ref:t,className:(0,n.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s),...a})});w.displayName=f.tu.displayName;let N=d.forwardRef((e,t)=>{let{className:s,sideOffset:a=4,...o}=e;return(0,r.jsx)(f.Uv,{children:(0,r.jsx)(f.VY,{ref:t,sideOffset:a,className:(0,n.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",s),...o})})});N.displayName=f.VY.displayName;let k=d.forwardRef((e,t)=>{let{className:s,inset:a,...o}=e;return(0,r.jsx)(f.ck,{ref:t,className:(0,n.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a&&"pl-8",s),...o})});k.displayName=f.ck.displayName;let C=d.forwardRef((e,t)=>{let{className:s,children:a,checked:o,...i}=e;return(0,r.jsxs)(f.oC,{ref:t,className:(0,n.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),checked:o,...i,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(f.wU,{children:(0,r.jsx)(g.Z,{className:"h-4 w-4"})})}),a]})});C.displayName=f.oC.displayName;let D=d.forwardRef((e,t)=>{let{className:s,children:a,...o}=e;return(0,r.jsxs)(f.Rk,{ref:t,className:(0,n.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),...o,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(f.wU,{children:(0,r.jsx)(b.Z,{className:"h-2 w-2 fill-current"})})}),a]})});D.displayName=f.Rk.displayName;let I=d.forwardRef((e,t)=>{let{className:s,inset:a,...o}=e;return(0,r.jsx)(f.__,{ref:t,className:(0,n.cn)("px-2 py-1.5 text-sm font-semibold",a&&"pl-8",s),...o})});I.displayName=f.__.displayName;let E=d.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(f.Z0,{ref:t,className:(0,n.cn)("-mx-1 my-1 h-px bg-muted",s),...a})});E.displayName=f.Z0.displayName;var S=s(7164),M=s.n(S);function UserAccountHeader(e){let{user:t}=e,s=(0,d.useCallback)(()=>M()(t.membershipExpire).format("YYYY-MM-DD HH:mm"),[t.membershipExpire]);return(0,d.useEffect)(()=>{t?window.postMessage({type:"LOGIN_SUCCESS",user:t},"*"):window.postMessage({type:"LOGOUT_SUCCESS"},"*")},[t]),(0,r.jsx)(r.Fragment,{children:t&&t.username?(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("div",{className:"mr-2",children:t.role>0?2===t.role?(0,r.jsx)(ProIcon,{}):(0,r.jsx)(PremiumIcon,{}):(0,r.jsx)(r.Fragment,{})}),(0,r.jsxs)(j,{children:[(0,r.jsx)(y,{children:(0,r.jsx)(UserAvatar,{user:{username:t.username,avatar:t.avatar,role:t.role,email:t.email},className:"h-8 w-8"})}),(0,r.jsxs)(N,{align:"end",children:[(0,r.jsx)("div",{className:"flex items-center justify-start gap-2 p-2",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-1 leading-none",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("div",{className:"font-medium",children:t.username}),(0,r.jsx)("div",{className:"mr-2 mt-2 flex",children:t.role>0?(0,r.jsxs)(r.Fragment,{children:[2===t.role?(0,r.jsx)(ProIcon,{}):(0,r.jsx)(PremiumIcon,{})," ",(0,r.jsxs)("span",{className:"text-sm text-gray-500",children:["(",s(),")"]})]}):(0,r.jsx)(r.Fragment,{})})]}),t.email&&(0,r.jsx)("p",{className:"w-[200px] truncate text-sm text-muted-foreground",children:t.email})]})}),(0,r.jsx)(E,{}),(0,r.jsx)(k,{asChild:!0,children:(0,r.jsx)(l(),{href:"/",children:"Home"})}),(0,r.jsx)(k,{asChild:!0,children:(0,r.jsx)(l(),{href:"/billing",children:"Billing"})}),(0,r.jsx)(E,{}),(0,r.jsx)(k,{className:"cursor-pointer",onSelect:e=>{e.preventDefault(),(0,o.signOut)({callbackUrl:"".concat(window.location.origin,"/")}).then()},children:"Sign out"})]})]})]}):(0,r.jsx)(l(),{href:"/login",className:(0,n.cn)((0,a.d)({variant:"secondary",size:"sm"}),"px-4"),children:"Sign in"})})}},7945:function(e,t,s){s.d(t,{Z:function(){return LangSwitch}});var r=s(3621),a=s(6555),n=s(5446);function LangSwitch(){var e,t;let s=null!==(e=(0,n.useParams)())&&void 0!==e?e:{},o=s.lang,i=null!==(t=(0,n.usePathname)())&&void 0!==t?t:"",l=(0,n.useRouter)(),c=o&&"index"!==o?o:a.al,handleSwitchLanguage=e=>()=>{let t;t="/"==i?"/".concat(e):e===a.al?"/":(i||"").replace("/".concat(c),"/".concat(e)),l.replace(t)};return(0,r.jsxs)("div",{className:"dropdown dropdown-end dropdown-hover z-[100]",children:[(0,r.jsx)("div",{tabIndex:0,role:"button",className:"flex items-center justify-center md:bg-base-100 md:rounded-full w-15 md:w-[100px] h-5 text-sm md:h-8 md:shadow-sm md:hover:shadow-md transition-all",children:a.he[c]}),(0,r.jsx)("ul",{tabIndex:0,className:"dropdown-content menu bg-base-100 rounded-box z-[1] w-40 p-2 shadow",children:Object.keys(a.he).map(e=>{let t=a.he[e];return(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"#",title:"switch to ".concat(t),className:"cursor-pointer",onClick:handleSwitchLanguage(e),children:t})},e)})})]})}},2370:function(e,t,s){s.d(t,{Z:function(){return Subscribe}});var r=s(3621),a=s(1855),n=s(7375);function clsxm(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,n.m)((0,a.Z)(...t))}function PossessPoint(e){let{className:t}=e;return(0,r.jsx)("svg",{width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:clsxm("mt-1 mr-2",t),children:(0,r.jsx)("path",{d:"M5.87675 11.4876C3.50735 8.99299 0.388672 6.12376 0.388672 6.12376L1.76115 4.87647C1.76115 4.87647 4.62946 7.12159 5.0041 7.37105C5.75248 6.37322 10.6165 1.7587 13.2362 0.510498C13.4857 0.884232 13.61 0.884232 13.61 0.884232C13.61 0.884232 8.62079 5.00165 5.87675 11.4876Z",fill:"#68CD52"})})}var o=s(9748);function SubscribeCard(e){let{id:t,info:s,clickButton:a,user:n}=e;return(0,r.jsxs)("div",{id:t,className:clsxm("flex flex-col p-6 bg-white shadow-lg rounded-lg justify-between border border-gray-300",s.mainClassName?"border-".concat(s.mainClassName," relative"):""),children:[s.isPopular?(0,r.jsx)("div",{className:"px-2 py-1 text-sm text-white bg-gradient-to-r from-blue-500 to-purple-600 inline-block absolute top-3 transform -translate-x-1/2 -translate-y-1/2",children:"Popular"}):(0,r.jsx)(r.Fragment,{}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-2xl font-bold text-center",children:s.title}),(0,r.jsx)("div",{className:"text-center text-zinc-600",children:s.description}),(0,r.jsxs)("div",{className:"mt-4 text-center text-zinc-600",children:[(0,r.jsxs)("span",{className:"text-4xl font-bold",children:["$",s.amount]}),s.expireType?"/ ".concat(s.expireType):""]}),(0,r.jsx)("ul",{className:"mt-4 space-y-2",children:s.possess.length?s.possess.map(e=>(0,r.jsxs)("li",{className:"flex items-center text-xs",children:[(0,r.jsx)(PossessPoint,{})," ",e]},e)):(0,r.jsx)(r.Fragment,{})})]}),(0,r.jsx)("div",{className:"mt-6",children:"Pro"===s.title&&n&&2===n.role?(0,r.jsx)(o.z,{className:clsxm("w-full",s.buttonClassName),children:"subscribed"}):"Premium"===s.title&&n&&3===n.role?(0,r.jsx)(o.z,{className:clsxm("w-full",s.buttonClassName),children:"subscribed"}):(0,r.jsx)(o.z,{className:clsxm("w-full",s.buttonClassName),onClick:a,children:s.buttonText||"Get Started"})})]})}var i=s(107),l=s(8238),c=s(1629);c.env.NEXT_PUBLIC_PREM_MEMBERSHIP_MONTH_LIMIT_STR&&c.env.NEXT_PUBLIC_PREM_MEMBERSHIP_MONTH_LIMIT_STR,c.env.LEMON_SQUEEZY_MEMBERSHIP_MONTHLY_VARIANT_ID,c.env.LEMON_SQUEEZY_MEMBERSHIP_YEARLY_VARIANT_ID,c.env.LEMON_SQUEEZY_MEMBERSHIP_PREMIUM_MONTHLY_VARIANT_ID,c.env.LEMON_SQUEEZY_MEMBERSHIP_SINGLE_TIME_VARIANT_ID;var d=s(9604);let u={free:{title:"Free",description:"Begin Your Exploration Journey",amount:0,expireType:"month",possess:["Unlimited bookmark creation","5 AI-powered summaries per month","AI-generated content summaries","Full-text search","Import and export support","Unstable AI access"]},membership:{isPopular:!1,title:"Pro",description:"Monthly Membership",amount:9.99,expireType:"month",possess:["Unlimited bookmark creation","1,500 AI-powered summaries per month","Full-text search","Import and export support","Automatic backup to Notion","Automatic backup to Website","Stable & high-priority AI access"],buttonText:"Upgrade Now",mainClassName:"purple-500"},membershipYearly:{isPopular:!0,title:"Pro",description:"Annual Membership",amount:99.99,expireType:"year",possess:["Unlimited bookmark creation","1,500 AI-powered summaries per month","Full-text search","Import and export support","Automatic backup to Notion","Automatic backup to Website","Stable & high-priority AI access"],buttonText:"Upgrade Now",mainClassName:"purple-500",buttonClassName:"bg-gradient-to-r from-blue-500 to-purple-600"}};function Subscribe(e){let{user:t}=e,subscribe=async()=>
1{if(!t||!t.userId){d.toast.error("Please login first");return}try{let{checkoutURL:e}=await l.o.post("/api/payment/subscribe",{userId:t.userId,type:"subscription"},{headers:{token:t.accessToken}});window.location.href=e}catch(e){console.log(e)}},subscribeYearly=async()=>{if(!t||!t.userId){d.toast.error("Please login first");return}try{let{checkoutURL:e}=await l.o.post("/api/payment/subscribe",{userId:t.userId,type:"subscription_yearly"},{headers:{token:t.accessToken}});window.location.href=e}catch(e){console.log(e)}};return(0,r.jsxs)("div",{id:"pricing",className:"py-16 bg-zinc-50/50 rounded-3xl mb-20 px-4",children:[(0,r.jsxs)("div",{className:"relative z-10 flex flex-col gap-4 items-center mb-16 text-center max-w-3xl mx-auto",children:[(0,r.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-purple-100 text-purple-700 text-sm font-medium mb-2 border border-purple-200",children:[(0,r.jsx)(i.WhN,{className:"text-base"}),(0,r.jsx)("span",{children:"Plans & Pricing"})]}),(0,r.jsxs)("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight text-zinc-900",children:["Find the Perfect ",(0,r.jsx)("span",{className:"bg-clip-text text-transparent bg-gradient-to-r from-purple-600 to-blue-600",children:"Plan"})," for You"]}),(0,r.jsx)("p",{className:"text-zinc-600 text-lg max-w-2xl",children:"Unlock the full potential of your bookmarks with AI-powered insights and seamless platform integrations."})]}),(0,r.jsx)("section",{className:"w-full py-0 flex items-center justify-center",children:(0,r.jsx)("div",{className:"container px-4 md:px-6",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-3 md:gap-10 max-w-6xl mx-auto",children:[(0,r.jsx)(SubscribeCard,{info:u.free,clickButton:()=>{window.location.href="/#pricing"},user:t}),(0,r.jsx)(SubscribeCard,{id:"bootsPack-card",info:u.membershipYearly,clickButton:subscribeYearly,user:t}),(0,r.jsx)(SubscribeCard,{id:"subscription-card",info:u.membership,clickButton:subscribe,user:t})]})})}),(0,r.jsx)(d.Toaster,{position:"top-center",reverseOrder:!1,toastOptions:{duration:2e3}})]})}},9748:function(e,t,s){s.d(t,{d:function(){return l},z:function(){return c}});var r=s(3621),a=s(9073),n=s(6035),o=s(7690),i=s(6259);let l=(0,o.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=a.forwardRef((e,t)=>{let{className:s,variant:a,size:o,asChild:c=!1,...d}=e,u=c?n.g7:"button";return(0,r.jsx)(u,{className:(0,i.cn)(l({variant:a,size:o,className:s})),ref:t,...d})});c.displayName="Button"},8238:function(e,t,s){s.d(t,{o:function(){return a}});var r=s(7002);let a=r.Z.create({baseURL:"/"});a.interceptors.response.use(e=>e.data,e=>{var t,s;let r=(null===(s=e.response)||void 0===s?void 0:null===(t=s.data)||void 0===t?void 0:t.message)||e.message;return console.log(r),Promise.reject(e)})},6555:function(e,t,s){s.d(t,{al:function(){return a},he:function(){return r}}),s(3534),s(2327);let r={en:"\uD83C\uDDFA\uD83C\uDDF8 English",zh:"\uD83C\uDDE8\uD83C\uDDF3 䏿",ja:"\uD83C\uDDEF\uD83C\uDDF5 æ¥æ¬èª",ar:"\uD83C\uDDF8\uD83C\uDDE6 Ø§ÙØ¹Ø±Ø¨ÙØ©",es:"\uD83C\uDDEA\uD83C\uDDF8 Espa\xf1ol",ru:"\uD83C\uDDF7\uD83C\uDDFA Ð ÑÑÑкий",fr:"\uD83C\uDDEB\uD83C\uDDF7 Fran\xe7ais"},a="en"},6259:function(e,t,s){s.d(t,{cn:function(){return cn}});var r=s(1855),a=s(7375);function cn(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,a.m)((0,r.W)(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.