MDCAIGlassesMixAndMatchNonRxCustomizationCardSelector.react",["fbt","MCDSDefaultLoadingDialog.react","MCDSPicture.react","MCDSPictureSourceSrc.react","MCDSPressable.react","MCDSText.react","MCDSVerticalStack.react","MDCAIGlassesMixAndMatchBuyFlowContext","MDCAIGlassesMixAndMatchBuyFlowDialog.entrypoint","MDCAppStoreImpressionLoggingConstants","MDCErrorBoundary.react","QPLUserFlow","mcdsMargin","qpl","react","requireDeferred","useDollyInteractionTracing","useDollyMarketingSelectedNonRxProduct.react","useMCDSVisibility","useMDCAIGlassesMixAndMatchDataFetcher.react","useMDCCommonLoggingParams","useMDCStoreEntryPointModal"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=r("requireDeferred")("DollyMnmClickEvent.log").__setRef("MDCAIGlassesMixAndMatchNonRxCustomizationCardSelector.react"),d=r("requireDeferred")("DollyMnmEntryViewEvent.log").__setRef("MDCAIGlassesMixAndMatchNonRxCustomizationCardSelector.react"),m={selectorItemContainer:{height:"x5yr21d",width:"xh8yej3",overflowX:"x6ikm8r",overflowY:"x10wlt62",borderStartStartRadius:"xbjudin",borderStartEndRadius:"xnlwouz",borderEndEndRadius:"xpp8er5",borderEndStartRadius:"xs9wviy",display:"x78zum5",$$css:!0}},p=r("qpl")._(452593389,"65"),_="/images/dolly/mix_and_match/mix_and_match_non_rx_card_selector_logo.svg";function f(){var e,t=o("useDollyInteractionTracing").useDollyInteractionTracing({qplEvent:r("qpl")._(452593389,"65"),tracePolicy:"dolly.store.mix_and_match_non_rx_modal.initial_load"}),n=t.startInteraction,a=t.wrapForInteractionTracing,i=r("useDollyMarketingSelectedNonRxProduct.react")(),l=r("useMDCCommonLoggingParams")(),p=r("useMDCAIGlassesMixAndMatchDataFetcher.react")(i),f=p.initialOfferIDs,g=(e=p.initialFrameOfferID)!=null?e:"",h=[],y=r("useMDCStoreEntryPointModal")(r("MDCAIGlassesMixAndMatchBuyFlowDialog.entrypoint"),{offer_ids:f,frame_offer_id:g,selected_lens_option_ids:h},{},{fallback:r("MCDSDefaultLoadingDialog.react")}),C=y.modal,b=y.onHoverInPrerenderer,v=y.onHoverOutPrerenderer,S=y.showModal,R=function(){c.onReadyImmediately(function(e){var t;return e.DollyMnmClickEvent.log(babelHelpers.extends({},l,{category:"glasses",english_text:"mix and match non-prescription glasses",type:"text",placement:"buy_box.product_selector",sku:(t=i.sku)!=null?t:"",shop_category:"NON_RX_GLASSES_MIX_AND_MATCH"}))})},L=function(){d.onReadyImmediately(function(e){var t,n;return e.DollyMnmEntryViewEvent.log(babelHelpers.extends({},l,{category:"glasses",english_text:"mix and match non-prescription glasses",type:"text",product_id:(t=i.id)!=null?t:"",placement:"buy_box.product_selector",sku:(n=i.sku)!=null?n:"",shop_category:"NON_RX_GLASSES_MIX_AND_MATCH"}))})},E=r("useMCDSVisibility")({onVisible:function(){L()},threshold:o("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD}),k=E[0],I=u.jsx("div",{className:"x5kalc8 x10h3iyq",children:u.jsx(r("MCDSPicture.react"),{alt:"",variant:"src",children:u.jsx(r("MCDSPictureSourceSrc.react"),{src:_})})});return u.jsxs(r("MDCAIGlassesMixAndMatchBuyFlowContext").Provider,{value:p,children:[a(u.jsx(r("MDCErrorBoundary.react"),{description:"Mix and match non-Rx modal initial load error",module:"MDCAIGlassesPDPBuyBoxMixAndMatchNonRxCustomizationCardSelector",children:C})),u.jsx(r("MCDSPressable.react"),{"data-testid":void 0,ref:k,xstyle:m.selectorItemContainer,onClick:function(){n(),S(),R()},onHoverIn:b,onHoverOut:v,children:u.jsxs(r("MCDSVerticalStack.react"),{alignItems:"center",gap:4,xstyle:r("mcdsMargin").top12,children:[I,u.jsx(r("MCDSText.react"),{textAlign:"center",type:"mcds-label-emphasized",children:s._(/*BTDS*/"Customise")})]})})]})}f.displayName=f.name+" [from "+i.id+"]";function g(){return u.jsx(r("MDCErrorBoundary.react"),{description:"Mix and match non-Rx entrypoint error",fallback:function(){return null},module:"MDCAIGlassesMixAndMatchNonRxCustomizationCardSelector",onError:function(t,n){r("QPLUserFlow").endFailure(p,n,{debugInfo:t.stack,annotations:{string:{error_message:t.message}}})},children:u.jsx(f,{})})}g.displayName=g.name+" [from "+i.id+"]",l.default=g}),226);
-----
MDCAIGlassesMixAndMatchBuyFlowFrameSizeAndFitCustomization.react",["fbt","DollyMarketingCMSIDs","MCDSCardSelector.react","MCDSCardSelectorItem.react","MCDSFlexbox.react","MCDSHeading.react","MCDSHorizontalStack.react","MCDSLink.react","MCDSText.react","MCDSVerticalStack.react","MDCAIGlassesCMSContentFlyout.entrypoint","MDCAIGlassesMixAndMatchContext","MDCAIGlassesPDPHeightAnimatableContent.react","MDCAppStoreImpressionLoggingConstants","MDCStoreFrameFitSelector.react","MDCStoreFrameSizeSelector.react","isEmpty","justknobx","mcdsHide","react","requireDeferred","stylex","useMCDSEntryPointFlyOut","useMCDSVisibility","useMDCAIGlassesMixAndMatchContentValuesForFrameCustomizationStep.react","useMDCCommonLoggingParams"],(function(t,n,r,o,a,i,l,s){"use strict";var e=["url"],u,c,d,m=d||(d=o("react")),p=d,_=p.useCallback,f=p.useContext,g=p.useMemo,h=r("requireDeferred")("DollyLearnMoreClickEvent.log").__setRef("MDCAIGlassesMixAndMatchBuyFlowFrameSizeAndFitCustomization.react"),y=r("requireDeferred")("DollyMnmFlyoutViewEvent.log").__setRef("MDCAIGlassesMixAndMatchBuyFlowFrameSizeAndFitCustomization.react"),C={textSelectorLabelWrapper:{marginLeft:"xcmxlu1",marginRight:"xoth75v",marginInlineStart:null,marginInlineEnd:null,marginTop:"x1anpbxc",marginBottom:"xyorhqc",$$css:!0}};function b(){var t=f(r("MDCAIGlassesMixAndMatchContext")),n=t.currentProductOnPDP,a=t.selectedFrame,i=t.step,l=t.updateSelectedProductForFrameSize,d=t.updateSelectedProductForNoseBridgeFit,p=t.validFrameSizesForSelectedColor,b=t.validNoseBridgeFitsForSelectedColor,v=r("useMDCCommonLoggingParams")(),S=v.url,R=babelHelpers.objectWithoutPropertiesLoose(v,e),L=r("useMDCAIGlassesMixAndMatchContentValuesForFrameCustomizationStep.react")(),E=L.cardSelectorValues,k=function(){var e={FrameColor:E.map(function(e){return e.frameColor}),FrameSize:p,Fit:b};y.onReadyImmediately(function(t){var r,o;return t.DollyMnmFlyoutViewEvent.log(babelHelpers.extends({},R,{buy_flow_step:i,category:"glasses",shop_category:"HYPERNOVA_NON_RX_GLASSES",product_id:(r=n==null?void 0:n.id)!=null?r:"",sku:(o=n==null?void 0:n.sku)!=null?o:"",option_ids:[],options_viewed:JSON.stringify(e),placement:"mix_and_match.modal",url:S!=null?S:""}))})},I=r("useMCDSVisibility")({onVisible:function(){k()},threshold:o("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD}),T=I[0],D=r("useMCDSEntryPointFlyOut")(r("MDCAIGlassesCMSContentFlyout.entrypoint"),{refID:o("DollyMarketingCMSIDs").RBM_SIZE_GUIDE_CMS_ID,url:S},{title:m.jsx(r("MCDSHeading.react"),{type:"mcds_title_large_emphasized",children:s._(/*BTDS*/"Size guide")}),modalDataTestID:"supernova-pdp-size-guide-modal",ariaLabel:s._(/*BTDS*/"Size guide modal")},{hasMaxWidth:!0,density:"dense"}),x=D.modal,$=D.onHoverInPrerenderer,P=D.onHoverOutPrerenderer,N=D.showModal,M=r("useMCDSEntryPointFlyOut")(r("MDCAIGlassesCMSContentFlyout.entrypoint"),{refID:o("DollyMarketingCMSIDs").RBM_FIT_GUIDE_CMS_ID,url:S},{title:m.jsx(r("MCDSHeading.react"),{type:"mcds_title_large_emphasized",children:s._(/*BTDS*/"Fit guide")}),modalDataTestID:"supernova-pdp-fit-guide-modal",ariaLabel:s._(/*BTDS*/"Fit guide modal")},{hasMaxWidth:!0,density:"dense"}),w=M.modal,A=M.onHoverInPrerenderer,F=M.onHoverOutPrerenderer,O=M.showModal,B=a==null?void 0:a.frameNoseBridgeFit,W=a==null?void 0:a.frameSize,q=_(function(e){h.onReadyImmediately(function(t){t.DollyLearnMoreClickEvent.logImmediately(babelHelpers.extends({english_text:e,type:"text",destination_url:S,placement:"buy_box",url:S},R))})},[R,S]),U=r("justknobx")._("3961"),V=g(function(){return p.map(function(e){return{value:e,label:e}})},[p]),H=g(function(){return b.map(function(e){return{value:e,label:e}})},[b]),G=_(function(e){l(e)},[l]),z=_(function(e){d(e)},[d]);if(U)return m.jsxs(r("MCDSVerticalStack.react"),{gap:12,ref:(u||(u=r("isEmpty")))(E)?void 0:T,children:[m.jsx(r("MCDSText.react"),{type:"mcds-large-body",children:H.length>0?s._(/*BTDS*/"Size & fit"):s._(/*BTDS*/"Size")}),m.jsx(r("MDCStoreFrameSizeSelector.react"),{selectedValue:W,sizes:V,onChange:G}),m.jsx(r("MDCStoreFrameFitSelector.react"),{fits:H,selectedValue:B,onChange:z})]});var j=m.jsxs(r("MCDSVerticalStack.react"),{gap:12,ref:(u||(u=r("isEmpty")))(E)?void 0:T,children:[m.jsx(r("MCDSText.react"),{type:"mcds-large-body",children:s._(/*BTDS*/"Size & fit")}),m.jsxs(r("MCDSHorizontalStack.react"),{alignItems:"center",gap:16,justifyContent:{mobile:"space-between",tablet:"flex-start",desktop:"space-between"},children:[m.jsx(r("MCDSCardSelector.react"),{"data-testid":void 0,isSingleSelect:!0,itemsPerRow:2,label:s._(/*BTDS*/"Size"),layout:"flex_wrap",shouldShowDefaultBorder:!0,values:W!=null?[W]:[],onChange:function(t){t[0]!=null&&l(t[0])},children:p.map(function(e){return m.jsx(r("MCDSCardSelectorItem.react"),{value:e,children:m.jsx(r("MCDSFlexbox.react"),{alignItems:"center",justifyContent:"center",xstyle:C.textSelectorLabelWrapper,children:m.jsx(r("MCDSText.react"),{type:"mcds-label",children:e})})},e)})}),m.jsx(r("MCDSLink.react"),{onClick:function(){q("Size guide"),N()},onHoverIn:$,onHoverOut:P,children:m.jsx(r("MCDSText.react"),{color:"link",type:"mcds-label-emphasized",children:s._(/*BTDS*/"Size guide")})})]}),m.jsxs(r("MCDSHorizontalStack.react"),{alignItems:"center",gap:16,justifyContent:{mobile:"space-between",tablet:"flex-start",desktop:"space-between"},children:[m.jsx(r("MCDSCardSelector.react"),{"data-testid":void 0,isSingleSelect:!0,itemsPerRow:2,label:s._(/*BTDS*/"Fit"),layout:"flex_wrap",shouldShowDefaultBorder:!0,values:B!=null?[B]:[],onChange:function(t){t[0]!=null&&d(t[0])},children:b.map(function(e){return m.jsx(r("MCDSCardSelectorItem.react"),{value:e,children:m.jsx(r("MCDSFlexbox.react"),{alignItems:"center",justifyContent:"center",xstyle:C.textSelectorLabelWrapper,children:m.jsx(r("MCDSText.react"),{type:"mcds-label",children:e})})},e)})}),m.jsx(r("MCDSLink.react"),{onClick:function(){q("Fit guide"),O()},onHoverIn:A,onHoverOut:F,children:m.jsx(r("MCDSText.react"),{color:"link",type:"mcds-label-emphasized",children:s._(/*BTDS*/"Fit guide")})})]})]});return m.jsxs(m.Fragment,{children:[m.jsx("div",babelHelpers.extends({},(c||(c=r("stylex"))).props(r("mcdsHide").onMobile,r("mcdsHide").onDesktop),{children:j})),m.jsx("div",babelHelpers.extends({},c.props(r("mcdsHide").onTablet),{"data-testid":void 0,children:m.jsx(r("MDCAIGlassesPDPHeightAnimatableContent.react"),{children:j})})),x,w]})}b.displayName=b.name+" [from "+i.id+"]",l.default=b}),226);
-----
MDCAIGlassesMixAndMatchBuyFlowLensTypeConfiguratorContainer.react",["fbt","MDCAIGlassesMixAndMatchBuyFlowCardSelector.react","MDCAIGlassesMixAndMatchContext","MDCAppStoreImpressionLoggingConstants","isEmpty","react","requireDeferred","useMCDSVisibility","useMDCAIGlassesMixAndMatchContentValuesForLensTypeCustomizationStep.react","useMDCCommonLoggingParams"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u,m=d.useContext,p=d.useEffect,_=r("requireDeferred")("DollyMnmFlyoutViewEvent.log").__setRef("MDCAIGlassesMixAndMatchBuyFlowLensTypeConfiguratorContainer.react");function f(){var t=m(r("MDCAIGlassesMixAndMatchContext")),n=t.currentProductOnPDP,a=t.lensTypeToDefaultLensColorMap,i=t.selectedCardValueAtStep,l=t.setUserSelectedOptionForStep,u=t.step,d=t.updateLensInfoSelectionForStep,f=r("useMDCCommonLoggingParams")(),g=r("useMDCAIGlassesMixAndMatchContentValuesForLensTypeCustomizationStep.react")(),h=g.cardSelectorValues,y=function(){_.onReadyImmediately(function(e){var t,r;return e.DollyMnmFlyoutViewEvent.log(babelHelpers.extends({},f,{buy_flow_step:u,category:"glasses",shop_category:"HYPERNOVA_NON_RX_GLASSES",product_id:(t=n==null?void 0:n.id)!=null?t:"",sku:(r=n==null?void 0:n.sku)!=null?r:"",option_ids:[],options_viewed:JSON.stringify({LensType:h.map(function(e){return e.label})}),placement:"mix_and_match.modal"}))})},C=r("useMCDSVisibility")({onVisible:function(){y()},threshold:o("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD}),b=C[0];return p(function(){d(h)},[h,d]),c.jsx("div",{ref:h!=null&&!(e||(e=r("isEmpty")))(h)?b:void 0,children:c.jsx(r("MDCAIGlassesMixAndMatchBuyFlowCardSelector.react"),{cardSelectorValues:h,label:s._(/*BTDS*/"Lens customisation"),values:i(h),onChange:function(n){if(!(e||(e=r("isEmpty")))(n)){var t=n[0];l==null||l(u,t);var o=a.get(t);o!=null&&(l==null||l("lens_color_selection",o))}}})})}f.displayName=f.name+" [from "+i.id+"]",l.default=f}),226);
-----
MDCAIGlassesMixAndMatchBuyFlowLensColorConfiguratorContainer.react",["fbt","DollyMarketingTransD2DInfoModal.entrypoint","DollyMarketingTransGenSInfoModal.entrypoint","MCDSCardSelector.react","MCDSCardSelectorItem.react","MCDSDefaultLoadingDialog.react","MCDSEntryPointModalTrigger.react","MCDSFlexbox.react","MCDSHorizontalStack.react","MCDSIcon.react","MCDSIconICircleOutline.svg.react","MCDSImage.react","MCDSPressable.react","MCDSText.react","MCDSVerticalStack.react","MDCAIGlassesMixAndMatchBuyFlowLensColorSwatch.react","MDCAIGlassesMixAndMatchContext","MDCAIGlassesMixAndMatchPricing","MDCAppStoreImpressionLoggingConstants","bx","isEmpty","mcdsPadding","react","requireDeferred","useMCDSVisibility","useMDCAIGlassesMixAndMatchContentValuesForLensColorCustomizationStep.react","useMDCCommonLoggingParams"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u,m=d.useCallback,p=d.useContext,_=d.useEffect,f=r("requireDeferred")("DollyMnmFlyoutViewEvent.log").__setRef("MDCAIGlassesMixAndMatchBuyFlowLensColorConfiguratorContainer.react"),g=r("bx").getURL(r("bx")("32018")),h={cardSelectorItem:{overflowX:"x6ikm8r",overflowY:"x10wlt62",width:"xxljpkc",maxWidth:"x1cl0utw",$$css:!0},cardSelectorItemContent:{height:"xa0zjtf",width:"xh8yej3",display:"x78zum5",flexDirection:"xdt5ytf",overflowX:"x6ikm8r",overflowY:"x10wlt62",$$css:!0},priceLabel:{alignItems:"x6s0dn4",justifyContent:"xl56j7k",backgroundColor:"x1bgx8a2",height:"x10w6t97",$$css:!0},polarizedLogo:{height:"xlup9mm",width:"x1kky2od",$$css:!0},strikethroughPrice:{textDecoration:"xmqliwb",$$css:!0}};function y(e){var t=e.cardContentProps,n=o("MDCAIGlassesMixAndMatchPricing").isMixAndMatchOptionOfferAmountFree(t.offerAmount),a=o("MDCAIGlassesMixAndMatchPricing").isOnSale(t.price,t.salePrice),i=c.jsxs(c.Fragment,{children:[a&&c.jsxs(r("MCDSText.react"),{type:"mcds-micro-text",children:[t.salePrice," "]}),c.jsx(r("MCDSText.react"),{color:a?"secondary":"primary",type:"mcds-micro-text",xstyle:a&&h.strikethroughPrice,children:t.price})]});return c.jsx(r("MCDSCardSelectorItem.react"),{value:t.value,xstyle:h.cardSelectorItem,children:c.jsxs(r("MCDSFlexbox.react"),{direction:"column",xstyle:h.cardSelectorItemContent,children:[c.jsxs(r("MCDSVerticalStack.react"),{alignItems:"center",gap:8,grow:1,xstyle:[r("mcdsPadding").horiz8,r("mcdsPadding").vert16],children:[c.jsx(r("MDCAIGlassesMixAndMatchBuyFlowLensColorSwatch.react"),{hexCodes:t.hexCodes,isPolarized:(t==null?void 0:t.isPolarized)===!0,shouldShowPolarizedLogo:!1,transitionGlassType:t.transitionGlassType}),c.jsx(r("MCDSText.react"),{display:"block",textAlign:"center",type:"mcds-micro-text",children:t.label})]}),c.jsxs(r("MCDSVerticalStack.react"),{gap:8,shrink:0,children:[t.isPolarized===!0&&c.jsxs(r("MCDSHorizontalStack.react"),{gap:4,justifyContent:"center",children:[c.jsx(r("MCDSImage.react"),{alt:s._(/*BTDS*/"Meta glasses"),display:"block",src:g,variant:"src",xstyle:h.polarizedLogo}),c.jsx(r("MCDSText.react"),{display:"block",type:"mcds-micro-text",children:s._(/*BTDS*/"Polarised")})]}),c.jsx(r("MCDSFlexbox.react"),{xstyle:h.priceLabel,children:c.jsx(r("MCDSText.react"),{display:"block",type:"mcds-micro-text",children:n?s._(/*BTDS*/"Included"):i})})]})]})})}y.displayName=y.name+" [from "+i.id+"]";function C(){var t=p(r("MDCAIGlassesMixAndMatchContext")),n=t.currentProductOnPDP,a=t.selectedCardValueAtStep,i=t.setUserSelectedOptionForStep,l=t.step,u=t.updateLensInfoSelectionForStep,d=r("useMDCCommonLoggingParams")(),g=o("useMDCAIGlassesMixAndMatchContentValuesForLensColorCustomizationStep.react").useMDCAIGlassesMixAndMatchContentValuesForLensColorCustomizationStep(),h=g.cardSelectorValues,C=function(){f.onReadyImmediately(function(e){var t,r;return e.DollyMnmFlyoutViewEvent.log(babelHelpers.extends({},d,{buy_flow_step:l,category:"glasses",shop_category:"HYPERNOVA_NON_RX_GLASSES",product_id:(t=n==null?void 0:n.id)!=null?t:"",sku:(r=n==null?void 0:n.sku)!=null?r:"",option_ids:[],options_viewed:JSON.stringify({LensColor:h.map(function(e){return e.label})}),placement:"mix_and_match.modal"}))})},b=r("useMCDSVisibility")({onVisible:function(){C()},threshold:o("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD}),v=b[0],S=h==null?void 0:h.filter(function(e){return e.transitionGlassType==="TRANS_D2D"}),R=h==null?void 0:h.filter(function(e){return e.transitionGlassType==="TGNS"}),L=h==null?void 0:h.filter(function(e){return e.transitionGlassType==null});_(function(){u(h)},[h,u]);var E=m(function(t){return c.jsx(r("MCDSCardSelector.react"),{areItemsSameHeight:!1,gap:8,isSingleSelect:!0,label:s._(/*BTDS*/"Lens customisation"),layout:"flex_wrap",values:a(h),onChange:function(n){(e||(e=r("isEmpty")))(n)||i==null||i(l,n[0])},children:t.map(function(e,t){return c.jsx(y,{cardContentProps:e},t)})})},[h,a,i,l]);return c.jsxs(r("MCDSVerticalStack.react"),{gap:32,ref:h!=null&&!(e||(e=r("isEmpty")))(h)?v:void 0,children:[!(e||(e=r("isEmpty")))(L)&&E(L),!(e||(e=r("isEmpty")))(R)&&c.jsxs(r("MCDSVerticalStack.react"),{gap:12,children:[c.jsxs(r("MCDSHorizontalStack.react"),{alignItems:"center",gap:4,xstyle:r("mcdsPadding").top12,children:[c.jsx(r("MCDSText.react"),{color:"secondary",type:"mcds-small-body",children:s._(/*BTDS*/"Transitionsu00ae Gen Su2122")}),c.jsx(r("MCDSEntryPointModalTrigger.react"),{entryPoint:r("DollyMarketingTransGenSInfoModal.entrypoint"),options:{fallback:r("MCDSDefaultLoadingDialog.react")},otherProps:{},preloadParams:{},children:function(t){var e=t.onHoverInPrerenderer,n=t.onHoverOutPrerenderer,o=t.onTrigger;return c.jsx(r("MCDSPressable.react"),{"aria-label":s._(/*BTDS*/"Info"),onClick:o,onHoverIn:e,onHoverOut:n,children:c.jsx(r("MCDSIcon.react"),{color:"secondary",icon:r("MCDSIconICircleOutline.svg.react"),size:16})})}})]}),E(R)]}),!(e||(e=r("isEmpty")))(S)&&c.jsxs(r("MCDSVerticalStack.react"),{gap:12,children:[c.jsxs(r("MCDSHorizontalStack.react"),{alignItems:"center",gap:4,xstyle:r("mcdsPadding").top12,children:[c.jsx(r("MCDSText.react"),{color:"secondary",type:"mcds-small-body",children:s._(/*BTDS*/"Transitionsu00ae Special Edition")}),c.jsx(r("MCDSEntryPointModalTrigger.react"),{entryPoint:r("DollyMarketingTransD2DInfoModal.entrypoint"),options:{fallback:r("MCDSDefaultLoadingDialog.react")},otherProps:{},preloadParams:{},children:function(t){var e=t.onHoverInPrerenderer,n=t.onHoverOutPrerenderer,o=t.onTrigger;return c.jsx(r("MCDSPressable.react"),{"aria-label":s._(/*BTDS*/"Info"),onClick:o,onHoverIn:e,onHoverOut:n,children:c.jsx(r("MCDSIcon.react"),{color:"secondary",icon:r("MCDSIconICircleOutline.svg.react"),size:16})})}})]}),E(S)]})]})}C.displayName=C.name+" [from "+i.id+"]",l.default=C}),226);
-----
MDCAIGlassesPDPBuyBoxMixAndMatchNonRxCustomization.react",["fbt","MCDSDefaultLoadingDialog.react","MCDSFlexbox.react","MCDSHorizontalStack.react","MCDSIcon.react","MCDSIconCaretRightOutline.svg.react","MCDSPicture.react","MCDSPictureSourceSrc.react","MCDSPressable.react","MCDSText.react","MDCAIGlassesMixAndMatchBuyFlowContext","MDCAIGlassesMixAndMatchBuyFlowDialog.entrypoint","MDCAppStoreImpressionLoggingConstants","MDCErrorBoundary.react","QPLUserFlow","mcdsPadding","qpl","react","requireDeferred","useDollyInteractionTracing","useDollyMarketingSelectedNonRxProduct.react","useMCDSVisibility","useMDCAIGlassesMixAndMatchDataFetcher.react","useMDCCommonLoggingParams","useMDCStoreEntryPointModal"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=r("requireDeferred")("DollyMnmClickEvent.log").__setRef("MDCAIGlassesPDPBuyBoxMixAndMatchNonRxCustomization.react"),d=r("requireDeferred")("DollyMnmEntryViewEvent.log").__setRef("MDCAIGlassesPDPBuyBoxMixAndMatchNonRxCustomization.react"),m={wrapper:{borderTopWidth:"x178xt8z",borderInlineEndWidth:"x1lun4ml",borderBottomWidth:"xso031l",borderInlineStartWidth:"xpilrb4",borderTopStyle:"x13fuv20",borderInlineEndStyle:"x18b5jzi",borderBottomStyle:"x1q0q8m5",borderInlineStartStyle:"x1t7ytsu",borderStartStartRadius:"xbjudin",borderStartEndRadius:"xnlwouz",borderEndEndRadius:"xpp8er5",borderEndStartRadius:"xs9wviy",borderTopColor:"x79b4n4",borderInlineEndColor:"x15p7v3w",borderBottomColor:"x1or4hh0",borderInlineStartColor:"xhr6100",":hover_borderTopColor":"xwnobx9",":hover_borderInlineEndColor":"xss7bp0",":hover_borderBottomColor":"xm1z6dw",":hover_borderInlineStartColor":"x165v2hr",$$css:!0}},p=r("qpl")._(452593389,"65"),_="/images/dolly/mix_and_match/mix_and_match_non_rx_logo.svg";function f(){var e,t=o("useDollyInteractionTracing").useDollyInteractionTracing({qplEvent:r("qpl")._(452593389,"65"),tracePolicy:"dolly.store.mix_and_match_non_rx_modal.initial_load"}),n=t.startInteraction,a=t.wrapForInteractionTracing,i=r("useDollyMarketingSelectedNonRxProduct.react")(),l=r("useMDCCommonLoggingParams")(),p=r("useMDCAIGlassesMixAndMatchDataFetcher.react")(i),f=p.initialOfferIDs,g=(e=p.initialFrameOfferID)!=null?e:"",h=[],y=r("useMDCStoreEntryPointModal")(r("MDCAIGlassesMixAndMatchBuyFlowDialog.entrypoint"),{offer_ids:f,frame_offer_id:g,selected_lens_option_ids:h},{},{fallback:r("MCDSDefaultLoadingDialog.react")}),C=y.modal,b=y.onHoverInPrerenderer,v=y.onHoverOutPrerenderer,S=y.showModal,R=function(){c.onReadyImmediately(function(e){var t;return e.DollyMnmClickEvent.log(babelHelpers.extends({},l,{category:"glasses",english_text:"mix and match prescription glasses",type:"text",placement:"buy_box",sku:(t=i.sku)!=null?t:"",shop_category:"HYPERNOVA_NON_RX_GLASSES"}))})},L=function(){d.onReadyImmediately(function(e){var t,n;return e.DollyMnmEntryViewEvent.log(babelHelpers.extends({},l,{category:"glasses",english_text:"mix and match non-prescription glasses",type:"text",product_id:(t=i.id)!=null?t:"",placement:"buy_box",sku:(n=i.sku)!=null?n:"",shop_category:"HYPERNOVA_NON_RX_GLASSES"}))})},E=r("useMCDSVisibility")({onVisible:function(){L()},threshold:o("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD}),k=E[0],I=u.jsx(r("MCDSPicture.react"),{alt:"",variant:"src",children:u.jsx(r("MCDSPictureSourceSrc.react"),{src:_})});return u.jsxs(r("MDCAIGlassesMixAndMatchBuyFlowContext").Provider,{value:p,children:[a(u.jsx(r("MDCErrorBoundary.react"),{description:"Mix and match non-Rx modal initial load error",module:"MDCAIGlassesPDPBuyBoxMixAndMatchNonRxCustomization",children:C})),u.jsx(r("MCDSPressable.react"),{"data-testid":void 0,ref:k,onClick:function(){n(),S(),R()},onHoverIn:b,onHoverOut:v,children:u.jsxs(r("MCDSHorizontalStack.react"),{alignItems:"center",gap:24,justifyContent:"flex-start",xstyle:[m.wrapper,r("mcdsPadding").horiz12],children:[u.jsxs("div",{className:"x78zum5 x6s0dn4 xl56j7k xmixu3c xy75621",children:[I,u.jsx(r("MCDSText.react"),{type:"mcds-label-emphasized",children:s._(/*BTDS*/"Without prescription")})]}),u.jsx(r("MCDSFlexbox.react"),{grow:1,justifyContent:"flex-end",children:u.jsx(r("MCDSIcon.react"),{color:"secondary",icon:r("MCDSIconCaretRightOutline.svg.react"),size:16})})]})})]})}f.displayName=f.name+" [from "+i.id+"]";function g(){return u.jsx(r("MDCErrorBoundary.react"),{description:"Mix and match non-Rx entrypoint error",fallback:function(){return null},module:"MDCAIGlassesPDPBuyBoxMixAndMatchNonRxCustomization",onError:function(t,n){r("QPLUserFlow").endFailure(p,n,{debugInfo:t.stack,annotations:{string:{error_message:t.message}}})},children:u.jsx(f,{})})}g.displayName=g.name+" [from "+i.id+"]",l.default=g}),226);
-----
ShopGlassesBuyBoxRxCustomization.react",["fbt","CometRouteParams","DollyMarketingRxAvailabilityContext","DollyMarketingRxBuyFlowDialog.entrypoint","DollyStoreSiteTypeContext","MCDSDefaultLoadingDialog.react","MCDSHorizontalStack.react","MCDSIcon.react","MCDSIconPlusFilled.svg.react","MCDSIconPrescriptionRxOutline.svg.react","MCDSLink.react","MCDSText.react","MCDSVerticalStack.react","MDCAIGlassesPDPRxOOSBadge.react","MDCAIGlassesRxBuyFlowContext","MDCAppStoreImpressionLoggingConstants","MDCErrorBoundary.react","Placeholder.react","ProductStateUtils","QPLUserFlow","SHOPCategory","getJSEnumSafe","gkx","mcdsMargin","mcdsPadding","mdcCheckoutExperiments","qpl","react","requireDeferred","useDollyInteractionTracing","useDollyMarketingSelectedNonRxProduct.react","useMCDSVisibility","useMDCAIGlassesPDPRxDataFetcher.react","useMDCCommonLoggingParams","useMDCStoreEntryPointModal"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useEffect,l=b.useMemo,m=c("requireDeferred")("DollyRxClickEvent.log").__setRef("ShopGlassesBuyBoxRxCustomization.react"),n=c("requireDeferred")("DollyRxEntryViewEvent.log").__setRef("ShopGlassesBuyBoxRxCustomization.react"),o=c("gkx")("16829"),p={wrapper:{borderTopWidth:"x178xt8z",borderInlineEndWidth:"x1lun4ml",borderBottomWidth:"xso031l",borderInlineStartWidth:"xpilrb4",borderTopStyle:"x13fuv20",borderInlineEndStyle:"x18b5jzi",borderBottomStyle:"x1q0q8m5",borderInlineStartStyle:"x1t7ytsu",borderStartStartRadius:"xbjudin",borderStartEndRadius:"xnlwouz",borderEndEndRadius:"xpp8er5",borderEndStartRadius:"xs9wviy",borderTopColor:"x79b4n4",borderInlineEndColor:"x15p7v3w",borderBottomColor:"x1or4hh0",borderInlineStartColor:"xhr6100",":hover_borderTopColor":"xwnobx9",":hover_borderInlineEndColor":"xss7bp0",":hover_borderBottomColor":"xm1z6dw",":hover_borderInlineStartColor":"x165v2hr",$$css:!0},icon:{color:"xjukama",$$css:!0}},q=c("qpl")._(452594239,"2911");function r(a){a=a.xstyle;var b=d("useDollyInteractionTracing").useDollyInteractionTracing({qplEvent:c("qpl")._(452606512,"194"),tracePolicy:"dolly.store.rx_modal.initial_load"}),e=b.startInteraction;b=b.wrapForInteractionTracing;var g=c("useMDCAIGlassesPDPRxDataFetcher.react")(),i=c("useMDCCommonLoggingParams")(),q=d("DollyMarketingRxAvailabilityContext").useDollyMarketingRxAvailabilityContext(),r=q.setIsRxAvailable,s=d("CometRouteParams").useRouteParams(),t=c("useDollyMarketingSelectedNonRxProduct.react")();q=d("DollyStoreSiteTypeContext").useSiteTypeContext();q=q.siteType;q=c("useMDCStoreEntryPointModal")(c("DollyMarketingRxBuyFlowDialog.entrypoint"),{siteType:q},{},{fallback:c("MCDSDefaultLoadingDialog.react")});var u=q.modal,v=q.onHoverInPrerenderer,w=q.onHoverOutPrerenderer,x=q.showModal,y=l(function(){var a;return{sku:(a=g.frameSKU)!=null?a:"",product_id:(a=g.frameProductID)!=null?a:"",placement:"buy_box",category:"glasses",english_text:"customize prescription lens",type:"text",non_rx_sku:(a=t.sku)!=null?a:""}},[g.frameSKU,g.frameProductID,t.sku]);q=c("getJSEnumSafe")(c("SHOPCategory"),g.frameShopCategory);q!=null&&(y=babelHelpers["extends"]({},y,{shop_category:q}));q=c("useMCDSVisibility")({onVisible:function(){var a;n.onReadyImmediately(function(a){return a.DollyRxEntryViewEvent.log(babelHelpers["extends"]({},i,y))});d("ProductStateUtils").logRxProductState(g.frameProductInventoryStatus,s,i.referrer,(a=g.frameSKU)!=null?a:"",(a=t.sku)!=null?a:"",i.url,(a=c("getJSEnumSafe")(c("SHOPCategory"),g.frameShopCategory))!=null?a:"SUPERNOVA_RX_FRAME")},threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});q=q[0];var z=g.frameProductInventoryStatus,A=z==="available";k(function(){r(A)},[A,r]);if(!A)return j.jsx("div",{ref:q,children:o?j.jsx(c("MDCAIGlassesPDPRxOOSBadge.react"),{}):null});var B=function(){m.onReadyImmediately(function(a){return a.DollyRxClickEvent.log(babelHelpers["extends"]({},i,y))})};return j.jsxs(c("MDCAIGlassesRxBuyFlowContext").Provider,{value:g,children:[b(j.jsx(c("MDCErrorBoundary.react"),{description:"Rx modal initial load error",module:"ShopGlassesBuyBoxRxCustomization",children:u})),j.jsx(c("MCDSLink.react"),{"data-testid":void 0,ref:q,role:"button",xstyle:[a,p.wrapper,c("mcdsPadding").all20],onClick:function(){e(),x(),B()},onHoverIn:v,onHoverOut:w,children:j.jsxs(c("MCDSHorizontalStack.react"),{alignItems:"center",justifyContent:"space-between",children:[j.jsxs(c("MCDSHorizontalStack.react"),{alignItems:"center",gap:12,children:[j.jsx(c("MCDSIcon.react"),{icon:c("MCDSIconPrescriptionRxOutline.svg.react"),size:32,xstyle:p.icon}),j.jsxs(c("MCDSVerticalStack.react"),{gap:2,children:[j.jsx(c("MCDSText.react"),{type:"mcds-small-body-emphasized",children:h._(/*BTDS*/"Add prescription")}),j.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:d("mdcCheckoutExperiments").getShouldEnableSIKAPayments()?h._(/*BTDS*/"FSA/HSA eligible"):h._(/*BTDS*/"Customise your lenses")})]})]}),j.jsxs(c("MCDSHorizontalStack.react"),{alignItems:"center",gap:2,xstyle:c("mcdsMargin").end4,children:[j.jsx(c("MCDSIcon.react"),{color:"secondary",icon:c("MCDSIconPlusFilled.svg.react"),isInline:!0,size:16}),j.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-label",children:h._(/*BTDS*/"Add")})]})]})})]})}r.displayName=r.name+" [from "+f.id+"]";function a(){var a=c("useDollyMarketingSelectedNonRxProduct.react")();a=Boolean(a==null?void 0:a.id);return!a?null:j.jsx(c("MDCErrorBoundary.react"),{description:"Rx entrypoint error in Oakley buy box",fallback:function(){return null},module:"ShopGlassesBuyBoxRxCustomization",onError:function(a,b){c("QPLUserFlow").endFailure(q,b,{debugInfo:a.stack,annotations:{string:{error_message:a.message}}})},children:j.jsx(c("Placeholder.react"),{children:j.jsx(r,{})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MDCAIGlassesSocialContextFacepile.react",["MCDSHorizontalDivider.react","MDCAppStoreImpressionLoggingConstants","QE2Logger","SecureMessageListener","justknobx","mcdsFlexJustifyContentStyles","mcdsMargin","qex","react","stylex","useMCDSVisibility"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));b=i;var k=b.useCallback,l=b.useEffect,m=b.useState;function a(){var a=m(c("justknobx")._("3132")||c("qex")._("3515")||!1),b=a[0],e=a[1];a=k(function(a){if(a.source.location.href!=="https://www.facebook.com/plugins/wearables_social_context"||!b)return;e(a.data!==null)},[]);var f=k(function(){b&&d("QE2Logger").logExposureForUser("mdc_wearables_social_context_facepile")},[]);n(["facebook.com"],a);a=c("useMCDSVisibility")({onVisible:f,threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});f=a[0];return b?j.jsxs("div",babelHelpers["extends"]({},(h||(h=c("stylex"))).props(c("mcdsMargin").top16,c("mcdsFlexJustifyContentStyles")("center")),{ref:f,children:[j.jsx(c("MCDSHorizontalDivider.react"),{xstyle:c("mcdsMargin").vert16}),j.jsx("iframe",{frameBorder:"",height:"40",sandbox:"allow-scripts",scrolling:"no",src:"https://www.facebook.com/plugins/wearables_social_context",style:{marginTop:"8px"},width:"100%"})]})):null}a.displayName=a.name+" [from "+f.id+"]";function n(a,b){l(function(){var d=new(c("SecureMessageListener"))(window).setSupportedOrigins(a).setEventHandler(b);d.beginListening();return function(){d.stopListening()}},[a,b])}g["default"]=a}),98);
-----
ShopPDPUtils.react",["CometRouteParams","MDCAppStoreImpressionLoggingConstants","ProductStateUtils","ShopProductContext","react","requireDeferred","useMCDSVisibility","useMDCCommonLoggingParams","useMDCUrlAndReferrer"],(function(a,b,c,d,e,f,g){"use strict";var h;f=h||d("react");var i=f.useCallback,j=f.useContext,k=c("requireDeferred")("DollyListScrollEvent.log").__setRef("ShopPDPUtils.react"),l=["quest-2-charge-cable"];f=["rbm-charging-case","quest-1m-charging-cable"];function a(a,b){if(l.includes(a)){b=b.find(function(b){return b.productKey===a});if((b==null?void 0:b.inventory)==="out_of_stock")return"quest-1m-charging-cable"}return a}function b(){var a=d("CometRouteParams").useRouteParams(),b=c("useMDCUrlAndReferrer")(),e=b.referrer,f=b.url;b=j(c("ShopProductContext"));var g=b.products;b=function(){d("ProductStateUtils").buildAndFireProductStateLogger(g,a,e,f)};b=c("useMCDSVisibility")({onVisible:b,threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});b=b[0];return b}function e(){var a=c("useMDCCommonLoggingParams")(),b=a.module_order,d=babelHelpers.objectWithoutPropertiesLoose(a,["module_order"]);a=i(function(a){k.onReadyImmediately(function(c){return c.DollyListScrollEvent.log(babelHelpers["extends"]({},d,{module_order:Number((c=b)!=null?c:0),action:"click",direction:"next",placement:"buy_box",type:"horizontal_list",asset_url:a}))})},[d,b]);return a}var m=["Wayfarer","Headliner","Skyler"];g.fallback_skus=l;g.rbmAccessories=f;g.getFallbackProductIfUnavailable=a;g.useShopBuyBoxVisibilityRef=b;g.useShopBuyBoxSelectorLogging=e;g.RBMProductKeys=m}),98);
-----
MDCAIGlassesPDPBuyBoxRxCustomization.react",["fbt","CometRouteParams","DollyMarketingRBMPDPRxUnavailableMessaging.react","DollyMarketingRxAvailabilityContext","DollyMarketingRxBuyFlowDialog.entrypoint","MCDSDefaultLoadingDialog.react","MCDSFlexbox.react","MCDSGlimmer.react","MCDSHorizontalStack.react","MCDSIcon.react","MCDSIconPlusFilled.svg.react","MCDSIconPrescriptionRxOutline.svg.react","MCDSPressable.react","MCDSText.react","MCDSVerticalStack.react","MDCAIGlassesProductContext","MDCAIGlassesRxBuyFlowContext","MDCAppStoreImpressionLoggingConstants","MDCErrorBoundary.react","Placeholder.react","ProductStateUtils","QPLUserFlow","SHOPCategory","getJSEnumSafe","mcdsMargin","mcdsPadding","qpl","react","requireDeferred","useDollyMarketingSelectedNonRxProduct.react","useMCDSVisibility","useMDCAIGlassesPDPRxDataFetcher.react","useMDCCommonLoggingParams","useMDCStoreEntryPointModal"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useContext,l=c("requireDeferred")("DollyRxClickEvent.log").__setRef("MDCAIGlassesPDPBuyBoxRxCustomization.react"),m={wrapper:{borderTopWidth:"x178xt8z",borderEndWidth:"xm81vs4",borderBottomWidth:"xso031l",borderStartWidth:"xy80clv",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopStartRadius:"xfh8nwu",borderTopEndRadius:"xoqspk4",borderBottomEndRadius:"x12v9rci",borderBottomStartRadius:"x138vmkv",borderTopColor:"x79b4n4",borderEndColor:"x1lprzx0",borderBottomColor:"x1or4hh0",borderStartColor:"x5pxerh",":hover_borderTopColor":"xwnobx9",":hover_borderEndColor":"x1rvbcyl",":hover_borderBottomColor":"xm1z6dw",":hover_borderStartColor":"xclfq87",$$css:!0},icon:{color:"xjukama",$$css:!0},textGlimmer:{height:"x1v9usgg",width:"x13ie5k6",$$css:!0},atcGlimmer:{height:"x1qx5ct2",width:"x1useyqa",$$css:!0},iconGlimmer:{height:"x5kalc8",width:"x10h3iyq",$$css:!0},prescriptionLensBox:{boxSizing:"x9f619",minHeight:"x1ujl9rh",borderTopWidth:"x178xt8z",borderEndWidth:"xm81vs4",borderBottomWidth:"xso031l",borderStartWidth:"xy80clv",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopStartRadius:"xfh8nwu",borderTopEndRadius:"xoqspk4",borderBottomEndRadius:"x12v9rci",borderBottomStartRadius:"x138vmkv",borderTopColor:"x79b4n4",borderEndColor:"x1lprzx0",borderBottomColor:"x1or4hh0",borderStartColor:"x5pxerh",":hover_borderTopColor":"xwnobx9",":hover_borderEndColor":"x1rvbcyl",":hover_borderBottomColor":"xm1z6dw",":hover_borderStartColor":"xclfq87",display:"x78zum5",alignItems:"x6s0dn4",paddingTop:"xyamay9",paddingEnd:"x1pi30zi",paddingBottom:"x1l90r2v",paddingStart:"x1swvt13",$$css:!0},unavailable:{borderTopStartRadius:"xfh8nwu",borderTopEndRadius:"xoqspk4",borderBottomEndRadius:"x12v9rci",borderBottomStartRadius:"x138vmkv",$$css:!0}},n=c("qpl")._(452594239,"2911");function o(){var a;return j.jsx(c("MCDSPressable.react"),{isDisabled:!0,children:j.jsxs(c("MCDSFlexbox.react"),{justifyContent:"space-between",xstyle:m.prescriptionLensBox,children:[j.jsxs(c("MCDSHorizontalStack.react"),{gap:12,children:[j.jsx(a=c("MCDSGlimmer.react"),{xstyle:m.iconGlimmer}),j.jsxs(c("MCDSVerticalStack.react"),{gap:4,justifyContent:"center",children:[j.jsx(a,{xstyle:m.textGlimmer}),j.jsx(a,{xstyle:m.textGlimmer})]})]}),j.jsx(a,{xstyle:m.atcGlimmer})]})})}o.displayName=o.name+" [from "+f.id+"]";function p(a){a=a.nonRxProductInventory;var b=c("useMDCAIGlassesPDPRxDataFetcher.react")(),e=d("DollyMarketingRxAvailabilityContext").useDollyMarketingRxAvailabilityContext();e=e.setIsRxAvailable;var g=c("useMDCCommonLoggingParams")(),i=d("CometRouteParams").useRouteParams(),k=c("useDollyMarketingSelectedNonRxProduct.react")(),n=c("useMDCStoreEntryPointModal")(c("DollyMarketingRxBuyFlowDialog.entrypoint"),{},{},{fallback:c("MCDSDefaultLoadingDialog.react")}),o=n.modal,p=n.onHoverInPrerenderer,q=n.onHoverOutPrerenderer,r=n.showModal,s=function(){l.onReadyImmediately(function(a){return a.DollyRxClickEvent.log(babelHelpers["extends"]({},g,{category:"glasses",english_text:"customize prescription lens",type:"text",product_id:(a=b.frameProductID)!=null?a:"",placement:"buy_box",non_rx_sku:(a=k.sku)!=null?a:"",sku:(a=b.frameSKU)!=null?a:"",shop_category:(a=c("getJSEnumSafe")(c("SHOPCategory"),b.frameShopCategory))!=null?a:"SUPERNOVA_RX_FRAME"}))})};n=c("useMCDSVisibility")({onVisible:function(){var a;return d("ProductStateUtils").logRxProductState(b.frameProductInventoryStatus,i,g.referrer,(a=b.frameSKU)!=null?a:"",(a=k.sku)!=null?a:"",g.url,(a=c("getJSEnumSafe")(c("SHOPCategory"),b.frameShopCategory))!=null?a:"SUPERNOVA_RX_FRAME")},threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});n=n[0];var t=b.frameProductInventoryStatus;if(t!=="available"){e(!1);return t==null||t==="unavailable"||t==="out_of_stock"?j.jsx("div",{ref:n}):j.jsx("div",{ref:n,children:j.jsx(c("DollyMarketingRBMPDPRxUnavailableMessaging.react"),{nonRxProductInventory:a,xstyle:m.unavailable})})}e(!0);return j.jsxs(c("MDCAIGlassesRxBuyFlowContext").Provider,{value:b,children:[o,j.jsx(c("MCDSPressable.react"),{ref:n,onClick:function(){r(),s()},onHoverIn:p,onHoverOut:q,children:j.jsxs(c("MCDSHorizontalStack.react"),{alignItems:"center",justifyContent:"space-between",xstyle:[m.wrapper,c("mcdsPadding").all20],children:[j.jsxs(c("MCDSHorizontalStack.react"),{alignItems:"center",gap:12,children:[j.jsx(c("MCDSIcon.react"),{icon:c("MCDSIconPrescriptionRxOutline.svg.react"),size:32,xstyle:m.icon}),j.jsxs(c("MCDSVerticalStack.react"),{gap:2,children:[j.jsx(c("MCDSText.react"),{type:"mcds-small-body-emphasized",children:h._(/*BTDS*/"u6dfbu52a0u5ea6u6570")}),j.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:h._(/*BTDS*/"u5b9au5236u4f60u7684u955cu7247")})]})]}),j.jsxs(c("MCDSHorizontalStack.react"),{alignItems:"center",gap:2,xstyle:c("mcdsMargin").end4,children:[j.jsx(c("MCDSIcon.react"),{color:"secondary",icon:c("MCDSIconPlusFilled.svg.react"),isInline:!0,size:16}),j.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-label",children:h._(/*BTDS*/"u6dfbu52a0")})]})]})})]})}p.displayName=p.name+" [from "+f.id+"]";function a(){var a=k(c("MDCAIGlassesProductContext"));a=a.rxWrapForInteractionTracing;var b=c("useDollyMarketingSelectedNonRxProduct.react")(),d=b.inventory;b=Boolean(b==null?void 0:b.id);return!b?null:j.jsx(c("MDCErrorBoundary.react"),{description:"Rx entrypoint error",fallback:function(){return null},module:"MDCAIGlassesPDPBuyBoxRxCustomization",onError:function(a,b){c("QPLUserFlow").endFailure(n,b,{debugInfo:a.stack,annotations:{string:{error_message:a.message}}})},children:a(j.jsx(c("Placeholder.react"),{fallback:j.jsx(o,{}),children:j.jsx(p,{nonRxProductInventory:d})}))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MDCAIGlassesPDPBuyBox.react",["CometRouteParams","DollyStoreBuyOnMDCValueProp.react","MCDSVerticalStack.react","MDCAIGlassesPDPBuyBoxCTA.react","MDCAIGlassesPDPBuyBoxCustomization.react","MDCAIGlassesPDPBuyBoxHeader.react","MDCAIGlassesPDPBuyBoxStickyCTA.react","MDCAIGlassesProductContext","MDCAppStoreImpressionLoggingConstants","ProductStateUtils","mcdsHide","mcdsMargin","mcdsPadding","react","stylex","useMCDSVisibility","useMDCUrlAndReferrer"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useContext,l={wrapper:{boxSizing:"x9f619","@media (min-width: 1025px)_borderTopStartRadius":"x11h4pd3","@media (min-width: 1025px)_borderTopEndRadius":"x134d19q","@media (min-width: 1025px)_borderBottomEndRadius":"xcfyll7","@media (min-width: 1025px)_borderBottomStartRadius":"x65yayk","@media (min-width: 1025px)_borderTopWidth":"xskiz5k","@media (min-width: 1025px)_borderEndWidth":"xp7exnq","@media (min-width: 1025px)_borderBottomWidth":"xfbkj3e","@media (min-width: 1025px)_borderStartWidth":"x1k6anmg","@media (min-width: 1025px)_borderTopColor":"xyo5czu","@media (min-width: 1025px)_borderEndColor":"xtii0hh","@media (min-width: 1025px)_borderBottomColor":"x1p7uviz","@media (min-width: 1025px)_borderStartColor":"x157gr4q","@media (min-width: 1025px)_borderTopStyle":"xsmhqmm","@media (min-width: 1025px)_borderEndStyle":"x1b2fn4g","@media (min-width: 1025px)_borderBottomStyle":"x8gwuu5","@media (min-width: 1025px)_borderStartStyle":"xfpsc9b",$$css:!0}};function a(a){var b=a["data-testid"];b=a.isCondensed;b=b===void 0?!1:b;a=a.xstyle;var e=k(c("MDCAIGlassesProductContext")),f=e.isAvailableInCurrentCountry,g=e.products,i=d("CometRouteParams").useRouteParams();e=c("useMDCUrlAndReferrer")();var m=e.referrer,n=e.url;e=function(){d("ProductStateUtils").buildAndFireProductStateLogger(g,i,m,n)};e=c("useMCDSVisibility")({onVisible:e,threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});e=e[0];return j.jsxs(c("MCDSVerticalStack.react"),{"data-testid":void 0,gap:0,ref:e,xstyle:[a,l.wrapper,c("mcdsPadding").responsive({horiz:{desktop:20,mobile:0},vert:{desktop:24,mobile:0}})],children:[j.jsx("div",babelHelpers["extends"]({},(h||(h=c("stylex"))).props(c("mcdsHide").onMobile,c("mcdsHide").onTablet),{children:j.jsx(c("MDCAIGlassesPDPBuyBoxHeader.react"),{})})),f&&j.jsx("div",babelHelpers["extends"]({},(h||(h=c("stylex"))).props(c("mcdsMargin").responsive({top:{mobile:0,desktop:8}})),{children:j.jsx(c("MDCAIGlassesPDPBuyBoxCustomization.react"),{isBuyBoxCondensed:b})})),j.jsx("div",babelHelpers["extends"]({},h.props(c("mcdsMargin").top24,c("mcdsHide").onMobile,c("mcdsHide").onTablet),{children:j.jsx(c("MDCAIGlassesPDPBuyBoxCTA.react"),{})})),j.jsx("div",babelHelpers["extends"]({},h.props(c("mcdsHide").onDesktop),{children:j.jsx(c("MDCAIGlassesPDPBuyBoxStickyCTA.react"),{})})),f&&j.jsx("div",babelHelpers["extends"]({},(h||(h=c("stylex"))).props(c("mcdsMargin").top16,c("mcdsHide").onTablet),{children:j.jsx(c("DollyStoreBuyOnMDCValueProp.react"),{benefitIconToLabelSpacing:8,interBenefitSpacing:24})}))]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2SendGiftRecipientTypeaheadResult.react",["CometRelay","MCDSBaseTypeaheadItem.react","MDCAppStoreImpressionLoggingConstants","MDCAppStoreOculusImpressionsEventsLogging","MDCAppStoreV2SendGiftForm.react","MDCAppStoreV2SendGiftFormRecipient.react","react","useMCDSVisibility"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.entry,e=a.query;a=b.getAuxiliaryData();var f=d("MDCAppStoreOculusImpressionsEventsLogging").useMDCAppStoreOculusImpressionsLogging(),g=c("useMCDSVisibility")({onVisible:function(){f({content_id:b.getUniqueID(),component:"SendGiftRecipientTypeaheadResult",duration:0,surface:"STORE",subsurface:"PDP",search_query:e},"oculus_impressions_tile_vpved")},threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});g=g[0];a=d("CometRelay").useFragment(d("MDCAppStoreV2SendGiftForm.react").RECIPIENT_FRAGMENT,a.userRef);return i.jsx(c("MCDSBaseTypeaheadItem.react"),{"data-testid":void 0,ref:g,children:i.jsx(c("MDCAppStoreV2SendGiftFormRecipient.react"),{recipientRef:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
useMDCAppStoreV2SectionShelfLogging",["MDCAppStoreImpressionLoggingConstants","MDCAppStoreOculusImpressionEventsLoggingHooks","react","useDDSVisibility","useMDCAppStoreLogging"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect,j=500;function a(a,b){var e;b===void 0&&(b={threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD,duration:j,content_type:"MDCAppStoreSectionShelf",content_id:""});var f=(e=b.threshold)!=null?e:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD,g=b.content_id;e=(e=b.duration)!=null?e:j;b=(b=b.content_type)!=null?b:"MDCAppStoreSectionShelf";var h=e<0?0:e,k=d("MDCAppStoreOculusImpressionEventsLoggingHooks").useImpressionLogging(b);e=c("useDDSVisibility")({threshold:f});b=e[0];var l=e[1],m=a.index,n=a.sectionID,o=a.sectionShelfID,p=c("useMDCAppStoreLogging")("info");i(function(){l&&(k("oculus_impressions_shelf_vpved",{content_id:g!==""?g:o}),p("Skyline",{duration_in_ms:h,item_id:o,item_position:m,page:"store_section",pixel_in_percentage:Math.round(f*100),section_id:n,type:"oculus_skyline_viewport_visible_event"}))},[l,f,m,n,h,k,g,p,o]);i(function(){var a=Date.now();p("Skyline",{item_position:m,page:"store_section",section_id:n,type:"oculus_skyline_rendered_impression"});return function(){p("Skyline",{duration_in_ms:Date.now()-a,item_position:m,page:"store_section",section_id:n,type:"oculus_skyline_rendered_impression_duration"})}},[m,p,n]);return b}g["default"]=a}),98);
-----
MDCAppStoreImpressionLoggingConstants",[],(function(a,b,c,d,e,f){"use strict";a=.75;b=100;f.VISIBILITY_THRESHOLD=a;f.SECTION_IDX_MULTIPLIER=b}),66);
-----
useMDCAppStoreV2SectionItemLogging",["MDCAppStoreExploreLoggingAPI","MDCAppStoreGetFormattedIndex","MDCAppStoreImpressionLoggingConstants","MDCAppStoreLoggingAPI","MDCAppStoreOculusImpressionEventsLoggingHooks","asyncToGeneratorRuntime","react","useDDSVisibility"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect,j=500;function a(a,e,f){e===void 0&&(e=d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD);f===void 0&&(f=j);var g=f<0?0:f,h=d("MDCAppStoreOculusImpressionEventsLoggingHooks").useImpressionLogging("MDCAppStoreSectionItem");f=c("useDDSVisibility")({threshold:e});var k=f[0],l=f[1],m=a.index,n=a.rankingTraceID,o=a.sectionID,p=a.sectionItemID;i(function(){var a=null;l&&(h("oculus_impressions_tile_vpved",{content_id:p}),d("MDCAppStoreLoggingAPI").logInfo("Skyline",{duration_in_ms:g,item_id:p,item_position:m,page:"store_section",pixel_in_percentage:Math.round(e*100),section_id:o,type:"oculus_skyline_viewport_visible_event"}),a=window.setTimeout(b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a;yield d("MDCAppStoreExploreLoggingAPI").logTilesRendered([{index:d("MDCAppStoreGetFormattedIndex").getFormattedIndex(m),node_id:p,trace_id:(a=n)!=null?a:""}])}),g));return function(){window.clearTimeout(a)}},[l,e,m,n,o,p,g,h]);i(function(){var a=Date.now();d("MDCAppStoreLoggingAPI").logInfo("Skyline",{item_id:p,item_position:m,page:"store_section",section_id:o,type:"oculus_skyline_rendered_impression"});return function(){d("MDCAppStoreLoggingAPI").logInfo("Skyline",{duration_in_ms:Date.now()-a,item_id:p,item_position:m,page:"store_section",section_id:o,type:"oculus_skyline_rendered_impression_duration"})}},[m,o,p]);return k}g["default"]=a}),98);
-----
MDCAppStoreV2AppSearchTypeaheadResult.react",["fbt","DDSImage.react","DDSTypeaheadItem.react","MDCAppStoreAppEntitlement","MDCAppStoreImpressionLoggingConstants","MDCAppStoreOculusImpressionsEventsLogging","react","useDDSVisibility"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=42,l={image:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0}};function a(a){var b=a.entry,e=a.query,f=b.getAuxiliaryData();a=c("useDDSVisibility")({onVisible:function(){if(f.type!=="app")return;d("MDCAppStoreOculusImpressionsEventsLogging").logSingleImpressionsEvent({content_id:b.getUniqueID(),component:"TypeaheadSearchResult",duration:0,surface:"STORE",subsurface:"SEARCH",search_query:e},"oculus_impressions_tile_vpved")},threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});a=a[0];return j.jsx("div",{ref:a,children:j.jsx(c("DDSTypeaheadItem.react"),{"data-testid":void 0,icon:f.type==="app"?j.jsx(c("DDSImage.react"),{alt:"",intrinsicHeight:k,intrinsicWidth:k,src:(a=f.imageUri)!=null?a:"",variant:"src",xstyle:l.image}):void 0,label:b.getTitle(),subLabel:f.type==="app"&&f.entitlement!=null&&d("MDCAppStoreAppEntitlement").isActive(f.entitlement)?h._("Purchased"):b.getSubtitle()})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
useMDCAppStoreV2SectionItemLogging",["MDCAppStoreExploreLoggingAPI","MDCAppStoreGetFormattedIndex","MDCAppStoreImpressionLoggingConstants","MDCAppStoreLoggingAPI","MDCAppStoreOculusImpressionEventsLoggingHooks","asyncToGeneratorRuntime","react","useDDSVisibility"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect,j=500;function a(a,e,f){e===void 0&&(e=d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD);f===void 0&&(f=j);var g=f<0?0:f,h=d("MDCAppStoreOculusImpressionEventsLoggingHooks").useImpressionLogging("MDCAppStoreSectionItem");f=c("useDDSVisibility")({threshold:e});var k=f[0],l=f[1],m=a.index,n=a.rankingTraceID,o=a.sectionID,p=a.sectionItemID;i(function(){var a=null;l&&(h("oculus_impressions_tile_vpved",{content_id:p}),d("MDCAppStoreLoggingAPI").logInfo("Skyline",{duration_in_ms:g,item_id:p,item_position:m,page:"store_section",pixel_in_percentage:Math.round(e*100),section_id:o,type:"oculus_skyline_viewport_visible_event"}),a=window.setTimeout(b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a;yield d("MDCAppStoreExploreLoggingAPI").logTilesRendered([{index:d("MDCAppStoreGetFormattedIndex").getFormattedIndex(m),node_id:p,trace_id:(a=n)!=null?a:""}])}),g));return function(){window.clearTimeout(a)}},[l,e,m,n,o,p,g,h]);i(function(){var a=Date.now();d("MDCAppStoreLoggingAPI").logInfo("Skyline",{item_id:p,item_position:m,page:"store_section",section_id:o,type:"oculus_skyline_rendered_impression"});return function(){d("MDCAppStoreLoggingAPI").logInfo("Skyline",{duration_in_ms:Date.now()-a,item_id:p,item_position:m,page:"store_section",section_id:o,type:"oculus_skyline_rendered_impression_duration"})}},[m,o,p]);return k}g["default"]=a}),98);
-----
MDCAppStoreV2HomeCarouselItem.react",["fbt","DDSImage.react","DDSLink.react","MDCAppStoreImpressionLoggingConstants","MDCAppStoreRankingTraceQueryParamUtil","MDCAppStoreSkylineWebClientEventLogger","MDCAppStoreV2HomeCarouselItemDynamicTextOverlay.react","MDCAppStoreV2HomeCarouselItem_itemEdge.graphql","qex","react","react-relay","useDDSVisibility","useMDCAppStoreV2AppStoreItemLogging","useMDCAppStoreV2ShelfItemLink"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l={heroImage:{height:"x5yr21d",width:"xh8yej3",borderTopStartRadius:"x1lcm9me",borderTopEndRadius:"x1yr5g0i",borderBottomEndRadius:"xrt01vj",borderBottomStartRadius:"x10y3i5r",$$css:!0},heroImageLink:{height:"x5yr21d",width:"xh8yej3",position:"x10l6tqk",top:"x13vifvy",left:"xu96u03",start:null,end:null,$$css:!0},heroOverlayTextBackground:{borderTopStartRadius:"x1lcm9me",borderTopEndRadius:"x1yr5g0i",borderBottomEndRadius:"xrt01vj",borderBottomStartRadius:"x10y3i5r",backgroundColor:"x2izyaf",$$css:!0}};function a(a){var e=a.itemEdgeRef,f=a.position;a=d("react-relay").useFragment(i!==void 0?i:i=b("MDCAppStoreV2HomeCarouselItem_itemEdge.graphql"),e);var g=c("useMDCAppStoreV2AppStoreItemLogging")(a.node);e=c("useMDCAppStoreV2ShelfItemLink")(a.node);var j=a==null?void 0:a.ranking_trace,m=a==null?void 0:a.node,n=d("MDCAppStoreRankingTraceQueryParamUtil").maybeAddRankingTraceQueryStringToURI(e,j);a=c("useDDSVisibility")({onVisible:function(){var a;d("MDCAppStoreSkylineWebClientEventLogger").logClientEvent({event:"TILE_RENDERED",contentId:(a=m==null?void 0:m.id)!=null?a:"",trace:typeof j==="string"?j:"",position:f})},threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});e=a[0];a=(a=m==null?void 0:(a=m.hero_image)==null?void 0:a.uri)!=null?a:"";e=a!==""?k.jsx(c("DDSImage.react"),{alt:h._("Hero image"),objectFit:"cover",ref:e,src:a,variant:"src",xstyle:l.heroImage}):null;a=(m==null?void 0:m.collection_presentation)==="DYNAMIC_TEXT_OVERLAY"&&(m==null?void 0:m.display_name)!=null&&((a=c("qex")._("238"))!=null?a:!1);return e&&n!==""?k.jsxs(c("DDSLink.react"),{url:n,xstyle:[l.heroImageLink,a&&l.heroOverlayTextBackground],onClick:function(){g(n)},children:[e,a&&k.jsx(c("MDCAppStoreV2HomeCarouselItemDynamicTextOverlay.react"),{item:m})]}):e}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MDCAppStoreV2AppSearchTypeaheadResult.react",["fbt","DDSImage.react","DDSTypeaheadItem.react","MDCAppStoreAppEntitlement","MDCAppStoreImpressionLoggingConstants","MDCAppStoreOculusImpressionsEventsLogging","react","useDDSVisibility"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=48;function a(a){var b=a.entry,e=a.query,f=b.getAuxiliaryData();a=c("useDDSVisibility")({onVisible:function(){if(f.type!=="app")return;d("MDCAppStoreOculusImpressionsEventsLogging").logSingleImpressionsEvent({content_id:b.getUniqueID(),component:"TypeaheadSearchResult",duration:0,surface:"STORE",subsurface:"SEARCH",search_query:e},"oculus_impressions_tile_vpved")},threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});a=a[0];return j.jsx("div",{ref:a,children:j.jsx(c("DDSTypeaheadItem.react"),{category:b.getSubtitle(),"data-testid":void 0,description:f.type==="app"&&f.entitlement!=null&&d("MDCAppStoreAppEntitlement").isActive(f.entitlement)?h._("Purchased"):null,icon:f.type==="app"?j.jsx(c("DDSImage.react"),{alt:"",intrinsicHeight:k,intrinsicWidth:k,src:(a=f.imageUri)!=null?a:"",variant:"src"}):void 0,label:b.getTitle()})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MDCAppStoreAppSearchResult.react",["cx","fbt","MDCAppStoreAppEntitlement","MDCAppStoreImpressionLoggingConstants","MDCAppStoreLink.react","MDCAppStoreLoggingAPI","MDCAppStoreOCOnVisible.react","MDCAppStoreSkylineWebClientEventLogger","MDCAppStoreStoreAPI","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=d("react"),k=500,l=.6;a=function(a){babelHelpers.inheritsLoose(b,a);function b(){var b,c;for(var e=arguments.length,f=new Array(e),g=0;g=l?c.timeoutID==null&&(c.timeoutID=window.setTimeout(function(){c.clearTimeout(),d("MDCAppStoreLoggingAPI").logWaterfallEvent({flow:"app_search",progression:"auto",step:"viewport_view_event"},babelHelpers["extends"]({},b,{duration_in_ms:k,pixel_in_percentage:Math.round(l*100),referrer:"search_bar"}))},k)):c.clearTimeout()})},{threshold:l}),c.updateResultRef=function(a){a&&a instanceof HTMLDivElement?(c.resultRef=a,c.observer.observe(a)):c.resultRef&&(c.observer.unobserve(c.resultRef),c.resultRef=null)},c.resultRef=null,c.logTileRendered=function(){var a=c.props.loggingPayload;if(a.app_id!==null){var b=a.app_id,e=a.fallbackRankingTraceID,f=a.position;a=a.traceID;d("MDCAppStoreSkylineWebClientEventLogger").logClientEvent({event:"TILE_RENDERED",contentId:(b=b)!=null?b:"",trace:(a=(b=a)!=null?b:e)!=null?a:"",position:f})}},b)||babelHelpers.assertThisInitialized(c)}var e=b.prototype;e.clearTimeout=function(){this.timeoutID&&window.clearTimeout(this.timeoutID),this.timeoutID=null};e.componentDidMount=function(){var a=this.props.loggingPayload;this.renderTimestamp=Date.now();d("MDCAppStoreLoggingAPI").logWaterfallEvent({flow:"app_search",progression:"auto",step:"rendered_impression"},babelHelpers["extends"]({},a,{referrer:"search_bar"}))};e.componentWillUnmount=function(){var a=this.props.loggingPayload;this.observer.disconnect();this.clearTimeout();d("MDCAppStoreLoggingAPI").logWaterfallEvent({flow:"app_search",progression:"auto",step:"rendered_impression_duration"},babelHelpers["extends"]({},a,{duration_in_ms:Date.now()-this.renderTimestamp,referrer:"search_bar"}))};e.render=function(){var a=this;return j.jsx(c("MDCAppStoreOCOnVisible.react"),{threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD,onVisible:this.logTileRendered,children:function(b){return j.jsx("div",{ref:b,children:j.jsx("div",{ref:a.updateResultRef,children:a.props.children})})}})};return b}(j.PureComponent);b=function(a){babelHelpers.inheritsLoose(b,a);function b(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f-----
MDCAppStoreSectionCarouselItem.react",["cx","MDCAppStoreAssetConstants","MDCAppStoreImpressionLoggingConstants","MDCAppStoreOCOnVisible.react","MDCAppStoreSectionCarouselItem_item.graphql","MDCAppStoreSectionCarouselItem_tileAsset.graphql","MDCAppStoreSkylineWebClientEventLogger","MDCAppStoreStoreSectionItemLink.react","MDCAppStoreStoreSectionItemOverlay.react","react","react-relay"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l=d("react").useCallback;a=function(a){var b,e=a.animationDirection,f=a.item,g=a.orderName,h=a.position,i=a.sectionID,j=a.tileAsset,m=a.traceID,n=babelHelpers.objectWithoutPropertiesLoose(a,["animationDirection","item","orderName","position","sectionID","tileAsset","traceID"]);a=l(function(){var a;d("MDCAppStoreSkylineWebClientEventLogger").logClientEvent({event:"TILE_RENDERED",contentId:(a=f==null?void 0:f.id)!=null?a:"",trace:typeof m==="string"?m:"",position:h})},[f,m,h]);var o={backgroundImage:"url(""+encodeURI((b=f==null?void 0:(b=f.hero_image)==null?void 0:b.uri)!=null?b:"")+"")"},p=j&&j.name===d("MDCAppStoreAssetConstants").ASSET_NAMES.TILE_ANIMATION_GLINT,q="_anme"+(g==="previous"?" _anmg":"")+(g==="next"?" _anmh":"")+(g==="current"?" _anmf":"")+(g==="previous"&&e==="right"?" _anml":"")+(g==="next"&&e==="left"?" _anmk":"")+(g==="current"&&e==="right"?" _anmi":"")+(g==="current"&&e==="left"?" _anmj":"");return k.jsx(c("MDCAppStoreOCOnVisible.react"),{threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD,onVisible:a,children:function(a){return k.jsx(c("MDCAppStoreStoreSectionItemLink.react"),babelHelpers["extends"]({},n,{className:q,item:f,itemPosition:h,linkRef:a,parentSectionID:i,parentSectionLayout:"SKYLINE_SPOTLIGHT_FEATURED",parentSectionPosition:1,style:o,traceID:m,children:k.jsx(c("MDCAppStoreStoreSectionItemOverlay.react"),{hasGlint:p,isFeatured:!0,item:f,sectionLayout:"SKYLINE_SPOTLIGHT_FEATURED"})}))}})};e=d("react-relay").createFragmentContainer(a,{item:i!==void 0?i:i=b("MDCAppStoreSectionCarouselItem_item.graphql"),tileAsset:j!==void 0?j:j=b("MDCAppStoreSectionCarouselItem_tileAsset.graphql")});g["default"]=e}),98);
-----
MDCAppStoreSectionItem.react",["cx","MDCAppStoreAssetConstants","MDCAppStoreImpressionLoggingConstants","MDCAppStoreOCOnVisible.react","MDCAppStoreOculusImpressionEventsLoggingHooks","MDCAppStoreSectionItemTile.react","MDCAppStoreSectionItem_app.graphql","MDCAppStoreSectionItem_tileAsset.graphql","MDCAppStoreSkylineWebClientEventLogger","MDCAppStoreStoreSectionItemByline.react","RelayHooks","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l=d("react").useCallback;a=function(a){var b=d("RelayHooks").useFragment(m,a.app),e=d("RelayHooks").useFragment(n,a.tileAsset),f=a.isFeatured,g=a.isFeaturedTile,h=a.isPortraitTile,i=a.sectionID,j=a.sectionLayout,o=a.sectionPosition,p=a.tilePosition,q=a.traceID,r=d("MDCAppStoreOculusImpressionEventsLoggingHooks").useImpressionLogging("MDCAppStoreSectionItem");a=l(function(){var a;d("MDCAppStoreSkylineWebClientEventLogger").logClientEvent({event:"TILE_RENDERED",contentId:(a=b==null?void 0:b.id)!=null?a:"",trace:typeof q==="string"?q:"",position:(o-1)*d("MDCAppStoreImpressionLoggingConstants").SECTION_IDX_MULTIPLIER+p});r("oculus_impressions_tile_vpved",{content_id:b==null?void 0:b.id})},[b==null?void 0:b.id,r,o,p,q]);if(!b||b.id==null)return k.jsx(c("MDCAppStoreSectionItemTile.react"),{});var s=e!=null&&e.name===d("MDCAppStoreAssetConstants").ASSET_NAMES.TILE_ANIMATION_GLINT;e=k.jsx(c("MDCAppStoreStoreSectionItemByline.react"),{isFeatured:f,itemRef:b});return k.jsxs("div",{className:"_anhn",children:[k.jsx(c("MDCAppStoreOCOnVisible.react"),{threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD,onVisible:a,children:function(a){return k.jsx(c("MDCAppStoreSectionItemTile.react"),{hasGlint:s,isFeatured:f,isFeaturedTile:g,isPortraitTile:h,item:b,linkRef:a,sectionID:i,sectionLayout:j,sectionPosition:o,tilePosition:p,traceID:q})}}),!f&&b.should_overlay_title==null&&k.jsxs("div",{className:"_anho",children:[k.jsx("div",{className:"_anhp",children:b.display_name}),k.jsx("div",{className:"_anhq",children:e})]})]})};var m=i!==void 0?i:i=b("MDCAppStoreSectionItem_app.graphql"),n=j!==void 0?j:j=b("MDCAppStoreSectionItem_tileAsset.graphql");e=a;g["default"]=e}),98);
-----
MDCAppStoreImpressionLoggingConstants",[],(function(a,b,c,d,e,f){"use strict";a=.75;b=100;f.VISIBILITY_THRESHOLD=a;f.SECTION_IDX_MULTIPLIER=b}),66);
-----