8ac1a56.js

https://nayoo.co/_nuxt/8ac1a56.js

Analyzed: 3/5/2026, 12:35:00 AM

View Scan Result

Script Analysis Summary

Summary: 8ac1a56.js is a 697.8 KB external identified as lit. Contains 3002 functions with complexity score of 1797. SHA-256: b1bec751da162224...

external697.8 KBlitML Embeddings Available

Code Metrics

File Size
697.8 KB
Functions
3,002*
Complexity
1,797
AST Nodes
146,821
AST Depth
64
Function Calls
7,571
Normalized Size
7.2 KB

Code Analysis

API Usage

dom2548 calls
crypto139 calls
network162 calls

Control Flow

Functions241
Loops198
Conditionals560

String Statistics

Total Strings12,181
Unique Strings3,433
URLs Found101

Security Indicators

Encoding Functions

Code Style

Lines of Code1
MinifiedYes

Obfuscation Analysis

No obfuscation data available

Library Detection

lit

Bundle Analysis

Not a bundled file

Copyright & License

Copyright Notice
w-100"},[t("b-container",{staticClass:"d-flex justify-content-center justify-content-md-end"},[e._v("\n © 2024 NaYoo Co., Ltd\n ")])],1)],1)}),[],!1,null,"3815b6a2",null).exports),mn=n(44),gn={components:{ContactMarketing:sn,TypeLocation:an.a,Properties:dn,FooterContact:hn},data:function(){return{config:mn,showSection:!1,footerKey:0}},computed:{province:function(){return this.$helpers.routeProvince()}},watch:{$route:function(){this.footerKey++}},mounted:function(){"index"!==this.$route.name&&(this.showSection=!0)},head:function(){return{}}},vn=Object(T.a)(gn,(function(){var e=this,t=e._self._c;return t("div",{key:"footer-key-".concat(e.footerKey),staticClass:"footer-container d-flex flex-column gap-8 gap-md-16 pt-2 pt-md-3"},[t("b-container",{staticClass:"d-flex flex-column gap-8 gap-md-16"},[[t("ContactMarketing")],e._v(" "),e.config.SUPPORT_PROVINCE[this.$helpers.routeProvince()].allowFeature.seoFooter?[e.showSection?t("TypeLocation",{attrs:{slug:"".concat(e.$helpers.routeProvince()),template:"b"}}):e._e(),e._v(" "),t("Properties")]:e._e()],2),e._v(" "),t("FooterContact")],1)}),[],!1,null,null,null).exports,bn={components:{BModal:function(){return n.e(0).then(n.bind(null,526)).then((function(e){return e.BModal}))}},data:function(){return{hideTimeout:0}},computed:{isShow:function(){return this.$store.getters["alertV2/isShow"]},alert:function(){var e=this.$store.getters["alertV2/type"],t="",n="";return"success"===e?(t="text-success",n="far fa-check-circle"):"error"===e?(t="text-danger",n="far fa-exclamation-circle"):"warning"===e?(t="text-warning",n="far fa-exclamation-triangle"):(t="text-info",n="far fa-info-circle"),{className:t,icon:n,title:this.$store.getters["alertV2/title"],message:this.$store.getters["alertV2/message"]}}},watch:{isShow:function(e){e?this.$refs["alert-modal"].show():this.$refs["alert-modal"].hide()}},beforeDestroy:function(){clearTimeout(this.hideTimeout)},methods:{hide:function(){this.$store.dispatch("alertV2/hideAlert")}}},yn=bn,wn=(n(649),Object(T.a)(yn,(function(){var e=this,t=e._self._c;return t("BModal",{ref:"alert-modal",attrs:{"hide-footer":"","hide-header":"",centered:"","dialog-class":"alert-modal-dialog","content-class":"alert-modal-content","body-class":"alert-modal-body"},on:{hidden:function(t){return e.hide()}}},[t("div",{staticClass:"alert-modal d-flex flex-column align-items-center gap-8 p-3",class:e.alert.className},[t("i",{staticClass:"fs-50",class:e.alert.icon}),e._v(" "),e.alert.title?t("div",{staticClass:"fs-18 fw-500"},[e._v("\n "+e._s(e.alert.title)+"\n ")]):e._e(),e._v(" "),e.alert.message?t("div",{staticClass:"fs-14 fw-400 text-gray"},[e._v("\n "+e._s(e.alert.message)+"\n ")]):e._e()])])}),[],!1,null,null,null).exports);function _n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw r}}}}function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var Cn=n(44),kn={name:"Popups",data:function(){return{showPopup:!1,currentPopup:null,isVisible:!1,popups:[]}},computed:{canShowPopup:function(){var e,t=null!==(e=this.$helpers.getAllRouteProvinces())&&void 0!==e?e:[],n=this.$route.params.slug2,o=this.$route.name,r=o.includes("province")&&"index"!==o&&!o.includes("profile-dashboard")&&!o.includes("create")&&!o.includes("edit")&&!o.includes("update")&&!o.includes("property-slug1")||o.includes("property")&&n&&t.find((function(e){return e.key===n}));return this.allowProvinces?r:"province"===o},allowProvinces:function(){var e;return null===(e=Cn.SUPPORT_PROVINCE[this.$helpers.routeProvince()].allowFeature)||void 0===e?void 0:e.newDesignV1}},watch:{$route:{handler:function(e,t){var n=this;return Object(o.a)(regeneratorRuntime.mark((function o(){var r,c,l,d,f,h,m,v,y,w,_,x,C,k;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(y=null==t?void 0:t.path,w=null==e?void 0:e.path,_=null==t||null===(r=t.params)||void 0===r?void 0:r.province,x=null==e||null===(c=e.params)||void 0===c?void 0:c.province,C=(null==t||null===(l=t.params)||void 0===l?void 0:l.id)||(null==t||null===(d=t.params)||void 0===d?void 0:d.slug)||(null==t||null===(f=t.params)||void 0===f?void 0:f.model_id),k=(null==e||null===(h=e.params)||void 0===h?void 0:h.id)||(null==e||null===(m=e.params)||void 0===m?void 0:m.slug)||(null==e||null===(v=e.params)||void 0===v?void 0:v.model_id),!(y!==w||x&&x!==_||k&&k!==C)){o.next=9;break}return o.next=9,n.getPopUp();case 9:case"end":return o.stop()}}),o)})))()}}},mounted:function(){document.addEventListener("DOMContentLoaded",this.getPopUp())},beforeDestroy:function(){document.removeEventListener("DOMContentLoaded",this.getPopUp())},created:function(){},methods:{checkAndShowPopup:function(){var e=this;if(this.popups&&0!==this.popups.length){var t=this.$helpers.routeProvince();this.allowProvinces&&this.shuffle(this.popups);var n,o=this.popups.find((function(n){var o,r,c="pop_id_".concat(n.id,"_").concat(t);return!(null!==(o=null===(r=e.$cookies)||void 0===r?void 0:r.get(c))&&void 0!==o&&o)}));if(o&&this.canShowPopup)this.currentPopup=o,this.setCookie("pop_id_".concat(o.id,"_").concat(t),"1",o.duration),this.showPopup=!0,this.page_source=Object(Ie.a)(this.$nuxt.$route),this.$TrackingV2.count(this.currentPopup.id,"pop_ups",this.$helpers.provinceID(),"imp",1,1,null!==(n=this.page_source)&&void 0!==n?n:"web","-","-")}else console.log("ไม่มี popups")},getPopUp:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var n,o,r,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n={headers:{province:e.$helpers.routeProvince()}},t.next=4,e.$apiPopUp.customGet("getAllPopup",null,{},n);case 4:if(o=t.sent,r=o.popups,!(c=void 0===r?[]:r)){t.next=11;break}return e.popups=c,t.next=11,e.checkAndShowPopup();case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(0),console.error("Error fetching popups:",t.t0);case 16:case"end":return t.stop()}}),t,null,[[0,13]])})))()},setCookie:function(e,t,n){var o=new Date;o.setTime(o.getTime()+60

ML Analysis

CodeBERT (768d)GraphCodeBERT (768d)AST Features (128d)Handcrafted (64d)
Composite Vector1728 dimensions

Used for semantic similarity search across the database

Module Information

Module Pattern
script
Is Module
No