1var J=()=>{let R={};for(let[D,_]of new URLSearchParams(window.location.search).entries())R[D]=_;let w=window.location.hash;if(w){let D=w.indexOf("?");if(D!==-1){let _=w.substring(D+1);for(let[A,O]of new URLSearchParams(_).entries())R[A]=O}}return R},X=()=>{let R=null;try{R=JSON.parse(localStorage.getItem("urlParams"))}catch(w){return}return R},Y=()=>{let R=J();if(Object.keys(R).length>0){localStorage.setItem("urlParams",JSON.stringify(R)),console.log(`.${new URL(location.href).pathname}`);let w=new URL(location.href);window.location.href=`${w.origin}${w.pathname}`}};var L=(R={})=>{let{noCache:w}=window.pixelOption,D=!w?X():J();if(!D)return;let{campaignName:_,campaignId:A,adsetName:O,adsetId:$,adName:c,adId:H,fbclid:E,fbpid:z}=D,G={campaignName:(S)=>_=S,campaignId:(S)=>A=S,adsetName:(S)=>O=S,adsetId:(S)=>$=S,adName:(S)=>c=S,adId:(S)=>H=S};Object.entries(R).forEach(([S,Z])=>{if(G[Z])G[Z](D?.[S])});let V=`?campaign=${encodeURIComponent(_??"")}%20%28${encodeURIComponent(A??"")}%29&adgroup=${encodeURIComponent(O??"")}%20%28${encodeURIComponent($??"")}%29&creative=${encodeURIComponent(c??"")}%20%28${encodeURIComponent(H??"")}%29`;return V+=`&fbclid=${encodeURIComponent(E??"")}${z?"&fbpid="+encodeURIComponent(z):""}`,V},M=(R,w,D,_,A)=>{let O,$,c;if(R.fbq)return;if(O=R.fbq=function(){O.callMethod?O.callMethod.apply(O,arguments):O.queue.push(arguments)},!R._fbq)R._fbq=O;O.push=O,O.loaded=!0,O.version="2.0",O.queue=[],$=w.createElement(D),$.async=!0,$.src=_,c=w.getElementsByTagName(D)[0],c.parentNode.insertBefore($,c),$.onload=function(){A()}},K=(R)=>{window.pixelOption=R;let{fbpxid:w,adjustToken:D,apkUrl:_,noCache:A}=R;if(!A)Y();if(!w||!D)console.error("fbpxid, adjustToken or apkUrl is null");M(window,document,"script","https://connect.facebook.net/en_US/fbevents.js",()=>{window?.fbq("init",w),window?.fbq("track","PageView")});let O=document.createElement("noscript"),$=document.createElement("img");$.src=`https://www.facebook.com/tr?id=${w}&ev=PageView&noscript=1`,$.style.display="none",$.height=1,$.width=1,O.appendChild($),document.head.append(O)},Q=(R="")=>{let{adjustToken:w,noCache:D,pMap:_={}}=window.pixelOption;if(R=R||window.pixelOption.apkUrl,!(!D?X():J())?.fbclid)return R;return`https://app.adjust.com/${encodeURIComponent(w)}${L(_)}&redirect=${encodeURIComponent(R)}`},B={init:K,getAdjustUrl:Q};var I=(R)=>{return function(w){var D={};function _(A){if(D[A])return D[A].exports;var O=D[A]={i:A,l:!1,exports:{}};return w[A].call(O.exports,O,O.exports,_),O.l=!0,O.exports}return _.m=w,_.c=D,_.d=function(A,O,$){_.o(A,O)||Object.defineProperty(A,O,{enumerable:!0,get:$})},_.r=function(A){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},_.t=function(A,O){if(1&O&&(A=_(A)),8&O)return A;if(4&O&&typeof A=="object"&&A&&A.__esModule)return A;var $=Object.create(null);if(_.r($),Object.defineProperty($,"default",{enumerable:!0,value:A}),2&O&&typeof A!="string")for(var c in A)_.d($,c,function(H){return A[H]}.bind(null,c));return $},_.n=function(A){var O=A&&A.__esModule?function(){return A.default}:function(){return A};return _.d(O,"a",O),O},_.o=function(A,O){return Object.prototype.hasOwnProperty.call(A,O)},_.p="",_(_.s=0)}([function(w,D,_){var A=this&&this.__spreadArray||function(O,$,c){if(c||arguments.length===2)for(var H,E=0,z=$.length;E<z;E++)!H&&E in $||(H||(H=Array.prototype.slice.call($,0,E)),H[E]=$[E]);return O.concat(H||Array.prototype.slice.call($))};(function(O){var $=window;$.KwaiAnalyticsObject=O,$[O]=$[O]||[];var c=$[O];c.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"];var H=function(E,z){E[z]=function(){var G=Array.from(arguments),V=A([z],G,!0);E.push(V)}};c.methods.forEach(function(E){H(c,E)}),c.instance=function(E){var z=c._i[E]||[];return c.methods.forEach(function(G){H(z,G)}),z},c.load=function(E,z){c._i=c._i||{},c._i[E]=[],c._i[E]._u="https://s1.kwai.net/kos/s101/nlav11187/pixel/custom/events-nr.js",c._t=c._t||{},c._t[E]=+new Date,c._o=c._o||{},c._o[E]=z||{};var G=document.createElement("script");G.type="text/javascript",G.async=!0,G.src="https://s1.kwai.net/kos/s101/nlav11187/pixel/custom/events-nr.js?sdkid="+E+"&lib="+O;var V=document.getElementsByTagName("script")[0];V.parentNode.insertBefore(G,V)}})("kwaiq")}])},f=()=>{let{noCache:R}=window.pixelOption,w=!R?X():J();if(!w)return;return["campaign","adgroup","creative","ad","cmpn","idfa","adset","os_name","gps_adid","language","adgroup_id","ip_address","user_agent","campaign_id","creative_id","device_name","publisher_id","kwai_click_id","click_id","pixel_id"].reduce((_,A)=>{if(w?.[A])_+=`&${A}=${encodeURIComponent(w[A])}`;return _},"?")},N=(R)=>{window.pixelOption=R;let{kwpxid:w,adjustToken:D,noCache:_}=R;if(!_)Y();if(!w||!D)console.error("kwpxid, adjustToken is null");I(),setTimeout(()=>{window?.kwaiq.load(w),window?.kwaiq.page()})},b=(R="")=>{let{kwpxid:w,adjustToken:D}=window.pixelOption;if(R=R||window.pixelOption.apkUrl,!w)return R;return`https://app.adjust.com/${encodeURIComponent(D)}${f()}&redirect=${encodeURIComponent(R)}`},C={init:N,getAdjustUrl:b};var d=(R)=>{(function(w,D,_){w.TiktokAnalyticsObject=_;var A=w[_]=w[_]||[];A.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],A.setAndDefer=function($,c){$[c]=function(){$.push([c].concat(Array.prototype.slice.call(arguments,0)))}};for(var O=0;O<A.methods.length;O++)A.setAndDefer(A,A.methods[O]);A.instance=function($){for(var c=A._i[$]||[],H=0;H<A.methods.length;H++)A.setAndDefer(c,A.methods[H]);return c},A.load=function($,c){var H="https://analytics.tiktok.com/i18n/pixel/events.js";A._i=A._i||{},A._i[$]=[],A._i[$]._u=H,A._t=A._t||{},A._t[$]=+new Date,A._o=A._o||{},A._o[$]=c||{},c=document.createElement("script"),c.type="text/javascript",c.async=!0,c.src=H+"?sdkid="+$+"&lib="+_,$=document.getElementsByTagName("script")[0],$.parentNode.insertBefore(c,$)},A.load(R),A.page(),A.identify({}),A.track("ViewContent",{value:1})})(window,document,"ttq")},T=()=>{let{noCache:R}=window.pixelOption,w=!R?X():J();if(!w)return;return["campaign","adgroup","creative","s2s","idfa","gps_adid","adgroup_id","ip_address","user_agent","campaign_id","creative_id","tracker_limit","tiktok_placement","external_tracker_ids","tiktok_callback_param"].reduce((_,A)=>{if(w?.[A])_+=`&${A}=${encodeURIComponent(w[A])}`;return _},"?")},x=(R)=>{window.pixelOption=R;let{ttpxid:w,adjustToken:D,noCache:_}=R;if(!_)Y();if(!w||!D)console.error("ttpxid, adjustToken is null");d(w)},g=(R="")=>{let{ttpxid:w,adjustToken:D}=window.pixelOption;if(R=R||window.pixelOption.apkUrl,!w)return R;return`https://app.adjust.com/${encodeURIComponent(D)}${T()}&redirect=${encodeURIComponent(R)}`},W={init:x,getAdjustUrl:g};var j={p0:"campaign",p1:"creative",p2:"click_id",p3:"ip",p4:"campaign_id",p5:"creative_id"},h=(R)=>{window.pixelOption=R},o=()=>{let{noCache:R}=window.pixelOption,w=!R?getLocalParams():getUrlParams();if(!w)return;let D={};
1return Object.entries(w).forEach(([_,A])=>{if(j[_])D[j[_]]=A;else D[_]=A}),Object.entries(D).reduce((_,[A,O])=>{return _+=`&${A}=${encodeURIComponent(O)}`,_},"?")},v=(R="")=>{let{adjustToken:w}=window.pixelOption;return R=R||window.pixelOption.apkUrl,`https://app.adjust.com/${encodeURIComponent(w)}${o()}&redirect=${encodeURIComponent(R)}`},F={init:h,getAdjustUrl:v};window.adjust={version:"1.0.3"};window.Kwai=C;window.TikTok=W;window.Facebook=B;window.RichAds=F;
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.