PATH:
home
/
lab2454c
/
isaaclondston.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
chunks
"use strict";(self.webpackChunk_wcAdmin_webpackJsonp=self.webpackChunk_wcAdmin_webpackJsonp||[]).push([[3307],{36778:function(e,t,n){n.r(t);var r=n(69307),c=n(65736),a=n(14599),i=n(9818),s=n(86020),l=n(67221),u=n(85597),o=n(89145),d=n(67628),m=n(97602),p=n(86998),E=n(45473),v=n(32604),_=n(64620),P=n(3143),g=n(34953);t.default=()=>{var e,t;const{productId:n}=(0,u.UO)(),f=(0,r.useRef)(),h=(0,r.useRef)(null),{product:w,isLoading:I,isPendingAction:k}=(0,i.useSelect)((e=>{const{getProduct:t,hasFinishedResolution:r,isPending:c,getPermalinkParts:a}=e(l.PRODUCTS_STORE_NAME);if(n){const e=t(parseInt(n,10),void 0);return{product:a(parseInt(n,10))&&e?e:void 0,isLoading:!r("getProduct",[parseInt(n,10)])||!r("getPermalinkParts",[parseInt(n,10)]),isPendingAction:c("createProduct")||c("deleteProduct",parseInt(n,10))||c("updateProduct",parseInt(n,10))}}return{isLoading:!1,isPendingAction:!1}}));(0,r.useEffect)((()=>{f.current&&w&&f.current.id!==w.id&&h.current&&h.current.resetForm(w),f.current=w}),[w]),(0,r.useEffect)((()=>{(0,a.recordEvent)("view_new_product_management_experience")}),[]);const b=(null===(e=f.current)||void 0===e?void 0:e.id)===(null==w?void 0:w.id)&&"trash"!==(null===(t=f.current)||void 0===t?void 0:t.status)&&"trash"===(null==w?void 0:w.status);return(0,r.createElement)("div",{className:"woocommerce-edit-product"},I&&!w?(0,r.createElement)("div",{className:"woocommerce-edit-product__spinner"},(0,r.createElement)(s.Spinner,null)):null,w&&"trash"===w.status&&!k&&!b&&(0,r.createElement)(d.a,null,(0,r.createElement)("div",{className:"woocommerce-edit-product__error"},(0,c.__)("You cannot edit this item because it is in the Trash. Please restore it and try again.","woocommerce"))),w&&("trash"!==w.status||b)&&(0,r.createElement)(s.Form,{ref:h,initialValues:w||{},validate:P.G,errors:{}},(0,r.createElement)(o.b,null),(0,r.createElement)(d.a,null,(0,r.createElement)(m.o,null),(0,r.createElement)(E.t,null),(0,r.createElement)(_.I,null),(0,r.createElement)(p.i,null),(0,r.createElement)(v.I,{product:w}),(0,r.createElement)(g.J,null))))}}}]);
[-] analytics-report-products.js
[edit]
[-] marketing-overview.js
[edit]
[-] 8544.style.css
[edit]
[-] 2463.style.css
[edit]
[-] multichannel-marketing.js
[edit]
[-] analytics-report-orders.js
[edit]
[-] 6743.js
[edit]
[-] 727.style.css
[edit]
[-] 2397.style.css
[edit]
[-] 3994.style.css
[edit]
[-] 4854.style.css
[edit]
[-] 7619.js
[edit]
[-] 1996.style.css
[edit]
[-] wcpay-payment-welcome-page.js
[edit]
[-] 7715.js
[edit]
[-] 4882.style.css
[edit]
[-] analytics-report-coupons.js
[edit]
[-] 7209.js
[edit]
[-] 2463.js
[edit]
[-] 1378.js
[edit]
[+]
..
[-] 5598.js
[edit]
[-] customizable-dashboard.js
[edit]
[-] analytics-report-downloads.js
[edit]
[-] 7708.style.css
[edit]
[-] dashboard.js
[edit]
[-] analytics-report.js
[edit]
[-] store-performance.js
[edit]
[-] 9470.js
[edit]
[-] 3700.style.css
[edit]
[-] analytics-report-stock.js
[edit]
[-] analytics-settings.js
[edit]
[-] add-product-page.js
[edit]
[-] profile-wizard.js
[edit]
[-] 3705.js
[edit]
[-] 2953.style.css
[edit]
[-] 2563.js
[edit]
[-] 8851.style.css
[edit]
[-] 8597.style.css
[edit]
[-] 3705.style.css
[edit]
[-] 6732.style.css
[edit]
[-] activity-panels-inbox.js
[edit]
[-] 6125.style.css
[edit]
[-] 9456.style.css
[edit]
[-] analytics-report-categories.js
[edit]
[-] 1378.style.css
[edit]
[-] activity-panels-help.js
[edit]
[-] analytics-report-customers.js
[edit]
[-] analytics-report-revenue.js
[edit]
[-] homescreen.js
[edit]
[-] 4011.style.css
[edit]
[-] payment-recommendations.js
[edit]
[-] analytics-report-variations.js
[edit]
[-] 9360.style.css
[edit]
[-] edit-product-page.js
[edit]
[-] activity-panels-setup.js
[edit]
[-] dashboard-charts.js
[edit]
[-] 5502.style.css
[edit]
[-] store-alerts.js
[edit]
[-] 185.style.css
[edit]
[-] 5598.style.css
[edit]
[-] leaderboards.js
[edit]
[-] 2624.style.css
[edit]
[-] 3383.style.css
[edit]
[-] 2502.style.css
[edit]
[-] shipping-recommendations.js
[edit]
[-] 3576.style.css
[edit]
[-] 3383.js
[edit]
[-] 3726.style.css
[edit]
[-] 7488.js
[edit]
[-] analytics-report-taxes.js
[edit]
[-] 6824.style.css
[edit]
[-] 9966.style.css
[edit]
[-] 7619.js.LICENSE.txt
[edit]
[-] 9792.style.css
[edit]