""!==(o()("#ship-to-different-address-checkbox").is(":checked")?a.val():r.val())&&(console.debug("[CDEK-MAP] City or postcode changed, initiating checkout update"),
if(console.debug("[CDEK-MAP] Got points from backend",e),
!e.length)
returnconsole.warn("[CDEK-MAP] Backend points are empty"),
voidv(u,(0,
c.__)("There are no CDEK pick-up points available in this direction, please select another delivery method","cdekdelivery"));
voidv(u,window.langData.translations["There are no CDEK pick-up points available in this direction, please select another delivery method"]||"There are no CDEK pick-up points available in this direction, please select another delivery method");
null===g?g=new(i())({
apiKey:window.cdek.key,
popup:!0,
@ -130,10 +130,7 @@
g.open()
}catch(e){
console.error("[CDEK-MAP] SyntaxError during points parse"),
v(u,(0,
c.__)("There are no CDEK pick-up points available in this direction, please select another delivery method","cdekdelivery"))
}
}
))
v(u,window.langData.translations["There are no CDEK pick-up points available in this direction, please select another delivery method"]||"There are no CDEK pick-up points available in this direction, please select another delivery method")