PageSourceSearch

https://admit.cnu.edu/live?cmd=embed&id=87b60693-facc-498d-b673-1c7f77aff6c3

js cnu.edu collected 2026-09-24 09:20:33 UTC 11,598 bytes, 105 lines download raw bytes

1'use strict'; new function() { const currentScript = document.currentScript; "use strict";if(window._proxy_require==null){const head=document.getElementsByTagName("head")[0];window._proxy_require_loaded=[];window._proxy_require_loading=[];window._proxy_require_callback=[];window._proxy_require_loading_running=!1;window._proxy_host="https://fw.cdn.technolutions.net";window._proxy_require=function(library,callback){callback!=null&&_proxy_require_callback.push({callback:callback,conditions:typeof library=="string"?[library]:library});typeof library=="string"&&(library=[library]);let loaded_all=!0;for(let l=0;l<library.length;l++){let loaded=!1;for(let i=0;i<_proxy_require_loading.length;i++)if(_proxy_require_loading[i].library==library[l]){loaded=!0;break}if(loaded){loaded_all=!1;continue}loaded=!1;for(let i=0;i<_proxy_require_loaded.length;i++)if(_proxy_require_loaded[i]==library[l]){loaded=!0;break}if(loaded==!1){let uri_base=window._proxy_host+"/fw/framework/";if(library[l].indexOf("://")>-1&&(uri_base=""),library[l].endsWith(".css")||library[l].indexOf(".css?")>-1){const el=document.createElement("link");el.rel="stylesheet";el.href=uri_base+library[l];head.appendChild(el);_proxy_require_loaded.push(library[l]);_proxy_require_callback_cleanup()}else if(library[l].endsWith(".js")||library[l].indexOf(".js?")>-1){const el=document.createElement("script");el.src=uri_base+(uri_base.indexOf("?")==-1?library[l]:encodeURIComponent(library[l]));_proxy_require_loading.push({library:library[l],element:el,loaded:!1});_proxy_require_loading_load(!1)}loaded_all=!1}}if(loaded_all){_proxy_require_callback_cleanup();return}};window._proxy_require_callback_cleanup=function(){for(let i=0;i<_proxy_require_callback.length;i++){let loaded=!0;for(let j=0;j<_proxy_require_callback[i].conditions.length;j++){let loaded_this=!1;for(let k=0;k<_proxy_require_loaded.length;k++)if(_proxy_require_loaded[k]==_proxy_require_callback[i].conditions[j]){loaded_this=!0;break}if(loaded_this==!1){loaded=!1;break}}loaded&&(_proxy_require_callback[i].callback(),_proxy_require_callback.splice(i,1),i--)}};window._proxy_require_loading_callback=function(el,first){return function(){(el.element.readyState==null?!0:el.element.readyState=="loaded"||el.element.readyState=="complete")&&(el.loaded=!0,first==!0&&_proxy_require_loading_load(!0))}};window._proxy_require_loading_load=function(first){if(window._proxy_require_loading_running!=!0||first!=!1){window._proxy_require_loading_running=!0;for(let i=0;i<_proxy_require_loading.length;i++){const el=_proxy_require_loading[i];if(el.loaded==!1){const is_loaded=el.loaded;if(el.element.parentNode==null&&(is_loaded==!1&&(el.element.readyState==null?el.element.onload=_proxy_require_loading_callback(el,!0):el.element.onreadystatechange=_proxy_require_loading_callback(el,!0)),head.appendChild(el.element)),is_loaded==!0)_proxy_require_loaded.push(el.library),_proxy_require_callback_cleanup(),_proxy_require_loading.splice(i,1),i--;else return}else _proxy_require_loaded.push(el.library),_proxy_require_callback_cleanup(),_proxy_require_loading.splice(i,1),i--}window._proxy_require_loading_running=!1}}}
2if (typeof fetch === 'function') { const jQueryExists = ((window['$'] != null || window['jQuery'] != null) && (window['FW'] == null)); const _proxy_resources = []; if (window['FW'] == null) _proxy_resources.push('https://fw.cdn.technolutions.net/framework/base.js?v=2ea3', 'https://fw.cdn.technolutions.net/framework/base_safe.css?v=2ea3'); _proxy_require(_proxy_resources, function() { if (jQueryExists && window['jQueryReleased'] == null) { FW.$.noConflict(true); window['jQueryReleased'] = true; } new function($)
3{
4  //const currentScript = document.currentScript; // included in proxy loader
5  const defaultIcon = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4Igp3aWR0aD0iNTAiIGhlaWdodD0iNTAiCnZpZXdCb3g9IjAgMCAxNzIgMTcyIgpzdHlsZT0iIGZpbGw6IzAwMDAwMDsiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0ibm9uemVybyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIHN0cm9rZS1sa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uNzE2ODcsLTQ5Ljc5OTM3ek0zNy44NCw2OC44aDMwLjk2YzEuOTAyMzIsMCAzLjQ0LDEuNTM3NjggMy40NCwzLjQ0YzAsMS45MDIzMiAtMS41Mzc2OCwzLjQ0IC0zLjQ0LDMuNDRoLTMwLjk2Yy0xLjkwMjMyLDAgLTMuNDQsLTEuNTM3NjggLTMuNDQsLTMuNDRjMCwtMS45MDIzMiAxLjUzNzY4LC0zLjQ0IDMuNDQsLTMuNDR6TTgyLjU2LDY4LjhoMTAuMzJjMS45MDIzMiwwIDMuNDQsMS41Mzc2OCAzLjQ0LDMuNDRjMCwxLjkwMjMyIC0xLjUzNzY4LDMuNDQgLTMuNDQsMy40NGgtMTAuMzJjLTEuOTAyMzIsMCAtMy40NCwtMS4
51Mzc2OCAtMy40NCwtMy40NGMwLC0xLjkwMjMyIDEuNTM3NjgsLTMuNDQgMy40NCwtMy40NHoiPjwvcGF0aD48L2c+PC9nPjwvc3ZnPg==';
6  const service = 'https://admit.cnu.edu/live?cmd=embed_widget&id=87b60693-facc-498d-b673-1c7f77aff6c3', service_domain = 'https://admit.cnu.edu/';
7  let active = false, config = {}, configAllowed = ['active', 'color', 'icon', 'icon-color', 'position', 'size'], configPassthrough = ['color'];
8  const handleWindowMessage = function(event)
9  {
10    if (event.origin != null && service.indexOf(event.origin) != 0) return; //ignore messages from other domains
11    if (event.data == null || event.data.chat == null) return; //ignore non-chat messages
12    if (event.data.chat.cmd == 'close')
13    {
14      const dialog = document.getElementById('live_dialog');
15      if (dialog != null) dialog.style.display = 'none';
16      updateSessionActive(false);
17    }
18    else if (event.data.chat.cmd == 'unload')
19    {
20      const dialog = document.getElementById('live_dialog');
21      if (dialog != null) dialog.parentNode.removeChild(dialog);
22      updateSessionActive(false);
23    }
24  };
25  const updateSessionActive = function(state)
26  {
27    active = state;
28    localStorage.setItem('chat_session_embed_' + config.id, JSON.stringify({ active: state, updated: Date.now() }));
29  }
30  const launchChat = function()
31  {
32    let dialog = document.getElementById('live_dialog'), iframe = document.getElementById('live_dialog_iframe');
33    let first_load = false;
34    if (active)
35    {
36      handleWindowMessage({ data: { chat: { cmd: 'close' } } });
37      try { iframe.contentWindow.postMessage({ chat: { cmd: 'close' } }, service_domain); }
38      catch (ex) { }
39      return;
40    }
41    var iframeLoaded = function()
42    {
43      iframe = this;
44      var dialog = document.getElementById('live_dialog');
45      dialog.style.display = 'block';
46      iframe.focus();
47      if (!first_load && iframe.contentWindow)
48      {
49        try { iframe.contentWindow.postMessage({ chat: { cmd: 'focus' } }, service_domain); }
50        catch (ex) { }
51      }
52      updateSessionActive(true);
53    };
54    if (dialog == null)
55    {
56      first_load = true;
57      const icon = document.getElementById('live_launch');
58      dialog = document.createElement('DIV');
59      dialog.id = 'live_dialog';
60      dialog.style = 'background: white; border-radius: 5px; display: none; overflow: hidden; position: fixed; width: 300px; height: 400px; z-index: 9999; border: 1px solid #ccc;';
61
62      if (icon != null)
63      {
64        if (icon.style.left != '') dialog.style.left = icon.style.left;
65        if (icon.style.right != '') dialog.style.right = icon.style.right;
66        if (icon.style.top != '') dialog.style.top = 'calc(' + icon.style.top + ' + ' + icon.style.height + ' + 15px)';
67        if (icon.style.bottom != '') dialog.style.bottom = 'calc(' + icon.style.bottom + ' + ' + icon.style.height + ' + 15px)';
68      }
69
70      iframe = document.createElement('IFRAME');
71      iframe.id = 'live_dialog_iframe';
72      iframe.frameBorder = 0;
73      iframe.frameSpacing = 0;
74      iframe.style = 'height: 100%; width: 100%; position: absolute;';
75      iframe.onload = iframeLoaded;
76      let configString = '';
77      for (let i in config) if (configPassthrough.indexOf(i) != -1) configString += '&' + i + '=' + encodeURIComponent(config[i]);
78      iframe.src = service + '&referrer=' + encodeURIComponent(location.href) + configString;
79      dialog.appendChild(iframe);
80      document.body.appendChild(dialog);
81    }
82    if (!first_load) iframeLoaded.bind(iframe)();
83  };
84  const init = function()
85  {
86    if (currentScript != null) for (let i in currentScript.dataset) if (configAllowed.indexOf(i) != -1) config[i] = currentScript.dataset[i];
87    if (config.id == null) config.id = currentScript != null && currentScript.getAttribute('src') != null ? FW.getHashCode(currentScript.getAttribute('src')) : '';
88    const icon = document.createElement('DIV');
89    icon.id = 'live_launch';
90    icon.style = (config.position || 'position:fixed;bottom:25px;right:25px;') + ';'
91      + (config.size || 'height:64px;width:64px;') + ';'
92      + '--live-color:' + (config.color || '#00669e') + ';--live-icon:url(' + defaultIcon + ');'
93      + (config.icon || 'background:var(--live-color) var(--live-icon) no-repeat center center;background-size:50%;border-radius:100%;')
94      + 'cursor: pointer;';
95    icon.title = 'Launch Chat';
96    document.body.appendChild(icon);
97    icon.addEventListener('click', launchChat);
98    window.addEventListener('message', handleWindowMessage);
99    let chat_session = localStorage.getItem('chat_session_embed_' + config.id);
100    if (chat_session != null) chat_session = JSON.parse(chat_session);
101    if (config.active || (chat_session != null && chat_session.updated >= Date.now() - 5 * 60 * 1000 && chat_session.active)) launchChat();
102    window.addEventListener('unload', function() { if (active) updateSessionActive(active); });
103  };
104  init();
105}(FW.$); }); } }();

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.