PageSourceSearch

https://app.traveld.io/884.95b1c502149bbb88.js

js traveld.io collected 2026-10-02 02:02:24 UTC 1,955 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkautumnv2=self.webpackChunkautumnv2||[]).push([[884],{89884:(l,u,i)=>{i.r(u),i.d(u,{FacebookLoginWeb:()=>a});var t=i(15861),c=i(47423);class a extends c.Uw{initialize(e){var n=this;return(0,t.Z)(function*(){return yield n.loadScript(e.locale),FB.init(Object.assign(Object.assign({},{version:"v17.0"}),e))})()}loadScript(e){if(typeof document>"u")return Promise.reject("document global not found");if(document.getElementById("fb"))return Promise.resolve();const o=document.getElementsByTagName("head")[0],s=document.createElement("script");return new Promise(d=>{s.onload=()=>d(),s.defer=!0,s.async=!0,s.id="fb",s.src=`https://connect.facebook.net/${e??"en_US"}/sdk.js`,o.appendChild(s)})}login(e){return(0,t.Z)(function*(){return new Promise((n,r)=>{FB.login(o=>{"connected"===o.status?n({accessToken:{token:o.authResponse.accessToken}}):r({accessToken:{token:null}})},{scope:e.permissions.join(",")})})})()}logout(){return(0,t.Z)(function*(){return new Promise(e=>FB.logout(()=>e()))})()}reauthorize(){return(0,t.Z)(function*(){return new Promise(e=>FB.reauthorize(n=>e(n)))})()}getCurrentAccessToken(){return(0,t.Z)(function*(){return new Promise((e,n)=>{FB.getLoginStatus(r=>{"connected"===r.status?e({accessToken:{applicationId:void 0,declinedPermissions:[],expires:void 0,isExpired:void 0,lastRefresh:void 0,permissions:[],token:r.authResponse.accessToken,userId:r.authResponse.userID}}):n({accessToken:{token:null}})})})})()}getProfile(e){return(0,t.Z)(function*(){const n=e.fields.join(",");return new Promise((r,o)=>{FB.api("/me",{fields:n},s=>{s.error?o(s.error.message):r(s)})})})()}logEvent(){return(0,t.Z)(function*(){return Promise.resolve()})()}setAutoLogAppEventsEnabled(){return(0,t.Z)(function*(){return Promise.resolve()})()}setAdvertiserTrackingEnabled(){return(0,t.Z)(function*(){return Promise.resolve()})()}setAdvertiserIDCollectionEnabled(){return(0,t.Z)(function*(){return Promise.resolve()})()}}}}]);

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.