- 掃描 ID:
- de2a7f6c-10b1-41b9-bad7-72fe5e653470已完成
- 已提交的 URL:
- https://js.adara.com/index.js
- 報告完成時間:
連結 · 找到 0 個
從頁面中識別的傳出連結
JavaScript 變數 · 找到 3 個
在頁面的視窗物件上載入的全域 JavaScript 變數是在函數外部宣告的變數,可從目前範圍內程式碼中的任何位置存取
名稱 | 類型 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
主控台記錄訊息 · 找到 0 條
記錄到 Web 主控台的訊息
HTML
頁面的原始 HTML 主體
<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">!function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=0)}([function(t,n){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var t,n={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(t,n,e){t[n]=e.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function f(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{f({},"")}catch(t){f=function(t,n,e){return t[n]=e}}function h(t,n,e,r){var o=n&&n.prototype instanceof m?n:m,i=Object.create(o.prototype),c=new P(r||[]);return a(i,"_invoke",{value:j(t,e,c)}),i}function p(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var d="suspendedStart",y="executing",v="completed",g={};function m(){}function w(){}function x(){}var _={};f(_,u,(function(){return this}));var b=Object.getPrototypeOf,S=b&&b(b(N([])));S&&S!==r&&o.call(S,u)&&(_=S);var k=x.prototype=m.prototype=Object.create(_);function L(t){["next","throw","return"].forEach((function(n){f(t,n,(function(t){return this._invoke(n,t)}))}))}function E(t,n){function e(r,a,c,u){var s=p(t[r],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==i(f)&&o.call(f,"__await")?n.resolve(f.__await).then((function(t){e("next",t,c,u)}),(function(t){e("throw",t,c,u)})):n.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return e("throw",t,c,u)}))}u(s.arg)}var r;a(this,"_invoke",{value:function(t,o){function i(){return new n((function(n,r){e(t,o,n,r)}))}return r=r?r.then(i,i):i()}})}function j(n,e,r){var o=d;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var u=O(c,r);if(u){if(u===g)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var s=p(n,e,r);if("normal"===s.type){if(o=r.done?v:"suspendedYield",s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=v,r.method="throw",r.arg=s.arg)}}}function O(n,e){var r=e.method,o=n.iterator[r];if(o===t)return e.delegate=null,"throw"===r&&n.iterator.return&&(e.method="return",e.arg=t,O(n,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=p(o,n.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[n.resultName]=a.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function T(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function A(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(n){if(n||""===n){var e=n[u];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var r=-1,a=function e(){for(;++r<n.length;)if(o.call(n,r))return e.value=n[r],e.done=!1,e;return e.value=t,e.done=!0,e};return a.next=a}}throw new TypeError(i(n)+" is not iterable")}return w.prototype=x,a(k,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,l,"GeneratorFunction"),n.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===w||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,f(t,l,"GeneratorFunction")),t.prototype=Object.create(k),t},n.awrap=function(t){return{__await:t}},L(E.prototype),f(E.prototype,s,(function(){return this})),n.AsyncIterator=E,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var a=new E(h(t,e,r,o),i);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(k),f(k,l,"Generator"),f(k,u,(function(){return this})),f(k,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=N,P.prototype={constructor:P,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!n)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var e=this;function r(r,o){return c.type="throw",c.arg=n,e.next=r,o&&(e.method="next",e.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=n,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),g},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),g}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;A(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(n,e,r){return this.delegate={iterator:N(n),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=t),g}},n}function r(t,n,e,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?n(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var n=this,e=arguments;return new Promise((function(o,i){var a=t.apply(n,e);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))}}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,n,e){var r=e||null,o=new RegExp("(?:^".concat(n,"|;s*").concat(n,"|;s*\\s").concat(n,")=(.*?)(?:;|$)"),"g").exec(this.cookie);return o?o[1]:t?t.apply(this,[n,r]):""}function c(t,n){var e,r,o=(e=(new Date).getTime(),r=performance&&performance.now&&1e3*performance.now()||0,"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=16*Math.random();return e>0?(n=(e+n)%16|0,e=Math.floor(e/16)):(n=(r+n)%16|0,r=Math.floor(r/16)),("x"===t?n:3&n|8).toString(16)}))),i="".concat(t,"=").concat(o,"; path=/; domain=").concat(window.location.hostname,"; Secure; sameSite=Lax; ");return n&&(i+="max-age=".concat(n,"; ")),this.cookie=i,o}function u(t){document.cookie="".concat(t,"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=").concat(window.location.hostname,";")}function s(t){clearInterval(t),console.log("ADARA JS SDK initialization failed")}Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t};var l,f=!1,h=function t(n){if(window&&window.adara){var e=window.adara.q;if(void 0!==e){if(!e.length)return;var r=e.shift(),o=r[0];if(!n.hasOwnProperty(o)||"function"!=typeof n[o])return;var i=Array.prototype.slice.call(r);i=i.slice(1),n[o].apply(n,i)}}else;return f||(f=!0,l=setInterval(t,1e3,n)),l};new function(){var t,n,r=this,l="",f="";this._cmpAllowed="",this._tcfActivated=void 0,this._yoid="",this._yosid="",this._context={title:"",path:"",clientDefined:null,i:{},sid:""},this.init=function(t,n){"string"!=typeof t||n&&!Number.isInteger(n)||0===arguments.length||arguments.length>2||this._clientKey||(this._clientKey=t,this._dpID=n,this.rolloutTCF({callback:this.initCookies,params:{firstLoad:!0}}))},this.initCookies=function(){0===r._cmpAllowed?(r._yoid=a.apply(document,[null,"_yoid","31536000"]),r._yosid=a.apply(document,[null,"_yosid"]),r._yoid?(r.send("init"),u("_yoid"),u("_yosid")):r.send("init")):(r._yoid=a.apply(document,[c,"_yoid","31536000"]),r._yosid=a.apply(document,[c,"_yosid"]),r.send("init"))},this.getBrowserContext=function(){r._context.title=window.document.title,r._context.path=window.location,r._context.cookie="_yoid=".concat(r._yoid,"; _yosid=").concat(r._yosid)},this.context=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];r._context.clientDefined=n},this.identity=function(t,n,e){if(t&&"object"==i(t)&&(r._context.i=t,n&&"function"==typeof n&&window.fetch)){t.yoid=r._yoid,t.yosid=r._yosid;var o="".concat("https://sdk-graph.adara.com","/graphql");fetch(o,{method:"POST",headers:{"X-Adara-Key":r._clientKey,"Content-Type":"application/json"},body:JSON.stringify({query:"\n query GetToken($payload: String!) {\n token(payload: $payload)\n }\n ",variables:{payload:JSON.stringify(t)}})}).then((function(t){return t.json()})).then((function(t){n(t)})).catch((function(t){e&&"function"==typeof e&&e(t)}))}},this.rolloutTCF=function(){var t=o(e().mark((function t(n){var o,i;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=n.callback,i=n.params,null!=r._tcfActivated){t.next=4;break}return t.next=4,fetch("https://jsres.adara.com/tcf/ro.json",{method:"GET"}).then((function(t){return t.json()})).then((function(t){t.global||t.partners&&r._dpID&&t.partners.includes(r._dpID)?r._tcfActivated=!0:r._tcfActivated=!1})).catch((function(t){console.log("error on getting list",t)}));case 4:r.validateTCF({callback:o,params:i});case 5:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),this.validateTCF=function(){var t=o(e().mark((function t(n){var i,a;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.callback,a=n.params,!r._tcfActivated){t.next=7;break}if("function"!=typeof window.__tcfapi||!a.firstLoad){t.next=7;break}return __tcfapi("addEventListener",2,function(){var t=o(e().mark((function t(n,o){var c,u,s,l,f,h,p;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return l=null!=n&&null!==(c=n.purpose)&&void 0!==c&&c.consents[1]?1:0,f=null!=n&&null!==(u=n.vendor)&&void 0!==u&&u.consents[57]?1:0,h=null==n||null===(s=n.publisher)||void 0===s?void 0:s.restrictions[1],p=h&&0===h[57]?0:1,r._cmpAllowed=l&&f&&p?1:0,t.next=7,r.getConsentString(n,o);case 7:i&&i(a);case 8:case"end":return t.stop()}}),t)})));return function(n,e){return t.apply(this,arguments)}}()),t.abrupt("return");case 7:i&&i(a);case 8:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),this.getConsentString=function(t,n){n&&(l=t.gdprApplies?1:0,f=t.tcString?t.tcString:"")},this.sendThirdParty=function(){r._dpID&&fetch("https://tag.yieldoptimizer.com/ps/ps?t=i&p=".concat(r._dpID,"&_yoid=").concat(r._yoid,"&_yosid=").concat(r._yosid,"&gdpr=").concat(l,"&gdpr_consent=").concat(f),{method:"GET",mode:"no-cors",credentials:"include"})},this.sendAll=function(e){var o=e.event;if(0!==r._cmpAllowed||"init"===o){var i="".concat("https://sdk.adara.com","/api?gdpr=").concat(l,"&gdpr_consent=").concat(f),a={event:o,context:r._context};fetch(i,{method:"POST",headers:{"X-Adara-Key":r._clientKey},body:JSON.stringify(a)}).then((function(e){return"init"===o&&(!1===(t=e.ok)?s(n):r.sendThirdParty()),e.json()})).then((function(t){"bk"===o&&t.flSrc.length&&fetch(t.flSrc,{method:"GET",mode:"no-cors",credentials:"include"})})).catch((function(t){return"init"===o&&s(n),t}))}},this.send=function(){var n=o(e().mark((function n(o){return e().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r.getBrowserContext(),(t||"init"===o)&&o&&r._clientKey&&window.fetch&&r.rolloutTCF({callback:r.sendAll,params:{event:o}});case 2:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}(),this.session=function(t){"string"==typeof t&&(r._context.sid=t)},n=h(this)}}]);</pre></body></html>