MCPcopy
hub / github.com/QwikDev/partytown / R

Function R

tests/integrations/intercom/shim.latest.js:842–856  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

840 return 'window=' + encodeURIComponent(JSON.stringify(e)) + '&localStorage=';
841 },
842 R = function (e) {
843 if (
844 !(function (e) {
845 return !!e.document.querySelector('iframe[name="intercom-messenger"]');
846 })(e)
847 ) {
848 m(e);
849 var t = r(e);
850 (t.name = 'intercom-messenger'),
851 (t.src = T.priv_sep_html_path + '/frame.html?' + q()),
852 e.document.body.appendChild(t),
853 C(e),
854 u(e);
855 }
856 },
857 D = ['turbo:visit', 'turbolinks:visit', 'page:before-change'],
858 H = ['turbo:before-cache', 'turbolinks:before-cache'],
859 N = ['turbo:load', 'turbolinks:load', 'page:change'];

Callers 1

shim.latest.jsFile · 0.70

Calls 6

appendChildMethod · 0.80
mFunction · 0.70
rFunction · 0.70
qFunction · 0.70
CFunction · 0.70
uFunction · 0.70

Tested by

no test coverage detected