define(["knockout","navigation"],function(e,t){var n;return{beforeAppear:function(){},cotizarClickLink:function(e){localStorage.clear();var e=e;localStorage.setItem("flow_id",Date.now()),localStorage.setItem("ocs_product_id",e.product().id()),localStorage.setItem("ocw_product_x_patente",e.product().id()),localStorage.setItem("ocw_product_x_Ubicacion_Fisica",e.product().product.x_Ubicacion_Fisica),localStorage.setItem("ocw_product_x_modelo",e.product().product.x_modelo),localStorage.setItem("ocw_product_x_cilindrada",e.product().product.x_cilindrada),localStorage.setItem("ocw_product_x_kilometraje",e.product().product.x_kilometraje),localStorage.setItem("ocw_product_x_transmision",e.product().product.x_transmision),localStorage.setItem("ocw_product_x_marca",e.product().product.x_marca),localStorage.setItem("ocw_product_x_combustible",e.product().product.x_combustible),localStorage.setItem("ocw_product_x_color",e.product().product.x_color),localStorage.setItem("ocw_product_x_tipo",e.product().product.x_tipo),localStorage.setItem("ocw_product_x_agno",e.product().product.x_agno),localStorage.setItem("ocw_product_brand",e.product().product.x_marca),localStorage.setItem("cotiPrimaryLargeImageURL",e.product().product.primaryLargeImageURL),localStorage.setItem("cotiPrimarySmallImageURL",e.product().product.primarySmallImageURL),localStorage.setItem("marca_modelo_auto",e.product().displayName()),localStorage.setItem("brand",e.product().brand());var n=e.product().displayName(),r=n.split(" "),i=r[0],s=n.replace(i,"");localStorage.setItem("modelo",e.product().x_modelo()),localStorage.setItem("version",e.product().x_version()),localStorage.setItem("patente",e.product().id()),localStorage.setItem("imagen",e.product().fullImageURLs()[0]),localStorage.setItem("agno",e.product().x_agno()),localStorage.setItem("kilometraje",e.product().x_kilometraje()),localStorage.setItem("combustible",e.product().x_combustible()),localStorage.setItem("transmision",e.product().x_transmision()),localStorage.setItem("pg_financiadoConvencional",e.product().allPrices().pg_financiadoConvencional),localStorage.setItem("montoDescuento",e.product().allPrices().montoDescuento),localStorage.setItem("pg_bonoDeMarca",e.product().allPrices().pg_bonoDeMarca),localStorage.setItem("pg_financiadoInteligenteBF",e.product().allPrices().pg_financiadoInteligenteBF),localStorage.setItem("pg_precioLista",e.product().allPrices().pg_precioLista),t.goTo("/cotizacion-autos-usados/"+e.product().id())},financiarClickLink:function(e){$(".btn-car-financing")[$(".btn-car-financing").length-1].click()},onLoad:function(e){}}})