PageSourceSearch

https://www.dailyclimate.org/static/dist/social-ux/7270.366f71c7484defc984f1.bundle.mjs

js dailyclimate.org collected 2026-09-24 17:44:09 UTC 9,724 bytes, 2 lines download raw bytes

1/*! For license information please see 7270.366f71c7484defc984f1.bundle.mjs.LICENSE.txt */
2"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[7270],{7270:function(t,e,n){n.r(e),n.d(e,{MotionPathPlugin:function(){return T},default:function(){return T}});var r,i,o,a,s,f,u=n(8344),l=n(335),p="x,translateX,left,marginLeft,xPercent".split(","),h="y,translateY,top,marginTop,yPercent".split(","),c=Math.PI/180,d=function(t,e,n,r){for(var i=e.length,o=2===r?0:r,a=0;a<i;a++)t[o]=parseFloat(e[a][n]),2===r&&(t[o+1]=0),o+=2;return t},g=function(t,e,n){return parseFloat(t._gsap.get(t,e,n||"px"))||0},m=function(t){var e,n=t[0],r=t[1];for(e=2;e<t.length;e+=2)n=t[e]+=n,r=t[e+1]+=r},y=function(t,e,n,r,i,o,a,s,f){return"cubic"===a.type?e=[e]:(!1!==a.fromCurrent&&e.unshift(g(n,r,s),i?g(n,i,f):0),a.relative&&m(e),e=[(i?u.WQ:u.pG)(e,a.curviness)]),e=o(P(e,n,a)),C(t,n,r,e,"x",s),i&&C(t,n,i,e,"y",f),(0,u.bc)(e,a.resolution||(0===a.curviness?20:12))},v=function(t){return t},w=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,x=function(t,e,n){var r,i=(0,l.hK)(t),o=0,a=0;return"svg"===(t.tagName+"").toLowerCase()?(r=t.viewBox.baseVal).width||(r={width:+t.getAttribute("width"),height:+t.getAttribute("height")}):r=e&&t.getBBox&&t.getBBox(),e&&"auto"!==e&&(o=e.push?e[0]*(r?r.width:t.offsetWidth||0):e.x,a=e.push?e[1]*(r?r.height:t.offsetHeight||0):e.y),n.apply(o||a?i.apply({x:o,y:a}):{x:i.e,y:i.f})},b=function(t,e,n,r){var i,o=(0,l.hK)(t.parentNode,!0,!0),a=o.clone().multiply((0,l.hK)(e)),s=x(t,n,o),f=x(e,r,o),u=f.x,p=f.y;return a.e=a.f=0,"auto"===r&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(i=e.getAttribute("d").match(w)||[],u+=(i=a.apply({x:+i[0],y:+i[1]})).x,p+=i.y),i&&(u-=(i=a.apply(e.getBBox())).x,p-=i.y),a.e=u-s.x,a.f=p-s.y,a},P=function(t,e,n){var i,o,s,f=n.align,l=n.matrix,p=n.offsetX,h=n.offsetY,c=n.alignOrigin,d=t[0][0],m=t[0][1],y=g(e,"x"),v=g(e,"y");return t&&t.length?(f&&("self"===f||(i=a(f)[0]||e)===e?(0,u.ag)(t,1,0,0,1,y-d,v-m):(c&&!1!==c[2]?r.set(e,{transformOrigin:100*c[0]+"% "+100*c[1]+"%"}):c=[g(e,"xPercent")/-100,g(e,"yPercent")/-100],s=(o=b(e,i,c,"auto")).apply({x:d,y:m}),(0,u.ag)(t,o.a,o.b,o.c,o.d,y+o.e-(s.x-o.e),v+o.f-(s.y-o.f)))),l?(0,u.ag)(t,l.a,l.b,l.c,l.d,l.e,l.f):(p||h)&&(0,u.ag)(t,1,0,0,1,p||0,h||0),t):(0,u.mw)("M0,0L0,0")},C=function(t,e,n,r,a,s){var f=e._gsap,u=f.harness,l=u&&u.aliases&&u.aliases[n],p=l&&l.indexOf(",")<0?l:n,h=t._pt=new i(t._pt,e,p,0,0,v,0,f.set(e,p,t));h.u=o(f.get(e,p,s))||0,h.path=r,h.pp=a,t._props.push(p)},T={version:"3.15.0",name:"motionPath",register:function(t,e,n){o=(r=t).utils.getUnit,a=r.utils.toArray,s=r.core.getStyleSaver,f=r.core.reverting||function(){},i=n},init:function(t,e,n){if(!r)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});var i,a,f,l,c=[],g=e,m=g.path,v=g.autoRotate,w=g.unitX,x=g.unitY,b=g.x,T=g.y,N=m[0],O=(f=e.start,l="end"in e?e.end:1,function(t){return f||1!==l?(0,u._j)(t,f,l):t});if(this.rawPaths=c,this.target=t,this.tween=n,this.styles=s&&s(t,"transform"),(this.rotate=v||0===v)&&(this.rOffset=parseFloat(v)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=o(t._gsap.get(t,this.rProp))||0),Array.isArray(m)&&!("closed"in m)&&"number"!=typeof N){for(a in N)!b&&~p.indexOf(a)?b=a:!T&&~h.indexOf(a)&&(T=a);for(a in b&&T?c.push(y(this,d(d([],m,b,0),m,T,1),t,b,T,O,e,w||o(m[0][b]),x||o(m[0][T]))):b=T=0,N)a!==b&&a!==T&&c.push(y(this,d([],m,a,2),t,a,0,O,e,o(m[0][a])))}else i=O(P((0,u.mw)(e.path),t,e)),(0,u.bc)(i,e.resolution),c.push(i),C(this,t,e.x||"x",i,"x",e.unitX||"px"),C(this,t,e.y||"y",i,"y",e.unitY||"px");n.vars.immediateRender&&this.render(n.progress(),this)},render:function(t,e){var n=e.rawPaths,r=n.length,i=e._pt;if(e.tween._time||!f()){for(t>1?t=1:t<0&&(t=0);r--;)(0,u.ki)(n[r],t,!r&&e.rotate,n[r]);for(;i;)i.set(i.t,i.p,i.path[i.pp]+i.u,i.d,t),i=i._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?c:1)+e.rOffset+e.ru,e,t)}else e.styles.revert()},getLength:function(t){return(0,u.bc)((0,u.mw)(t)).totalLength},sliceRawPath:u._j,getRawPath:u.mw,pointsToSegment:u.WQ,stringToRawPath:u.UY,rawPathToString:u.a9,transformRawPath:u.ag,getGlobalMatrix:l.hK,getPositionOnPath:u.ki,cacheRawPathMeasurements:u.bc,convertToPath:function(t,e){return a(t).map((function(t){return(0,u.O5)(t,!1!==e)}))},convertCoordinates:function(t,e,n){var r=(0,l.hK)(e,!0,!0).multiply((0,l.hK)(t));return n?r.apply(n):r},getAlignMatrix:b,getRelativePosition:function(t,e,n,r){var i=b(t,e,n,r);return{x:i.e,y:i.f}}
2,arrayToRawPath:function(t,e){var n=d(d([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&m(n),["cubic"===e.type?n:(0,u.WQ)(n,e.curviness)]}};(r||"undefined"!=typeof window&&(r=window.gsap)&&r.registerPlugin&&r)&&r.registerPlugin(T)},335:function(t,e,n){n.d(e,{KQ:function(){return C},Mt:function(){return w},cA:function(){return O},eK:function(){return v},hK:function(){return R},mk:function(){return d}});var r,i,o,a,s,f,u,l,p,h="transform",c=h+"Origin",d=function(t){var e=t.ownerDocument||t;!(h in t.style)&&"msTransform"in t.style&&(c=(h="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(i=window,u=new O,e){r=e,o=e.documentElement,a=e.body,(l=r.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=e.createElement("div"),s=e.createElement("div"),f=e&&(e.body||e.firstElementChild);f&&f.appendChild&&(f.appendChild(n),n.appendChild(s),n.style.position="static",n.style.transform="translate3d(0,0,1px)",p=s.offsetParent!==n,f.removeChild(n))}return e},g=function(t){for(var e,n;t&&t!==a;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e},m=[],y=[],v=function(){return i.pageYOffset||r.scrollTop||o.scrollTop||a.scrollTop||0},w=function(){return i.pageXOffset||r.scrollLeft||o.scrollLeft||a.scrollLeft||0},x=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},b=function t(e){return"fixed"===i.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},P=function t(e,n){if(e.parentNode&&(r||d(e))){var i=x(e),o=i?i.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=i?n?"rect":"g":"div",u=2!==n?0:100,l=3===n?100:0,p={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},h=r.createElementNS?r.createElementNS(o.replace(/^https/,"http"),a):r.createElement(a);return n&&(i?(f||(f=t(e)),h.setAttribute("width",.01),h.setAttribute("height",.01),h.setAttribute("transform","translate("+u+","+l+")"),h.setAttribute("fill","transparent"),f.appendChild(h)):(s||(s=t(e),Object.assign(s.style,p)),Object.assign(h.style,p,{width:"0.1px",height:"0.1px",top:l+"px",left:u+"px"}),s.appendChild(h))),h}throw"Need document and parent."},C=function(t){var e,n=t.getCTM();return n||(e=t.style[h],t.style[h]="none",t.appendChild(l),n=l.getCTM(),t.removeChild(l),e?t.style[h]=e:t.style.removeProperty(h.replace(/([A-Z])/g,"-$1").toLowerCase())),n||u.clone()},T=function(t,e){var n,r,o,a,l,d,g=x(t),v=t===g,w=g?m:y,b=t.parentNode,T=b&&!g&&b.shadowRoot&&b.shadowRoot.appendChild?b.shadowRoot:b;if(t===i)return t;if(w.length||w.push(P(t,1),P(t,2),P(t,3)),n=g?f:s,g)v?(a=-(o=C(t)).e/o.a,l=-o.f/o.d,r=u):t.getBBox?(o=t.getBBox(),a=(r=(r=t.transform?t.transform.baseVal:{}).numberOfItems?r.numberOfItems>1?function(t){for(var e=new O,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(r):r.getItem(0).matrix:u).a*o.x+r.c*o.y,l=r.b*o.x+r.d*o.y):(r=new O,a=l=0),e&&"g"===t.tagName.toLowerCase()&&(a=l=0),(v||!t.getBoundingClientRect().width?g:b).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+a)+","+(r.f+l)+")");else{if(a=l=0,p)for(r=t.offsetParent,o=t;o&&(o=o.parentNode)&&o!==r&&o.parentNode;)(i.getComputedStyle(o)[h]+"").length>4&&(a=o.offsetLeft,l=o.offsetTop,o=0);if("absolute"!==(d=i.getComputedStyle(t)).position&&"fixed"!==d.position)for(r=t.offsetParent;b&&b!==r;)a+=b.scrollLeft||0,l+=b.scrollTop||0,b=b.parentNode;(o=n.style).top=t.offsetTop-l+"px",o.left=t.offsetLeft-a+"px",o[h]=d[h],o[c]=d[c],o.position="fixed"===d.position?"fixed":"absolute",T.appendChild(n)}return n},N=function(t,e,n,r,i,o,a){return t.a=e,t.b=n,t.c=r,t.d=i,t.e=o,t.f=a,t},O=function(){function t(t,e,n,r,i,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),N(this,t,e,n,r,i,o)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,n=this.c,r=this.d,i=this.e,o=this.f,a=t*r-e*n||1e-10;return N(this,r/a,-e/a,-n/a,t/a,(n*o-r*i)/a,-(t*o-e*i)/a)},e.multiply=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,o=this.e,a=this.f,s=t.a,f=t.c,u=t.b,l=t.d,p=t.e,h=t.f;return N(this,s*e+u*r,s*n+u*i,f*e+l*r,f*n+l*i,o+p*e+h*r,a+p*n+h*i)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,o=this.e,a=this.f;return e===t.a&&n===t.b&&r===t.c&&i===t.d&&o===t.e&&a===t.f},e.apply=function(t,e){void 0===e&&(e={});var n=t.x,r=t.y,i=this.a,o=this.b,a=this.c,s=this.d,f=this.e,u=this.f;return e.x=n*i+r*a+f||0,e.y=n*o+r*s+u||0,e},t}();function R(t,e,n,i){if(!t||!t.parentNode||(r||d(t)).documentElement===t)return new O;var o=g(t),a=x(t)?m:y,s=T(t,n),f=a[0].getBoundingClientRect(),u=a[1].getBoundingClientRect(),l=a[2].getBoundingClientRect(),p=s.parentNode,h=!i&&b(t),c=new O((u.left-f.left)/100,(u.top-f.to
2p)/100,(l.left-f.left)/100,(l.top-f.top)/100,f.left+(h?0:w()),f.top+(h?0:v()));if(p.removeChild(s),o)for(f=o.length;f--;)(u=o[f]).scaleX=u.scaleY=0,u.renderTransform(1,u);return e?c.inverse():c}}}]);

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.