1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7925],{97364:function(e,l,t){t.r(l),t.d(l,{default:function(){return w}});var r=t(57437),s=t(2265),n=t(19643),o=t(46387),a=t(52180),i=t(84121),C=t(91003),d=t(47644),c=t(72585),v=t(95846),u=t(15127),g=t(17716),x=t(20914);let p=[d.Nb.DROPDOWN,d.Nb.UNLABELED_UPLOAD,d.Nb.LABELED_UPLOAD],h=(e,l)=>JSON.stringify(e)===JSON.stringify(l),b=e=>e.length?{questions:e}:null;function w(){let{rows:e,selectedIds:l,isSelected:t,markEditorDirty:d,commitPersonalizationDrafts:w,commitPersonalizationForApi:L}=(0,g.rn)(),f=(0,v.y)(c.xm),k=f?C.jP:1,m=f?void 0:p,j=e=>f?e:e.slice(0,1),[M,y]=(0,s.useState)([]),Z=j(M),H=(0,s.useRef)(!1);(0,s.useEffect)(()=>{H.current||(H.current=!0,(0,u.Z)(c.MX,{surface:c.Qb.BULK_GLOBAL,existingQuestionCount:0}))},[]);let[V,B]=(0,s.useState)({}),R=l=>{var t,r;let s=V[l];if(Array.isArray(s))return s;let n=e.find(e=>(0,g.XQ)(e)===l);return Array.isArray(null==n?void 0:null===(t=n.personalizationDraft)||void 0===t?void 0:t.questions)?n.personalizationDraft.questions:Array.isArray(null==n?void 0:null===(r=n.personalization)||void 0===r?void 0:r.questions)?n.personalization.questions:[]},N=(e,l)=>{w({[e]:{questions:l}}),L({[e]:{personalization:b(l)}})},E=(0,s.useRef)({}),T=function(e,l){let{immediate:t=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};B(t=>({...t,[e]:l}));let r=E.current;if(r[e]&&(clearTimeout(r[e]),delete r[e]),t){N(e,l);return}r[e]=setTimeout(()=>{delete r[e],N(e,l)},400)};(0,s.useEffect)(()=>()=>{Object.values(E.current).forEach(e=>clearTimeout(e))},[]),(0,s.useEffect)(()=>{B(l=>{let t=Object.keys(l);if(!t.length)return l;let r={...l},s=!1;return t.forEach(l=>{var t;let n=e.find(e=>(0,g.XQ)(e)===l),o=null==n?void 0:null===(t=n.personalizationDraft)||void 0===t?void 0:t.questions;Array.isArray(o)&&h(o,r[l])&&(delete r[l],s=!0)}),s?r:l})},[e]);let W=e=>f?M:[...Z,...R(e).slice(1)],A=(e,l)=>{let t=f?l:[...l,...R(e).slice(1)];T(e,t)},P=e=>{T(e,W(e),{immediate:!0})},z=e=>!h(j(R(e)),Z),O=(0,r.jsxs)(n.Z,{spacing:2,children:[(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(o.Z,{className:"text-lg font-semibold",children:"Personalization"}),(0,r.jsx)(o.Z,{className:"text-xs text-lv-text-secondary",children:"Define the questions once, then apply them to every selected listing. Remove all questions to turn personalization off."})]}),(0,r.jsx)(a.Z,{text:"Update",onClick:()=>{let e=Array.from(l||[]);if(!e.length){window.dispatchEvent(new CustomEvent("bulk-toast",{detail:{type:"error",message:"Please select at least one listing."}}));return}let t={},r={};e.forEach(e=>{let l=W(e);t[e]={questions:l},r[e]={personalization:b(l)}}),w(t),L(r),d&&d("personalization"),B({}),window.dispatchEvent(new CustomEvent("bulk-toast",{detail:{type:"success",message:"Personalization updated locally"}}))},disabled:!l.size,color:"white"})]}),(0,r.jsx)(C.ZP,{questions:Z,onChange:e=>{y(l=>f?e:[...e,...l.slice(1)])},max:k,disabledTypes:m,surface:c.Qb.BULK_GLOBAL})]});return(0,r.jsx)(x.Z,{editorKey:"personalization",globalControls:O,showSearch:!0,showImagePreview:!1,getRowCardProps:e=>{let l=(0,g.XQ)(e);return t(l)&&z(l)?{headerTrailing:(0,r.jsx)(i.ZP,{badge:"info",size:"sm",label:"Customized",tooltip:"This listing's questions differ from the global template"})}:{}},renderRow:(e,l)=>{let{isChecked:t}=l;if(!t)return null;let s=(0,g.XQ)(e),o=R(s);return(0,r.jsxs)(n.Z,{spacing:1.5,children:[(0,r.jsx)(C.ZP,{questions:j(o),onChange:e=>A(s,e),compact:!0,max:k,disabledTypes:m,surface:c.Qb.BULK_ROW,listingId:s}),(0,r.jsx)("div",{children:(0,r.jsx)(a.Z,{text:"Revert to global",color:"white-outline",onClick:()=>P(s),disabled:!z(s),width:"auto",padding:"px-3 py-[7px]",textSize:"text-xs",borderRadius:"rounded-xl",noShadow:!0})})]})}})}},84121:function(e,l,t){t.d(l,{UR:function(){return k}});var r=t(57437);t(2265);var s=t(60332),n=t(44794),o=t(92735),a=t(17625),i=t(43792);let C={width:12,height:12},d=e=>(0,r.jsxs)("svg",{viewBox:"0 0 9 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.19373 12.2753L6.87014 11.8049L7.7025 11.4111L8.02609 11.8816C8.74542 12.9274 8.39691 14.2158 7.24766 14.7595C6.88347 14.9317 6.46583 15.014 6.03647 14.9981L5.88118 14.9923L5.84467 14.1394L5.99996 14.1452C6.25757 14.1547 6.50815 14.1054 6.72667 14.002C7.41622 13.6758 7.62533 12.9028 7.19373 12.2753Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.13863 0.090077C3.31603 -0.0384305 3.58503 -0.0284432 3.77406 0.113667C4.77339 0.865095 5.34461 1.73278 5.38626 2.7058C5.42792 3.67881 4.9293 4.50678 3.9912 5.18629C3.81381 5.3148 3.54475 5.30478 3.35577 5.16268C2.35646 4.41127 1.78521 3.54358 1.74356 2.57056C1.70191 1.59755 2.20052 0.769577 3.13863 0.090077ZM3.49514 1.00865C2.93606 1.50488 2.70045 2.03695 2.72484 2.60699C2.74923 3.17704 3.03124 3.72832 3.6347 4.26771C4.19377 3.77148 4.42938 3.23941 4.40498 2.66937C4.38058 2.09932 4.0986 1.54804 3.49514 1.00865Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.01987 11.67C1.87459 11.5106 1.86531 11.2941 1.99739 11.145C2.74559 10.3003 3.66728 9.83909 4.76501 9.87981C5.86274 9.92058 6.82692 10.4517 7.64993 11.3549C7.79521 11.5143 7.80448 11.7308 7.6724 11.8799C6.92423 12.7247 6.00253 13.1858 4.9048 13.1451C3.80708 13.1043 2.84287 12.5732 2.01987 11.67ZM3.03786 11.4457C3.64171 12.0133 4.25016 12.2693 4.86828 12.2922C5.48641 12.3152 6.07484 12.1036 6.63193 11.5792C6.0281 11.0116 5.41964 10.7556 4.80152 10.7327C4.18339 10.7097 3.59498 10.9214 3.03786 11.4457Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.00895535 7.64472C-0.0345016 7.44674 0.0834036 7.25981 0.293112 7.19436C1.44695 6.83404 2.5408 6.87491 3.50922 7.40573C4.47319 7.93415 5.04847 8.80305 5.29332 9.91841C5.33678 10.1164 5.21884 10.3033 5.00915 10.3688C3.85531 10.7291 2.76146 10.6882 1.79304 10.1574C0.829065 9.62893 0.25381 8.76008 0.00895535 7.64472ZM1.06556 7.89954C1.30035 8.64721 1.71394 9.14186 2.26794 9.44552C2.81415 9.74493 3.45628 9.83678 4.2367 9.66358C4.00191 8.91592 3.58831 8.42127 3.03432 8.11756C2.4881 7.81815 1.84598 7.72635 1.06556 7.89954Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.433589 3.41096C0.506376 3.22081 0.729527 3.1139 0.964263 3.1567C2.212 3.38425 3.17265 3.91482 3.74962 4.78367C4.32427 5.64904 4.36783 6.62308 3.97159 7.65818C3.89881 7.84833 3.67566 7.95524 3.44092 7.91242C2.19318 7.68487 1.23248 7.15429 0.655567 6.2855C0.0808983 5.42007 0.0373438 4.44607 0.433589 3.41096ZM1.25389 4.08474C1.05929 4.80107 1.15975 5.39734 1.4964 5.90426C1.82851 6.40443 2.35982 6.77188 3.15124 6.98438C3.34589 6.26809 3.24544 5.67177 2.90878 5.16485C2.57667 4.6647 2.04531 4.29726 1.25389 4.08474Z",fill:"currentColor"})]}),c=e=>(0,r.jsx)("svg",{viewBox:"0 0 9 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M7.91174 5.4658C6.8194 3.65375 6.78857 2.41171 6.78857 2.40571C6.78857 2.1417 6.60963 1.90769 6.35043 1.82969C6.0912 1.75168 5.80732 1.85369 5.65921 2.0697L5.23954 2.67572C4.64092 0.881662 3.48069 0.131632 3.41898 0.0956313C3.22766 -0.0243694 2.98698 -0.0303726 2.78949 0.0716366C2.592 0.17964 2.46858 0.377646 2.46858 0.599647C2.46858 2.92172 1.77121 3.92975 1.09852 4.90178C0.561603 5.68181 0 6.48583 0 7.79984C0 10.116 1.93784 12 4.32 12C6.7022
112 8.64 10.116 8.64 7.79984C8.64 6.80385 8.2512 6.02982 7.91174 5.4598V5.4658ZM4.32 10.584C3.92503 10.1459 3.70286 9.58792 3.70286 8.99994C3.70286 8.41186 3.92503 7.85384 4.32 7.41589C4.71498 7.85384 4.93715 8.41186 4.93715 8.99994C4.93715 9.58792 4.71498 10.1459 4.32 10.584ZM5.88754 10.3739C6.07269 9.94191 6.1714 9.47992 6.1714 9.00588C6.1714 7.87787 5.63452 6.82784 4.69646 6.13182C4.47429 5.96382 4.16572 5.96382 3.94354 6.13182C3.00549 6.83385 2.46858 7.87787 2.46858 9.00588C2.46858 9.48595 2.57349 9.94794 2.75246 10.3739C1.84526 9.8519 1.23429 8.89787 1.23429 7.80587C1.23429 6.85785 1.60458 6.32383 2.12298 5.57981C2.68458 4.76378 3.35726 3.79175 3.61029 2.0637C3.92503 2.56771 4.22743 3.28773 4.32618 4.27176C4.35087 4.52377 4.53601 4.73378 4.78904 4.79378C5.04206 4.85378 5.30744 4.75178 5.44938 4.54177L5.85669 3.94775C6.04183 4.52977 6.35043 5.2558 6.84411 6.07782C7.12183 6.53983 7.40574 7.10385 7.40574 7.8119C7.40574 8.90993 6.78857 9.85793 5.88754 10.3799V10.3739Z",fill:"currentColor"})}),v=e=>(0,r.jsx)("svg",{viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M4.64297 10V8.5M7.14298 6L8.64298 7.65C8.7115 7.71989 8.758 7.80834 8.77672 7.90441C8.79544 8.00048 8.78556 8.09992 8.74829 8.19042C8.71103 8.28092 8.64802 8.3585 8.56708 8.41353C8.48615 8.46856 8.39084 8.49863 8.29298 8.5H0.992977C0.895114 8.49863 0.799806 8.46856 0.71887 8.41353C0.637933 8.3585 0.574926 8.28092 0.537661 8.19042C0.500396 8.09992 0.490511 8.00048 0.509232 7.90441C0.527953 7.80834 0.574457 7.71989 0.642977 7.65L2.14298 6H1.99298C1.89511 5.99863 1.79981 5.96856 1.71887 5.91353C1.63793 5.8585 1.57493 5.78093 1.53766 5.69042C1.5004 5.59992 1.49051 5.50048 1.50923 5.40441C1.52795 5.30834 1.57446 5.21989 1.64298 5.15L3.14298 3.5H3.04298
1C2.94085 3.50921 2.83836 3.4868 2.7494 3.43581C2.66044 3.38481 2.58931 3.3077 2.54565 3.21492C2.50198 3.12214 2.4879 3.01818 2.50532 2.91713C2.52273 2.81608 2.57078 2.72282 2.64298 2.65L4.64298 0.5L6.64298 2.65C6.71517 2.72282 6.76323 2.81608 6.78064 2.91713C6.79805 3.01818 6.78397 3.12214 6.74031 3.21492C6.69665 3.3077 6.62552 3.38481 6.53655 3.43581C6.44759 3.4868 6.3451 3.50921 6.24298 3.5H6.14298L7.64298 5.15C7.7115 5.21989 7.758 5.30834 7.77672 5.40441C7.79544 5.50048 7.78556 5.59992 7.74829 5.69042C7.71103 5.78093 7.64802 5.8585 7.56708 5.91353C7.48615 5.96856 7.39084 5.99863 7.29298 6H7.14298Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),u=e=>(0,r.jsx)("svg",{viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M5.36419 6.08767L6.13987 10.453C6.14856 10.5044 6.14134 10.5572 6.11919 10.6044C6.09705 10.6516 6.06102 10.6909 6.01593 10.7171C5.97084 10.7432 5.91883 10.755 5.86687 10.7508C5.81491 10.7466 5.76546 10.7267 5.72515 10.6936L3.89219 9.31788C3.8037 9.25178 3.69621 9.21606 3.58576 9.21606C3.4753 9.21606 3.36781 9.25178 3.27932 9.31788L1.44329 10.6931C1.40301 10.7261 1.35362 10.746 1.30172 10.7502C1.24982 10.7544 1.19788 10.7427 1.15281 10.7166C1.10775 10.6905 1.07172 10.6513 1.04952 10.6042C1.02732 10.5571 1.02001 10.5043 1.02857 10.453L1.80374 6.08767M6.65596 3.58399C6.65596 5.28061 5.28058 6.65599 3.58396 6.65599C1.88734 6.65599 0.511963 5.28061 0.511963 3.58399C0.511963 1.88737 1.88734 0.511993 3.58396 0.511993C5.28058 0.511993 6.65596 1.88737 6.65596 3.58399Z",stroke:"currentColor",strokeWidth:"1.024",strokeLinecap:"round",strokeLinejoin:"round"})}),g={sm:{full:"min-w-5 min-h-[20px] px-1.5 py-[3px] gap-[3px]",truncated:"w-[20px] h-[20px] justify-center"},md:{full:"min-w-6 min-h-[25px] px-2 py-[5px] gap-[5px]",truncated:"w-[25px] h-[25px] justify-center"}},x={sm:"text-[10px] font-semibold font-Inter leading-[10px]",md:"text-xs font-semibold font-Inter leading-3"},p={sm:{width:10,height:10},md:{width:12,height:12}},h={unavailable:{label:"Unavailable",icon:e=>(0,r.jsx)("svg",{width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M5.5 0.5V2.5C5.5 2.76522 5.60536 3.01957 5.79289 3.20711C5.98043 3.39464 6.23478 3.5 6.5 3.5H8.5M5.75 5.75L3.25 8.25M3.25 5.75L5.75 8.25M6 0.5H1.5C1.23478 0.5 0.98043 0.605357 0.792893 0.792893C0.605357 0.98043 0.5 1.23478 0.5 1.5V9.5C0.5 9.76522 0.605357 10.0196 0.792893 10.2071C0.98043 10.3946 1.23478 10.5 1.5 10.5H7.5C7.76522 10.5 8.01957 10.3946 8.20711 10.2071C8.39464 10.0196 8.5 9.76522 8.5 9.5V3L6 0.5Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})}),textClass:"var(--lv-badge-neutral-text)",backgroundClass:"var(--lv-badge-neutral-bg)",outlineClass:"var(--lv-border-strong)",tooltip:"This listing is no longer available for purchase"},active:{label:"Active",icon:e=>(0,r.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M3.63632 3.18182H4.54545L3.63636 2.27273H3.22555L3.25353 2.79903L3.63632 3.18182Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.84316 5.45386C6.83484 5.45432 6.82651 5.45455 6.81818 5.45455L5.61897 4.25533C5.71061 4.21821 5.80907 4.1988 5.90909 4.1988C6.0716 4.1988 6.22997 4.25004 6.36169 4.34522C6.37075 4.35177 6.37956 4.35864 6.38811 4.36584C6.50985 4.46828 6.66008 4.53051 6.81818 4.54436C6.97628 4.53051 7.12651 4.46828 7.24825 4.36584C7.2568 4.35864 7.26562 4.35177 7.27468 4.34522C7.40639 4.25004 7.56476 4.1988 7.72727 4.1988C7.88978 4.1988 8.04815 4.25004 8.17987 4.34522C8.18893 4.35177 8.19774 4.35864 8.20629 4.36584C8.33106 4.47082 8.48574 4.53357 8.64815 4.5453C8.76443 4.54229 8.87531 4.49478 8.95778 4.41232C9.04302 4.32708 9.09091 4.21146 9.09091 4.09091V3.18182H4.54545L3.63636 2.27273H8.44808L7.2195 1.04414L7.21854 1.04318C7.17626 1.00064 7.12597 0.966895 7.07058 0.943881C7.01519 0.920867 6.95579 0.909043 6.89581 0.909091H3.15305H3.10419C3.04421 0.909043 2.98481 0.920867 2.92942 0.943881C2.874
103 0.966895 2.82374 1.00064 2.78146 1.04318L2.7805 1.04414L2.59414 1.2305L1.95132 0.58768L2.13672 0.402273C2.26347 0.274912 2.41468 0.173315 2.58061 0.104371C2.74667 0.0353755 2.9249 -9.47709e-05 3.10472 1.90168e-07H6.89545C7.07527 -9.47709e-05 7.25333 0.0353754 7.41939 0.104371C7.5853 0.173303 7.73654 0.274945 7.86328 0.402273L9.86687 2.40586C9.95211 2.4911 10 2.60672 10 2.72727V4.09091C10 4.45257 9.85633 4.79942 9.6006 5.05515C9.45542 5.20033 9.28087 5.3094 9.09091 5.37656V7.72727L8.18182 6.81818V5.37334C8.02008 5.32054 7.86673 5.24331 7.72727 5.14385C7.46864 5.32831 7.16219 5.4363 6.84316 5.45386ZM3.25353 2.79903L3.27388 3.18182H3.63632L3.25353 2.79903ZM3.34461 4.51221L3.39356 5.43307C3.64468 5.39079 3.88321 5.29198 4.09091 5.14385C4.34955 5.32831 4.656 5.4363 4.97502 5.45386C4.99166 5.45477 5.00834 5.45477 5.02498 5.45386C5.2681 5.44048 5.50393 5.37457 5.71685 5.26233L4.99877 4.54425C4.84112 4.53019 4.69136 4.46801 4.56993 4.36584C4.56138 4.35864 4.55256 4.35177 4.54351 4.34522C4.41179 4.25004 4.25342 4.1988 4.09091 4.1988C3.9284 4.1988 3.77003 4.25004 3.63831 4.34522C3.62925 4.35177 3.62044 4.35864 3.61189 4.36584C3.53291 4.4323 3.44194 4.48183 3.34461 4.51221ZM3.4709 6.88772L3.63636 10H7.72727C8.08893 10 8.43578 9.85633 8.69151 9.6006C8.94724 9.34487 9.09091 8.99802 9.09091 8.63636L8.18182 7.72728V8.63636C8.18182 8.75692 8.13393 8.87253 8.04868 8.95778C7.96344 9.04302 7.84783 9.09091 7.72727 9.09091H6.81818V7.72727C6.81818 7.36561 6.67451 7.01877 6.41878 6.76304C6.16305 6.50731 5.81621 6.36364 5.45455 6.36364H4.54545C4.1838 6.36364 3.83695 6.50731 3.58122 6.76304C3.54174 6.80252 3.50492 6.84417 3.4709 6.88772ZM5.90909 7.72727V9.09091H4.09091V7.72727C4.09091 7.60672 4.1388 7.49111 4.22404 7.40586C4.30929 7.32062 4.4249 7.27273 4.54545 7.27273H5.45455C5.5751 7.27273 5.69071 7.32062 5.77596 7.40586C5.8612 7.49111 5.90909 7.60672 5.90909 7.72727Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M3.25353 2.79903L3.22555 2.27273H2.72722L3.25353 2.79903Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M0.909091 4.09091V3.18182H3.27388L3.25353 2.79903L2.72722 2.27273H1.55192L2.13957 1.68508L1.49674 1.04225L0.133133 2.40586C0.0478895 2.4911 0 2.60672 0 2.72727V4.09091C0 4.45257 0.143668 4.79942 0.3994 5.05515C0.544584 5.20033 0.719135 5.3094 0.909091 5.37656V8.63636C0.909091 8.99802 1.05276 9.34487 1.30849 9.6006C1.56422 9.85633 1.91107 10 2.27273 10H3.63636L3.4709 6.88772C3.28455 7.12622 3.18182 7.42145 3.18182 7.72727V9.09091H2.27273C2.15217 9.09091 2.03656 9.04302 1.95132 8.95778C1.86607 8.87253 1.81818 8.75692 1.81818 8.63636V5.37334C1.97992 5.32054 2.13327 5.24331 2.27273 5.14385C2.53136 5.32831 2.83781 5.4363 3.15684 5.45386C3.17348 5.45477 3.19016 5.45477 3.2068 5.45386C3.26963 5.4504 3.33198 5.44343 3.39356 5.43307L3.34461 4.51221C3.29191 4.52866 3.23735 4.5395 3.18182 4.54436C3.02372 4.53051 2.87349 4.46828 2.75175 4.36584C2.7432 4.35864 2.73438 4.35177 2.72532 4.34522C2.59361 4.25004 2.43524 4.1988 2.27273 4.1988C2.11022 4.1988 1.95185 4.25004 1.82013 4.34522C1.81107 4.35177 1.80226 4.35864 1.79371 4.36584C1.66894 4.47082 1.51426 4.53357 1.35185 4.5453C1.23557 4.54229 1.12469 4.49478 1.04222 4.41232C0.95698 4.32708 0.909091 4.21146 0.909091 4.09091Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M2.13957 1.68508L2.59414 1.2305L1.95132 0.58768L1.49674 1.04225L2.13957 1.68508Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M5.43007 4.36584C5.30833 4.46828 5.1581 4.53051 5 4.54436L4.99877 4.54425L5.71685 5.26233C5.78332 5.22729 5.84756 5.18773 5.90909 5.14385C6.16773 5.32831 6.47418 5.4363 6.7932 5.45386C6.80152 5.45432 6.80985 5.45455 6.81818 5.45455L5.61897 4.25533C5.56172 4.27852 5.50714 4.30862 5.45649 4.34522C5.44744 4.35177 5.43862 4.35864 5.43007 4.36584Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M9.09091 8.63636V7.72727L8.18182 6.81818V7.72728L9.09091 8.63636Z",fill:"currentColor"})]}),textClass:"var(--lv-badge-success-text)",backgroundClass:"var(--lv-badge-success-bg)",outlineClass:"var(--lv-success-border)",tooltip:"This listing is currently active and available"},available:{label:"Available",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M5.5 0.5V2.5C5.5 2.76522 5.60536 3.01957 5.79289 3.20711C5.98043 3.39464 6.23478 3.5 6.5 3.5H8.5M3 7L4 8L6 6M6 0.5H1.5C1.23478 0.5 0.98043 0.605357 0.792893 0.792893C0.605357 0.98043 0.5 1.23478 0.5 1.5V9.5C0.5 9.76522 0.605357 10.0196 0.792893 10.2071C0.98043 10.3946 1.23478 10.5 1.5 10.5H7.5C7.76522 10.5 8.01957 10.3946 8.20711 10.2071C8.39464 10.0196 8.5 9.76522 8.5 9.5V3L6 0.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-badge-new-text)",backgroundClass:"var(--lv-badge-new-bg)",outlineClass:"var(--lv-badge-new-border)",tooltip:"This listing is available for purchase"},"top-1":{label:"Top 1%",icon:d,textClass:"var(--lv-text-inverse)",backgroundClass:"var(--lv-text-primary)",outlineClass:"var(--lv-text-primary)",tooltip:"This listing is in the top 1% of performers"},vacation:{label:"Vacation Mode",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M4.73689 3.15789H2.63163L2.10531 2.63157L1.579 3.15789H0.526367C0.526367 1.70525 1.8211 0.526306 3.4211 0.526306C5.0211 0.526306 6.31584 1.70525 6.31584 3.15789C6.579 4.21052 7.89479 7.63157 6.84216 10.5263H4.73689C5.17374 9.47367 5.52637 8.42104 5.26321 7.10525M6.31584 2.70525C6.84879 2.31123 7.49517 2.10069 8.15795 2.10525C9.75795 2.10525 11.0527 3.2842 11.0527 4.73683H9.47374L8.94742 4.21052L8.4211 4.73683H6.84216M2.57374 4.05789C1.44216 5.18946 1.36321 6.93683 2.38953 7.96841L4.6211 5.73157L6.479 3.87367C5.45268 2.8421 3.70531 2.92631 2.57374 4.05789Z",stroke:"currentColor",strokeWidth:"1.05263",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-warning-strong)",backgroundClass:"var(--lv-warning-pill-bg)",outlineClass:"var(--lv-warning-border)",tooltip:"This shop is currently in vacation mode"},trending:{label:"Trending",icon:c,textClass:"var(--lv-premium-pill-text)",backgroundClass:"var(--lv-premium-pill-bg)",outlineClass:"var(--lv-premium-pill-border)",tooltip:"This listing is currently trending with increased sales activity"},inactive:{label:"Inactive",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M8.82896 4.89999C8.71924 4.79496 8.57322 4.73633 8.42133 4.73633C8.26944 4.73633 8.12342 4.79496 8.0137 4.89999C7.76897 5.13342 7.44375 5.26365 7.10554 5.26365C6.76733 5.26365 6.44211 5.13342 6.19738 4.89999C6.08769 4.79511 5.94178 4.73658 5.79001 4.73658C5.63825 4.73658 5.49234 4.79511 5.38265 4.89999C5.13789 5.13358 4.81256 5.2639 4.47422 5.2639C4.13589 5.2639 3.81056 5.13358 3.5658 4.89999C3.45609 4.79496 3.31006 4.73633 3.15817 4.73633C3.00628 4.73633 2.86026 4.79496 2.75054 4.89999C2.51414 5.12558 2.20226 5.25513 1.87561 5.26344C1.54895 5.27174 1.23089 5.15821 0.983332 4.94493C0.735775 4.73165 0.576433 4.43388 0.536322 4.10959C0.49621 3.7853 0.578199 3.45769 0.76633 3.19052L2.28686 0.988412C2.38333 0.846049 2.51322 0.729492 2.66516 0.648935C2.8171 0.568378 2.98646 0.526275 3.15843 0.526306H8.42159C8.59306 0.52624 8.76195 0.568065 8.91358 0.648142C9.0652 0.728219 9.19497 0.844125 9.29159 0.98578L10.8153 3.1921C11.0035 3.45948 11.0853 3.78734 11.045 4.1118C11.0046 4.43626 10.8449 4.73407 10.5969 4.9472C10.349 5.16032 10.0306 5.2735 9.70374 5.26468C9.3769 5.25586 9.06505 5.12566 8.82896 4.89946M1.57949 5.23683V9.47367C1.57949 9.75285 1.69039 10.02
106 1.8878 10.218C2.0852 10.4154 2.35294 10.5263 2.63212 10.5263H8.94791C9.22708 10.5263 9.49482 10.4154 9.69223 10.218C9.88964 10.0206 10.0005 9.75285 10.0005 9.47367V5.23683M4.73689 6.8421L6.84216 8.94736M6.84216 6.8421L4.73689 8.94736",stroke:"currentColor",strokeWidth:"1.05263",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-badge-neutral-text)",backgroundClass:"var(--lv-badge-neutral-bg)",outlineClass:"var(--lv-border-strong)",tooltip:"This listing is inactive or unlisted"},evergreen:{label:"Evergreen",icon:v,textClass:"var(--lv-badge-evergreen-text)",backgroundClass:"var(--lv-badge-evergreen-bg)",outlineClass:"var(--lv-badge-evergreen-border)",tooltip:"This listing has consistent, steady sales over time"},new:{label:"New",icon:u,textClass:"var(--lv-badge-new-text)",backgroundClass:"var(--lv-badge-new-bg)",outlineClass:"var(--lv-badge-new-border)",tooltip:"This is a newly listed item"},draft:{label:"Draft",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M5.5 0.5V2.5C5.5 2.76522 5.60536 3.01957 5.79289 3.20711C5.98043 3.39464 6.23478 3.5 6.5 3.5H8.5M6 0.5H1.5C1.23478 0.5 0.98043 0.605357 0.792893 0.792893C0.605357 0.98043 0.5 1.23478 0.5 1.5V9.5C0.5 9.76522 0.605357 10.0196 0.792893 10.2071C0.98043 10.3946 1.23478 10.5 1.5 10.5H7.5C7.76522 10.5 8.01957 10.3946 8.20711 10.2071C8.39464 10.0196 8.5 9.76522 8.5 9.5V3L6 0.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-badge-draft-text)",backgroundClass:"var(--lv-badge-draft-bg)",outlineClass:"var(--lv-badge-draft-border)"},edit:{label:"Edit",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M8.5 1.5L10.5 3.5M1.5 10.5H3.5L9.5 4.5L7.5 2.5L1.5 8.5V10.5Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-accent)",backgroundClass:"var(--lv-accent-bg)",outlineClass:"var(--lv-accent-border)",tooltip:"This listing has pending edits"},"shop-trending":{label:"Trending",icon:c,textClass:"var(--lv-premium-pill-text)",backgroundClass:"var(--lv-premium-pill-bg)",outlineClass:"var(--lv-premium-pill-border)"},"shop-evergreen":{label:"Evergreen",icon:v,textClass:"var(--lv-badge-evergreen-text)",backgroundClass:"var(--lv-badge-evergreen-bg)",outlineClass:"var(--lv-badge-evergreen-border)"},"shop-new":{label:"New",icon:u,textClass:"var(--lv-badge-new-text)",backgroundClass:"var(--lv-badge-new-bg)",outlineClass:"var(--lv-badge-new-border)"},success:{label:"Success",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M10 3L4.5 8.5L2 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-badge-success-text)",backgroundClass:"var(--lv-badge-success-bg)",outlineClass:"var(--lv-success-border)",tooltip:"Success"},warning:{label:"Warning",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M6 4V6.5M6 8.5H6.005M1.5 10H10.5L6 1.5L1.5 10Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-warning-strong)",backgroundClass:"var(--lv-warning-pill-bg)",outlineClass:"var(--lv-warning-border)",tooltip:"Warning"},error:{label:"Error",icon:e=>(0,r.jsxs)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:[(0,r.jsx)("path",{d:"M6 11C8.76142 11 11 8.76142 11 6C11 3.23858 8.76142 1 6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11Z",stroke:"currentColor",strokeWidth:"1.2"}),(0,r.jsx)("path",{d:"M4 4L8 8M8 4L4 8",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]}),textClass:"var(--lv-error-strong)",backgroundClass:"var(--lv-error-pill-bg)",outlineClass:"var(--lv-error-border)",tooltip:"Error"},info:{label:"Info",icon:e=>(0,r.jsxs)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:[(0,r.jsx)("path",{d:"M6 11C8.76142 11 11 8.76142 11 6C11 3.23858 8.76142 1 6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11Z",stroke:"currentColor",strokeWidth:"1.2"}),(0,r.jsx)("path",{d:"M6 5.5V8.5M6 3.5H6.005",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]}),textClass:"var(--lv-badge-info-text)",backgroundClass:"var(--lv-badge-info-bg)",outlineClass:"var(--lv-info-border)",tooltip:"Info"},beta:{label:"Beta",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M3 10V2.5C3 2.10218 3.15804 1.72064 3.43934 1.43934C3.72064 1.15804 4.10218 1 4.5 1C4.89782 1 5.27936 1.15804 5.56066 1.43934C5.84196 1.72064 6 2.10218 6 2.5V10M3 6H6C6.39782 6 6.77936 6.15804 7.
106066 6.43934C7.34196 6.72064 7.5 7.10218 7.5 7.5V8.5C7.5 8.89782 7.34196 9.27936 7.06066 9.56066C6.77936 9.84196 6.39782 10 6 10H3",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"text-white",backgroundClass:"var(--lv-selected)",outlineClass:"var(--lv-selected)"},"coming-soon":{label:"Coming Soon",icon:e=>(0,r.jsxs)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:[(0,r.jsx)("path",{d:"M6 11C8.76142 11 11 8.76142 11 6C11 3.23858 8.76142 1 6 1C3.23858 1 1 3.23858 1 6C1 8.76142 3.23858 11 6 11Z",stroke:"currentColor",strokeWidth:"1.2"}),(0,r.jsx)("path",{d:"M6 3V6L8 7",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),textClass:"var(--lv-badge-neutral-text)",backgroundClass:"var(--lv-badge-neutral-bg)",outlineClass:"var(--lv-border-strong)"},placeholder:{label:"Placeholder",icon:s.Z,textClass:"var(--lv-selected)",backgroundClass:"var(--lv-selected-light)",outlineClass:"var(--lv-selected-border)",tooltip:"An empty design slot â each listing uploads its own design here at bulk-create."},free:{label:"Free",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M6 1L7.545 4.13L11 4.635L8.5 7.07L9.09 10.515L6 8.885L2.91 10.515L3.5 7.07L1 4.635L4.455 4.13L6 1Z",stroke:"currentColor",strokeWidth:"1.1",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-badge-neutral-text)",backgroundClass:"var(--lv-badge-neutral-bg)",outlineClass:"var(--lv-border-strong)"},pro:{label:"Pro",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M6 1L7.545 4.13L11 4.635L8.5 7.07L9.09 10.515L6 8.885L2.91 10.515L3.5 7.07L1 4.635L4.455 4.13L6 1Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.1",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"text-white",backgroundClass:"var(--lv-selected)",outlineClass:"var(--lv-selected)"},enterprise:{label:"Enterprise",icon:e=>(0,r.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...C,...e,children:(0,r.jsx)("path",{d:"M1.5 10.5H10.5M2.5 1.5H7.5V10.5H2.5V1.5ZM7.5 4H9.5V10.5H7.5V4ZM4 4H4.005M4 6H4.005M4 8H4.005M6 4H6.005M6 6H6.005M6 8H6.005",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})}),textClass:"var(--lv-text-inverse)",backgroundClass:"var(--lv-text-primary)",outlineClass:"var(--lv-text-primary)"},physical:{label:"Physical",icon:n.Z,textClass:"var(--lv-badge-neutral-text)",backgroundClass:"var(--lv-badge-neutral-bg)",outlineClass:"var(--lv-border-strong)",tooltip:"Physical product â shipped to the buyer"},digital:{label:"Digital",icon:o.Z,textClass:"var(--lv-badge-info-text)",backgroundClass:"var(--lv-badge-info-bg)",outlineClass:"var(--lv-info-border)",tooltip:"Digital download â delivered to the buyer as files"},pod:{label:"POD",icon:a.Z,textClass:"var(--lv-accent)",backgroundClass:"var(--lv-accent-bg)",outlineClass:"var(--lv-accent-border)",tooltip:"Print-on-demand â produced and fulfilled when ordered"}},b=e=>"string"==typeof e&&(e.trim().startsWith("#")||e.trim().startsWith("var(")),w={"top-1%":"top-1",top1:"top-1",vacation_mode:"vacation",expired:"unavailable"},L=e=>{if(!e)return null;let l=e.toLowerCase().replace(/\s+/g," ");return h[l]?l:w[l]||l},f=e=>e?e.replace(/_/g," ").trim().split(/\s+/).map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "):e;l.ZP=e=>{let{badge:l="unavailable",label:t,variant:s="full",size:n="md",className:o="",iconProps:a={},tooltip:C,style:c}=e,v=L(l),u=h[v];if(!u)return null;let w=t||u.label,k=void 0!==t?w:f(w),m=void 0!==C?C:u.tooltip,j={},M=[],y=(e,l)=>{e&&(b(e)?j[l]=e:M.push(e))};y(u.backgroundClass,"backgroundColor"),y(u.outlineClass,"outlineColor"),y(u.textClass,"color"),b(u.outlineClass)&&(j.boxShadow="0px 2px 4px -2px ".concat(u.outlineClass));let Z=g[n]||g.md,H=x[n]||x.md,V={...p[n]||p.md,...a},B=["inline-flex items-center rounded-[9px] outline outline-1 outline-offset-[-1px]",Z[s]||Z.full,...M,o].filter(
1Boolean).join(" "),R=u.icon,N=u.trailingIcon,E="top-1"===v?(()=>{let e="full"===s,l="sm"===n?"h-[10px] shrink-0":"h-3 shrink-0",t={...Object.keys(j).length?j:{},...c};return(0,r.jsxs)("div",{style:Object.keys(t).length?t:void 0,className:e?"".concat(B," px-2 py-[5px] gap-2 items-center"):"".concat(B," px-2 py-[5px] gap-0 items-center"),"aria-label":w,children:[(0,r.jsx)(d,{...V,className:l,"aria-hidden":"true"}),e?(0,r.jsxs)("span",{className:H,children:["Top ",(0,r.jsx)("span",{className:"font-semibold",children:"1%"})]}):(0,r.jsx)("span",{className:"sr-only",children:w}),(0,r.jsx)(d,{...V,className:"".concat(l," -scale-x-100"),"aria-hidden":"true"})]})})():(0,r.jsxs)("div",{className:B,style:Object.keys({...j,...c}).length?{...j,...c}:void 0,"aria-label":w,children:[(0,r.jsx)(R,{...V}),"full"===s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:H,children:k}),N?(0,r.jsx)(N,{...V}):null]}):(0,r.jsx)("span",{className:"sr-only",children:k})]});return m?(0,r.jsx)(i.Z,{title:m,children:(0,r.jsx)("span",{style:{display:"inline-flex"},children:E})}):E};let k=e=>!!h[L(e)];Object.keys(h)},26420:function(e,l,t){var r=t(57437);t(2265);var s=t(43792),n=t(77543);let o={neutral:{color:n.oR.textTertiary,backgroundColor:"var(--lv-bg-muted, #F3F4F6)"},warning:{color:n.oR.warningStrong,backgroundColor:n.oR.warningSurface},error:{color:n.oR.errorStrong,backgroundColor:n.oR.errorSurface}};l.Z=e=>{let{state:l="neutral",label:t,tooltip:n,className:a=""}=e;if(!t)return null;let i=o[l]||o.neutral,C=(0,r.jsx)("span",{className:"".concat("inline-flex items-center rounded-md px-1.5 py-[2px]"," ").concat(a).trim(),style:i,role:"error"===l?"alert":void 0,children:(0,r.jsx)("span",{className:"text-[10px] font-medium font-Inter leading-[12px]",children:t})});return n?(0,r.jsx)(s.Z,{title:n,children:(0,r.jsx)("span",{style:{display:"inline-flex"},children:C})}):C}}}]);
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.