PageSourceSearch

https://www.procurify.com/wp-content/themes/int002/dist/3.228/js/bundle/global.js

js procurify.com collected 2026-09-24 17:33:51 UTC 11,287 bytes, 2 lines download raw bytes

1/*! For license information please see global.js.LICENSE.txt */
2(()=>{var t={324(){jQuery(document).ready(function(t){t(".hero-slider").each(function(){var e=t(this);e.children(".hero-slide").length<2||e.slick({infinite:!0,arrows:!1,dots:!1,fade:!0,speed:2400,autoplay:!0,autoplaySpeed:4e3,pauseOnHover:!1,slidesToShow:1,slidesToScroll:1,rows:0})}),t(".block--logo-slider .multiple-items").slick({infinite:!0,arrows:!1,dots:!1,autoplay:!0,autoplaySpeed:0,speed:3e3,cssEase:"linear",slidesToShow:6,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:1}}]}),t(".testimonials-slider").slick({arrows:!0,autoplay:!1,slidesToScroll:1,infinite:!1,variableWidth:!0,prevArrow:'<button type="button" class="slick-prev" aria-label="Previous testimonial">&larr;</button>',nextArrow:'<button type="button" class="slick-next" aria-label="Next testimonial">&rarr;</button>'});var e=t("#event-image-slider");e.length&&e.slick({arrows:!1,dots:!0,autoplay:!0,slidesToShow:1,slidesToScroll:1,autoplaySpeed:3e6,prevArrow:'<button type="button" class="slick-prev">&larr;</button>',nextArrow:'<button type="button" class="slick-next">&rarr;</button>',adaptiveHeight:!0,responsive:[{breakpoint:1024,settings:{dots:!0,arrows:!1}}]}),t("#menu-toggle").on("click",function(){t(".header__nav-drawer, .menu-icon").toggleClass("open")}),t(".header__nav-drawer").on("click","a",function(){t(".header__nav-drawer, .menu-icon").removeClass("open")})}),document.addEventListener("DOMContentLoaded",function(){var t=function t(){document.querySelectorAll(".primary-has-child").forEach(function(t){return t.classList.remove("open-modal")}),document.querySelectorAll(".nav-container").forEach(function(t){return t.classList.remove("show")})};[{toggleId:"#mega-menu-product-toggle",containerClass:".mega-menu-product"},{toggleId:"#mega-menu-solutions-toggle",containerClass:".mega-menu-solutions"},{toggleId:"#mega-menu-customers-toggle",containerClass:".mega-menu-customers"},{toggleId:"#mega-menu-resources-toggle",containerClass:".mega-menu-resources"}].forEach(function(e){var n=e.toggleId,r=e.containerClass,o=document.querySelector(n),a=document.querySelector(r);o&&a&&(o.addEventListener("click",function(e){e.stopPropagation();var n=o.classList.contains("open-modal");t(),n||(o.classList.add("open-modal"),a.classList.add("show"))}),document.body.addEventListener("click",function(e){o.contains(e.target)||a.contains(e.target)||t()}))})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".accordion-item-header").forEach(function(t){t.addEventListener("click",function(){t.classList.toggle("active");var e=t.nextElementSibling;e&&(e.style.maxHeight=t.classList.contains("active")?e.scrollHeight+"px":0)})})}),document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".tab-label"),e=document.querySelectorAll(".tab-content"),n=document.querySelectorAll(".tabs-accordion-header");t.forEach(function(n){n.addEventListener("click",function(){t.forEach(function(t){return t.classList.remove("active")}),e.forEach(function(t){return t.classList.remove("active")}),this.classList.add("active"),document.getElementById(this.dataset.tab).classList.add("active")})}),n.forEach(function(t){t.addEventListener("click",function(){this.classList.toggle("active"),document.getElementById(this.dataset.mobiletab).classList.toggle("active")})});var r=document.querySelectorAll(".sub-menu-link-list li"),o=Array.from(r).map(function(t){var e=t.querySelector("a");if(e){var n=e.getAttribute("href").substring(1);return document.getElementById(n)}return null}),a=new IntersectionObserver(function(t){t.forEach(function(t){if(t.isIntersecting){!function t(){r.forEach(function(t){return t.classList.remove("active")})}();var e=Array.from(r).find(function(e){var n=e.querySelector("a");return n&&n.getAttribute("href")==="#".concat(t.target.id)});e&&e.classList.add("active")}})},{root:null,threshold:.7});o.forEach(function(t){t&&a.observe(t)})}),document.addEventListener("DOMContentLoaded",function(){var t=document.querySelector(".footer__primary__layout");t&&t.addEventListener("click",function(e){var n=e.target.closest(".footer__submenu-toggle");if(n&&t.contains(n)){var r=n.getAttribute("aria-controls");if(r){var o=document.getElementById(r);if(o){var a=!("true"===n.getAttribute("aria-expanded"));n.setAttribute("aria-expanded",String(a)),o.hidden=!a,o.classList.toggle("is-hidden",!a)}}}})}),window.addEventListener("scroll",function(){var t=window.scrollY,e=(document.getElementById("header"),document.querySelector(".dynamic-banner")),n=window.lastScrollPos||0;e&&(t>1500&&t>n?e.classList.add("visible"):t<n&&e.classList.remove("visible")),window.lastScrollPos=t})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}(()=>{"use strict";n(324);function t(){var n,r,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function i(t,o,a,s){var i=o&&o.prototype instanceof u?o:u,l=Object.create(i.prototype);return e(l,"_invoke",function(t,e,o){var a,s,i,u=0,l=o||[],d=!1,f={p:0,n:0,v:n,a:m,f:m.bind(n,4),d:function t(e,r){return a=e,s=0,i=n,f.n=r,c}};function m(t,e){for(s=t,i=e,r=0;!d&&u&&!o&&r<l.length;r++){var o,a=l[r],m=f.p,g=a[2];t>3?(o=g===e)&&(i=a[(s=a[4])?5:(s=3,3)],a[4]=a[5]=n):a[0]<=m&&((o=t<2&&m<a[1])?(s=0,f.v=e,f.n=a[1]):m<g&&(o=t<3||a[0]>e||e>g)&&(a[4]=t,a[5]=e,f.n=g,s=0))}if(o||t>1)return c;throw d=!0,e}return function(o,l,g){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&m(l,g),s=l,i=g;(r=s<2?n:i)||!d;){a||(s?s<3?(s>1&&(f.n=-1),m(s,i)):f.n=i:f.v=i);try{if(u=2,a){if(s||(o="next"),r=a[o]){if(!(r=r.call(a,i)))throw TypeError("iterator result is not an object");
2if(!r.done)return r;i=r.value,s<2&&(s=0)}else 1===s&&(r=a.return)&&r.call(a),s<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),s=1);a=n}else if((r=(d=f.n<0)?i:t.call(e,f))!==c)break}catch(t){a=n,s=1,i=t}finally{u=1}}return{value:r,done:d}}}(t,a,s),!0),l}var c={};function u(){}function l(){}function d(){}r=Object.getPrototypeOf;var f=[][a]?r(r([][a]())):(e(r={},a,function(){return this}),r),m=d.prototype=u.prototype=Object.create(f);function g(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,e(t,s,"GeneratorFunction")),t.prototype=Object.create(m),t}return l.prototype=d,e(m,"constructor",d),e(d,"constructor",l),l.displayName="GeneratorFunction",e(d,s,"GeneratorFunction"),e(m),e(m,s,"Generator"),e(m,a,function(){return this}),e(m,"toString",function(){return"[object Generator]"}),(t=function t(){return{w:i,m:g}})()}function e(t,n,r,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}e=function t(n,r,o,s){function i(t,r){e(n,t,function(e){return this._invoke(t,r,e)})}r?a?a(n,r,{value:o,enumerable:!s,configurable:!s,writable:!s}):n[r]=o:(i("next",0),i("throw",1),i("return",2))},e(t,n,r,o)}function r(t,e,n,r,o,a,s){try{var i=t[a](s),c=i.value}catch(t){return void n(t)}i.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function e(t){if(Array.isArray(t))return a(t)}(t)||function n(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function r(t,e){if(t){if("string"==typeof t)return a(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var s=["status-widget--operational","status-widget--investigating","status-widget--identified","status-widget--monitoring","status-widget--maintenance","status-widget--issue","status-widget--degraded-performance","status-widget--partial-outage","status-widget--major-outage"],i={investigating:"Investigating",identified:"Identified",monitoring:"Monitoring"},c=Object.keys(i),u={degraded_performance:"Degraded performance",partial_outage:"Partial outage",major_outage:"Major outage",under_maintenance:"Under maintenance"},l=Object.keys(u);function d(){return"https://status.procurify.com/api/v2/summary.json"}function f(t){return"System status: ".concat(t)}function m(t){s.forEach(function(e){t.classList.remove(e)})}function g(t){return t.components&&0!==t.components.length?t.components.map(function(t){return t.name}):[]}function v(t){return"(".concat(t,")")}function p(t){var e=i[t.status]||"Current incident",n=g(t);return 1===n.length?f("".concat(e," ").concat(v(n[0]))):n.length>1?f("".concat(e," ").concat(n.length," systems affected")):f("".concat(e," ").concat(v(n[0])))}function h(t){var e=(t.incidents||[]).filter(function(t){return c.includes(t.status)}),n=(t.components||[]).filter(function(t){return l.includes(t.status)});if(0===e.length&&0===n.length)return{message:"All systems operational",className:"status-widget--operational",affectedNames:[]};if(1===e.length){var r=e[0],a=g(r);return{message:p(r),className:"status-widget--".concat(r.status),affectedNames:a}}if(e.length>1){var s=o(new Set(e.flatMap(function(t){return g(t)}))),i=s.length||e.length;return{message:f("Current incidents: ".concat(i," systems affected")),className:"status-widget--issue",affectedNames:s}}var d=n.filter(function(t){return"under_maintenance"===t.status});if(d.length===n.length)return{message:1===d.length?f("Under maintenance ".concat(v(d[0].name))):f("Under maintenance. ".concat(d.length," systems affected")),className:"status-widget--maintenance",affectedNames:d.map(function(t){return t.name})};if(1===n.length){var m=n[0];return{message:f("".concat(u[m.status]," ").concat(v(m.name))),className:"status-widget--".concat(m.status.replaceAll("_","-")),affectedNames:[m.name]}}return{message:f("Current incidents: ".concat(n.length," systems affected")),className:"status-widget--issue",affectedNames:n.map(function(t){return t.name})}}function y(){return y=function e(t){return function(){var e=this,n=arguments;return new Promise(function(o,a){var s=t.apply(e,n);function i(t){r(s,o,a,i,c,"next",t)}function c(t){r(s,o,a,i,c,"throw",t)}i(void 0)})}}(t().m(function e(){var n,r,o,a,s;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:if(n=document.querySelector("#status-widget"),r=document.querySelector("#status-text"),n&&r){t.n=1;break}return t.a(2);case 1:return t.p=1,t.n=2,fetch(d());case 2:if((o=t.v).ok){t.n=3;break}throw new Error("Statuspage request failed: ".concat(o.status));case 3:return t.n=4,o.json();case 4:a=t.v,s=h(a),r.textContent=s.message,n.classList.remove("is-hidden"),m(n),n.classList.add(s.className),n.setAttribute("aria-label",s.message),n.setAttribute("title",s.affectedNames.length?s.affectedNames.join(", "):s.message),t.n=6;break;case 5:t.p=5,t.v,n.classList.add("is-hidden");case 6:return t.a(2)}},e,null,[[1,5]])})),y.apply(this,arguments)}"undefined"!=typeof document&&function b(){return y.apply(this,arguments)}()})()})();

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.