1/*! For license information please see 114.35d01bc1.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkmwh_website=self.webpackChunkmwh_website||[]).push([[114,1571,1835],{52941:(e,t,o)=>{o.d(t,{A:()=>d});var n=o(52369),s=o(82053),r=o(52432),l=o(28429),i=o(42074),a=o(60213),c=o(44414);const d=e=>{let{separator:t}=e;const o=(0,l.Zp)(),d=[(0,c.jsx)(i.N_,{to:"/",className:"home-title",children:(0,c.jsx)(s.A,{children:"Home"},"3")},"home-page"),t.map(((e,n)=>(0,c.jsx)(s.A,{className:(0,a.fr)(n===t.length-1,"child-title","parent-title home-title"),onClick:()=>t.length-1!==n&&o("".concat("string"===typeof e?"/".concat(e):null===e||void 0===e?void 0:e.slug)),children:"string"===typeof e?(0,a.U)(e):(0,a.U)(null===e||void 0===e?void 0:e.title)},"breadcrumbs-".concat(e))))];return(0,c.jsx)(n.A,{spacing:3,className:"breadcrumbs",children:(0,c.jsx)(r.A,{separator:">","aria-label":"breadcrumb",children:d})})}},54263:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(9950),s=o(18437),r=o(84142),l=o(60213),i=o(44414);const a=e=>{let{tabsList:t,selectedTab:o,onTabSelect:a,disabled:c=!1}=e;
2const[d,u]=(0,n.useState)(0);return(0,n.useEffect)((()=>{const e=t.indexOf(o);-1!==e&&u(e)}),[o,t]),(0,i.jsx)("div",{className:"custom-tabs",children:(0,i.jsx)(s.A,{value:d,variant:"scrollable",children:t.map(((e,o)=>(0,i.jsx)(r.A,{label:e.toLowerCase().includes("de-stress")?e:(0,l.yj)(e),onClick:()=>{return u(e=o),void a(t[e]);var e},disabled:c},"".concat(e))))})})}},46330:(e,t,o)=>{o.d(t,{A:()=>s});var n=o(44414);const s=e=>{let{message:t}=e;return(0,n.jsxs)("div",{className:"no-records-found",children:[(0,n.jsx)("h2",{className:"brown-text",children:"No records found"}),(0,n.jsx)("p",{className:"big-copy",children:null!==t&&void 0!==t?t:"Try adjusting your search or filter what you are looking for."})]})}},41566:(e,t,o)=>{o.d(t,{A:()=>l});o(9950);var n=o(72772),s=o(14053),r=o(44414);const l=e=>{var t,o;let{state:l,noindex:i=!1}=e;const{meta_title:a,meta_description:c,canonical_url:d,open_graph_tags:u}=l,h=null!==u&&void 0!==u&&null!==(t=u.og_imageConnection)&&void 0!==t&&t.edges&&(null===u||void 0===u?void 0:u.og_imageConnection.edges.length)>0?null===u||void 0===u||null===(o=u.og_imageConnection.edges[0].node)||void 0===o?void 0:o.url:"https://images.melissawoodhealth.com/v3/assets/bltac686dfe3e51fdf7/blt6b0c31f6d18f755e/665092cb1c75b3f08f8e7f7f/983A0691-Edit_(1).jpg";return(0,r.jsxs)(n.A,{title:a,children:[(0,r.jsx)("meta",{name:"description",content:c}),(0,r.jsx)("meta",{property:"og:title",content:null===u||void 0===u?void 0:u.og_title}),(0,r.jsx)("meta",{property:"og:description",content:null===u||void 0===u?void 0:u.og_description}),(0,r.jsx)("meta",{property:"og:type",content:null!==u&&void 0!==u&&u.og_type?null===u||void 0===u?void 0:u.og_type:"website"}),(0,r.jsx)("meta",{property:"og:locale",content:null!==u&&void 0!==u&&u.og_locale?null===u||void 0===u?void 0:u.og_locale:"en-us"}),(0,r.jsx)("meta",{property:"og:site_name",content:null!==u&&void 0!==u&&u.og_site_name?null===u||void 0===u?void 0:u.og_site_name:s.hq}),(0,r.jsx)("meta",{property:"og:image",content:h}),(0,r.jsx)("meta",{property:"og:url",content:null!==d&&void 0!==d?d:window.location.href}),(!(0,s.Gc)()||i)&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]})}},92009:(e,t,o)=>{o.d(t,{A:()=>a});o(9950);var n=o(16491),s=o(33125),r=o(48089),l=o(50704),i=o(44414);const a=e=>{let{type:t}=e;switch(t){case"thumbnail":return(0,i.jsxs)(n.A,{children:[(0,i.jsx)(s.A,{variant:"rectangular",height:190}),(0,i.jsx)(s.A,{variant:"text",width:200,height:30,sx:{marginTop:"15px"}})]});case"weekly-schedule":return(0,i.jsxs)(n.A,{children:[(0,i.jsx)(s.A,{variant:"rectangular",height:130}),(0,i.jsx)(s.A,{variant:"text",width:165,height:23,sx:{marginTop:"15px"}})]});case"shop":return(0,i.jsxs)(n.A,{className:"skeleton-shop-img",children:[(0,i.jsx)(s.A,{variant:"rectangular",height:200}),(0,i.jsx)(s.A,{variant:"text",height:27,sx:{m:"15px auto 0"}}),(0,i.jsx)(s.A,{variant:"text",width:115,height:22,sx:{m:"8px auto 0"}}),(0,i.jsx)(s.A,{variant:"text",width:58,height:22,sx:{m:"4px auto 0"}})]});case"fashion":return(0,i.jsx)(n.A,{children:(0,i.jsx)(s.A,{variant:"rectangular",height:310,className:"skeleton-shop-img"})});case"community":return(0,i.jsxs)(r.A,{className:"no-shadow",children:[(0,i.jsx)(s.A,{sx:{height:164},variant:"rectangular"}),(0,i.jsxs)(l.A,{sx:{height:175,padding:"24px"},children:[(0,i.jsx)(s.A,{height:33,style:{marginBottom:16}}),(0,i.jsx)(s.A,{height:10,style:{marginBottom:8}}),(0,i.jsx)(s.A,{height:10,style:{marginBottom:8}}),(0,i.jsx)(s.A,{height:10,style:{marginBottom:16}}),(0,i.jsx)(s.A,{height:16,style:{width:"40px"}})]})]})}}},90114:(e,t,o)=>{o.r(t),o.d(t,{default:()=>L});var n=o(9950),s=o(46589),r=o(25277),l=o(60899),i=o(50416),a=o(28429),c=o(14053),d=o(41589),u=o(79763);const h=async(e,t,o)=>{try{const n={size:e,page:t,sort:["-created_at"],tags:o},s=await u.L.splitApiCall(d.XD.SEARCH(),n);if(s)return s;throw Error(c.nl.error.endpointError)}catch(n){throw console.error(n),Error(c.nl.error.searchBYTags)}};var p=o(60213),g=o(44414);const m=e=>{let{state:t}=e;const o=(0,a.g)(),s=(null===o||void 0===o?void 0:o.category)&&(0,p.cv)(null===o||void 0===o?void 0:o.category,!0),[r,i]=(0,n.use
2State)([]);return(0,n.useEffect)((()=>{(async()=>{if(s===c.T6){const e=await Promise.all(t.map((async e=>{const t=e.url&&await(async e=>{const t=(null===e||void 0===e?void 0:e.split("?post=")[1])||(null===e||void 0===e?void 0:e.split("post/")[1]);try{const e=await fetch("".concat("https://api2.split.co/","v1/pages/post/").concat(t)),o=await e.json();return null===o||void 0===o?void 0:o.image_url}catch(o){throw console.error(o),o}})(e.url);return{...e,image_url:t}})));i(e)}else i(t)})()}),[s,t]),(0,g.jsx)(l.Ay,{container:!0,spacing:3,className:"product-grid",children:r.length>0&&r.map((e=>{var t;let o=s&&!c.aL.includes(s)&&e.name||"";return["system is fetching","please reload"].some((e=>o.trim().toLowerCase().includes(e.trim().toLowerCase())))&&(o=""),(0,g.jsx)(l.Ay,{item:!0,xs:6,md:3,lg:2.4,"data-testid":"product-card",children:(0,g.jsx)("div",{className:"product-tile",children:(0,g.jsxs)("a",{href:e.split_link?e.split_link:"/",target:"_blank",rel:"noreferrer",children:[e.image_url&&(0,g.jsx)("img",{src:e.image_url,alt:o||"",loading:"lazy"}),e.description&&(0,g.jsxs)("div",{className:"product-content",children:[o&&(0,g.jsx)("p",{className:"big-copy",children:o}),e.description&&(0,g.jsx)("p",{className:"code-description",children:e.description}),e.mwh_code&&(0,g.jsx)("p",{className:"mwh-code brown-text",children:e.mwh_code}),e.utm_content&&(0,g.jsxs)("p",{className:"big-copy",children:["$",e.utm_content]})]})]})})},"".concat(e.uuid,"-").concat(o,"-").concat(null!==(t=null===e||void 0===e?void 0:e.split_link)&&void 0!==t?t:""))}))})};var v=o(88041),f=o(34834),y=o(46330),x=o(41566),w=o(48657),b=o(52941),A=o(54263),j=o(27280),S=o(92009);const _=["melissa's-looks","fashion"],C=e=>{let{selectedItem:t}=e;return(0,g.jsx)(l.Ay,{item:!0,lg:12,children:(0,g.jsx)(l.Ay,{container:!0,spacing:3,className:"product-grid",children:Array.from(new Array(20)).map(((e,o)=>(0,g.jsx)(l.Ay,{item:!0,xs:6,md:3,lg:2.4,children:(0,g.jsx)(S.A,{type:_.includes(t)?"fashion":"shop"})},"_".concat(o.toString()))))})})};var T=o(58920);const L=()=>{const e=(0,a.Zp)(),{SnackBarDOM:t,setSnackBarMessage:o}=(0,w.y)(),{isPromotionVisible:d,shopPageData:u}=(0,n.useContext)(j.F),S=(0,s.A)("(max-width:1024px)"),[_,L]=(0,n.useState)(0),[E,N]=(0,n.useState)(0),[M,R]=(0,n.useState)(!0),[D,k]=(0,n.useState)([]),[O,B]=(0,n.useState)(!0),[Y,I]=(0,n.useState)([]),[P,G]=(0,n.useState)({title:"",slug:""}),{isMobileMenuOpen:H}
2=(0,n.useContext)(j.F),[F,z]=(0,n.useState)([]),[U,J]=(0,n.useState)(""),[Z,q]=(0,n.useState)(0),[K,V]=(0,n.useState)(!1),W=(0,a.g)(),$=(0,n.useRef)(null);(0,n.useEffect)((()=>{W.category&&J(W.category)}),[W]),(0,n.useEffect)((()=>(0,c.Q2)(50,(e=>{q(e)}))),[]);const Q=(0,n.useCallback)(((e,t,o)=>{const n=[],s=o&&t.slug?t.slug:e,r=!o&&t.slug?t.slug:"";s&&(s===c.T6?n.push(c.AN):n.push((0,p.cv)(s,!0))),I(n),G({title:(0,p.cv)(r,!0),slug:r})}),[]);(0,n.useEffect)((()=>{if(W.category){const e=(0,p.cv)(W.category,!0),t=c.aL.includes(e);if(W.subCategory){const o=(0,p.cv)(W.subCategory,!0);Q(e,{title:o,slug:W.subCategory},t)}else Q(e,{title:"",slug:""},t)}}),[W.category,W.subCategory]);const X=(0,n.useMemo)((()=>{if(u&&u.content.body.length>0&&u.content.body[0].__typename===f.xj.LISTINGS&&u.content.body[0].listings.type===f.jB.SHOP_CATEGORIES)return u.content.body[0].listings.listingsConnection.edges.map((e=>(0,p.p8)(e.node.title)))}),[u]);(0,n.useEffect)((()=>{const e=async()=>{B(!0);try{c.aL.includes(Y[0])||null!==W&&void 0!==W&&W.category&&c.aL.map((e=>e.toLowerCase())).includes(null===W||void 0===W?void 0:W.category)?await(async()=>{const e=await h(c.GG,_,Y.map((e=>e.toLowerCase())));if(R(null===e||void 0===e?void 0:e.next),L(0),null!==e&&void 0!==e&&e.count){const t=Math.ceil(e.count/c.GG)-1,o=e.results.filter(((t,o)=>e.results.findIndex((e=>t.url===e.url))===o));k(o),N(t),t>1&&R(!0)}})():await(async()=>{const e=await(0,v.zv)(0,Y[0],P.slug);null!==e&&void 0!==e&&e.entries?(k((0,p.ZF)(null===e||void 0===e?void 0:e.entries)),V(!1),N(Math.ceil(e.count/c.GG))):(k([]),V(!0)),null!==e&&void 0!==e&&e.count&&(null===e||void 0===e?void 0:e.count)<c.GG?R(!1):R(!0)})()}catch(e){console.error(e),o(e)}finally{B(!1)}};Y.length>0&&e().catch((e=>console.log(e)))}),[Y,P]),(0,n.useEffect)((()=>{if(u&&u.content.body.length>0&&u.content.body[0].__typename===f.xj.LISTINGS&&u.content.body[0].listings.type===f.jB.SHOP_CATEGORIES&&W.category){const e=[];
2u.content.body[0].listings.listingsConnection.edges.forEach((t=>{var o;let{node:n}=t;n.subcategoriesConnection.edges.length>0&&n.title.toLocaleLowerCase()===(0,p.yj)(null!==(o=null===W||void 0===W?void 0:W.category)&&void 0!==o?o:"")&&n.subcategoriesConnection.edges.forEach((t=>{e.push({title:t.node.title,slug:t.node.slug,category:n.title})}))})),z(e)}}),[W,u,Y]);const ee=(0,n.useMemo)((()=>{let e="";e=d?S||!d?"with-promotion-height-scroll":"with-promotion-height":"without-promotion-height";const t=(0,p.fr)(H,"on-mobile-menu-open","","shop-page-header");return"".concat(e," ").concat(t).trim()}),[d,S,H]),te=(0,g.jsxs)(g.Fragment,{children:[f.bw.MELISSA_LOOKS.includes(U)&&0===_&&(0,g.jsx)(C,{selectedItem:U}),f.bw.MELISSA_LOOKS.includes(U)&&_>0&&(0,g.jsx)(T.A,{_class:"static"}),!f.bw.MELISSA_LOOKS.includes(U)&&(0,g.jsx)(C,{selectedItem:U})]});return(0,g.jsxs)("div",{className:"page",children:[t,u&&(0,g.jsxs)("div",{className:ee,children:[(0,g.jsx)(x.A,{state:u.seo}),(0,g.jsxs)("div",{className:"wrapper",children:[(0,g.jsx)(b.A,{separator:[u.title.toLowerCase()]}),!Z&&(0,g.jsx)("h3",{className:"shop-page-title",children:u.title.toLowerCase()}),(0,g.jsx)("div",{className:"filter-tabs",children:(0,g.jsx)(A.A,{tabsList:X,selectedTab:U,onTabSelect:t=>{e("".concat(f.bw.SHOP,"/").concat((0,p.p8)(t)))}})})]})]}),(0,g.jsxs)("div",{className:"wrapper",children:[(0,g.jsx)("div",{className:(0,p.fr)(F.length>0,"sub-category-filters","",""),ref:$,children:F.length>0&&(null===F||void 0===F?void 0:F.map((t=>(0,g.jsx)(r.A,{label:null===t||void 0===t?void 0:t.title,color:"secondary",className:(0,p.fr)((null===t||void 0===t?void 0:t.slug)===W.subCategory,"selected-sub-category","un-selected-sub-category","sub-category"),onClick:()=>((t,o)=>{window.location.href.includes("".concat((0,p.UJ)(t),"/").concat(o))?e("".concat(f.bw.SHOP,"/").concat((0,p.UJ)(t))):e("".concat(f.bw.SHOP,"/").concat((0,p.UJ)(t),"/").concat(o))})(null===t||void 0===t?void 0:t.category,null===t||void 0===t?void 0:t.slug)},"category-".concat(t.title)))))}),(0,g.jsxs)(l.Ay,{container:!0,children:[O&&(0,g.jsx)(C,{selectedItem:U}),(0,g.jsx)(l.Ay,{item:!0,lg:12,className:(0,p.fr)(F.length>0,"with-sub-category-filter-gird",""),children:!O&&(0,g.jsxs)(g.Fragment,{children:[(null===D||void 0===D?void 0:D.length)>0&&!K&&(0,g.jsx)(i.A,{dataLength:D.length,next:async()=>{try{_===E?R(!1):c.aL.includes(Y[0])||null!==W&&void 0!==W&&W.category&&c.aL.map((e=>e.toLowerCase())).includes(null===W||void 0===W?void 0:W.category)?await(async()=>{const e=_+1,t=await h(c.GG,e,Y.map((e=>e.toLowerCase())));if(null!==t&&void 0!==t&&t.results&&t.results.length>0){const o=D,n=t.results;k(o.concat(n)),N(Math.ceil(t.count/c.GG)-1),L(e),R(null===t||void 0===t?void 0:t.next)}})():await(async()=>{const e=await(0,v.zv)(D.length,Y[0],P.slug);if(null!==e&&void 0!==e&&e.entries){const t=D,o=(0,p.ZF)(null===e||void 0===e?void 0:e.entries);let n=t.concat(o).filter(((e,t,o)=>o.findIndex((t=>JSON.stringify(t)===JSON.stringify(e)))===t));k(n)}null!==e&&void 0!==e&&e.entries&&(null===e||void 0===e?void 0:e.entries.length)<c.GG&&R(!1)})()}catch(e){console.error(e),o(e)}},hasMore:M,loader:te,style:{overflowY:"hidden"},children:D&&(0,g.jsx)(m,{state:D})}),K&&(0,g.jsx)(y.A,{})]})})]})]})]})}},52432:(e,t,o)=>{o.d(t,{A:()=>N});var n=o(58168),s=o(98587),r=o(9950),l=(o(26429),o(72004)),i=o(43161),a=o(74061),c=o(59254),d=o(48283),u=o(82053),h=o(99269),p=o(23235),g=o(44414);const m=(0,p.A)((0,g.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var v=o(97468);const f=["slots","slotProps"],y=(0,c.Ay)(v.A)((e=>{let{theme:t}=e;return(0,n.A)({display:"flex",marginLeft:"calc(".concat(t.spacing(1)," * 0.5)"),marginRight:"calc(".concat(t.spacing(1)," * 0.5)")},"light"===t.palette.mode?{backgroundColor:t.palette.grey[100],color:t.palette.grey[700]}:{backgroundColor:t.palette.grey[700],color:t.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,n.A)({},"light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}),"&:active":(0,n.A)({boxShadow:t.shadows[0]},"light"===t.palette.mode?{backgroundColor:(0,h.tL)(t.palette.grey[200],.12)}:{backgroundColor:(0,h.tL)(t.palette.grey[600],.12)})})})),x=(0,c.Ay)(m)({width:24,height:16});const w=function(e){const{slots:t={},slotProps:o={}}=e,r=(0,s.A)(e,f),l=e;return(0,g.jsx)("li",{children:(0,g.jsx)(y,(0,n.A)({focusRipple:!0},r,{ownerState:l,children:(0,g.jsx)(x,(0,n.A)({as:t.CollapsedIcon,ownerState:l},o.collapsedIcon))}))})};var b=o(80863),A=o(68483);function j(e){return(0,A.Ay)("MuiBreadcrumbs",e)}const S=(0,b.A)("MuiBreadcrumbs",["root","ol","li","separator"]),_=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],C=(0,c.Ay)(u.A,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{["& .".concat(S.li)]:t.li},t.root]})({}),T=(0,c.Ay)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),L=(0,c.Ay)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function E(e,t,o,n){return e.reduce(((s,r,l)=>
2(l<e.length-1?s=s.concat(r,(0,g.jsx)(L,{"aria-hidden":!0,className:t,ownerState:n,children:o},"separator-".concat(l))):s.push(r),s)),[])}const N=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiBreadcrumbs"}),{children:c,className:u,component:h="nav",slots:p={},slotProps:m={},expandText:v="Show path",itemsAfterCollapse:f=1,itemsBeforeCollapse:y=1,maxItems:x=8,separator:b="/"}=o,A=(0,s.A)(o,_),[S,L]=r.useState(!1),N=(0,n.A)({},o,{component:h,expanded:S,expandText:v,itemsAfterCollapse:f,itemsBeforeCollapse:y,maxItems:x,separator:b}),M=(e=>{const{classes:t}=e;return(0,a.A)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},j,t)})(N),R=(0,i.Q)({elementType:p.CollapsedIcon,externalSlotProps:m.collapsedIcon,ownerState:N}),D=r.useRef(null),k=r.Children.toArray(c).filter((e=>r.isValidElement(e))).map(((e,t)=>(0,g.jsx)("li",{className:M.li,children:e},"child-".concat(t))));return(0,g.jsx)(C,(0,n.A)({ref:t,component:h,color:"text.secondary",className:(0,l.A)(M.root,u),ownerState:N},A,{children:(0,g.jsx)(T,{className:M.ol,ref:D,ownerState:N,children:E(S||x&&k.length<=x?k:(e=>y+f>=e.length?e:[...e.slice(0,y),(0,g.jsx)(w,{"aria-label":v,slots:{CollapsedIcon:p.CollapsedIcon},slotProps:{collapsedIcon:R},onClick:()=>{L(!0);const e=D.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-f,e.length)])(k),M.separator,b,N)})}))}))},48089:(e,t,o)=>{o.d(t,{A:()=>f});var n=o(58168),s=o(98587),r=o(9950),l=o(72004),i=o(74061),a=o(59254),c=o(48283),d=o(2235),u=o(80863),h=o(68483);function p(e){return(0,h.Ay)("MuiCard",e)}(0,u.A)("MuiCard",["root"]);var g=o(44414);const m=["className","raised"],v=(0,a.Ay)(d.A,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"}))),f=r.forwardRef((function(e,t){const o=(0,c.A)({props:e,name:"MuiCard"}),{className:r,raised:a=!1}=o,d=(0,s.A)(o,m),u=(0,n.A)({},o,{raised:a}),h=(e=>{const{classes:t}=e;return(0,i.A)({root:["root"]},p,t)})(u);return(0,g.jsx)(v,(0,n.A)({className:(0,l.A)(h.root,r),elevation:a?8:void 0,ref:t,ownerState:u},d))}))},50704:(e,t,o)=>{o.d(t,{A:()=>v});var n=o(58168),s=o(98587),r=o(9950),l=o(72004),i=o(74061),a=o(59254),c=o(48283),d=o(80863),u=o(68483);function h(e){return(0,u.Ay)("MuiCardContent",e)}(0,d.A)("MuiCardContent",["root"]);var p=o(44414);const g=["className","component"],m=(0,a.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),v=r.forwardRef((function(e,t){const o=(0,c.A)({props:e,name:"MuiCardContent"}),{className:r,component:a="div"}=o,d=(0,s.A)(o,g),u=(0,n.A)({},o,{component:a}),v=(e=>{const{classes:t}=e;return(0,i.A)({root:["root"]},h,t)})(u);return(0,p.jsx)(m,(0,n.A)({as:a,className:(0,l.A)(v.root,r),ownerState:u,ref:t},d))}))},50416:(e,t,o)=>{o.d(t,{A:()=>d});
2var n=o(9950),s=function(e,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},s(e,t)};var r=function(){return r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var s in t=arguments[o])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},r.apply(this,arguments)};var l="Pixel",i="Percent",a={unit:i,value:.8};function c(e){return"number"===typeof e?{unit:i,value:100*e}:"string"===typeof e?e.match(/^(\d*(\.\d+)?)px$/)?{unit:l,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:i,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),a):(console.warn("scrollThreshold should be string or number"),a)}const d=function(e){function t(t){var o=e.call(this,t)||this;return o.lastScrollTop=0,o.actionTriggered=!1,o.startY=0,o.currentY=0,o.dragging=!1,o.maxPullDownDistance=0,o.getScrollableTarget=function(){return o.props.scrollableTarget instanceof HTMLElement?o.props.scrollableTarget:"string"===typeof o.props.scrollableTarget?document.getElementById(o.props.scrollableTarget):(null===o.props.scrollableTarget&&console.warn("You are trying to pass scrollableTarget but it is null. This might\n happen because the element may not have been added to DOM yet.\n See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n "),null)},o.onStart=function(e){o.lastScrollTop||(o.dragging=!0,e instanceof MouseEvent?o.startY=e.pageY:e instanceof TouchEvent&&(o.startY=e.touches[0].pageY),o.currentY=o.startY,o._infScroll&&(o._infScroll.style.willChange="transform",o._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},o.onMove=function(e){o.dragging&&(e instanceof MouseEvent?o.currentY=e.pageY:e instanceof TouchEvent&&(o.currentY=e.touches[0].pageY),o.currentY<o.startY||(o.currentY-o.startY>=Number(o.props.pullDownToRefreshThreshold)&&o.setState({pullToRefreshThresholdBreached:!0}),o.currentY-o.startY>1.5*o.maxPullDownDistance||o._infScroll&&(o._infScroll.style.overflow="visible",o._infScroll.style.transform="translate3d(0px, "+(o.currentY-o.startY)+"px, 0px)")))},o.onEnd=function(){o.startY=0,o.currentY=0,o.dragging=!1,o.state.pullToRefreshThresholdBreached&&(o.props.refreshFunction&&o.props.refreshFunction(),o.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame((function(){o._infScroll&&(o._infScroll.style.overflow="auto",o._infScroll.style.transform="none",o._infScroll.style.willChange="unset")}))},o.onScrollListener=function(e){"function"===typeof o.props.onScroll&&setTimeout((function(){return o.props.onScroll&&o.props.onScroll(e)}),0);var t=o.props.height||o._scrollableNode?e.target:document.documentElement.scrollTop?document.documentElement:document.body;o.actionTriggered||((o.props.inverse?o.isElementAtTop(t,o.props.scrollThreshold):o.isElementAtBottom(t,o.props.scrollThreshold))&&o.props.hasMore&&(o.actionTriggered=!0,o.setState({showLoader:!0}),o.props.next&&o.props.next()),o.lastScrollTop=t.scrollTop)},o.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:t.dataLength},o.throttledOnScrollListener=function(e,t,o,n){var s,r=!1,l=0;function i(){s&&clearTimeout(s)}function a(){var a=this,c=Date.now()-l,d=arguments;function u(){l=Date.now(),o.apply(a,d)}r||(n&&!s&&u(),i(),void 0===n&&c>e?u():!0!==t&&(s=setTimeout(n?function(){s=void 0}:u,void 0===n?e-c:e)))}return"boolean"!==typeof t&&(n=o,o=t,t=void 0),a.cancel=function(){i(),r=!0},a}(150,o.onScrollListener).bind(o),o.onStart=o.onStart.bind(o),o.onMove=o.onMove.bind(o),o.onEnd=o.onEnd.bind(o),o}return function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}(t,e),t.prototype.componentDidMount=function(){if("undefined"===typeof this.props.dataLength)throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),"number"===typeof this.props.initialScrollY&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),"function"!==typeof this.props.refreshFunction))throw new Error('Mandatory prop "refreshFunction" missing.\n Pull Down To Refresh functionality will not work\n as expected. Check README.md for usage\'')},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)
2))},t.prototype.componentDidUpdate=function(e){this.props.dataLength!==e.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(e,t){return e.dataLength!==t.prevDataLength?r(r({},t),{prevDataLength:e.dataLength}):null},t.prototype.isElementAtTop=function(e,t){void 0===t&&(t=.8);var o=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,n=c(t);return n.unit===l?e.scrollTop<=n.value+o-e.scrollHeight+1:e.scrollTop<=n.value/100+o-e.scrollHeight+1},t.prototype.isElementAtBottom=function(e,t){void 0===t&&(t=.8);var o=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,n=c(t);return n.unit===l?e.scrollTop+o>=e.scrollHeight-n.value:e.scrollTop+o>=n.value/100*e.scrollHeight},t.prototype.render=function(){var e=this,t=r({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),s=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return n.createElement("div",{style:s,className:"infinite-scroll-component__outerdiv"},n.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(t){return e._infScroll=t},style:t},this.props.pullDownToRefresh&&n.createElement("div",{style:{position:"relative"},ref:function(t){return e._pullDown=t}},n.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},t}(n.Component)}}]); 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c2dd3984-c7f7-50fd-859f-5c74eb66af34")}catch(e){}}(); 4//# debugId=c2dd3984-c7f7-50fd-859f-5c74eb66af34
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.