Created
July 9, 2022 23:07
-
-
Save simevidas/6f968c011e522e1e71edb0eaa2b1e09d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vQa = function(a) { | |
var b = a.U, | |
c = document, | |
d = c.requestStorageAccess && c.hasStorageAccess; | |
b.K("embeds_enable_request_storage_access_safari_itp") && g.Lu && d && b.j ? Mt() || b.Ua ? (g.yu("embedsStorageAccessNotChecked", { | |
isIosWebview: Mt(), | |
isPemPlayer: b.Ua | |
}), a.Sz = !1) : c.hasStorageAccess().then(function(e) { | |
g.yu("embedsHasStorageAccessResult", { | |
hasCookieAccess: e, | |
resultedInError: !1 | |
}); | |
a.Sz = !e | |
}, function(e) { | |
g.yu("embedsHasStorageAccessResult", { | |
hasCookieAccess: !1, | |
resultedInError: !0 | |
}); | |
g.Xx(Error("Embeds ITP Error: " + e)); | |
a.Sz = !1 | |
}) : a.Sz = !1 | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment