PageSourceSearch

https://www.adata-powertrain.com/_next/static/chunks/6138-e332ab080a3a7e3e.js

js adata-powertrain.com collected 2026-10-03 18:19:59 UTC 7,351 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6138],{6138:function(e,t,r){"use strict";r.d(t,{rQ:function(){return u},qC:function(){return f}});var n=r(7568),o=r(655),a=r(8945),i=r(8428),l=r.n(i);function c(e){return s.apply(this,arguments)}function s(){return(s=(0,n.Z)(function(e){var t,r,n,i,c,s,u,h,f,d,g,v,p,b,m;return(0,o.__generator)(this,function(o){switch(o.label){case 0:a.Z.defaults.httpsAgent=new(l()).Agent({rejectUnauthorized:!1}),r=e.method,n=e.url,i=e.locale,c=e.payload,s=e.responseType,u=e.token,g={method:r,url:((f=void 0===(h=e.useBackendUrl)||h)&&"https://webapi3.adata.com"||"")+n,headers:{"X-localization":(null===(t=[{value:"en",locale:"default"},{value:"en",locale:"global"}].find(function(e){return e.locale===i}))||void 0===t?void 0:t.value)||i||"en"}},c&&(g.data=c),u&&(g.headers.Authorization=u),s&&(g.responseType=s),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,(0,a.Z)(g)];case 2:return[2,o.sent()];case 3:throw(null==(p=o.sent())?void 0:null===(b=p.response)||void 0===b?void 0:b.data)?console.error("error when calling api:",null==p?void 0:null===(m=p.response)||void 0===m?void 0:m.data):console.error("error when calling api:",p),p;case 4:return[2]}})})).apply(this,arguments)}function u(e,t){return h.apply(this,arguments)}function h(){return(h=(0,n.Z)(function(e,t){var r,n,a,i,l=arguments;return(0,o.__generator)(this,function(r){switch(r.label){case 0:n={method:"get",url:e,locale:t,useBackendUrl:!(l.length>2)||void 0===l[2]||l[2]},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,c(n)];case 2:return[2,r.sent().data];case 3:throw i=r.sent(),console.error(i),i;case 4:return[2]}})})).apply(this,arguments)}function f(e,t,r){return d.apply(this,arguments)}function d(){return(d=(0,n.Z)(function(e,t,r){var n,a,i,l,s=arguments;return(0,o.__generator)(this,function(n){switch(n.label){case 0:a={method:"post",url:e,locale:t,payload:r,useBackendUrl:!(s.length>3)||void 0===s[3]||s[3]},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,c(a)];case 2:return[2,n.sent().data];case 3:throw l=n.sent(),console.error(l),l;case 4:return[2]}})})).apply(this,arguments)}r(5725)},5725:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(932).Z,o=r(2401).Z,a={reactStrictMode:!0,swcMinify:!0,sassOptions:{includePaths:[r(1864).join("/","styles")]},generateBuildId:n(function(){return o(this,function(e){return[2,"".concat(new Date().getTime())]})}),compiler:{},trailingSlash:!0,i18n:{locales:["default","en","tw",],defaultLocale:"default",localeDetection:!1,domains:[{domain:"172.25.64.4",defaultLocale:"cn",locales:["cn"]},]}};e.exports=a},1864:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",o=0,a=-1,i=0,l=0;l<=e.length;++l){if(l<e.length)r=e.charCodeAt(l);else if(47===r)break;else r=47;if(47===r){if(a===l-1||1===i);else if(a!==l-1&&2===i){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",o=0):o=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),a=l,i=0;continue}}else if(2===n.length||1===n.length){n="",o=0,a=l,i=0;continue}}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(a+1,l):n=e.slice(a+1,l),o=l-a-1;a=l,i=0}else 46===r&&-1!==i?++i:i=-1}return n}var n={resolve:function(){for(var e,n,o="",a=!1,i=arguments.length-1;i>=-1&&!a;i--)i>=0?n=arguments[i]:(void 0===e&&(e=""),n=e),t(n),0!==n.length&&(o=n+"/"+o,a=47===n.charCodeAt(0));return(o=r(o,!a),a)?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return(0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&o&&(e+="/"),n)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var o=arguments[r];t(o),o.length>0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=n.resolve(e))===(r=n.resolve(r)))return"";for(var o=1;o<e.length&&47===e.charCodeAt(o);++o);for(var a=e.length,i=a-o,l=1;l<r.length&&47===r.charCodeAt(l);++l);for(var c=r.length-l,s=i<c?i:c,u=-1,h=0;h<=s;++h){if(h===s){if(c>s){if(47===r.charCodeAt(l+h))return r.slice(l+h+1);if(0===h)return r.slice(l+h)}else i>s&&(47===e.charCodeAt(o+h)?u=h:0===h&&(u=0));break}var f=e.charCodeAt(o+h);if(f!==r.charCodeAt(l+h))break;47===f&&(u=h)}var d="";for(h=o+u+1;h<=a;++h)(h===a||47===e.charCodeAt(h))&&(0===d.length?d+="..":d+="/..");return d.length>0?d+r.slice(l+u):(l+=u,47===r.charCodeAt(l)&&++l,r.slice(l))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,o=-1,a=!0,i=e.length-1;i>=1;--i)if(47===(r=e.charCodeAt(i))){if(!a){o=i;break}}else a=!1;
1return -1===o?n?"/":".":n&&1===o?"//":e.slice(0,o)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,o=0,a=-1,i=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var l=r.length-1,c=-1;for(n=e.length-1;n>=0;--n){var s=e.charCodeAt(n);if(47===s){if(!i){o=n+1;break}}else -1===c&&(i=!1,c=n+1),l>=0&&(s===r.charCodeAt(l)?-1==--l&&(a=n):(l=-1,a=c))}return o===a?a=c:-1===a&&(a=e.length),e.slice(o,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!i){o=n+1;break}}else -1===a&&(i=!1,a=n+1);return -1===a?"":e.slice(o,a)},extname:function(e){t(e);for(var r=-1,n=0,o=-1,a=!0,i=0,l=e.length-1;l>=0;--l){var c=e.charCodeAt(l);if(47===c){if(!a){n=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===c?-1===r?r=l:1!==i&&(i=1):-1!==r&&(i=-1)}return -1===r||-1===o||0===i||1===i&&r===o-1&&r===n+1?"":e.slice(r,o)},format:function(e){var t,r,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return r=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),r?r===e.root?r+n:r+"/"+n:n},parse:function(e){t(e);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var o=e.charCodeAt(0),a=47===o;a?(n.root="/",r=1):r=0;for(var i=-1,l=0,c=-1,s=!0,u=e.length-1,h=0;u>=r;--u){if(47===(o=e.charCodeAt(u))){if(!s){l=u+1;break}continue}-1===c&&(s=!1,c=u+1),46===o?-1===i?i=u:1!==h&&(h=1):-1!==i&&(h=-1)}return -1===i||-1===c||0===h||1===h&&i===c-1&&i===l+1?-1!==c&&(0===l&&a?n.base=n.name=e.slice(1,c):n.base=n.name=e.slice(l,c)):(0===l&&a?(n.name=e.slice(1,i),n.base=e.slice(1,c)):(n.name=e.slice(l,i),n.base=e.slice(l,c)),n.ext=e.slice(i,c)),l>0?n.dir=e.slice(0,l-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}},i=!0;try{t[e](a,a.exports,n),i=!1}finally{i&&delete r[e]}return a.exports}n.ab="//";var o=n(114);e.exports=o}()},7568:function(e,t,r){"use strict";function n(e,t,r,n,o,a,i){try{var l=e[a](i),c=l.value}catch(s){r(s);return}l.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(o,a){var i=e.apply(t,r);function l(e){n(i,o,a,l,c,"next",e)}function c(e){n(i,o,a,l,c,"throw",e)}l(void 0)})}}r.d(t,{Z:function(){return o}})}}]);

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.