| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															7
														 | 
														
															 faceFusionAPI = function () { 
														 | 
														
															7
														 | 
														
															 faceFusionAPI = function () { 
														 | 
													
												
													
														| 
															8
														 | 
														
															  
														 | 
														
															8
														 | 
														
															  
														 | 
													
												
													
														| 
															9
														 | 
														
															   //private menbers 
														 | 
														
															9
														 | 
														
															   //private menbers 
														 | 
													
												
													
														| 
															10
														 | 
														
															-  // var API__DOMAIN = 'https://ncxpre.cecmartech.com/' 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															11
														 | 
														
															-  const API__DOMAIN = (window.location.host === 'www.pxfreshdelivery.tw') ? 'https://www.pxfreshdelivery.tw/' : 'https://demo.pxfreshdelivery.tw/'; 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															10
														 | 
														
															+  var API__DOMAIN = 'https://innovationlab.cecmartech.com/' 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															11
														 | 
														
															+  // const API__DOMAIN = (window.location.host === 'www.pxfreshdelivery.tw') ? 'https://www.pxfreshdelivery.tw/' : 'https://demo.pxfreshdelivery.tw/'; 
														 | 
													
												
													
														| 
															12
														 | 
														
															    
														 | 
														
															12
														 | 
														
															    
														 | 
													
												
													
														| 
															13
														 | 
														
															   var templateData; 
														 | 
														
															13
														 | 
														
															   var templateData; 
														 | 
													
												
													
														| 
															14
														 | 
														
															   var photoData; 
														 | 
														
															14
														 | 
														
															   var photoData; 
														 |