PageSourceSearch

https://www.nintex.com/wp-content/themes/nintex/assets/build/block…/view.js?ver=6ee43afa649f315a19ab

js nintex.com collected 2026-09-24 08:39:02 UTC 4,130 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};let t;window.jQuery;const r=!1,o=window.gsap;var n=e.n(o);const i=window.ScrollTrigger;var s=e.n(i);class a{constructor(e){if(e){if(NodeList.prototype.isPrototypeOf(e)||HTMLCollection.prototype.isPrototypeOf(e))this.elements=Array.from(e);else{if(!(e instanceof HTMLElement))return void console.error("Invalid elements input");this.elements=[e]}this.setInitialStyles()}}setInitialStyles(){this.elements.forEach((e=>{e.style.opacity="0";const t=Array.from(e.children);n().set(t,{opacity:0,y:"1em"})}))}createScrollTrigger(e,t,o){s().create({trigger:e,start:null!=o?o:"10% bottom",onEnter:()=>t.play(),onLeaveBack:()=>t.pause(),markers:r})}animate(e){const t=e.speed?e.speed:.8,r=e.trigger?e.trigger:.2;return Promise.all(this.elements.map((o=>{let i;const a=n().timeline({paused:!0,onComplete:()=>{s().refresh(),i&&i()}});let l=!1;const c=Array.from(o.children),p=this.checkIfSingleRow(c);return this.setInitialStyles(),o.style.opacity="1",a.to(c,{opacity:1,y:"0em",ease:"power2.inOut",stagger:{each:t,grid:!p&&"auto",from:p?0:"start"},onUpdate:()=>{a.progress()>=r&&!l&&(l=!0,i&&i())}}),this.createScrollTrigger(o,a,e?.startPosition),new Promise((e=>{i=e}))})))}checkIfSingleRow(e){if(e.length<2)return!0;const t=e[0].getBoundingClientRect().top;for(let r=1;r<e.length;r++)if(e[r].getBoundingClientRect().top!==t)return!1;return!0}}class l{constructor(e){if(e){if(NodeList.prototype.isPrototypeOf(e)||HTMLCollection.prototype.isPrototypeOf(e))this.elements=Array.from(e);else{if(!(e instanceof HTMLElement))return void console.error("Invalid elements input");this.elements=[e]}this.setInitialStyles()}}setInitialStyles(){this.elements.forEach((e=>{e.style.opacity="0";const t=Array.from(e.children);n().set(t,{opacity:0,x:"1em"})}))}createScrollTrigger(e,t,o){s().create({trigger:e,start:null!=o?o:"10% bottom",onEnter:()=>t.play(),onLeaveBack:()=>t.pause(),markers:r})}animate(e){const t=e.speed?e.speed:.8,r=e.trigger?e.trigger:.2;return Promise.all(this.elements.map((o=>{let i;const a=n().timeline({paused:!0,onComplete:()=>{s().refresh(),i&&i()}});let l=!1;const c=Array.from(o.children),p=this.checkIfSingleRow(c);return this.setInitialStyles(),o.style.opacity="1",a.to(c,{opacity:1,x:"0em",ease:"power2.inOut",stagger:{each:t,grid:!p&&"auto",from:p?0:"start"},onUpdate:()=>{a.progress()>=r&&!l&&(l=!0,i&&i())}}),this.createScrollTrigger(o,a,e?.startPosition),new Promise((e=>{i=e}))})))}checkIfSingleRow(e){if(e.length<2)return!0;const t=e[0].getBoundingClientRect().top;for(let r=1;r<e.length;r++)if(e[r].getBoundingClientRect().top!==t)return!1;return!0}}new class{constructor(e){t=e,this.admin(),this.frontend()}admin(){-1!=window.location.href.indexOf("wp-admin")&&document.addEventListener("DOMContentLoaded",(function(){setTimeout((()=>{const r=t.getName().replace(/([a-z])([A-Z])/g,"$1-$2").replaceAll("_","-").toLowerCase();document.querySelectorAll(`.js-${r}`).forEach((t=>{e.initializeBlock(t,!0,!0)}))}),3e3)}));const e=this;setTimeout((()=>{window.acf&&window.acf.addAction(`render_block_preview/type=${t.getName().replace(/([a-z])([A-Z])/g,"$1-$2").replaceAll("_","-").toLowerCase()}`,e.initializeBlock)}),500)}frontend(){const e=this;document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(`.js-${t.getName().replace(/([a-z])([A-Z])/g,"$1-$2").replaceAll("_","-").toLowerCase()}`).forEach((t=>{e.initializeBlock(t)}))}))}initializeBlock(e,r,o=!1){o?new t(e):-1!=window.location.href.indexOf("wp-admin")?new t(e[0].querySelector(`.js-${t.getName().replace(/([a-z])([A-Z])/g,"$1-$2").replaceAll("_","-").toLowerCase()}`)):new t(e)}}(class{constructor(e){this.block=e,this.animations()}static getName(){return"promo_banner"}async animations(){const e=this.block.querySelector(".nintex-c-heading"),t=new a(e);await t.animate({speed:.2});const r=this.block.querySelector(".promo-banner__img"),o=new l(r);await o.animate({speed:.2})}})})();

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.