PageSourceSearch

https://www.vidilion.com/dist/wap/static/js/product.js?v=640

js vidilion.com collected 2026-10-06 18:43:03 UTC 173,362 bytes, 18 lines download raw bytes

1"use strict";(self["webpackChunkvue_front_shop"]=self["webpackChunkvue_front_shop"]||[]).push([[13018,42558,49229,42186,59651,39294,7734,86698],{32350:function(t,e,s){s.r(e),s.d(e,{default:function(){return G}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"row",attrs:{id:"buy-button-module"}},[e("div",{staticClass:"product-quantity"},[e("label",{staticClass:"name uppercase"},[t._v(" "+t._s(t.$L("Qty")))]),e("div",{staticClass:"input-box"},[e("el-input-number",{staticClass:"input",attrs:{min:t.LimitedMinNumber,max:t.LimitedStock?t.selectedProduct.qty:99999999999},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t.clientIsPhone||1!==t.card.params.addToCArd_show||1!==t.product.availability||1!=t.product.status||2!=t.glassesProductInfo.button_type&&1!=t.glassesProductInfo.button_type?t._e():e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.addCartLoading,expression:"addCartLoading"}],staticClass:"glasses-add-box add-to-cart",staticStyle:{width:"100%"},on:{click:t.addToCart}},[e("div",{staticClass:"glasses-add-button t-minor-button fec-btn t-minor-button-hover uppercase"},[t._v(" "+t._s(t.$L("Add_to_cart"))+" ")])])],1)]),1===t.product.availability&&1==t.product.status?[e("div",{staticClass:"margin-top-btn"},[t.clientIsPhone||1!==t.card.params.addToCArd_show||1!=t.glassesProductInfo.button_type&&2!=t.glassesProductInfo.button_type?t._e():e("div",{staticClass:"add-to-cart-2 col-md-12",on:{click:t.addToCart}},[e("div",{staticClass:"t-minor-button margin-bottom-btn fec-btn uppercase"},[t._v(t._s(t.$L("Add_to_cart")))])]),t.clientIsPhone||1!==t.card.params.buyNow_show||2!=t.glassesProductInfo.button_type&&3!=t.glassesProductInfo.button_type?t._e():e("div",{staticClass:"col-md-12",on:{click:t.showLensesDialog}},[e("div",{staticClass:"t-primary-button margin-bottom-btn t-primary-button-hover fec-btn"},[e("span",{staticClass:"uppercase"},[t._v(t._s(t.$L("select_lenses")))])])]),!t.clientIsPhone&&1===t.card.params.buyNow_show&&t.glassesShowButton?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.buyNoLoading,expression:"buyNoLoading"}],staticClass:"col-md-12",on:{click:t.buyNowProduct}},[e("div",{staticClass:"t-primary-button margin-bottom-btn t-primary-button-hover fec-btn uppercase"},[t._v(t._s(t.$L("Buy_now"))+" ")])]):t._e()])]:e("div",[e("div",{staticClass:"col-md-3 fec-btn soldOut uppercase"},[t._v(" "+t._s(t.$L("Sold_out")))])]),t.PayPalShow&&t.glassesShowButton?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.PayPalLoading,expression:"PayPalLoading"}],staticClass:"col-md-12"},[e("div",{attrs:{id:"paypal-button-container"}})]):t._e(),e("GlassesStepSelect",{ref:"GlassesStepSelect",attrs:{product:t.product,glassesProductInfo:t.glassesProductInfo,attrStepInfo:t.attrStepInfo,"append-to-body":t.appendToBody,selectedProduct:t.selectedProduct},on:{confirm:t.selectConfirm}}),t.clientIsPhone&&1===t.product.availability&&1==t.product.status?e("glassesFixedCart",{ref:"glassesFixedCart",attrs:{showAddCart:1===t.card.params.addToCArd_show&&(1==t.glassesProductInfo.button_type||2==t.glassesProductInfo.button_type),showBuyNow:1===t.card.params.buyNow_show&&(2==t.glassesProductInfo.button_type||3==t.glassesProductInfo.button_type),showBottomBar:t.showBottomBar},on:{addToCart:t.addToCart,showLensesDialog:t.showLensesDialog}}):t._e()],2)},o=[],r=function(){var t=this,e=t._self._c;return t.showAddCart||t.showBuyNow?e("div",{staticClass:"fixed-cart-addon glasses-add-box",class:{active:t.showBottomBar},attrs:{id:"glasses-fixed-cart"}},[e("div",{staticClass:"style-box",style:[t.background]},[t.showAddCart?e("div",{staticClass:"glasses-add-button button-bottom left uppercase t-minor-button",on:{click:t.clickAddButton}},[t._v(" "+t._s(t.$L("Add_to_cart"))+" ")]):t._e(),t.showBuyNow?e("div",{staticClass:"button-bottom select-lenses right fec-btn t-primary-button uppercase",on:{click:t.clickBarButton}},[t._v(" "+t._s(t.$L("select_lenses"))+" ")]):t._e()])]):t._e()},a=[],n={name:"glassesFixedCart",props:{showBottomBar:{type:Boolean,default:!0},showAddCart:{type:Boolean,default:!1},showBuyNow:{type:Boolean,default:!1}},computed:{button_select_lenses(){return{color:"#fff",background:"#C65C8",border:"1px solid #3C65C8"}},background(){return{background:"#ffffff"}}
1,buttonBackground(){return{background:"#FF5A00"}},buttonColor(){return{color:"#ffffff"}},borderColor(){return{border:"1px solid #d9d9d9}"}},attributeColor(){return{color:"#939393"}},other_text(){return"#212b36"}},data(){return{qtyValue:1,timeTemp:null,selectOptionsList:[]}},created(){},methods:{clickAddButton(){this.$emit("addToCart")},clickBarButton(){this.$emit("showLensesDialog")}},mounted(){this.product,this.selectProduct}},c=n,l=s(1001),u=(0,l.Z)(c,r,a,!1,null,"68851b55",null),d=u.exports,p=s(57186),h=function(){var t=this,e=t._self._c;return e("div",{staticClass:"fec-dialog"},[1==t.glassesModel?e("modelDialog1",{ref:"modelDialog1",attrs:{selectedProduct:t.selectedProduct,attrStepInfo:t.attrStepInfo,product:t.product,"append-to-body":t.appendToBody,glassesProductInfo:t.glassesProductInfo},on:{confirm:t.confirm}}):t._e(),2==t.glassesModel?e("modelDialog2",{ref:"modelDialog2",attrs:{selectedProduct:t.selectedProduct,attrStepInfo:t.attrStepInfo,"append-to-body":t.appendToBody,product:t.product,glassesProductInfo:t.glassesProductInfo},on:{confirm:t.confirm}}):t._e(),3==t.glassesModel?e("modelDialog3",{ref:"modelDialog3",attrs:{selectedProduct:t.selectedProduct,attrStepInfo:t.attrStepInfo,"append-to-body":t.appendToBody,product:t.product,glassesProductInfo:t.glassesProductInfo},on:{confirm:t.confirm}}):t._e()],1)},m=[],g=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{"append-to-body":t.appendToBody,fullscreen:"","show-close":!1,visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("div",[e("div",{staticClass:"content-box"},[t.currentStep<3||7===t.currentStep?e("div",{staticClass:"left-box"},[e("div",{staticClass:"logo-top"},[e("logoImg")],1),e("div",{staticClass:"view-img"},[t.selectedProduct.image&&t.selectedProduct.image.length?e("img",{attrs:{src:t.$media(t.selectedProduct.image),alt:""}}):e("img",{attrs:{src:t.$media(t.product.images[0].src),alt:""}})])]):t._e(),e("div",{staticClass:"right-box"},[e("div",{staticClass:"right-content",class:{"width-auto":t.currentStep>2&&7!==t.currentStep}},[e("div",{staticClass:"header-box"},[t.currentStep>1?e("div",{staticClass:"back-css",on:{click:t.backStep}},[e("span",{staticClass:"uppercase"},[e("i",{staticClass:"el-icon-back"}),t._v(" "),e("span",{staticClass:"uppercase"},[t._v(t._s(t.$L("go_back")))])])]):e("div"),e("i",{staticClass:"close el-icon-close",on:{click:t.closeDialog}})]),e("div",{staticClass:"step-box"},t._l(7,(function(s){return e("div",{key:s,staticClass:"item",class:[t.currentStep>=s?"active":""]})})),0),1===t.currentStep?e("step1",{attrs:{selectStepKey:t.selectStepKey,item:t.itemStepInfo[t.mapType[1]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e(),2===t.currentStep?e("step2",{attrs:{glassesProductInfo:t.glassesProductInfo,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[2]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e(),3===t.currentStep?e("step3",{attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[3]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e(),4===t.currentStep?e("step4",{attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,totalPrices:t.totalPrices,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[4]]},on:{continueStep:t.continueStep}}):t._e(),5===t.currentStep&&5===t.step5ShowInfo?e("step5_1",{attrs:{glassesProductInfo:t.glassesProductInfo,totalPrices:t.totalPrices,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[5]]},on:{continueStep:t.continueStep}}):t._e(),5===t.currentStep&&6===t.step5ShowInfo?e("step5_2",{attrs:{glassesProductInfo:t.glassesProductInfo,totalPrices:t.totalPrices,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[6]]},on:{continueStep:t.continueStep}}):t._e(),6===t.currentStep?e("step6",{attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[7]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e(),7===t.currentStep?e("step7",{attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[8]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e()],1)])])])])},_=[],f=function(){var t=this,e=t._self._c;return e("div",{staticClass:"logo-box",style:{"max-height":t.height+"px"}},[t.imgError?e("div",{staticClass:"txt"},[t._v(t._s(t.defaultSiteName))]):e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"logo",style:{"max-height":t.height+"px"},attrs:{src:t.$media(t.defaultLogo.logo),alt:""},on:{error:t.logoError}})])},v=[],y={name:"logoImg",props:{height:{default:40}},data(){return{imgError:!1}},created(){},computed:{defaultLogo(){return window.baseData?window.baseData.shop_logo:this.$store.state.decorate.baseData.shop_logo},defaultSiteName(){return window.baseData?window.baseData.site_name:this.$store.state.decorate.baseData.site_name}}
1,methods:{logoError(t){this.imgError=!0}}},b=y,C=(0,l.Z)(b,f,v,!1,null,"07b959d2",null),w=C.exports,A=s(85444),S={name:"modelDialog1",props:{appendToBody:{default:!1},selectedProduct:{type:Object},product:{type:Object},attrStepInfo:{type:Array},glassesProductInfo:{type:Object}},data(){return{onceSet:!0,dialogVisible:!1,currentStep:1,step5ShowInfo:5,totalPrices:"",priceItem:{},mapType:{glasses_type:1,prescription:2,lens_level:3,lens_color_type:4,lens_refractive_index:5,lens_color_info:6,lens_coating:7,lens_note:8,1:"glasses_type",2:"prescription",3:"lens_level",4:"lens_color_type",5:"lens_refractive_index",6:"lens_color_info",7:"lens_coating",8:"lens_note"},selectStepKey:[],itemStepInfo:{},glasses_customize:{}}},components:{logoImg:w,step1:()=>s.e(32650).then(s.bind(s,32650)),step2:()=>Promise.all([s.e(35407),s.e(75939)]).then(s.bind(s,79895)),step3:()=>s.e(12919).then(s.bind(s,12919)),step4:()=>s.e(7454).then(s.bind(s,7454)),step5_1:()=>s.e(90694).then(s.bind(s,90694)),step5_2:()=>s.e(29386).then(s.bind(s,29386)),step6:()=>s.e(47629).then(s.bind(s,47629)),step7:()=>s.e(59192).then(s.bind(s,59192))},created(){},watch:{attrStepInfo:{handler(t){t&&this.onceSet&&(this.onceSet=!1,this.selectStepKey=new Array(7),this.filterStepInfo(t))},deep:!0}},methods:{continueStep(t){let{item:e,step:s}=t;this.product.price,e.price,e.price&&this.getTotalPrice(e,s);let i="",o="";if("5.1"===s||"5.2"===s?(i=5,"5.1"===s&&(o=this.mapType[5],this.selectStepKey[4]=e.key),"5.2"===s&&(o=this.mapType[6],this.selectStepKey[5]=e.key)):7===s?(i=6,o=this.mapType[7],this.selectStepKey[5]=e.key):(i=s,this.selectStepKey[i-1]=e.key,o=this.mapType[i]),this.glasses_customize[o]=e,8===s)return this.$emit("confirm",{glasses_customize:this.glasses_customize}),void this.init();"no_prescription"===e.key?(this.currentStep=3,delete this.glasses_customize[this.mapType[2]]):this.currentStep=Number(i)+1,4===i&&("color"===e.key?this.step5ShowInfo=6:this.step5ShowInfo=5),this.glasses_customize},getTotalPrice(t,e){this.priceItem[e]=t.price;let s=0;for(let i in this.priceItem)s=(0,A.p4)(s,this.priceItem[i]);this.totalPrices=(0,A.p4)(this.product.price,s)},init(){this.currentStep=1,this.dialogVisible=!1,this.glasses_customize={},this.selectStepKey=[]},backStep(){this.glasses_customize,this.selectStepKey,this.glasses_customize.glasses_type&&"no_prescription"===this.glasses_customize.glasses_type.key&&3===this.currentStep?this.currentStep=1:this.currentStep--,this.selectStepKey.splice(this.currentStep,1,"")},filterStepInfo(t){t.forEach((t=>{this.itemStepInfo[t.type]=t}))},closeDialog(){this.dialogVisible=!1},show(t){this.onceSet&&(this.onceSet=!1,this.selectStepKey=new Array(7),this.filterStepInfo(t)),this.currentStep=1,this.dialogVisible=!this.dialogVisible,this.totalPrices||(this.totalPrices=this.product.price)}}},I=S,P=(0,l.Z)(I,g,_,!1,null,"2deab148",null),k=P.exports,B=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{"append-to-body":t.appendToBody,fullscreen:"","custom-class":"model-dialog-glasses-2","show-close":!1,visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("div",[e("div",{staticClass:"content-box",class:{bg:2===t.currentStep}},[e("div",{staticClass:"header-box"},[e("div",{staticClass:"icon-box"},[t.currentStep>1?e("div",{staticClass:"back-css",on:{click:t.backStep}},[e("i",{staticClass:"el-icon-arrow-left"})]):e("div"),e("i",{staticClass:"close el-icon-close",on:{click:t.closeDialog}})]),e("div",{staticClass:"step-box"},[t._l(7,(function(s){return[e("div",{key:s,staticClass:"item"},[t.currentStep<s?e("i",{staticClass:"iconfont icon-weixuanzhong"}):t._e(),t.currentStep===s?e("i",{staticClass:"active iconfont icon-xuanzhong"}):t._e(),t.currentStep>s?e("i",{staticClass:"active iconfont icon-xuanzhong2",staticStyle:{"font-weight":"400"}}):t._e(),s<7?e("i",{staticClass:"line"}):t._e()])]}))],2)]),e("div",{staticClass:"card-item",class:{"width-auto":t.currentStep>2&&7!==t.currentStep}},[1==t.currentStep?e("step1",{attrs:{selectStepKey:t.selectStepKey,item:t.itemStepInfo[t.mapType[1]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e(),2==t.currentStep?e("step2",{ref:"step2",attrs:{glassesProductInfo:t.glassesProductInfo,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[2]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e(),3===t.currentStep?e("step3",{ref:"step3",attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[3]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep,currentSelect:t.currentSelect}}):t._e(),4===t.currentStep?e("step4",{ref:"step4",attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,totalPrices:t.totalPrices,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[4]]},on:{continueStep:t.continueStep,currentSelect:t.currentSelect}}):t._e(),5===t.currentStep?e("step5",{ref:"step5",attrs:{glassesProductInfo:t.glassesProductInfo,totalPrices:t.totalPrices,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[5]]},on:{continueStep:t.continueStep,currentSelect:t.currentSelect}}):t._e(),6===t.currentStep?e("step6",{ref:"step6",attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[6]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep,currentSelect:t.currentSelect}}):t._e(),7===t.currentStep?e("step7",{ref:"step7",attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo[t.mapType[7]],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e()],1),e("div",{staticClass:"footer-box",class:{center:1===t.currentStep}},[e("div",{staticClass:"flex flex-align-center"},[e("div",{staticClass:"view-img"},[t.selectedProduct.image&&t.selectedProduct.image.length?e("img",{attrs:{src:t.$media(t.selectedProduct.image),alt:""}}):e("img",{attrs:{src:t.$media(t.product.images[0].src),alt:""}})]),e("div",{staticClass:"total-price",class:{column:t.currentStep>1}},[e("i",{staticClass:"uppercase"},[t._v(t._s(t.$L("Subtotal")))]),e("span",{domProps:{innerHTML:t._s(t.$currencyConversion(t.$money,t.$Price(t.totalPrices)))}})])]),2===t.currentStep?e("div",{staticClass:"submit-box pointer uppercase",on:{click:t.clickShowConfirmDialog}},[e("span",{staticClass:"uppercase"},[t._v(" "+t._s(t.$L("glasses_submit")))])]):t._e(),t.currentStep>=3&&t.currentStep<7?e("div",{staticClass:"submit-box-next pointer uppercase",class:{disabled:!t.submitButtonDisabled},on:{click:t.clickNextFooterButton}},[e("span",{staticClass:"uppercase"},[t._v(" "+t._s(t.$L("glasses_next")))])]):t._e(),7===t.currentStep?e("div",{staticClass:"submit-box-next pointer uppercase",on:{click:t.clickAddToCard}},[e("span",{staticClass:"uppercase"},[t._v(" "+t._s(t.$L("Add_to_cart")))])]):t._e()])])]),e("el-dialog",{attrs:{"a
1ppend-to-body":!0,"custom-class":"step2-dialog-confirm",visible:t.step2Dialog},on:{"update:visible":function(e){t.step2Dialog=e}}},[e("div",{staticClass:"content-box"},[e("div",{staticClass:"title"},[t._v(t._s(t.$L("fits_your_prescription"))+"?")]),e("div",{staticClass:"msg"},[e("p",[t._v(" "+t._s(t.$L("sph_tip1")))]),e("p",[t._v(" "+t._s(t.$L("sph_tip2")))])]),t.glasses_customize.prescription?e("div",{staticClass:"table-box"},[e("div",{staticClass:"table-header-box"},[e("span"),e("span",[t._v("SPH")]),e("span",[t._v("CYL")]),e("span",[t._v("Axis")]),e("span",[t._v("ADD")])]),e("div",{staticClass:"body-box"},[e("span",[t._v("OD")]),e("span",[t._v(t._s(t.glasses_customize.prescription.right_sph||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.right_cyl||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.right_axis||"-"))]),"progressive"===t.glasses_customize.glasses_type.key?e("span",[t._v(t._s(t.glasses_customize.prescription.right_add||"-"))]):e("span",[t._v("-")])]),e("div",{staticClass:"body-box"},[e("span",[t._v("OS")]),e("span",[t._v(t._s(t.glasses_customize.prescription.left_sph||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.left_cyl||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.left_axis||"-"))]),"progressive"===t.glasses_customize.glasses_type.key?e("span",[t._v(t._s(t.glasses_customize.prescription.left_add||"-"))]):e("span",[t._v("-")])]),e("div",{staticClass:"body-box"},[e("span",[t._v("PD")]),e("span",{staticClass:"pd"},[1===t.glasses_customize.prescription.pd_type?e("div",[[t._v(t._s(t.glasses_customize.prescription.pd_one||"-"))]],2):t._e(),2===t.glasses_customize.prescription.pd_type?e("div",{staticStyle:{"margin-right":"25px"}},[t._v(" "+t._s(t.glasses_customize.prescription.pd_two_right)),e("i",[t._v("(OD)")])]):t._e(),2===t.glasses_customize.prescription.pd_type?e("div",[t._v(" "+t._s(t.glasses_customize.prescription.pd_two_left)),e("i",[t._v("(OS)")])]):t._e()])]),1===t.glasses_customize.prescription.add_prism?[e("div",{staticClass:"table-header-box"},[e("span"),e("span",[t._v(" "+t._s(t.$L("prism_horizontal"))+" ")]),e("span",[t._v(" "+t._s(t.$L("base_direction"))+" ")]),e("span",[t._v(" "+t._s(t.$L("prism_vertical"))+" ")]),e("span",[t._v(" "+t._s(t.$L("base_direction"))+" ")])]),e("div",{staticClass:"body-box"},[e("span",[t._v("OD")]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.right_prism_horizontal||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.right_base_direction||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.right_prism_vertical||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.right_base_direction2||"-"))])]),e("div",{staticClass:"body-box"},[e("span",[t._v("OS")]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.left_prism_horizontal||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.left_base_direction||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.left_prism_vertical||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.left_base_direction2||"-"))])])]:t._e()],2):t._e()]),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticClass:"left button",on:{click:function(e){t.step2Dialog=!1}}},[e("div",{staticClass:"uppercase"},[t._v(t._s(t.$L("glasses_edit")))])]),e("el-button",{staticClass:"right button uppercase",attrs:{type:"primary"},on:{click:t.clickConfirmDialog}},[e("div",{staticClass:"uppercase"},[t._v(t._s(t.$L("glasses_confirm")))])])],1)])],1)},x=[],D={name:"modelDialog2",props:{appendToBody:{default:!1},selectedProduct:{type:Object},product:{type:Object},attrStepInfo:{type:Array},glassesProductInfo:{type:Object}},data(){return{step2Dialog:!1,onceSet:!0,dialogVisible:!1,currentStep:1,submitButtonDisabled:!1,totalPrices:"",priceItem:{},mapType:{glasses_type:1,prescription:2,material:3,function:4,lens_refractive_index_2:5,multi_focus:6,lens_note:7,1:"glasses_type",2:"prescription",3:"material",4:"function",5:"lens_refractive_index_2",6:"multi_focu
1s",7:"lens_note"},selectStepKey:[],currentTempSelect:{},itemStepInfo:{},glasses_customize:{}}},components:{logoImg:w,step1:()=>Promise.all([s.e(98205),s.e(58095),s.e(22497),s.e(85232)]).then(s.bind(s,43827)),step2:()=>Promise.all([s.e(35407),s.e(2518)]).then(s.bind(s,68709)),step3:()=>Promise.all([s.e(98205),s.e(58095),s.e(22497),s.e(74430)]).then(s.bind(s,1510)),step4:()=>Promise.all([s.e(98205),s.e(58095),s.e(22497),s.e(13725)]).then(s.bind(s,59863)),step5:()=>Promise.all([s.e(98205),s.e(58095),s.e(22497),s.e(3669)]).then(s.bind(s,50373)),step6:()=>Promise.all([s.e(98205),s.e(58095),s.e(22497),s.e(7108)]).then(s.bind(s,62490)),step7:()=>s.e(18017).then(s.bind(s,18017))},created(){},methods:{clickConfirmDialog(){this.step2Dialog=!1;let t={item:this.glasses_customize.prescription||{},step:2,model:2};this.continueStep(t)},clickShowConfirmDialog(){let t=this.$refs["step2"].continueStep();if(!t)return;let e="",s="";e=t.step,this.selectStepKey[e-1]=t.item.key,s=this.mapType[e],this.glasses_customize[s]=t.item,2!==t.item.prescription_type?this.step2Dialog=!0:this.clickConfirmDialog()},clickNextFooterButton(){this.submitButtonDisabled&&this.continueStep(this.currentTempSelect)},clickAddToCard(){7===this.currentStep&&this.$refs["step7"].continueStep()},currentSelect(t){let{item:e,step:s}=t;this.selectStepKey[s-1]=e.key,this.selectStepKey.splice(),this.currentTempSelect={item:e,step:s},this.submitButtonDisabled=!0;let i=s,o=this.mapType[i];this.glasses_customize[o]=e,this.getTotalPrice(),this.selectStepKey},continueStep(t){let{item:e,step:s}=t;this.$log("当前步骤",e,s),this.product.price,e.price,e.price&&this.getTotalPrice(e,s);let i="",o="";if(i=s,this.selectStepKey[i-1]=e.key,o=this.mapType[i],this.glasses_customize[o]=e,this.glasses_customize,7===s)return this.$emit("confirm",{glasses_customize:this.glasses_customize}),void this.init();if("no_prescription"===e.key)this.currentStep=3,delete this.glasses_customize[this.mapType[2]];else if(3===s){let t=this.glasses_customize.material.key,e=this.glasses_customize.glasses_type.key;this.currentStep="glass"===t&&"progressive"===e?5:4}else if(5===s){let t=this.glasses_customize.glasses_type.key;"progressive"===t?(this.currentStep=6,this.submitButtonDisabled=!1):this.currentStep=7}else if(4===s){this.glasses_customize;let t=this.glasses_customize.material.key,e=this.glasses_customize.glasses_type.key;this.submitButtonDisabled=!1,"CR-39"===t||"MR-8"===t?this.currentStep="no_prescription"===e?7:5:"glass"===t?"no_prescription"===e?this.currentStep=7:"progressive"===e?(this.submitButtonDisabled=!1,this.currentStep=6):this.currentStep=5:"crystal"===t?this.currentStep=7:(this.submitButtonDisabled=!1,this.currentStep=5)}else{this.currentStep=Number(i)+1;let t=this.mapType[Number(i)+1];s>1?this.glasses_customize[t]&&this.glasses_customize[t].key?this.submitButtonDisabled=!0:this.submitButtonDisabled=!1:1===s&&(this.submitButtonDisabled=!1)}this.glasses_customize},getTotalPrice(){let t=0;for(let e in this.glasses_customize)this.glasses_customize[e],this.glasses_customize[e]&&this.glasses_customize[e].price&&(t=(0,A.p4)(t,this.glasses_customize[e].price));this.totalPrices=(0,A.p4)(this.product.price,t)},init(){this.currentStep=1,this.dialogVisible=!1,this.glasses_customize={},this.selectStepKey=[],this.submitButtonDisabled=!1},backStep(){if(this.submitButtonDisabled=!0,this.glasses_customize,this.selectStepKey,this.currentStep,this.currentStep>2&&this.currentStep<=7){let t=this.mapType[this.currentStep];this.glasses_customize[t]={}}if(7===this.currentStep){this.glasses_customize.material.key;let t=this.glasses_customize.glasses_type.key;"progressive"===t?this.currentStep=6:this.glasses_customize.lens_refractive_index_2&&this.glasses_customize.lens_refractive_index_2.key?this.currentStep=5:this.currentStep=4}else 6===this.currentStep?this.glasses_customize.lens_refractive_index_2&&this.glasses_customize.lens_refractive_index_2.key?this.currentStep--:this.currentStep=4:this.glasses_customize.glasses_type&&"no_prescription"===this.glasses_customize.glasses_type.key&&3===this.currentStep?this.currentStep=1:this.currentStep--;this.selectStepKey.splice(this.currentStep,1,""),this.currentStep,this.getTotalPrice()},filterStepInfo(t){t.forEach((t=>{this.itemStepInfo[t.type]=t}))},closeDialog(){this.dialogVisible=!1},show(t){this.onceSet&&(this.onceSet=!1,this.selectStepKey=new Array(7),this.filterStepInfo(t)),this.currentStep=1,this.dialogVisible=!this.dialogVisible,this.totalPrices||(this.totalPrices=this.product.price)}}},T=D,L=(0,l.Z)(T,B,x,!1,null,"40c9d093",null),z=L.exports,O=function(){var t=this,e=t._self._c;
1return e("el-dialog",{attrs:{"append-to-body":t.appendToBody,fullscreen:"","custom-class":"model-dialog-glasses-3","show-close":!1,visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("div",[e("div",{staticClass:"content-box",class:{bg:2===t.currentStep}},[e("div",{staticClass:"header-box"},[e("div",{staticClass:"icon-box"},[t.currentStep>1?e("div",{staticClass:"back-css",on:{click:t.backStep}},[e("i",{staticClass:"el-icon-arrow-left"})]):e("div"),e("i",{staticClass:"close el-icon-close",on:{click:t.closeDialog}})]),e("div",{staticClass:"step-box"},[t._l(5,(function(s){return[e("div",{key:s,staticClass:"item"},[t.currentStep<s?e("i",{staticClass:"iconfont icon-weixuanzhong"}):t._e(),t.currentStep===s?e("i",{staticClass:"active iconfont icon-xuanzhong"}):t._e(),t.currentStep>s?e("i",{staticClass:"active iconfont icon-xuanzhong2",staticStyle:{"font-weight":"400"}}):t._e(),s<5?e("i",{staticClass:"line"}):t._e()])]}))],2)]),e("div",{staticClass:"card-item",class:{"width-auto":t.currentStep>2&&7!==t.currentStep}},[1==t.currentStep?e("step1",{attrs:{selectStepKey:t.selectStepKey,item:t.itemStepInfo["glasses_type"],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e(),2==t.currentStep?e("step2",{ref:"step2",attrs:{glassesProductInfo:t.glassesProductInfo,glasses_customize:t.glasses_customize,item:t.itemStepInfo["prescription"],totalPrices:t.totalPrices},on:{currentSelect:t.currentSelect,continueStep:t.continueStep}}):t._e(),3==t.currentStep?e("step3",{ref:"step3",attrs:{glassesProductInfo:t.glassesProductInfo,glasses_customize:t.glasses_customize,selectStepKey:t.selectStepKey,itemStepInfo:t.itemStepInfo,totalPrices:t.totalPrices},on:{continueStep:t.continueStep,currentSelect:t.currentSelect}}):t._e(),4===t.currentStep?e("step4",{ref:"step4",attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,totalPrices:t.totalPrices,glasses_customize:t.glasses_customize,item:t.itemStepInfo["function_2"]},on:{continueStep:t.continueStep,currentSelect:t.currentSelect}}):t._e(),5===t.currentStep?e("step5",{ref:"step5",attrs:{glassesProductInfo:t.glassesProductInfo,selectStepKey:t.selectStepKey,glasses_customize:t.glasses_customize,item:t.itemStepInfo["lens_note"],totalPrices:t.totalPrices},on:{continueStep:t.continueStep}}):t._e()],1),e("div",{staticClass:"footer-box",class:{center:1===t.currentStep}},[e("div",{staticClass:"flex flex-align-center"},[e("div",{staticClass:"view-img"},[t.selectedProduct.image&&t.selectedProduct.image.length?e("img",{attrs:{src:t.$media(t.selectedProduct.image),alt:""}}):e("img",{attrs:{src:t.$media(t.product.images[0].src),alt:""}})]),e("div",{staticClass:"total-price",class:{column:t.currentStep>1}},[e("i",{staticClass:"uppercase"},[t._v(t._s(t.$L("Subtotal")))]),e("span",{domProps:{innerHTML:t._s(t.$currencyConversion(t.$money,t.$Price(t.totalPrices)))}})])]),2===t.currentStep?e("div",{staticClass:"submit-box pointer uppercase",class:{disabled:!t.submitButtonDisabled&&"reader"===t.glasses_customize.glasses_type.key},on:{click:t.clickShowConfirmDialog}},[e("span",{staticClass:"uppercase"},[t._v(" "+t._s(t.$L("glasses_submit")))])]):t._e(),t.currentStep>=3&&t.currentStep<5?e("div",{staticClass:"submit-box-next pointer uppercase",class:{disabled:!t.submitButtonDisabled},on:{click:t.clickNextFooterButton}},[e("span",{staticClass:"uppercase"},[t._v(" "+t._s(t.$L("glasses_next")))])]):t._e(),5===t.currentStep?e("div",{staticClass:"submit-box-next pointer uppercase",on:{click:t.clickAddToCard}},[e("span",{staticClass:"uppercase"},[t._v(" "+t._s(t.$L("Add_to_cart")))])]):t._e()])])]),e("el-dialog",{attrs:{"append-to-body":!0,"custom-class":"step2-dialog-confirm",visible:t.step2Dialog},on:{"update:visible":function(e){t.step2Dialog=e}}},[e("div",{staticClass:"content-box"},[e("div",{staticClass:"title"},[t._v(t._s(t.$L("fits_your_prescription"))+"?")]),e("div",{staticClass:"msg"},[e("p",[t._v(" "+t._s(t.$L("sph_tip1")))]),e("p",[t._v(" "+t._s(t.$L("sph_tip2")))])]),t.glasses_customize.prescription?e("div",{staticClass:"table-box"},[e("div",{staticClass:"table-header-box"},[e("span"),e("span",[t._v("SPH")]),e("span",[t._v("CYL")]),e("span",[t._v("Axis")]),e("span",[t._v("ADD")])]),e("div",{staticClass:"body-box"},[e("span",[t._v("OD")]),e("span",[t._v(t._s(t.glasses_customize.prescription.right_sph||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.right_cyl||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.right_axis||"-"))]),"progressive"===t.glasses_customize.glasses_type.key?e("span",[t._v(t._s(t.glasses_customize.prescription.right_add||"-"))]):e("span",[t._v("-")])]),e("div",{staticClass:"body-box"},[e("span",[t._v("OS")]),e("span",[t._v(t._s(t.glasses_customize.prescription.left_sph||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.left_cyl||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.left_axis||"-"))]),"progressive"===t.glasses_customize.glasses_type.key?e("span",[t._v(t._s(t.glasses_customize.prescription.left_add||"-"))]):e("span",[t._v("-")])]),e("div",{staticClass:"body-box"},[e("span",[t._v("PD")]),e("span",{staticClass:"pd"},[1===t.glasses_customize.prescription.pd_type?e("div",[[t._v(t._s(t.glasses_customize.prescription.pd_one||"-"))]],2):t._e(),2===t.glasses_customize.prescription.pd_type?e("div",{staticStyle:{"margin-right":"25px"}},[t._v(" "+t._s(t.glasses_customize.prescription.pd_two_right)),e("i",[t._v("(OD)")])]):t._e(),2===t.glasses_customize.prescription.pd_type?e("div",[t._v(" "+t._s(t.glasses_customize.prescription.pd_two_left)),e("i",[t._v("(OS)")])]):t._e()])]),1===t.glasses_customize.prescription.add_prism?[e("div",{staticClass:"table-header-box"},[e("span"),e("span",[t._v(" "+t._s(t.$L("prism_horizontal"))+" ")]),e("span",[t._v(" "+t._s(t.$L("base_direction"))+" ")]),e("span",[t._v(" "+t._s(t.$L("prism_vertical"))+" ")]),e("span",[t._v(" "+t._s(t.$L("base_direction"))+" ")])]),e("div",{staticClass:"body-box"},[e("span",[t._v("OD")]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.right_prism_horizontal||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.right_base_direction||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.right_prism_vertical||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.right_base_direction2||"-"))])]),e("div",{staticClass:"body-box"},[e("span",[t._v("OS")]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.left_prism_horizontal||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.left_base_direction||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.left_prism_vertical||"-"))]),e("span",[t._v(t._s(t.glasses_customize.prescription.add_prismInfo.left_base_direction2||"-"))])])]:t._e()],2):t._e()]),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticClass:"left button",on:{click:function(e){t.step2Dialog=!1}}},[e("div",{staticClass:"uppercase"},[t._v(t._s(t.$L("glasses_edit")))])]),e("el-button",{staticClass:"right button uppercase",attrs:{type:"primary"},on:{click:t.clickConfirmDialog}},[e("div",{staticClass:"uppercase"}
1,[t._v(t._s(t.$L("glasses_confirm")))])])],1)])],1)},E=[],N={name:"modelDialog3",props:{appendToBody:{default:!1},selectedProduct:{type:Object},product:{type:Object},attrStepInfo:{type:Array},glassesProductInfo:{type:Object}},data(){return{step2Dialog:!1,onceSet:!0,dialogVisible:!1,currentStep:1,submitButtonDisabled:!1,totalPrices:"",priceItem:{},mapType:{glasses_type:1,prescription:2,lens_refractive_index_2:3,lens_level:4,function_2:5,lens_note:6,1:"glasses_type",2:"prescription",3:"lens_refractive_index_2",4:"lens_level",5:"function_2",6:"lens_note"},selectStepKey:[],currentTempSelect:{},itemStepInfo:{},glasses_customize:{}}},components:{logoImg:w,step1:()=>Promise.all([s.e(98205),s.e(58095),s.e(22497),s.e(48294)]).then(s.bind(s,72027)),step2:()=>Promise.all([s.e(35407),s.e(90094)]).then(s.bind(s,98881)),step3:()=>Promise.all([s.e(98205),s.e(58095),s.e(22497),s.e(90055)]).then(s.bind(s,52875)),step4:()=>Promise.all([s.e(98205),s.e(58095),s.e(22497),s.e(59606)]).then(s.bind(s,21770)),step5:()=>s.e(8944).then(s.bind(s,8944))},created(){},methods:{clickConfirmDialog(){this.step2Dialog=!1;let t={item:this.glasses_customize.prescription||{},step:2,model:2,stepName:"prescription"};this.continueStep(t)},clickShowConfirmDialog(){if("reader"===this.glasses_customize.glasses_type.key&&!this.submitButtonDisabled)return;let t=this.$refs["step2"].continueStep();if(!t)return;let e="";e=t.step,this.selectStepKey[e-1]=t.item.key,this.glasses_customize["prescription"]=t.item,2!==t.item.prescription_type&&"reader"!==this.glasses_customize.glasses_type.key?(this.glasses_customize,this.step2Dialog=!0):this.clickConfirmDialog()},clickNextFooterButton(){this.submitButtonDisabled&&(this.currentTempSelect,this.continueStep(this.currentTempSelect))},clickAddToCard(){5===this.currentStep&&this.$refs["step5"].continueStep()},currentSelect(t){let{item:e,step:s,stepName:i}=t;this.selectStepKey[s-1]=s-1===3?e.multiSelect[0].key:e.key,this.selectStepKey,this.selectStepKey.splice(),this.currentTempSelect={item:e,step:s,stepName:i},this.submitButtonDisabled=!0;this.glasses_customize[i]=e,this.getTotalPrice(),this.selectStepKey},continueStep(t){let{item:e,step:s,stepName:i}=t;this.$log("当前步骤",e,s,i),this.product.price,e.price,e.price&&this.getTotalPrice(e,s);let o="";if(o=s,this.selectStepKey[o-1]=e.key,this.glasses_customize[i]=e,this.glasses_customize,5===s)return this.$emit("confirm",{glasses_customize:this.glasses_customize}),void this.init();if(2===s&&this&&"reader"===this.glasses_customize["glasses_type"].key)this.currentStep=5,delete this.glasses_customize["lens_refractive_index_2"],delete this.glasses_customize["lens_level"],delete this.glasses_customize["function_2"];else if("no_prescription"===e.key)this.currentStep=3,delete this.glasses_customize["prescription"];else{this.currentStep=Number(o)+1;let t=this.mapType[Number(o)+1];s>1?this.glasses_customize[t]&&this.glasses_customize[t].key?this.submitButtonDisabled=!0:this.submitButtonDisabled=!1:1===s&&(this.submitButtonDisabled=!1)}this.glasses_customize},getTotalPrice(){let t=0;for(let e in this.glasses_customize)this.glasses_customize[e],this.glasses_customize[e]&&this.glasses_customize[e].price&&("string"===typeof this.glasses_customize[e].price||"number"===typeof this.glasses_customize[e].price)&&(t=(0,A.p4)(t,this.glasses_customize[e].price));this.totalPrices=(0,A.p4)(this.product.price,t)},init(){this.currentStep=1,this.dialogVisible=!1,this.glasses_customize={},this.selectStepKey=[],this.submitButtonDisabled=!1},backStep(){if(this.submitButtonDisabled=!0,this.glasses_customize,this.selectStepKey,this.currentStep,5===this.currentStep&&"reader"===this.glasses_customize.glasses_type.key)return this.currentStep=2,void this.getTotalPrice();if(this.currentStep>2&&this.currentStep<=4)if(3===this.currentStep)this.glasses_customize.lens_refractive_index_2={},this.glasses_customize.lens_level={};else if(4===this.currentStep)this.glasses_customize["function_2"]={},this.selectStepKey.splice(3,1,"");else{let t=this.mapType[this.currentStep];this.glasses_customize[t]={}}3===this.currentStep&&this.glasses_customize.glasses_type&&"no_prescription"===this.glasses_customize.glasses_type.key?this.currentStep=1:this.currentStep--,3===this.currentStep?"shortsighted"===this.glasses_customize.glasses_type.key?this.currentTempSelect={item:this.glasses_customize.lens_refractive_index_2,step:3,stepName:"lens_refractive_index_2"}:this.currentTempSelect={item:this.glasses_customize.lens_level,step:3,stepName:"lens_level"}:4===this.currentStep&&(this.currentTempSelect={item:this.glasses_customize.function_2,step:4,stepName:"function_2"}),this.selectStepKey.splice(this.currentStep,1,""),this.currentStep,this.getTotalPrice()},filterStepInfo(t){t.forEach((t=>{this.itemStepInfo[t.type]=t}))},closeDialog(){this.dialogVisible=!1},show(t){this.onceSet&&(this.onceSet=!1,this.selectStepKey=new Array(6),this.filterStepInfo(t)),this.currentStep=1,this.dialogVisible=!this.dialogVisible,this.totalPrices||(this.totalPrices=this.product.price)}}},V=N,F=(0,l.Z)(V,O,E,!1,null,"198efdf2",null),Q=F.exports,M={name:"GlassesStepSelect",props:{appendToBody:{default:!1},selectedProduct:{type:Object},product:{type:Object},attrStepInfo:{type:Array},glassesProductInfo:{type:Object}},data(){return{dialogVisible:!1,glassesModel:""}},components:{modelDialog1:k,modelDialog2:z,modelDialog3:Q},created(){},computed:{},methods:{confirm(t){this.$emit("confirm",t)},show(t){var e;this.attrStepInfo=t||[],this.totalPrices||(this.totalPrices=this.product.price),this.glassesModel=(null===(e=this.attrStepInfo[0])||void 0===e?void 0:e.model)||1,this.attrStepInfo,this.$nextTick((()=>{this.glassesModel,1==this.glassesModel?(this.attrStepInfo,this.$refs["modelDialog1"].show(t)):2==this.glassesModel?(this.$refs["modelDialog2"].show(t),this.$refs["modelDialog2"]):3==this.glassesModel&&this.$refs["modelDialog3"].show(t)}))}}}
1,$=M,j=(0,l.Z)($,h,m,!1,null,"7a1cb3b7",null),q=j.exports,Z=s(52873),J=s(29469),Y={name:"GlassesBuyButton",components:{GlassesStepSelect:q,glassesFixedCart:d},props:{appendToBody:{default:!1},buyNoLoading:{default:!1},addCartLoading:{default:!1},card:{type:Object},product:{type:Object},glassesProductInfo:{type:Object,default:{button_type:"0"}},selectedProduct:{type:Object}},data(){return{showBottomBar:!0,PayPalShow:!1,PayPalLoading:!1,value:0,attrStepInfo:[],glassesModel:1,timeTemp:null}},created(){},computed:{glassesShowButton(){let t=!1;return 1==this.glassesProductInfo.button_type&&(t=!0),t},LimitedStock(){return 1==this.product.inventory_police&&1!=this.product.inventory_police_type},LimitedMinNumber(){if(this.selectedProduct&&this.selectedProduct.buy_min_count&&this.selectedProduct.buy_min_count>1){let t=Number(this.selectedProduct.buy_min_count);return t>Number(this.value)&&(this.value=t),t}return 1},pbBox(){if("product"===this.$route.name)return document.getElementById("product-detail")}},mounted(){if(this.glassesShowButton){let t=window.pageData.payment_paypal;t&&t.hasOwnProperty("commit")&&1===this.product.availability&&1==this.product.status&&(this.PayPalShow=!0,this.initPayPal(t))}this.setBottomBar()},methods:{handleScroll(){clearTimeout(this.timeTemp),this.timeTemp=setTimeout((()=>{document.getElementById("glasses-fixed-cart"),document.getElementById("sold-out");let t=document.getElementById("product-detail");t.scrollTop>=t.scrollHeight-t.clientHeight?this.showBottomBar=!1:this.showBottomBar||(this.showBottomBar=!0)}),300)},setBottomBar(){if(this.clientIsPhone&&1===this.product.availability&&1==this.product.status&&this.pbBox.addEventListener("scroll",this.handleScroll),"theme_b2c_vog"===this.$themeName){let t=document.getElementsByClassName("bottom-bar-show");if(t&&t.length)for(let e=0;e<t.length;e++)t[e].style.position="relative",t[e].style["z-index"]=1}},selectConfirm(t){this.$emit("addToCart",t)},getAttrInfo(){(0,p.Y)().then((t=>{var e;Array.isArray(t.data)||(t.data=(0,A.uF)(t.data)),this.attrStepInfo=t.data,this.glassesModel=(null===(e=this.attrStepInfo[0])||void 0===e?void 0:e.model)||1,this.attrStepInfo,this.$nextTick((()=>{this.$refs["GlassesStepSelect"].show(t.data)}))}))},getQty(){return this.value},reset(){this.value=1},setQty(t){this.value=t},addToCart(){this.$emit("addToCart")},buyNowProduct(){this.$emit("buyNow")},showLensesDialog(){this.getAttrInfo()},initPayPal(t){(0,J.ve)({"client-id":t.client_id,commit:t.commit,currency:window["currency_code"]}).then((t=>{let e="";t.Buttons({style:{layout:"vertical",size:"medium",shape:"rect",color:"gold",label:"buynow",height:40},createOrder:()=>(0,Z.l3)({product_id:this.selectedProduct.product_id,variant_id:this.selectedProduct.id,qty:this.$parent.$refs["Quantity"].getQty(),client_detail:(0,A.nQ)()}).then((t=>(e=t.data.orderNumber,t.data.token))).catch((t=>{"101108002"==t.code?this.$toast.error(this.$L("Sold_out_tip")):"101108001"==t.code?this.$toast.error(this.$L("The_product_is_not_available")):"101000012"!=t.code&&"101000013"!=t.code||this.$toast.error(t.message)})),onApprove:(t,s)=>{t.currentOrderNumber=e,this.PayPalLoading=!0,this.$PayPal(t,s).then((()=>{this.PayPalLoading=!1}))}}).render("#paypal-button-container")})).catch((t=>{console.error("failed to load the PayPal JS SDK script",t)}))}},beforeDestroy(){try{this.pbBox.removeEventListener("scroll",this.handleScroll)}catch(t){}}},H=Y,X=(0,l.Z)(H,i,o,!1,null,"42909632",null),G=X.exports},8617:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var i=function(){var t=this,e=t._self._c;return t.frameSize.length?e("div",{staticClass:"materials-box"},[e("el-collapse",{model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[e("el-collapse-item",{attrs:{title:t.$L("materials_measurements"),name:"1"}},[e("div",{staticClass:"fec-collapse-item"},[e("div",{staticClass:"label uppercase"},[t._v(t._s(t.$L("frame_size"))+":")]),e("div",{staticClass:"content flex flex-align-center"},t._l(t.frameSize,(function(s,i){return e("div",{key:i,staticClass:"img-box"},[0===i?e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],attrs:{src:t.img1,alt:"lensWidth"}}
1):t._e(),1===i?e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],attrs:{src:t.img2,alt:"bridgeWidth"}}):t._e(),2===i?e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],attrs:{src:t.img3,alt:"armLength"}}):t._e(),e("span",[t._v(t._s(s)+"mm")])])})),0)]),t.selectedProduct.color?e("div",{staticClass:"fec-collapse-item"},[e("div",{staticClass:"label uppercase"},[t._v(t._s(t.$L("color"))+":")]),e("div",{staticClass:"content uppercase"},[t._v(" "+t._s(t.selectedProduct.color)+" ")])]):t._e(),t.glassesProductInfo.lens_type?e("div",{staticClass:"fec-collapse-item"},[e("div",{staticClass:"label uppercase"},[t._v(t._s(t.$L("lenses"))+":")]),e("div",{staticClass:"content uppercase"},[t._v(" "+t._s(t.$T(t.glassesProductInfo.lens_type.value,t.glassesProductInfo.lens_type.language))+" ")])]):t._e(),t.glassesProductInfo.material?e("div",{staticClass:"fec-collapse-item"},[e("div",{staticClass:"label uppercase"},[t._v(t._s(t.$L("material"))+":")]),e("div",{staticClass:"content uppercase"},[t._v(" "+t._s(t.$T(t.glassesProductInfo.material.value,t.glassesProductInfo.material.language))+" ")])]):t._e(),t.glassesProductInfo.sex?e("div",{staticClass:"fec-collapse-item"},[e("div",{staticClass:"label uppercase"},[t._v(t._s(t.$L("gender"))+":")]),e("div",{staticClass:"content uppercase"},[t._v(" "+t._s(t.$T(t.glassesProductInfo.sex.value,t.glassesProductInfo.sex.language))+" ")])]):t._e()])],1)],1):t._e()},o=[],r={name:"GlassesMaterials",props:{selectedProduct:{type:Object},glassesProductInfo:{type:Object}},data(){return{img1:s(29237),img2:s(24824),img3:s(15818),frameSize:[],activeNames:["1"]}},created(){},watch:{selectedProduct:{handler(t){t&&t.note&&"string"===typeof t.note&&(this.frameSize=t.note.split("-"))},deep:!0,immediate:!0}},methods:{}},a=r,n=s(1001),c=(0,n.Z)(a,i,o,!1,null,"1040bdad",null),l=c.exports},23854:function(t,e,s){s.r(e),s.d(e,{default:function(){return b}});var i=function(){var t=this,e=t._self._c;return e("div",[t.product.wapVariants.length>1?e("div",{staticClass:"product-specification"},[e("div",{staticClass:"product-options"},[e("label",{staticClass:"name uppercase"},[t._v(t._s(t.product.options[0].name)+": "),e("span",[t._v(t._s(t.selectOptions[0]||""))])]),e("div",{staticClass:"item-box flex"},[t.showImgORtext&&0===t.showImgORtextRow?[t._l(t.product.options[0].items,(function(s,i){return[t.hoverSelectProduct.note?e("div",{staticClass:"product-options-item type-img",class:{active:t.checkActive(t.selectOptions[0],s),disabled:t.isLevel1Filter&&t.checkDisabled(t.realLevel1TagList,s)}},[e("el-tooltip",{key:i,attrs:{effect:"dark",placement:"top"}},[t.hoverSelectProduct.note?e("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.hoverSelectProduct.note)+" ")]):t._e(),e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"tag-img",attrs:{src:t.$media(s.image),alt:""},on:{click:function(e){return e.stopPropagation(),t.selectItem(t.product.options[0],0,i)},mouseenter:function(e){return e.stopPropagation(),t.mouseenterItem(t.product.options[0],0,i)}}})])],1):e("div",{key:i,staticClass:"product-options-item type-img",class:{active:t.checkActive(t.selectOptions[0],s),disabled:t.isLevel1Filter&&t.checkDisabled(t.realLevel1TagList,s)},on:{click:function(e){return e.stopPropagation(),t.selectItem(t.product.options[0],0,i)}}},[e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"tag-img",attrs:{src:t.$media(s.image),alt:""}})])]}))]:[t._l(t.product.options[0].items,(function(s,i){return[t.hoverSelectProduct.note?e("el-tooltip",{key:i,staticClass:"product-options-item",class:{active:t.checkActive(t.selectOptions[0],s),disabled:t.isLevel1Filter&&t.checkDisabled(t.realLevel1TagList,s)},attrs:{effect:"dark",placement:"top"}},[t.hoverSelectProduct.note?e("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.hoverSelectProduct.note)+" ")]):t._e(),e("span",{on:{click:function(e){return e.stopPropagation(),t.selectItem(t.product.options[0],0,i)},mouseenter:function(e){return e.stopPropagation(),t.mouseenterItem(t.product.options[0],0,i)}}},[t._v(t._s(s.label.name))])]):e("div",{key:i,staticClass:"product-options-item",class:{active:t.checkActive(t.selectOptions[0],s),disabled:t.isLevel1Filter&&t.checkDisabled(t.realLevel1TagList,s)},on:{click:function(e){return e.stopPropagation(),t.selectItem(t.product.options[0],0,i)}}},[e("span",[t._v(t._s(s.label.name))])])]}))],t.product.options&&1===t.product.options.length?e("div",{staticClass:"glasses-size"},[e("span",{staticClass:"mr-10"},[t._v(" "+t._s(t.selectProduct.note||""))]),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[e("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.hoverSelectProduct.note))]),t.selectProduct.note?e("i",{staticClass:"iconfont icon-we
1nhaoxiao"}):t._e()])],1):t._e()],2)]),t._l(t.product.options,(function(s,i){return e("div",{key:i,staticClass:"product-options"},[i>0?[e("label",{staticClass:"name uppercase"},[t._v(t._s(s.name)+": "),e("span",[t._v(t._s(t.selectOptions[i]||""))])]),e("div",{staticClass:"item-box flex"},[t.showImgORtext&&t.showImgORtextRow===i?[t._l(s.items,(function(o,r){return[t.hoverSelectProduct.note?e("el-tooltip",{key:r,staticClass:"product-options-item type-img",class:{active:t.checkActive(t.selectOptions[i],o),disabled:t.checkDisabled(t.realOption[i],o)},attrs:{effect:"dark"}},[e("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.hoverSelectProduct.note))]),e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"tag-img",attrs:{src:t.$media(o.image),alt:""},on:{click:function(e){return e.stopPropagation(),t.selectItem(s,i,r)},mouseenter:function(e){return e.stopPropagation(),t.mouseenterItem(s,i,r)}}})]):e("div",{key:r,staticClass:"product-options-item type-img",class:{active:t.checkActive(t.selectOptions[i],o),disabled:t.checkDisabled(t.realOption[i],o)},on:{click:function(e){return e.stopPropagation(),t.selectItem(s,i,r)}}},[e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"tag-img",attrs:{src:t.$media(o.image),alt:""}})])]}))]:[t._l(s.items,(function(o,r){return[t.hoverSelectProduct.note?e("el-tooltip",{key:r,staticClass:"product-options-item",class:{active:t.checkActive(t.selectOptions[i],o),disabled:t.checkDisabled(t.realOption[i],o)},attrs:{effect:"dark"}},[e("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.hoverSelectProduct.note))]),e("span",{on:{click:function(e){return e.stopPropagation(),t.selectItem(s,i,r)},mouseenter:function(e){return e.stopPropagation(),t.mouseenterItem(s,i,r)}}},[t._v(t._s(o.label.name))])]):e("div",{key:r,staticClass:"product-options-item",class:{active:t.checkActive(t.selectOptions[i],o),disabled:t.checkDisabled(t.realOption[i],o)},on:{click:function(e){return e.stopPropagation(),t.selectItem(s,i,r)}}},[e("span",[t._v(t._s(o.label.name))])])]}))],t.product.options&&t.product.options.length>1?e("div",{staticClass:"glasses-size"},[e("span",{staticClass:"mr-10"},[t._v(" "+t._s(t.selectProduct.note||""))]),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[e("div",{staticStyle:{width:"150px","text-align":"center"},attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("check_glasses_size"))+" ")]),t.selectProduct.note?e("i",{staticClass:"iconfont icon-wenhaoxiao"}):t._e()])],1):t._e()],2)]:t._e()],2)}))],2):t._e(),t.stockShow?e("Stock",{attrs:{qty:t.selectProduct.qty}}):t._e(),t.fixedCartInfo?e("fixedCart",{ref:"fixedCart",attrs:{selectProduct:t.selectProduct,selectOptions:t.selectOptions,product:t.product,fixedCartInfo:t.fixedCartInfo,realOption:t.realOption,realLevel1TagList:t.realLevel1TagList,buyNoLoading:t.buyNoLoading,addCartLoading:t.addCartLoading,translateDistance:t.clientIsPhone?"-50px":"0"},on:{selectItem:t.selectItem,addToCart:t.addToCart,buyNow:t.buyNow}}):t._e()],1)},o=[],r=function(){var t=this,e=t._self._c;return t.qty>=1?e("div",{staticClass:"stock-box"},[e("div",{staticClass:"stock"},[t.qty<20?[e("div",{staticClass:"uppercase",domProps:{innerHTML:t._s(t.$replaceL(t.$L("Marketing_inventory_1"),t.qty))}})]:[e("div",{staticClass:"uppercase",domProps:{innerHTML:t._s(t.$replaceL(t.$L("Marketing_inventory_2"),t.qty))}})]],2),e("div",{staticClass:"progress-box"},[t.qty>50?e("el-progress",{attrs:{"show-text":!1,percentage:t.progressValue,height:"5px",status:"warning"}}):e("el-progress",{attrs:{percentage:t.progressValue,"show-text":!1,height:"5px",status:"exception"}})],1)]):t._e()},a=[],n=s(82860),c=s.n(n),l={name:"glasses-stock",components:{"el-progress":c()},props:{qty:{type:Number|String,default:0}},computed:{progressValue(){let t=66,e=this.qty;return e<50?5:e<100?10:e<150?15:e<200?20:e<250?25:e<300?30:(t=e/(e/2*3)*100,t)}},data(){return{}},created(){},methods:{}},u=l,d=s(1001),p=(0,d.Z)(u,r,a,!1,null,"150b51d0",null),h=p.exports,m=s(85444),g=s(69160),_=s(79372),f={name:"specification",components:{Stock:h,fixedCart:()=>s.e(36526).then(s.bind(s,36526))},props:{buyNoLoading:{default:!1},addCartLoading:{default:!1},card:{type:Object},product:{type:Object}},watch:{},mounted(){this.product.options},data(){return{selectOptions:new Array(this.product.options.length),hoverOptions:new Array(this.product.options.length),selectProduct:{},hoverSelectProduct:{},realOption:{},realLevel1TagList:[]}},created(){this.filterWapVariants(),this.setDefaultSelect(),this.setDisabledOption()},computed:{fixedCartInfo(){var t,e;let s=g.a.call(this,_.gY);if(!s)return!1;let i=(null===(t=window)||void 0===t||null===(e=t.pageData)||void 0===e?void 0:e.fixed_cart)||!1;return i},showImgORtextRow(){var t;let e=(null===(t=this.product)||void 0===t?void 0:t.options)||[];for(let s=0;s<e.length;s++)if(e[s].is_image)return s;return-1},showImgORtext(){var t,e;let s=this.showImgORtextRow;if(-1===s)return!1;let i=(null===(t=this.product)||void 0===t||null===(e=t.options[s])||void 0===e?void 0:e.items)||[];for(let o=0;o<i.length;o++)if(!i[o].image)return!1;return!0},isLevel1Filter(){return 1==this.product.inventory_police&&2==this.product.inventory_police_type},stockShow(){let t=!0;return 1!==this.card.params.stock_show&&(t=!1),1==this.product.inventory_police&&2==this.product.inventory_police_type||(t=!1),1===this.product.availability&&1==this.product.status||(t=!1),t}},methods:{addToCart(){this.$emit("addToCart")},buyNow(){let t=this.$parent.glassesProductInfo;if(2==t.button_type||3==t.button_type){this.$parent.$refs["Quantity"].showLensesDialog()}else this.$emit("buyNow")},checkDisabled(t,e){return"string"===typeof e?-1===t.indexOf(e):-1===t.indexOf(e.label.name)},checkActive(t,e){return"string"===typeof e?t===e:t===e.label.name},filterWapVariants(){if(this.product.wapVariants,1!==this.product.wapVariants.length){if(this.isLevel1Filter){let t=[];if(t=this.product.wapVariants.filter((t=>(t.qty>0&&-1===this.realLevel1TagList.indexOf(t.option1)&&this.realLevel1TagList.push(t.option1),t.qty>0))),t.length<this.product.wapVariants.length&&(this.product.wapVariants=JSON.parse(JSON.stringify(t))),this.realLevel1TagList,this.product.wapVariants,1===this.product.wapVariants.length)return void this.$emit("confirm",this.product.wapVariants[0])}}else this.$emit("confirm",this.product.wapVariants[0])},setDisabledOption(){if(1===this.product.wapVariants.length)return this.selectProduct=JSON.parse(JSON.stringify(this.product.wapVariants[0])),this.hoverOptions=JSON.parse(JSON.stringify(this.product.wapVariants[0])),void(this.hoverSelectProduct=JSON.parse(JSON.stringify(this.selectProduct)));let t=this.selectOptions[0]?this.selectOptions[0]:"",e=this.selectOptions[1]?this.selectOptions[1]:"",s=this.selectOptions[2]?this.selectOptions[2]:"",i=[],o=[],r=[],a=[];this.product.wapVariants=(0,m.uF)(this.product.wapVariants),this.product.wapVariants.forEac
1h((e=>{e.option1==t&&i.push(e)})),this.product.wapVariants.forEach((s=>{s.option1==t&&s.option2==e&&o.push(s)})),i.forEach((t=>{t.option2&&t.option2.length&&-1===r.indexOf(t.option2)&&r.push(t.option2)})),o.forEach((t=>{t.option3&&t.option3.length&&-1===a.indexOf(t.option3)&&a.push(t.option3)})),this.realOption={1:r,2:a},r.length&&-1===r.indexOf(e)&&(this.selectOptions[1]=r[0],this.hoverOptions[1]=JSON.parse(JSON.stringify(r[0])),this.emitConfirm(),this.setDisabledOption()),a.length&&-1===a.indexOf(s)&&(this.selectOptions[2]=a[0],this.hoverOptions[2]=JSON.parse(JSON.stringify(a[0])),this.emitConfirm(),this.setDisabledOption())},setDefaultSelect(){if(this.product.wapVariants,1===this.product.wapVariants.length)return;let t="";this.$route.query.variant&&this.$route.query.variant.length?(t=this.switchUrlProduct(),t||(t=this.switchDefaultProduct())):t=this.switchDefaultProduct(),t.option1&&t.option1.length&&(this.selectOptions[0]=t.option1,this.hoverOptions[0]=JSON.parse(JSON.stringify(t.option1))),t.option2&&t.option2.length&&(this.selectOptions[1]=t.option2,this.hoverOptions[1]=JSON.parse(JSON.stringify(t.option2))),t.option3&&t.option3.length&&(this.selectOptions[2]=t.option3,this.hoverOptions[2]=JSON.parse(JSON.stringify(t.option3))),this.emitConfirm()},switchDefaultProduct(){let t="",e={index:0,price:this.product.wapVariants[0].price};for(let s=1;s<this.product.wapVariants.length;s++)Number(this.product.wapVariants[s].price)<Number(e.price)&&(e.index=s,e.price=this.product.wapVariants[s].price);return t=this.product.wapVariants[e.index],t},switchUrlProduct(){let t="";for(let e=0;e<this.product.wapVariants.length;e++)if(this.product.wapVariants[e].id==this.$route.query.variant){t=this.product.wapVariants[e];break}return t},emitConfirm(){let t=this.selectOptions.length;for(let e=0;e<this.product.wapVariants.length;e++){let s=!1,i=0;for(let o=0;o<t;o++)this.selectOptions[o]===this.product.wapVariants[e]["option"+(o+1)]&&i++,i===t&&(s=!0);if(s){this.selectProduct=JSON.parse(JSON.stringify(this.product.wapVariants[e])),this.hoverSelectProduct=JSON.parse(JSON.stringify(this.selectProduct)),this.hoverOptions=JSON.parse(JSON.stringify(this.selectOptions));let t="";for(let e=0;e<this.product.options.length;e++){let s=this.product.options[e].name.toLowerCase();if("color"===s){t="option"+(e+1);break}}t&&(this.selectProduct["color"]=this.selectProduct[t]),this.$emit("confirm",this.selectProduct);break}}},selectItem(t,e,s){let i=t.items[s];if("string"!=typeof i&&(i=i.label.name),0===e&&-1===this.realLevel1TagList.indexOf(i)&&this.isLevel1Filter)return;if(e>0&&-1===this.realOption[e].indexOf(i))return;this.selectOptions[e]=i,this.selectOptions.splice();let o=!0;for(let r=0;r<this.selectOptions.length;r++)if(this.selectOptions[r],this.selectOptions,!this.selectOptions[r]){o=!1;break}o&&this.emitConfirm(),this.setDisabledOption()},mouseenterItem(t,e,s){let i=t.items[s];if(0===e&&-1===this.realLevel1TagList.indexOf(i)&&this.isLevel1Filter)return;if(e>0&&-1===this.realOption[e].indexOf(i))return;this.hoverOptions[e]=i,this.hoverOptions.splice();let o=!0;for(let r=0;r<this.hoverOptions.length;r++)if(!this.hoverOptions[r]){o=!1;break}o&&this.hoverConfirm()},hoverConfirm(){let t=this.hoverOptions.length;for(let e=0;e<this.product.wapVariants.length;e++){let s=!1,i=0;for(let o=0;o<t;o++)this.hoverOptions[o]===this.product.wapVariants[e]["option"+(o+1)]&&i++,i===t&&(s=!0);if(s){this.hoverSelectProduct=JSON.parse(JSON.stringify(this.product.wapVariants[e]));break}}}}},v=f,y=(0,d.Z)(v,i,o,!1,null,"3ad79561",null),b=y.exports},80988:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var i=function(){var t=this,e=t._self._c;return t.barrageInfo?e("div",{ref:"barrageContainer",staticClass:"barrage-container"},t._l(t.customers,(function(s,i){return i===t.currentIndex?e("div",{key:i,staticClass:"barrage",style:{opacity:s.opacity}},[e("div",{staticClass:"barrage-bg",style:{"background-color":t.barrageInfo.background_color,opacity:t.barrageInfo.background_transparency/100}}),e("div",{staticClass:"barrage-text"},[e("img",{staticClass:"mr-10",attrs:{loading:"lazy",src:t.getCountryImg(s.country_code)}}),e("span",{style:{opacity:t.barrageInfo.background_transparency/100,color:t.barrageInfo.text_color}},[t._v(" "+t._s(t.$replaceL(t.$T(t.barrageInfo.purchase_copywriting.name,t.barrageInfo.purchase_copywriting.language),s.name)))])])]):t._e()})),0):t._e()},o=[],r={name:"barrageAddon.vue",data(){return{customers:[],position:{left:0,top:0},interval_time:2e3,duration:3e3,currentIndex:0}},created(){this.interval_time=1e3*Number(this.barrageInfo.interval_time||3),this.duration=1e3*Number(this.barrageInfo.duration||5),this.customers=[],this.barrageInfo,this.barrageInfo.customers&&this.barrageInfo.customers.length>0&&this.barrageInfo.customers.map((t=>{this.customers.push({...t,opacity:0}
1)}))},mounted(){this.getElementPosition(),this.startBarrage()},computed:{barrageInfo(){var t;let e=(null===(t=window)||void 0===t?void 0:t.pageData)||this.$store.state.decorate.pageData||{};return e.barrage||{}}},methods:{getElementPosition(){this.$nextTick((()=>{const t=document.getElementById("plc-product-swiper");if(t){const e=t.getBoundingClientRect();this.position.left=e.left+15,this.position.top=e.top+15}}))},getCountryImg(t){let e=t.toLowerCase();return this.$public("system/country/"+e+".svg")},showNextBarrage(){this.customers[this.currentIndex].opacity=0,setTimeout((()=>{this.currentIndex=(this.currentIndex+1)%this.customers.length,setTimeout((()=>{this.customers[this.currentIndex].opacity=1}),10),setTimeout((()=>{this.showNextBarrage()}),this.duration)}),this.interval_time)},startBarrage(){this.customers.length>0&&(setTimeout((()=>{this.customers[this.currentIndex].opacity=1}),10),setTimeout((()=>{this.showNextBarrage()}),this.duration))}}},a=r,n=s(1001),c=(0,n.Z)(a,i,o,!1,null,"053c2d3b",null),l=c.exports},49229:function(t,e,s){s.r(e),s.d(e,{default:function(){return u}});var i=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"addition-attr-item"}},[t._l(t.product.additionattr.addition_attr.attr_info,(function(s,i){return[e("all_theme_common_html",{key:s.id,ref:"attrGroupItem"+i,refInFor:!0,attrs:{"f-index":i,attrInfo:s,card:t.card,showLifuSizeStatus:t.showLifuSizeStatus,product:t.product,isLifuSizeInBottomDrawer:t.isLifuSizeInBottomDrawer,isVariantSpecificationFoldAddon:t.isVariantSpecificationFoldAddon,allAttrInfo:t.product.additionattr.addition_attr.attr_info},on:{priceChange:t.priceChange,dressesFoldDrawerShow:t.dressesFoldDrawerShow}})]})),t.totalPrice&&t.attrPrice?e("div",{staticClass:"attr-total-price-box"},[e("div",{staticClass:"price-item"},[e("span",{staticClass:"label"},[t._v(t._s(t.$L("attr_customization_fee"))+":")]),e("span",{staticClass:"price",domProps:{innerHTML:t._s(t.$currencyConversion(t.$money,t.$Price(t.attrPrice)))}})]),e("div",{staticClass:"price-item"},[e("span",{staticClass:"label"},[t._v(t._s(t.$L("attr_subtotal"))+":")]),e("span",{staticClass:"price",domProps:{innerHTML:t._s(t.$currencyConversion(t.$money,t.$Price(t.totalPrice)))}})])]):t._e()],2)},o=[],r=s(85444),a={name:"addition_attr_item",data(){return{totalPrice:"",attrPrice:"",totalPriceInfo:{}}},components:{all_theme_common_html:()=>s.e(86817).then(s.bind(s,86817)),platform_theme:()=>s.e(89451).then(s.bind(s,89451)),brand_theme:()=>s.e(53248).then(s.bind(s,53248)),default_theme:()=>s.e(71435).then(s.bind(s,71435)),theme_b2c_las:()=>s.e(17592).then(s.bind(s,17592)),theme_b2c_ell:()=>s.e(91734).then(s.bind(s,91734)),theme_b2c_grey:()=>s.e(71600).then(s.bind(s,71600)),theme_b2c_vog:()=>s.e(94e3).then(s.bind(s,94e3))},watch:{productPrice:{handler(t){t&&this.getTotalPrice()}}},props:{productPrice:{type:Number|String,default:""},product:{type:Object,default:()=>{}},card:{type:Object,default:()=>{}},isVariantSpecificationFoldAddon:{type:Boolean,default:!1},showLifuSizeStatus:{type:Boolean,default:!1},isLifuSizeInBottomDrawer:{type:Boolean,default:!1}},created(){},mounted(){this.$parent.addCartLoading=!1},methods:{dressesFoldDrawerShow(){this.$emit("dressesFoldDrawerShow")},getTotalPrice(){let t=this.productPrice,e=0;for(let s in this.totalPriceInfo)e=(0,r.p4)(e,Number(this.totalPriceInfo[s]));this.attrPrice=e,this.totalPrice=(0,r.p4)(e,Number(t)),this.$emit("setAttrSelectItemTotalPrice",this.totalPrice)},priceChange(t){this.totalPriceInfo[t.type]=t.price,this.totalPriceInfo,this.getTotalPrice()},scroll_view(){let t=document.getElementById("addition-attr-item"),e=document.getElementById("product-detail"),s=document.documentElement.clientWidth;e||(e=document.documentElement);let i=t.offsetTop+t.clientHeight;t.offsetTop,t.clientHeight;let o=t.offsetTop-t.offsetTop/3;s<900&&(o+=400);let r=e.scrollTop;r>i&&e.scrollTo({left:0,top:o,behavior:"smooth"})},submit(){var t,e,s;let i=this.$refs,o=[],r=!0;var a=Object.keys(i);let n=(null===(t=this.product)||void 0===t||null===(e=t.additionattr)||void 0===e||null===(s=e.addition_attr)||void 0===s?void 0:s.attr_info)||[];
1if(0===a.length)return!1;let c=0;for(let u in i){try{if(i[u][0],n[c].type,"lifu_text_color_custom"!=n[c].type){i[u][0];let t=i[u][0].submit();t?t.value&&o.push(t):r=!1}}catch(l){this.$parent.addCartLoading=!1,r=!1;break}c++}return!!r&&o}}},n=a,c=s(1001),l=(0,c.Z)(n,i,o,!1,null,"410f08ae",null),u=l.exports},42186:function(t,e,s){s.r(e),s.d(e,{default:function(){return d}});var i=function(){var t=this,e=t._self._c;return t.stylesLoaded?e("div",{class:[t.currentThemeStyle,{sizeHidden:t.isVariantSpecificationFoldAddon}]},[e("div",{staticClass:"product-options"},[e("label",{staticClass:"name",class:{required:this.attrInfo.required}},[e("div",{staticClass:"uppercase",staticStyle:{display:"inline-block"},style:t.attribute_name_color},[t._v(" "+t._s(t.$T(t.attrInfo.title.value,t.attrInfo.title.language))+": ")]),t.default_value&&t.attrInfo.curr_price&&Number(t.attrInfo.curr_price)>0?e("span",[t._v("(+ "),e("span",{domProps:{innerHTML:t._s(t.$currencyConversion(t.$money,t.$Price(t.attrInfo.curr_price)))}}),t._v(" )")]):t._e()]),t.attrInfo.remark&&t.attrInfo.remark.value?e("div",{staticClass:"remark-box uppercase",style:t.remark_value_color},[t._v(" "+t._s(t.$T(t.attrInfo.remark.value,t.attrInfo.remark.language))+" ")]):t._e(),e("div",{staticClass:"item-box flex"},[e("el-input",{staticClass:"product-options-item lifu_text_color_custom option_name-custom-color-name",staticStyle:{"font-size":"16px"},attrs:{maxlength:t.attrInfo.max_character_count,placeholder:t.$T(t.attrInfo.input_show_text.value,t.attrInfo.input_show_text.language)},on:{blur:t.inputBlur},model:{value:t.default_value,callback:function(e){t.default_value=e},expression:"default_value"}}),t.isRequired?e("span",{staticClass:"required-text"},[t._v(t._s(t.$L("required_field")))]):t._e()],1)])]):t._e()},o=[],r=s(84191),a=s(43934),n={name:"lifu_text_color_custom",props:{card:{type:Object,default:()=>{}}},mixins:[r.Z,a.Z],data(){return{dialogVisible:!1}},computed:{attribute_name_color(){var t,e;return{color:(null===(t=this.card)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.attribute_name_color)||""}},attribute_value_color(){var t,e;return{color:(null===(t=this.card)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.attribute_value_color)||""}},remark_value_color(){var t,e;return{color:(null===(t=this.card)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.common_minor_color)||""}},norm_value_color(){var t,e;return{color:(null===(t=this.card)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.common_norm_color)||""}},main_value_color(){var t,e;return{color:(null===(t=this.card)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.common_main_color)||""}}},created(){},methods:{}},c=n,l=s(1001),u=(0,l.Z)(c,i,o,!1,null,"7c4c3acc",null),d=u.exports},86698:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var i=function(){var t=this,e=t._self._c;return e("el-drawer",{attrs:{"append-to-body":t.appendToBody,id:"customeow-sku-drawer-id","custom-class":"customeow-sku-drawer",visible:t.drawer,"with-header":!1,direction:"rtl"},on:{"update:visible":function(e){t.drawer=e}}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{height:"100%",overflow:"hidden"}},[e("iframe",{ref:"customeow_iframe",staticStyle:{width:"100%",height:"100%"},attrs:{src:t.openUrl},on:{load:t.sendReloadMessage}})])])},o=[],r={name:"CustomeowSku.vue",props:{appendToBody:{type:Boolean,default:!0},product:{type:Object,default:()=>{}},addCartButtonText:{type:String,default:""},selectedProduct:{type:Object,default:()=>{}}},data(){return{loading:!0,drawer:!1,showIframe:!0,openUrl:""}},computed:{customeowInfo(){return this.product.customeow_info||{}}},watch:{drawer:{handler(t,e){t||(this.openUrl="",this.loading=!0,window.removeEventListener("message",this.handleMessage))}}},created(){},methods:{handleMessage(t){const{type:e,data:s}=t.data;switch(e){case"customeow:mount":this.loading=!1;break;case"customeow:confirm":this.$emit("customeowConfirm",s),this.drawer=!1;break;case"customeow:close":this.drawer=!1;break;case"customeow:error":console.error("定制喵错误:",s);break}},show(){this.openUrl=`${this.customeowInfo.iframe_base_url}/${this.customeowInfo.lang_code}?storeId=${this.customeowInfo.store_id}&sku=${this.selectedProduct.sku}`,this.addCartButtonText&&(this.openUrl+=`&addCartButtonText=${this.addCartButtonText}`),this.openUrl,this.showIframe=!0,this.drawer=!this.drawer,this.$nextTick((()=>{window.addEventListener("message",this.handleMessage)}))},sendReloadMessage(){const t=this.$refs.customeow_iframe;null!==t&&void 0!==t&&t.contentWindow&&t.contentWindow.postMessage({type:"customeow:reload",data:null},"*")}}},a=r,n=s(1001),c=(0,n.Z)(a,i,o,!1,null,null,null),l=c.exports},65670:function(t,e,s){s.r(e),s.d(e,{default:function(){return _}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-buy-box",class:{"group-buy-box-las":t.isLasTheme}},[e("div",{staticClass:"group-buy-header"},[t._v(" "+t._s(t.$L("frequently_bought_together"))+" ")]),e("div",{staticClass:"group-buy-tip"},[t._v(" "+t._s(t.$L("save_money_buying_these_products_together"))+" ")]),e("ul",{staticClass:"frequently-bought-products-list"},[t.firstSelected?e("li",{staticClass:"product-item"},[t.firstCustomeowImage.customInfoId&&t.firstCustomeowImage.preview&&t.firstCustomeowImage.preview.effects.length?e("img",{attrs:{src:t.firstCustomeowImage.preview.effects[t.firstCustomeowImage.preview.effects.length-1],alt:""}}):t.selectedProduct.image?e("img",{attrs:{src:t.$media(t.selectedProduct.image),alt:"",loading:"lazy"}}):t.product.images&&t.product.images[0].src?e("img",{attrs:{src:t.$media(t.product.images[0].src),alt:"",loading:"lazy"}}):t._e()]):t._e(),t._l(t.groupBuyList,(function(s,i){return[s.isSelected?e("li",{key:i,staticClass:"product-item"},[s.isShowIcon?e("div",{staticClass:"icon-plus"},[e("i",{staticClass:"el-icon-plus"})]):t._e(),e("a",{attrs:{href:t.$baseUrl+"/products/"+s.handle}},[s.customeowConfirmData&&s.customeowConfirmData.customInfoId&&s.customeowConfirmData.preview&&s.customeowConfirmData.preview.effects.length?e("img",{attrs:{src:s.customeowConfirmData.preview.effects[s.customeowConfirmData.preview.effects.length-1],alt:""}}):s.images?e("img",{attrs:{src:t.$media(s.images.src),alt:""}}):t._e()])]):t._e()]}))],2),t.$showPrice&&Number(t.totalPrice)>0?e("div",{staticClass:"group-total-price-button-box"},[e("div",{staticClass:"price-box"},[e("span",{staticClass:"label uppercase"},[t._v(t._s(t.$L("Total_price"))+":  ")]),e("span",{staticClass:"price",domProps:{innerHTML:t._s(t.$currencyConversion(t.$money,t.$Price(t.totalPrice)))}})]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.addToCartLoaing,expression:"addToCartLoaing"}],staticClass:"add-to-cart",on:{click:t.clickAddToCart}},[t._v(" "+t._s(t.$L("add_selected_to_cart"))+" ")])]):t._e(),e("ul",{staticClass:"selector-list-box"},[e("li",{staticClass:"selector-item first"},[e("buyItemSelect",{ref:"firstBuyItemSelect",attrs:{first:!0,attrTotalPrice:t.attrTotalPrice,product:t.product},on:{checkboxChange:function(e){return t.checkboxChange(e,"first")},changeSelectItemOption:t.changeSelectItemOption,changeCustomeowImage:t.changeCustomeowImage}})],1),t._l(t.groupBuyList,(function(s,i){return e("li",{key:i,staticClass:"selector-item"}
1,[e("buyItemSelect",{ref:"buyItemSelectItem",refInFor:!0,attrs:{product:s},on:{upDatePrice:function(e){return t.upDatePrice(e,i)},confirm:function(e){return t.selectProduct(e,i)},checkboxChange:function(e){return t.checkboxChange(e,i)},setGroupBuyListCustomeowInfo:function(e){return t.setGroupBuyListCustomeowInfo(e,i)}}})],1)}))],2)])},o=[],r=s(85444),a=s(64608),n=s(67752),c=s(10001),l=s(1163),u=s(37007),d=s(16164),p={name:"groupBuy",mixins:[l.Z,u.Z,d.Z],components:{buyItemSelect:()=>s.e(98606).then(s.bind(s,98606))},props:{attrTotalPrice:{type:Number|String},selectedProduct:{type:Object},product:{type:Object}},data(){return{addToCartLoaing:!1,groupBuyList:[],firstSelected:!0,isSelectedArr:[],totalPrice:"",firstCustomeowImage:{}}},watch:{attrTotalPrice:{handler(){this.setTotalPrice()},deep:!0,immediate:!0},selectedProduct:{handler(){this.setTotalPrice()},deep:!0,immediate:!0}},computed:{isLasTheme(){var t,e,s;let i=(null===(t=window)||void 0===t||null===(e=t.baseData)||void 0===e||null===(s=e.default_theme)||void 0===s?void 0:s.theme_identity)||"";return"theme_b2c_las"===i}},mounted(){this.$nextTick((()=>{this.setTotalPrice(),this.setGroupBuyList()}))},methods:{async clickAddToCart(){this.addToCartLoaing=!0,this.$refs["buyItemSelectItem"];let t=!0,e=[];
1if(this.groupBuyList.length){for(let t=0;t<this.groupBuyList.length;t++)this.groupBuyList[t].isSelected&&e.push(this.$refs["buyItemSelectItem"][t]);if(e.length)for(let s=0;s<e.length;s++)e[s],!e[s].isCustomeowSkuPerm&&e[s].isAdditionAttrShow&&(e[s].addition_attr||(this.addToCartLoaing=!1,t=!1,e[s].setShowAttrErrorMsg(),e[s].scroll_view())),e[s].isCustomeowSkuShow&&(e[s].customeowConfirmData&&e[s].customeowConfirmData.customInfoId||(this.addToCartLoaing=!1,t=!1,e[s].setShowCustomeowErrorMsg(),e[s].scroll_view()))}let s=!0,i=[];if(this.firstSelected){if(i={product_id:this.selectedProduct.product_id,variant_id:this.selectedProduct.id,qty:this.$parent.$refs["Quantity"].getQty()||1},this.$parent,this.$parent.isAdditionAttrShow&&!this.$parent.isCustomeowSkuShow){let t=!0;this.$parent.$refs["lifu_text_color_custom"]&&(t=this.$parent.$refs["lifu_text_color_custom"].submit());let e=this.$parent.$refs["AdditionAttrItem"].submit();e&&t||(this.$parent.$refs["AdditionAttrItem"].scroll_view(),this.addToCartLoaing=!1,s=!1),t.id&&(Array.isArray(e)?e.unshift(t):e=[t]),i.addition_attr=e,this.$parent.variantFoldDrawerShow=!1}if(this.$parent.isCustomeowSkuShow){var o,r;let t=(null===(o=this.product)||void 0===o||null===(r=o.customeow_info)||void 0===r?void 0:r.skus)||[];t&&t.length>0&&t.includes(this.selectedProduct.sku)&&(this.$refs["firstBuyItemSelect"],this.$refs["firstBuyItemSelect"].customeowConfirmData&&this.$refs["firstBuyItemSelect"].customeowConfirmData.customInfoId?i["customeow_data"]=this.$refs["firstBuyItemSelect"].customeowConfirmData:(this.addToCartLoaing=!1,this.$refs["firstBuyItemSelect"].setShowCustomeowErrorMsg(),this.$refs["firstBuyItemSelect"].scroll_view(),s=!1))}}t&&s?(this.firstSelected&&s&&await this.addToCartFn(i),e.length&&t&&await this.addToCartFnList(e),this.addToCartLoaing=!1,this.$parent.addToCartSuccess()):this.addToCartLoaing=!1},addToCartFnList(t){return new Promise((async(e,s)=>{let i=this,o=0;async function r(){let s={product_id:t[o].selectProduct.product_id,variant_id:t[o].selectProduct.id,qty:1};!t[o].isCustomeowSkuPerm&&t[o].isAdditionAttrShow&&t[o].addition_attr&&(s.addition_attr=t[o].addition_attr),t[o].isCustomeowSkuShow&&(s["customeow_data"]=t[o].customeowConfirmData),await i.addToCartFn(s),o+1<t.length?(o++,r()):e()}r()}))},addToCartFn(t){return new Promise((e=>{(0,a.kL)(t).then((t=>{if(t.data&&t.data.error_code)return void this.$parent.showErrorMsg(t.data);let s=this.selectedProduct;if(s.product_title=this.product.f_title?this.product.f_title:this.product.title,this.addToCartTiktok(s,this.$parent.$refs["Quantity"].getQty()),this.AddToCartFb(this.$parent.$refs["Quantity"].getQty(),this.selectedProduct.price),this.$parent.addToCartAnalysis(this.selectedProduct),(0,n.An)(this.selectedProduct,this.$parent.$refs["Quantity"].getQty(),"product"),this.product.f_title&&(this.selectedProduct["product_title"]=this.product.f_title),(0,c.az)(this.selectedProduct,this.$parent.$refs["Quantity"].getQty()),this.advCart){var i=()=>{t||(t=!0,e())};setTimeout(i,1e3);let t=!1;for(let e=0;e<this.advCart.length;e++)try{gtag("event","conversion",{send_to:this.advCart[e],event_callback:i})}catch(o){console.error("addToCart:",o)}return!1}e()})).catch((t=>{"101000010"==t.code?this.$toast.success(this.$L("Add_to_cart_fail")):"101000011"==t.code?this.$toast.error(this.$L("The_product_is_not_available")):"101000012"!=t.code&&"101000013"!=t.code||this.$toast.error(t.message),this.addToCartLoaing=!1}))}))},setTotalPrice(){this.$log("setTotalPrice",this.groupBuyList);let t=0;if(this.firstSelected&&this.selectedProduct.price){t=this.selectedProduct.price;let e=this.attrTotalPrice||0;e&&(t=e)}this.groupBuyList;let e=-1;for(let s=0;s<this.groupBuyList.length;s++)this.groupBuyList[s].isSelected?(this.groupBuyList[s].isShowIcon=!0,t=(0,r.p4)(t,this.groupBuyList[s].selectPrice)):this.groupBuyList[s].isShowIcon=!1,this.groupBuyList[s].isSelected&&-1===e&&(e=s);!this.firstSelected&&this.groupBuyList&&this.groupBuyList[e]&&(this.groupBuyList[e].isShowIcon=!1),this.totalPrice=t},selectProduct(t,e){this.$set(this.groupBuyList[e],"selectPrice",t.price),this.groupBuyList.splice(),this.setTotalPrice()},setGroupBuyListCustomeowInfo(t,e){this.$set(this.groupBuyList[e],"customeowConfirmData",t)},upDatePrice(t,e){this.$set(this.groupBuyList[e],"selectPrice",t),this.groupBuyList.splice(),this.setTotalPrice(),this.groupBuyList},showIconItem(t){if(this.groupBuyList.length&&!this.groupBuyList(t+2))return!0},setGroupBuyList(){var t,e;let s=(null===(t=window)||void 0===t||null===(e=t.pageData)||void 0===e?void 0:e.group_buy)||[];for(let i=0;i<s.length;i++)s[i].isSelected=!0,s[i].isShowIcon=!0,s[i].selectPrice="";this.groupBuyList=s,this.groupBuyList},checkboxChange(t,e){this.$log("checkboxChange",t,e),"first"===e?this.firstSelected=t:(this.$set(this.groupBuyList[e],"isSelected",t),this.groupBuyList.splice()),this.setTotalPrice()},changeSelectItemOption(t,e,s){this.$emit("changeSelectItemOption",t,e,s)},changeCustomeowImage(t){this.firstCustomeowImage=t},selectItem(t,e,s){this.$refs["firstBuyItemSelect"].selectItem(t,e,s)}}},h=p,m=s(1001),g=(0,m.Z)(h,i,o,!1,null,"39a0dfa2",null),_=g.exports},39294:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var i=function(){var t=this,e=t._self._c;return t.showProdListAttr&&t.listAttr.length?e("ul",{staticClass:"prod-list-attr",style:{"--color_line_attr":t.line_color}},t._l(t.listAttr,(function(s,i){return e("li",{key:i},[t._v(t._s(t.$T(s.text,s.lang_params.text)))])})),0):t._e()},o=[],r={name:"prodListAttr",props:{listAttr:{type:Array,default:()=>[]},card:{type:Object,default:()=>{}}},computed:{showProdListAttr(){var t;let e=(null===(t=window)||void 0===t?void 0:t.baseData)||this.$store.state.decorate.baseData||{};return!(!e.block_price||2!=e.block_price.list_desc_status)||(!e.block_price||1!=e.block_price.status||1!=e.block_price.type&&(2!=e.block_price.type||!!this.isLogined))},line_color(){var t,e;return(null===(t=this.card)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.line_color)||"#e5e5e5"}},data(){return{}},created(){},methods:{}},a=r,n=s(1001),c=(0,n.Z)(a,i,o,!1,null,"fd0fd86c",null),l=c.exports},45435:function(t,e,s){s.r(e),s.d(e,{default:function(){return d}});var i=function(){var t=this,e=t._self._c;return t.isShowProdfavorite?e("div",[t.isShowProdfavorite?e("div",{staticClass:"favorite-icon",class:{active:t.isHaveCollected},on:{click:t.clickFavoriteIcon}}
1,[e("i",{staticClass:"iconfont icon-1 icon-shoucangxin-xianxing"}),e("i",{staticClass:"iconfont icon-2 icon-shoucangxin"})]):t._e()]):t._e()},o=[],r=s(48902),a=s(90408),n={name:"prodfavoriteIcon.vue",props:{product:{type:Object,default:()=>({id:""})}},data(){return{favoriteCountList:[],clickLoading:!1}},created(){},computed:{...(0,a.rn)("shopInfo",{wishlistList:t=>t.wishlistList}),isShowProdfavorite(){var t;let e=(null===(t=window)||void 0===t?void 0:t.baseData)||this.$store.state.decorate.baseData||{};return e.prodfavorite},isHaveCollected(){return this.wishlistList.includes(this.product.id)}},methods:{clickFavoriteIcon(){if(this.product,this.clickLoading)return;let t=r.Cd;this.isHaveCollected&&(t=r._7),this.clickLoading=!0,t({product_id:this.product.id}).then((t=>{setTimeout((()=>{this.clickLoading=!1}),1e3)})).catch((()=>{setTimeout((()=>{this.clickLoading=!1}),1e3)}))}}},c=n,l=s(1001),u=(0,l.Z)(c,i,o,!1,null,"81a606a0",null),d=u.exports},70043:function(t,e,s){s.r(e),s.d(e,{default:function(){return m}});var i=function(){var t=this,e=t._self._c;return t.boxShow?e("div",{staticClass:"prod-shipping-box",style:t.diy_color},[e("ul",{staticClass:"shipping-box",class:{"pt-10":t.isCloseFreight}},[t.isCloseFreight?t._e():e("li",{staticClass:"cost-box",class:{"border-bottom":t.shippingInfoArr.length},staticStyle:{"padding-top":"20px","padding-bottom":"16px"}},[e("div",{staticClass:"left-icon"},[1==t.shippingConfig.icon_type?e("i",{staticClass:"iconfont",class:t.shippingConfig.icon_value}):t._e()]),e("div",{staticClass:"right-content"},[e("div",{staticClass:"sp-header"},[e("div",{staticClass:"sp-title"},[e("span",{staticClass:"uppercase",staticStyle:{display:"inline-block",transform:"translateY(2px)"}},[t._v(t._s(t.$L("ps_ships_to")))]),e("div",{staticClass:"sp-location pointer",on:{click:t.clickShowDialog}},[e("i",{staticClass:"iconfont icon-address"}),t._v(" "+t._s(t.shippingCountryName)+" "),t.shippingState&&t.shippingStateName?[t._v(","+t._s(t.shippingStateName))]:t._e()],2)]),e("div",{staticClass:"sp-target"},[t.shippingConfig.url?e("a",{attrs:{href:t.shippingConfig.url,target:"_blank"}},[e("i",{staticClass:"el-icon-arrow-right"})]):t._e()])]),t.shippingCost.shipping_name&&!t.getLoading?e("div",{staticClass:"sp-shipping-price uppercase"},[t._v(" "+t._s("string"===typeof t.shippingCost.shipping_name?t.shippingCost.shipping_name:t.$T(t.shippingCost.shipping_name.text,t.shippingCost.shipping_name.lang_params))+" : "),t.$showPrice?e("span",{domProps:{innerHTML:t._s(t.$currencyConversion(t.$money,t.$Price(t.shippingCost.curr_shipping_cost)))}}):t._e()]):t._e(),t.shippingCost.shipping_name||t.getLoading?t._e():e("div",{staticClass:"sp-desc no-shipping uppercase"},[t._v(" "+t._s(t.$L("ps_no_matching_shipping"))+" ")])])]),t._l(t.shippingInfoArr,(function(s,i){return e("li",{key:i,staticClass:"cost-box"},[e("div",{staticClass:"left-icon"},[e("i",{staticClass:"iconfont",class:s.icon_value})]),e("div",{staticClass:"right-content"},[e("div",{staticClass:"sp-header"},[e("div",{staticClass:"sp-title"},[e("span",{staticClass:"uppercase",staticStyle:{display:"inline-block"}},[t._v(t._s(t.$T(s.title.name,s.title.lang_params)))])]),e("div",{staticClass:"sp-target"},[s.url?e("a",{attrs:{href:s.url,target:"_blank"}},[e("i",{staticClass:"el-icon-arrow-right"})]):t._e()])]),e("div",{staticClass:"sp-desc uppercase"},[t._v(" "+t._s(t.$T(s.note.name,s.note.lang_params))+" ")])])])}))],2),e("el-dialog",{attrs:{"before-close":t.beforeClose,visible:t.dialogVisible,"append-to-body":!0,"custom-class":"prod-shipping-dialog"},on:{"update:visible":function(e){t.dialogVisible=e}}},[t.dialogVisible?e("div",{staticClass:"prod-shipping--info"},[e("div",{staticClass:"prod-shipping-icon el-icon-close",on:{click:t.closeDialog}}),e("div",{staticClass:"change-country-box"},[e("div",{staticClass:"change-country-title uppercase"},[t._v(" "+t._s(t.$L("ps_ships_to"))+" ")]),e("div",{staticClass:"change-country-input"},[e("div",{staticClass:"arr-list"},[e("select",{staticClass:"selectBox",domProps:{value:t.templateCountryCode},on:{change:t.selectCountryItem}},t._l(t.allCountryList,(function(s,i){return e("option",{key:i,domProps:{value:s.code}},[t._v(" "+t._s(s.name)+" ")])})),0)])]),t.allProvincesList.length?e("div",{staticClass:"change-country-input"},[e("div",{staticClass:"arr-list"},[e("select",{staticClass:"selectBox",domProps:{value:t.templateProvinceCode},on:{change:t.selectProvinceItem}},t._l(t.allProvincesList,(function(s,i){return e("option",{key:i,domProps:{value:s.code}},[t._v(" "+t._s(s.name)+" ")])})),0)])]):t._e(),e("div",{staticClass:"submit-box",on:{click:t.clickContinue}},[e("span",{staticClass:"uppercase",staticStyle:{display:"inline-block"}},[t._v(t._s(t.$L("ps_apply")))])])])]):t._e()])],1):t._e()},o=[],r=s(45243);let a=(t,e)=>(0,r.Z)({url:t,method:"get",params:e}),n=t=>a("/capi/apps/prodshipping/product/shipping-info",t);var c=s(32746),l=s(5526),u={name:"prodshipping",props:{selectedProduct:{type:Object}},data(){return{isCloseFreight:!1,dialogVisible:!1,getLoading:!0,boxShow:!1,shippingCountryCode:"",shippingCountryName:"",shippingState:"",shippingStateName:"",shippingConfig:{},shippingCost:{}
1,shippingInfoArr:[],allCountryList:[],allProvincesList:[],expirationTime:36e5,templateCountryCode:"",templateProvinceCode:"",lastTimeCode:""}},created(){},watch:{selectedProduct:{handler(t){t.id&&this.getData()},immediate:!0}},computed:{diy_color(){var t,e,s,i,o,r,a,n,c,l;return{"--prodshipping-primary-color":(null===(t=this.shippingConfig)||void 0===t||null===(e=t.diy_color)||void 0===e?void 0:e.primary_color)||"#288aeb","--prodshipping-label-color":(null===(s=this.shippingConfig)||void 0===s||null===(i=s.diy_color)||void 0===i?void 0:i.label_color)||"#000000","--prodshipping-text-color":(null===(o=this.shippingConfig)||void 0===o||null===(r=o.diy_color)||void 0===r?void 0:r.text_color)||"#666666","--prodshipping-background-color":(null===(a=this.shippingConfig)||void 0===a||null===(n=a.diy_color)||void 0===n?void 0:n.background_color)||"#f9f9f9","--prodshipping-border-color":(null===(c=this.shippingConfig)||void 0===c||null===(l=c.diy_color)||void 0===l?void 0:l.border_color)||"#dddddd"}}},methods:{clickShowDialog(){this.getCountryList(),this.getProvinceList(this.shippingCountryCode),this.templateCountryCode=this.shippingCountryCode,this.templateProvinceCode=this.shippingState,this.dialogVisible=!0},clickContinue(){localStorage.setItem("shipping_country_code",this.templateCountryCode),localStorage.setItem("shipping_state",this.templateProvinceCode),this.templateProvinceCode||(this.shippingStateName=""),this.getData(),this.dialogVisible=!1},selectCountryItem(t){let e=t.target.value;this.templateCountryCode=e,this.templateProvinceCode="",this.getProvinceList(e)},selectProvinceItem(t){let e=t.target.value;this.templateProvinceCode=e},getData(){this.getLoading=!0,this.boxShow=!0,this.$log("插件-商品详情页运费计算-获取运费",this.selectedProduct),this.getLocationCode();let t={product_id:this.selectedProduct.product_id,variant_price:this.selectedProduct.price?Number(this.selectedProduct.price):"",variant_weight:this.selectedProduct.weight?Number(this.selectedProduct.weight):"",variant_weight_unit:this.selectedProduct.weight_unit,country_code:this.shippingCountryCode};this.shippingState&&(t["province_code"]=this.shippingState),this.getSessionSendParams(t).then((t=>{var e,s,i,o,r,a;-1===(null===(e=t.data)||void 0===e||null===(s=e.shipping)||void 0===s?void 0:s.shipping_cost)&&(this.isCloseFreight=!0),this.shippingCost=null!==(i=t.data)&&void 0!==i&&null!==(o=i.shipping)&&void 0!==o&&o.shipping_cost?t.data.shipping.shipping_cost:{},this.shippingConfig=t.data.param,this.shippingInfoArr=Array.isArray(null===(r=t.data)||void 0===r||null===(a=r.shipping)||void 0===a?void 0:a.shipping_info)?t.data.shipping.shipping_info:[],this.$log("运费结果",this.shippingCost,this.shippingInfoArr),this.$log("配置信息",this.shippingConfig),this.getLoading=!1})).catch((()=>{this.getLoading=!1})),this.shippingState},getSessionSendParams(t){return new Promise((e=>{let s=`${t.product_id}_${t.variant_price}_${t.variant_weight_unit}_${t.country_code}`;this.shippingState&&(s+="_"+t["province_code"]),n(t).then((t=>{let i=(new Date).getTime(),o={params:t,_expiration:i};sessionStorage.setItem(s,JSON.stringify(o)),e(t)})).catch((()=>{e(res)}))}))},getLocationCode(){this.$log("获取国家");let t=localStorage.getItem("shipping_country_code"),e=localStorage.getItem("shipping_state"),s=c.Z.get("visit_country_code");this.$log("用户手动选择的国家/省",t,e),this.$log("visit_country_code",s),e&&(this.shippingState=e),t?this.shippingCountryCode=t:s&&"null"!=s?(this.shippingCountryCode=s,this.shippingState=""):(this.shippingCountryCode="US",this.shippingState=""),this.getViewName()},getViewName(){this.getCountryList(),this.shippingState&&this.getProvinceList(this.shippingCountryCode)},getSessionCache(t){let e=this.expirationTime,s=(new Date).getTime(),i=sessionStorage.getItem(t)||!1;return!!i&&(i=JSON.parse(i),s-i._expiration<e&&(this.$log("本地缓存-没有过期",i.params),i.params))},closeDialog(){this.dialogVisible=!1},beforeClose(t){setTimeout((()=>{t()}),600)},getCountryList(){let t=()=>{for(let t=0;t<this.allCountryList.length;t++)if(this.allCountryList[t].code===this.shippingCountryCode){this.shippingCountryName=this.allCountryList[t].name;break}};return new Promise((e=>{this.$store.state.shopInfo.countryList.length?(this.allCountryList=this.$store.state.shopInfo.countryList,t(),e()):(0,l.j4)().then((s=>{this.$store.commit("shopInfo/setCountryList",s.data),this.allCountryList=s.data.billingCountry,t(),e()}))}))},getProvinceList(t){if(this.$log("开始获取省列表",t),t)if(this.lastTimeCode!=t)this.lastTimeCode=t,this.allProvincesList=[],(0,l.HH)({country_code:t}).then((t=>{let e={code:"",name:this.$L("ps_please_select_state_province")},s="";if(t.data.length){for(let e=0;e<t.data.length;e++)if(t.data[e].code===this.shippingState){s=t.data[e].name;break}t.data.unshift(e)}this.dialogVisible||(this.shippingStateName=s),this.allProvincesList=t.data}));else if(this.lastTimeCode===t){let t="";for(let e=0;e<this.allProvincesList.length;e++)if(this.allProvincesList[e].code===this.shippingState){t=this.allProvincesList[e].name;break}this.shippingStateName=t}}}},d=u,p=s(1001),h=(0,p.Z)(d,i,o,!1,null,"182b9c13",null),m=h.exports},59651:function(t,e,s){s.r(e),s.d(e,{default:function(){return d}});var i=function(){var t=this,e=t._self._c;return t.isProd_video&&t.product.videos[t.index]?e("div",{staticClass:"prod_video_play",class:[t.pageData.video.position,t.autosize?"autosize":""],on:{mouseenter:t.videoMouseenter}},[e("div",{on:{click:t.showVideo}},[e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"icon",class:t.pageData.video.size,attrs:{src:t.play_icon,alt:""}})]),t.playVideo&&!t.autosize?e("div",{staticClass:"video_play"},[e("video",{staticClass:"video_play_addon",attrs:{"x5-video-player-type":"h5","x5-playsinline":"","webkit-playsinline":"",autoplay:"",controls:"",playsinline:"",preload:"metadata",muted:"muted",src:t.$media(t.product.videos[t.index].src),alt:t.product.videos[t.index].alt},domProps:{muted:!0}
1})]):t._e()]):t._e()},o=[],r=s(69160),a=s(79372),n={name:"prod_video",props:{index:{type:Number,default:0},autosize:{type:Boolean,default:!1},product:{type:Object,default:()=>{}},autoplay:{type:Boolean,default:!1}},data(){return{play_icon:s(80757),playVideo:!1,MoveToPlay:!1}},created(){},watch:{index:{handler(t){}}},mounted(){this.videoChange(0)},computed:{isProd_video(){var t,e;let s=r.a.call(this,a.K7),i=(null===(t=window)||void 0===t||null===(e=t.pageData)||void 0===e?void 0:e.video)||{},o=this.product.videos&&this.product.videos.length>0;return s&&(null===i||void 0===i?void 0:i.status)&&o},pageData(){return window.pageData||{}}},methods:{videoChange(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.isProd_video&&this.product.videos&&this.product.videos[t]){var e,s,i;let o=(null===(e=window)||void 0===e||null===(s=e.pageData)||void 0===s||null===(i=s.video)||void 0===i?void 0:i.play_type)||1;3===o?(this.showVideo(),this.$nextTick((()=>{var e=document.querySelectorAll(".video_play_addon");e&&e.length&&e[t].play()}))):2===o&&(this.MoveToPlay=!0)}},videoMouseenter(){this.MoveToPlay&&this.showVideo()},showVideo(){this.product,this.playVideo=!0}}},c=n,l=s(1001),u=(0,l.Z)(c,i,o,!1,null,"1b2a8b6c",null),d=u.exports},80421:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rebate-product-detail",class:{"pr-40":t.showArrowIcon},on:{click:function(e){return e.target!==e.currentTarget?null:t.clickShowDialog.apply(null,arguments)}}},[e("div",{staticClass:"product-detail-rebate-list"},[t._m(0),e("a",{staticClass:"rules-box",attrs:{href:"/rebate/"+t.rebateInfo.id}},[t.rebateInfo.rebate_content&&t.rebateInfo.rebate_content.rules?t._l(t.maxShowNumber,(function(s,i){return e("div",{key:i,staticClass:"item-rules",domProps:{innerHTML:t._s(t.getTypeIsMsg(t.rebateInfo.rebate_content.rules[i]))}})})):t._e()],2),t.showArrowIcon?e("div",{staticClass:"arrow-position",on:{click:t.clickShowDialog}},[e("i",{staticClass:"el-icon-arrow-right",style:{active:t.dialogActive}})]):t._e()]),t.popperShow?e("div",{staticClass:"rebate-list"},[e("div",{staticClass:"rebate-head"},[e("div",{staticClass:"rebate-title"},[t._v(" "+t._s(t.$L("rebate_special_offer")))]),e("i",{staticClass:"el-icon-circle-close",on:{click:t.hiddenDialog}})]),e("div",{staticClass:"rebate-body"},[e("div",{staticClass:"pl-15 pr-15"},[e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"bg",attrs:{src:t.bgTop}}),e("div",{staticClass:"rebate-body-bg"},[e("a",{staticClass:"list-box",attrs:{href:"/rebate/"+t.rebateInfo.id}},t._l(t.rebateInfo.rebate_content.rules,(function(s,i){return e("div",{key:i,staticClass:"item-rule",domProps:{innerHTML:t._s(t.getTypeIsMsg(s))}})})),0)]),e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"bg",attrs:{src:t.bgBottom}})]),e("div",{staticClass:"rebate-foot"},[e("div",{staticClass:"rebate-button",on:{click:t.hiddenDialog}},[t._v(" "+t._s(t.$L("rebate_close"))+" ")])])]),e("div",{staticClass:"rebate-mask",on:{click:function(e){return e.target!==e.currentTarget?null:t.hiddenDialog.apply(null,arguments)}}})]):t._e()])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"icon-box mr-5"},[e("i",{staticClass:"iconfont icon-zhekou"})])}],r={name:"rebateProductDetail",data(){return{dialogActive:!1,popperShow:!1,bgTop:s(86124),bgBottom:s(96453)}},created(){},computed:{rebateInfo(){return window.pageData.rebate},showArrowIcon(){return this.clientIsPhone?this.rebateInfo.rebate_content&&this.rebateInfo.rebate_content.rules&&this.rebateInfo.rebate_content.rules.length>1:this.rebateInfo.rebate_content&&this.rebateInfo.rebate_content.rules&&this.rebateInfo.rebate_content.rules.length>3},maxShowNumber(){if(this.clientIsPhone)return 1;if(!this.clientIsPhone){if(this.rebateInfo.rebate_content&&this.rebateInfo.rebate_content.rules&&this.rebateInfo.rebate_content.rules.length){let t=this.rebateInfo.rebate_content.rules.length;return t>3?3:t}return 0}}},methods:{hiddenDialog(){this.popperShow=!1},clickShowDialog(){this.showArrowIcon&&(this.popperShow=!0)},getTypeIsMsg(t){let e="";return t&&(1==this.rebateInfo.rebate_type?e=this.getType1Msg(t):2==this.rebateInfo.rebate_type?e=this.getType2Msg(t):3==this.rebateInfo.rebate_type?e=this.getType3Msg(t):4==this.rebateInfo.rebate_type?e=this.getType4Msg(t):5==this.rebateInfo.rebate_type&&(e=this.getType5Msg(t))),e},getType1Msg(t){let e=`<b> ${this.$currencyConversion(this.$money,this.$Price(t.buy_amount))}</b>`,s=`<b>${this.$currencyConversion(this.$money,this.$Price(t.discount_amount))}</b>`,i=this.$L("buy_total_more_and_save_derate").replace("{{i_i_total}}",e);return i=i.replace("{{i_i_derate}}",s),i},getType2Msg(t){let e=`<b>${t.buy_count}</b>`,s=`<b>${t.discount_off+"% off"}</b>`,i=this.$L("buy_more_items_save_discount").replace("{{i_i_total}}",e);return i=i.replace("{{i_i_discount}}",s),i},getType3Msg(t){let e=`<b>${t.position}</b>`,s=`<b>${t.discount_off+"% off"}</b>`,i=this.$L("buy_more_items_save_off").replace("{{i_i_position}}",e);return i=i.replace("{{i_i_discount}}",s),i},getType4Msg(t){let e=`<b>${t.buy_count}</b>`,s=`<b>${this.$currencyConversion(this.$money,this.$Price(t.discount_amount))}</b>`,i=this.$L("buy_total_items_and_save_money").replace("{{i_i_count}}",e);return i=i.replace("{{i_i_money}}",s),i},getType5Msg(t){let e=`<b>${t.buy_amount}</b>`,s=`<b>${t.discount_off+"% off"}</b>`,i=this.$L("buy_total_money_and_save_off").replace("{{i_i_total}}",e);return i=i.replace("{{i_i_discount}}",s),i}}},a=r,n=s(1001),c=(0,n.Z)(a,i,o,!1,null,"00b8df34",null),l=c.exports},28221:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"promotion-box",style:t.productInfoBackgroun
1d},[e("div",{staticClass:"rules-view rules-view-between"},[e("div",{staticClass:"promotional-copy"},[e("div",{staticClass:"msg line-2",style:t.productPromotionalCopyStyle},[e("i",{staticClass:"iconfont icon-shandian1"}),e("span",{staticClass:"uppercase"},[t._v(t._s(t.$T(t.info.product_detail_title.name,t.info.product_detail_title.lang_params)||"FLASH SALE"))])])]),t.showTimeStyle?e("div",{staticClass:"time-box"},[e("span",{staticStyle:{"margin-right":"10px"},style:t.productPromotionalCopyStyle},[t._v(t._s(t.$L("seckill_countdown")))]),"2"==t.info.product_detail_color_value.timeType?[e("i",{style:t.productTimeStyle},[t._v(t._s(t.timeOutObj.day||"00"))]),e("span",{staticStyle:{"margin-left":"10px","margin-right":"10px"},style:t.productFontTipLeft},[t._v(t._s(t.$L("seckill_day")))]),e("i",{style:t.productTimeStyle},[t._v(t._s(t.timeOutObj.hour||"00"))]),e("span",{staticStyle:{"font-weight":"bold"},style:t.productFontTipLeft},[t._v(" : ")]),e("i",{style:t.productTimeStyle},[t._v(t._s(t.timeOutObj.minute||"00"))]),e("span",{staticStyle:{"font-weight":"bold"},style:t.productFontTipLeft},[t._v(" : ")]),e("i",{staticClass:"milsecond",style:t.productTimeStyle},[t._v(t._s(t.timeOutObj.second||"00.0"))])]:[e("i",{style:t.productTimeStyle},[t._v(t._s(t.timeOutObj.hour||"00"))]),e("span",{staticStyle:{"font-weight":"bold"},style:t.productFontTipLeft},[t._v(" : ")]),e("i",{style:t.productTimeStyle},[t._v(t._s(t.timeOutObj.minute||"00"))]),e("span",{staticStyle:{"font-weight":"bold"},style:t.productFontTipLeft},[t._v(" : ")]),e("i",{staticClass:"milsecond",style:t.productTimeStyle},[t._v(t._s(t.timeOutObj.second||"00.0"))])]],2):t._e()]),1==t.info.product_detail_sale_bar_status?e("div",{staticClass:"progress-bar-box"},[e("div",{staticClass:"progress-bar",style:t.productProgressBg},[e("div",{staticClass:"progress",style:[t.productProgressStyle,{width:t.getPercentageSold()}]})]),e("div",{staticClass:"progress-msg",style:t.productPromotionalCopyStyle},[e("span",[t._v(" "+t._s(t.$replaceL(t.$L("sec_percentage_sold"),t.getPercentageSold()))+" ")])])]):t._e()])},o=[],r={name:"seckill_addon",data(){return{intervalId:null,timeOutObj:{day:"",hour:"",minute:"",second:"",millisecond:""},defaultBannerColorStyle:{text_color:"#ffffff",countdown_background_color:"#ffffff",countdown_text_color:"#FF5151",underpainting_color1:"#FA4F6C",underpainting_color2:"#F89A56"},productDetailDefultStyle:{text_color:"#ffffff",underpainting_color1:"#FA4F6C",underpainting_color2:"#F89A56",countdown_background_color:"#ffffff",countdown_text_color:"#FF5151"},productDetailSaleBarColorStyle:{color_type:1,sale_bar_background:"#F5F5F5",sale_bar_color_1:"#F89A56",sale_bar_color_2:"#FA4F6C"}}},created(){},mounted(){this.getTimeOut()},computed:{info(){var t,e,s;return(null===(t=window)||void 0===t||null===(e=t.pageData)||void 0===e||null===(s=e.seckill)||void 0===s?void 0:s.seckill_info)||{}},showTimeStyle(){return 1!=this.info.is_long_time},productPromotionalCopyStyle(){return 1===this.info.product_detail_color_type?{color:this.defaultBannerColorStyle.text_color}:{color:this.info.product_detail_color_value.text_color||"ffffff"}},productInfoBackground(){return 1===this.info.product_detail_color_type?{"background-image":`linear-gradient(to right,${this.productDetailDefultStyle.underpainting_color1},${this.productDetailDefultStyle.underpainting_color2} )`}:{"background-image":`linear-gradient(to right,${this.info.product_detail_color_value.underpainting_color1||"#FA4F6C"},${this.info.product_detail_color_value.underpainting_color2||"#F89A56"} )`}},productFontTipLeft(){return 1===this.info.product_detail_color_type?{color:this.productDetailDefultStyle.countdown_background_color}:{color:this.info.product_detail_color_value.countdown_background_color||"#ffffff"}},productProgressBg(){return 1===this.info.product_detail_sale_bar_color_value.color_type?{"background-color":this.productDetailSaleBarColorStyle.sale_bar_background}:{"background-color":this.info.product_detail_sale_bar_color_value.sale_bar_background||"#F5F5F5"}},productProgressStyle(){return 1===this.info.product_detail_sale_bar_c
1olor_value.color_type?{"background-image":`linear-gradient(to right,${this.productDetailSaleBarColorStyle.sale_bar_color_1},${this.productDetailSaleBarColorStyle.sale_bar_color_2} )`}:{"background-image":`linear-gradient(to right,${this.info.product_detail_sale_bar_color_value.sale_bar_color_1||"#F89A56"},${this.info.product_detail_sale_bar_color_value.sale_bar_color_2||"#FA4F6C"} )`}},productTimeStyle(){return 1===this.info.product_detail_color_type?{background:this.productDetailDefultStyle.countdown_background_color,color:this.productDetailDefultStyle.countdown_text_color}:{background:this.info.product_detail_color_value.countdown_background_color||"#ffffff",color:this.info.product_detail_color_value.countdown_text_color||"#FF5151"}}},methods:{getTimeOut(){2===this.info.is_long_time&&(clearInterval(this.intervalId),this.updateCountdown(),this.intervalId=setInterval(this.updateCountdown,10))},updateCountdown(){const t=(new Date).getTime();let e=new Date(this.info.end_at).getTime();const s=e-t;if(s<0)clearInterval(this.intervalId);else if(this.info.product_detail_color_value&&"2"==this.info.product_detail_color_value.timeType){let t=Math.floor(s/864e5),e=Math.floor(s%864e5/36e5),i=Math.floor(s%36e5/6e4),o=Math.floor(s%6e4/1e3),r=Math.floor(s%1e3);r=String(r).substring(0,1),this.timeOutObj={day:t,hour:e<10?"0"+e:e,minute:i<10?"0"+i:i,second:o<10?"0"+o+"."+r:o+"."+r,millisecond:r}}else if(this.info.product_detail_color_value&&"1"==this.info.product_detail_color_value.timeType){let t=Math.floor(s/1e3/60/60),e=Math.floor(s/1e3/60%60),i=Math.floor(s/1e3%60),o=Math.floor(s%1e3);o=String(o).substring(0,1),this.timeOutObj={hour:t<10?"0"+t:t,minute:e<10?"0"+e:e,second:i<10?"0"+i+"."+o:i+"."+o,millisecond:o}}},getPercentageSold(){var t,e,s,i;let o=0,r=(null===(t=window)||void 0===t||null===(e=t.pageData)||void 0===e||null===(s=e.seckill)||void 0===s?void 0:s.seckill_product)||[];return o=(null===(i=r[0])||void 0===i?void 0:i.default_sale_count)||"0",o+"%"}},beforeDestroy(){clearInterval(this.intervalId)}},a=r,n=s(1001),c=(0,n.Z)(a,i,o,!1,null,"1b366331",null),l=c.exports},45677:function(t,e,s){s.r(e),s.d(e,{default:function(){return u}});var i=function(){var t=this,e=t._self._c;return t.showModule?e("div",{staticClass:"product-security-current"},[e("div",{staticClass:"product-security-box pointer",style:{"border-left-color":t.securityConfig.color},on:{click:t.showDialog}},[e("div",{staticClass:"product-security-header"},[t.securityConfig.title?e("div",{staticClass:"product-security-header-left",style:{color:t.securityConfig.color}},[e("i",{staticClass:"iconfont",class:t.securityConfig.showIcon}),e("span",[t._v(" "+t._s(t.$T(t.securityConfig.title.name,t.securityConfig.title.lang_params)))])]):t._e(),e("div",{staticClass:"product-security-header-right"},[t._v(" "+t._s(t.domainHost)+" ")])]),t.securityCurrent.title?e("div",{staticClass:"product-security-body"},t._l(t.securityCurrent.title,(function(s,i){return e("div",{key:i,staticClass:"security-text-item"},[e("span",{staticClass:"label"},[t._v(t._s(t.$T(s.title,s.lang_params.title)))]),e("span",{staticClass:"text"},[t._v(t._s(t.$T(s.description,s.lang_params.description)))])])})),0):t._e()])]):t._e()},o=[],r=s(23191),a={name:"productSecurity",mixins:[r.Z],data(){return{}},created(){},computed:{domainHost(){return location.host},clientIsPad(){return this.$store.state.decorate.clientIsPad},securityCurrent(){var t,e,s,i;return(null===(t=window)||void 0===t||null===(e=t.baseData)||void 0===e||null===(s=e.py_info)||void 0===s||null===(i=s.security)||void 0===i?void 0:i.current[0])||{}},showModule(){let t=this.$route.name;if(!t||"product"!==t)return!1;let e=this.securityCurrent.client_type||[];return this.clientIsPad?e.includes(3):this.clientIsPhone?e.includes(2):e.includes(1)}},methods:{showDialog(){this.$store.commit("addons/setNetsecurityDialogStatus",!1),setTimeout((()=>{this.$store.commit("addons/setNetsecurityDialogStatus",!0)}),20)}}},n=a,c=s(1001),l=(0,c.Z)(n,i,o,!1,null,"bb51c9dc",null),u=l.exports},42558:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var i=function(){var t=this,e=t._self._c;return t.trustBadgeList&&t.trustBadgeList.length?e("div",{staticClass:"common-trus-badge"},[t._l(t.trustBadgeList,(function(s,i){return[e("div",{staticClass:"flex",style:t.getCustomStyle(s)},[t.boxIsShow(s)?e("div",{key:i,staticClass:"badge-flex-box",style:[{"max-width":t.getMaxWidth(s)}]},[e("div",{staticClass:"badge-title",style:{color:s.title_color}},[e("span",[t._v(t._s(t.$T(s.title.name,s.title.lang_params)))])]),e("div",{staticClass:"badge-icon-list",class:[{"large-icon":3===s.size_type},{"small-icon":2===s.size_type}]},t._l(s.icon,(function(i,o){return e("div",{staticClass:"icon-item",class:{border:3===s.icon_type}},[e("img",{class:{margin:3===s.icon_type},attrs:{src:t.$public(i),alt:""}})])})),0),1==s.show_detail_type?e("div",{staticClass:"detail-blank"},[e("a",{attrs:{disabled:"",href:s.detail_url,target:"_blank"}},[t._v(" "+t._s(t.$T(s.detail_title.name,s.detail_title.lang_params))+" ")])]):t._e()]):t._e()])]}))],2):t._e()},o=[],r={name:"trust_badge",components:{},data(){return{}},created(){},computed:{trustBadgeList(){var t,e,s;let i=(null===(t=window)||void 0===t||null===(e=t.baseData)||void 0===e||null===(s=e.py_info)||void 0===s?void 0:s.trust)||[];return i},clientIsPad(){return this.$store.state.decorate.clientIsPad}},methods:{getCustomStyle(t){let e={"justify-content":"flex-start"};return 2==t.width_type&&(1==t.align_type?e["justify-content"]="flex-start":3==t.align_type?e["justify-content"]="flex-end":e["justify-content"]="center"),e},boxIsShow(t){let e=t.client_type||[];return this.clientIsPad?(e.includes(3),e.includes(3)):this.clientIsPhone?(e.includes(2),e.includes(2)):(e.includes(1),e.includes(1))},getMaxWidth(t){return 2==t.width_type&&t.width_max?t.width_max+"px":"100%"}}},a=r,n=s(1001),c=(0,n.Z)(a,i,o,!1,null,"8d098e8e",null),l=c.exports},7734:function(t,e,s){s.r(e),s.d(e,{default:function(){return p}});var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"show-div-box"},[1==t.showSizeChartStatus||2==t.showSizeChartStatus?e("div",{staticClass:"sizechart-button",on:{click:t.showDialog}},[e("div",{staticClass:"icon-box"},[1==t.iconType?e("i",{staticClass:"iconfont",class:t.iconPath}):e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],attrs:{src:t.$media(t.iconPath),alt:"",loading:"lazy"}})]),e("span",{staticClass:"sizechart-name"},[t._v(t._s(t.$T(t.getSizeInfo.icon_name.name,t.getSizeInfo.icon_name.language)))])]):t._e()]),1==t.showSizeChartStatus||2==t.showSizeChartStatus?e("el-dialog",{staticClass:"c-sizechart-dialog",attrs:{title:t.$T(t.getSizeInfo.icon_name.name,t.getSizeInfo.icon_name.language),"append-to-body":!0,"custom-class":"sizechart-dialog",visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("div",{staticClass:"box-card"},t._l(t.sizeInfoList,(function(s,i){return e("div",{key:i,staticClass:"card-content-item"},["image"===s.type?[e("el-image",{staticStyle:{width:"100%"},attrs:{src:t.$media(s.image)}},[e("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture"}),e("p",[t._v(t._s(t.$L("please_select_picture")))])])])]:"text"===s.type?[s.value.text?e("div",[t._v(t._s(t.$T(s.value.text,s.value.languages)
1))]):t._e()]:"table"===s.type?[e("div",{staticClass:"table-view"},[e("div",{staticClass:"table-header"},[s.header.name?e("span",{staticClass:"header-title"},[t._v(t._s(t.$T(s.header.name,s.header.languages)))]):t._e(),1===s.units_conversion_status?e("div",{staticClass:"size-chart-convert"},[e("span",{staticClass:"default-size",class:{"active-size":!t.showConvert},on:{click:function(e){return t.showUnitsConversion(1,i)}}},[t._v(t._s(s.units_default))]),e("span",{staticClass:"convert-size",class:{"active-size":t.showConvert},on:{click:function(e){return t.showUnitsConversion(2,i)}}},[t._v(t._s(s.units_conversion))])]):t._e()]),e("div",{staticClass:"edit-table",staticStyle:{width:"100%"}},[s.tables&&s.tables.tables?e("table",t._l(s.tables.tables,(function(s,i){return e("tr",{key:i},t._l(s,(function(s,i){return e("td",{key:i},[t.showConvert&&s.key2?e("div",{staticClass:"td-text"},[t._v(" "+t._s(t.$T(s.key2,s.languages2))+" ")]):e("div",{staticClass:"td-text"},[t._v(" "+t._s(t.$T(s.key,s.languages)))])])})),0)})),0):t._e()]),s.footer.name?e("div",{staticClass:"table-footer"},[t._v(" "+t._s(t.$T(s.footer.name,s.footer.languages))+" ")]):t._e()])]:t._e()],2)})),0)]):t._e()],1)},o=[],r=s(85444),a=(s(48902),s(69160)),n=s(79372),c={name:"SizeChart",data(){return{dialogVisible:!1,showConvert:!1,sizeChartInfo:{types:[],details:{}},sizechartGetInits:{length:{},volume:{},weight:{}},getSizeInfo:{},sizeInfoList:[]}},created(){var t,e,s,i,o;this.getSizeInfo=(null===(t=window.pageData)||void 0===t?void 0:t.size_chart)||{},this.sizeInfoList=(null===(e=window.pageData)||void 0===e||null===(s=e.size_chart)||void 0===s?void 0:s.size_info)||[],this.sizechartGetInits=(null===(i=window.pageData)||void 0===i||null===(o=i.size_chart)||void 0===o?void 0:o.convert_units)||{}},computed:{showSizeChartStatus(){let t=a.a.call(this,n.hf),e=window.pageData.size_chart||{};return t&&e.position},iconType(){var t,e;return(null===(t=window.pageData)||void 0===t||null===(e=t.size_chart)||void 0===e?void 0:e.icon_type)||1},iconPath(){if(1===this.iconType){var t,e,s;let i=null===(t=window.pageData)||void 0===t||null===(e=t.size_chart)||void 0===e||null===(s=e.icon_name)||void 0===s?void 0:s.iconType,o="";switch(i){case 1:o="icon-biaochi1";break;case 2:o="icon-chi";break;case 3:o="icon-juliceliang1";break;case 4:o="icon-yuanchi";break;case 5:o="icon-juliceliang";break;case 6:o="icon-fangda2";break}return o}var i,o;return null===(i=window.pageData)||void 0===i||null===(o=i.size_chart)||void 0===o?void 0:o.icon_image}},methods:{showDialog(){this.dialogVisible=!0,this.sizeInfoList},showUnitsConversion(t,e){let s=this.sizeInfoList[e],i=s.units_type,o=s.units_default,r=s.units_conversion,a=this.sizechartGetInits[i];if(1===t){if(this.showConvert){let t=a[r][o];s.tables.tables=this.computedTableVal(s.tables.tables,t),this.showConvert=!1}}else{if(s.tables.tables&&Array.isArray(s.tables.tables)){let t=a[o][r];s.tables.tables=this.computedTableVal(s.tables.tables,t)}this.showConvert=!0}this.sizeInfoList[e]=s,this.sizeInfoList.splice()},computedTableVal(t,e){let s=JSON.parse(JSON.stringify(t));return s.forEach((t=>{t.forEach((t=>{t["key2"]="",t["languages2"]={},Number(t.key)&&(t.key2=(0,r.pc)(t.key,e),t.key2=t.key2.toFixed(2),t.key2=Number(t.key2))}))})),s}}},l=c,u=s(1001),d=(0,u.Z)(l,i,o,!1,null,"153f2877",null),p=d.exports},98863:function(t,e,s){s.r(e),s.d(e,{default:function(){return p}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"third-buy-box"},[1==t.show_type?[t._l(t.buttonList,(function(s,i){return[e("div",{key:i,staticClass:"third-buy-button",style:{"background-color":t.getButtonBG(s)},on:{click:function(e){return t.clickBuyButton(s)}}},["custom"===t.thirdBuyPlatformsInfo[s.platform_id].type?e("span",{},[t._v(" "+t._s(t.$T(t.getButtonText(s).name,t.getButtonText(s).lang_params)))]):t._e(),"custom"!==t.thirdBuyPlatformsInfo[s.platform_id].type?e("span",{staticClass:"first"},[t._v(" "+t._s(t.getButtonText(s))+" ")]):t._e(),t.getButtonInfo(s).img?e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"icon-img",attrs:{src:t.$media(t.getButtonInfo(s).img),alt:""}}):t._e(),t.getButtonInfo(s).icon?e("i",{staticClass:"iconfont",class:[t.getButtonInfo(s).icon,t.getButtonInfo(s).code]}):t._e(),t.getButtonInfo(s).icon2?e("i",{staticClass:"iconfont",class:[t.getButtonInfo(s).icon2,t.getButtonInfo(s).code+"2"]}):t._e(),t.getButtonInfo(s).text2?e("span",[t._v(t._s(t.getButtonInfo(s).text2))]):t._e()])]}
1)),e("el-dialog",{attrs:{"append-to-body":!0,title:t.clickCurrentButton.coupon_title,"custom-class":"third-buy-dialog",visible:t.dialogVisible},on:{closed:t.dialogClosed,"update:visible":function(e){t.dialogVisible=e}}},[e("div",{staticClass:"dialog-content-box"},[t.clickCurrentButton.coupon_description?e("div",{staticClass:"coupon-description"},[t._v(" "+t._s(t.$T(t.clickCurrentButton.coupon_description.name,t.clickCurrentButton.coupon_description.lang_params))+" ")]):t._e(),t.subscribeDuccessfully||1!==t.clickCurrentButton.coupon_is_subscribe?t._e():e("div",{staticClass:"mail-subscription"},[e("el-form",{ref:"dynamicValidateForm",attrs:{model:t.dynamicValidateForm}},[1==t.clickCurrentButton.coupon_subscribe_has_name?e("div",{staticClass:"flex flex-align-center",staticStyle:{"justify-content":"space-between"}},[e("el-form-item",{staticClass:"email-firstname",attrs:{prop:"firstName",rules:[{required:!0,message:t.$L("third_buy_enter_first_name"),trigger:"blur"}]}},[e("el-input",{attrs:{placeholder:t.$L("First_name")},model:{value:t.dynamicValidateForm.firstName,callback:function(e){t.$set(t.dynamicValidateForm,"firstName",e)},expression:"dynamicValidateForm.firstName"}})],1),e("el-form-item",{staticClass:"email-lastname",attrs:{prop:"lastName",rules:[{required:!0,message:t.$L("third_buy_enter_last_name"),trigger:"blur"}]}},[e("el-input",{attrs:{placeholder:t.$L("Last_name")},model:{value:t.dynamicValidateForm.lastName,callback:function(e){t.$set(t.dynamicValidateForm,"lastName",e)},expression:"dynamicValidateForm.lastName"}})],1)],1):t._e(),e("el-form-item",{attrs:{prop:"email",rules:[{required:!0,message:t.$L("Email_Tip"),trigger:"blur"},{type:"email",message:t.$L("Email_Error"),trigger:["blur"]}]}},[e("el-input",{attrs:{placeholder:t.$L("Email_Tip")},model:{value:t.dynamicValidateForm.email,callback:function(e){t.$set(t.dynamicValidateForm,"email",e)},expression:"dynamicValidateForm.email"}})],1)],1),e("div",{staticClass:"email-button pointer",on:{click:t.submitEmail}},[t._v(" "+t._s(t.$T(t.clickCurrentButton.coupon_subscribe_button_title.name,t.clickCurrentButton.coupon_subscribe_button_title.lang_params))+" ")])],1),t.showCopyCode?e("div",{staticClass:"coupon-code-box"},[t.clickCurrentButton.coupon_code?[e("div",{staticClass:"coupon-code"},[e("div",{staticClass:"code-number"},[t._v(t._s(t.clickCurrentButton.coupon_code))]),e("div",{staticClass:"code-copy pointer",on:{click:function(e){return t.copyText(t.clickCurrentButton.coupon_code)}}},[t._v(" "+t._s(t.$L("third_buy_copy"))+" ")])])]:[e("div",{staticClass:"coupon-invalid"},[e("i",{staticClass:"iconfont icon-youhuiquan1"}
1),e("span",[t._v(t._s(t.$L("third_buy_coupon_is_invalid")))])])]],2):t._e(),e("div",{staticClass:"button-line"},[1===t.clickCurrentButton.coupon_is_subscribe?e("span",[t._v(t._s(t.$L("OR")))]):t._e()]),e("div",{staticClass:"coupon-bottom-button",style:{background:t.couponBottomButtonBg},on:{click:t.toPlatform}},[t._v(" "+t._s(t.clickCurrentButton.coupon_button_title)+" ")])])])]:t._e(),2==t.show_type&&(2==t.popup_type||1==t.popup_type&&t.buttonList.length>0)?[e("div",{staticStyle:{flex:"1"},on:{click:t.clickBuyNow}},[e("div",{staticClass:"fec-btn-dialog fec-btn-buy-now uppercase",class:[t.$themeName]},[t._v(t._s(t.$L("Buy_now"))+" ")])]),e("el-dialog",{attrs:{"append-to-body":!0,title:t.clickCurrentButton.coupon_title,"custom-class":`third-buy-dialog-2 ${t.$themeName}`,visible:t.dialogVisible},on:{closed:t.dialogClosed,"update:visible":function(e){t.dialogVisible=e}}},[e("ul",{staticClass:"dialog-content-box"},[t._l(t.buttonList,(function(s,i){return e("li",{key:i,staticClass:"item-third-button"},[e("div",{staticClass:"left-logo"},[t.getButtonInfo(s).img?e("img",{directives:[{name:"referrer-policy",rawName:"v-referrer-policy"}],staticClass:"icon-img",style:{"background-color":t.getImgBGType2(s)},attrs:{src:t.$media(t.getButtonInfo(s).img),alt:""}}):t._e(),t.getButtonInfo(s).icon?e("i",{staticClass:"iconfont",class:[t.getButtonInfo(s).icon,t.getButtonInfo(s).code],style:{color:t.getButtonBG(s)}}):t._e(),t.getButtonInfo(s).icon2?e("i",{staticClass:"iconfont",class:[t.getButtonInfo(s).icon2,t.getButtonInfo(s).code+"2"],style:{color:t.getButtonBG(s)}}):t._e()]),e("div",{staticClass:"center-code"},[t._v(" "+t._s(t.getThirdTypeName(s))+" ")]),e("div",{staticClass:"right-button-text",style:{"background-color":t.getButtonBG(s)},on:{click:function(e){return t.clickBuyButton(s)}}},["custom"===t.thirdBuyPlatformsInfo[s.platform_id].type?e("span",{},[t._v(" "+t._s(t.$T(t.getButtonText(s).name,t.getButtonText(s).lang_params)))]):t._e(),"custom"!==t.thirdBuyPlatformsInfo[s.platform_id].type?e("span",{staticClass:"first"},[t._v(" "+t._s(t.getButtonText(s))+" ")]):t._e(),t.getButtonInfo(s).text2?e("span",[t._v(t._s(t.getButtonInfo(s).text2)+" ")]):t._e()])])})),0===t.buttonList.length?e("div",{staticClass:"default-text"},[t._v(" "+t._s(t.$T(t.defaultText.text,t.defaultText.lang_params))+" ")]):t._e()],2),e("div",{staticClass:"footer-button"},[e("el-button",{staticClass:"uppercase fec-btn-dialog fec-close-add",class:[t.$themeName],on:{click:t.closeButton}},[t._v(" "+t._s(t.$L("Cancel"))+" ")])],1)])]:t._e()],2)},o=[],r=s(85444),a=s(71942),n=s(32746),c={name:"third_buy",props:{selectedProduct:{type:Object},product:{type:Object}},data(){return{show_type:"",redirect_type:"",popup_type:"",defaultText:{text:"",lang_params:{}},platform_types:{},dynamicValidateForm:{email:"",firstName:"",lastName:""},subscribeDuccessfully:!1,dialogVisible:!1,clickCurrentButton:{coupon_title:"",coupon_button_title:"",coupon_description:{name:"",lang_params:{}},coupon_code:"",redirect_url:"",coupon_button_color_type:1,coupon_button_color_custom:"",coupon_is_subscribe:2,coupon_subscribe_button_title:"",coupon_subscribe_has_name:2,whatsapp_info:{account:"",coupon:"",message:{name:"",lang_params:{}}}},platformDefaultInfo:{whatsapp:{is_system:!0,background:"#25D366",text:"Chat on",text2:"WhatsApp",icon:"icon-socialwhatsappoutline",code:"whatsapp",name:"WhatsApp"},amazon:{is_system:!0,background:"#131921",text:"Buy on",icon:"icon-yamaxun",code:"amazon",name:"Amazon"},aliexpress:{is_system:!0,background:"#EE4D2D",text:"Buy on",icon:"icon-AliExpress",code:"aliexpress",name:"Aliexpress"},shopee:{is_system:!0,background:"#FF4747",text:"Buy on",icon:"icon-Shopee",code:"shopee",name:"Shopee"},alibaba:{is_system:!0,background:"#FF6000",text:"Buy on",icon:"icon-logo-alibaba-en",code:"alibaba",name:"Alibaba"},jd:{is_system:!0,background:"#E41713",text:"Buy on",icon:"icon-jingdong",icon2:"icon-jingdong-01",code:"jd",name:"JD"},tmall:{is_system:!0,background:"#FF0036",text:"Buy on",icon:"icon-tianmao",icon2:"icon-tianmao1",code:"tmall",name:"Tmall"},lazada:{is_system:!0,background:"#0F156D",text:"Buy on",icon:"icon-LAZADA",code:"lazada",name:"Lazada"},shein:{is_system:!0,background:"#000000",text:"Buy on",icon:"icon-shein-s",icon2:"icon-sheinlogo",code:"shein",name:"Shein"},wish:{is_system:!0,background:"#2EACDD",text:"Buy on",icon:"icon-Wish_64",icon2:"icon-logo-Wish",code:"wish",name:"Wish"},ebay:{is_system:!0,background:"#FF6000",text:"Buy on",icon:"icon-24gf-bag2",icon2:"icon-ebay",code:"ebay",name:"Ebay"},walmart:{is_system:!0,background:"#0071DC",text:"Buy on",img:s(50393),code:"walmart",name:"Walmart"},temu:{is_system:!0,background:"#F47300",text:"Buy on",img:s(99308),code:"temu",name:"Temu"},custom:{is_system:!0,background:"#FF6000",text:"Customize the buy",code:"custom"}}}},computed:{visit_country_code(){let t=n.Z.get("visit_country_code");return t},couponBottomButtonBg(){var t=document.documentElement.style;let e="";if(this.clickCurrentButton,1===this.clickCurrentButton.coupon_button_color_type)if("default_theme"===this.$themeName){var s,i,o,r,a,n,c;let t=(null===(s=window)||void 0===s||null===(i=s.baseData)||void 0===i||null===(o=i.diy_config)||void 0===o||null===(r=o.diy_content)||void 0===r||null===(a=r.cards[0])||void 0===a||null===(n=a.card)||void 0===n||null===(c=n.params)||void 0===c?void 0:c.buy_now_bg_color)||"#000000";e=t}else e=t.getPropertyValue("--color_btn_primary_bg").trim()||"#212121";else e=this.clickCurrentButton.coupon_button_color_custom;return e},showCopyCode(){let t=!0;return this.clickCurrentButton.coupon_is_subscribe,this.subscribeDuccessfully,t=!(2!==this.clickCurrentButton.coupon_is_subscribe&&!this.subscribeDuccessfully),t},thirdBuyPlatformsInfo(){var t,e;let s=(null===(t=window)||void 0===t||null===(e=t.pageData)||void 0===e?void 0:e.third_buy)||{};return s.platforms||{}},buttonList(){var t,e;let s=(null===(t=window)||void 0===t||null===(e=t.pageData)||void 0===e?void 0:e.third_buy)||{},i=(null===s||void 0===s?void 0:s.products)||[];i.sort(((t,e)=>t.position<e.position?-1:t.position>e.position?1:0));let o=[];
1return i.forEach((t=>{let e=this.thirdBuyPlatformsInfo[t.platform_id]||{};(t.hasOwnProperty("redirect_url")&&t.redirect_url.length>0||"whatsapp"===e.type)&&o.push(t)})),o}},created(){var t,e,s,i,o,r,a,n,c,l,u,d,p,h,m,g,_;this.show_type=(null===(t=window.pageData)||void 0===t||null===(e=t.third_buy)||void 0===e?void 0:e.show_type)||1,this.redirect_type=(null===(s=window.pageData)||void 0===s||null===(i=s.third_buy)||void 0===i?void 0:i.redirect_type)||1,this.popup_type=(null===(o=window)||void 0===o||null===(r=o.pageData)||void 0===r||null===(a=r.third_buy)||void 0===a?void 0:a.popup_type)||1,this.defaultText.text=(null===(n=window)||void 0===n||null===(c=n.pageData)||void 0===c||null===(l=c.third_buy)||void 0===l||null===(u=l.popup_no_url_text)||void 0===u?void 0:u.text)||"",this.defaultText.lang_params=(null===(d=window)||void 0===d||null===(p=d.pageData)||void 0===p||null===(h=p.third_buy)||void 0===h||null===(m=h.popup_no_url_text)||void 0===m?void 0:m.lang_params)||{},this.platform_types=(null===(g=window.pageData)||void 0===g||null===(_=g.third_buy)||void 0===_?void 0:_.platform_types)||{};for(let f in this.platform_types)this.platformDefaultInfo.hasOwnProperty(f)||(this.platformDefaultInfo[f]=JSON.parse(JSON.stringify(this.platform_types[f])),this.platformDefaultInfo[f].background="#095BC8",this.platformDefaultInfo[f].text="Buy on")},methods:{closeButton(){this.dialogVisible=!1},clickBuyNow(){this.dialogVisible=!0},submitEmail(){this.$refs["dynamicValidateForm"].validate((t=>{t&&(this.dynamicValidateForm.email,(0,a.uE)({fist_loading_url:(0,r.SV)(),email:this.dynamicValidateForm.email,first_name:this.dynamicValidateForm.firstName,last_name:this.dynamicValidateForm.lastName}).then((t=>{this.subscribeDuccessfully=!0})).catch((t=>{100801006===t.code?this.subscribeDuccessfully=!0:this.$toast(t.message)})))}))},dialogClosed(){this.dynamicValidateForm.email="",this.dynamicValidateForm.firstName="",this.dynamicValidateForm.lastName="",this.$refs["dynamicValidateForm"]&&this.$refs["dynamicValidateForm"].resetFields(),this.subscribeDuccessfully=!1},copyText(t){r.zp.call(this,t).then((()=>{this.$toast.success(this.$L("third_buy_coupon_copy_success"))}))},toPlatform(){this.jumpToWeb({redirect_url:this.clickCurrentButton.redirect_url},this.clickCurrentButton)},clickBuyButton(t){let e=this.thirdBuyPlatformsInfo[t.platform_id]||{};if(2===e.coupon_status||2==this.show_type)return void this.jumpToWeb(t,e);this.clickCurrentButton=this.setButtonInfo(e);let s=this.getRealCountryObj(t);this.clickCurrentButton.coupon_code=s.coupon_code,this.clickCurrentButton.redirect_url=s.redirect_url,this.clickCurrentButton,this.dialogVisible=!0},getRealCountryObj(t){let e={coupon_code:t.coupon_code,redirect_url:t.redirect_url},s=this.visit_country_code;if("null"!==s&&t.country_info&&Array.isArray(t.country_info)&&t.country_info.length)for(let i=0;i<t.country_info.length;i++)if(t.country_info[i].country_code===s){t.country_info[i].url&&(e["redirect_url"]=t.country_info[i].url),t.country_info[i].coupon_code&&(e["coupon_code"]=t.country_info[i].coupon_code);break}return e},jumpToWeb(t,e){if("whatsapp"===e.type){let t=this.$T(e.whatsapp_info.message.name,e.whatsapp_info.message.lang_params);if("string"===typeof t){t=t.replaceAll("{product_title}",this.product.title);let e=this.$money+" "+this.selectedProduct.price;t=t.replaceAll("{product_price}",e),t=t.replaceAll("{product_url}",window.location.href)}let s=`https://wa.me/${e.whatsapp_info.account}?text=${encodeURIComponent(t)}`;1==this.redirect_type?window.location.href=s:window.open(s)}else{let e=t.redirect_url,s=this.visit_country_code;if("null"!==s&&t.country_info&&Array.isArray(t.country_info)&&t.country_info.length){for(let i=0;i<t.country_info.length;i++)if(t.country_info[i].country_code===s){t.country_info[i].url?1==this.redirect_type?window.location.href=t.country_info[i].url:window.open(t.country_info[i].url):1==this.redirect_type?window.location.href=e:window.open(e);break}}else 1==this.redirect_type?window.location.href=e:window.open(e)}},setButtonInfo(t){let e=JSON.parse(JSON.stringify(t));if("string"===typeof e.coupon_title.name){var s;e.coupon_title=this.$T(e.coupon_title.name,e.coupon_title.lang_params);let i=(null===(s=this.platformDefaultInfo[t.type])||void 0===s?void 0:s.name)||"";"custom"===t.type&&(i=this.$T(t.whatsapp_info.name.name,t.whatsapp_info.name.lang_params)),e.coupon_title=e.coupon_title.replaceAll("{title}",i)}if("string"===typeof e.coupon_button_title.name){var i;e.coupon_button_title=this.$T(e.coupon_button_title.name,e.coupon_button_title.lang_params);let s=(null===(i=this.platformDefaultInfo[t.type])||void 0===i?void 0:i.name)||"";"custom"===t.type&&(s=this.$T(t.whatsapp_info.name.name,t.whatsapp_info.name.lang_params)),e.coupon_button_title=e.coupon_button_title.replaceAll("{title}",s)}return e},getButtonInfo(t){let e=this.thirdBuyPlatformsInfo[t.platform_id]||{},s=e.type;return this.platformDefaultInfo[s]},getButtonText(t){let e=this.thirdBuyPlatformsInfo[t.platform_id]||{},s=e.type;var i,o;return"custom"===s?(null===e||void 0===e||null===(i=e.whatsapp_info)||void 0===i||i.message,(null===e||void 0===e||null===(o=e.whatsapp_info)||void 0===o?void 0:o.message)||{}):this.platformDefaultInfo[s].text},getThirdTypeName(t){let e=this.thirdBuyPlatformsInfo[t.platform_id]||{},s=e.type;return s&&this.platform_types[s]?this.platform_types[s].text:""},getButtonBG(t){let e=this.thirdBuyPlatformsInfo[t.platform_id]||{},s=e.type;if(e.button_color_type&&1===e.button_color_type){let t=this.platformDefaultInfo[s].background;return t}return e.button_color_custom},getImgBGType2(t){let e=this.thirdBuyPlatformsInfo[t.platform_id]||{},s=e.type;if(this.platformDefaultInfo[s].is_system){if(e.button_color_type&&1===e.button_color_type){let t=this.platformDefaultInfo[s].background;return t}return e.button_color_custom}return""}}},l=c,u=s(1001),d=(0,u.Z)(l,i,o,!1,null,"5e6c6b68",null),p=d.exports},55549:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wholesale-price-list",class:[t.text_size],style:{background:t.bg_color}},t._l(t.selectedProduct.wholesale_price,(function(s,i){return e("div",{key:i,staticClass:"wholesale-price-item",class:[{type4:4===t.selectedProduct.wholesale_price.length}]},[e("p",{staticClass:"w-price",style:{color:t.price_color},domProps:{innerHTML:t._s(t.$currencyConversion(t.$money,t.$Price(s.price)))}}),0===i?[e("span",{staticClass:"w-number pc",style:{color:t.text_color}},[t.isSmall?[t._v(" ≥"+t._s(t.$replaceL(t.$L("number_piece"),s.qty))+" ")]:[t._v(" "+t._s(t.$replaceL(t.$L("initial_lot_quantity"),s.qty))+" ")]],2),e("span",{staticClass:"w-number wap",style:{color:t.text_color}},[t._v(" ≥"+t._s(t.$replaceL(t.$L("number_piece"),s.qty))+" ")])]:e("span",{staticClass:"w-number",style:{color:t.text_color}},[t._v(" ≥"+t._s(t.$replaceL(t.$L("number_piece"),s.qty)))])],2)})),0)},o=[],r={name:"wholesalePrice",props:{isSmall:{type:Boolean},selectedProduct:{type:Object}},data(){return{}},computed:{wholesale_config(){var t,e;return(null===(t=window)||void 0===t||null===(e=t.pageData)||void 0===e?void 0:e.wholesale_config)||{}},price_color(){var t;let e=(null===(t=this.wholesale_config)||void 0===t?void 0:t.price_color_type)||1;if(1===e){var s=document.documentElement.style;return s.getPropertyValue("--color_price").trim()||"#f10215"}return this.wholesale_config.price_color||"#f10215"},text_color(){return this.wholesale_config.text_color||"#333333"},text_size(){return this.wholesale_config.text_size||"middle"},bg_color(){return this.wholesale_config.background_color||"#f9f9f9"}},created(){},methods:{}},a=r,n=s(1001),c=(0,n.Z)(a,i,o,!1,null,"5f66bf10",null),l=c.exports},39044:function(t,e,s){s.r(e),s.d(e,{default:function(){return d}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"content-box",attrs:{id:"product-detail"}},[e(t.themeName,{tag:"component",attrs:{decorateInfo:{diy_header:t.diy_header,diy_content:t.diy_content,diy_footer
1:t.diy_footer}},on:{"custom-event":t.eventHandler}})],1)},o=[],r=s(27057),a=s(89930),n={name:"product",mixins:[r.Z,a.Z],components:{wecharShareMethos:()=>Promise.all([s.e(1488),s.e(24701),s.e(36830),s.e(7513),s.e(42583),s.e(44845),s.e(89751),s.e(3496),s.e(2076)]).then(s.bind(s,5259)),default_theme:()=>s.e(54743).then(s.bind(s,76158)),platform_theme:()=>s.e(52556).then(s.bind(s,39319)),brand_theme:()=>s.e(28510).then(s.bind(s,39274)),theme_b2c_las:()=>s.e(11888).then(s.bind(s,3626)),theme_b2c_grey:()=>s.e(37149).then(s.bind(s,29400)),default_theme_b2b:()=>s.e(90136).then(s.bind(s,66709)),theme_b2b_official:()=>s.e(16751).then(s.bind(s,22795)),theme_b2b_fly:()=>s.e(25938).then(s.bind(s,29996)),theme_b2c_ell:()=>s.e(46784).then(s.bind(s,8677)),theme_b2c_vog:()=>s.e(77638).then(s.bind(s,82868)),theme_b2b_sky:()=>s.e(21127).then(s.bind(s,90883))},data(){return{showBackTopScroll:50,showBackTopIcon:!1,pbBox:null}},mounted(){},created(){this.getInit()},methods:{backTop(){this.pbBox.scrollTo({left:0,top:0,behavior:"smooth"})},handleScroll(){let t=this.pbBox.scrollTop;t>=this.showBackTopScroll&&!this.showBackTopIcon?this.showBackTopIcon=!0:t<this.showBackTopScroll&&this.showBackTopIcon&&(this.showBackTopIcon=!1)},async eventHandler(t){t.type&&this.sendData(t)}}},c=n,l=s(1001),u=(0,l.Z)(c,i,o,!1,null,"67adf56c",null),d=u.exports},29469:function(t,e,s){s.d(e,{ve:function(){return u}});s(21703);
2/*!
3 * paypal-js v5.1.1 (2022-08-03T17:21:59.218Z)
4 * Copyright 2020-present, PayPal, Inc. All rights reserved.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18function i(t,e){var s=document.querySelector('script[src="'.concat(t,'"]'));if(null===s)return null;var i=c(t,e),o=s.cloneNode();if(delete o.dataset.uidAuto,Object.keys(o.dataset).length!==Object.keys(i.dataset).length)return null;var r=!0;return Object.keys(o.dataset).forEach((function(t){o.dataset[t]!==i.dataset[t]&&(r=!1)})),r?s:null}function o(t){var e=t.url,s=t.attributes,i=t.onSuccess,o=t.onError,r=c(e,s);r.onerror=o,r.onload=i,document.head.insertBefore(r,document.head.firstElementChild)}function r(t){var e="https://www.paypal.com/sdk/js";t.sdkBaseURL&&(e=t.sdkBaseURL,delete t.sdkBaseURL),l(t);var s=Object.keys(t).filter((function(e){return"undefined"!==typeof t[e]&&null!==t[e]&&""!==t[e]})).reduce((function(e,s){var i=t[s].toString();return"data-"===s.substring(0,5)?e.dataAttributes[s]=i:e.queryParams[s]=i,e}),{queryParams:{},dataAttributes:{}}),i=s.queryParams,o=s.dataAttributes;return{url:"".concat(e,"?").concat(a(i)),dataAttributes:o}}function a(t){var e="";return Object.keys(t).forEach((function(s){0!==e.length&&(e+="&"),e+=s+"="+t[s]})),e}function n(t){var e=t.split("/* Original Error:")[1];return e?e.replace(/\n/g,"").replace("*/","").trim():t}function c(t,e){void 0===e&&(e={});var s=document.createElement("script");return s.src=t,Object.keys(e).forEach((function(t){s.setAttribute(t,e[t]),"data-csp-nonce"===t&&s.setAttribute("nonce",e["data-csp-nonce"])})),s}function l(t){var e=t["merchant-id"],s=t["data-merchant-id"],i="",o="";return Array.isArray(e)?e.length>1?(i="*",o=e.toString()):i=e.toString():"string"===typeof e&&e.length>0?i=e:"string"===typeof s&&s.length>0&&(i="*",o=s),t["merchant-id"]=i,t["data-merchant-id"]=o,t}function u(t,e){if(void 0===e&&(e=p()),m(t,e),"undefined"===typeof window)return e.resolve(null);var s=r(t),o=s.url,a=s.dataAttributes,n=a["data-namespace"]||"paypal",c=h(n);return i(o,a)&&c?e.resolve(c):d({url:o,attributes:a},e).then((function(){var t=h(n);if(t)return t;throw new Error("The window.".concat(n," global variable is not available."))}))}function d(t,e){void 0===e&&(e=p()),m(t,e);var s=t.url,i=t.attributes;if("string"!==typeof s||0===s.length)throw new Error("Invalid url.");if("undefined"!==typeof i&&"object"!==typeof i)throw new Error("Expected attributes to be an object.");return new e((function(t,e){if("undefined"===typeof window)return t();o({url:s,attributes:i,onSuccess:function(){return t()},onError:function(){var t=new Error('The script "'.concat(s,'" failed to load.'));return window.fetch?fetch(s).then((function(s){return 200===s.status&&e(t),s.text()})).then((function(t){var s=n(t);e(new Error(s))})).catch((function(t){e(t)})):e(t)}})}))}function p(){if("undefined"===typeof Promise)throw new Error("Promise is undefined. To resolve the issue, use a Promise polyfill.");return Promise}function h(t){return window[t]}function m(t,e){if("object"!==typeof t||null===t)throw new Error("Expected an options object.");if("undefined"!==typeof e&&"function"!==typeof e)throw new Error("Expected PromisePonyfill to be a function.")}},84191:function(t,e){e["Z"]={data(){return{}}}},43934:function(t,e,s){e["Z"]={props:{attrInfo:{type:Object,default:()=>{}},isVariantSpecificationFoldAddon:{default:!1}},data(){return{stylesLoaded:!1,isRequired:!1,default_value:""}},computed:{currentThemeStyle(){return"attr_group_lifu_custom"}},watch:{default_value:{handler(t){let e=0;t.length&&(e=this.attrInfo.price),this.$emit("priceChange",{type:"input_text",price:e})}},attrInfo:{handler(){this.attrInfo.default_value&&this.attrInfo.default_value.length&&(this.default_value=this.attrInfo.default_value,this.isRequired=!1)},deep:!0,immediate:!0}},created(){},async mounted(){await this.loadStyles()},methods:{async loadStyles(){let t=this.$themeName;"default_theme"===t?await s.e(47326).then(s.bind(s,2293)):"brand_theme"===t?await s.e(93348).then(s.bind(s,59739)):"platform_theme"===t?await s.e(1167
18).then(s.bind(s,7509)):"theme_b2c_las"===t?await s.e(86734).then(s.bind(s,86981)):"theme_b2c_ell"===t?await s.e(56520).then(s.bind(s,37423)):"theme_b2c_grey"===t?await s.e(39860).then(s.bind(s,40717)):"theme_b2c_vog"===t&&await s.e(72791).then(s.bind(s,10720)),this.stylesLoaded=!0},inputBlur(){this.default_value&&this.default_value.length&&(this.isRequired=!1)},submit(){return this.default_value&&this.default_value.length?(this.isRequired=!1,{id:this.attrInfo.id,type:"lifu_text_color_custom",title:this.$T(this.attrInfo.title.value,this.attrInfo.title.language)||"",value:this.default_value||""}):(this.isRequired=!0,!1)}}}},23191:function(t,e){e["Z"]={data(){return{localIcons:[{id:"1",icon:"icon-anquanrenzheng"},{id:"2",icon:"icon-anquan1"},{id:"3",icon:"icon-yonghusuo"},{id:"4",icon:"icon-zhianjiandushouxu"},{id:"5",icon:"icon-WiFIProtection"},{id:"6",icon:"icon-icon-test"},{id:"7",icon:"icon-yundun"},{id:"8",icon:"icon-daguimowangluoanquanfanghu"}]}},computed:{securityConfig(){var t,e,s,i;let o=(null===(t=window)||void 0===t||null===(e=t.baseData)||void 0===e||null===(s=e.py_info)||void 0===s||null===(i=s.security)||void 0===i?void 0:i.g_config)||{},r="";for(let a=0;a<this.localIcons.length;a++)if(this.localIcons[a].id==o.icon){r=this.localIcons[a].icon;break}return r||(r=this.localIcons[0].icon),o.showIcon=r,o}}}},71942:function(t,e,s){s.d(e,{B1:function(){return f},BW:function(){return I},C_:function(){return x},Cz:function(){return v},F7:function(){return m},HX:function(){return d},Pw:function(){return C},Vq:function(){return b},Wn:function(){return _},XV:function(){return y},YW:function(){return P},d5:function(){return u},i:function(){return g},iU:function(){return S},j1:function(){return A},ln:function(){return k},ob:function(){return p},pJ:function(){return B},st:function(){return w},t5:function(){return l},uE:function(){return c},uL:function(){return h},zp:function(){return D}});var i=s(45243),o=(s(13306),s(85444)),r=s(96400);let a=(t,e)=>(0,i.Z)({url:t,method:"get",params:e}),n=(t,e)=>(0,i.Z)({url:t,method:"post",data:e}),c=function(t){return new Promise(((e,s)=>{n("/api/customer/account/subscribe",t).then((s=>{e(s),T();let i=JSON.parse(localStorage.getItem("loginStatus")),o=JSON.parse(localStorage.getItem("subscriptionUserIDs"))||[],a=i.sessionId;o.includes(i.sessionId)||o.push(a),i.isLogined&&(o.includes(i.customer.id)||o.push(i.customer.id)),localStorage.setItem("subscriptionUserIDs",JSON.stringify(o)),r.Z.track("email_subscribe_event",t)})).catch((t=>{s(t)}))}))},l=t=>n("/api/customer/account/register",t),u=t=>new Promise(((e,s)=>{n("/api/customer/account/login",t).then((s=>{window.baseData&&window.baseData.isOmnisendJs?setTimeout((()=>{e(s)}),1e3):e(s),r.Z.track("account_login",t)})).catch((t=>{s(t)}))})),d=t=>n("/api/customer/account/logout",t),p=t=>n("/api/customer/account/reset-password-submit",t),h=t=>n("/api/customer/account/reset-password",t),m=t=>a("/api/customer/order/list",t),g=t=>a("/api/customer/order/info",t),_=t=>a("/api/apps/tracking/manage/get-tracking-url",t),f=t=>n("/api/customer/order/confirm-receipt",t),v=t=>n("/api/customer/order/cancel",t),y=t=>a("/api/customer/order/is-addons-tracking-enable",t),b=t=>a("/api/apps/b2cinquire/inquire/customer-inquires",t),C=t=>a("/api/apps/b2cinquire/inquire/customer-inquire-info",t),w=t=>n("/api/customer/order/guest-find-order",t),A=t=>n("/api/customer/order/guest-send-verifition-code",t),S=t=>n("/api/customer/order/guest-varification-code-login",t),I=t=>a("/api/customer/address/list",t),P=t=>a("/api/customer/address/info",t),k=t=>n("/api/customer/address/add",t),B=t=>n("/api/customer/address/update",t),x=t=>n("/api/customer/address/delete",t),D=t=>new Promise(((e,s)=>{n("/api/customer/contacts",t).then((s=>{T(),r.Z.track("customer_contacts",t),e(s)})).catch((t=>{s(t)}))}));function T(){let t=window.baseData.google_conversion||[],e=[];
18if(t){let s=(0,o.uF)(t);s.forEach((t=>{let s=null;"inquiry"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&(s=`${t.conversion_id}/${t.conversion_label}`,e.push(s))}))}if(e.length>0)try{for(let t=0;t<e.length;t++)try{gtag("event","conversion",{send_to:e[t]})}catch(s){console.error(s)}}catch(s){console.error("advInquiry mixins 0930 ",s)}}},57186:function(t,e,s){s.d(e,{BB:function(){return a},L9:function(){return l},Y:function(){return r},cN:function(){return n},cn:function(){return c}});var i=s(45243);let o=(t,e)=>(0,i.Z)({url:t,method:"get",params:e}),r=t=>o("/api/apps/glasses/product/get-attr-info",t),a=t=>o("/capi/apps/glasses/product/get-product-info",t),n=t=>o("/api/base/get-product-info",t),c=t=>o("/api/base/get-product-diy-config",t),l=t=>o("/api/apps/prodviewed/product/get-info",t)},89930:function(t,e,s){s(13306);e["Z"]={data(){return{}},created(){this.sendCreatedData()},methods:{sendCreatedData(){let t=null,e={type:"changePage",data:{code:this.$route.name,fullHref:t}},s="*";s=window.location.origin,window.parent.postMessage({...e},s)}}}},67752:function(t,e,s){s.d(e,{An:function(){return r},CZ:function(){return n},Z4:function(){return c},bU:function(){return l},u4:function(){return a},yR:function(){return o}});var i=s(85444);function o(t){var e,s;let i=(null===(e=window)||void 0===e||null===(s=e.baseData)||void 0===s?void 0:s.bing_trace)||!1;if(!i)return;null===t||void 0===t||t.id;let o=(null===t||void 0===t?void 0:t.id)||"";window.uetq=window.uetq||[],window.uetq.push("event","",{ecomm_prodid:[o],ecomm_pagetype:"product"})}function r(t,e){var s,o,r,a,n;let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"product",l=(null===(s=window)||void 0===s||null===(o=s.baseData)||void 0===o?void 0:o.bing_trace)||!1;if(!l)return;let u=(null===t||void 0===t?void 0:t.price)||(null===t||void 0===t?void 0:t.curr_price),d=(0,i.pc)(u,e);window.uetq=window.uetq||[];let p={ecomm_prodid:[t.product_id],ecomm_pagetype:c,ecomm_totalvalue:d,revenue_value:d,currency:(null===(r=window)||void 0===r||null===(a=r.baseData)||void 0===a||null===(n=a.currency)||void 0===n?void 0:n.current_currency_code)||"USD",items:[{id:t.product_id,quantity:e,price:u}]};window.uetq.push("event","add_to_cart",p)}function a(t,e){var s,i,o,r,a;let n=(null===(s=window)||void 0===s||null===(i=s.baseData)||void 0===i?void 0:i.bing_trace)||!1;if(!n)return;window.uetq=window.uetq||[];let c={revenue_value:e,currency:(null===(o=window)||void 0===o||null===(r=o.baseData)||void 0===r||null===(a=r.currency)||void 0===a?void 0:a.current_currency_code)||"USD",items:t};window.uetq.push("event","begin_checkout",c)}function n(t){var e,s;let o=(null===(e=window)||void 0===e||null===(s=e.baseData)||void 0===s?void 0:s.bing_trace)||!1;if(!o)return;let r=[],a=[];t.items=(0,i.uF)(t.items),t.items.forEach((t=>{r.push(t.product_id),a.push({id:t.product_id,quantity:t.qty,price:t.curr_price})}));let n={transaction_id:t.order_number,ecomm_prodid:r,ecomm_pagetype:"purchase",ecomm_totalvalue:t.curr_grand_total,revenue_value:t.curr_grand_total,currency:t.currency_code,items:a};window.uetq=window.uetq||[],window.uetq.push("event","purchase",n)}function c(){var t,e;let s=(null===(t=window)||void 0===t||null===(e=t.baseData)||void 0===e?void 0:e.bing_trace)||!1;s&&(window.uetq=window.uetq||[],window.uetq.push("event","submit_lead_form",{}))}function l(){var t,e;let s=(null===(t=window)||void 0===t||null===(e=t.baseData)||void 0===e?void 0:e.bing_trace)||!1;s&&(window.uetq=window.uetq||[],window.uetq.push("event","contact",{}))}},1163:function(t,e,s){var i=s(85444);e["Z"]={computed:{google_conversion(){return window.baseData.google_conversion||[]},advPerson(){let t=(0,i.uF)(this.google_conversion),e=[];return t.forEach((t=>{let s=null;"person"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&(s=`${t.conversion_id}/${t.conversion_label}`,e.push(s))})),!(!e||!e.length)&&e},advPhone(){let t=(0,i.uF)(this.google_conversion),e=[];return t.forEach((t=>{let s=null;"phone"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&(s=`${t.conversion_id}/${t.conversion_label}`,e.push(s))})),!(!e||!e.length)&&e},advEmail(){let t=(0,i.uF)(this.google_conversion),e=[];return t.forEach((t=>{let s=null;"email"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&(s=`${t.conversion_id}/${t.conversion_label}`,e.push(s))})),!(!e||!e.length)&&e},advWhatsapp(){let t=(0,i.uF)(this.google_conversion),e=[];return t.forEach((t=>{let s=null;"whatsapp"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&(s=`${t.conversion_id}/${t.conversion_label}`,e.push(s))})),!(!e||!e.length)&&e},advInquiry(){this.google_conversion;let t=(0,i.uF)(this.google_conversion),e=[];return t.forEach((t=>{let s=null;"inquiry"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&(s=`${t.conversion_id}/${t.conversion_label}`,e.push(s))})),!(!e||!e.length)&&e},advCart(){let t=(0,i.uF)(this.google_conversion),e=[];return t.forEach((t=>{let s=null;"cart"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&(s=`${t.conversion_id}/${t.conversion_label}`,e.push(s))})),!(!e||!e.length)&&e},advCheckout(){let t=(0,i.uF)(this.google_conversion),e=[];return t.forEach((t=>{"checkout"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&e.push(`${t.conversion_id}/${t.conversion_label}`)})),!(!e||!e.length)&&e},advPurchase(){let t=(0,i.uF)(this.google_conversion),e=[];return t.forEach((t=>{"purchase"===t.conversion_goal&&t.conversion_id.length&&t.conversion_label.length&&e.push(`${t.conversion_id}/${t.conversion_label}`)})),!(!e||!e.length)&&e}}}},16164:function(t,e,s){var i=s(5526),o=s(85444),r=s(40414);e["Z"]={data(){return{nanoid:"",attrSelectItemTotalPrice:"",isShowGroupBuy:!1,customeowConfirmData:{customInfoId:"",preview:{effects:[],images:[],texts:[]},stores:[]}}},components:{groupBuyAddon:()=>Promise.all([s.e(35407),s.e(13018)]).then(s.bind(s,65670)),prodfavoriteIcon:()=>Promise.all([s.e(35407),s.e(13018)]).then(s.bind(s,45435)),barrageAddon:()=>Promise.all([s.e(35407),s.e(13018)]).then(s.bind(s,80988)),CustomeowSku:()=>Promise.all([s.e(35407),s.e(13018)]).then(s.bind(s,86698))}
18,watch:{product:{handler(){this.getShowGroupBuyStatus()},immediate:!0}},mounted(){this.sendFacebook()},computed:{fatherMixinsDefaultShowMainImg(){return this.$parent.mixinsDefaultShowMainImg},isCustomeowSkuShow(){var t,e;let s=(null===(t=this.product)||void 0===t||null===(e=t.customeow_info)||void 0===e?void 0:e.skus)||[];return!!(s&&s.length>0)},isShowBarrage(){var t;let e=(null===(t=window)||void 0===t?void 0:t.pageData)||this.$store.state.decorate.pageData||{};return!(!e.barrage||!e.barrage.hasOwnProperty("status")||"1"!=e.barrage.status)},ifProdfavoriteShow(){var t;let e=(null===(t=window)||void 0===t?void 0:t.baseData)||this.$store.state.decorate.baseData||{};return!!e.prodfavorite}},methods:{getBuyItNowValidateParams(){let t={product_id:this.selectedProduct.product_id,variant_id:this.selectedProduct.id,qty:this.$refs["Quantity"].getQty(),client_detail:(0,o.nQ)()};if(!this.isCustomeowSkuShow&&this.isAdditionAttrShow){let e=!0;this.$refs["lifu_text_color_custom"]&&(e=this.$refs["lifu_text_color_custom"].submit());let s=this.$refs["AdditionAttrItem"].submit();if(!s||!e)return this.$refs["AdditionAttrItem"].scroll_view(),null;e.id&&(Array.isArray(s)?s.unshift(e):s=[e]),t.addition_attr=s}return t},customeowConfirm(t){this.customeowConfirmData=Object.assign(this.customeowConfirmData,t),this.addToCart()},customeowSkuShow(){this.$refs["customeowSku"].show()},getShowGroupBuyStatus(){let t=!1,e=this.$route.name;if("product"!==e)return!1;let s=window.pageData||this.$store.state.decorate.pageData||[],i=(null===s||void 0===s?void 0:s.group_buy)||[];i.length>0&&(t=!0),this.isShowGroupBuy=t},setAttrSelectItemTotalPrice(t){this.attrSelectItemTotalPrice=t},groupBuyAddonChangeSelectItemOption(t,e,s){let i=this.$refs["Specification"],o=this.$refs["AdditionAttrItem"],r=this.$refs["AdditionAttrItem"];i&&i.selectItem(t,e,s),o&&o.selectItem(t,e,s),r&&r.selectItem(t,e,s)},changeSelectItemOption(t,e,s){this.$refs["groupBuyAddon"]&&this.$refs["groupBuyAddon"].selectItem(t,e,s),this.customeowConfirmData={customInfoId:"",preview:{effects:[],images:[],texts:[]},stores:[]}},sendFacebook(){if(!this.product)return!1;if(this.nanoid=(0,o.x0)(),this.facebookApi)try{(0,i.j)({event_name:"ViewContent",is_login:this.isLogined?1:2,event_id:this.nanoid,currency_code:r.gE,source_url:window.location.href,_fbc:(0,o.ej)("_fbc")||"",_fbp:(0,o.ej)("_fbp")||"",products:[{product_id:this.product.id,qty:1,single_price:this.product.price,title:this.product.f_title?this.product.f_title:this.product.title}]})}catch(t){}if(this.facebookJs)try{fbq("track","ViewContent",{contents:[{id:this.product.id,quantity:1}],content_type:"product",value:this.product.price,currency:r.gE,eventID:this.nanoid})}catch(t){console.error("facebookJs 01106:",t)}},AddToCartFb(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.product,!this.product)return!1;this.nanoid=(0,o.x0)();let s=(0,o.pc)(t,e);if(this.facebookApi)try{(0,i.j)({event_name:"AddToCart",is_login:this.isLogined?1:2,event_id:this.nanoid,currency_code:r.gE,source_url:window.location.href,_fbc:(0,o.ej)("_fbc")||"",_fbp:(0,o.ej)("_fbp")||"",products:[{product_id:this.product.id,qty:t,single_price:s,title:this.product.f_title?this.product.f_title:this.product.title}]})}catch(a){}if(this.facebookJs)try{fbq("track","AddToCart",{contents:[{id:this.product.id,quantity:t}],content_type:"product",value:s,currency:r.gE,eventID:this.nanoid})}catch(a){}}}}},10001:function(t,e,s){s.d(e,{TO:function(){return a},V3:function(){return o},az:function(){return r}});var i=s(85444);function o(t,e){var s,i,o,r,a;let n=(null===(s=window)||void 0===s||null===(i=s.baseData)||void 0===i?void 0:i.pinterest_trace)||!1;if(!n)return;let c=(null===e||void 0===e?void 0:e.title)||"",l=(null===e||void 0===e?void 0:e.id)||"",u="";c&&l&&(u=l+"-"+c);let d={value:t.price,currency:(null===(o=window)||void 0===o||null===(r=o.baseData)||void 0===r||null===(a=r.currency)||void 0===a?void 0:a.current_currency_code)||"USD",line_items:[{product_name:t.f_title?t.f_title:t.title,product_id:t.id,product_variant_id:u,product_variant:c,product_price:t.price}]};try{pintrk("track","pagevisit",d)}catch(p){console.error("pinterest-0085:",p)}}function r(t,e){var s,o,r,a,n;let c=(null===(s=window)||void 0===s||null===(o=s.baseData)||void 0===o?void 0:o.pinterest_trace)||!1;if(!c)return;let l=(null===t||void 0===t?void 0:t.price)||(null===t||void 0===t?void 0:t.curr_price),u=(0,i.pc)(l,e),d=(null===t||void 0===t?void 0:t.t
18itle)||"",p=(null===t||void 0===t?void 0:t.id)||"",h="";d&&p&&(h=p+"-"+d);let m={value:u,order_quantity:e,currency:(null===(r=window)||void 0===r||null===(a=r.baseData)||void 0===a||null===(n=a.currency)||void 0===n?void 0:n.current_currency_code)||"USD",order_id:"",line_items:[{product_name:t.product_title,product_id:t.product_id,product_variant_id:h,product_variant:d,product_price:(null===t||void 0===t?void 0:t.price)||(null===t||void 0===t?void 0:t.curr_price)||"",product_quantity:e}]};try{pintrk("track","addtocart",m)}catch(g){console.error("pinterest-0085:",g)}}function a(t){var e,s;let o=(null===(e=window)||void 0===e||null===(s=e.baseData)||void 0===s?void 0:s.pinterest_trace)||!1;if(!o)return;let r=[];t.items=(0,i.uF)(t.items),t.items.forEach((t=>{let e=(null===t||void 0===t?void 0:t.variant_title)||"",s=(null===t||void 0===t?void 0:t.variant_id)||"",i="";e&&s&&(i=s+"-"+e),r.push({product_id:t.product_id,product_name:t.product_title,product_quantity:t.qty,product_price:t.curr_price,product_variant_id:i,product_variant:e})}));let a={value:t.curr_grand_total,order_quantity:t.items_count,currency:t.currency_code,order_id:t.order_number,line_items:r};try{pintrk("track","checkout",a)}catch(n){console.error("pinterest-0085:",n)}}},37007:function(t,e,s){var i=s(85444);e["Z"]={methods:{addToCartTiktok(t,e){if(t&&(this.tiktok_trace,this.tiktok_trace))try{var s,o,r;let a=t.price||t.curr_price,n=(0,i.pc)(a,e);ttq.track("AddToCart",{contents:[{content_id:t.product_id,content_type:"product",content_name:t.product_title,quantity:e,price:a}],value:n,currency:(null===(s=window)||void 0===s||null===(o=s.baseData)||void 0===o||null===(r=o.currency)||void 0===r?void 0:r.current_currency_code)||"USD"})}catch(a){}},TiktokCheckoutTrack(t,e){if(this.tiktok_trace,t&&this.tiktok_trace){try{var s,i,o;ttq.track("PlaceAnOrder",{contents:t,value:e,currency:(null===(s=window)||void 0===s||null===(i=s.baseData)||void 0===i||null===(o=i.currency)||void 0===o?void 0:o.current_currency_code)||"USD"})}catch(r){}try{ttq.track("InitiateCheckout")}catch(r){}}}}}},27057:function(t,e,s){var i=s(90408);e["Z"]={data(){return{}},watch:{},computed:{...(0,i.rn)("decorate",{themeName:t=>t.themeName,themeId:t=>t.themeId,checkMode:t=>t.checkMode,pageTypeCode:t=>t.pageTypeCode,diy_header:t=>t.diy_header,diy_content:t=>t.diy_content,diy_footer:t=>t.diy_footer,global_config:t=>t.global_config})},mounted(){window.addEventListener("message",this.receiveMessage)},methods:{...(0,i.OI)("decorate",["setThemeId","setCheckMode","changePageCode"]),...(0,i.nv)("decorate",["getInit","batchSetData"]),receiveMessage(t){t.data.sign&&this.batchSetData(t.data)},sendData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="*";e=window.location.origin,t.type&&window.parent.postMessage({...t},e)}},beforeDestroy(){removeEventListener("message",this.receiveMessage)}}},15818:function(t,e,s){t.exports=s.p+"dist/wap/static/img/armLength.7a9383ed.svg"},24824:function(t,e,s){t.exports=s.p+"dist/wap/static/img/bridgeWidth.28d3d5a3.svg"},29237:function(t,e,s){t.exports=s.p+"dist/wap/static/img/lensWidth.59465569.svg"},80757:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAFK1JREFUeAHtXXlwFUUafwl4YFgJp8iNIDeCFQ5LlCpBWApXKNFCkBJcBA1qpDBo0Fo8qLVKvIUqlsutiCIFf8CC4sGRpZQbsnIIBiSAAiIEkADhTrK/33Om6enX78y892aS6ap+09d0f/393tfT59cpvkpgysvLr0c1GsE2hm1iPNPxrKGxCPJd0NjTCDsCe9h4/paSknIZblebFDdSD0Cbgu4usJ1hW8PWh7W7LuXIswh2H+xO2O0A/BCerjJ2MyUulQegtZBxT9g7YAkspTMZhlK+HXYH7CYAXpwMIqIp07EAA9TrUJEesH1gM2CrwTrJlIKYfNg82M0A+4qTiDNpcRzAALYNiOsHey9smkloqGdpaWn50aNHT//888+nd+3aVbJz586L+/btKy0uLvadOXPGd+7cOV9JSUnq+fPn/fW96aabytPS0spq1qzpu/nmm321atXytW7dulrnzp1v7NixY9rtt9+efuutt6ZXq1YtUv6UgL7vYVcC6L2haE10XKQViDtdAJbf00dh2QSHNADq0saNG3/76quv/vjmm2+u7Nmzp9rVq1dtrUv16tXL27ZtWzpgwIDrBg4cWPuuu+5qhD/GDSEJ+zOSTfhCAM3vdtKNrUyJpTYAthveI7DtQr0P6SyaP3/+kWXLll3avn17tbKysoTSnpqaWt6lS5fSQYMG3TBixIjGkHJ27EKZAkQS6K2hEsU7LqFMkisDYNvCnwnLXrDWnDp16tznn39+cMaMGSU//fRTdW2iJAW2b9/+6jPPPJP22GOPtahTp07NEGSwFz4TQO8JkSZuUQkHGMD+BbV5ArZ/sFqtX7/+19dff/331atXpyZaUoPRFCyckt23b98y0Nvw7rvvbhYsHcJXwO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f3zKFXepOy3eAGdc0d3MGSJn35KxPzvDs7/twPmOzhNW3dQwrpETPncOiUGN7S+gwlbd1DCukRM92/rlBjcsOT6Dh58/g6KP8YuTjk8yi682Xr6n/D4lPCG7vyfUj7mm2etrW8eZ/mcx1k+53GWz3mc5XMe5zZRSuX8WWP7Bxil8XEJz7ZOAAAAAElFTkSuQmCC"},86124:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAAyCAYAAAB1ROw8AAAID0lEQVR4Xu3dsY7URhgAYBvlXoE3CBQUkajoiQQFSgG55iLyDEjkAehowiPQBInmQoqkoeB6qgiKQwLeIG26nBRnzHqP3LF3O157PLO+75pIMDvj//t/536bWbu+9eBOlfvn15tXm9zHELP+9wfv65hxY4/J5SPesTO5ej75ncZZPU/jrJ6ncVbP0zir52mcY1bJVfNnHdulmIM2ZiHw27dXvp7aIseayxhzrJ1jTfFOV9XyO29r+ZXfVAI5aivHmhf191FM3eTMx6rjy95AlwZyXhKbproRk+Qxx+RYc3n8OdbOsaZ4x6zY8+eS33lby6/8phLIUVs51ryov49S1U3KebM30CmDG3vupqpvjz3nuvlyrHl8Aot3XXoG/738DiaMniCHdY41nb/RJTF4oPwOJoyeIId1jjUv6vkbXQgFDczeQOe8wtsgD7tT3jHv1trd4DjH+oh4x5JcMY/8JsRdPbV6TkiunhPiqudWwPmbsMQKOH/XRldav5i9ga6q+vJatXIG7Pzb1I+mOpxurZ2p1luxjngT4stvQtzVU6vnhOTqOSGuem4FnL8JS6yA8zciurL6xewNdHj8xvUItZKG7L24efVh6gN6cfPK/bDGXup1IuYXbwRS3yHy21dstPHqeTTKzxOp5wSocVOq5zinXqPUcy+uyQaX1i9mb6DDc+GuTaY/0kIhiY+7E2ykGU9O084d9l49TTL5BpOKdwO0cz4iv+N69p1NPfcVO3+8eh7Xs+9s6rmvmHr+v0Bp5+952SmtX8zaQLd7bsLJ/8245T/JbDuhwf0lxZ3ods527hBFzq0bpxHFO1JZye9IkMOmU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2USHgm36E7zwqbAAECBAgQIEAgh0Dbh7b9aMpH3NW3HtwZHFvb5XcPs/ac58GaJiBAgAABAgQIEBhJ4Pmlunk09paOwXegl3edQ5Ca55EybRoCBAgQIECAAIFRBPZS3I3e+A704rZ4/bDbrnEUQvSc51HybBICBAgQIECAAIGRBNoetf3ZqavqbVU1T+4dfHg2dO5eDXT3BcHvwqL37XMeSu/zBAgQIECAAAECUwssGunqWXhax++bbu1Y20AvmubqRnhV4u2w2K47zVOn2XoECBAgQIAAAQIjCyzvTO/XVfOyrqvXfZrp4wZ6+biPtlkOWzMuhzvM10OHfs2d5pHTZToCBAgQIECAAIHSBI5C3/su9L2H4b9/hq0ef53XVNd///Hwn1N3lY/3ipQWmeMhQIAAAQIECBAgkFhgVS984s/aNxGe/vKfLwMmzorpCRAgQIAAAQIEihVY1Quf+LPBj7ErNnQHRoAAAQIECBAgQCCBgAY6AaopCRAgQIAAAQIE5iuggZ5vbkVGgAABAgQIECCQQEADnQDVlAQIECBAgAABAvMV0EDPN7ciI0CAAAECBAgQSCCggU6AakoCBAgQIECAAIH5Cmig55tbkREgQIAAAQIECCQQ0EAnQDUlAQIECBAgQIDAfAU00PPNrcgIECBAgAABAgQSCGigE6CakgABAgQIECBAYL4CGuj55lZkBAgQIECAAAECCQQ00AlQTUmAAAECBAgQIDBfAQ30fHMrMgIECBAgQIAAgQQCGugEqKYkQIAAAQIECBCYr4AGer65FRkBAgQIECBAg
18EACgf8ADWHGqni73L8AAAAASUVORK5CYII="},99308:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAoCAYAAABD0IyuAAAACXBIWXMAAAsSAAALEgHS3X78AAAAAXNSR0IArs4c6QAADetJREFUaEPtmguwXVV5x//ft9be55z7yguIKYEQHmkJAUbCYASEAioiRm0tqTgMLWqxoKWoUAgPkxp5FSZVLKIdtNYWcECKQUAU5VGKCNLwUEIDCblAK4/AzX3fs8/e6/s63z77hnPvPefem9hOp07WTGZuztlrr7V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4CrzawFPY5LfIhZvXcHcHhIxbd3AIB5D3MeWUzBmjQy0HwwNSk6rvjOqdMXQiUl7S7FtYCdqLJfw5q+mXWB2gS+NUjeNOGDEElGW7w5upekrxNLhU3Z+sCy1G6kJDn8Ow20iduy/Dv3kVzqiS4CJTmtOT+OouNVJDfoAICSXc2/cTpJdx2lPV+crndz1DV963bb32dMuFJP9yNVrWKGkKQJrwkiyc9NXec23WNcxLu2eawJAGbvzGVnmXA76BeSnKu+FcY19cNlIZiHu/hyPnMuqsBF77LlewBJU5IC0j7c6h5UWM4Mn7+5c6j0Z1YG6h0klx8VAGntJoLqDJJNN3S2qWsuF86mcHcqefuooyQzoDeFZxX51oZkSa7NzvbRAbA9/wBg28ZPwiQ5dLj9sLhHv7MFXaYbc+iZTzLm72pK+n7dBJBDvtOGb+1iMWjSyAVidectKdK6Nrpbz9ptoOnoyN6lG01/IZPFNUXsCryu32fvejBSqpLckvo+wHnYt3vmCQbsZapZFnL1XdwG+vdqupR2kmQ62W3mvwCYj7+VpI3/uERSSd+vUt6ujvID/TeBo1hpDMdI8sWcPTpL7QOdUVXuATCqpcZsnKSPmF8Iau1AMtP2I2vbA2BkU43XwAYSa3CD20XTHgBdrDVGYyWdBWBw4eWvsUi6cO0kPQA6mWt8BktyW2fiLstbSJYflQ5VuAfAUBON74DU2bi7uZBk03ebQ5XvATDURNN7QA+A6X2+Q3fXA2Coiab3gB4A0/t8h+6uB8BQE03vAf8Fl83s1VoCVJwAAAAASUVORK5CYII="}}]);

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.