PageSourceSearch

https://www.asksustainable.com/_next/static/chunks/pages/privacy-policy-1a65fe6a4a23bf12.js

js asksustainable.com collected 2026-10-08 12:02:46 UTC 8,106 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9396],{7749:function(e,t){!function(e){"use strict";var t,r,n,i,a,o,s=function(){return"undefined"!==typeof window},c=function(){return t||s()&&(t=window.gsap)&&t.registerPlugin&&t},l=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,h={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},u=function(e){return Math.round(1e4*e)/1e4},d=function(e){return parseFloat(e)||0},f=function(e,t){var r=d(e);return~e.indexOf("%")?r/100*t:r},g=function(e,t){return d(e.getAttribute(t))},p=Math.sqrt,_=function(e,t,r,n,i,a){return p(Math.pow((d(r)-d(e))*i,2)+Math.pow((d(n)-d(t))*a,2))},v=function(e){return console.warn(e)},y=function(e){return"non-scaling-stroke"===e.getAttribute("vector-effect")},w=1,m=function(e,t,r){var n,i,a=e.indexOf(" ");return a<0?(n=void 0!==r?r+"":e,i=e):(n=e.substr(0,a),i=e.substr(a+1)),(n=f(n,t))>(i=f(i,t))?[i,n]:[n,i]},x=function(e){if(!(e=r(e)[0]))return 0;var t,n,i,a,s,c,d,f=e.tagName.toLowerCase(),w=e.style,m=1,x=1;y(e)&&(x=e.getScreenCTM(),m=p(x.a*x.a+x.b*x.b),x=p(x.d*x.d+x.c*x.c));try{n=e.getBBox()}catch(T){v("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var P=n||{x:0,y:0,width:0,height:0},b=P.x,k=P.y,S=P.width,j=P.height;if(n&&(S||j)||!h[f]||(S=g(e,h[f][0]),j=g(e,h[f][1]),"rect"!==f&&"line"!==f&&(S*=2,j*=2),"line"===f&&(b=g(e,"x1"),k=g(e,"y1"),S=Math.abs(S-b),j=Math.abs(j-k))),"path"===f)a=w.strokeDasharray,w.strokeDasharray="none",t=e.getTotalLength()||0,u(m)!==u(x)&&!o&&(o=1)&&v("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(m+x)/2,w.strokeDasharray=a;else if("rect"===f)t=2*S*m+2*j*x;else if("line"===f)t=_(b,k,b+S,k+j,m,x);else if("polyline"===f||"polygon"===f)for(i=e.getAttribute("points").match(l)||[],"polygon"===f&&i.push(i[0],i[1]),t=0,s=2;s<i.length;s+=2)t+=_(i[s-2],i[s-1],i[s],i[s+1],m,x)||0;else"circle"!==f&&"ellipse"!==f||(c=S/2*m,d=j/2*x,t=Math.PI*(3*(c+d)-p((3*c+d)*(c+3*d))));return t||0},P=function(e,t){if(!(e=r(e)[0]))return[0,0];t||(t=x(e)+1);var i=n.getComputedStyle(e),a=i.strokeDasharray||"",o=d(i.strokeDashoffset),s=a.indexOf(",");return s<0&&(s=a.indexOf(" ")),(a=s<0?t:d(a.substr(0,s)))>t&&(a=t),[-o||0,a-o||0]},b=function(){s()&&(n=window,a=t=c(),r=t.utils.toArray,i=-1!==((n.navigator||{}).userAgent||"").indexOf("Edge"))},k={version:"3.10.4",name:"drawSVG",register:function(e){t=e,b()},init:function(e,t,r,o,s){if(!e.getBBox)return!1;a||b();var c,l,h,f=x(e);return this._style=e.style,this._target=e,t+""==="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",c=P(e,f),l=m(t,f,c[0]),this._length=u(f),this._dash=u(c[1]-c[0]),this._offset=u(-c[0]),this._dashPT=this.add(this,"_dash",this._dash,u(l[1]-l[0])),this._offsetPT=this.add(this,"_offset",this._offset,u(-l[0])),i&&(h=n.getComputedStyle(e)).strokeLinecap!==h.strokeLinejoin&&(l=d(h.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",l,l+.01)),this._live=y(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),w},render:function(e,t){var r,n,i,a,o=t._pt,s=t._style;if(o){for(t._live&&(r=x(t._target))!==t._length&&(n=r/t._length,t._length=r,t._offsetPT&&(t._offsetPT.s*=n,t._offsetPT.c*=n),t._dashPT?(t._dashPT.s*=n,t._dashPT.c*=n):t._dash*=n);o;)o.r(e,o.d),o=o._next;i=t._dash||e&&1!==e&&1e-4||0,r=t._length-i+.1,a=t._offset,i&&a&&i+Math.abs(a%t._length)>t._length-.2&&(a+=a<0?.1:-.1)&&(r+=.1),s.strokeDashoffset=i?a:a+.001,s.strokeDasharray=r<.2?"none":i?i+"px,"+(t._nowrap?999999:r)+"px":"0px, 999999px"}},getLength:x,getPosition:P};c()&&t.registerPlugin(k),e.DrawSVGPlugin=k,e.default=k,Object.defineProperty(e,"__esModule",{value:!0})}(t)},38191:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/privacy-policy",function(){return r(40393)}])},40393:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return o},default:function(){return s}});var n=r(85893),i=r(68081),a=r(49301),o=!0;function s(e){var t=e.components,r=e.footerComponent,o=e.socialMediaComponent,s=e.headerComponent,c=e.quickLinksComponent,l=t.attributes,h=r.attributes,u=((null===o||void 0===o?void 0:o.attributes)||{}).socialMedia,d=s.attributes,f=c.attributes.quickLink;return(0,n.jsx)(i.Z,{socialMedia:u,footer:h,header:d,headerTheme:"green",searchQuickLinks:f,children:(0,n.jsx)(a.Z,{privacyPolicy:l})})}},49301:function(e,t,r){"use strict";r.d(t,{Z:function(){return N}});var n=r(85893),i=r(67294),a=r(64651),o=r(5350),s=r.n(o),c=r(93967),l=r.n(c),h=r(48564),u=r(52702),d=r(25675),f=r.n(d),g=r(5337),p=r(89521),_=r.n(p),v=r(7749),y=r.n(v);_().registerPlugin(y());var w=function(e){var t=e.heroImage,r=_().timeline({delay:.5}),a=_().timeline({delay:1}),o=_().timeline({delay:.5}),s=_().timeline({delay:1}),c=((0,i.useRef)(),t.data.attributes),l=c.url,h=c.width,u=c.height;return(0,i.useEffect)((function(){r.fromTo("#Path",{drawSVG:"0"},{duration:1,drawSVG:"100%"}),a.fromTo("#Path",{fill:"transparent"},{duration:1,fill:"#00A493"}),r.fromTo(["#Path-2","#Path-3","#Path-4","#Path-5","#ShapeArrow"],{drawSVG:"0"},{duration:1,drawSVG:"100%"}),a.fromTo(["#Path-2","#Path-3","#Path-4","#Path-5","#ShapeArrow"],{fill:"transparent"},{duration:1,fill:"#00A493"}),o.fromTo(["#Shape"],{drawSVG:"0"},{duration:10,drawSVG:"100%"}),s.fromTo(["#Shape"],{fill:"transparent"},{duration:1,fill:"#00332E"})}),[]),(0,n.jsx)(f(),{width:h,height:u,src:"".concat("https://asksustainable-strapi-dev-docker.azurewebsites.net").concat(l),loader:function(){return function(e){return"".concat(e)}(l)},layout:"responsive"})},m={src:"/_next/static/media/bg-wave.99774289.svg",height:104,width:1400},x=r(56546),P=r.n(x),b=r(11447),k=r(11163);_().registerPlugin(P());var S=function(e){var t=e.privacyPolicy,r=t.heroDate,o=t.heroDescription,c=t.heroTitle,d=t.heroImage,p=(0,i.useState)(116),v=p[0],y=p[1],x=(0,k.useRouter)().locale,P=(0,i.useRef)(null);return(0,i.useEffect)((function(){_().fromTo(".greenWave",{transform:"scale(1, 1)"},{transform:"scale(1, 0)",scrollTrigger:{trigger:".greenWave",start:"top 75%",end:"bottom 30%",scrub:!0,onUpdate:function(){var e,t;y(null===(t=null===(e=P.current)||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.height)}}})}),[]),(0,n.jsxs)("div",{className:s().wrapSection,style:{paddingBottom:"".concat(v-2,"px")},children:[(0,n.jsx)("section",{className:l()(s().section,s()["section--hero"]),children:(0,n.jsx)(u.Z,{type:"narrow",children:(0,n.jsxs)("div",{className:s().row,children:[(0,n.jsxs)("div",{className:s().heroContent,children:[(0,n.jsx)(h.Z,{weightMedium:!0,uppercase:!0,dark:!0,size:"12",children:"".concat(b.Z.lastUpdate[x]," ").concat((0,g.Z)(r,x))}),(0,n.jsx)("div",{className:s().headingWrapper,children:(0,n.jsx)(a.Z,{regularWeight:!0,as:"h1",size:"hero",color:"black",children:c})}),(0,n.jsx)(h.Z,{size:"18",dark:!0,children:o})]}),(0,n.jsx)("div",{className:s().wrapImage,children:(0,n.jsx)(w,{heroImage:d})})]})})}),(0,n.jsx)("div",{className:l()(s().greenWave,"greenWave"),ref:P,children:(0,n.jsx)(f(),{src:m,width:1400,height:104,layout:"responsive"})})]})}
1,j=r(85330),T=r(99923),M=r.n(T),N=function(e){var t=e.privacyPolicy;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S,{privacyPolicy:t}),(0,n.jsx)(u.Z,{children:(0,n.jsx)("div",{className:M().wrapContent,children:(0,n.jsx)(j.D,{className:M().content,children:t.content})})})]})}},5337:function(e,t){"use strict";t.Z=function(e,t){var r=new Date(e),n=r.getDate(),i=r.toLocaleString(t,{month:"long"}),a=r.getFullYear();return"".concat(i," ").concat(n,", ").concat(a)}},5350:function(e){e.exports={"section--hero":"PrivacyPolicyHero_section--hero__vRLSu",wrapSection:"PrivacyPolicyHero_wrapSection__nT6jJ",greenWave:"PrivacyPolicyHero_greenWave__iJzBA",row:"PrivacyPolicyHero_row__hpzXw",headingWrapper:"PrivacyPolicyHero_headingWrapper__bxRBH"}},99923:function(e){e.exports={wrapContent:"PrivacyPolicySection_wrapContent__p76fL",content:"PrivacyPolicySection_content__gi2UX"}}},function(e){e.O(0,[3433,7355,6546,8081,1447,9774,2888,179],(function(){return t=38191,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.