/** * name: amz123-data-burial-sdk * version: v0.0.31 * author: 2023010 * date: 2025/2/20 11:03:03*/ (()=>{var ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function We(r){if(r.__esModule)return r;var i=r.default;if(typeof i=="function"){var g=function h(){if(this instanceof h){var p=[null];return p.push.apply(p,arguments),new(Function.bind.apply(i,p))}return i.apply(this,arguments)};g.prototype=i.prototype}else g={};return Object.defineProperty(g,"__esModule",{value:!0}),Object.keys(r).forEach(function(h){var p=Object.getOwnPropertyDescriptor(r,h);Object.defineProperty(g,h,p.get?p:{enumerable:!0,get:function(){return r[h]}})}),g}var we=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,Ke=Object.getOwnPropertyNames,Je=Object.prototype.hasOwnProperty,De={};((r,i)=>{for(var g in i)we(r,g,{get:i[g],enumerable:!0})})(De,{AmzDebug:()=>Ye,AmzError:()=>Qe,AmzInfo:()=>qe,AmzLog:()=>Ze,AmzTable:()=>$e});var ke,W=(ke=De,((r,i,g,h)=>{if(i&&typeof i=="object"||typeof i=="function")for(let p of Ke(i))Je.call(r,p)||p===g||we(r,p,{get:()=>i[p],enumerable:!(h=Xe(i,p))||h.enumerable});return r})(we({},"__esModule",{value:!0}),ke));function ce(r,...i){try{return((g=globalThis==null?void 0:globalThis.localStorage)!=null&&g.getItem("__zfty_magic_box__")||globalThis.__zfty_magic_box__?(...h)=>h.join(";").toString():()=>{})(...i)}catch{}var g}function Ze(...r){return ce("log",...r)}function qe(...r){return ce("info",...r)}function Ye(...r){return ce("debug",...r)}function $e(...r){return ce("table",...r)}function Qe(...r){return ce("error",...r)}var Le,de,fe,he={};async function Be(){const r="sdk_fingerprint",i=localStorage.getItem(r);if(i)return i;const g=(await he.getPromise()).map(p=>p.value),h=await he.x64hash128(g.join(""),31);return localStorage.setItem(r,h),h}function ie(r,i,g){var L;const{deep:h=5,defaultValue:p=""}=g??{};return r===document.body||!r||h<=0||r.parentElement===null?p:r.dataset[i]?((L=r==null?void 0:r.dataset)==null?void 0:L[i])??p:ie(r.parentElement,i,{deep:h-1,defaultValue:p})}async function Re(r){var i,g;try{const h=`${ie(r,"sdkPosition")}-${ie(r,"sdkIndex")}`,p=ie(r,"sdkResourceId",{deep:3,defaultValue:`${(i=r.textContent)==null?void 0:i.trim()}`??""}),L=((g=r==null?void 0:r.dataset)==null?void 0:g.sdkUrl)??(r==null?void 0:r.href)??"",c=ie(r,"sdkPartnerId",{deep:3,defaultValue:"0"}),N=ie(r,"sdkPath",{deep:3,defaultValue:location.pathname}),b=await Be(),B=location.href.includes("www.tt123")?"tt123-":"amz123-";return{resource_id:p,resource_position:h,resource_url:L,partner_id:c,path:N,finger_print:b,target_type:B+"click"}}catch(h){return W.AmzError(h),null}}de=ge,fe=function(){Array.isArray===void 0&&(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"});var r=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},i=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},g=function(e,t){return(t%=64)==32?[e[1],e[0]]:t<32?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])},h=function(e,t){return(t%=64)==0?e:t<32?[e[0]<>>32-t,e[1]<>>1]),e=i(e,[4283543511,3981806797]),e=p(e,[0,e[0]>>>1]),e=i(e,[3301882366,444984403]),e=p(e,[0,e[0]>>>1])},c=function(e,t){t=t||0;for(var n=(e=e||"").length%16,a=e.length-n,T=[0,t],s=[0,t],v=[0,0],y=[0,0],k=[2277735313,289559509],M=[1291169091,658871167],w=0;w>>0).toString(16)).slice(-8)+("00000000"+(T[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)},N={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0,adBlock:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},b=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var n=0,a=e.length;ns.name?1:T.name=0?"Windows Phone":t.indexOf("windows")>=0||t.indexOf("win16")>=0||t.indexOf("win32")>=0||t.indexOf("win64")>=0||t.indexOf("win95")>=0||t.indexOf("win98")>=0||t.indexOf("winnt")>=0||t.indexOf("wow64")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0||t.indexOf("x11")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0||t.indexOf("ipod")>=0||t.indexOf("crios")>=0||t.indexOf("fxios")>=0?"iOS":t.indexOf("macintosh")>=0||t.indexOf("mac_powerpc)")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&e!=="Windows"&&e!=="Windows Phone"&&e!=="Android"&&e!=="iOS"&&e!=="Other"&&t.indexOf("cros")===-1||n!==void 0&&((n=n.toLowerCase()).indexOf("win")>=0&&e!=="Windows"&&e!=="Windows Phone"||n.indexOf("linux")>=0&&e!=="Linux"&&e!=="Android"||n.indexOf("mac")>=0&&e!=="Mac"&&e!=="iOS"||(n.indexOf("win")===-1&&n.indexOf("linux")===-1&&n.indexOf("mac")===-1)!=(e==="Other"))?!0:a.indexOf("win")>=0&&e!=="Windows"&&e!=="Windows Phone"||(a.indexOf("linux")>=0||a.indexOf("android")>=0||a.indexOf("pike")>=0)&&e!=="Linux"&&e!=="Android"||(a.indexOf("mac")>=0||a.indexOf("ipad")>=0||a.indexOf("ipod")>=0||a.indexOf("iphone")>=0)&&e!=="Mac"&&e!=="iOS"||!(a.indexOf("arm")>=0&&e==="Windows Phone")&&!(a.indexOf("pike")>=0&&t.indexOf("opera mini")>=0)&&((a.indexOf("win")<0&&a.indexOf("linux")<0&&a.indexOf("mac")<0&&a.indexOf("iphone")<0&&a.indexOf("ipad")<0&&a.indexOf("ipod")<0)!=(e==="Other")||navigator.plugins===void 0&&e!=="Windows"&&e!=="Windows Phone")},ae=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(t.indexOf("edge/")>=0||t.indexOf("iemobile/")>=0||t.indexOf("opera mini")>=0)return!1;if(((e=t.indexOf("firefox/")>=0?"Firefox":t.indexOf("opera/")>=0||t.indexOf(" opr/")>=0?"Opera":t.indexOf("chrome/")>=0?"Chrome":t.indexOf("safari/")>=0?t.indexOf("android 1.")>=0||t.indexOf("android 2.")>=0||t.indexOf("android 3.")>=0||t.indexOf("android 4.")>=0?"AOSP":"Safari":t.indexOf("trident/")>=0?"Internet Explorer":"Other")=="Chrome"||e==="Safari"||e==="Opera")&&n!=="20030107")return!0;var a,T=eval.toString().length;if(T===37&&e!=="Safari"&&e!=="Firefox"&&e!=="Other"||T===39&&e!=="Internet Explorer"&&e!=="Other"||T===33&&e!=="Chrome"&&e!=="AOSP"&&e!=="Opera"&&e!=="Other")return!0;try{throw"a"}catch(s){try{s.toSource(),a=!0}catch{a=!1}}return a&&e!=="Firefox"&&e!=="Other"},q=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},Y=function(){if(!q())return!1;var e=me(),t=!!window.WebGLRenderingContext&&!!e;return le(e),t},l=function(){return navigator.appName==="Microsoft Internet Explorer"||!(navigator.appName!=="Netscape"||!/Trident/.test(navigator.userAgent))},f=function(){return("msWriteProfilerMark"in window)+("msLaunchUri"in navigator)+("msSaveBlob"in navigator)>=2},u=function(){return window.swfobject!==void 0},d=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},Ue=function(e,t){var n="___fp_swf_loaded";window[n]=function(s){e(s)};var a=t.fonts.swfContainerId;(function(s){var v=document.createElement("div");v.setAttribute("id",s.fonts.swfContainerId),document.body.appendChild(v)})();var T={onReady:n};window.swfobject.embedSWF(t.fonts.swfPath,a,"1","1","9.0.0",!1,T,{allowScriptAccess:"always",menu:"false"},{})},me=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch{}return t||(t=null),t},le=function(e){var t=e.getExtension("WEBGL_lose_context");t!=null&&t.loseContext()},Ve=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(navigator.webdriver==null?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(A(t))}},{key:"screenResolution",getData:function(e,t){e(I(t))}},{key:"availableScreenResolution",getData:function(e,t){e(E(t))}},{key:"timezoneOffset",getData:function(e){e(new Date().getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e(new window.Intl.DateTimeFormat().resolvedOptions().timeZone||t.NOT_AVAILABLE):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(o(t))}},{key:"localStorage",getData:function(e,t){e(m(t))}},{key:"indexedDb",getData:function(e,t){e(S(t))}},{key:"addBehavior",getData:function(e){e(!!window.HTMLElement.prototype.addBehavior)}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(_(t))}},{key:"platform",getData:function(e,t){e(x(t))}},{key:"doNotTrack",getData:function(e,t){e(H(t))}},{key:"plugins",getData:function(e,t){l()?t.plugins.excludeIE?e(t.EXCLUDED):e(R(t)):e(C(t))}},{key:"canvas",getData:function(e,t){q()?e(X(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){Y()?e(j()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){Y()?e(Q()):e()}},{key:"adBlock",getData:function(e){e(ee())}},{key:"hasLiedLanguages",getData:function(e){e(te())}},{key:"hasLiedResolution",getData:function(e){e(ne())}},{key:"hasLiedOs",getData:function(e){e(re())}},{key:"hasLiedBrowser",getData:function(e){e(ae())}},{key:"touchSupport",getData:function(e){e(G())}},{key:"fonts",getData:function(e,t){var n=["monospace","sans-serif","serif"],a=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];t.fonts.extendedJsFonts&&(a=a.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])),a=(a=a.concat(t.fonts.userDefinedFonts)).filter(function(O,F){return a.indexOf(O)===F});var T=document.getElementsByTagName("body")[0],s=document.createElement("div"),v=document.createElement("div"),y={},k={},M=function(){var O=document.createElement("span");return O.style.position="absolute",O.style.left="-9999px",O.style.fontSize="72px",O.style.fontStyle="normal",O.style.fontWeight="normal",O.style.letterSpacing="normal",O.style.lineBreak="auto",O.style.lineHeight="normal",O.style.textTransform="none",O.style.textAlign="left",O.style.textDecoration="none",O.style.textShadow="none",O.style.whiteSpace="normal",O.style.wordBreak="normal",O.style.wordSpacing="normal",O.innerHTML="mmmmmmmmmmlli",O},w=function(O,F){var V=M();return V.style.fontFamily="'"+O+"',"+F,V},z=function(O){for(var F=!1,V=0;V=e.components.length)t(n.data);else{var v=e.components[a];if(e.excludes[v.key])T(!1);else{if(!s&&v.pauseBefore)return a-=1,void setTimeout(function(){T(!0)},1);try{v.getData(function(y){n.addPreprocessedComponent(v.key,y),T(!1)},e)}catch(y){n.addPreprocessedComponent(v.key,String(y)),T(!1)}}}};T(!1)},K.getPromise=function(e){return new Promise(function(t,n){K.get(e,t)})},K.getV18=function(e,t){return t==null&&(t=e,e={}),K.get(e,function(n){for(var a=[],T=0;T{if(globalThis.document===void 0)throw new Error("当前不再客户端运行环境")};function _e(){$(),localStorage.removeItem(Oe.LOCAL_STORAGE_TOKEN_NAME),Ne()}U.clearGlobalUserInfo=_e;function Ne(){$();for(var r=document.cookie.split(";"),i=0;i-1?g.substr(0,h):g;document.cookie=`${p}=;expires=Thu, 01 Jan 1970 00:00:00 GMT`}}function ye(){var r;$();try{const i=localStorage.getItem(Oe.LOCAL_STORAGE_TOKEN_NAME);return i?new Date().valueOf()/1e3>((r=JSON.parse(i).expire)!==null&&r!==void 0?r:0)?void _e():JSON.parse(i):void 0}catch{return}}U.getTokenFromBBSToken=()=>($(),document.cookie.replace(/(?:(?:^|.*;\s*)bbs_token\s*\=\s*([^;]*).*$)|^.*$/,"$1")),U.deleteAllCookies=Ne,U.getTokenFromLocalStorage=function(){$();const r=ye();return r?r==null?void 0:r.token:void 0},U.getGlobalUserInfoFromLocalStorage=ye,U.saveGlobalUserInfoToLS=function(r){$();try{localStorage.setItem(Oe.LOCAL_STORAGE_TOKEN_NAME,JSON.stringify(r))}catch{}},U.checkGlobalUserInfoExpire=function(r){$();const i=ye();try{i&&i.expire>>2]>>>24-x%4*8&255;m[A+x>>>2]|=H<<24-(A+x)%4*8}else for(var G=0;G<_;G+=4)m[A+G>>>2]=S[G>>>2];return this.sigBytes+=_,this},clamp:function(){var o=this.words,m=this.sigBytes;o[m>>>2]&=4294967295<<32-m%4*8,o.length=i.ceil(m/4)},clone:function(){var o=b.clone.call(this);return o.words=this.words.slice(0),o},random:function(o){for(var m=[],S=0;S>>2]>>>24-_%4*8&255;A.push((x>>>4).toString(16)),A.push((15&x).toString(16))}return A.join("")},parse:function(o){for(var m=o.length,S=[],A=0;A>>3]|=parseInt(o.substr(A,2),16)<<24-A%8*4;return new B.init(S,m/2)}},E=P.Latin1={stringify:function(o){for(var m=o.words,S=o.sigBytes,A=[],_=0;_>>2]>>>24-_%4*8&255;A.push(String.fromCharCode(x))}return A.join("")},parse:function(o){for(var m=o.length,S=[],A=0;A>>2]|=(255&o.charCodeAt(A))<<24-A%4*8;return new B.init(S,m)}},C=P.Utf8={stringify:function(o){try{return decodeURIComponent(escape(E.stringify(o)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(o){return E.parse(unescape(encodeURIComponent(o)))}},R=N.BufferedBlockAlgorithm=b.extend({reset:function(){this._data=new B.init,this._nDataBytes=0},_append:function(o){typeof o=="string"&&(o=C.parse(o)),this._data.concat(o),this._nDataBytes+=o.sigBytes},_process:function(o){var m,S=this._data,A=S.words,_=S.sigBytes,x=this.blockSize,H=_/(4*x),G=(H=o?i.ceil(H):i.max((0|H)-this._minBufferSize,0))*x,X=i.min(4*G,_);if(G){for(var j=0;j>>24)|4278255360&(o<<24|o>>>8)}var m=this._hash.words,S=E[C+0],A=E[C+1],_=E[C+2],x=E[C+3],H=E[C+4],G=E[C+5],X=E[C+6],j=E[C+7],Q=E[C+8],ee=E[C+9],te=E[C+10],ne=E[C+11],re=E[C+12],ae=E[C+13],q=E[C+14],Y=E[C+15],l=m[0],f=m[1],u=m[2],d=m[3];l=b(l,f,u,d,S,7,c[0]),d=b(d,l,f,u,A,12,c[1]),u=b(u,d,l,f,_,17,c[2]),f=b(f,u,d,l,x,22,c[3]),l=b(l,f,u,d,H,7,c[4]),d=b(d,l,f,u,G,12,c[5]),u=b(u,d,l,f,X,17,c[6]),f=b(f,u,d,l,j,22,c[7]),l=b(l,f,u,d,Q,7,c[8]),d=b(d,l,f,u,ee,12,c[9]),u=b(u,d,l,f,te,17,c[10]),f=b(f,u,d,l,ne,22,c[11]),l=b(l,f,u,d,re,7,c[12]),d=b(d,l,f,u,ae,12,c[13]),u=b(u,d,l,f,q,17,c[14]),l=B(l,f=b(f,u,d,l,Y,22,c[15]),u,d,A,5,c[16]),d=B(d,l,f,u,X,9,c[17]),u=B(u,d,l,f,ne,14,c[18]),f=B(f,u,d,l,S,20,c[19]),l=B(l,f,u,d,G,5,c[20]),d=B(d,l,f,u,te,9,c[21]),u=B(u,d,l,f,Y,14,c[22]),f=B(f,u,d,l,H,20,c[23]),l=B(l,f,u,d,ee,5,c[24]),d=B(d,l,f,u,q,9,c[25]),u=B(u,d,l,f,x,14,c[26]),f=B(f,u,d,l,Q,20,c[27]),l=B(l,f,u,d,ae,5,c[28]),d=B(d,l,f,u,_,9,c[29]),u=B(u,d,l,f,j,14,c[30]),l=P(l,f=B(f,u,d,l,re,20,c[31]),u,d,G,4,c[32]),d=P(d,l,f,u,Q,11,c[33]),u=P(u,d,l,f,ne,16,c[34]),f=P(f,u,d,l,q,23,c[35]),l=P(l,f,u,d,A,4,c[36]),d=P(d,l,f,u,H,11,c[37]),u=P(u,d,l,f,j,16,c[38]),f=P(f,u,d,l,te,23,c[39]),l=P(l,f,u,d,ae,4,c[40]),d=P(d,l,f,u,S,11,c[41]),u=P(u,d,l,f,x,16,c[42]),f=P(f,u,d,l,X,23,c[43]),l=P(l,f,u,d,ee,4,c[44]),d=P(d,l,f,u,re,11,c[45]),u=P(u,d,l,f,Y,16,c[46]),l=I(l,f=P(f,u,d,l,_,23,c[47]),u,d,S,6,c[48]),d=I(d,l,f,u,j,10,c[49]),u=I(u,d,l,f,q,15,c[50]),f=I(f,u,d,l,G,21,c[51]),l=I(l,f,u,d,re,6,c[52]),d=I(d,l,f,u,x,10,c[53]),u=I(u,d,l,f,te,15,c[54]),f=I(f,u,d,l,A,21,c[55]),l=I(l,f,u,d,Q,6,c[56]),d=I(d,l,f,u,Y,10,c[57]),u=I(u,d,l,f,X,15,c[58]),f=I(f,u,d,l,ae,21,c[59]),l=I(l,f,u,d,H,6,c[60]),d=I(d,l,f,u,ne,10,c[61]),u=I(u,d,l,f,_,15,c[62]),f=I(f,u,d,l,ee,21,c[63]),m[0]=m[0]+l|0,m[1]=m[1]+f|0,m[2]=m[2]+u|0,m[3]=m[3]+d|0},_doFinalize:function(){var E=this._data,C=E.words,R=8*this._nDataBytes,D=8*E.sigBytes;C[D>>>5]|=128<<24-D%32;var o=r.floor(R/4294967296),m=R;C[15+(D+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),C[14+(D+64>>>9<<4)]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),E.sigBytes=4*(C.length+1),this._process();for(var S=this._hash,A=S.words,_=0;_<4;_++){var x=A[_];A[_]=16711935&(x<<8|x>>>24)|4278255360&(x<<24|x>>>8)}return S},clone:function(){var E=p.clone.call(this);return E._hash=this._hash.clone(),E}});function b(E,C,R,D,o,m,S){var A=E+(C&R|~C&D)+o+S;return(A<>>32-m)+C}function B(E,C,R,D,o,m,S){var A=E+(C&D|R&~D)+o+S;return(A<>>32-m)+C}function P(E,C,R,D,o,m,S){var A=E+(C^R^D)+o+S;return(A<>>32-m)+C}function I(E,C,R,D,o,m,S){var A=E+(R^(C|~D))+o+S;return(A<>>32-m)+C}i.MD5=p._createHelper(N),i.HmacMD5=p._createHmacHelper(N)}(Math),Ae.MD5);const at=Ee,ot=(r={})=>{if(typeof r!="object")throw new Error("🤖 无效的payload数据");const i={},g=Object.keys(r);g.sort();const h=["referrer","sdk_version"];return g.forEach(p=>{h.includes(p)||(i[p]=r[p])}),W.AmzLog(i,JSON.stringify(i)),at(JSON.stringify(i)).toString()},Ge=async(r,i={},g={headersConfig:{},fetchOptionConfig:{},timeout:8e3})=>{try{const h=new AbortController,p=JSON.stringify({...i,sign:ot(i)}),L={headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*","App-Id":globalThis.__navApp__.appId,"Project-Id":"buried",timestamp:""+~~(Date.now()/1e3),Authorization:Se.getTokenFromLocalStorage()??Se.getTokenFromBBSToken(),...g.headersConfig},method:"POST",signal:h.signal};setTimeout(()=>{h.abort()},g.timeout);const c={body:p,...L};r=location.href.includes("https://www.amz123.com/")?"https://api.amz123.com"+r:"/api"+r;const N=await fetch(r,c);if(N.status===200){const b=await N.json();if((b==null?void 0:b.status)===0)return b.data}throw Error(JSON.stringify({statusText:N.statusText,status:N.status}))}catch(h){return void W.AmzError("请求失败:",h)}},it=r=>Ge("/statistics/v1/sdk/stats",{...r,referrer:document.referrer,sdk_version:"0.1.0"}),st=r=>Ge("/statistics/v1/sdk/batch_stats",{...r}),Fe=async r=>{const i=r.filter(p=>p.getAttribute("data-sdk-report")==="2"||p.getAttribute("data-sdk-report")==="3"),g=[],h=i.length-1;i.forEach(async(p,L)=>{let c={};c={...await Re(p)},c.event_type="show",delete c.finger_print,delete c.sdk_version,delete c.referer,delete c.target_type,g.push(c),L===h&&pe(g)})},ct=async r=>{try{const i=await Be(),g=location.pathname;it({...r,finger_print:i,path:g})}catch(i){W.AmzError(i)}},lt=async(r,i=!1)=>{try{pe(r,i)}catch(g){W.AmzError(g)}};function Ie(r){try{r.getAttribute("data-sdk-add-visit")&&r.addEventListener("click",()=>{setTimeout(()=>{const i=document.querySelectorAll("*[data-sdk-report]"),g=Array.from(i);Fe(g),be()},1e3)}),r.addEventListener("click",async i=>{r.classList.contains("amz-peg-menu-item")||i.stopPropagation();const g=await Re(r);let h=g;if(W.AmzLog("上报的数据是:",g),g)return delete h.target_type,delete h.finger_print,h.event_type="click",pe([h],!0);throw Error("上报数据为空")}),r.dataset.sdkMarked="1"}catch(i){W.AmzError("初始化点击行为函数异常:",i)}}const be=async r=>{const i=location.pathname;let g=location.href,h="0";const p=document.querySelector('meta[name="partner_id"]');p&&(h=p.getAttribute("content")||"0"),pe([{path:i,resource_position:"",resource_id:"global-visit",resource_url:g,partner_id:h,event_type:r||"in"}])},pe=async(r,i=!1)=>{const g=Math.floor(new Date().getTime()/1e3),h={sdk_version:"0.1.0",finger_print:await Be(),referer:document.referrer},p=location.href.includes("www.tt123")?"tt123-":"amz123-";st({target_type:p+(i?"click":"visit"),batch_data:r,created_at:g,ua_info:h})};(function(){const r=(()=>{const g=location.href;return g.includes("tt123")?5:g.includes("vn.amz123")?7:3})(),i=location.href.includes("vn.amz123")?"vi":"cn";globalThis.__navApp__={appId:r,langKey:i},globalThis.__report__=ct,globalThis.__batchReport__=lt,window.addEventListener("DOMContentLoaded",()=>{(async()=>{try{const g=document.querySelectorAll("*[data-sdk-report]"),h=Array.from(g);h.filter(p=>p.getAttribute("data-sdk-report")==="1"||p.getAttribute("data-sdk-report")==="3").forEach(p=>{p.dataset.sdkMarked!=="1"&&Ie(p)}),Fe(h)}catch(g){W.AmzError("监听点击事件异常:",g)}})()}),window.addEventListener("DOMContentLoaded",()=>{be("in")}),window.addEventListener("beforeunload",()=>{be("out")}),window.addEventListener("DOMContentLoaded",function(){try{new MutationObserver(function(g){g.forEach(function(h){const p=h.target.querySelectorAll("*[data-sdk-report]");Array.from(p).filter(L=>L.getAttribute("data-sdk-report")==="1"||L.getAttribute("data-sdk-report")==="3").forEach(L=>{L.dataset.sdkMarked!=="1"&&(W.AmzLog("监听到DOM节点创建:",L),Ie(L))})})}).observe(document.body,{subtree:!0,childList:!0,attributes:!1})}catch(g){W.AmzError("监听页面DOM生成异常:",g)}})})(); })();