PageSourceSearch

https://www.nintex.com/wp-content/themes/nintex/assets/build/blocks/callout/view.js?ver=7c52cbfe551d7913f88b

js nintex.com collected 2026-09-24 08:38:56 UTC 3,450 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 r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},e.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const o=window.gsap;var r=e.n(o);const n=window.ScrollTrigger;var i=e.n(n);class a{constructor(e,t="auto"){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.direction=t,this.initParallax()}}initParallax(){this.elements.forEach(((e,t)=>{let o;o="auto"===this.direction?t%2==0?"up":"down":this.direction,r().set(e,{y:"up"===o?"15%":"-15%"}),r().to(e,{y:"up"===o?"-15%":"15%",ease:"none",scrollTrigger:{trigger:e,start:"top bottom",end:"bottom top",scrub:!0}})}))}}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){i().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 a;const s=r().timeline({paused:!0,onComplete:()=>{i().refresh(),a&&a()}});let l=!1;const c=Array.from(n.children),d=this.checkIfSingleRow(c);return this.setInitialStyles(),n.style.opacity="1",s.to(c,{opacity:1,y:"0em",ease:"power2.inOut",stagger:{each:t,grid:!d&&"auto",from:d?0:"start"},onUpdate:()=>{s.progress()>=o&&!l&&(l=!0,a&&a())}}),this.createScrollTrigger(n,s,e?.startPosition),new Promise((e=>{a=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,r=!1){r?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.backgroundImg=e.querySelector(".callout__background"),new a(this.backgroundImg),this.fadeHeading=new s(e.querySelector(".js-callout-with-cta .nintex-c-heading")),this.animate()}async animate(){await this.fadeHeading.animate({speed:.2})}static getName(){return"callout"}})})();

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.