PageSourceSearch

https://www.nintex.com/wp-content/themes/nintex/assets/build/blocks/use-cases/view.js?ver=5f6c6aec1bd4c7d7d828

js nintex.com collected 2026-09-24 08:39:01 UTC 2,960 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={};let t;e.n=t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},e.d=(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},e.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const o={speed:.1,trigger:.2},n=window.gsap;var r=e.n(n);const i=window.ScrollTrigger;var a=e.n(i);class s{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);r().set(t,{opacity:0,y:"1em"})}))}createScrollTrigger(e,t,o){a().create({trigger:e,start:null!=o?o:"10% bottom",onEnter:()=>t.play(),onLeaveBack:()=>t.pause(),markers:!1})}animate(e){const t=e.speed?e.speed:.8,o=e.trigger?e.trigger:.2;return Promise.all(this.elements.map((n=>{let i;const s=r().timeline({paused:!0,onComplete:()=>{a().refresh(),i&&i()}});let c=!1;const l=Array.from(n.children),d=this.checkIfSingleRow(l);return this.setInitialStyles(),n.style.opacity="1",s.to(l,{opacity:1,y:"0em",ease:"power2.inOut",stagger:{each:t,grid:!d&&"auto",from:d?0:"start"},onUpdate:()=>{s.progress()>=o&&!c&&(c=!0,i&&i())}}),this.createScrollTrigger(n,s,e?.startPosition),new Promise((e=>{i=e}))})))}checkIfSingleRow(e){if(e.length<2)return!0;const t=e[0].getBoundingClientRect().top;for(let o=1;o<e.length;o++)if(e[o].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 o=t.getName().replace(/([a-z])([A-Z])/g,"$1-$2").replaceAll("_","-").toLowerCase();document.querySelectorAll(`.js-${o}`).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,o,n=!1){n?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.cardContainer=this.block.querySelector(".js-posts-container"),this.background=this.block.querySelector(".js-background-animation"),this.animations()}static getName(){return"use-cases"}async animations(){const e=new s(this.cardContainer);await e.animate(o);const t=new s(this.background);await t.animate(o)}})})();

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.