trAvis - MANAGER
Edit File: 9669.js
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[9669],{10314:(e,t,o)=>{o.d(t,{Z:()=>r});var n=o(69307),a=o(70444);const r=(0,n.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(a.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},42411:(e,t,o)=>{o.d(t,{Z:()=>r});var n=o(69307),a=o(70444);const r=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z"}))},63373:(e,t,o)=>{o.d(t,{UM:()=>r,aT:()=>n,ec:()=>a});const n="[^-0-9%s1%s2]",a="[^-\\d\\%s]+",r="[%s](?=%s*[%s])"},67628:(e,t,o)=>{o.d(t,{a:()=>a});var n=o(69307);const a=e=>{let{children:t}=e;return(0,n.createElement)("div",{className:"product-form-layout"},t)}},59417:(e,t,o)=>{o.d(t,{N:()=>m});var n=o(69307),a=o(86020),r=(o(99196),o(55609)),c=o(92819),i=o(15635);const l=e=>{let{children:t,fieldName:o,categoryName:a,location:l,order:s=1}=e;const m=(0,c.snakeCase)(a),u=(0,c.snakeCase)(o);return(0,n.createElement)(r.Fill,{name:`woocommerce_product_${m}_${u}_${l}`},(e=>(0,i.uh)(t,s,e)))};l.Slot=e=>{let{fillProps:t,fieldName:o,categoryName:a,location:l}=e;const s=(0,c.snakeCase)(a),m=(0,c.snakeCase)(o);return(0,n.createElement)(r.Slot,{name:`woocommerce_product_${s}_${m}_${l}`,fillProps:t},i.qk)};const s=e=>{let{fieldName:t,categoryName:o,children:a}=e;return(0,n.createElement)("div",{className:"product-field-layout"},(0,n.createElement)(l.Slot,{fieldName:t,categoryName:o,location:"before"}),a,(0,n.createElement)(l.Slot,{fieldName:t,categoryName:o,location:"after"}))},m=e=>{let{title:t,description:o,className:r,children:c}=e;return(0,n.createElement)(a.FormSection,{title:t,description:o,className:r},n.Children.map(c,(e=>(0,n.isValidElement)(e)&&e.props.onChange?(0,n.createElement)(s,{fieldName:e.props.name,categoryName:t},e):e)))}},83292:(e,t,o)=>{o.d(t,{p:()=>d});var n=o(69307),a=o(65736),r=o(55609),c=o(62907),i=o(86158),l=o(10314),s=o(86020),m=o(14599),u=o(24985);const d=()=>{const{createProductWithStatus:e,updateProductWithStatus:t,deleteProductAndRedirect:o,copyProductWithStatus:d,isUpdatingDraft:p,isUpdatingPublished:g,isDeleting:_}=(0,u.g)(),{isDirty:N,isValidForm:I,values:h,resetForm:E}=(0,s.useFormContext)(),w=()=>({product_id:h.id,product_type:h.type,is_downloadable:h.downloadable,is_virtual:h.virtual,manage_stock:h.manage_stock}),M=async()=>{(0,m.recordEvent)("product_publish_and_copy",{new_product_page:!0,...w()}),h.id?await t(h.id,h,"publish"):await e(h,"publish",!1,!0),await d(h)},C=async()=>{(0,m.recordEvent)("product_copy",{new_product_page:!0,...w()}),h.id&&await t(h.id,h,h.status||"draft"),await d(h)},D=()=>{(0,m.recordEvent)("product_delete",{new_product_page:!0,...w()}),h.id&&o(h.id)},k=h.id&&"publish"===h.status;return(0,n.createElement)("div",{className:"woocommerce-product-form-actions"},(0,n.createElement)(r.Button,{onClick:async()=>{if((0,m.recordEvent)("product_edit",{new_product_page:!0,...w()}),h.id){const e=await t(h.id,h,"draft");e&&e.id&&E(e)}else e(h,"draft")},disabled:!I||!N&&!!h.id&&"publish"!==h.status||p||g||_},!N&&h.id&&"publish"!==h.status&&(0,n.createElement)(c.Z,{icon:i.Z}),p?(0,a.__)("Saving","woocommerce"):null,!N&&h.id||p||"publish"===h.status?null:(0,a.__)("Save draft","woocommerce"),"publish"!==h.status||p?null:(0,a.__)("Switch to draft","woocommerce"),N||!h.id||p||"publish"===h.status?null:(0,a.__)("Saved","woocommerce")),(0,n.createElement)(r.Button,{onClick:()=>(0,m.recordEvent)("product_preview_changes",{new_product_page:!0,...w()}),href:h.permalink+"?preview=true",disabled:!I||!h.permalink,target:"_blank"},(0,a.__)("Preview","woocommerce")),(0,n.createElement)(r.ButtonGroup,{className:"woocommerce-product-form-actions__publish-button-group"},(0,n.createElement)(r.Button,{onClick:async()=>{if((0,m.recordEvent)("product_update",{new_product_page:!0,...w()}),h.id){const e=await t(h.id,h,"publish");e&&e.id&&E(e)}else e(h,"publish")},variant:"primary",isBusy:g,disabled:!I||!N&&!!k||p||g||_},g?(0,a.__)("Updating","woocommerce"):null,k&&!g?(0,a.__)("Update","woocommerce"):null,k||g?null:(0,a.__)("Publish","woocommerce")),(0,n.createElement)(r.DropdownMenu,{className:"woocommerce-product-form-actions__publish-dropdown",label:(0,a.__)("Publish options","woocommerce"),icon:l.Z,popoverProps:{position:"bottom left"},toggleProps:{variant:"primary",disabled:!h.id&&!I}},(()=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)(r.MenuGroup,null,(0,n.createElement)(r.MenuItem,{onClick:M,disabled:!I},k?(0,a.__)("Update & duplicate","woocommerce"):(0,a.__)("Publish & duplicate","woocommerce")),(0,n.createElement)(r.MenuItem,{onClick:C,disabled:!I},(0,a.__)("Copy to a new draft","woocommerce")),h.id&&(0,n.createElement)(r.MenuItem,{onClick:D,isDestructive:!0},(0,a.__)("Move to trash","woocommerce"))))))))}},3143:(e,t,o)=>{o.d(t,{G:()=>r});var n=o(65736),a=o(48023);const r=e=>{var t,o,r,c;let i={};var l,s;return i=(0,a.G)(e,i),null!==(t=e.name)&&void 0!==t&&t.length||(i.name=(0,n.__)("This field is required.","woocommerce")),e.name&&e.name.length>120&&(i.name=(0,n.__)("Please enter a product name shorter than 120 characters.","woocommerce")),e.regular_price&&!/^[0-9.,]+$/.test(e.regular_price)&&(i.regular_price=(0,n.__)("Please enter a price with one monetary decimal point without thousand separators and currency symbols.","woocommerce")),e.sale_price&&!/^[0-9.,]+$/.test(e.sale_price)&&(i.sale_price=(0,n.__)("Please enter a price with one monetary decimal point without thousand separators and currency symbols.","woocommerce")),e.sale_price&&(!e.regular_price||parseFloat(e.sale_price)>=parseFloat(null==e?void 0:e.regular_price))&&(i.sale_price=(0,n.__)("Sale price cannot be equal to or higher than list price.","woocommerce")),null!==(o=e.dimensions)&&void 0!==o&&o.width&&+e.dimensions.width<=0&&(i.dimensions={width:(0,n.__)("Width must be higher than zero.","woocommerce")}),null!==(r=e.dimensions)&&void 0!==r&&r.length&&+e.dimensions.length<=0&&(i.dimensions={...null!==(l=i.dimensions)&&void 0!==l?l:{},length:(0,n.__)("Length must be higher than zero.","woocommerce")}),null!==(c=e.dimensions)&&void 0!==c&&c.height&&+e.dimensions.height<=0&&(i.dimensions={...null!==(s=i.dimensions)&&void 0!==s?s:{},height:(0,n.__)("Height must be higher than zero.","woocommerce")}),e.weight&&+e.weight<=0&&(i.weight=(0,n.__)("Weight must be higher than zero.","woocommerce")),i}},95822:(e,t,o)=>{o.d(t,{J:()=>p});var n=o(69307),a=o(65736),r=o(55609),c=o(86020),i=o(14599),l=o(59417),s=o(14812),m=o(42411),u=o(38863);const d=e=>{let{value:t,onChange:o}=e;if(!t||0===t.length)return(0,n.createElement)("div",{className:"woocommerce-attribute-field"},(0,n.createElement)("div",{className:"woocommerce-attribute-field__empty-container"},(0,n.createElement)("img",{src:u,alt:"Completed",className:"woocommerce-attribute-field__empty-logo"}),(0,n.createElement)(s.Text,{variant:"subtitle.small",weight:"600",size:"14",lineHeight:"20px",className:"woocommerce-attribute-field__empty-subtitle"},(0,a.__)("No attributes yet","woocommerce")),(0,n.createElement)(r.Button,{variant:"secondary",className:"woocommerce-attribute-field__add-new",disabled:!0},(0,a.__)("Add first attribute","woocommerce"))));const i=t.sort(((e,t)=>e.position-t.position)),l=t.reduce(((e,t)=>(e[t.id]=t,e)),{});return(0,n.createElement)("div",{className:"woocommerce-attribute-field"},(0,n.createElement)(c.Sortable,{onOrderChange:e=>{o(function(e,t){return e.map(((e,o)=>{const n=e.key?parseInt(e.key,10):NaN;if(NaN!==n&&t[n])return{...t[n],position:o}})).filter((e=>void 0!==e))}(e,l))}},i.map((e=>(0,n.createElement)(c.ListItem,{key:e.id},(0,n.createElement)("div",null,e.name),(0,n.createElement)("div",{className:"woocommerce-attribute-field__attribute-options"},e.options.slice(0,2).map(((e,t)=>(0,n.createElement)("div",{className:"woocommerce-attribute-field__attribute-option-chip",key:t},e))),e.options.length>2&&(0,n.createElement)("div",{className:"woocommerce-attribute-field__attribute-option-chip"},(0,a.sprintf)((0,a.__)("+ %i more","woocommerce"),e.options.length-2))),(0,n.createElement)("div",{className:"woocommerce-attribute-field__attribute-actions"},(0,n.createElement)(r.Button,{variant:"tertiary",disabled:!0},(0,a.__)("edit","woocommerce")),(0,n.createElement)(r.Button,{icon:m.Z,label:(0,a.__)("Remove attribute","woocommerce"),onClick:()=>(e=>{window.confirm((0,a.__)("Remove this attribute?","woocommerce"))&&o(t.filter((t=>t.id!==e.id)))})(e)})))))),(0,n.createElement)(c.ListItem,null,(0,n.createElement)(r.Button,{variant:"secondary",className:"woocommerce-attribute-field__add-attribute",disabled:!0},(0,a.__)("Add attribute","woocommerce"))))},p=()=>{const{getInputProps:e}=(0,c.useFormContext)();return(0,n.createElement)(l.N,{title:(0,a.__)("Attributes","woocommerce"),className:"woocommerce-product-attributes-section",description:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("span",null,(0,a.__)("Add descriptive pieces of information that customers can use to filter and search for this product.","woocommerce")),(0,n.createElement)(c.Link,{className:"woocommerce-form-section__header-link",href:"https://woocommerce.com/document/managing-product-taxonomies/#product-attributes",target:"_blank",type:"external",onClick:()=>{(0,i.recordEvent)("learn_more_about_attributes_help")}},(0,a.__)("Learn more about attributes","woocommerce")))},(0,n.createElement)(r.Card,null,(0,n.createElement)(r.CardBody,null,(0,n.createElement)(d,e("attributes")))))}},64620:(e,t,o)=>{o.d(t,{I:()=>g});var n=o(69307),a=o(65736),r=o(86020),c=o(55609),i=o(14599),l=o(83849),s=o.n(l),m=o(62907),u=o(42411),d=o(59417),p=o(34537);const g=()=>{const{getInputProps:e,setValue:t}=(0,r.useFormContext)(),o=e("images").value||[],[l,g]=(0,n.useState)(!1),[_,N]=(0,n.useState)(!1),[I,h]=(0,n.useState)(null),E=()=>{g(!l)};return(0,n.createElement)(d.N,{title:(0,a.__)("Images","woocommerce"),description:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("span",null,(0,a.__)("For best results, use JPEG files that are 1000 by 1000 pixels or larger.","woocommerce")),(0,n.createElement)(r.Link,{className:"woocommerce-form-section__header-link",href:"https://woocommerce.com/posts/fast-high-quality-product-photos/",target:"_blank",type:"external",onClick:()=>{(0,i.recordEvent)("prepare_images_help")}},(0,a.__)("How should I prepare images?","woocommerce")))},(0,n.createElement)(c.Card,{className:s()("woocommerce-product-form__images",{"has-images":o.length>0})},(0,n.createElement)(c.CardBody,null,(0,n.createElement)(r.ImageGallery,{onDragStart:e=>{const{id:t,dataset:n}=e.target;if(t)h(parseInt(t,10));else{const e=null==n?void 0:n.index;var a;e&&h(null===(a=o[parseInt(e,10)])||void 0===a?void 0:a.id)}E()},onDragEnd:()=>{_&&I&&(t("images",o.filter((e=>e.id!==I))),N(!1),h(null)),E()},onOrderChange:e=>{const n=e.map((e=>o.find((t=>{var o;return t.id===parseInt(null==e||null===(o=e.props)||void 0===o?void 0:o.id,10)}))));t("images",n)},onReplace:e=>{let{replaceIndex:n,media:a}=e;void 0===o.find((e=>a.id===e.id))&&(o[n]=a,t("images",o))}},o.map((e=>(0,n.createElement)(r.ImageGalleryItem,{key:e.id||e.url,alt:e.alt,src:e.url||e.src,id:`${e.id}`})))),(0,n.createElement)("div",{className:"woocommerce-product-form__image-drop-zone"},l?(0,n.createElement)(c.CardBody,null,(0,n.createElement)("div",{className:"woocommerce-product-form__remove-image-drop-zone"},(0,n.createElement)("span",null,(0,n.createElement)(m.Z,{icon:u.Z,size:20,className:"icon-control"}),(0,a.__)("Drop here to remove","woocommerce")),(0,n.createElement)(c.DropZone,{onHTMLDrop:()=>N(!0),onDrop:()=>N(!0),label:(0,a.__)("Drop here to remove","woocommerce")}))):(0,n.createElement)(c.CardBody,null,(0,n.createElement)(r.MediaUploader,{onError:()=>null,onSelect:e=>{void 0===o.find((t=>e.id===t.id))&&t("images",[...o,e])},onUpload:e=>{e[0].id&&t("images",[...o,...e])},label:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("img",{src:p,alt:"Completed",className:"woocommerce-product-form__drag-and-drop-image"}),(0,n.createElement)("span",null,(0,a.__)("Drag images here or click to upload","woocommerce")))}))))))}},45473:(e,t,o)=>{o.d(t,{t:()=>I});var n=o(5267),a=o(69307),r=o(65736),c=o(86020),i=o(67221),l=o(14599),s=o(9818),m=o(98534),u=o(55609),d=o(59417),p=o(59989),g=o(79205),_=o(54071),N=o(24985);const I=()=>{var e,t,o,I;const{getInputProps:h}=(0,c.useFormContext)(),{sanitizePrice:E}=(0,N.g)(),{isResolving:w,taxSettings:M}=(0,s.useSelect)((e=>{const{getSettings:t,hasFinishedResolution:o}=e(i.SETTINGS_STORE_NAME);return{isResolving:!o("getSettings",["tax"]),taxSettings:t("tax").tax||{}}})),C="yes"===M.woocommerce_prices_include_tax,D=(0,a.useContext)(_.$),k=(0,r.__)("Per your {{link}}store settings{{/link}}, tax is {{strong}}included{{/strong}} in the price.","woocommerce"),S=(0,r.__)("Per your {{link}}store settings{{/link}}, tax is {{strong}}not included{{/strong}} in the price.","woocommerce"),b=(0,m.Z)({mixedString:C?k:S,components:{link:(0,a.createElement)(c.Link,{href:`${g.SX}admin.php?page=wc-settings&tab=tax`,target:"_blank",type:"external",onClick:()=>{(0,l.recordEvent)("product_pricing_list_price_help_tax_settings_click")}},(0,a.createElement)(a.Fragment,null)),strong:(0,a.createElement)("strong",null)}}),y=(0,m.Z)({mixedString:(0,r.__)("Sale price {{span}}(optional){{/span}}","woocommerce"),components:{span:(0,a.createElement)("span",{className:"woocommerce-product-form__optional-input"})}}),j=(0,p.o9)({...h("regular_price"),context:D}),v=(0,p.o9)({...h("sale_price"),context:D});return(0,a.createElement)(d.N,{title:(0,r.__)("Pricing","woocommerce"),description:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("span",null,(0,r.__)("Set a competitive price, put the product on sale, and manage tax calculations.","woocommerce")),(0,a.createElement)(c.Link,{className:"woocommerce-form-section__header-link",href:"https://woocommerce.com/posts/how-to-price-products-strategies-expert-tips/",target:"_blank",type:"external",onClick:()=>{(0,l.recordEvent)("add_product_pricing_help")}},(0,r.__)("How to price your product: expert tips","woocommerce")))},(0,a.createElement)(u.Card,null,(0,a.createElement)(u.CardBody,null,(0,a.createElement)(u.BaseControl,{id:"product_pricing_regular_price",className:null!==(e=null==j?void 0:j.className)&&void 0!==e?e:"",help:null!==(t=null==j?void 0:j.help)&&void 0!==t?t:""},(0,a.createElement)(u.__experimentalInputControl,(0,n.Z)({},j,{label:(0,r.__)("List price","woocommerce"),placeholder:(0,r.__)("10.59","woocommerce"),onChange:e=>{const t=E(e);null==j||j.onChange(t)}}))),!w&&(0,a.createElement)("span",{className:"woocommerce-product-form__secondary-text"},b),(0,a.createElement)(u.BaseControl,{id:"product_pricing_sale_price",className:null!==(o=null==v?void 0:v.className)&&void 0!==o?o:"",help:null!==(I=null==v?void 0:v.help)&&void 0!==I?I:""},(0,a.createElement)(u.__experimentalInputControl,(0,n.Z)({},v,{label:y,placeholder:(0,r.__)("8.59","woocommerce"),onChange:e=>{const t=E(e);null==v||v.onChange(t)}}))))))}},90142:(e,t,o)=>{o.d(t,{o:()=>I});var n=o(5267),a=o(69307),r=o(55609),c=o(9818),i=o(65736),l=o(96483),s=o(86020),m=o(67221),u=o(14599),d=o(59989),p=o(59417),g=o(14812),_=o(24985);const N=e=>{let{product:t,permalinkPrefix:o,permalinkSuffix:n,onCancel:m,onSaved:d}=e;const{createNotice:p}=(0,c.useDispatch)("core/notices"),{updateProductWithStatus:N,isUpdatingDraft:I,isUpdatingPublished:h}=(0,_.g)(),[E,w]=(0,a.useState)(t.slug||(0,l.cleanForSlug)(t.name)),{resetForm:M,touched:C,errors:D}=(0,s.useFormContext)(),k=o+(0,l.cleanForSlug)(E)+n;return(0,a.createElement)(r.Modal,{title:(0,i.__)("Edit product link","woocommerce"),onRequestClose:()=>m(),className:"woocommerce-product-link-edit-modal"},(0,a.createElement)("div",{className:"woocommerce-product-link-edit-modal__wrapper"},(0,a.createElement)(r.TextControl,{label:k,name:"slug",value:E,onChange:w}),(0,a.createElement)(g.Text,{size:12},(0,i.__)("Use simple, descriptive words and numbers. We'll replace spaces with hyphens (-).","woocommerce")),(0,a.createElement)("div",{className:"woocommerce-product-link-edit-modal__buttons"},(0,a.createElement)(r.Button,{isSecondary:!0,onClick:()=>m()},(0,i.__)("Cancel","woocommerce")),(0,a.createElement)(r.Button,{isPrimary:!0,isBusy:I||h,disabled:I||h||E===t.slug,onClick:()=>{(async()=>{(0,u.recordEvent)("product_update_slug",{new_product_page:!0,product_id:t.id,product_type:t.type});const e=await N(t.id,{slug:E},t.status,!0);e&&e.id?(M({...t,slug:e.slug,permalink:e.permalink},C,D),p(e.slug===(0,l.cleanForSlug)(E)?"success":"info",e.slug===(0,l.cleanForSlug)(E)?(0,i.__)("Product link successfully updated.","woocommerce"):(0,i.__)("Product link already existed, updated to ","woocommerce")+e.permalink)):p("error",(0,i.__)("Failed to update product link.","woocommerce")),d()})()}},(0,i.__)("Save","woocommerce")))))},I=()=>{const{getInputProps:e,values:t,touched:o,errors:g,setValue:_}=(0,s.useFormContext)(),[I,h]=(0,a.useState)(!1),{permalinkPrefix:E,permalinkSuffix:w}=(0,c.useSelect)((e=>{const{getPermalinkParts:o}=e(m.PRODUCTS_STORE_NAME);if(t.id){const e=o(t.id);return{permalinkPrefix:null==e?void 0:e.prefix,permalinkSuffix:null==e?void 0:e.suffix}}return{}}));return(0,a.createElement)(p.N,{title:(0,i.__)("Product info","woocommerce"),description:(0,i.__)("This info will be displayed on the product page, category pages, social media, and search results.","woocommerce")},(0,a.createElement)(r.Card,null,(0,a.createElement)(r.CardBody,null,(0,a.createElement)("div",null,(0,a.createElement)(r.TextControl,(0,n.Z)({label:(0,i.__)("Name","woocommerce"),name:"product-details-name",placeholder:(0,i.__)("e.g. 12 oz Coffee Mug","woocommerce")},(0,d.g$)(e("name")),{onBlur:()=>{!t.sku&&t.name.length&&_("sku",(0,l.cleanForSlug)(t.name)),e("name").onBlur()}})),t.id&&!(Boolean(o.name)&&Boolean(g.name))&&E&&(0,a.createElement)("span",{className:"woocommerce-product-form__secondary-text product-details-section__product-link"},(0,i.__)("Product link","woocommerce"),": ",(0,a.createElement)("a",{href:t.permalink,target:"_blank",rel:"noreferrer"},E,t.slug||(0,l.cleanForSlug)(t.name),w),(0,a.createElement)(r.Button,{variant:"link",onClick:()=>h(!0)},(0,i.__)("Edit","woocommerce")))),(0,a.createElement)(r.CheckboxControl,(0,n.Z)({label:(0,a.createElement)(s.EnrichedLabel,{label:(0,i.__)("Feature this product","woocommerce"),helpDescription:(0,i.__)("Include this product in a featured section on your website with a widget or shortcode.","woocommerce"),moreUrl:"https://woocommerce.com/document/woocommerce-shortcodes/#products",tooltipLinkCallback:()=>(0,u.recordEvent)("add_product_learn_more",{category:"product-details"})})},(0,d.A_)({...e("featured"),name:"featured",className:"product-details-section__feature-checkbox"}))),I&&(0,a.createElement)(N,{permalinkPrefix:E||"",permalinkSuffix:w||"",product:t,onCancel:()=>h(!1),onSaved:()=>h(!1)}))))}},48023:(e,t,o)=>{o.d(t,{i:()=>_,G:()=>N});var n=o(5267),a=o(69307),r=o(65736),c=o(55609),i=o(74617),l=o(86020),s=o(14599),m=o(59989),u=o(79205),d=o(59417),p=o(98534);const g=()=>{const{getInputProps:e}=(0,l.useFormContext)(),t=(0,u.O3)("notifyLowStockAmount",2);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("h4",null,(0,r.__)("Product quantity","woocommerce")),(0,a.createElement)(c.TextControl,(0,n.Z)({type:"number",label:(0,r.__)("Current quantity","woocommerce")},(0,m.g$)({...e("stock_quantity")}),{min:0})),(0,a.createElement)(c.TextControl,(0,n.Z)({type:"number",label:(0,r.__)("Email me when quantity reaches","woocommerce"),placeholder:(0,r.sprintf)((0,r.__)("%d (store default)","woocommerce"),t)},(0,m.g$)({...e("low_stock_amount")}),{min:0})),(0,a.createElement)("span",{className:"woocommerce-product-form__secondary-text"},(0,p.Z)({mixedString:(0,r.__)("Make sure to enable notifications in {{link}}store settings{{/link}}.","woocommerce"),components:{link:(0,a.createElement)(l.Link,{href:(0,i.getAdminLink)("admin.php?page=wc-settings&tab=products§ion=inventory"),target:"_blank",type:"wp-admin",onClick:()=>{(0,s.recordEvent)("product_pricing_list_price_help_tax_settings_click")}},(0,a.createElement)(a.Fragment,null)),strong:(0,a.createElement)("strong",null)}})))},_=()=>{const{getInputProps:e,values:t}=(0,l.useFormContext)(),o="yes"===(0,u.O3)("manageStock","yes");return(0,a.createElement)(d.N,{title:(0,r.__)("Inventory","woocommerce"),description:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("span",null,(0,r.__)("Set up and manage inventory for this product, including status and available quantity.","woocommerce")),(0,a.createElement)(l.Link,{href:(0,i.getAdminLink)("admin.php?page=wc-settings&tab=products§ion=inventory"),target:"_blank",type:"wp-admin",onClick:()=>{(0,s.recordEvent)("add_product_inventory_help")},className:"woocommerce-form-section__header-link"},(0,r.__)("Manage global inventory settings","woocommerce")))},(0,a.createElement)(c.Card,null,(0,a.createElement)(c.CardBody,null,(0,a.createElement)(c.TextControl,(0,n.Z)({label:(0,r.__)("SKU (Stock Keeping Unit)","woocommerce"),placeholder:(0,r.__)("washed-oxford-button-down-shirt","woocommerce")},(0,m.g$)(e("sku")))),o&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(c.ToggleControl,(0,n.Z)({label:(0,r.__)("Track quantity for this product","woocommerce")},(0,m.A_)(e("manage_stock")))),t.manage_stock&&(0,a.createElement)(g,null)))))},N=(e,t)=>{const o={...t};return e.stock_quantity&&e.stock_quantity<0&&(o.stock_quantity=(0,r.__)("Stock quantity must be a positive number.","woocommerce")),e.low_stock_amount&&e.low_stock_amount<0&&(o.low_stock_amount=(0,r.__)("Stock quantity must be a positive number.","woocommerce")),o}},32604:(e,t,o)=>{o.d(t,{I:()=>S});var n=o(5267),a=o(69307),r=o(9818),c=o(65736),i=o(86020),l=o(67221),s=o(98534),m=o(55609),u=o(79205),d=o(59417);function p(e){let{highlight:t,...o}=e;return(0,a.createElement)("svg",(0,n.Z)({},o,{viewBox:"0 0 288 195",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),(0,a.createElement)("path",{d:"M10.4922 134.221V35.2617C10.4922 33.8539 11.9079 32.8867 13.2193 33.3986L98.3109 66.6076C99.0711 66.9043 99.5748 67.633 99.5837 68.449L100.703 171.089C100.719 172.534 99.2449 173.518 97.9167 172.95L11.7054 136.06C10.9695 135.745 10.4922 135.022 10.4922 134.221Z",fill:"A"===t?"#F0F6FC":"#F6F7F7"}),(0,a.createElement)("path",{d:"M43.9062 84.2338V44.7946L187.953 11.877L211.485 20.5392L67.0049 53.3546V93.6078L43.9062 84.2338Z",fill:"#F0F0F0",stroke:"#DDDDDD",strokeWidth:"2"}),(0,a.createElement)("path",{d:"M43.9062 99.8824V90.6973L67.0049 100.301V109.256L43.9062 99.8824Z",fill:"#F0F0F0",stroke:"#DDDDDD",strokeWidth:"2"}),(0,a.createElement)("path",{d:"M10.4922 134.22V35.2617C10.4922 33.8539 11.9079 32.8867 13.2193 33.3986L98.2977 66.6025C99.0645 66.9017 99.5696 67.6402 99.5705 68.4633L99.6936 173.635L11.7067 136.06C10.9701 135.745 10.4922 135.021 10.4922 134.22Z",stroke:"#DDDDDD",strokeWidth:"2"}),(0,a.createElement)("path",{d:"M249.015 32.8879L99.5703 66.7689V172.489C99.5703 173.801 100.812 174.758 102.081 174.423L249.968 135.378C250.846 135.146 251.458 134.352 251.458 133.444V34.8384C251.458 33.5554 250.267 32.6042 249.015 32.8879Z",fill:"B"===t?"#F0F6FC":"#F6F7F7",stroke:"#DDDDDD",strokeWidth:"2"}),(0,a.createElement)("path",{d:"M154.224 117.401L115.969 126.13C115.059 126.337 114.414 127.147 114.414 128.08V154.212C114.414 155.526 115.658 156.483 116.928 156.145L155.182 145.98C156.058 145.747 156.668 144.954 156.668 144.047V119.351C156.668 118.067 155.475 117.115 154.224 117.401Z",fill:"#F0F0F0",stroke:"#DDDDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"6 6"}),(0,a.createElement)("path",{d:"M12.0625 33.3189L159.943 1.6182C160.304 1.54091 160.679 1.5648 161.027 1.68725L249.4 32.7973",stroke:"#DDDDDD",strokeWidth:"2"}),(0,a.createElement)("path",{d:"M0.214844 149.961L5.30102 156.971L8.8282 149.061L0.214844 149.961ZM84.7236 187.648L79.6374 180.638L76.1102 188.548L84.7236 187.648ZM6.07417 153.396L78.2533 185.584L78.8642 184.214L6.68509 152.026L6.07417 153.396Z",fill:"A"===t?"#007CBA":"#BBBBBB"}),(0,a.createElement)("path",{d:"M256.025 152.246L247.662 149.998L249.897 158.365L256.025 152.246ZM106.422 192.216L114.785 194.463L112.55 186.097L106.422 192.216ZM249.31 153.263L112.75 189.749L113.137 191.198L249.698 154.713L249.31 153.263Z",fill:"B"===t?"#007CBA":"#BBBBBB"}),(0,a.createElement)("path",{d:"M268.586 28.908L264.256 36.408H272.916L268.586 28.908ZM268.586 131.689L272.916 124.189H264.256L268.586 131.689ZM267.836 35.658V124.939H269.336V35.658H267.836Z",fill:"C"===t?"#007CBA":"#BBBBBB"}),(0,a.createElement)("path",{d:"M26.8564 184.66L29.6548 176.909H30.9492L33.7476 184.66H32.4692L31.7603 182.603H28.8062L28.0918 184.66H26.8564ZM29.1123 181.593H31.4541L30.3315 178.316H30.2402L29.1123 181.593Z",fill:"A"===t?"#007CBA":"#757575"}),(0,a.createElement)("path",{d:"M189.621 189.228V181.478H192.736C193.463 181.478 194.032 181.651 194.444 181.999C194.859 182.342 195.067 182.813 195.067 183.411C195.067 183.816 194.936 184.179 194.675 184.501C194.413 184.82 194.091 185.012 193.708 185.076V185.167C194.231 185.221 194.652 185.42 194.97 185.764C195.292 186.104 195.454 186.526 195.454 187.031C195.454 187.715 195.219 188.252 194.75 188.643C194.281 189.033 193.633 189.228 192.806 189.228H189.621ZM190.824 188.208H192.564C193.105 188.208 193.516 188.1 193.799 187.885C194.082 187.67 194.224 187.357 194.224 186.945C194.224 186.541 194.077 186.235 193.783 186.027C193.49 185.816 193.06 185.71 192.494 185.71H190.824V188.208ZM190.824 184.759H192.252C192.782 184.759 193.183 184.664 193.456 184.475C193.731 184.281 193.869 184 193.869 183.631C193.869 183.273 193.744 182.996 193.493 182.799C193.246 182.598 192.901 182.498 192.457 182.498H190.824V184.759Z",fill:"B"===t?"#007CBA":"#757575"}),(0,a.createElement)("path",{d:"M279.519 80.2898C279.519 79.033 279.83 78.0411 280.453 77.3142C281.08 76.5873 281.932 76.2239 283.01 76.2239C283.862 76.2239 284.587 76.4745 285.185 76.9758C285.787 77.4736 286.136 78.1181 286.232 78.9094H285.035C284.92 78.4332 284.68 78.0536 284.315 77.7708C283.953 77.4879 283.518 77.3464 283.01 77.3464C282.315 77.3464 281.764 77.6114 281.355 78.1414C280.951 78.6677 280.749 79.3839 280.749 80.2898C280.749 81.1921 280.951 81.9083 281.355 82.4382C281.764 82.9646 282.317 83.2278 283.015 83.2278C283.527 83.2278 283.964 83.0989 284.326 82.8411C284.691 82.5833 284.927 82.2359 285.035 81.7991H286.232C286.125 82.5653 285.778 83.183 285.19 83.6521C284.603 84.1176 283.878 84.3503 283.015 84.3503C281.937 84.3503 281.085 83.9869 280.458 83.26C279.832 82.5331 279.519 81.5431 279.519 80.2898Z",fill:"C"===t?"#007CBA":"#757575"}))}var g=o(24985),_=o(59989);function N(e){var t;let{onAdd:o,onCancel:r}=e;const{getInputProps:l,isValidForm:u}=(0,i.useFormContext)(),[d,p]=(0,a.useState)(!1),g=(0,_.g$)(l("name")),N=(0,_.g$)(l("slug")),I=(0,_.g$)(l("description"));return(0,a.createElement)("div",{className:"woocommerce-add-new-shipping-class-modal__wrapper"},(0,a.createElement)(m.TextControl,(0,n.Z)({},g,{label:(0,c.__)("Name","woocommerce")})),(0,a.createElement)(m.TextControl,(0,n.Z)({},N,{label:(0,s.Z)({mixedString:(0,c.__)("Slug {{span}}(optional){{/span}}","woocommerce"),components:{span:(0,a.createElement)("span",{className:"woocommerce-add-new-shipping-class-modal__optional-input"})}})})),(0,a.createElement)(m.TextControl,(0,n.Z)({},I,{label:(0,s.Z)({mixedString:(0,c.__)("Description {{span}}(optional){{/span}}","woocommerce"),components:{span:(0,a.createElement)("span",{className:"woocommerce-add-new-shipping-class-modal__optional-input"})}}),help:null!==(t=null==I?void 0:I.help)&&void 0!==t?t:(0,c.__)("Describe how you and other store administrators can use this shipping class.","woocommerce")})),(0,a.createElement)("div",{className:"woocommerce-add-new-shipping-class-modal__buttons"},(0,a.createElement)(m.Button,{isSecondary:!0,onClick:r},(0,c.__)("Cancel","woocommerce")),(0,a.createElement)(m.Button,{isPrimary:!0,isBusy:d,disabled:!u||d,onClick:function(){p(!0),o().then((()=>{p(!1),r()})).catch((()=>{p(!1)}))}},(0,c.__)("Add","woocommerce"))))}function I(e){var t;const o={};return null!==(t=e.name)&&void 0!==t&&t.length||(o.name=(0,c.__)("The shipping class name is required.","woocommerce")),o}const h={name:(0,c.__)("New shipping class","woocommerce"),slug:(0,c.__)("new-shipping-class","woocommerce")};function E(e){let{shippingClass:t,onAdd:o,onCancel:n}=e;return(0,a.createElement)(m.Modal,{title:(0,c.__)("New shipping class","woocommerce"),className:"woocommerce-add-new-shipping-class-modal",onRequestClose:n},(0,a.createElement)(i.Form,{initialValues:null!=t?t:h,validate:I,errors:{},onSubmit:o},(e=>(0,a.createElement)(N,{onAdd:e.handleSubmit,onCancel:n}))))}const w="__ADD_NEW_SHIPPING_CLASS_OPTION__",M=[{value:"",label:(0,c.__)("No shipping class","woocommerce")},{value:w,label:(0,c.__)("Add new shipping class","woocommerce")}];function C(e){return e.map((e=>{let{slug:t,name:o}=e;return{value:t,label:o}}))}function D(e){return(0,s.Z)({mixedString:e,components:{span:(0,a.createElement)("span",{className:"woocommerce-product-form__secondary-text"})}})}function k(e){var t;const o=null==e||null===(t=e.categories)||void 0===t?void 0:t.find((e=>{let{slug:t}=e;return"uncategorized"!==t}));if(o)return{name:o.name,slug:o.slug}}function S(e){let{product:t}=e;const{getInputProps:o}=(0,i.useFormContext)(),{formatNumber:N,parseNumber:I}=(0,g.g)(),[h,S]=(0,a.useState)(),[b,y]=(0,a.useState)(!1),{shippingClasses:j,hasResolvedShippingClasses:v}=(0,r.useSelect)((e=>{const{getProductShippingClasses:t,hasFinishedResolution:o}=e(l.EXPERIMENTAL_PRODUCT_SHIPPING_CLASSES_STORE_NAME);return{hasResolvedShippingClasses:o("getProductShippingClasses"),shippingClasses:t()}}),[]),{dimensionUnit:x,weightUnit:T,hasResolvedUnits:L}=(0,r.useSelect)((e=>{const{getOption:t,hasFinishedResolution:o}=e(l.OPTIONS_STORE_NAME);return{dimensionUnit:t("woocommerce_dimension_unit"),weightUnit:t("woocommerce_weight_unit"),hasResolvedUnits:o("getOption",["woocommerce_dimension_unit"])&&o("getOption",["woocommerce_weight_unit"])}}),[]),{createProductShippingClass:z,invalidateResolution:f}=(0,r.useDispatch)(l.EXPERIMENTAL_PRODUCT_SHIPPING_CLASSES_STORE_NAME),R=(0,_.g$)(o("shipping_class")),P=(0,_.g$)(o("dimensions.width")),A=(0,_.g$)(o("dimensions.length")),U=(0,_.g$)(o("dimensions.height")),B=(0,_.g$)(o("weight"));return(0,a.createElement)(d.N,{title:(0,c.__)("Shipping","woocommerce"),description:(0,c.__)("Set up shipping costs and enter dimensions used for accurate rate calculations.","woocommerce")},(0,a.createElement)(m.Card,null,(0,a.createElement)(m.CardBody,{className:"product-shipping-section__classes"},v?(0,a.createElement)(a.Fragment,null,(0,a.createElement)(m.SelectControl,(0,n.Z)({},R,{label:(0,c.__)("Shipping class","woocommerce"),options:[...M,...C(null!=j?j:[])],onChange:e=>{e!==w?null==R||R.onChange(e):y(!0)}})),(0,a.createElement)("span",{className:"woocommerce-product-form__secondary-text"},(0,s.Z)({mixedString:(0,c.__)("Manage shipping classes and rates in {{link}}global settings{{/link}}.","woocommerce"),components:{link:(0,a.createElement)(i.Link,{href:`${u.SX}admin.php?page=wc-settings&tab=shipping§ion=classes`,target:"_blank",type:"external"},(0,a.createElement)(a.Fragment,null))}}))):(0,a.createElement)("div",{className:"product-shipping-section__spinner-wrapper"},(0,a.createElement)(i.Spinner,null)))),(0,a.createElement)(m.Card,null,(0,a.createElement)(m.CardBody,{className:"product-shipping-section__dimensions"},L?(0,a.createElement)(a.Fragment,null,(0,a.createElement)("h4",null,(0,c.__)("Dimensions","woocommerce")),(0,a.createElement)("p",{className:"woocommerce-product-form__secondary-text"},(0,c.__)("Enter the size of the product as you’d put it in a shipping box, including packaging like bubble wrap.","woocommerce")),(0,a.createElement)("div",{className:"product-shipping-section__dimensions-body"},(0,a.createElement)("div",{className:"product-shipping-section__dimensions-body-col"},(0,a.createElement)(m.BaseControl,{id:"product_shipping_dimensions_width",className:P.className,help:P.help},(0,a.createElement)(m.__experimentalInputControl,(0,n.Z)({},P,{value:N(P.value),label:D((0,c.__)("Width {{span}}A{{/span}}","woocommerce")),onChange:e=>null==P?void 0:P.onChange(I(e)),onFocus:()=>{S("A")},onBlur:()=>{S(void 0),null==P||P.onBlur()},suffix:x}))),(0,a.createElement)(m.BaseControl,{id:"product_shipping_dimensions_length",className:A.className,help:A.help},(0,a.createElement)(m.__experimentalInputControl,(0,n.Z)({},A,{value:N(A.value),label:D((0,c.__)("Length {{span}}B{{/span}}","woocommerce")),onChange:e=>null==A?void 0:A.onChange(I(e)),onFocus:()=>{S("B")},onBlur:()=>{S(void 0),null==A||A.onBlur()},suffix:x}))),(0,a.createElement)(m.BaseControl,{id:"product_shipping_dimensions_height",className:U.className,help:U.help},(0,a.createElement)(m.__experimentalInputControl,(0,n.Z)({},U,{value:N(U.value),label:D((0,c.__)("Height {{span}}C{{/span}}","woocommerce")),onChange:e=>null==U?void 0:U.onChange(I(e)),onFocus:()=>{S("C")},onBlur:()=>{S(void 0),null==U||U.onBlur()},suffix:x}))),(0,a.createElement)(m.BaseControl,{id:"product_shipping_weight",className:B.className,help:B.help},(0,a.createElement)(m.__experimentalInputControl,(0,n.Z)({},B,{value:N(B.value),label:(0,c.__)("Weight","woocommerce"),onChange:e=>null==B?void 0:B.onChange(I(e)),suffix:T})))),(0,a.createElement)("div",{className:"product-shipping-section__dimensions-body-col"},(0,a.createElement)(p,{highlight:h,className:"product-shipping-section__dimensions-image"})))):(0,a.createElement)("div",{className:"product-shipping-section__spinner-wrapper"},(0,a.createElement)(i.Spinner,null)))),b&&(0,a.createElement)(E,{shippingClass:t&&k(t),onAdd:e=>z(e).then((e=>(f("getProductShippingClasses"),e))),onCancel:()=>y(!1)}))}},59989:(e,t,o)=>{o.d(t,{A_:()=>i,g$:()=>l,o9:()=>s});var n=o(83849),a=o.n(n),r=o(14599),c=o(63373);const i=e=>{let{checked:t=!1,className:o,name:n,onBlur:c,onChange:i}=e;return{checked:t,className:a()("woocommerce-product__checkbox",o),onChange:e=>((0,r.recordEvent)(`product_checkbox_${n}`,{checked:e}),i(e)),onBlur:c}},l=e=>{let{className:t,onBlur:o,onChange:n,value:r="",help:c}=e;return{value:r,className:a()("woocommerce-product__text",t),onChange:n,onBlur:o,help:c}},s=e=>{let{className:t,context:o,onBlur:n,onChange:r,value:i="",help:l}=e;if(!o)return;const{formatAmount:s,getCurrencyConfig:m}=o,{decimalSeparator:u,symbol:d,symbolPosition:p,thousandSeparator:g}=m(),_=p.includes("left")?"prefix":"suffix",N=new RegExp(c.aT.replace("%s1",u).replace("%s2",g),"g");return{value:void 0===i?i:s(i).replace(N,""),[_]:d,className:a()("woocommerce-product__input",t),onChange:r,onBlur:n,help:l}}},24985:(e,t,o)=>{o.d(t,{g:()=>g});var n=o(65736),a=o(9818),r=o(69307),c=o(81595),i=o(67221),l=o(14599),s=o(10431),m=o(54071),u=o(63373);function d(e){return i.productReadOnlyProperties.forEach((t=>delete e[t])),e}function p(e,t){return"publish"===e&&t?[{label:(0,n.__)("View in store","woocommerce"),onClick:()=>{(0,l.recordEvent)("product_preview_changes",{new_product_page:!0}),window.open(t,"_blank")}}]:[]}function g(){const{createProduct:e,updateProduct:t,deleteProduct:o}=(0,a.useDispatch)(i.PRODUCTS_STORE_NAME),{createNotice:l}=(0,a.useDispatch)("core/notices"),[g,_]=(0,r.useState)(!1),[N,I]=(0,r.useState)({draft:!1,publish:!1}),h=(0,r.useContext)(m.$),E=(0,r.useCallback)((async function(t,o){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];I({...N,[o]:!0}),e({...t,status:o}).then((e=>{a||l("success","publish"===e.status?(0,n.__)("🎉 Product published. View in store","woocommerce"):(0,n.__)("🎉 Product successfully created.","woocommerce"),{actions:p(e.status,e.permalink)}),I({...N,[o]:!1}),r||(0,s.navigateTo)({url:"admin.php?page=wc-admin&path=/product/"+e.id})}),(()=>{a||l("error","publish"===o?(0,n.__)("Failed to publish product.","woocommerce"):(0,n.__)("Failed to create product.","woocommerce")),I({...N,[o]:!1})}))}),[N]),w=(0,r.useCallback)((async function(e,o,a){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return I({...N,[a]:!0}),t(e,{...o,status:a}).then((e=>(r||l("success","draft"===o.status&&"publish"===e.status?(0,n.__)("🎉 Product published. View in store.","woocommerce"):(0,n.__)("🎉 Product successfully updated.","woocommerce"),{actions:p(e.status,e.permalink)}),I({...N,[a]:!1}),e)),(e=>(r||l("error",(0,n.__)("Failed to update product.","woocommerce")),I({...N,[a]:!1}),e)))}),[N]),M=(0,r.useCallback)((async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"draft";return E(d({...e,name:(e.name||"AUTO-DRAFT")+" - Copy"}),t)}),[]),C=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"edit.php?post_type=product";return _(!0),o(e).then((()=>{l("success",(0,n.__)("🎉 Successfully moved product to Trash.","woocommerce")),(0,s.navigateTo)({url:t}),_(!1)}))}),[]),D=(0,r.useCallback)((e=>{const{getCurrencyConfig:t}=h,{decimalSeparator:o}=t(),n=new RegExp(u.ec.replace("%s",o),"g"),a=new RegExp(u.UM.replaceAll("%s",o),"g");return e.replace(n,"").replace(a,"").replace(o,".")}),[h]),k=(0,r.useCallback)((e=>{const{getCurrencyConfig:t}=h,{decimalSeparator:o,thousandSeparator:n}=t();return c.numberFormat({decimalSeparator:o,thousandSeparator:n},e)}),[h]),S=(0,r.useCallback)((e=>{const{getCurrencyConfig:t}=h,{decimalSeparator:o,thousandSeparator:n}=t();return c.parseNumber({decimalSeparator:o,thousandSeparator:n},e)}),[h]);return{createProductWithStatus:E,updateProductWithStatus:w,copyProductWithStatus:M,deleteProductAndRedirect:C,sanitizePrice:D,formatNumber:k,parseNumber:S,isUpdatingDraft:N.draft,isUpdatingPublished:N.publish,isDeleting:g}}},38863:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUxIiBoZWlnaHQ9IjcyIiB2aWV3Qm94PSIwIDAgMTUxIDcyIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cmVjdCB4PSI0NS44MjkxIiB5PSIyNS4yMzYzIiB3aWR0aD0iNzguNDk0NSIgaGVpZ2h0PSI0NS4yNjM3IiByeD0iMy43MzgxIiBmaWxsPSIjRjZGN0Y3IiBzdHJva2U9IiNE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