{"version":3,"file":"LineConnect.DLLQgRCV.mjs","names":["useRef","useState","TermAccept","BtnForm"],"sources":["https:/framerusercontent.com/modules/m793UoHur2fyR4HxGDzP/yTdMQXrA6XRVGbfMDxb8/LineConnect.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,useEffect,useRef,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// import BtnForm from \"https://framer.com/m/BtnForm-A2MpqR.js@OMs61AXOjrcbjzTE4OT7\"\nimport BtnForm from\"https://framer.com/m/BtnForm-A2MpqR.js@ptyWHMzFFSpxnubCbST5\";import TermAccept from\"https://framer.com/m/TermAccept-vRTS4B.js@rLlhKwoMLm1Bp6Al8YuF\";import axios from\"https://esm.sh/axios\";// Learn more: https://www.framer.com/developers/overrides/\n// const LIFF_ID = \"2009517887-lIAgFysj\" // berm\nconst LIFF_ID=\"2009569415-2l35eYt2\";const REDIRECT_PATH_KEY=\"liff_redirect_path\";const REDIRECT_SEARCH_KEY=\"liff_redirect_search\";const LIFF_FIRST_LOGIN=\"liff_first_login\";const useStore=createStore({uid:\"\",friend:\"new\"});// fn_get_sha256('xxxx').then((text_sha256) => console.log(text_sha256));\nasync function fn_get_sha256(message){const msgUint8=new TextEncoder().encode(message)// encode as (utf-8) Uint8Array\n;const hashBuffer=await window.crypto.subtle.digest(\"SHA-256\",msgUint8)// hash the message\n;const hashArray=Array.from(new Uint8Array(hashBuffer))// convert buffer to byte array\n;const hashHex=hashArray.map(b=>b.toString(16).padStart(2,\"0\")).join(\"\");return hashHex;}function formatPhoneNumber(phone){let cleanNumber=phone.replace(/\\D/g,\"\");let result=cleanNumber;if(result.startsWith(\"+66\")){result=result.substring(3);}if(result.startsWith(\"66\")){result=result.substring(2);}if(result.startsWith(\"0\")){result=result.substring(1);}return result;}function fn_get_baseConfig_form1(dataFormBase){let configBase={method:\"post\",maxBodyLength:Infinity,url:\"https://n8n.digi-team.work/webhook/xpeng-form1\",headers:{\"Content-Type\":\"application/json\",\"x-api-key\":\"xpeng-123456\"},data:dataFormBase};return configBase;}function fn_get_baseConfig_form2(dataFormBase){let configBase={method:\"post\",maxBodyLength:Infinity,url:\"https://n8n.digi-team.work/webhook/xpeng-form2\",headers:{\"Content-Type\":\"application/json\",\"x-api-key\":\"xpeng-123456\"},data:dataFormBase};return configBase;}function fn_get_baseConfig_form3(dataFormBase){let configBase={method:\"post\",maxBodyLength:Infinity,url:\"https://n8n.digi-team.work/webhook/xpeng-sale-lead-gen\",headers:{\"Content-Type\":\"application/json\",\"x-api-key\":\"xpeng-123456\"},data:dataFormBase};return configBase;}// dataLayer #1 หน้า loading หลังจากสแกน  QR\nfunction fn_datalayer_push_event1(stringType=\"none\",stringSaleID=\"-\"){const typeSpace=stringType.replaceAll(\"_\",\" \");if(window.location.pathname===\"/liff/download-brochure\"){// push datalayer\nif(window.dataLayer){window.dataLayer.push({event:\"line_form\",form_type:\"loading_brochure\",form_data:{campaign:\"download brochure\",sales:stringSaleID}});window.dataLayer.push({event:\"scan_qr\",campaign:\"download brochure\",sales:stringSaleID});}}if(window.location.pathname===\"/liff/xpeng-drive-book-bag\"){// push datalayer\nif(window.dataLayer){window.dataLayer.push({event:\"line_form\",form_type:`loading_${stringType}`,form_data:{campaign:typeSpace,sales:stringSaleID}});window.dataLayer.push({event:\"scan_qr\",campaign:typeSpace,sales:stringSaleID});}}if(window.location.pathname===\"/liff/sale-form\"){// push datalayer\nif(window.dataLayer){window.dataLayer.push({event:\"line_form\",form_type:\"loading_sales_drop_lead\",form_data:{campaign:\"sales drop lead\",sales:stringSaleID}});window.dataLayer.push({event:\"scan_qr\",campaign:\"sales drop lead\",sales:stringSaleID});}}}// dataLayer #2 หลัง addline แล้ว\nfunction fn_datalayer_push_event2(uid=\"none\",stringType=\"none\",stringSaleID=\"-\",userType=\"new\"){const typeSpace=stringType.replaceAll(\"_\",\" \");if(window.location.pathname===\"/liff/download-brochure\"){// push datalayer\nif(window.dataLayer){window.dataLayer.push({event:\"line_form\",form_type:\"add_line\",form_data:{campaign:\"download brochure\",line_uid:uid,sales:stringSaleID,user_type:userType}});window.dataLayer.push({event:\"add_line\",campaign:\"download brochure\",line_uid:uid,sales:stringSaleID,user_type:userType});}}if(window.location.pathname===\"/liff/xpeng-drive-book-bag\"){// push datalayer\nif(window.dataLayer){window.dataLayer.push({event:\"line_form\",form_type:\"add_line\",form_data:{campaign:typeSpace,line_uid:uid,sales:stringSaleID,user_type:userType}});window.dataLayer.push({event:\"add_line\",campaign:typeSpace,line_uid:uid,sales:stringSaleID,user_type:userType});}}if(window.location.pathname===\"/liff/sale-form\"){// push datalayer\nif(window.dataLayer){window.dataLayer.push({event:\"line_form\",form_type:\"add_line\",form_data:{campaign:\"sales drop lead\",line_uid:uid,sales:stringSaleID,user_type:userType}});window.dataLayer.push({event:\"add_line\",campaign:\"sales drop lead\",line_uid:uid,sales:stringSaleID,user_type:userType});}}}// dataLayer #3 download brochure\nfunction fn_datalayer_push_event3_download_brochure(uid=\"none\",userType=\"new\",car_model=\"none\"){if(window.dataLayer){window.dataLayer.push({event:\"line_form\",form_type:\"download_brochure\",form_data:{campaign:\"download brochure\",line_uid:uid,car_model:car_model,sales:\"-\",user_type:userType}});window.dataLayer.push({event:\"download_brochure\",campaign:\"download brochure\",line_uid:uid,car_model:car_model,sales:\"-\",user_type:userType});}}async function checkFriendship(){try{const data=await window.liff.getFriendship();if(data.friendFlag){// console.log(\"ยินดีด้วย! คุณเป็นเพื่อนกับเราแล้ว\");\nreturn true;}else{// console.log(\"คุณยังไม่ได้เพิ่มเราเป็นเพื่อน\");\nreturn false;}}catch(error){// console.error(\"เกิดข้อผิดพลาด:\", error.message);\nreturn false;}}export function withLineConnectGetUID(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();useEffect(()=>{// get type\nconst params=new URLSearchParams(window.location.search);const stringType=params.get(\"type\")||\"none\";const stringSaleID=params.get(\"sale_id\")||\"-\";// 1. ฟังก์ชันสำหรับ Initialize LIFF\nconst initLiff=async()=>{try{// ตรวจสอบว่ามี liff object หรือยัง (ถ้าใช้ CDN ในหน้าโปรเจกต์)\nif(window.liff){await window.liff.init({liffId:LIFF_ID});if(window.liff.isLoggedIn()){const profile=await window.liff.getProfile();// setStore({ uid: profile.userId })\nconst friendShip=await checkFriendship();const friendStatus=friendShip?\"existing\":\"new\";setStore({uid:profile.userId,friend:friendStatus});// console\nconst redirectPath=sessionStorage.getItem(REDIRECT_PATH_KEY);const redirectSearch=sessionStorage.getItem(REDIRECT_SEARCH_KEY);if(redirectPath&&redirectPath!==window.location.pathname){sessionStorage.removeItem(REDIRECT_PATH_KEY);sessionStorage.removeItem(REDIRECT_SEARCH_KEY);window.location.replace(`${redirectPath}${redirectSearch}`);}else{// dataLayer #1 หน้า loading หลังจากสแกน  QR\nconst firstLogin=sessionStorage.getItem(LIFF_FIRST_LOGIN);if(firstLogin){sessionStorage.removeItem(LIFF_FIRST_LOGIN);}else{if(`${window.location.search}`.indexOf(\"gotopage\")>=0){const page=new URLSearchParams(window.location.search).get(\"gotopage\");if(`/liff/${page}`!==window.location.pathname){window.location.replace(`/liff/${page}${window.location.search}`);}}fn_datalayer_push_event1(stringType,stringSaleID);}}// dataLayer #2 หลัง addline แล้ว\nfn_datalayer_push_event2(store.uid||profile.userId,stringType,stringSaleID,friendStatus);}else{if(window.location.pathname!==\"/liff\"){sessionStorage.setItem(REDIRECT_PATH_KEY,window.location.pathname);sessionStorage.setItem(REDIRECT_SEARCH_KEY,window.location.search);// dataLayer #1 หน้า loading หลังจากสแกน  QR\nsessionStorage.setItem(LIFF_FIRST_LOGIN,\"true\");fn_datalayer_push_event1(stringType,stringSaleID);}else if(`${window.location.search}`.indexOf(\"gotopage\")>=0){const page=new URLSearchParams(window.location.search).get(\"gotopage\");sessionStorage.setItem(REDIRECT_PATH_KEY,`/liff/${page}`);sessionStorage.setItem(REDIRECT_SEARCH_KEY,window.location.search);}// ถ้ายังไม่ Login ให้เด้งไปหน้า Login ของ LINE\nwindow.liff.login();}}}catch(error){console.error(\"LIFF Initialization failed\",error);// setStore({ uid: \"Error: \" + error.message })\nsetStore({uid:\"\",friend:\"new\"});}};initLiff();},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}export function withClickDownloadG6(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:()=>{// model\nconst brochure_model=\"G6\";const friendStatus=store.friend;// push datalayer #3 download brochure\nfn_datalayer_push_event3_download_brochure(store.uid,friendStatus,brochure_model);// push form\nconst config=fn_get_baseConfig_form1(JSON.stringify({line_uid:store.uid,download_model:brochure_model}));axios.request(config).then(response=>{console.log(JSON.stringify(response.data));}).catch(error=>{console.log(error);});}});});}export function withClickDownloadX9(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:()=>{// model\nconst brochure_model=\"X9\";const friendStatus=store.friend;// push datalayer #3 download brochure\nfn_datalayer_push_event3_download_brochure(store.uid,friendStatus,brochure_model);// push form\nconst config=fn_get_baseConfig_form1(JSON.stringify({line_uid:store.uid,download_model:brochure_model}));axios.request(config).then(response=>{console.log(JSON.stringify(response.data));}).catch(error=>{console.log(error);});}});});}export function withFormDriveBookBag(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();const redirectDelay=1e3;const formRef=useRef(null);const[acceptStatus,setAcceptStatus]=useState(false)// false : Normal, true : Active\n;const[btnStatus,setBtnStatus]=useState(\"Default\")// Default, Loading, Disabled, Success, Error\n;const[inputStatus,setInputStatus]=useState(true);const[inputValStorage,setInputValStorage]=useState(\"\");const handleSubmitForm=e=>{e.preventDefault();// veridate\nif(!acceptStatus){return false;}const params=new URLSearchParams(window.location.search);const stringType=params.get(\"type\")||\"none\";const formData=new FormData(e.currentTarget);const data=Object.fromEntries(formData.entries());// tel varidate\nif(`${data.telephone}`.length!==10){setInputStatus(false);return false;}else{setInputStatus(true);}// save localStorage\nlocalStorage.setItem(\"user_tel\",`${data.telephone}`);// show loading\nsetBtnStatus(\"Loading\");// call api\n// console.log(\"Serialized Home Data:\", data)\nlet dataFormBase={line_uid:store.uid,phone_number:`${data.telephone}`,type:stringType};let solitPhone=formatPhoneNumber(`${data.telephone}`);let typeSpace=stringType.replaceAll(\"_\",\" \");const friendStatus=store.friend;fn_get_sha256(dataFormBase.phone_number).then(sha256_phone_number=>{let hash_phone_66=`66${solitPhone}`;fn_get_sha256(hash_phone_66).then(sha256_hash_phone_66=>{let hash_phone_plus_66=`+66${solitPhone}`;fn_get_sha256(hash_phone_plus_66).then(sha256_hash_phone_plus_66=>{let dataSet1={event:\"line_form\",form_type:\"register_phone\",form_data:{campaign:typeSpace,line_uid:store.uid,phone_number:dataFormBase.phone_number,sales:\"-\",user_type:friendStatus}};let dataSet2={event:\"register_phone\",campaign:typeSpace,line_uid:store.uid,phone_number:sha256_phone_number,hash_phone_66:sha256_hash_phone_66,hash_phone_plus_66:sha256_hash_phone_plus_66,sales:\"-\",user_type:friendStatus};let config=fn_get_baseConfig_form2(JSON.stringify(dataFormBase));axios.request(config).then(response=>{// thankyou\nsetBtnStatus(\"Success\");// push datalayer #3 ยืนยันหมายเลขโทรศัพท์สำเร็จ\nif(window.dataLayer){window.dataLayer.push(dataSet1);window.dataLayer.push(dataSet2);}// redirect\nsetTimeout(function(){// window.location.href = \"https://your-target-page.com\"\nwindow.location.replace(\"/thankyou-all\");},redirectDelay);}).catch(error=>{if(error.response){if(Number(error.response.status)===422){setBtnStatus(\"Case422\");}else{setBtnStatus(\"Error\");}}else{setBtnStatus(\"Error\");}});});});});return false;};useEffect(()=>{if(localStorage.getItem(\"user_tel\")&&document.querySelector('input[type=\"tel\"][name=\"telephone\"]')){setInputValStorage(localStorage.getItem(\"user_tel\"));}},[]);return /*#__PURE__*/_jsxs(\"form\",{style:{display:\"block\",width:\"100%\"},ref:formRef,action:\"\",onSubmit:handleSubmitForm,children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",width:\"100%\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,variant:inputStatus?\"Default\":\"Error\",valueStorage:inputValStorage})}),/*#__PURE__*/_jsx(TermAccept,{style:{margin:\"auto\",width:\"1014px\",maxWidth:\"100%\"},variant:acceptStatus?\"Active\":\"Normal\",onClick:()=>{if(btnStatus==\"Default\"){setAcceptStatus(!acceptStatus);}}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",margin:\"auto\",pointerEvents:`${acceptStatus?\"auto\":\"none\"}`,userSelect:`${acceptStatus?\"auto\":\"none\"}`},children:/*#__PURE__*/_jsx(BtnForm,{label:\"ตกลง\",variant:acceptStatus?btnStatus:\"Disabled\",type:\"submit\"})})]});});}export function withFormSale(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();const redirectDelay=1e3;const formRef=useRef(null);const[acceptStatus,setAcceptStatus]=useState(false)// false : Normal, true : Active\n;const[btnStatus,setBtnStatus]=useState(\"Default\")// Default, Loading, Disabled, Success, Error\n;const handleSubmitForm=e=>{e.preventDefault();// veridate\nif(!acceptStatus){return false;}const params=new URLSearchParams(window.location.search);const stringSaleID=params.get(\"sale_id\")||\"-\";const formData=new FormData(e.currentTarget);const data=Object.fromEntries(formData.entries());// show loading\nsetBtnStatus(\"Loading\");// call api\n// console.log(\"Serialized Home Data:\", data)\nlet dataFormBase={line_uid:store.uid,// branch_name: `${data.location}`,\npurchase_plan:`${data.plan}`,firstname:`${data.firstName}`,lastname:`${data.lastName}`,phone_number:`${data.telephone}`,email:`${data.email}`,car_model:`${data.carModel}`,sale_id:`${stringSaleID}`};let solitPhone=formatPhoneNumber(`${data.telephone}`);const friendStatus=store.friend;fn_get_sha256(dataFormBase.firstname).then(sha256_firstname=>{fn_get_sha256(dataFormBase.lastname).then(sha256_lastname=>{fn_get_sha256(dataFormBase.phone_number).then(sha256_phone_number=>{let hash_phone_66=`66${solitPhone}`;fn_get_sha256(hash_phone_66).then(sha256_hash_phone_66=>{let hash_phone_plus_66=`+66${solitPhone}`;fn_get_sha256(hash_phone_plus_66).then(sha256_hash_phone_plus_66=>{fn_get_sha256(dataFormBase.email).then(sha256_email=>{let dataSet1={event:\"line_form\",form_type:\"form_sales_drop_lead\",form_data:{first_name:dataFormBase.firstname,last_name:dataFormBase.lastname,phone_number:dataFormBase.phone_number,email:dataFormBase.email,car_model:dataFormBase.car_model,car_sub_model:\"-\",purchase_plan:dataFormBase.purchase_plan,// target_branch: dataFormBase.branch_name,\nposition:\"QR Sales Drop Lead\",campaign:\"sales drop lead\",line_uid:store.uid,sales:dataFormBase.sale_id,user_type:friendStatus}};let dataSet2={event:\"submit_sales_drop_lead\",firstname:sha256_firstname,lastname:sha256_lastname,phone_number:sha256_phone_number,hash_phone_66:sha256_hash_phone_66,hash_phone_plus_66:sha256_hash_phone_plus_66,email:sha256_email,car_model:dataFormBase.car_model,car_sub_model:\"-\",purchase_plan:dataFormBase.purchase_plan,// branch_name: dataFormBase.branch_name,\nposition:\"QR Sales Drop Lead\",campaign:\"sales drop lead\",line_uid:store.uid,sales:dataFormBase.sale_id,user_type:friendStatus};let config=fn_get_baseConfig_form3(JSON.stringify(dataFormBase));axios.request(config).then(response=>{// thankyou\nsetBtnStatus(\"Success\");// push datalayer\nif(window.dataLayer){window.dataLayer.push(dataSet1);window.dataLayer.push(dataSet2);}// redirect\nsetTimeout(function(){// window.location.href = \"https://your-target-page.com\"\nwindow.location.replace(\"/thankyou-all\");},redirectDelay);}).catch(error=>{// error\nsetBtnStatus(\"Error\");});});});});});});});return false;};return /*#__PURE__*/_jsxs(\"form\",{style:{display:\"block\",width:\"100%\"},ref:formRef,action:\"\",onSubmit:handleSubmitForm,children:[/*#__PURE__*/_jsx(Component,{ref:ref,...props}),/*#__PURE__*/_jsx(TermAccept,{style:{margin:\"auto\",width:\"1014px\",maxWidth:\"100%\"},variant:acceptStatus?\"Active\":\"Normal\",onClick:()=>{if(btnStatus==\"Default\"){setAcceptStatus(!acceptStatus);}}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",margin:\"auto\",pointerEvents:`${acceptStatus?\"auto\":\"none\"}`,userSelect:`${acceptStatus?\"auto\":\"none\"}`},children:/*#__PURE__*/_jsx(BtnForm,{label:\"ตกลง\",variant:acceptStatus?btnStatus:\"Disabled\",type:\"submit\"})})]});});}export function withSaleIDView(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[saleValue,setSaleValue]=useState(\"-\");useEffect(()=>{// get type\nconst params=new URLSearchParams(window.location.search);const stringSaleID=params.get(\"sale_id\")||\"-\";setSaleValue(stringSaleID);},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,saleID:saleValue});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withClickDownloadG6\":{\"type\":\"reactHoc\",\"name\":\"withClickDownloadG6\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFormSale\":{\"type\":\"reactHoc\",\"name\":\"withFormSale\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLineConnectGetUID\":{\"type\":\"reactHoc\",\"name\":\"withLineConnectGetUID\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSaleIDView\":{\"type\":\"reactHoc\",\"name\":\"withSaleIDView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClickDownloadX9\":{\"type\":\"reactHoc\",\"name\":\"withClickDownloadX9\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFormDriveBookBag\":{\"type\":\"reactHoc\",\"name\":\"withFormDriveBookBag\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LineConnect.map"],"mappings":"iPAIA,eAAe,EAAc,EAAQ,CAAC,IAAM,EAAS,IAAI,aAAa,CAAC,OAAO,EAAQ,CAC/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