PageSourceSearch

https://studio.trynshop.com/_next/static/chunks/1nhesp13ahrz_.js

js trynshop.com collected 2026-10-02 06:27:28 UTC 49,725 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94271,e=>{"use strict";e.s(["default",0,function({props:e,states:t,muiFormControl:a}){return t.reduce((t,r)=>(t[r]=e[r],a&&void 0===e[r]&&(t[r]=a[r]),t),{})}])},55150,e=>{"use strict";let t=e.i(71645).createContext(void 0);e.s(["default",0,t])},32567,e=>{"use strict";var t=e.i(71645),a=e.i(55150);e.s(["default",0,function(){return t.useContext(a.default)}])},15134,e=>{"use strict";e.i(47167);var t,a=e.i(71645),r=e.i(7670),o=e.i(95669),i=e.i(88498),l=e.i(61722),n=e.i(99844),s=e.i(6080),d=e.i(30280),c=e.i(27173),u=e.i(97576),p=e.i(55731),h=e.i(94271),m=e.i(32567),f=e.i(50915),g=e.i(90290),x=e.i(98051),y=e.i(95761);function b(e){return(0,y.default)("MuiFormHelperText",e)}let v=(0,x.default)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var $=e.i(43476);let C=(0,l.styled)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.size&&t[`size${(0,g.default)(a.size)}`],a.contained&&t.contained,a.filled&&t.filled]}})((0,f.default)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${v.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${v.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),w=a.forwardRef(function(e,a){let i=(0,n.useDefaultProps)({props:e,name:"MuiFormHelperText"}),{children:l,className:s,component:d="p",disabled:c,error:u,filled:p,focused:f,margin:x,required:y,variant:v,...w}=i,S=(0,m.default)(),T=(0,h.default)({props:i,muiFormControl:S,states:["variant","size","disabled","error","filled","focused","required"]}),k={...i,component:d,contained:"filled"===T.variant||"outlined"===T.variant,variant:T.variant,size:T.size,disabled:T.disabled,error:T.error,filled:T.filled,focused:T.focused,required:T.required};delete k.ownerState;let j=(e=>{let{classes:t,contained:a,size:r,disabled:i,error:l,filled:n,focused:s,required:d}=e,c={root:["root",i&&"disabled",l&&"error",r&&`size${(0,g.default)(r)}`,a&&"contained",s&&"focused",n&&"filled",d&&"required"]};return(0,o.default)(c,b,t)})(k);return(0,$.jsx)(C,{as:d,className:(0,r.default)(j.root,s),ref:a,...w,ownerState:k,children:" "===l?t||(t=(0,$.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):l})});var S=e.i(57581);function T(e){return(0,y.default)("MuiTextField",e)}(0,x.default)("MuiTextField",["root"]);var k=e.i(54072);let j={standard:s.default,filled:d.default,outlined:c.default},B=(0,l.styled)(p.default,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),R=a.forwardRef(function(e,t){let a=(0,n.useDefaultProps)({props:e,name:"MuiTextField"}),{autoComplete:l,autoFocus:s=!1,children:d,className:c,color:p="primary",defaultValue:h,disabled:m=!1,error:f=!1,FormHelperTextProps:g,fullWidth:x=!1,helperText:y,id:b,InputLabelProps:v,inputProps:C,InputProps:R,inputRef:I,label:O,maxRows:P,minRows:L,multiline:M=!1,name:z,onBlur:W,onChange:F,onFocus:A,placeholder:H,required:_=!1,rows:E,select:N=!1,SelectProps:D,slots:U={},slotProps:V={},type:q,value:G,variant:K="outlined",...Y}=a,Q={...a,autoFocus:s,color:p,disabled:m,error:f,fullWidth:x,multiline:M,required:_,select:N,variant:K},J=(e=>{let{classes:t}=e;return(0,o.default)({root:["root"]},T,t)})(Q),X=(0,i.default)(b),Z=y&&X?`${X}-helper-text`:void 0,ee=O&&X?`${X}-label`:void 0,et=j[K],ea={slots:U,slotProps:{input:R,inputLabel:v,htmlInput:C,formHelperText:g,select:D,...V}},er={},eo=ea.slotProps.inputLabel;"outlined"===K&&(eo&&void 0!==eo.shrink&&(er.notched=eo.shrink),er.label=O),N&&(D&&D.native||(er.id=void 0),er["aria-describedby"]=void 0);let[ei,el]=(0,k.default)("root",{elementType:B,shouldForwardComponentProp:!0,externalForwardedProps:{...ea,...Y},ownerState:Q,className:(0,r.default)(J.root,c),ref:t,additionalProps:{disabled:m,error:f,fullWidth:x,required:_,color:p,variant:K}}),[en,es]=(0,k.default)("input",{elementType:et,externalForwardedProps:ea,additionalProps:er,ownerState:Q}),[ed,ec]=(0,k.default)("inputLabel",{elementType:u.default,externalForwardedProps:ea,ownerState:Q}),[eu,ep]=(0,k.default)("htmlInput",{elementType:"input",externalForwardedProps:ea,ownerState:Q}),[eh,em]=(0,k.default)("formHelperText",{elementType:w,externalForwardedProps:ea,ownerState:Q}),[ef,eg]=(0,k.default)("select",{elementType:S.default,externalForwardedProps:ea,ownerState:Q}),ex=(0,$.jsx)(en,{"aria-describedby":Z,autoComplete:l,autoFocus:s,defaultValue:h,fullWidth:x,multiline:M,name:z,rows:E,maxRows:P,minRows:L,type:q,value:G,id:X,inputRef:I,onBlur:W,onChange:F,onFocus:A,placeholder:H,inputProps:ep,slots:{input:U.htmlInput?eu:void 0},...es});return(0,$.jsxs)(ei,{...el,children:[null!=O&&""!==O&&(0,$.jsx)(ed,{htmlFor:X,id:ee,...ec,children:O}),N?(0,$.jsx)(ef,{"aria-describedby":Z,id:X,labelId:ee,value:G,input:ex,...eg,children:d}):ex,y&&(0,$.jsx)(eh,{id:Z,...em,children:y})]})});e.s(["default",0,R],15134)},56757,e=>{"use strict";var t=e.i(15134);e.s(["TextField",()=>t.default])},51449,e=>{"use strict";e.i(47167);
1var t=e.i(71645),a=e.i(7670),r=e.i(95669),o=e.i(44205),i=e.i(6531),l=e.i(61722),n=e.i(50915),s=e.i(99844),d=e.i(43724),c=e.i(20103),u=e.i(66932),p=e.i(66352),h=e.i(49412),h=h,m=e.i(77495),m=m,f=e.i(36835),f=f,g=e.i(98051),x=e.i(95761);function y(e){return(0,x.default)("MuiMenuItem",e)}let b=(0,g.default)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var v=e.i(43476);let $=(0,l.styled)(c.default,{shouldForwardProp:e=>(0,i.default)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.dense&&t.dense,a.divider&&t.divider,!a.disableGutters&&t.gutters]}})((0,n.default)(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${b.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,o.alpha)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${b.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,o.alpha)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${b.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,o.alpha)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,o.alpha)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${b.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${b.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${h.default.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${h.default.inset}`]:{marginLeft:52},[`& .${f.default.root}`]:{marginTop:0,marginBottom:0},[`& .${f.default.inset}`]:{paddingLeft:36},[`& .${m.default.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${m.default.root} svg`]:{fontSize:"1.25rem"}}}]}))),C=t.forwardRef(function(e,o){let i,l=(0,s.useDefaultProps)({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:c="li",dense:h=!1,divider:m=!1,disableGutters:f=!1,focusVisibleClassName:g,role:x="menuitem",tabIndex:b,className:C,...w}=l,S=t.useContext(d.default),T=t.useMemo(()=>({dense:h||S.dense||!1,disableGutters:f}),[S.dense,h,f]),k=t.useRef(null);(0,u.default)(()=>{n&&k.current&&k.current.focus()},[n]);let j={...l,dense:T.dense,divider:m,disableGutters:f},B=(e=>{let{disabled:t,dense:a,divider:o,disableGutters:i,selected:l,classes:n}=e,s=(0,r.default)({root:["root",a&&"dense",t&&"disabled",!i&&"gutters",o&&"divider",l&&"selected"]},y,n);return{...n,...s}})(l),R=(0,p.default)(k,o);return l.disabled||(i=void 0!==b?b:-1),(0,v.jsx)(d.default.Provider,{value:T,children:(0,v.jsx)($,{ref:R,role:x,tabIndex:i,component:c,focusVisibleClassName:(0,a.default)(B.focusVisible,g),className:(0,a.default)(B.root,C),...w,ownerState:j,classes:B})})});e.s(["default",0,C],51449)},75581,e=>{"use strict";var t=e.i(51449);e.s(["MenuItem",()=>t.default])},20229,e=>{"use strict";e.i(47167);var t=e.i(71645),a=e.i(7670),r=e.i(95669),o=e.i(44205),i=e.i(59173),l=e.i(43476);let n=(0,i.default)((0,l.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var s=e.i(66352),d=e.i(90290),c=e.i(20103),u=e.i(61722),p=e.i(50915),h=e.i(49728),m=e.i(99844),f=e.i(98051),g=e.i(95761);function x(e){return(0,g.default)("MuiChip",e)}let y=(0,f.default)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),b=(0,u.styled)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e,{color:r,iconColor:o,clickable:i,onDelete:l,size:n,variant:s}=a;return[{[`& .${y.avatar}`]:t.avatar},{[`& .${y.avatar}`]:t[`avatar${(0,d.default)(n)}`]},{[`& .${y.avatar}`]:t[`avatarColor${(0,d.default)(r)}`]},{[`& .${y.icon}`]:t.icon},{[`& .${y.icon}`]:t[`icon${(0,d.default)(n)}`]},{[`& .${y.icon}`]:t[`iconColor${(0,d.default)(o)}`]},{[`& .${y.deleteIcon}`]:t.deleteIcon},{[`& .${y.deleteIcon}`]:t[`deleteIcon${(0,d.default)(n)}`]},{[`& .${y.deleteIcon}`]:t[`deleteIconColor${(0,d.default)(r)}`]},{[`& .${y.deleteIcon}`]:t[`deleteIcon${(0,d.default)(s)}Color${(0,d.default)(r)}`]},t.root,t[`size${(0,d.default)(n)}`],t[`color${(0,d.default)(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${(0,d.default)(r)})`],l&&t.deletable,l&&"default"!==r&&t[`deletableColor${(0,d.default)(r)}`],t[s],t[`${s}${(0,d.default)(r)}`]]}})((0,p.default)(({theme:e})=>{let t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${y.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${y.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${y.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${y.avatarColorSecondary}
1`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${y.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${y.icon}`]:{marginLeft:5,marginRight:-6},[`& .${y.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,o.alpha)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,o.alpha)(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${y.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${y.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((0,h.default)(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${y.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:(0,o.alpha)(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${y.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${y.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,o.alpha)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter((0,h.default)(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${y.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,o.alpha)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,o.alpha)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((0,h.default)(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${y.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${y.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${y.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${y.avatar}`]:{marginLeft:4},[`& .${y.avatarSmall}`]:{marginLeft:2},[`& .${y.icon}`]:{marginLeft:4},[`& .${y.iconSmall}`]:{marginLeft:2},[`& .${y.deleteIcon}`]:{marginRight:5},[`& .${y.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((0,h.default)()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,o.alpha)(e.palette[t].main,.7)}`,[`&.${y.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,o.alpha)(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,o.alpha)(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${y.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,o.alpha)(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),v=(0,u.styled)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:a}=e,{size:r}=a;return[t.label,t[`label${(0,d.default)(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function $(e){return"Backspace"===e.key||"Delete"===e.key}let C=t.forwardRef(function(e,o){let i=(0,m.useDefaultProps)({props:e,name:"MuiChip"}),{avatar:u,className:p,clickable:h,color:f="default",component:g,deleteIcon:y,disabled:C=!1,icon:w,label:S,onClick:T,onDelete:k,onKeyDown:j,onKeyUp:B,size:R="medium",variant:I="filled",tabIndex:O,skipFocusWhenDisabled:P=!1,...L}=i,M=t.useRef(null),z=(0,s.default)(M,o),W=e=>{e.stopPropagation(),k&&k(e)},F=!1!==h&&!!T||h,A=F||k?c.default:g||"div",H={...i,component:A,disabled:C,size:R,color:f,iconColor:t.isValidElement(w)&&w.props.color||f,onDelete:!!k,clickable:F,variant:I},_=(e=>{let{classes:t,disabled:a,size:o,color:i,iconColor:l,onDelete:n,clickable:s,variant:c}=e,u={root:["root",c,a&&"disabled",`size${(0,d.default)(o)}`,`color${(0,d.default)(i)}`,s&&"clickable",s&&`clickableColor${(0,d.default)(i)}`,n&&"deletable",n&&`deletableColor${(0,d.default)(i)}`,`${c}${(0,d.default)(i)}`],label:["label",`label${(0,d.default)(o)}`],avatar:["avatar",`avatar${(0,d.default)(o)}`,`avatarColor${(0,d.default)(i)}`],icon:["icon",`icon${(0,d.default)(o)}`,`iconColor${(0,d.default)(l)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,d.default)(o)}`,`deleteIconColor${(0,d.default)(i)}`,`deleteIcon${(0,d.default)(c)}Color${(0,d.default)(i)}`]};return(0,r.default)(u,x,t)}
1)(H),E=A===c.default?{component:g||"div",focusVisibleClassName:_.focusVisible,...k&&{disableRipple:!0}}:{},N=null;k&&(N=y&&t.isValidElement(y)?t.cloneElement(y,{className:(0,a.default)(y.props.className,_.deleteIcon),onClick:W}):(0,l.jsx)(n,{className:(0,a.default)(_.deleteIcon),onClick:W}));let D=null;u&&t.isValidElement(u)&&(D=t.cloneElement(u,{className:(0,a.default)(_.avatar,u.props.className)}));let U=null;return w&&t.isValidElement(w)&&(U=t.cloneElement(w,{className:(0,a.default)(_.icon,w.props.className)})),(0,l.jsxs)(b,{as:A,className:(0,a.default)(_.root,p),disabled:!!F&&!!C||void 0,onClick:T,onKeyDown:e=>{e.currentTarget===e.target&&$(e)&&e.preventDefault(),j&&j(e)},onKeyUp:e=>{e.currentTarget===e.target&&k&&$(e)&&k(e),B&&B(e)},ref:z,tabIndex:P&&C?-1:O,ownerState:H,...E,...L,children:[D||U,(0,l.jsx)(v,{className:(0,a.default)(_.label),ownerState:H,children:S}),N]})});e.s(["default",0,C],20229)},38390,e=>{"use strict";var t=e.i(20229);e.s(["Chip",()=>t.default])},93655,e=>{"use strict";var t=e.i(74429);e.s(["Paper",()=>t.default])},68884,e=>{"use strict";var t=e.i(71645);e.s(["default",0,function(e){return t.Children.toArray(e).filter(e=>t.isValidElement(e))}])},20636,e=>{"use strict";var t=e.i(98051),a=e.i(95761);let r=(0,t.default)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]);e.s(["default",0,r,"getToggleButtonUtilityClass",0,function(e){return(0,a.default)("MuiToggleButton",e)}])},11291,93567,e=>{"use strict";e.i(47167);var t=e.i(71645);let a=t.createContext({});e.s(["default",0,a],11291);let r=t.createContext(void 0);e.s(["default",0,r],93567)},57501,e=>{"use strict";e.i(47167);var t=e.i(71645),a=e.i(7670),r=e.i(74160),o=e.i(95669),i=e.i(44205),l=e.i(20103),n=e.i(90290),s=e.i(61722),d=e.i(50915),c=e.i(49728),u=e.i(99844),p=e.i(20636),h=e.i(11291),m=e.i(93567),f=e.i(43476);let g=(0,s.styled)(l.default,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t[`size${(0,n.default)(a.size)}`]]}})((0,d.default)(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${p.default.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.alpha)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${p.default.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.alpha)(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.alpha)(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.alpha)(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter((0,c.default)()).map(([t])=>({props:{color:t},style:{[`&.${p.default.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.alpha)(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,i.alpha)(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainCh
1annel} / ${e.vars.palette.action.selectedOpacity})`:(0,i.alpha)(e.palette[t].main,e.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),x=t.forwardRef(function(e,i){var l;let{value:s,...d}=t.useContext(h.default),c=t.useContext(m.default),x=(0,r.default)({...d,selected:(l=e.value,void 0!==s&&void 0!==l&&(Array.isArray(s)?s.includes(l):l===s))},e),y=(0,u.useDefaultProps)({props:x,name:"MuiToggleButton"}),{children:b,className:v,color:$="standard",disabled:C=!1,disableFocusRipple:w=!1,fullWidth:S=!1,onChange:T,onClick:k,selected:j,size:B="medium",value:R,...I}=y,O={...y,color:$,disabled:C,disableFocusRipple:w,fullWidth:S,size:B},P=(e=>{let{classes:t,fullWidth:a,selected:r,disabled:i,size:l,color:s}=e,d={root:["root",r&&"selected",i&&"disabled",a&&"fullWidth",`size${(0,n.default)(l)}`,s]};return(0,o.default)(d,p.getToggleButtonUtilityClass,t)})(O);return(0,f.jsx)(g,{className:(0,a.default)(d.className,P.root,v,c||""),disabled:C,focusRipple:!w,ref:i,onClick:e=>{k&&(k(e,R),e.defaultPrevented)||T&&T(e,R)},onChange:T,value:R,ownerState:O,"aria-pressed":j,...I,children:b})});e.s(["default",0,x],57501)},25654,e=>{"use strict";var t=e.i(98051),a=e.i(95761);let r=(0,t.default)("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]);e.s(["default",0,r,"getToggleButtonGroupUtilityClass",0,function(e){return(0,a.default)("MuiToggleButtonGroup",e)}])},24204,e=>{"use strict";var t=e.i(71645),a=e.i(7670),r=e.i(95669),o=e.i(68884),i=e.i(61722),l=e.i(50915),n=e.i(99844),s=e.i(90290),d=e.i(25654),c=e.i(11291),u=e.i(93567),p=e.i(20636),h=e.i(43476);let m=(0,i.styled)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[{[`& .${d.default.grouped}`]:t.grouped},{[`& .${d.default.grouped}`]:t[`grouped${(0,s.default)(a.orientation)}`]},{[`& .${d.default.firstButton}`]:t.firstButton},{[`& .${d.default.lastButton}`]:t.lastButton},{[`& .${d.default.middleButton}`]:t.middleButton},t.root,"vertical"===a.orientation&&t.vertical,a.fullWidth&&t.fullWidth]}})((0,l.default)(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${d.default.grouped}`]:{[`&.${d.default.selected} + .${d.default.grouped}.${d.default.selected}`]:{borderTop:0,marginTop:0}},[`& .${d.default.firstButton},& .${d.default.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${d.default.lastButton},& .${d.default.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${d.default.lastButton}.${p.default.disabled},& .${d.default.middleButton}.${p.default.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${d.default.grouped}`]:{[`&.${d.default.selected} + .${d.default.grouped}.${d.default.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${d.default.firstButton},& .${d.default.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${d.default.lastButton},& .${d.default.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${d.default.lastButton}.${p.default.disabled},& .${d.default.middleButton}.${p.default.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),f=t.forwardRef(function(e,i){let l=(0,n.useDefaultProps)({props:e,name:"MuiToggleButtonGroup"}),{children:p,className:f,color:g="standard",disabled:x=!1,exclusive:y=!1,fullWidth:b=!1,onChange:v,orientation:$="horizontal",size:C="medium",value:w,...S}=l,T={...l,disabled:x,fullWidth:b,orientation:$,size:C},k=(e=>{let{classes:t,orientation:a,fullWidth:o,disabled:i}=e,l={root:["root",a,o&&"fullWidth"],grouped:["grouped",`grouped${(0,s.default)(a)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,r.default)(l,d.getToggleButtonGroupUtilityClass,t)})(T),j=t.useCallback((e,t)=>{let a;if(!v)return;let r=w&&w.indexOf(t);w&&r>=0?(a=w.slice()).splice(r,1):a=w?w.concat(t):[t],v(e,a)},[v,w]),B=t.useCallback((e,t)=>{v&&v(e,w===t?null:t)},[v,w]),R=t.useMemo(()=>({className:k.grouped,onChange:y?B:j,value:w,size:C,fullWidth:b,color:g,disabled:x}),[k.grouped,y,B,j,w,C,b,g,x]),I=(0,o.default)(p),O=I.length;return(0,h.jsx)(m,{role:"group",className:(0,a.default)(k.root,f),ref:i,ownerState:T,...S,children:(0,h.jsx)(c.default.Provider,{value:R,children:I.map((e,t)=>{let a,r;return(0,h.jsx)(u.default.Provider,{value:(a=0===t,r=t===O-1,a&&r?"":a?k.firstButton:r?k.lastButton:k.middleButton),children:e},t)})})})});e.s(["default",0,f])},22736,72263,e=>{"use strict";var t=e.i(57501);e.s(["ToggleButton",()=>t.default],22736);var a=e.i(24204);e.s(["ToggleButtonGroup",()=>a.default],72263)},53710,e=>{"use strict";var t=e.i(62844),a=e.i(43476);let r=(0,t.default)((0,a.jsx)("path",{d:"M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"VisibilityRounded");e.s(["default",0,r])},50100,e=>{"use strict";var t=e.i(62844),a=e.i(43476);let r=(0,t.default)((0,a.jsx)("path",{d:"m21.9 7.89-1.05-3.37c-.22-.9-1-1.52-1.91-1.52H5.05c-.9 0-1.69.63-1.9 1.52L2.1 7.89c-.46 1.97.85 3.11.9 3.17V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7.94c1.12-1.12 1.09-2.41.9-3.17M13 5h1.96l.54 3.52c.09.71-.39 1.48-1.28 1.48-.67 0-1.22-.59-1.22-1.31zM6.44 8.86c-.08.65-.6 1.14-1.21 1.14-.93 0-1.35-.97-1.19-1.64L5.05 5h1.97zM11 8.69c0 .72-.55 1.31-1.29 1.31-.75 0-1.3-.7-1.22-1.48L9.04 5H11zM18.77 10c-.61 0-1.14-.49-1.21-1.14L16.98 5l1.93-.01 1.05 3.37c.16.67-.25 1.64-1.19 1.64"}),"StorefrontRounded");e.s(["default",0,r])},35778,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(18566),o=e.i(70276),i=e.i(38456),l=e.i(97837),n=e.i(38390),s=e.i(75581),d=e.i(93655),c=e.i(90765),u=e.i(56757),p=e.i(22736),h=e.i(72263),m=e.i(82904),f=e.i(62844);let g=(0,f.default)((0,t.jsx)("path",{d:"m19.46 8 .79-1.75L22 5.46c.39-.18.39-.73 0-.91l-1.75-.79L19.46 2c-.18-.39-.73-.39-.91 0l-.79 1.75-1.76.79c-.39.18-.39.73 0 .91l1.75.79.79 1.76c.18.39.74.39.92 0M11.5 9.5 9.91 6c-.35-.78-1.47-.78-1.82 0L6.5 9.5 3 11.09c-.78.36-.78 1.47 0 1.82l3.5 1.59L8.09 18c.36.78 1.47.78 1.82 0l1.59-3.5 3.5-1.59c.78-.36.78-1.47 0-1.82zm7.04 6.5-.79 1.75-1.75.79c-.39.18-.39.73 0 .91l1.75.79.79 1.76c.18.39.73.39.91 0l.79-1.75 1.76-.79c.39-.18.39-.73 0-.91l-1.75-.79-.79-1.76c-.18-.39-.74-.39-.92 0"}),"AutoAwesomeRounded"),x=(0,f.default)((0,t.jsx)("path",{d:"M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11"}),"ExtensionRounded"),y=(0,f.default)((0,t.jsx)("path",{d:"M10.3 7.7c-.39.39-.39 1.01 0 1.4l1.9 1.9H3c-.55 0-1 .45-1 1s.45 1 1 1h9.2l-1.9 1.9c-.39.39-.39 1.01 0 1.4s1.01.39 1.4 0l3.59-3.59c.39-.39.39-1.02 0-1.41L11.7 7.7a.984.984 0 0 0-1.4 0M20 19h-7c-.55 0-1 .45-1 1s.45 1 1 1h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-7c-.55 0-1 .45-1 1s.45 1 1 1h7z"}),"LoginRounded");var b=e.i(50100),v=e.i(53710),$=e.i(25636),C=e.i(63908),w=e.i(2784),S=e.i(17098),T=e.i(63313),k=e.i(62282),j=e.i(907),B=e.i(22486),R=e.i(55485);let I=(0,f.default)((0,t.jsx)("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded"),O=(0,f.default)((0,t.jsx)("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1m0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1"}),"MenuRounded");var P=e.i(16602);let L='"Avenir Next", "Public Sans", "Segoe UI", Arial, sans-serif',M={width:"100%",maxWidth:1240,mx:"auto",px:{xs:2,sm:3,md:5}},z=[{label:"How It Works",href:"#how-it-works"},{label:"How It Helps",href:"#how-it-helps"},{label:"Pricing",href:"#pricing"},{label:"FAQ",href:"#faq"}];function W({ctaHref:e="/login",ctaLabel:r="Sign In",showCta:o=!0,navItems:n=z}
1){let[s,d]=a.useState(!1),[u,p]=a.useState(()=>!!(0,w.getStoredAuthUser)()),h=a.useMemo(()=>n.map(e=>{var t,a;return{...e,href:(t=((0,P.getAdminRuntimeConfig)().homeUrl||"").trim(),a=e.href,t?`${t.replace(/\/$/,"")}/${a}`:"")}}).filter(e=>e.href),[n]);a.useEffect(()=>{function e(){p(!!(0,w.getStoredAuthUser)())}function t(t){t.key&&t.key!==(0,w.getAuthUserStorageKey)()||e()}return e(),window.addEventListener((0,w.getAuthChangeEventName)(),e),window.addEventListener("storage",t),()=>{window.removeEventListener((0,w.getAuthChangeEventName)(),e),window.removeEventListener("storage",t)}},[]);let f=o&&!u,g=f?(0,t.jsx)(l.Button,{component:"a",href:e,variant:"contained",startIcon:(0,t.jsx)(y,{}),sx:{borderRadius:999,px:2.3,background:"linear-gradient(90deg, #004AAD 0%, #CB6CE6 100%)",boxShadow:"0 16px 32px rgba(0, 74, 173, 0.22)",textTransform:"none"},children:r}):null;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Box,{sx:{position:"sticky",top:0,zIndex:20,width:"100%",borderBottom:"1px solid rgba(22,35,58,0.08)",bgcolor:"rgba(255,255,255,0.92)",color:"inherit",backdropFilter:"blur(14px)",boxShadow:"0 10px 30px rgba(15, 23, 42, 0.05)"},children:(0,t.jsx)(i.Box,{sx:M,children:(0,t.jsxs)(i.Box,{sx:{minHeight:{xs:68,md:76},display:"flex",alignItems:"center",justifyContent:"space-between",gap:2},children:[(0,t.jsxs)(c.Stack,{component:"a",href:"https://trynshop.com",target:"_blank",rel:"noreferrer",direction:"row",spacing:1.4,alignItems:"center",sx:{color:"inherit",textDecoration:"none"},children:[(0,t.jsx)(i.Box,{component:"img",src:"/favicon/android-chrome-192x192.png",alt:"Try&Shop",sx:{width:{xs:42,md:48},height:{xs:42,md:48},display:"block",objectFit:"contain",filter:"drop-shadow(0 10px 24px rgba(0, 74, 173, 0.14))"}}),(0,t.jsxs)(i.Box,{children:[(0,t.jsx)(m.Typography,{sx:{fontFamily:L,fontSize:{xs:"1.2rem",md:"1.42rem"},fontWeight:800,letterSpacing:0,color:"primary.dark",lineHeight:1},children:"Try&Shop"}),(0,t.jsx)(m.Typography,{sx:{display:{xs:"none",sm:"block"},mt:.4,fontSize:"0.68rem",fontWeight:600,letterSpacing:"0.14em",textTransform:"uppercase",color:"secondary.main",lineHeight:1.1},children:"Try-On That Works."})]})]}),(0,t.jsxs)(c.Stack,{direction:"row",spacing:{xs:1,md:2},alignItems:"center",sx:{display:{xs:"none",md:"flex"}},children:[h.map(e=>(0,t.jsx)(l.Button,{component:"a",href:e.href,color:"inherit",sx:{color:"primary.dark"},children:e.label},e.href)),g]}),(0,t.jsx)(k.IconButton,{"aria-label":"Open navigation menu",onClick:()=>d(!0),sx:{display:{xs:"inline-flex",md:"none"},border:"1px solid rgba(22,35,58,0.08)",bgcolor:"rgba(255,255,255,0.72)",color:"primary.dark"},children:(0,t.jsx)(O,{})})]})})}),(0,t.jsx)(T.Drawer,{anchor:"right",open:s,onClose:()=>d(!1),PaperProps:{sx:{width:"min(86vw, 340px)",p:2}},children:(0,t.jsxs)(c.Stack,{spacing:2,sx:{height:"100%"},children:[(0,t.jsxs)(c.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[(0,t.jsx)(m.Typography,{sx:{fontFamily:L,fontSize:"1.2rem",fontWeight:700,color:"primary.dark"},children:"Menu"}),(0,t.jsx)(k.IconButton,{"aria-label":"Close navigation menu",onClick:()=>d(!1),children:(0,t.jsx)(I,{})})]}),(0,t.jsx)(S.Divider,{}),(0,t.jsxs)(j.List,{disablePadding:!0,children:[h.map(e=>(0,t.jsx)(B.ListItemButton,{component:"a",href:e.href,onClick:()=>d(!1),sx:{borderRadius:2,mb:.5},children:(0,t.jsx)(R.ListItemText,{primary:e.label,primaryTypographyProps:{fontWeight:600,color:"primary.dark"}})},e.href)),f?(0,t.jsx)(B.ListItemButton,{component:"a",href:e,onClick:()=>d(!1),sx:{borderRadius:2,mb:.5},children:(0,t.jsx)(R.ListItemText,{primary:r,primaryTypographyProps:{fontWeight:600,color:"primary.dark"}})}):null]})]})})]})}let F='"Avenir Next", "Public Sans", "Segoe UI", Arial, sans-serif',A=[{title:"AI Try-On Experience",description:"Help shoppers preview eyewear with realistic digital try-on before making a purchase.",icon:(0,t.jsx)(v.default,{sx:{fontSize:22}})},{title:"Retail and Ecommerce Ready",description:"Support physical stores, online catalogs, and guided eyewear discovery in one platform.",icon:(0,t.jsx)(b.default,{sx:{fontSize:22}})},{title:"Plugin-Based Rollout",description:"Launch on WordPress and Shopify storefronts without rebuilding your entire website.",icon:(0,t.jsx)(x,{sx:{fontSize:22}})}],H={"& .MuiOutlinedInput-root":{borderRadius:2,bgcolor:"rgba(255,255,255,0.96)",boxShadow:"0 10px 24px rgba(22,35,58,0.04)",transition:"border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease","& fieldset":{borderColor:"rgba(22,35,58,0.10)",borderWidth:"1px"},"&:hover fieldset":{borderColor:"rgba(0,74,173,0.32)"},"&.Mui-focused":{boxShadow:"0 14px 30px rgba(0,74,173,0.10)"},"&.Mui-focused fieldset":{borderColor:"#5B74DD",borderWidth:"1px"}},"& .MuiInputLabel-root":{color:"text.secondary",fontWeight:600},"& .MuiFormHelperText-root":{marginLeft:.5}},_={borderRadius:999,py:1.4,fontWeight:800,letterSpacing:0,background:"linear-gradient(90deg, #004AAD 0%, #CB6CE6 100%)",boxShadow:"0 18px 34px rgba(0, 74, 173, 0.22)","&:hover":{background:"linear-gradient(90deg, #00439D 0%, #BB5ED8 100%)",boxShadow:"0 22px 38px rgba(0, 74, 173, 0.26)"}};e.s(["default",0,function(){let e=(0,r.useRouter)(),f=(0,r.useSearchParams)(),x=(0,a.useMemo)(()=>"interest"===f.get("panel")?"interest":"signin",[f]),b=f.get("next")||f.get("redirect")||"",v=e=>{if(!e||"string"!=typeof e)return"";let t=e.trim();if(!t)return"";try{if(t.startsWith("//")?t=`https:${t}`:!t.startsWith("http://")&&!t.startsWith("https://")&&(t.includes(".trynshop.com")||t.includes(".trynshop.local"))&&(t=`https://${t}`),t.startsWith("http://")||t.startsWith("https://")){let e=new URL(t);if("/login"===e.pathname||e.pathname.startsWith("/login/")||e.pathname.startsWith("/login"))return"";return t}if("/login"===t||t.startsWith("/login/")||t.startsWith("/login?")||t.startsWith("/login#"))return"";return t}catch{return""}},S=(e,t,a)=>{if(!e)return"";try{let r=e.trim();r.startsWith("//")?r=`${window.location.protocol}${r}
1`:!r.startsWith("http://")&&!r.startsWith("https://")&&(r.includes(".trynshop.com")||r.includes(".trynshop.local"))&&(r=`https://${r}`);let o=new URL(r,window.location.origin);return o.origin!==window.location.origin&&(o.searchParams.delete("token"),o.searchParams.delete("access_token"),o.searchParams.delete("refresh_token"),t&&(o.searchParams.set("token",t),o.searchParams.set("access_token",t)),a&&o.searchParams.set("refresh_token",a)),o.toString()}catch{return e}},T=()=>{let e="";try{let t=new URLSearchParams(window.location.search);e=t.get("next")||t.get("redirect")||t.get("return_to")||t.get("returnUrl")||t.get("return")||""}catch{}let t=v(e||b);if(t){try{window.sessionStorage?.setItem("trynshop_auth_next_redirect",t),window.localStorage?.setItem("trynshop_auth_next_redirect",t)}catch{}return t}try{let e=window.sessionStorage?.getItem("trynshop_auth_next_redirect")||window.localStorage?.getItem("trynshop_auth_next_redirect");if(e)return v(e)}catch{}return""},k=()=>{try{window.sessionStorage?.removeItem("trynshop_auth_next_redirect"),window.localStorage?.removeItem("trynshop_auth_next_redirect")}catch{}};(0,a.useEffect)(()=>{let e=v(new URLSearchParams(window.location.search).get("redirect")||new URLSearchParams(window.location.search).get("next")||new URLSearchParams(window.location.search).get("return_to")||new URLSearchParams(window.location.search).get("returnUrl")||new URLSearchParams(window.location.search).get("return")||b);if(e)try{window.sessionStorage?.setItem("trynshop_auth_next_redirect",e),window.localStorage?.setItem("trynshop_auth_next_redirect",e)}catch{}},[b]);let[j,B]=(0,a.useState)(f.get("email")||""),[R,I]=(0,a.useState)(""),[O,P]=(0,a.useState)(!1),[L,z]=(0,a.useState)(!1),[E,N]=(0,a.useState)(""),[D,U]=(0,a.useState)(""),[V,q]=(0,a.useState)(!1),[G,K]=(0,a.useState)(""),[Y,Q]=(0,a.useState)(""),[J,X]=(0,a.useState)(x),[Z,ee]=(0,a.useState)({fullName:"",businessName:"",businessType:"physical_store",email:"",phone:"",message:""}),et=!!(Z.fullName.trim()&&Z.businessName.trim()&&Z.businessType.trim()&&Z.email.trim()&&Z.phone.trim()&&Z.message.trim()),ea=D.toLowerCase().includes("verification");(0,a.useEffect)(()=>{X(x)},[x]),(0,a.useEffect)(()=>{let t=!0;return(async()=>{let a=(0,w.getStoredAuthUser)(),r=(0,w.getAuthTokenFromCookie)(),o=(0,w.getRefreshTokenFromCookie)();if(!a&&!r&&!o)return;let i=a;try{let e=await (0,C.getAuthStatus)();i=e?.user||(0,w.getStoredAuthUser)()||a}catch{(0,w.clearAuthSession)();return}if(!t)return;let l=T();if(l){let t=(0,w.getAuthTokenFromCookie)(),a=S(l,t,(0,w.getRefreshTokenFromCookie)()),r=!1;try{r=new URL(a).origin!==window.location.origin}catch{}if(r){if(!t)return;k(),window.location.replace(a);return}k();try{let t=new URL(a,window.location.origin);if(t.origin===window.location.origin)return void e.replace(`${t.pathname}${t.search}${t.hash}`)}catch{}window.location.replace(a);return}e.replace((0,$.getDefaultAuthenticatedPath)(i))})(),()=>{t=!1}},[b,e]);let er=async()=>{let e=await (0,C.requestEmailOtp)(j.trim());P(!0),N(e.message||"OTP sent successfully.")},eo=async e=>{e.preventDefault(),z(!0),U(""),N("");try{await er()}catch(e){U(e.message||"Unable to send OTP.")}finally{z(!1)}},ei=async t=>{t.preventDefault(),z(!0),U(""),N("");try{let t=await (0,C.verifyEmailOtp)(j.trim(),R.trim()),a=T();if(k(),a){let r=t?.access_token||t?.token||(0,w.getAuthTokenFromCookie)(),o=t?.refresh_token||(0,w.getRefreshTokenFromCookie)(),i=S(a,r,o),l=!1;try{l=new URL(i).origin!==window.location.origin}catch{}if(l)return void window.location.replace(i);try{let t=new URL(i,window.location.origin);if(t.origin===window.location.origin)return void e.replace(`${t.pathname}${t.search}${t.hash}`)}catch{}window.location.replace(i);return}e.replace((0,$.getDefaultAuthenticatedPath)(t?.user))}catch(e){U(e.message||"Unable to verify OTP.")}finally{z(!1)}},el=async()=>{z(!0),U(""),N("");try{await er()}catch(e){U(e.message||"Unable to send OTP.")}finally{z(!1)}},en=async()=>{z(!0),U(""),N("");try{let e=await (0,C.resendVerificationEmail)(j.trim());N(e.message||"Verification email sent successfully.")}catch(e){U(e.message||"Unable to resend verification email.")}finally{z(!1)}},es=e=>t=>{ee(a=>({...a,[e]:t.target.value}))},ed=async e=>{e.preventDefault(),q(!0),Q(""),K("");try{let e=Z.fullName.trim(),t=Z.businessName.trim(),a=Z.businessType.trim(),r
1=Z.email.trim(),o=Z.phone.trim(),i=Z.message.trim();if(!e||!t||!a||!r||!o||!i)throw Error("Please complete the required fields.");let l=await (0,C.submitContactSalesLead)({full_name:e,business_name:t,business_type:a,email:r,phone:o,message:i,source:"admin_login",metadata:{panel:"interest"}});K("sent"===l.email_status?"Thanks. Our team will contact you soon. You can also contact [email protected].":"Thanks. Your request was saved. Our team will contact you soon, or you can contact [email protected]."),ee({fullName:"",businessName:"",businessType:"physical_store",email:"",phone:"",message:""})}catch(e){Q(e.message||"Unable to submit your sales request.")}finally{q(!1)}};return(0,t.jsxs)(i.Box,{sx:{width:"100%",minHeight:"100vh",background:"linear-gradient(180deg, #f7f9fc 0%, #f3f6fb 44%, #eef3f9 100%)"},children:[(0,t.jsx)(W,{showCta:!1}),(0,t.jsx)(i.Box,{sx:{...M,py:{xs:3,md:5}},children:(0,t.jsx)(d.Paper,{elevation:0,sx:{overflow:"hidden",borderRadius:2,border:"1px solid rgba(22,35,58,0.08)",boxShadow:"0 18px 46px rgba(19, 23, 34, 0.09)",bgcolor:"background.paper"},children:(0,t.jsxs)(i.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"minmax(0, 1fr) minmax(380px, 0.86fr)"},minHeight:{md:"calc(100vh - 176px)"}},children:[(0,t.jsx)(i.Box,{sx:{display:{xs:"none",md:"block"},background:"linear-gradient(180deg, rgba(244,247,255,0.98) 0%, rgba(240,237,248,0.98) 100%)"},children:(0,t.jsxs)(i.Box,{sx:{height:"100%",p:{md:4,lg:5},display:"flex",flexDirection:"column",justifyContent:"flex-start",gap:3},children:[(0,t.jsxs)(c.Stack,{spacing:2.5,children:[(0,t.jsx)(n.Chip,{icon:(0,t.jsx)(g,{}),label:"AI eyewear platform",sx:{width:"fit-content",bgcolor:"rgba(0,74,173,0.08)",color:"primary.main",fontWeight:700}}),(0,t.jsx)(m.Typography,{sx:{fontFamily:F,fontSize:"30px",fontWeight:600,letterSpacing:0,color:"primary.dark",maxWidth:520,lineHeight:1.12},children:"Sign in to manage your Try&Shop storefront and try-on experience."}),(0,t.jsx)(m.Typography,{color:"text.secondary",sx:{maxWidth:520,lineHeight:1.6,fontSize:"16px",fontWeight:400},children:"Try&Shop helps eyewear businesses run digital catalogs, customer try-on journeys, plugin-based ecommerce deployment, and store-ready AI assisted shopping flows."})]}),(0,t.jsx)(c.Stack,{spacing:1.5,sx:{mt:1},children:A.map(e=>(0,t.jsxs)(i.Box,{sx:{p:2,borderRadius:2,border:"1px solid rgba(22,35,58,0.08)",bgcolor:"rgba(255,255,255,0.72)",display:"flex",gap:1.4,alignItems:"flex-start"},children:[(0,t.jsx)(i.Box,{sx:{color:"secondary.main",mt:"2px"},children:e.icon}),(0,t.jsxs)(i.Box,{children:[(0,t.jsx)(m.Typography,{sx:{fontWeight:600,color:"primary.dark",fontSize:"1rem"},children:e.title}),(0,t.jsx)(m.Typography,{color:"text.secondary",sx:{mt:.5,lineHeight:1.6,fontSize:"16px",fontWeight:400},children:e.description})]})]},e.title))})]})}),(0,t.jsx)(i.Box,{sx:{minWidth:0},children:(0,t.jsx)(i.Box,{sx:{minHeight:{xs:"auto",md:"calc(100vh - 176px)"},p:{xs:3,sm:4,md:5},display:"flex",alignItems:{xs:"center",md:"flex-start"},justifyContent:"center",background:"radial-gradient(circle at top right, rgba(203, 108, 230, 0.10), transparent 26%), radial-gradient(circle at top left, rgba(0, 74, 173, 0.08), transparent 24%), #ffffff"},children:(0,t.jsxs)(i.Box,{sx:{width:"100%",maxWidth:440,mx:"auto",mt:{md:1},p:{xs:0,md:3},borderRadius:0,border:"none",bgcolor:"transparent",boxShadow:"none",backdropFilter:"none"},children:[(0,t.jsxs)(c.Stack,{spacing:2.25,sx:{mb:3},children:[(0,t.jsxs)(c.Stack,{spacing:1.3,alignItems:"center",children:[(0,t.jsx)(i.Box,{component:"img",src:"/favicon/android-chrome-192x192.png",alt:"Try&Shop",sx:{width:58,height:58,objectFit:"contain",filter:"drop-shadow(0 10px 24px rgba(0, 74, 173, 0.14))"}}),(0,t.jsxs)(i.Box,{sx:{textAlign:"center"},children:[(0,t.jsx)(m.Typography,{sx:{fontFamily:F,fontSize:"1.55rem",fontWeight:600,letterSpacing:0,color:"primary.dark",lineHeight:1},children:"Try&Shop"}),(0,t.jsx)(m.Typography,{sx:{mt:.55,fontSize:"0.68rem",fontWeight:600,letterSpacing:"0.14em",textTransform:"uppercase",color:"secondary.main",lineHeight:1.1},children:"Try-On That Works."})]})]}),(0,t.jsxs)(h.ToggleButtonGroup,{exclusive:!0,fullWidth:!0,value:J,onChange:(e,t)=>
1{t&&X(t)},sx:{p:.5,borderRadius:999,bgcolor:"rgba(235,239,250,0.85)","& .MuiToggleButton-root":{border:0,borderRadius:"999px !important",px:2.4,py:1,fontWeight:700,textTransform:"none",color:"text.secondary"},"& .MuiToggleButton-root.Mui-selected":{color:"#FFFFFF",background:"linear-gradient(90deg, #004AAD 0%, #CB6CE6 100%)",boxShadow:"0 10px 22px rgba(0, 74, 173, 0.16)"}},children:[(0,t.jsx)(p.ToggleButton,{value:"signin",children:"Sign In"}),(0,t.jsx)(p.ToggleButton,{value:"interest",children:"Talk to Sales"})]})]}),"signin"===J?(0,t.jsxs)(c.Stack,{spacing:2,children:[(0,t.jsxs)(i.Box,{sx:{textAlign:"center"},children:[(0,t.jsx)(m.Typography,{sx:{fontSize:"1.35rem",fontWeight:700,color:"primary.dark"},children:"Continue with Email OTP"}),(0,t.jsx)(m.Typography,{color:"text.secondary",sx:{mt:.75,lineHeight:1.6,fontSize:"16px",fontWeight:400},children:"We'll send a one-time code to your email so you can sign in securely."})]}),E?(0,t.jsx)(o.Alert,{severity:"success",children:E}):null,D?(0,t.jsx)(o.Alert,{severity:"error",children:D}):null,(0,t.jsx)(i.Box,{component:"form",onSubmit:O?ei:eo,children:(0,t.jsxs)(c.Stack,{spacing:2,children:[(0,t.jsx)(u.TextField,{required:!0,id:"email",type:"email",label:"Work Email",value:j,onChange:e=>B(e.target.value),sx:H}),O?(0,t.jsx)(u.TextField,{required:!0,id:"otp",name:"otp",label:"OTP",value:R,onChange:e=>I(e.target.value),inputProps:{inputMode:"numeric",maxLength:6},helperText:"Enter the OTP sent to your email.",sx:H}):null,(0,t.jsx)(l.Button,{type:"submit",variant:"contained",size:"large",disabled:L||!j.trim(),sx:_,children:O?"Verify OTP":"Send OTP"}),O?(0,t.jsxs)(c.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:1,flexWrap:"wrap",children:[(0,t.jsx)(l.Button,{variant:"text",disabled:L,onClick:el,sx:{fontWeight:700},children:"Resend OTP"}),(0,t.jsx)(l.Button,{variant:"text",disabled:L,onClick:()=>{P(!1),I(""),N(""),U("")},sx:{fontWeight:700},children:"Change email"})]}):null,ea?(0,t.jsx)(l.Button,{variant:"outlined",disabled:L||!j.trim(),onClick:en,sx:{borderRadius:999,fontWeight:700},children:"Resend verification email"}):null]})})]}):(0,t.jsxs)(c.Stack,{spacing:2,children:[(0,t.jsxs)(i.Box,{sx:{textAlign:"center"},children:[(0,t.jsx)(m.Typography,{sx:{fontSize:"1.35rem",fontWeight:700,color:"primary.dark"},children:"Tell us about your store"}),(0,t.jsx)(m.Typography,{color:"text.secondary",sx:{mt:.75,lineHeight:1.6,fontSize:"16px",fontWeight:400},children:"Share a few details and we'll help you evaluate Try&Shop for your business."})]}),G?(0,t.jsx)(o.Alert,{severity:"success",children:G}):null,Y?(0,t.jsx)(o.Alert,{severity:"error",children:Y}):null,(0,t.jsx)(i.Box,{component:"form",onSubmit:ed,children:(0,t.jsxs)(c.Stack,{spacing:2,children:[(0,t.jsx)(u.TextField,{required:!0,label:"Full Name",value:Z.fullName,onChange:es("fullName"),sx:H}),(0,t.jsx)(u.TextField,{required:!0,label:"Business Name",value:Z.businessName,onChange:es("businessName"),sx:H}),(0,t.jsxs)(u.TextField,{select:!0,required:!0,label:"Business Type",value:Z.businessType,onChange:es("businessType"),sx:H,children:[(0,t.jsx)(s.MenuItem,{value:"physical_store",children:"Physical Store"}),(0,t.jsx)(s.MenuItem,{value:"ecommerce",children:"Ecommerce"}),(0,t.jsx)(s.MenuItem,{value:"chain_store",children:"Chain / Multi-store"}),(0,t.jsx)(s.MenuItem,{value:"other",children:"Other"})]}),(0,t.jsx)(u.TextField,{required:!0,type:"email",label:"Work Email",value:Z.email,onChange:es("email"),autoComplete:"email",sx:H}),(0,t.jsx)(u.TextField,{required:!0,type:"tel",label:"Phone Number",value:Z.phone,onChange:es("phone"),autoComplete:"tel",helperText:"Include country code if applicable.",sx:H}),(0,t.jsx)(u.TextField,{required:!0,label:"Notes / Requirements",multiline:!0,minRows:4,value:Z.message,onChange:es("message"),helperText:"Tell us what you want to evaluate or set up.",sx:H}),(0,t.jsx)(l.Button,{type:"submit",variant:"contained",size:"large",disabled:V||!et,startIcon:(0,t.jsx)(y,{}),sx:_,children:"Contact Sales"})]})})]})]})})})]})})})]})}],35778)}]);

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.