PageSourceSearch

https://www.wgu.edu/etc.clientlibs/wgu/clientlibs/clientlib-marketo.js

js wgu.edu collected 2026-09-24 08:32:34 UTC 3,171 bytes, 1 lines download raw bytes

1!function(){var e={408:function(){!function(e){"use strict";e.WGU=e.WGU||{},e.WGU.Vendors=e.WGU.Vendors||{};const t="https://app-ab06.marketo.com/js/forms2/js/forms2.min.js";e.WGU.Vendors.loadMktoForms2=function(o=15e3){return e.MktoForms2?Promise.resolve(e.MktoForms2):(e.WGU.Vendors._mktoPromise||(e.WGU.Vendors._mktoPromise=new Promise((n,r)=>{let s=document.querySelector(`script[src="${t}"]`);s||(s=document.createElement("script"),s.src=t,s.async=!0,document.head.appendChild(s));const a=Date.now();!function t(){return e.MktoForms2?n(e.MktoForms2):Date.now()-a>o?(e.WGU.Vendors._mktoPromise=null,r(new Error("MktoForms2 timeout"))):void requestAnimationFrame(t)}(),s.addEventListener("error",t=>{e.WGU.Vendors._mktoPromise=null,r(t)},{once:!0})})),e.WGU.Vendors._mktoPromise)}}(window)},655:function(){function e(){document.querySelectorAll(".marketo-form").forEach(e=>{o(e)});new MutationObserver(t).observe(document.body,{childList:!0,subtree:!0})}function t(e){for(const t of e)for(const e of t.addedNodes){if(!(e instanceof Element))continue;o(e.matches(".marketo-form")?e:e.querySelector(".marketo-form"))}}async function o(e){if(e&&(!(t=e).classList.contains("mktoForm")&&!t.querySelector(".mktoFormRow"))&&"true"!==e.dataset.mktoLoaded){const t=e?.dataset?.value;if(!t||"true"===e.dataset.mktoLoaded)return;e.dataset.mktoLoaded="true";const o=window.WGU?.Vendors?.loadMktoForms2;if("function"!=typeof o)return console.warn("WGU.Vendors.loadMktoForms2 is not available."),void(e.dataset.mktoLoaded="false");let n;try{n=await o()}catch(t){return console.warn("Marketo Forms2 failed to load:",t),void(e.dataset.mktoLoaded="false")}n.loadForm("//app-ab06.marketo.com","850-ZWR-066",t,function(e){e.onSuccess(function(){const t=e.getFormElem().closest(".cmp-container_mkto-submission");if(t&&t.length>0){const e=window.WGU?.Methods?.nextSibling?window.WGU.Methods.nextSibling(t[0],".cmp-container_mkto-thankyou"):null;if(e)return t[0].style.display="none",e.style.visibility="visible",e.style.height="auto",!1}return!0})})}var t}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()},636:function(){!function(){let e=!1;function t(){!1===e&&(e=!0,Munchkin.init("850-ZWR-066"))}let o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src="//munchkin.marketo.net/munchkin.js",o.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||t()},o.onload=t,document.getElementsByTagName("head")[0].appendChild(o)}()}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){if(Array.isArray(t))for(var n=0;n<t.length;){var r=t[n++],s=t[n++];o.o(e,r)?0===s&&n++:0===s?Object.defineProperty(e,r,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,r,{enumerable:!0,get:s})}else for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";o(408),o(655),o(636)}()}();

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.