PageSourceSearch

https://ship.shipfare.com/static/js/8825.8be7722f.chunk.js

js shipfare.com collected 2026-09-28 05:53:56 UTC 35,092 bytes, 2 lines download raw bytes

1/*! For license information please see 8825.8be7722f.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunk_vndr_ship_client=self.webpackChunk_vndr_ship_client||[]).push([[8825],{24122(e,t,l){l.d(t,{A:()=>a});l(67252);var s=l(84489),n=l(28872);const a=e=>{let t=e.show,l=e.entity,a=e.rows,i=e.handleClose,r=e.handleSubmit,o=e.allFilterOrdersSelected,d=e.customText;return(0,n.jsx)(s.aF,{maxWidth:"xs",open:t,title:"Delete ".concat(l),handleClose:i,actions:[{isClose:!0,label:"Cancel"},{onClick:r,label:"Confirm Delete",color:"error"}],children:(0,n.jsx)("div",{children:d||(o?(0,n.jsxs)(s.o5,{children:["All ",(0,n.jsx)("b",{children:l})," under current filters will be deleted!"]}):(0,n.jsx)("div",{className:"flex align-items-center",children:(0,n.jsxs)(s.o5,{component:"span",style:{marginRight:20},children:["Following ",(0,n.jsx)("b",{children:l})," will be deleted:",(0,n.jsxs)("ul",{children:["Packagings"===l?null===a||void 0===a?void 0:a.map((e,t)=>(0,n.jsxs)("li",{children:[e.title," - ",e.sku]},t)):null,"Products"===l?null===a||void 0===a?void 0:a.map((e,t)=>(0,n.jsxs)("li",{children:[e.title," - ",e.sku]},t)):null,"Warehouses"===l?null===a||void 0===a?void 0:a.map((e,t)=>(0,n.jsx)("li",{children:e.name},t)):null,"Boxes"===l?null===a||void 0===a?void 0:a.map((e,t)=>(0,n.jsx)("li",{children:e.name},t)):null,"Customers"===l?null===a||void 0===a?void 0:a.map((e,t)=>(0,n.jsx)("li",{children:e.name},t)):null,"Users"===l?null===a||void 0===a?void 0:a.map((e,t)=>(0,n.jsx)("li",{children:e.name},t)):null]}),"Do you want to proceed?"]})}))})})}},70086(e,t,l){l.d(t,{A:()=>p});var s=l(98477),n=l(39698),a=l(67252),i=l(67973),r=l(13872),o=l(84489),d=l(28872);const c={display:"inline-block"},u={display:"flex",flexDirection:"row",flexWrap:"wrap"},m={display:"inline-flex",borderRadius:2,border:"1px solid #EDEDF7",width:150,height:150,padding:4,margin:0,cursor:"pointer",boxSizing:"border-box"},v={display:"flex",minWidth:0,overflow:"hidden",width:"100%"},h={display:"block",height:"100%",width:"100%",objectFit:"contain"},x={display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",width:"100%",height:"100%"},p=e=>{let t=e.initialImage,l=e.onImageChange,p=e.maxFileSizeInKb,w=void 0===p?500:p,g=e.handleDeleteImage,j=e.uploadOption,f=void 0!==j&&j,y=e.uploadButtonProps,b=void 0===y?{}:y;const A=(0,a.useState)(null),C=(0,n.A)(A,2),N=C[0],S=C[1],E=(0,a.useState)(!1),T=(0,n.A)(E,2),k=T[0],I=T[1],D=(0,a.useState)(null),_=(0,n.A)(D,2),P=_[0],F=_[1],U=(0,a.useState)(!1),H=(0,n.A)(U,2),z=H[0],L=H[1];(0,a.useEffect)(()=>()=>{N&&N.length&&N.forEach(e=>URL.revokeObjectURL(e.preview))},[N]);const M=(0,a.useCallback)(async(e,t)=>{if(I(!0),F(null),t&&t.length)return I(!1),F("error uploading file");if(Math.ceil(e[0].size/1e3)>w){const t=await(0,r.A)(e[0],{maxSizeMB:.5,useWebWorker:!1});e[0]=t}S(e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)}))),l&&l(e[0],{setDropping:I,setDropError:F})},[l,w]),R=(0,i.VB)({onDrop:M,multiple:!1,accept:{"image/*":[]}}),B=R.getRootProps,O=R.getInputProps,$=()=>{S(null),L(!1)};var W,Y;return f?(0,d.jsxs)("div",(0,s.A)((0,s.A)({},B({className:"dropzone tw-flex tw-justify-center"})),{},{children:[(0,d.jsx)("input",(0,s.A)({},O())),null!==(W=null===b||void 0===b||null===(Y=b.render)||void 0===Y?void 0:Y.call(b))&&void 0!==W?W:(0,d.jsx)(o.$n,(0,s.A)((0,s.A)({color:"primary",variant:"contained"},b),{},{children:"Change"}))]})):(0,d.jsx)("div",{children:(0,d.jsxs)("section",{style:c,children:[(0,d.jsxs)("div",(0,s.A)((0,s.A)({},B({className:"dropzone "})),{},{children:[(0,d.jsx)("input",(0,s.A)({},O())),(0,d.jsx)("aside",{style:u,children:(0,d.jsx)("div",{style:m,children:(0,d.jsx)("div",{style:v,children:k?(0,d.jsx)("div",{style:x,className:h,children:(0,d.jsx)(o.P,{})}):!t||N&&N.length?N&&N.length?(0,d.jsx)("img",{src:N[0].preview,style:h,alt:N[0].name}):(0,d.jsxs)("div",{style:{textAlign:"center",width:"100%"},children:["Click ",(0,d.jsx)("br",{}),"or",(0,d.jsx)("br",{}),"Drop Image"]}):(0,d.jsx)("img",{src:t.src,style:h,alt:t.originalname})})})})]})),P?(0,d.jsx)(o.o5,{color:"error",children:P}):null,t||N?(0,d.jsx)("div",{children:(0,d.jsx)(o.$n,{onClick:()=>{L(!0),g({removeImage:$,setDeletingImage:L})},color:"error",loading:z,disabled:z,size:"small",children:"remove image"})}):null]})})}},37376(e,t,l){l.d(t,{A:()=>r});var s=l(98477),n=l(37643),a=(l(67252),l(28872));const i=["children"],r=e=>{let t=e.children,l=(0,n.A)(e,i);const r=null!==l&&void 0!==l&&l.style?(0,s.A)({},l.style):{};return r.maxWidth||(r.maxWidth="1400px",r.margin="auto"),(0,a.jsx)("div",(0,s.A)((0,s.A)({style:r},l),{},{children:t}))}},58825(e,t,l){l.r(t),l.d(t,{default:()=>X});var s=l(98477),n=l(39698),a=l(67252),i=l(71288),r=l(84489),o=l(24122),d=l(14618),c=l(58072),u=l(11697),m=l(57863),v=l(88116),h=l(45851),x=l(28872);const p=e=>{let t=e.data,l=e.submitting,s=e.deleteUser,n=e.onToggleUserActive,a=e.handleSwitchPrimaryUser;const o=(0,m.useLocation)(),d=(0,m.useHistory)(),c=(0,i.useSelector)(e=>{var t;return null===e||void 0===e||null===(t=e.auth)||void 0===t?void 0:t.user});return(0,x.jsx)(x.Fragment,{children:(0,x.jsx)("div",{className:"tw-flex tw-flex-col tw-space-y-4",children:[c,...(null===t||void 0===t?void 0:t.users)||[]].map(e=>(0,x.jsxs)("div",{className:"tw-flex tw-justify-between tw-items-center",children:[(0,x.jsxs)("div",{children:[(0,x.jsxs)("div",{children:[e.name,e.parentId?null:(0,x.jsx)("span",{className:"tw-rounded-full tw-bg-secondary tw-text-white tw-px-2 tw-py-0.5 tw-text-xs tw-ml-1",children:"Owner"})]}),e.email?(0,x.jsx)("div",{className:"tw-text-sm",children:e.email}):null]}),(0,x.jsx)("div",{children:(null===c||void 0===c?void 0:c._id)!==(null===e||void 0===e?void 0:e._id)&&null!==e&&void 0!==e&&e.parentId?(0,x.jsxs)("div",{className:"flex align-items-center tw-gap-2",children:[(0,x.jsx)(r.m_,{title:"Delete Team Member",children:(0,x.jsx)(r.$n,{iconButton:!0,onMouseDown:e=>e.stopPropagation(),onClick:()=>s({currentUser:e}),color:"error",children:(0,x.jsx)(v.ep,{width:25,height:25})})}),null!==c&&void 0!==c&&c.parentId?null:(0,x.jsx)(r.ND,{buttonProps:{color:"primary",iconButton:!0},icon:(0,x.jsx)(r.m_,{title:"Make primary account",children:(0,x.jsx)("span",{style:{height:32},className:"tw-flex tw-items-center",children:(0,x.jsx)(h.OeC,{height:25,width:25})})}),spanProps:{className:"flex align-items-center"},renderMenu:t=>{let l=t.handleClose;return(0,x.jsxs)("div",{style:{padding:"20px 10px",backgroundColor:"#d6f0f059",maxWidth:490},children:[(0,x.jsxs)(r.o5,{children:["Are you sure you want to switch your primary account to ",(0,x.jsx)("b",{children:e.name}),"? You will be logged out and need to login again."]}),(0,x.jsxs)("div",{className:"flex align-items-center justify-content-space-between",style:{marginTop:10},children:[(0,x.jsx)(r.$n,{onClick:()=>l(),variant:"contained",size:"small",color:"error",children:"Cancel"}),(0,x.jsx)(r.$n,{onClick:()=>a(e),color:"primary",variant:"contained",size:"small",children:"Ok"})]})]})}}),(0,x.jsx)(r.m_,{title:"Edit Team Member",children:(0,x.jsx)(r.$n,{iconButton:!0,onMouseDown:e=>e.stopPropagation(),onClick:()=>d.push("".concat(o.pathname,"/").concat(e._id)),children:(0,x.jsx)(v.iy,{width:25,height:25})})}),(0,x.jsx)(r.m_,{title:e.active?"Deactivate Team Member":"Activate Team Member",children:(0,x.jsx)("span",{className:"tw-flex tw-items-center",style:{paddingLeft:8},children:(0,x.jsx)(r.dO,{checked:e.active,disabled:l,onChange:()=>{n(e,e.active)},color:"primary"})})})]}):null})]},e._id))})})};var w,g=l(79121),j=l(63096),f=l(4678);const y=["title","titleId"];function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)({}).hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},b.apply(null,arguments)}function A(e,t){let l=e.title,s=e.titleId,n=function(e,t){if(null==e)return{};var l,s,n=function(e,t){if(null==e)return{};var l={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(-1!==t.indexOf(s))continue;l[s]=e[s]}return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s<a.length;s++)l=a[s],-1===t.indexOf(l)&&{}.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}(e,y);return a.createElement("svg",b({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":s},n),l?a.createElement("title",{id:s},l):null,w||(w=a.createElement("path",{d:"M11.25 16.75H12.75V12.75H16.75V11.25H12.75V7.25H11.25V11.25H7.25003V12.75H11.25V16.75ZM12.0017 21.5C10.6877 21.5 9.45271 21.2506 8.29658 20.752C7.14043 20.2533 6.13475 19.5765 5.27953 18.7217C4.4243 17.8669 3.74724 16.8616 3.24836 15.706C2.74947 14.5504 2.50003 13.3156 2.50003 12.0017C2.50003 10.6877 2.74936 9.45268 3.24803 8.29655C3.7467 7.1404 4.42345 6.13472 5.27828 5.2795C6.13313 4.42427 7.13837 3.74721 8.29401 3.24833C9.44962 2.74944 10.6844 2.5 11.9983 2.5C13.3123 2.5 14.5473 2.74933 15.7034 3.248C16.8596 3.74667 17.8653 4.42342 18.7205 5.27825C19.5757 6.1331 20.2528 7.13834 20.7517 8.29398C21.2505 9.44959 21.5 10.6844 21.5 11.9983C21.5 13.3122 21.2506 14.5473 20.752 15.7034C20.2533 16.8596 19.5766 17.8652 18.7217 18.7205C17.8669 19.5757 16.8616 20.2527 15.706 20.7516C14.5504 21.2505 13.3156 21.5 12.0017 21.5ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76664 19.225 7.87498 17.675 6.32498C16.125 4.77498 14.2333 3.99998 12 3.99998C9.76667 3.99998 7.87501 4.77498 6.32501 6.32498C4.77501 7.87498 4.00001 9.76664 4.00001 12C4.00001 14.2333 4.77501 16.125 6.32501 17.675C7.87501 19.225 9.76667 20 12 20Z"})))}const C=a.forwardRef(A);l.p;const N=function(e){return(0,x.jsx)(r.Ah,(0,s.A)((0,s.A)({},e),{},{component:C}))},S=e=>{let t=e.totalUsers;const l=(0,m.useLocation)(),s=(0,m.useHistory)(),n=(0,i.useSelector)(e=>{var t;return null===e||void 0===e||null===(t=e.auth)||void 0===t?void 0:t.user}),a=(0,f.VM)(n)[(0,f.YB)(n)];return(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)("div",{className:"tw-flex tw-justify-between tw-items-center tw-w-full",children:[(0,x.jsxs)(r.o5,{className:"tw-text-xl lg:tw-text-2xl tw-font-semibold tw-text-secondary",children:["Team",(0,x.jsxs)("span",{className:"tw-text-sm",children:[" ","(",t," of"," ",null!==a&&void 0!==a&&a.name?(null===a||void 0===a?void 0:a.totalTeamMembers)===1/0?"\u221e":null===a||void 0===a?void 0:a.totalTeamMembers:"-",")"]})]}),(0,x.jsx)(f.L0,{feature:f.cc.users,isClickable:!0,children:(0,x.jsx)(r.$n,{onClick:()=>{(0,f.No)({user:n,feature:f.cc.users})||s.push("".concat(l.pathname,"/new-user"))},paywalledFeature:f.cc.users,disabled:null===n||void 0===n?void 0:n.needAdminApproval,color:"primary",variant:"contained",children:(0,x.jsxs)("div",{className:"tw-flex tw-items-center tw-gap-1 tw-font-semibold",children:[(0,x.jsx)(N,{style:{fontSize:18}})," Add Team Member"]})})})]})})};var E=l(37376),T=l(43928),k=l(86592),I=l(26600),D=l(31338),_=l(63580),P=l(97146),F=l(88691),U=l(46685),H=l(944),z=l(70086);const L=e=>{let t=e.image,l=e.displayImage,s=e.onImageChange,n=e.user,a=e.loading,i=e.alt,o=e.initialImage;return(0,x.jsxs)("div",{className:"tw-relative",children:[t?(0,x.jsx)("span",{className:"tw-flex tw-items-center tw-justify-center tw-h-16 tw-w-16 tw-shrink-0 tw-overflow-hidden tw-rounded-full",children:(0,x.jsx)("img",{src:null!==l&&void 0!==l?l:t,alt:"Profile",className:"tw-h-full tw-w-full tw-object-cover"})}):(0,x.jsx)(r.$c,{children:(0,x.jsx)(r.eu,{alt:null!==i&&void 0!==i?i:n.name,sx:{height:80,width:80},imgProps:{loading:"lazy"},children:i})}),(0,x.jsx)("div",{className:"tw-absolute -tw-top-2 -tw-right-2 tw-bg-white tw-p-1 tw-rounded-full tw-size-8",children:(0,x.jsx)(z.A,{uploadButtonProps:{render:()=>a?(0,x.jsx)(r.P,{size:16,className:"tw-mt-1"}):(0,x.jsx)(h.ffu,{className:"tw-cursor-pointer"})},onImageChange:s,initialImage:o,uploadOption:!0})})]})};var M=l(11582),R=l(55031),B=l(23943),O=l(98529),$=l(94292);const W={[$.A.UPS_TARIFF_TERMS]:{label:"UPS Tariff Terms",href:"https://www.ups.com/assets/resources/webcontent/en_US/terms_service_us.pdf"},[$.A.UPS_SUPPLEMENTAL_TERMS]:{label:"UPS Supplemental Terms",href:"https://www.ups.com/assets/resources/webcontent/en_US/UTA.pdf"},[$.A.UPS_RESTRICED_ITEMS]:{label:"UPS List of Restricted Items",href:"https://www.ups.com/us/en/support/shipping-support/shipping-special-care-regulated-items/prohibited-items.page"}},Y={[$.A.FEDEX_TERMS]:{label:"FedEx Terms of Use",href:"https://www.fedex.com/en-us
2/terms-of-use.html"},[$.A.FEDEX_DANGEROUS_GOODS]:{label:"FedEx Dangerous Goods or Hazardous Materials",href:"https://www.fedex.com/en-us/service-guide/dangerous-goods-hazardous-materials.html#dangerous-goods"},[$.A.FEDEX_DRY_ICE]:{label:"FedEx Dry Ice",href:"https://www.fedex.com/en-us/shipping/how-to-ship-dry-ice.html"}},V=function(e,t,l,s){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const a=[];for(const i of e){if(null===l||void 0===l||!l.includes(i)||!t[i])continue;const e=null===s||void 0===s?void 0:s[i],r=n.includes(i);a.push({key:i,type:(0,x.jsx)("a",{href:t[i].href,target:"_blank",rel:"noopener noreferrer",children:t[i].label}),userName:!r&&(null===e||void 0===e?void 0:e.userName)||"",date:!r&&null!==e&&void 0!==e&&e.date?(0,D.Ay)(e.date).format(D.K8):""})}return a},K=e=>{var t,l,s,n,o;let d=e.handleClose,u=e.handleOpen,m=e.show;const v=(0,i.useDispatch)(),h=(0,i.useSelector)(e=>{var t;return null===e||void 0===e||null===(t=e.auth)||void 0===t?void 0:t.user}),p=(0,a.useRef)(null),w=(0,a.useRef)(!1),g=(0,a.useRef)(u);g.current=u;const j=(0,i.useSelector)(e=>{var t,l;return!(null===e||void 0===e||null===(t=e.auth)||void 0===t||null===(l=t.shipfarePlusTos)||void 0===l||!l.show)}),f=(0,i.useSelector)(e=>{var t,l;return!(null===e||void 0===e||null===(t=e.auth)||void 0===t||null===(l=t.shipfarePlusTosFedex)||void 0===l||!l.show)}),y=(0,i.useSelector)(e=>{var t,l;return!(null===e||void 0===e||null===(t=e.auth)||void 0===t||null===(l=t.dryIceTermsModal)||void 0===l||!l.open)});(0,a.useEffect)(()=>{if(!p.current)return;const e="ups"===p.current&&j||"fedex"===p.current&&f||"dryIceLabel"===p.current&&y;var t;(e&&(w.current=!0),w.current&&!e)&&(p.current=null,w.current=!1,null===(t=g.current)||void 0===t||t.call(g))},[j,f,y]);const b=(0,O.lV)(),A=b.every(e=>{var t;return null===h||void 0===h||null===(t=h.acceptedTerms)||void 0===t?void 0:t.some(t=>t===e)}),C=b.some(e=>{var t,l;return(null===h||void 0===h||null===(t=h.acceptedTerms)||void 0===t?void 0:t.includes(e))&&!(null!==h&&void 0!==h&&null!==(l=h.acceptedTermsDetails)&&void 0!==l&&l[e])}),N=!(null===h||void 0===h||null===(t=h.vndrRatesConfig)||void 0===t||null===(l=t.vndrRates)||void 0===l||!l.allowed)&&(!A||C),S=(0,O.Ts)().filter(e=>e!==$.A.FEDEX_CFR_SUBTITLE),E=S.every(e=>{var t;return null===h||void 0===h||null===(t=h.acceptedTerms)||void 0===t?void 0:t.some(t=>t===e)}),T=S.some(e=>{var t,l;return(null===h||void 0===h||null===(t=h.acceptedTerms)||void 0===t?void 0:t.includes(e))&&!(null!==h&&void 0!==h&&null!==(l=h.acceptedTermsDetails)&&void 0!==l&&l[e])}),k=!(null===h||void 0===h||null===(s=h.vndrRatesConfig)||void 0===s||null===(n=s.fedex)||void 0===n||!n.allowed)&&(!E||T),I=!(null===h||void 0===h||null===(o=h.acceptedTerms)||void 0===o||!o.includes($.A.DRY_ICE_LABEL)),_=(e,t)=>
2{p.current=e,d(),v((0,c.lB)(t))},P=()=>{_("dryIceLabel",{dryIceTermsModal:{open:!0,tooltipType:$.A.DRY_ICE_LABEL,viewOnly:!0}})},F=[...V(b,W,null===h||void 0===h?void 0:h.acceptedTerms,null===h||void 0===h?void 0:h.acceptedTermsDetails),...V(S,Y,null===h||void 0===h?void 0:h.acceptedTerms,null===h||void 0===h?void 0:h.acceptedTermsDetails)];if(I){var U;const e=null===h||void 0===h||null===(U=h.acceptedTermsDetails)||void 0===U?void 0:U[$.A.DRY_ICE_LABEL];F.push({key:$.A.DRY_ICE_LABEL,type:(0,x.jsx)("a",{href:"#",onClick:P,children:"Dry Ice Label Printing Requirements"}),userName:(null===e||void 0===e?void 0:e.userName)||"",date:null!==e&&void 0!==e&&e.date?(0,D.Ay)(e.date).format(D.K8):""})}const H=F.length>0,z=N||k||!I;return(0,x.jsx)(r.aF,{open:m,title:"Agreements & Acknowledgements",handleClose:d,PaperProps:{className:"tw-max-w-[765px]"},actions:[{isClose:!0}],children:(0,x.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-4",children:[H&&(0,x.jsxs)(r.QT,{className:"tw-w-full",children:[(0,x.jsx)(r.A0,{children:(0,x.jsxs)(r.Hj,{children:[(0,x.jsx)(r.nd,{children:"Type"}),(0,x.jsx)(r.nd,{className:"tw-w-[130px]",children:"Accepted By"}),(0,x.jsx)(r.nd,{className:"tw-w-[292px]",children:"Date Accepted"})]})}),(0,x.jsx)(r.BF,{children:F.map(e=>(0,x.jsxs)(r.Hj,{children:[(0,x.jsx)(r.nA,{children:e.type}),(0,x.jsx)(r.nA,{children:e.userName}),(0,x.jsx)(r.nA,{children:e.date})]},e.key))})]}),z&&(0,x.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-2",children:[N&&(0,x.jsxs)(r.$n,{variant:"outlined",color:"secondary",onClick:()=>{_("ups",{shipfarePlusTos:{show:!0,manual:!0}})},className:"tw-font-bold",children:["Confirm ",(0,x.jsx)("span",{className:"tw-text-primary",children:"\xa0ShipFare"}),(0,x.jsx)("span",{className:"tw-text-secondary",children:"+"}),"\xa0UPS Terms & Restrictions"]}),k&&(0,x.jsxs)(r.$n,{variant:"outlined",color:"secondary",onClick:()=>{_("fedex",{shipfarePlusTosFedex:{show:!0,manual:!0}})},className:"tw-font-bold",children:["Confirm ",(0,x.jsx)("span",{className:"tw-text-primary",children:"\xa0ShipFare"}),(0,x.jsx)("span",{className:"tw-text-secondary",children:"+"}),"\xa0FedEx Terms & Restrictions"]}),!I&&(0,x.jsx)(r.$n,{variant:"outlined",color:"secondary",onClick:()=>{_("dryIceLabel",{dryIceTermsModal:{open:!0,tooltipType:$.A.DRY_ICE_LABEL,manual:!0}})},className:"tw-font-bold",children:"Confirm Dry Ice Label Printing Requirements"})]})]})})};var Z=l(76276);const G=()=>{var e,t;const l=(0,i.useDispatch)(),m=(0,Z.A)(),v=m.toastError,w=m.toastSuccess,y=(0,i.useSelector)(e=>{var t;return null===e||void 0===e||null===(t=e.auth)||void 0===t?void 0:t.user}),b=(0,a.useState)(y.companyName),A=(0,n.A)(b,2),C=A[0],N=A[1],z=(0,a.useState)(!1),O=(0,n.A)(z,2),$=O[0],W=O[1],Y=(0,a.useState)(y.companyEmail),V=(0,n.A)(Y,2),G=V[0],X=V[1],Q=(0,a.useState)(!1),q=(0,n.A)(Q,2),J=q[0],ee=q[1],te=(0,a.useState)((0,M.av)(y.companyPhone)),le=(0,n.A)(te,2),se=le[0],ne=le[1],ae=(0,a.useState)(!1),ie=(0,n.A)(ae,2),re=ie[0],oe=ie[1],de=(0,a.useState)(y.website),ce=(0,n.A)(de,2),ue=ce[0],me=ce[1],ve=(0,a.useState)(!1),he=(0,n.A)(ve,2),xe=he[0],pe=he[1],we=(0,a.useState)(""),ge=(0,n.A)(we,2),je=ge[0],fe=ge[1],ye=(0,a.useState)(null),be=(0,n.A)(ye,2),Ae=be[0],Ce=be[1],Ne=(0,a.useState)(!1),Se=(0,n.A)(Ne,2),Ee=Se[0],Te=Se[1],ke=(0,a.useState)(0),Ie=(0,n.A)(ke,2),De=Ie[0],_e=Ie[1],Pe="!tw-text-sm !tw-text-black",Fe="hover:!tw-bg-primary-dark !tw-bg-primary !tw-text-white !tw-border-none !tw-gap-1",Ue="!tw-mt-2 !tw-border  !tw-border-gray-300 !tw-shadow-none !tw-text-black tw-border-solid !tw-px-2 !tw-py-1 !tw-rounded !tw-text-sm hover:!tw-border-gray-700 tw-transition-colors tw-duration-300 !tw-cursor-pointer";(0,a.useEffect)(()=>{document.title="Users - ShipFare"},[]);const He=(0,_.R)(y),ze=He.renewDate,Le=He.isInTrial,Me=(0,T.jL)(y),Re=(0,T.T4)((null===Me||void 0===Me?void 0:Me.permissionsKeys)||{},[T.I1.EDIT_USERS]),Be="/users/v1/get-users",Oe=(0,u.A)({initialUrl:Be,skip:!Re}),$e=(0,n.A)(Oe,2),We=$e[0],Ye=We.data,Ve=We.isLoading,Ke=We.isError,Ze=$e[1],Ge=Ze.setUrl,Xe=Ze.refetchData,Qe=(0,a.useState)(!1),qe=(0,n.A)(Qe,2),Je=qe[0],et=qe[1],tt=(0,a.useState)(!1),lt=(0,n.A)(tt,2),st=lt[0],nt=lt[1],at=(0,a.useState)([]),it=(0,n.A)(at,2),rt=it[0],ot=it[1],dt=(0,a.useState)(!1),ct=(0,n.A)(dt,2),ut=ct[0],mt=ct[1],vt=(0,a.useState)(!1),ht=(0,n.A)(vt,2),xt=ht[0],pt=ht[1];if((0,a.useEffect)(()=>Ge(Be),[Ge,Be]),(0,a.useEffect)(()=>{var e;let t=I.A6;t=null!==y&&void 0!==y&&y.timezone?y.timezone:D.d4.tz.guess();let l=null===D.H8||void 0===D.H8?void 0:D.H8.find(e=>e.value===t);null!==(e=l)&&void 0!==e&&e.value||(l=null===D.H8||void 0===D.H8?void 0:D.H8.find(e=>e.value===I.A6)),Ce(l?{label:l.label,value:l.value}:null)},[y.timezone]),(0,a.useEffect)(()=>{var e;let t=0;null!==y&&void 0!==y&&null!==(e=y.unpaidInvoices)&&void 0!==e&&e.length&&!I.hH&&y.unpaidInvoices.forEac
2h(e=>{e.status===H.invoicePaymentStatuses.UNPAID&&(t+=e.amount),e.status===H.invoicePaymentStatuses.PARTIALLY_PAID&&(t+=e.remainingBalance),e.status===H.invoicePaymentStatuses.PENDING&&(t+=e.amount)}),_e(t)},[y]),Ke)return(0,x.jsx)(r.o5,{color:"error",children:Ke});const wt=e=>{const t=e.target.value;N(t)},gt=e=>{const t=e.target.value;X(t)},jt=e=>{const t=e.target.value;ne(t)},ft=e=>{const t=e.target.value;me(t)},yt=e=>{const t={label:e.label,value:e.value};Ce(t)},bt=e=>{const t=e.target.value;fe(t)},At=async()=>{if("delete"===je.toLowerCase()){et(!0);try{var e;const t=y.parentId?d.FH.post("/users/v1/delete",{userIds:[y._id]}):d.FH.delete("/user/v1/delete/main"),l=(await t).message;w(l),null===(e=window)||void 0===e||e.location.reload()}catch(s){var t,l;let e=(null===s||void 0===s||null===(t=s.response)||void 0===t||null===(l=t.data)||void 0===l?void 0:l.message)||(null===s||void 0===s?void 0:s.message)||"Error deleting company";v(e)}finally{et(!1)}}},Ct=async()=>{try{W(!1),ee(!1),oe(!1),pe(!1),Te(!1);let e={companyName:C,companyEmail:G,companyPhone:se,website:ue,timezone:Ae.value};const t=(await d.FH.post("/user/v1/company/edit",(0,s.A)((0,s.A)({},e),{},{notificationAction:j.P9.COMPANY_INFO}))).data,n=j.lw.COMPANY_INFO_UPDATE;(0,i.vA)(()=>{l((0,c.QO)({user:t})),w(n)})}catch(n){var e,t;let l=(null===n||void 0===n||null===(e=n.response)||void 0===e||null===(t=e.data)||void 0===t?void 0:t.message)||(null===n||void 0===n?void 0:n.message)||"Something Went Wrong";v(l)}},Nt=(()=>{var e,t;if(null===y||void 0===y||!y.accountValue)return 0;const l=(null!==(e=null===y||void 0===y||null===(t=y.accountValue)||void 0===t?void 0:t.amount)&&void 0!==e?e:0)-(null!==y&&void 0!==y&&y.accountValue?(0,F.At)(y):0);return I.hH?l:l-(De||0)})(),St=(0,U.centsToCurrencyFormat)(Nt),Et=St.includes("-"),Tt=!se||!(0,M.Zb)(se)||10===(0,M.WA)(se).length,kt=!ue||R.rx.test(ue),It=[{title:"Company Name",hide:!1,renderSub:()=>$?(0,x.jsx)(r.A_,{size:"small",variant:"outlined",onChange:wt,value:C,onFocus:e=>e.target.select()}):(0,x.jsx)(r.o5,{className:Pe,children:C}),shouldBreak:$,renderButtons:()=>$?(0,x.jsxs)("div",{className:"tw-flex tw-gap-2",children:[(0,x.jsx)(r.$n,{onClick:()=>{N(y.companyName),W(!1)},color:"error",variant:"contained",size:"small",className:"".concat(Ue," !tw-bg-white"),children:"Cancel"}),(0,x.jsxs)(r.$n,{onClick:Ct,color:"primary",variant:"contained",size:"small",className:"".concat(Ue," ").concat(Fe),children:[(0,x.jsx)(h.eMP,{className:"tw-fill-primary"}),"Save"]})]}):(0,x.jsx)(h.ffu,{className:"tw-cursor-pointer",onClick:()=>W(!0),children:(0,x.jsx)(h.ffu,{})})},{title:"Company Email",hide:!1,renderSub:()=>J?(0,x.jsx)(r.A_,{size:"small",variant:"outlined",onChange:gt,value:G,onFocus:e=>e.target.select()}):(0,x.jsx)(r.o5,{className:Pe,children:G}),shouldBreak:J,renderButtons:()=>J?(0,x.jsxs)("div",{className:"tw-flex tw-gap-2",children:[(0,x.jsx)(r.$n,{onClick:()=>{X(y.companyEmail),ee(!1)},color:"error",variant:"contained",size:"small",className:"".concat(Ue," !tw-bg-white"),children:"Cancel"}),(0,x.jsxs)(r.$n,{onClick:Ct,color:"primary",variant:"contained",size:"small",className:"".concat(Ue," ").concat(Fe),children:[(0,x.jsx)(h.eMP,{className:"tw-fill-primary"}),"Save"]})]}):(0,x.jsx)(h.ffu,{className:"tw-cursor-pointer",onClick:()=>ee(!0)})},{title:"Company Phone",hide:!1,renderSub:()=>re?(0,x.jsxs)(x.Fragment,{children:[(0,M.Zb)(se)||!se?(0,x.jsx)(r.o1,{mask:M.Jd,guide:!1,keepCharPositions:!0,value:se,placeholder:"xxx-xxx-xxxx",onChange:jt,render:(e,t)=>(0,x.jsx)(r.A_,(0,s.A)((0,s.A)({},t),{},{ref:t=>e(t),size:"small",variant:"outlined",onFocus:e=>e.target.select()}))}):(0,x.jsx)(r.A_,{size:"small",variant:"outlined",value:se,onChange:jt,onFocus:e=>e.target.select()}),!Tt&&(0,x.jsx)(r.o5,{className:"!tw-text-xs !tw-text-red-500",children:"Format must be xxx-xxx-xxxx"})]}):(0,x.jsx)(r.o5,{className:Pe,children:se}),shouldBreak:re,renderButtons:()=>re?(0,x.jsxs)("div",{className:"tw-flex tw-gap-2",children:[(0,x.jsx)(r.$n,{onClick:()=>{ne((0,M.av)(y.companyPhone)),oe(!1)},color:"error",variant:"contained",size:"small",className:"".concat(Ue," !tw-bg-white"),children:"Cancel"}),(0,x.jsxs)(r.$n,{onClick:Ct,color:"primary",variant:"contained",size:"small",disabled:!Tt,className:"".concat(Ue," ").concat(Fe),children:[(0,x.jsx)(h.eMP,{className:"tw-fill-primary"}),"Save"]})]}):(0,x.jsx)(h.ffu,{className:"tw-cursor-pointer",onClick:()=>oe(!0)})},{title:"Company Website",hide:!1,renderSub:()=>xe?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(r.A_,{size:"small",variant:"outlined",onChange:ft,value:ue,onFocus:e=>e.target.select()}),!kt&&(0,x.jsx)(r.o5,{className:"!tw-text-xs !tw-text-red-500",children:"Invalid URL (eg: https://example.com)"})]}):(0,x.jsx)(r.o5,{className:Pe,children:ue}),shouldBreak:xe,renderButtons:()=>xe?(0,x.jsxs)("div",{className:"tw-flex tw-gap-2",children:[(0,x.jsx)(r.$n,{onClick:()=>{me(y.website),pe(!1)},color:"error",variant:"contained",size:"small",className:"".concat(Ue," !tw-bg-white"),children:"Cancel"}),(0,x.jsxs)(r.$n,{onClick:Ct,color:"primary",variant:"contained",size:"small",disabled:!kt,className:"".concat(Ue," ").concat(Fe),children:[(0,x.jsx)(h.eMP,{className:"tw-fill-primary"}),"Save"]})]}):(0,x.jsx)(h.ffu,{className:"tw-cursor-pointer",onClick:()=>pe(!0)})},{title:"Timezone",hide:!1,renderSub:()=>Ee?(0,x.jsx)(P.l6,{className:"tw-mt-2",options:D.H8,value:Ae,onChange:yt}):(0,x.jsx)(r.o5,{className:Pe,children:null===Ae||void 0===Ae?void 0:Ae.label}),shouldBreak:Ee,renderButtons:()=>Ee?(0,x.jsxs)("div",{className:"tw-flex tw-gap-2",children:[(0,x.jsx)(r.$n,{onClick:()=>{var e;let t=(null===y||void 0===y?void 0:y.timezone)||D.d4.tz.guess()||I.A6,l=null===D.H8||void 0===D.H8?void 0:D.H8.find(e=>e.value===t);null!==(e=l)&&void 0!==e&&e.value||(l=null===D.H8||void 0===D.H8?void 0:D.H8.find(e=>e.value===I.A6)),Ce(l?{label:l.label,value:l.value}:null),Te(!1)},color:"error",variant:"contained",size:"small",className:"".concat(Ue," !tw-bg-white"),children:"Cancel"}),(0,x.jsxs)(r.$n,{onClick:Ct,color:"primary",variant:"contained",size:"small",className:"".concat(Ue," ").concat(Fe),children:[(0,x.jsx)(h.eMP,{className:"tw-fill-primary"}),"Save"]})]}):(0,x.jsx)(h.ffu,{className:"tw-cursor-pointer",onClick:()=>Te(!0)})},{title:"Manage Subscription",hide:!1,renderSub:()=>{var e,t;const l=(0,f.VM)(y)[(0,f.YB)(y)],s=(0,D.e9)(null===y||void 0===y||null===(e=y.chargebeeData)||void 0===e?void 0:e.trialEndDate);return(0,x.jsxs)("div",{className:"tw-flex tw-flex-col",children:[null!==y&&void 0!==y&&y.isSubscriptionCanceled||null!==y&&void 0!==y&&y.isSubscriptionPaused?(0,x.jsxs)(r.o5,{className:"tw-text-sm",children:[(0,x.jsx)("span",{className:"tw-text-red-600",children:null!==y&&void 0!==y&&y.isSubscriptionCanceled?"Canceled":"Paused"})," "]}):null,null!==y&&void 0!==y&&y.isSubscriptionCanceled||null!==y&&void 0!==y&&y.isSubscriptionPaused||null===l||void 0===l||!l.name?null:(0,x.jsxs)(r.o5,{className:"tw-text-sm",children:[(0,x.jsxs)("span",{className:"tw-text-".concat(null!==(t=l.color)&&void 0!==t?t:"blue","-600"),children:[l.name," PLAN"]})," ",Le?"Trial - ".concat(s," Day").concat(s>1?"s":""," left"):"Next Billing Date - ".concat((0,D.Ay)(ze).format("MMMM D, YYYY"))]}),null!==l&&void 0!==l&&l.name?null:(0,x.jsx)(r.o5,{className:"tw-text-sm",children:(0,x.jsx)("span",{className:"tw-text-black",children:"No Subscription"})})]})},renderButtons:()=>(0,x.jsx)(r.m_,{classes:"tw-max-w-none",title:Et?"Subscription changes are not allowed until remaining balance of ".concat(St," is settled"):null,children:(0,x.jsx)("span",{children:(0,x.jsx)(h.ffu,{className:"tw-cursor-pointer",onClick:()=>{!Et&&mt(!0)},disabled:Et})})})},{title:"Agreements & Acknowledgements",renderButtons:()=>(0,x.jsx)(r.m_,{title:"View Agreements & Acknowledgements",children:(0,x.jsx)("span",{children:(0,x.jsx)(B.A,{className:"tw-cursor-pointer",onClick:()=>pt(!0),strokeWidth:1.2})})})},{title:"Delete Company",hide:!!y.parentId,renderSub:()=>(0,x.jsx)(r.o5,{className:Pe,children:"By deleting your account, you'll no longer be able to access any of your orders or log into ShipFare"}),renderButtons:()=>(0,x.jsx)(r.m_,{title:Et?"Cannot delete Company account until remaining balance of ".concat(St," is settled"):null,children:(0,x.jsx)("span",{children:(0,x.jsx)(r.ND,{buttonProps:{variant:"contained",size:"small",className:"".concat(Ue," ").concat(Et?"":"!tw-text-white !tw-bg-red-500"," hover:!tw-bg-red-600 !tw-border-none"),disabled:Et},paperProps:{className:"tw-rounded-2xl"},popperProps:{className:"tw-rounded-2xl"},buttonText:"Delete",noIcon:!0,renderMenu:e=>{let t=e.handleClose;return(0,x.jsxs)(r.cO,{children:[(0,x.jsx)(r.o5,{style:{width:270},className:"tw-mb-2",children:y.parentId?"All your settings will be deleted!":"All your integrations and invited users will be deleted, and 
2your subscription will be canceled!"}),(0,x.jsx)(r.A_,{size:"small",variant:"outlined",placeholder:'Type "delete" to confirm',onChange:bt,value:je,onFocus:e=>e.target.select()}),(0,x.jsxs)("div",{className:"flex align-items-center justify-content-space-between",style:{marginTop:10},children:[(0,x.jsx)(r.$n,{onClick:()=>{fe(""),t()},variant:"contained",className:"".concat(Ue," !tw-bg-white "),size:"small",children:"Cancel"}),(0,x.jsx)(r.$n,{onClick:At,variant:"contained",size:"small",color:"error",disabled:"DELETE"!==je.toUpperCase(),children:"Ok"})]})]})}})})})}];return(0,x.jsxs)(E.A,{children:[(0,x.jsx)(g.A,{show:Ve,fixedUnderHeader:!0}),(0,x.jsxs)("div",{className:"tw-max-w-5xl tw-mx-auto tw-grid lg:tw-grid-cols-2 tw-gap-4 lg:tw-gap-8",children:[(0,x.jsx)("div",{children:(0,x.jsxs)(r.tu,{className:"tw-max-w-2xl tw-mx-auto tw-px-4 tw-bg-white tw-gap-4 tw-flex tw-flex-col tw-rounded-2xl tw-p-4 tw-shadow-lg tw-border tw-border-gray-300 tw-mt-4 tw-border-solid",children:[(0,x.jsxs)("div",{className:"tw-flex tw-flex-col tw-items-center tw-mx-auto tw-text-center",children:[(0,x.jsx)(L,{image:null===y||void 0===y||null===(e=y.logo)||void 0===e?void 0:e.src,user:y,initialImage:(null===y||void 0===y?void 0:y.logo)||null,onImageChange:async(e,t)=>{let s=t.setDropping,n=t.setDropError;try{let t=new FormData;e&&(e instanceof Blob?t.append("logo",e,e.name):t.append("logo",e));const n=(await d.FH.post("/user/v1/company-logo",t)).data;(0,i.vA)(()=>{l((0,c.QO)({user:{logo:n.response}})),l((0,c.CW)({base64Logo:null})),w(n.message)}),s(!1)}catch(a){console.log((null===a||void 0===a?void 0:a.response)||a),s(!1),n("Something Went Wrong")}}}),(0,x.jsx)("div",{className:"tw-text-xs tw-mt-2",children:"Recommended: 500x500 pixels"})]}),It.map((e,t)=>e.hide?null:(0,x.jsxs)("div",{className:"tw-flex ".concat(e.shouldBreak?"tw-flex-col tw-items-start":"tw-items-center"," tw-justify-between tw-gap-2"),children:[(0,x.jsxs)("div",{className:"tw-w-full",children:[(0,x.jsx)(r.o5,{className:"!tw-text-lg !tw-text-secondary",children:e.title}),null!==e&&void 0!==e&&e.renderSub?e.renderSub():null]}),e.renderButtons()]},t))]})}),(0,x.jsx)("div",{children:(0,x.jsxs)(T.c7,{permissions:[T.I1.EDIT_USERS],children:[(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(r.tu,{className:"tw-max-w-2xl tw-mx-auto tw-px-4 tw-bg-white tw-gap-4 tw-flex tw-flex-col tw-rounded-2xl tw-p-4 tw-shadow-lg tw-border tw-border-gray-300 tw-mt-4 tw-border-solid",children:[(0,x.jsx)("div",{className:"tw-flex tw-gap-1",children:(0,x.jsx)(S,{totalUsers:(null===Ye||void 0===Ye||null===(t=Ye.users)||void 0===t?void 0:t.length)||0})}),(0,x.jsx)(p,{data:Ye,submitting:Je,deleteUser:e=>{ot(Object.values(e)),nt(!0)},onToggleUserActive:async(e,t)=>{et(!0);try{const l=(await d.FH.post("/user/v1/profile/team/edit",(0,s.A)((0,s.A)({},e),{},{active:!t}))).message;w(null!==l&&void 0!==l?l:"User Successfully Updated"),Xe()}catch(a){var l,n;let e=(null===a||void 0===a||null===(l=a.response)||void 0===l||null===(n=l.data)||void 0===n?void 0:n.message)||(null===a||void 0===a?void 0:a.message)||"Error updating account";v(e)}finally{et(!1)}},handleSwitchPrimaryUser:async e=>{et(!0);try{const t=(await d.FH.post("/users/v1/primary",{userId:e._id})).data;(0,i.vA)(()=>{w(t.message),l((0,c.ri)())})}catch(s){var t;v((null===s||void 0===s||null===(t=s.response)||void 0===t?void 0:t.data)||(null===s||void 0===s?void 0:s.message)||"Error setting ".concat(e.name," as primary user"))}et(!1)}})]}),(0,x.jsx)(o.A,{show:st,entity:"Users",rows:rt,handleClose:()=>nt(!1),handleSubmit:async()=>{let e=[];rt&&(e=rt),et(!0);try{const t=[];e.forEach(e=>{e.parentId&&t.push(e._id)});const l=(await d.FH.post("/users/v1/delete",{userIds:t})).data;w(l.message),Xe()}catch(l){var t;v((null===l||void 0===l||null===(t=l.response)||void 0===t?void 0:t.data)||(null===l||void 0===l?void 0:l.message)||"Error Deleting Users"),et(!1)}nt(!1),ot([]),et(!1)}})]}),(0,x.jsx)(k.A,{isOpen:ut,user:y,onClose:()=>mt(!1)}),(0,x.jsx)(K,{show:xt,handleClose:()=>pt(!1),handleOpen:()=>pt(!0)})]})})]})]})},X=e=>(0,x.jsx)(T.c7,{permissions:[T.I1.COMPANY,T.I1.EDIT_COMPANY],children:(0,x.jsx)(G,(0,s.A)({},e))})},11697(e,t,l){l.d(t,{A:()=>c});var s=l(39698),n=l(98477),a=l(67252),i=l(57863),r=l(14618),o=l(97939);const d=(e,t)=>{switch(t.type){case"FETCH_INIT":return(0,n.A)((0,n.A)({},e),{},{isLoading:!0,isError:!1});case"FETCH_SUCCESS":return(0,n.A)((0,n.A)({},e),{},{isLoading:!1,isError:!1,data:t.payload});case"FETCH_FAILURE":return(0,n.A)((0,n.A)({},e),{},{isLoading:!1,isError:t.error});case"UPDATE_DATA":return(0,n.A)((0,n.A)({},e),{},{data:t.payload});default:throw new Error("no useGet.js switch action type found")}},c=e=>{let t=e.initialUrl,l=e.initialData,n=e.skip,c=e.apiVersion;const u=(0,a.useState)(t),m=(0,s.A)(u,2),v=m[0],h=m[1],x=(0,i.useHistory)(),p=(0,a.useReducer)(d,{isLoading:!0,isError:null,data:l}),w=(0,s.A)(p,2),g=w[0],j=w[1];(0,a.useEffect)(()=>{let e=!1;return v&&!n&&(async()=>{j({type:"FETCH_INIT"});try{let t;t="axiosV1"===c?await r.Km.get(v):await r.FH.get(v),e||j({type:"FETCH_SUCCESS",payload:t.data})}catch(s){var t,l;let n="";n=null!==s&&void 0!==s&&null!==(t=s.response)&&void 0!==t&&t.statusText?s.response.statusText:null!==s&&void 0!==s&&null!==(l=s.response)&&void 0!==l&&l.data&&"string"===typeof s.response.data?s.response.data:"Something Went Wrong",e||j({type:"FETCH_FAILURE",error:n})}})(),n&&j({type:"FETCH_SUCCESS",payload:{}}),()=>{e=!0}},[v,n,c]);return[g,{setUrl:h,updateData:e=>{j({type:"UPDATE_DATA",payload:e})},refetchData:async e=>{try{const t=(0,o.Ay)({history:x}),l=(null===t||void 0===t?void 0:t.page)||1;if(!l||l<=1){let t;t="axiosV1"===e?await r.Km.get(v):await r.FH.get(v),j({type:"FETCH_SUCCESS",payload:t.data})}else x.push(x.location.pathname)}catch(s){var t,l;let e="";e=null!==s&&void 0!==s&&null!==(t=s.response)&&void 0!==t&&t.statusText?s.response.statusText:null!==s&&void 0!==s&&null!==(l=s.response)&&void 0!==l&&l.data&&"string"===typeof s.response.data?s.response.data:"Something Went Wrong",j({type:"FETCH_FAILURE",error:e})}}}]}}
2,23943(e,t,l){l.d(t,{A:()=>s});const s=(0,l(87911).A)("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])}}]);

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.