"use strict";(self.webpackChunkForest_Rangers_System=self.webpackChunkForest_Rangers_System||[]).push([[4113],{4113:function(e,t,r){r.r(t),r.d(t,{default:function(){return p}});var n=r(47313),i=r(12488),o=r(97890),u=r(70178),c=r(1738),d=r(3880),s=r(76025),f=r(50177),a=r(22227),m=r(50103),h=r(489),l=r(46417);function p(){var e=(0,f.Z)().themeStretch,t=(0,c.I0)(),r=(0,o.UO)().name,p=void 0===r?"":r,v=(0,c.v9)((function(e){return e.product})).products.find((function(e){return(0,i.o)(e.name)===p}));return(0,n.useEffect)((function(){t((0,d.Xp)())}),[t]),(0,l.jsx)(a.Z,{title:"Ecommerce: Edit product",children:(0,l.jsxs)(u.Z,{maxWidth:!e&&"lg",children:[(0,l.jsx)(m.Z,{heading:"Edit product",links:[{name:"Dashboard",href:s.vB.root},{name:"E-Commerce",href:s.vB.eCommerce.root},{name:p}]}),(0,l.jsx)(h.Z,{isEdit:!0,currentProduct:v})]})})}},12488:function(e,t,r){r.d(t,{o:function(){return o}});var n=r(66797),i=r(26675);function o(e,t){return void 0===t&&(t={}),function(e,t){return void 0===t&&(t={}),(0,i.B)(e,(0,n.pi)({delimiter:"."},t))}(e,(0,n.pi)({delimiter:"-"},t))}}}]);