PageSourceSearch

https://pricelink.io/_next/static/chunks/9937.87cd96949ecc611b.js

js pricelink.io collected 2026-10-01 15:43:54 UTC 20,430 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9937],{25241:function(e,t,r){r.d(t,{R:function(){return l},getSellerCatalog:function(){return i},o:function(){return a}});var n=r(85477);let i=async e=>{let{page:t,pageSize:r,filters:i,sorting:l,advancedFilters:a,id:s,signal:o,infinite:d}=e,{data:c}=await n.L.post("/api/sellers/".concat(s),{page:t,pageSize:r,filters:i,sorting:l,advancedFilters:a,id:s,infinite:d},{signal:o});return{data:c.data,count:c.count,cursor:c.cursor}},l=async e=>{let{page:t,pageSize:r,filters:i,sorting:l,advancedFilters:a,id:s,signal:o,infinite:d}=e,{data:c}=await n.L.post("/api/catalog",{page:t,pageSize:r,filters:i,sorting:l,advancedFilters:a,id:s,infinite:d},{signal:o});return{data:c.data,count:c.count,cursor:c.cursor}},a=async e=>{let{data:t}=await n.L.get("/api/catalog/".concat(e));return{data:t}}},85477:function(e,t,r){r.d(t,{L:function(){return n}});let n=r(13908).Z.create({responseType:"json",timeout:3e4})},29937:function(e,t,r){r.r(t),r.d(t,{default:function(){return R}});var n=r(27573),i=r(7653),l=r(84537),a=r(58489),s=r(85569),o=r(58154),d=r(86566),c=r(60127),u=r(18995),m=r(75848),f=r(55145),p=r(56967),x=r(64357),g=r(91266),h=r(61569),v=r(32917),j=r(79901);let b=[{id:"TRIGGER_ONCE",label:"Trigger once",icon:(0,n.jsx)(g.Z,{size:18})},{id:"EMAIL_NOTIFICATION",label:"Email Notifications",icon:(0,n.jsx)(h.Z,{size:18})},{id:"SMS_ALERT",label:"SMS Alerts",icon:(0,n.jsx)(v.Z,{size:18}),disabled:!0,disabledReason:"Coming soon"}],N=e=>{let{option:t,isActive:r,onToggle:i}=e;return(0,n.jsxs)(p.E.div,{initial:{opacity:0,y:0},animate:{opacity:1,y:0},exit:{opacity:0,y:0},transition:{duration:.3},className:"\n        relative flex items-center justify-between w-full p-4 rounded-xl transition-all duration-300\n        ".concat(r?"bg-primary/10":"bg-secondary","\n        ").concat(t.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer","\n      "),onClick:()=>!t.disabled&&i(),children:[(0,n.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,n.jsx)("div",{className:"p-2 rounded-full ".concat(r?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground"),children:t.icon}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-sm font-medium",children:t.label}),t.disabled&&(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:t.disabledReason})]})]}),(0,n.jsx)(x.M,{children:r&&(0,n.jsx)(p.E.div,{initial:{scale:0},animate:{scale:1},exit:{scale:0},transition:{duration:.2},children:(0,n.jsx)(j.Z,{className:"text-primary"})})})]})};function y(e){let{activeFlags:t,setActiveFlags:r,hide:l}=e,a=(0,i.useMemo)(()=>b.filter(e=>!(null==l?void 0:l.includes(e.id))),[]),s=e=>{var t;null!==(t=a.find(t=>t.id===e))&&void 0!==t&&t.disabled||r(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])};return(0,n.jsx)("div",{className:"space-y-4 w-full",children:a.map(e=>(0,n.jsx)(N,{option:e,isActive:t.includes(e.id),onToggle:()=>s(e.id)},e.id))})}var w=r(57229);let F=e=>{let{fields:t,productId:r,productIds:i,product:p,initialData:x,initialTab:g,onSubmit:h,listIds:v}=e,{form:j,error:b,setActiveFlags:N,activeFlags:F,disabledInputs:C,conditions:S,sellerNames:I,handleSubmit:T,selectedField:E,currentValue:k,authorizedAlerts:L,currentAlert:R}=(0,f.useAlertForm)(t,r,i,p,h,x,v);return(0,n.jsx)(a.Form,{...j,children:(0,n.jsxs)("form",{onSubmit:j.handleSubmit(T,e=>{(0,s._N)("Validation error occurred"),console.error("errors",e)}),children:[(0,n.jsxs)(o.Tabs,{defaultValue:g||"conditions",children:[(0,n.jsxs)(o.TabsList,{className:"w-full",children:[(0,n.jsx)(o.TabsTrigger,{className:"w-full",value:"conditions",children:"Conditions"}),(0,n.jsx)(o.TabsTrigger,{className:"w-full",value:"notifications",children:"Notifications"}),(0,n.jsx)(o.TabsTrigger,{className:"w-full",value:"additional",children:"Additional"})]}),(0,n.jsx)(o.TabsContent,{value:"conditions",children:(0,n.jsxs)("div",{className:"grid gap-y-4 py-4",children:[(0,n.jsx)("div",{className:"items-center gap-4",children:(0,n.jsx)(a.FormField,{control:j.control,name:"alertName",render:e=>{let{field:t}=e;return(0,n.jsxs)(a.FormItem,{children:[(0,n.jsx)(a.FormLabel,{children:"Field"}),(0,n.jsx)(a.FormControl,{children:(0,n.jsxs)(d.Select,{...t,onValueChange:e=>{e&&t.onChange({target:{value:e}})},children:[(0,n.jsx)(d.SelectTrigger,{className:"w-full",children:(0,n.jsx)(d.SelectValue,{placeholder:t.value||"Select field"})}),(0,n.jsx)(d.SelectContent,{children:L.map((e,t)=>(0,n.jsx)(d.SelectItem,{value:e.displayName,children:e.displayName},t))})]})})]})}})}),(0,n.jsx)("div",{className:"items-center gap-4",children:(0,n.jsx)(a.FormField,{control:j.control,name:"condition",render:e=>{let{field:t}=e;return(0,n.jsxs)(a.FormItem,{children:[(0,n.jsx)(a.FormLabel,{children:"Condition"}),(0,n.jsxs)(d.Select,{...t,onValueChange:e=>
1{t.onChange({target:{value:e}})},children:[(0,n.jsx)(d.SelectTrigger,{className:"w-full",children:(0,n.jsx)(d.SelectValue,{placeholder:"Select condition"})}),(0,n.jsx)(d.SelectContent,{children:S.map(e=>(0,n.jsx)(d.SelectItem,{value:e,children:e},e))})]})]})}})}),(0,n.jsx)(a.FormField,{control:j.control,name:"value",disabled:C.value,render:e=>{let{field:t}=e;return(0,n.jsxs)(a.FormItem,{children:[(0,n.jsxs)(a.FormLabel,{children:["Value"," ",p&&k&&(0,n.jsxs)("span",{className:"text-xs text-muted-foreground",children:["(current value: ",k,")"]})]}),(0,n.jsx)(c.I,{...t,className:"w-full"})]})}}),R&&R.userFilter&&(0,n.jsx)(w.UserFilter,{control:j.control,currentAlert:R,product:p,existingAlert:x})]})}),(0,n.jsx)(o.TabsContent,{value:"notifications",children:(0,n.jsx)("div",{className:"grid gap-y-4 py-4",children:(0,n.jsx)("div",{className:"items-center gap-4",children:(0,n.jsx)(y,{activeFlags:F,setActiveFlags:N,hide:[]})})})}),(0,n.jsx)(o.TabsContent,{value:"additional",children:(0,n.jsx)("div",{className:"grid gap-y-4 py-4",children:(0,n.jsx)("div",{className:"items-center gap-4",children:(0,n.jsx)(a.FormField,{control:j.control,name:"description",render:e=>{let{field:t}=e;return(0,n.jsxs)(a.FormItem,{children:[(0,n.jsx)(a.FormLabel,{children:"Description"}),(0,n.jsx)(u.g,{...t,className:"w-full resize-none"}),(0,n.jsx)(a.FormDescription,{children:"Additional alert description. Optional."})]})}})})})})]}),b&&(0,n.jsx)("p",{className:"text-sm text-red-500 mb-4",children:b}),(0,n.jsx)(l.eW,{className:"w-full px-0 pb-0 mb-0 flex-col gap-y-4",children:(0,n.jsx)(m.Z,{type:"submit",className:"w-full",loading:j.formState.isSubmitting,children:x?"Save Changes":i?"Create new alerts!":"Create new alert!"})})]})})};var C=r(21521);r(43503);var S=r(99976),I=(0,S.$)("d2ef1aa395ea16dfdbfb34f3617658e1b5ee5445"),T=(0,S.$)("d173baa8c23b18a2fc47755d7934f136f141b032"),E=r(5068),k=r(25241),L=r(72659);function R(e){let{show:t,setShow:r,fields:a,productId:s,productIds:o,initialData:d,product:c,onSubmit:u,listIds:m}=e,{data:f,refetch:p}=(0,E.a)({queryKey:["alert-modal-product",s],enabled:!1,queryFn:async()=>s?(await (0,k.o)(s)).data:void 0});(0,i.useEffect)(()=>{c||p()},[]);let x=(0,i.useMemo)(()=>null!=c?c:null==f?void 0:f.data,[c,f]),g=async e=>{let t;t=d?I(d.id,e):T(e),await (0,C.Z)(t),(t=await t).error||(u&&u(),r(!1))};return(0,n.jsx)(L.u,{showModal:t,setShowModal:r,className:"gap-0 sm:max-w-[500px]",children:(0,n.jsxs)(l.Zb,{className:"border-0 shadow-none",children:[(0,n.jsx)(l.Ol,{className:"pb-4",children:(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)("div",{className:"h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center",children:d?(0,n.jsx)("svg",{className:"h-5 w-5 text-blue-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"})}):(0,n.jsx)("svg",{className:"h-5 w-5 text-blue-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 17h5l-5 5v-5zM9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(l.ll,{className:"text-xl",children:d?"Edit Alert":o?"Create Alerts":"Create Alert"}),(0,n.jsx)(l.SZ,{className:"mt-1",children:d?"Modify your alert settings and conditions":o?"Set up customized alerts for multiple products":"Configure your price monitoring alert"})]})]})}),(0,n.jsx)(l.aY,{className:"w-full pt-0",children:(0,n.jsx)(F,{onSubmit:g,fields:a,productId:s,productIds:o,listIds:m,initialData:d,product:x})})]})})}},21521:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(85569);async function i(e,t,r){try{let r=await e;if(r.error)throw r.error;return(0,n.Am)({title:t||"Success",description:r.success}),r}catch(e){(0,n.Am)({title:r||"Error",description:e.toString(),variant:"destructive"})}}},86926:function(e,t,r){r.d(t,{ES:function(){return n},SN:function(){return l}});let n="Specific Seller Stock",i=["Greater than","Less than","Any change","Equal to"],l=[{name:"offers.stockQuantity",displayName:"Total Stock",allowedConditions:i},{name:"offers.stockQuantity",displayName:"WFS Stock",filter:"wfsEnabled|true",allowedConditions:i},{name:"offers.stockQuantity",displayName:"SF Stock",filter:"wfsEnabled|false",allowedConditions:i},{name:"offers.stockQuantity",displayName:"Walmart stock",filter:"sellerName|Walmart.com",allowedConditions:i},{name:"offers.stockQuantity",displayName:"Specific Seller Stock",userFilter:"sellerName",allowedConditions:i},{name:"buyboxPrice",displayName:"Buybox price",allowedConditions:i},{name:"bestPrice",displayName:"Lowest price",allowedConditions:i},{name:"offers.price",displayName:"WFS Lowest Price",filter:"wfsEnabled|true",aggregator:"lowest",allowedConditions:i},{name:"offers.price",displayName:"SF Lowest Price",filter:"wfsEnabled|false",aggregator:"lowest",allowedConditions:i},{name:"offers.price",displayName:"Walmart price",filter:"sellerName|Walmart.com",allowedConditions:i},{name:"offers.id",displayName:"Total WFS offers",filter:"wfsEnabled|true",aggregator:"count",allowedConditions:i},{name:"offers.id",displayName:"Total SF offers",filter:"wfsEnabled|false",aggregator:"count",allowedConditions:i},{name:"offers.sellerName",displayName:"Buybox offer seller name",filter:"isWinning|true",allowedConditions:["Equal to","Any change"]},{name:"reviews",displayName:"Reviews",allowedConditions:i},{name:"verifiedReviews",displayName:"Verified reviews",allowedConditions:i},{name:"variationCount",displayName:"Variation count",allowedConditions:i},{name:"offerCount",displayName:"Total offers",allowedConditions:i}]},55145:function(e,t,r){r.r(t),r.d(t,{useAlertForm:function(){return u}});var n=r(7653),i=r(93351),l=r(18113),a=r(41270);let s=a.z.object({productId:a.z.string().optional(),productIds:a.z.array(a.z.string()).optional(),listIds:a.z.array(a.z.string()).optional(),alertName:a.z.string(),condition:a.z.string(),value:a.z.string().optional(),flags:a.z.any().optional(),description:a.z.string().optional(),userFilterValue:a.z.string().optional(),sellerName:a.z.string().optional()}).refine(e=>e.productId||e.productIds||e.listIds,{message:"productId and productIds are conditionally required",path:["productId","productIds","listIds"]}).refine(e=>!0,{message:"Required",path:["sellerName"]});var o=r(86926),d=r(73995);let c=[o.ES],u=(e,t,r,a,u,m,f)=>
1{var p,x;let g=(0,n.useMemo)(()=>r||f?o.SN.filter(e=>!c.includes(e.displayName)):o.SN,[]),h=(0,n.useMemo)(()=>{var e,t;let r=null==m?void 0:null===(e=m.filter)||void 0===e?void 0:e.split("|");if(null==r?void 0:null===(t=r.at(0))||void 0===t?void 0:t.includes("sellerName"))return r.at(1)},[]),[v,j]=(0,n.useState)(""),b={...{...m,productId:void 0},productId:t,productIds:r,listIds:f,description:null!==(x=null==m?void 0:m.description)&&void 0!==x?x:void 0,alertName:null===(p=(0,d.l)(m))||void 0===p?void 0:p.displayName,sellerName:(null==h?void 0:h.includes("Walmart.com"))?void 0:h},N=(0,n.useMemo)(()=>(console.log({product:a}),a)?a.offers.map(e=>e.sellerName):[],[]),y=async e=>{if(await w.trigger(),u)return u({...e,flags:S})},w=(0,i.cI)({resolver:(0,l.F)(s),defaultValues:b}),F=w.watch("alertName"),C=w.watch("userFilterValue");(0,n.useEffect)(()=>{w.reset(b)},[r,t,m]);let[S,I]=(0,n.useState)((null==m?void 0:m.flags)||["EMAIL_NOTIFICATION"]),[T,E]=(0,n.useState)({}),{condition:k,alertName:L}=w.watch(),[R,A]=(0,n.useState)(),M=(0,n.useMemo)(()=>R?R.allowedConditions:["Greater than","Less than","Equal to","Any change"],[R]);return(0,n.useEffect)(()=>{let e=g.find(e=>L===e.displayName);A(e),e&&!e.allowedConditions.includes(k)&&w.setValue("condition",null==e?void 0:e.allowedConditions[0])},[L,g]),(0,n.useEffect)(()=>{"Any change"===k?E(e=>({...e,value:!0})):E(e=>({...e,value:!1}))},[k]),{form:w,handleSubmit:y,conditions:M,disabledInputs:T,selectedField:F,sellerNames:N,activeFlags:S,setActiveFlags:I,error:v,currentValue:(0,n.useMemo)(()=>{let e=null==R?void 0:R.filter;if(R&&a)return C&&R.userFilter&&(e="".concat(R.userFilter,"|").concat(C)),(0,d.a)(a,R.name,e,R.aggregator)},[R,C,a]),authorizedAlerts:g,currentAlert:R}}},57229:function(e,t,r){r.d(t,{UserFilter:function(){return o}});var n=r(27573),i=r(58489),l=r(86566),a=r(7653),s=r(85145);function o(e){let{control:t,currentAlert:r,product:o,existingAlert:d}=e,c=(0,a.useMemo)(()=>{if(d&&r.userFilter&&d.filter)return d.filter.split("|")[1]},[d,r]),u=(0,a.useMemo)(()=>o.offers.map(e=>r.userFilter?e[r.userFilter]:void 0).filter(e=>!!e),[o,r]),m=(0,a.useMemo)(()=>(0,s.Ie)(r.userFilter||""),[r]);return(0,n.jsx)(i.FormField,{control:t,name:"userFilterValue",defaultValue:c,render:e=>{let{field:t}=e;return(0,n.jsxs)(i.FormItem,{children:[(0,n.jsx)(i.FormLabel,{children:m}),(0,n.jsxs)(l.Select,{...t,onValueChange:e=>{t.onChange({target:{value:e}})},children:[(0,n.jsx)(l.SelectTrigger,{className:"w-full",children:(0,n.jsx)(l.SelectValue,{placeholder:"Select seller"})}),(0,n.jsx)(l.SelectContent,{children:u.map(e=>(0,n.jsx)(l.SelectItem,{value:e,children:e},e))})]}),(0,n.jsx)(i.FormMessage,{})]})}})}},73995:function(e,t,r){r.d(t,{a:function(){return function e(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"sum",l=r.split("."),a=l.shift();if(l.length>1)return e(t[a],l.join("."));let s=t[a];if(s instanceof Array){if(0===s.length)return;let e=(null==n?void 0:n.split("|"))||[],t=s.filter(t=>"object"!=typeof t||!n||t[e[0]].toString()==e[1]).map(e=>l.length>0?e[l[0]]:e),r={count:(e,t)=>e+1,sum:(e,t)=>e+t,lowest:(e,t)=>void 0===e||t<e?t:e,highest:(e,t)=>void 0===e||t>e?t:e};return"number"==typeof t[0]||"count"==i?(r[i]||(i="sum"),t.reduce(r[i]||r.sum,0).toString()):t.join(", ")}return s}},l:function(){return i}});var n=r(86926);let i=e=>n.SN.find(t=>{var r;return t.name===(null==e?void 0:e.field)&&(t.filter==(null==e?void 0:e.filter)||t.userFilter&&(null==e?void 0:null===(r=e.filter)||void 0===r?void 0:r.includes(t.userFilter)))})},58489:function(e,t,r){r.r(t),r.d(t,{Form:function(){return d},FormControl:function(){return g},FormDescription:function(){return h},FormField:function(){return u},FormItem:function(){return p},FormLabel:function(){return x},FormMessage:function(){return v},FormRootError:function(){return j},useFormField:function(){return m}});var n=r(27573),i=r(7653),l=r(8828),a=r(93351),s=r(29986),o=r(59435);let d=a.RV,c=i.createContext({}),u=e=>{let{...t}=e;return(0,n.jsx)(c.Provider,{value:{name:t.name},children:(0,n.jsx)(a.Qr,{...t})})},m=()=>{let e=i.useContext(c),t=i.useContext(f),{getFieldState:r,formState:n}=(0,a.Gc)(),l=r(e.name,n);if(!e)throw Error("useFormField should be used within <FormField>");let{id:s}=t;return{id:s,name:e.name,formItemId:"".concat(s,"-form-item"),formDescriptionId:"".concat(s,"-form-item-description"),formMessageId:"".concat(s,"-form-item-message"),...l}},f=i.createContext({}),p=i.forwardRef((e,t)=>
1{let{className:r,...l}=e,a=i.useId();return(0,n.jsx)(f.Provider,{value:{id:a},children:(0,n.jsx)("div",{ref:t,className:(0,s.cn)("space-y-2",r),...l})})});p.displayName="FormItem";let x=i.forwardRef((e,t)=>{let{className:r,...i}=e,{error:l,formItemId:a}=m();return(0,n.jsx)(o._,{ref:t,className:(0,s.cn)(l&&"text-destructive",r),htmlFor:a,...i})});x.displayName="FormLabel";let g=i.forwardRef((e,t)=>{let{...r}=e,{error:i,formItemId:a,formDescriptionId:s,formMessageId:o}=m();return(0,n.jsx)(l.g7,{ref:t,id:a,"aria-describedby":i?"".concat(s," ").concat(o):"".concat(s),"aria-invalid":!!i,...r})});g.displayName="FormControl";let h=i.forwardRef((e,t)=>{let{className:r,...i}=e,{formDescriptionId:l}=m();return(0,n.jsx)("p",{ref:t,id:l,className:(0,s.cn)("text-[0.8rem] text-muted-foreground",r),...i})});h.displayName="FormDescription";let v=i.forwardRef((e,t)=>{let{className:r,children:i,...l}=e,{error:a,formMessageId:o}=m(),d=a?String(null==a?void 0:a.message):i;return d?(0,n.jsx)("p",{ref:t,id:o,className:(0,s.cn)("text-[0.8rem] font-medium text-destructive",r),...l,children:d}):null});v.displayName="FormMessage";let j=i.forwardRef((e,t)=>{let{className:r,...i}=e,{errors:l}=(0,a.cl)(),o=l.root;return o?(0,n.jsx)("p",{ref:t,className:(0,s.cn)("text-sm font-medium text-destructive",r),...i,children:o.message}):null});j.displayName="FormRootError"},60127:function(e,t,r){r.d(t,{I:function(){return a}});var n=r(27573),i=r(7653),l=r(29986);let a=i.forwardRef((e,t)=>{let{className:r,type:i,...a}=e;return(0,n.jsx)("input",{type:i,className:(0,l.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...a})});a.displayName="Input"},59435:function(e,t,r){r.d(t,{_:function(){return d}});var n=r(27573),i=r(7653),l=r(1001),a=r(49289),s=r(29986);let o=(0,a.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=i.forwardRef((e,t)=>{let{className:r,...i}=e;return(0,n.jsx)(l.Root,{ref:t,className:(0,s.cn)(o(),r),...i})});d.displayName=l.Root.displayName},75848:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(27573),i=r(95239),l=r(49877);function a(e){let{loading:t,disabled:r}=e;return(0,n.jsxs)(i.z,{...e,loading:void 0,disabled:r||t,children:[!t&&e.children,t&&(0,n.jsx)(l.P.spinner,{className:"animate-spin"})]})}},58154:function(e,t,r){r.r(t),r.d(t,{Tabs:function(){return s},TabsContent:function(){return c},TabsList:function(){return o},TabsTrigger:function(){return d}});var n=r(27573),i=r(7653),l=r(84132),a=r(29986);let s=l.fC,o=i.forwardRef((e,t)=>{let{className:r,...i}=e;return(0,n.jsx)(l.aV,{ref:t,className:(0,a.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",r),...i})});o.displayName=l.aV.displayName;let d=i.forwardRef((e,t)=>{let{className:r,...i}=e;return(0,n.jsx)(l.xz,{ref:t,className:(0,a.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",r),...i})});d.displayName=l.xz.displayName;let c=i.forwardRef((e,t)=>{let{className:r,...i}=e;return(0,n.jsx)(l.VY,{ref:t,className:(0,a.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",r),...i})});c.displayName=l.VY.displayName},18995:function(e,t,r){r.d(t,{g:function(){return a}});var n=r(27573),i=r(7653),l=r(29986);let a=i.forwardRef((e,t)=>{let{className:r,...i}=e;return(0,n.jsx)("textarea",{className:(0,l.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});a.displayName="Textarea"},85145:function(e,t,r){function n(e){let t=e.thumbnail_image||e.image;if(!t)return"";
1let r=t.match(/\/seo\/([^_]+)/),n="";return r&&r.length>1&&(n=r[1]),n}function i(e){return e.replace(/(?!^)([A-Z])/g," $1").toLowerCase().replace(/^./,e=>e.toUpperCase())}r.d(t,{E1:function(){return n},Ie:function(){return i}})}}]);

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.