PageSourceSearch

https://app.orqui.ai/api/public/chat-web/loader.js

js orqui.ai collected 2026-10-05 15:24:18 UTC 990 bytes, 42 lines download raw bytes

1/* Orqui Chat Web cache-safe loader. */
2(function () {
3  'use strict';
4
5  if (window.__orquiChatWebLoaderStarted) {
6    return;
7  }
8
9  var loader = document.currentScript;
10
11  if (!loader) {
12    return;
13  }
14
15  window.__orquiChatWebLoaderStarted = true;
16
17  var runtime = document.createElement('script');
18
19  Array.prototype.forEach.call(loader.attributes, function (attribute) {
20    var name = attribute.name.toLowerCase();
21
22    if (
23      name.indexOf('data-') === 0 ||
24      name === 'nonce' ||
25      name === 'crossorigin' ||
26      name === 'referrerpolicy'
27    ) {
28      runtime.setAttribute(attribute.name, attribute.value);
29    }
30  });
31
32  runtime.async = true;
33  runtime.src = new URL(
34    "/chat-web/assets/widget.7fd0a9bd18dad519.js",
35    loader.getAttribute('src') || window.location.href
36  ).toString();
37  runtime.addEventListener('error', function () {
38    window.__orquiChatWebLoaderStarted = false;
39  });
40
41  (document.head || document.documentElement).appendChild(runtime);
42})();

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.