useRxLensesDataFetcher",["CometRelay","FBLogger","processRxLensesData","react","useRxLensesDataFetcherQuery.graphql"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=(s||(s=o("react"))).useCallback,c=e!==void 0?e:e=n("useRxLensesDataFetcherQuery.graphql");function d(e,t){var n=o("CometRelay").useRelayEnvironment(),a=u(function(a,i){o("CometRelay").fetchQuery(n,c,{frameOfferID:a,siteType:i},{fetchPolicy:"store-or-network"}).subscribe({next:function(n){var t=n.xfb_dolly_marketing_rx_lenses_for_frame_offer,r=o("processRxLensesData").processRxLensesData(t);e(r)},error:(function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t})(function(e){r("FBLogger")("mdc_rx").catching(e).mustfix("Failed to fetch RX lenses data"),t==null||t(e)})})},[n,e,t]);return a}l.default=d}),98);
-----
useRxLensesDataFetcherQuery.graphql",["useRxLensesDataFetcherQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"frameOfferID"},{defaultValue:null,kind:"LocalArgument",name:"siteType"}],t=[{kind:"Variable",name:"frame_offer_id",variableName:"frameOfferID"},{kind:"Variable",name:"site_type",variableName:"siteType"}],r={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},o={alias:null,args:null,concreteType:"XSHSHOPRxLensMakeabilityRule",kind:"LinkedField",name:"makeability_rule",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"min_cyl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min_sph",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"min_add",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"max_cyl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"max_sph",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"max_add",storageKey:null}],storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"step_type",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"shop_category",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"formatted_amount",storageKey:null},s={alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"offer_price",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},l],storageKey:null},u={alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"sale_price",plural:!1,selections:[l],storageKey:null},c={alias:null,args:null,concreteType:"XSHLensOption",kind:"LinkedField",name:"if_is_lens_option",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_polarized",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hex_codes",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"transition_glass_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"localized_customer_facing_title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"localized_customer_facing_description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"internal_name",storageKey:null}],storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"useRxLensesDataFetcherQuery",selections:[{alias:null,args:t,concreteType:"XFBDollyMarketingSupernovaRxLensesData",kind:"LinkedField",name:"xfb_dolly_marketing_rx_lenses_for_frame_offer",plural:!1,selections:[{kind:"InlineDataFragmentSpread",name:"processRxLensesData_lensesFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"matched_rx_lenses",plural:!0,selections:[r,{alias:null,args:null,concreteType:"XSHSHOPProductRxData",kind:"LinkedField",name:"rx_data",plural:!1,selections:[o,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"prescription_lens_options",plural:!0,selections:[{alias:null,args:null,concreteType:"XSHLensOption",kind:"LinkedField",name:"if_is_lens_option",plural:!1,selections:[{alias:null,args:null,concreteType:"XSHSHOPRxOptionGroup",kind:"LinkedField",name:"option_group",plural:!1,selections:[a],storageKey:null}],storageKey:null},r],storageKey:null}],storageKey:null},i],storageKey:null},{alias:null,args:null,concreteType:"XSHSHOPRxOptionGroup",kind:"LinkedField",name:"lens_option_groups",plural:!0,selections:[r,a,{alias:null,args:null,concreteType:"XSHSHOPRxOptionGroupOptionsConnection",kind:"LinkedField",name:"options",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"valid_offer_from_product_for_site_at_time",plural:!1,selections:[r,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"valid_price_for_country_at_time",plural:!1,selections:[s,u],storageKey:null}],storageKey:null},r,c],storageKey:null}],storageKey:null}],storageKey:null}],args:null,argumentDefinitions:[]}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"useRxLensesDataFetcherQuery",selections:[{alias:null,args:t,concreteType:"XFBDollyMarketingSupernovaRxLensesData",kind:"LinkedField",name:"xfb_dolly_marketing_rx_lenses_for_frame_offer",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"matched_rx_lenses",plural:!0,selections:[d,r,{alias:null,args:null,concreteType:"XSHSHOPProductRxData",kind:"LinkedField",name:"rx_data",plural:!1,selections:[o,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"prescription_lens_options",plural:!0,selections:[d,{alias:null,args:null,concreteType:"XSHLensOption",kind:"LinkedField",name:"if_is_lens_option",plural:!1,selections:[{alias:null,args:null,concreteType:"XSHSHOPRxOptionGroup",kind:"LinkedField",name:"option_group",plural:!1,selections:[a,r],storageKey:null}],storageKey:null},r],storageKey:null}],storageKey:null},i],storageKey:null},{alias:null,args:null,concreteType:"XSHSHOPRxOptionGroup",kind:"LinkedField",name:"lens_option_groups",plural:!0,selections:[r,a,{alias:null,args:null,concreteType:"XSHSHOPRxOptionGroupOptionsConnection",kind:"LinkedField",name:"options",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[d,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"valid_offer_from_product_for_site_at_time",plural:!1,selections:[d,r,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"valid_price_for_country_at_time",plural:!1,selections:[d,s,u,r],storageKey:null}],storageKey:null},r,c],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:n("useRxLensesDataFetcherQuery_facebookRelayOperation"),metadata:{},name:"useRxLensesDataFetcherQuery",operationKind:"query",text:null}}})();a.exports=e}),null);
-----
useRxLensesDataFetcherQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24492179143817987"}),null);
-----