PageSourceSearch

https://ohmyapp.io/static/js/1689.2fef49e1.chunk.js

js ohmyapp.io collected 2026-10-02 00:38:40 UTC 6,912 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_zone_kit_cra_ts=self.webpackChunk_zone_kit_cra_ts||[]).push([[1689],{61689:function(n,e,t){t.r(e),t.d(e,{default:function(){return E}});var r=t(6907),i=t(30439),o=t(24308),s=t(89164),a=t(4567),c=t(54282),l=t(7055),d=t(8523),u=t(89302),h=t(11128),p=t(1413),x=t(45987),v=t(64554),Z=t(94721),j=t(12065),m=t(48550),f=t(36314),b=t(97808),g=t(33203),y=t(80184),w=["label","value","sx"];function S(n){var e=n.tax,t=n.total,r=n.subtotal,o=n.shipping,s=n.discount;return(0,y.jsxs)(f.Z,{spacing:3,sx:{p:5,borderRadius:2,border:function(n){return"solid 1px ".concat((0,j.Fq)(n.palette.grey[500],.24))}},children:[(0,y.jsx)(a.Z,{variant:"h6",children:" Summary "}),(0,y.jsxs)(f.Z,{spacing:2,children:[(0,y.jsx)(_,{label:"Subtotal",value:(0,g.e_)(r)}),(0,y.jsx)(_,{label:"Shipping",value:(0,g.e_)(o)}),(0,y.jsx)(_,{label:"Discount (15%)",value:"-".concat((0,g.e_)(s))}),(0,y.jsx)(_,{label:"Tax",value:(0,g.f2)(e)})]}),(0,y.jsx)(m.Z,{hiddenLabel:!0,placeholder:"Discount Code",InputProps:{endAdornment:(0,y.jsx)(b.Z,{position:"end",children:(0,y.jsx)(i.Z,{children:"Apply"})})}}),(0,y.jsx)(Z.Z,{sx:{borderStyle:"dashed"}}),(0,y.jsx)(_,{label:"Total",value:(0,g.e_)(t),sx:{typography:"h6","& span":{typography:"h6"}}}),(0,y.jsx)(i.Z,{component:u.r,href:l.H.eCommerce.checkout,size:"large",variant:"contained",color:"inherit",children:"Checkout"})]})}function _(n){var e=n.label,t=n.value,r=n.sx,i=(0,x.Z)(n,w);return(0,y.jsxs)(f.Z,(0,p.Z)((0,p.Z)({direction:"row",alignItems:"center",justifyContent:"space-between",sx:(0,p.Z)({typography:"subtitle2"},r)},i),{},{children:[(0,y.jsx)(v.Z,{component:"span",sx:{typography:"body2"},children:e}),t]}))}function P(){return(0,y.jsxs)(s.Z,{sx:{overflow:"hidden",pt:5,pb:{xs:5,md:10}},children:[(0,y.jsx)(a.Z,{variant:"h3",sx:{mb:5},children:"Shopping Cart"}),(0,y.jsxs)(o.Z,{container:!0,spacing:{xs:5,md:8},children:[(0,y.jsx)(o.Z,{xs:12,md:8,children:(0,y.jsx)(h.Z,{products:c.MQ.slice(0,4)})}),(0,y.jsx)(o.Z,{xs:12,md:4,children:(0,y.jsx)(S,{tax:7,total:357.09,subtotal:89.09,shipping:55.47,discount:16.17})})]}),(0,y.jsx)(i.Z,{component:u.r,href:l.H.eCommerce.products,color:"inherit",startIcon:(0,y.jsx)(d.Z,{icon:"carbon:chevron-left"}),sx:{mt:3},children:"Continue Shopping"})]})}function E(){return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(r.ql,{children:(0,y.jsx)("title",{children:"Cart"})}),(0,y.jsx)(P,{})]})}},11128:function(n,e,t){t.d(e,{Z:function(){return p}});var r=t(36314),i=t(93317),o=t(48550),s=t(4567),a=t(90977),c=t(71445),l=t(8523),d=t(33203),u=t(80184);function h(n){var e=n.product,t=n.wishlist;return(0,u.jsxs)(r.Z,{direction:"row",alignItems:"center",sx:{py:3,minWidth:720,borderBottom:function(n){return"solid 1px ".concat(n.palette.divider)}},children:[(0,u.jsxs)(r.Z,{direction:"row",alignItems:"center",flexGrow:1,children:[(0,u.jsx)(c.E,{src:e.coverUrl,sx:{width:80,height:80,flexShrink:0,borderRadius:1.5,bgcolor:"background.neutral"}}),(0,u.jsxs)(r.Z,{spacing:.5,sx:{p:2},children:[(0,u.jsx)(s.Z,{variant:"subtitle2",children:e.name}),(0,u.jsx)(s.Z,{variant:"body2",sx:{color:"text.secondary"},children:"Color: Grey Space"})]})]}),(0,u.jsx)(r.Z,{sx:{width:120},children:(0,u.jsx)(o.Z,{select:!0,size:"small",variant:"outlined",SelectProps:{native:!0},sx:{width:80},children:[1,2,3,4,5,6,7,8,9,10].map((function(n){return(0,u.jsx)("option",{value:n,children:n},n)}))})}),(0,u.jsxs)(r.Z,{sx:{width:120,typography:"subtitle2"},children:[" ",(0,d.e_)(e.price)," "]}),(0,u.jsx)(a.Z,{children:(0,u.jsx)(l.Z,{icon:"carbon:trash-can"})}),t&&(0,u.jsx)(a.Z,{children:(0,u.jsx)(l.Z,{icon:"carbon:shopping-cart-plus"})})]})}function p(n){var e=n.products,t=n.wishlist,o=void 0!==t&&t;return(0,u.jsxs)(i.Z,{children:[(0,u.jsxs)(r.Z,{direction:"row",alignItems:"center",sx:{py:2,minWidth:720,typography:"subtitle2",borderBottom:function(n){return"solid 1px ".concat(n.palette.divider)}},children:[(0,u.jsx)(r.Z,{flexGrow:1,children:"Item"}),(0,u.jsx)(r.Z,{sx:{width:120},children:"Qty"}),(0,u.jsx)(r.Z,{sx:{width:120},children:"Subtotal"}),(0,u.jsx)(r.Z,{sx:{width:36}}),o&&(0,u.jsx)(r.Z,{sx:{width:36}})]}),e.map((function(n){return(0,u.jsx)(h,{product:n,wishlist:o},n.id)}))]})}},33203:function(n,e,t){t.d(e,{e_:function(){return o},f2:function(){return s},v1:function(){return a}});var r=t(26098),i=t.n(r);function o(n){return c(n?i()(n).format("$0,0.00"):"",".00")}function s(n){return c(n?i()(Number(n)/100).format("0.0%"):"",".0")}function a(n){return c(n?i()(n).format("0.00a"):"",".00")}function c(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".00";return n.includes(e)?n.replace(e,""):n}},97808:function(n,e,t){var r,i=t(4942),o=t(63366),s=t(87462),a=t(72791),c=t(28182),l=t(94419),d=t(14036),u=t(4567),h=t(93840),p=t(52930),x=t(66934),v=t(13209),Z=t(31402),j=t(80184),m=["children","className","component","disablePointerEvents","disableTypography","position","variant"],f=(0,x.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(n,e){var t=n.ownerState;return[e.root,e["position".concat((0,d.Z)(t.position))],!0===t.disablePointerEvents&&e.disablePointerEvents,e[t.variant]]}})((function(n){var e=n.theme,t=n.ownerState;return(0,s.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&(0,i.Z)({},"&.".concat(v.Z.positionStart,"&:not(.").concat(v.Z.hiddenLabel,")"),{marginTop:16}),"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})})),b=a.forwardRef((function(n,e){var t=(0,Z.Z)({props:n,name:"MuiInputAdornment"}
1),i=t.children,x=t.className,b=t.component,g=void 0===b?"div":b,y=t.disablePointerEvents,w=void 0!==y&&y,S=t.disableTypography,_=void 0!==S&&S,P=t.position,E=t.variant,I=(0,o.Z)(t,m),C=(0,p.Z)()||{},k=E;E&&C.variant,C&&!k&&(k=C.variant);var z=(0,s.Z)({},t,{hiddenLabel:C.hiddenLabel,size:C.size,disablePointerEvents:w,position:P,variant:k}),L=function(n){var e=n.classes,t=n.disablePointerEvents,r=n.hiddenLabel,i=n.position,o=n.size,s=n.variant,a={root:["root",t&&"disablePointerEvents",i&&"position".concat((0,d.Z)(i)),s,r&&"hiddenLabel",o&&"size".concat((0,d.Z)(o))]};return(0,l.Z)(a,v.w,e)}(z);return(0,j.jsx)(h.Z.Provider,{value:null,children:(0,j.jsx)(f,(0,s.Z)({as:g,ownerState:z,className:(0,c.Z)(L.root,x),ref:e},I,{children:"string"!==typeof i||_?(0,j.jsxs)(a.Fragment,{children:["start"===P?r||(r=(0,j.jsx)("span",{className:"notranslate",children:"\u200b"})):null,i]}):(0,j.jsx)(u.Z,{color:"text.secondary",children:i})}))})}));e.Z=b},13209:function(n,e,t){t.d(e,{w:function(){return o}});var r=t(75878),i=t(21217);function o(n){return(0,i.Z)("MuiInputAdornment",n)}var s=(0,r.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);e.Z=s}}]);
2//# sourceMappingURL=1689.2fef49e1.chunk.js.map

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.