1/*! For license information please see 1557.ca6ca5800b5e740996d3.bundle.js.LICENSE.txt */ 2"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[1557],{1557:function(t,e,n){n.r(e),n.d(e,{MotionPathHelper:function(){return bt},default:function(){return bt}});var i,s,r,o,a,h,l,c,d,u,p,g,f,_,m,v=n(7776),b=n(4183),y=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,A="#4e7fff",w=Math.PI/180,P=Date.now||function(){return(new Date).getTime()},C=0,x=0,S=function(){return!1},k={},E=[],D={},H=[],M=",",T=[],R=function(t){t.preventDefault&&(t.preventDefault(),t.preventManipulation&&t.preventManipulation())},N=function(t){return i.createElementNS?i.createElementNS("http://www.w3.org/1999/xhtml",t):i.createElement(t)},X=function(t,e,n){var s,r=i.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(s in(n=n||{}).class=n.class||"path-editor",n)void 0!==r.style[s]?r.style[s]=n[s]:r.setAttributeNS(null,s.replace(o,"$1-$2").toLowerCase(),n[s]);return e.appendChild(r),r},L={matrix:new b.cA},O=function(t){return(t.transform&&t.transform.baseVal.consolidate()||L).matrix},I=function(t){return~~(1e3*t+(t<0?-.5:.5))/1e3},Y=function(t){if(!t.target._gsSelection&&!x&&P()-C>100){for(var e=T.length;--e>-1;)T[e].deselect();T.length=0}},q=0,j=function(t,e,n,i){if(t.addEventListener){var s=f[e];i=i||{passive:!1},t.addEventListener(s||e,n,i),s&&e!==s&&"pointer"!==s.substr(0,7)&&t.addEventListener(e,n,i)}else t.attachEvent&&t.attachEvent("on"+e,n)},V=function(t,e,n){if(t.removeEventListener){var i=f[e];t.removeEventListener(i||e,n),i&&e!==i&&"pointer"!==i.substr(0,7)&&t.removeEventListener(e,n)}else t.detachEvent&&t.detachEvent("on"+e,n)},B=function t(e){q=e.touches&&_dragCount<e.touches.length,V(e.target,"touchend",t)},G=function(t){q=t.touches&&_dragCount<t.touches.length,j(t.target,"touchend",B)},W=function(t,e){return function(n){return t.call(e,n)}},z=function(t,e,n){var i=e.vars[t];return i&&i.call(e.vars.callbackScope||e,n||e),e},U=function(){_.style.display="block",_.select(),_.style.display="none"},K=function(t){i=document,r=window,o=i.body,a=a||t||r.gsap||console.warn("Please gsap.registerPlugin(PathEditor)"),h=a&&a.core.context||function(){},g=N("div"),(_=N("textarea")).style.display="none",o&&o.appendChild(_),f=function(t){for(var e=t.split(","),n=(void 0!==g.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==g.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),i={},s=4;--s>-1;)i[e[s]]=n[s],i[n[s]]=e[s];return i}("touchstart,touchmove,touchend,touchcancel"),SVGElement.prototype.getTransformToElement=SVGElement.prototype.getTransformToElement||function(t){return t.getScreenCTM().inverse().multiply(this.getScreenCTM())},i.addEventListener("keydown",(function(t){var e,n,i,s,r=t.keyCode||t.which,o=t.key||r;if("Shift"===o||16===r)d=!0;else if("Control"===o||17===r)l=!0;else if("Meta"===o||91===r)u=!0;else if("Alt"===o||18===r)for(c=!0,e=T.length;--e>-1;)T[e]._onPressAlt();else if(("z"===o||90===r)&&(l||u)&&E.length>1){if(E.shift(),n=E[0]){for((s=n.path).path.setAttribute("d",n.d),s.path.setAttribute("transform",n.transform),s.init(),i=s._anchors,e=0;e<i.length;e++)-1!==n.selectedIndexes.indexOf(i[e].i)&&s._selectedAnchors.push(i[e]);s._updateAnchors(),s.update(),s.vars.onUndo&&s.vars.onUndo.call(s)}}else if("Delete"===o||"Backspace"===o||8===r||46===r||63272===r||"d"===r&&(l||u))for(e=T.length;--e>-1;)T[e]._deleteSelectedAnchors();else if(("a"===o||65===r)&&(u||l))for(e=T.length;--e>-1;)T[e].select(!0)}),!0),i.addEventListener("keyup",(function(t){var e=t.key||t.keyCode||t.which;if("Shift"===e||16===e)d=!1;else if("Control"===e||17===e)l=!1;else if("Meta"===e||91===e)u=!1;else if("Alt"===e||18===e){c=!1;for(var n=T.length;--n>-1;)T[n]._onReleaseAlt()}}),!0),s=!!r.PointerEvent,j(i,"mouseup",Y),j(i,"touchend",Y),j(i,"touchcancel",S),j(r,"touchmove",S),o&&o.addEventListener("touchstart",S),m=1},F=function(t){var e,n,o=this,a=(0,b.hK)(o.target.parentNode,!0);this._matrix=this.target.transform.baseVal.getItem(0).matrix,this._ctm=a,f[t.type]?(e=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:i,j(e,"touchend",o._onRelease),j(e,"touchmove",o._onMove),j(e,"touchcancel",o._onRelease),j(i,"touchstart",G),j(r,"touchforcechange",R)):(e=null,j(i,"mousemove",o._onMove)),s||j(i,"mouseup",o._onRelease),R(t),U(),t.changedTouches?(t=o.touch=t.changedTouches[0],o.touchID=t.identifier):t.pointerId?o.touchID=t.pointerId:o.touch=o.touchID=null,o._startPointerY=o.pointerY=t.pageY,o._startPointerX=o.pointerX=t.pageX,o._startElementX=o._matrix.e,o._startElementY=o._matrix.f,1===this._ctm.a&&0===this._ctm.b&&0===this._ctm.c&&1===this._ctm.d?this._ctm=null:(n=o._startPointerX*this._ctm.a+o._startPointerY*this._ctm.c+this._ctm.e,o._startPointerY=o._startPointerX*this._ctm.b+o._startPointerY*this._ctm.d+this._ctm.f,o._startPointerX=n),o.isPressed=x=!0,o.touchEventTarget=e,o.vars.onPress&&o.vars.onPress.call(o.vars.callbackScope||o,o.pointerEvent)},Q=function(t){var e,n,i=this,s=t;if(i._enabled&&!q&&i.isPressed&&t){if(i.pointerEvent=t,e=t.changedTouches){if((t=e[0])!==i.touch&&t.identifier!==i.touchID){for(n=e.length;--n>-1&&(t=e[n]).identifier!==i.touchID;);if(n<0)return}}else if(t.pointerId&&i.touchID&&t.pointerId!==i.touchID)return;R(s),i.setPointerPosition(t.pageX,t.pageY),i.vars.onDrag&&i.vars.onDrag.call(i.vars.callbackScope||i,i.pointerEvent)}},$=function(t,e){var n=this;if(n._enabled&&n.isPressed&&(!t||null==n.touchID||e||!(t.pointerId&&t.pointerId!==n.touchID||t.changedTouches&&!function(t,e){for(var n=t.length;--n>-1;)if(t[n].identifier===e)return!0;return!1}(t.changedTouches,n.touchID)))){C=P(),n.isPressed=x=!1;var r,o,a=t,h=n.isDragging,l=n.touchEventTarget;if(l?(V(l,"touchend",n._onRelease),V(l,"touchmove",n._onMove),V(l,"touchcancel",n._onRelease),V(i,"touchstart",G)):V(i,"mousemove",n._onMove),s||(V(i,"mouseup",n._onRelease),t&&t.target&&V(t.target,"mouseup",n._onRelease)),h?n.isDragging=!1:n.vars.onClick&&n.vars.onClick.call(n.vars.callbackScope||n,a),t){if((r=t.changedTouches)&&(t=r[0])!==n.touch&&t.identifier!==n.touchID){for(o=r.length;--o>-1&&(t=r[o]).identifier!==n.touchID;);if(o<0)return}n.pointerEvent=a,n.pointerX=t.pageX,n.pointerY=t.pageY}return a&&!h&&n.vars.onDragRelease?n.vars.onDragRelease.call(n,n.pointerEvent):(a&&R(a),n.vars.onRelease&&n.vars.onRelease.call(n.vars.callbackScope||n,n.pointerEvent)),h&&n.vars.onDragEnd&&n.vars.onDragEnd.call(n.vars.callbackScope||n,n.pointerEvent),!0}},J=function(t,e,n,i){var s,r=t[e],o=r.length-(r.closed?6:0),a=[];for(s=0;s<o;s+=6)a.push(new et(n,t,e,s,i));
2return r.closed&&(a[0].isClosedStart=!0),a},Z=function(t,e,n){var i=t[n]-t[e],s=t[n+1]-t[e+1];return Math.sqrt(i*i+s*s)},tt=function(){function t(t,e){this.target="string"==typeof t?i.querySelectorAll(t)[0]:t,this.vars=e||{},this._onPress=W(F,this),this._onMove=W(Q,this),this._onRelease=W($,this),this.target.setAttribute("transform",(this.target.getAttribute("transform")||"")+" translate(0,0)"),this._matrix=O(this.target),this.x=this._matrix.e,this.y=this._matrix.f,this.snap=e.snap,isNaN(e.maxX)&&isNaN(e.minX)?this._bounds=0:(this._bounds=1,this.maxX=+e.maxX,this.minX=+e.minX),this.enabled(!0)}var e=t.prototype;return e.setPointerPosition=function(t,e){var n,i,s,r,o,a=1e3;this.pointerX=t,this.pointerY=e,this._ctm&&(o=t*this._ctm.a+e*this._ctm.c+this._ctm.e,e=t*this._ctm.b+e*this._ctm.d+this._ctm.f,t=o),(i=e-this._startPointerY)<1&&i>-1&&(i=0),(n=t-this._startPointerX)<1&&n>-1&&(n=0),s=((this._startElementX+n)*a|0)/a,r=((this._startElementY+i)*a|0)/a,this.snap&&!d&&(D.x=s,D.y=r,this.snap.call(this,D),s=D.x,r=D.y),this.x===s&&this.y===r||(this._matrix.f=this.y=r,this._matrix.e=this.x=s,!this.isDragging&&this.isPressed&&(this.isDragging=!0,z("onDragStart",this,this.pointerEvent)))},e.enabled=function(t){return arguments.length?(this._enabled=t,t?(s||j(this.target,"mousedown",this._onPress),j(this.target,"touchstart",this._onPress),j(this.target,"click",this._onClick,!0)):(e=this.isDragging,V(this.target,"mousedown",this._onPress),V(this.target,"touchstart",this._onPress),V(r,"touchforcechange",R),V(this.target,"click",this._onClick),this.touchEventTarget&&(V(this.touchEventTarget,"touchcancel",this._onRelease),V(this.touchEventTarget,"touchend",this._onRelease),V(this.touchEventTarget,"touchmove",this._onMove)),V(i,"mouseup",this._onRelease),V(i,"mousemove",this._onMove),this.isDragging=this.isPressed=!1,e&&z("onDragEnd",this,this.pointerEvent)),this):this._enabled;var e},e.endDrag=function(t){this._onRelease(t)},t}(),et=function(){function t(t,e,n,i,s){this.editor=t,this.element=X("path",t._selection,{fill:A,stroke:A,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this.update(e,n,i),this.element._gsSelection=!0,this.vars=s||{},this._draggable=new tt(this.element,{callbackScope:this,onDrag:this.onDrag,snap:this.vars.snap,onPress:this.onPress,onRelease:this.onRelease,onClick:this.onClick,onDragEnd:this.onDragEnd})}var e=t.prototype;return e.onPress=function(){z("onPress",this)},e.onClick=function(){z("onClick",this)},e.onDrag=function(){var t=this.segment;this.vars.onDrag.call(this.vars.callbackScope||this,this,this._draggable.x-t[this.i],this._draggable.y-t[this.i+1])},e.onDragEnd=function(){z("onDragEnd",this)},e.onRelease=function(){z("onRelease",this)},e.update=function(t,e,n){t&&(this.rawPath=t),arguments.length<=1?(e=this.j,n=this.i):(this.j=e,this.i=n);var i=this.smooth,s=this.rawPath[e],r=0===n&&s.closed?s.length-4:n-2;this.segment=s,this.smooth=n>0&&n<s.length-2&&Math.abs(Math.atan2(s[n+1]-s[r+1],s[n]-s[r])-Math.atan2(s[n+3]-s[n+1],s[n+2]-s[n]))<.09?2:0,this.smooth!==i&&this.element.setAttribute("d",this.smooth?this.editor._circleHandle:this.editor._squareHandle),this.element.setAttribute("transform","translate("+s[n]+","+s[n+1]+")")},t}(),nt=function(){function t(t,e){e=e||{},m||K(),this.vars=e,this.path="string"==typeof t?i.querySelectorAll(t)[0]:t,this._g=X("g",this.path.ownerSVGElement,{class:"path-editor-g path-editor"}),this._selectionHittest=X("path",this._g,{stroke:"transparent",strokeWidth:16,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selection=e._selection||X("g",this._g,{class:"path-editor-selection path-editor"}),this._selectionPath=X("path",this._selection,{stroke:A,strokeWidth:2,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selectedAnchors=[],this._line1=X("polyline",this._selection,{stroke:A,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line2=X("polyline",this._selection,{stroke:A,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line1.style.pointerEvents=this._line2.style.pointerEvents=this._selectionPath.style.pointerEvents="none",this._enabled=!0;var n=this.path.parentNode.getScreenCTM().inverse(),r=(n.a+n.d)/2*(e.handleSize||5);this._squareHandle=function(t){return["M-"+(t=I(t)),-t,t,-t,t,t,
2-t,t+"z"].join(M)}(r),this._circleHandle=function(t){var e=I(.552284749831*t);return"M"+(t=I(t))+",0C"+[t,e,e,t,0,t,-e,t,-t,e,-t,0,-t,-e,-e,-t,0,-t,e,-t,t,-e,t,0].join(M)+"z"}(1.15*r),this._handle1=X("path",this._selection,{d:this._squareHandle,fill:A,stroke:"transparent",strokeWidth:6}),this._handle2=X("path",this._selection,{d:this._squareHandle,fill:A,stroke:"transparent",strokeWidth:6}),this._handle1._draggable=new tt(this._handle1,{onDrag:this._onDragHandle1,callbackScope:this,onPress:this._onPressHandle1,onRelease:this._onReleaseHandle,onClick:this._onClickHandle1,snap:e.handleSnap}),this._handle2._draggable=new tt(this._handle2,{onDrag:this._onDragHandle2,callbackScope:this,onPress:this._onPressHandle2,onRelease:this._onReleaseHandle,onClick:this._onClickHandle2,snap:e.handleSnap}),this._handle1.style.visibility=this._handle2.style.visibility="hidden";for(var o=[this._handle1,this._handle2,this._line1,this._line2,this._selection,this._selectionPath,this._selectionHittest],a=o.length;--a>-1;)o[a]._gsSelection=!0;!1!==e.draggable&&(this._draggable=new tt(this._selectionHittest,{callbackScope:this,onPress:this.select,onRelease:this._onRelease,onDrag:this._onDragPath,onDragEnd:this._saveState,maxX:this.vars.maxX,minX:this.vars.minX})),this.init(),this._selection.style.visibility=!1===e.selected?"hidden":"visible",!1!==e.selected&&(this.path._gsSelection=!0,T.push(this)),this._saveState(),s||(j(this._selectionHittest,"mousedown",W(this._onClickSelectionPath,this)),j(this._selectionHittest,"mouseup",W(this._onRelease,this))),j(this._selectionHittest,"touchstart",W(this._onClickSelectionPath,this)),j(this._selectionHittest,"touchend",W(this._onRelease,this)),h(this)}var e=t.prototype;return e._onRelease=function(t){var e=this._editingAnchor;e&&(k.x=e.segment[e.i],k.y=e.segment[e.i+1]),V(r,"touchforcechange",R),z("onRelease",this,t)},e.init=function(){var t,e,n=this.path.getAttribute("d"),i=(0,v.UY)(n),s=this.path.getAttribute("transform")||"translate(0,0)",r=!this._rawPath||i.totalPoints!==this._rawPath.totalPoints||i.map((function(t){return t.length})).join(",")!==this._rawPath.map((function(t){return t.length})).join(","),o={callbackScope:this,snap:this.vars.anchorSnap,onDrag:this._onDragAnchor,onPress:this._onPressAnchor,onRelease:this._onRelease,onClick:this._onClickAnchor,onDragEnd:this._onDragEndAnchor,maxX:this.vars.maxX,minX:this.vars.minX};if(r&&this._anchors&&this._anchors.length){for(e=0;e<this._anchors.length;e++)this._anchors[e].element.parentNode.removeChild(this._anchors[e].element),this._anchors[e]._draggable.enabled(!1);this._selectedAnchors.length=0}if(this._rawPath=i,r){if(this._anchors=J(i,0,this,o),(t=i.length)>1)for(e=1;e<t;e++)this._anchors=this._anchors.concat(J(i,e,this,o))}else for(e=this._anchors.length;--e>-1;)this._anchors[e].update(i);return this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),this._selectionPath.setAttribute("d",n),this._selectionHittest.setAttribute("d",n),this._g.setAttribute("transform",function(t){for(var e=O(t),n=t.ownerSVGElement;(t=t.parentNode)&&t.ownerSVGElement===n;)e.multiply(O(t));return"matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")"}(this.path.parentNode)||"translate(0,0)"),this._selection.setAttribute("transform",s),this._selectionHittest.setAttribute("transform",s),this._updateAnchors(),this},e._saveState=function(){!function(t){var e,n=[],i=t._selectedAnchors;for(e=0;e<i.length;e++)n[e]=i[e].i;E.unshift({path:t,d:t.path.getAttribute("d"),transform:t.path.getAttribute("transform")||"",selectedIndexes:n}),E.length>30&&(E.length=30)}(this)},e._onClickSelectionPath=function(t){if("hidden"===this._selection.style.visibility)this.select();else if(c||t&&t.altKey){var e,n,i,s,o,a,h={callbackScope:this,snap:this.vars.anchorSnap,onDrag:this._onDragAnchor,onPress:this._onPressAnchor,onRelease:this._onRelease,onClick:this._onClickAnchor,onDragEnd:this._onDragEndAnchor,maxX:this.vars.maxX,minX:this.vars.minX},l=this._selection.getScreenCTM().inverse();for(this._draggable&&this._draggable._onRelease(t),l&&(s=t.clientX*l.a+t.clientY*l.c+l.e,o=t.clientX*l.b+t.clientY*l.d+l.f),a=(0,v.kE)(this._rawPath,s,o),(0,v.B8)(this._rawPath[a.j],a.i,a.t),e=a.i+6,n=0;n<this._anchors.length;n++)this._anchors[n].i>=e&&this._anchors[n].j===a.j&&(this._anchors[n].i+=6);i=new et(this,this._rawPath,a.j,e,h),this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),i._draggable._onPress(t),p=i,this._anchors.push(i),this._selectedAnchors.length=0,this._selectedAnchors.push(i),this._updateAnchors(),this.update(),this._saveState()}U(),j(r,"touchforcechange",R),z("onPress",this)},e._onClickHandle1=function(){var t=this._editingAnchor,e=t.i,n=t.segment,i=t.isClosedStart?n.length-4:e-2;c&&Math.abs(n[e]-n[i])<5&&Math.abs(n[e+1]-n[i+1])<5&&this._onClickAnchor(t)},e._onClickHandle2=function(){var t=this._editingAnchor,e=t.i,n=t.segment;c&&Math.abs(n[e]-n[e+2])<5&&Math.abs(n[e+1]-n[e+3])<5&&this._onClickAnchor(t)},e._onDragEndAnchor=function(t){p=null,this._saveState()},e.isSelected=function(){return this._selectedAnchors.length>0||"visible"===this._selection.style.visibility},e.select=function(t){if(this._selection.style.visibility="visible",this._editingAnchor=null,this.path._gsSelection=!0,!0===t)for(var e=this._anchors.length;--e>-1;)this._selectedAnchors[e]=this._anchors[e];return-1===T.indexOf(this)&&T.push(this),this._updateAnchors(),this},e.deselect=function(){return this._selection.style.visibility="hidden",this._selectedAnchors.length=0,this._editingAnchor=null,this.path._gsSelection=!1,T.splice(T.indexOf(this),1),this._updateAnchors(),this},e._onDragPath=function(t){var e=this._selectionHittest.getAttribute("transform")||"translate(0,0)";this._selection.setAttribute("transform",e),this.path.setAttribute("transform",e)},e._onPressAnchor=function(t){-1===this._selectedAnchors.indexOf(t)?(d||(this._selectedAnchors.length=0),this._selectedAnchors.push(t)):d&&(this._selectedAnchors.splice(this._selectedAnchors.indexOf(t),1),t._draggable.endDrag(
vendor: 7,011 bytes, line 2
2)),k.x=t.segment[t.i],k.y=t.segment[t.i+1],this._updateAnchors(),z("onPress",this)},e._deleteSelectedAnchors=function(){for(var t,e,n,i,s=this._selectedAnchors,r=s.length;--r>-1;)for((t=s[r]).element.parentNode.removeChild(t.element),t._draggable.enabled(!1),e=t.i,i=t.j,e?e<t.segment.length-2?t.segment.splice(e-2,6):t.segment.splice(e-4,6):t.segment.splice(e,6),s.splice(r,1),this._anchors.splice(this._anchors.indexOf(t),1),n=0;n<this._anchors.length;n++)this._anchors[n].i>=e&&this._anchors[n].j===i&&(this._anchors[n].i-=6);this._updateAnchors(),this.update(),this._saveState(),this.vars.onDeleteAnchor&&this.vars.onDeleteAnchor.call(this.vars.callbackScope||this)},e._onClickAnchor=function(t){var e,n,i,s,r,o,a=t.i,h=t.segment,l=t.isClosedStart?h.length-4:a-2,u=1e3,g=!a||a>=h.length-2;c&&p!==t&&this._editingAnchor?(t.smooth=!t.smooth,g&&!t.isClosedStart&&(t.smooth=!1),t.element.setAttribute("d",t.smooth?this._circleHandle:this._squareHandle),!t.smooth||g&&!t.isClosedStart?t.smooth||g&&!t.isClosedStart||((a||t.isClosedStart)&&(h[l]=h[a],h[l+1]=h[a+1]),a<h.length-2&&(h[a+2]=h[a],h[a+3]=h[a+1]),this._updateAnchors(),this.update(),this._saveState()):(e=((e=Math.atan2(h[a+1]-h[l+1],h[a]-h[l]))+(n=Math.atan2(h[a+3]-h[a+1],h[a+2]-h[a])))/2,i=Z(h,l,a),s=Z(h,a,a+2),i<.2&&(i=Z(h,a,l-4)/4,e=n||Math.atan2(h[a+7]-h[l-3],h[a+6]-h[l-4])),s<.2&&(s=Z(h,a,a+6)/4,n=e||Math.atan2(h[a+7]-h[l-3],h[a+6]-h[l-4])),r=Math.sin(e),o=Math.cos(e),Math.abs(n-e)<Math.PI/2&&(r=-r,o=-o),h[l]=((h[a]+o*i)*u|0)/u,h[l+1]=((h[a+1]+r*i)*u|0)/u,h[a+2]=((h[a]-o*s)*u|0)/u,h[a+3]=((h[a+1]-r*s)*u|0)/u,this._updateAnchors(),this.update(),this._saveState())):d||(this._selectedAnchors.length=0,this._selectedAnchors.push(t)),p=null,this._updateAnchors()},e._updateAnchors=function(){var t,e,n,i=1===this._selectedAnchors.length?this._selectedAnchors[0]:null,s=i?i.segment:null;for(this._editingAnchor=i,t=0;t<this._anchors.length;t++)this._anchors[t].element.style.fill=-1!==this._selectedAnchors.indexOf(this._anchors[t])?A:"white";i&&(this._handle1.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle),this._handle2.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle)),t=i?i.i:0,i&&(t||i.isClosedStart)?(e=i.isClosedStart?s[s.length-4]:s[t-2],n=i.isClosedStart?s[s.length-3]:s[t-1],this._handle1.style.visibility=this._line1.style.visibility=c||e!==s[t]||n!==s[t+1]?"visible":"hidden",this._handle1.setAttribute("transform","translate("+e+M+n+")"),this._line1.setAttribute("points",e+M+n+M+s[t]+M+s[t+1])):this._handle1.style.visibility=this._line1.style.visibility="hidden",i&&t<s.length-2?(e=s[t+2],n=s[t+3],this._handle2.style.visibility=this._line2.style.visibility=c||e!==s[t]||n!==s[t+1]?"visible":"hidden",this._handle2.setAttribute("transform","translate("+e+M+n+")"),this._line2.setAttribute("points",s[t]+M+s[t+1]+M+e+M+n)):this._handle2.style.visibility=this._line2.style.visibility="hidden"},e._onPressAlt=function(){var t=this._editingAnchor;t&&((t.i||t.isClosedStart)&&(this._handle1.style.visibility=this._line1.style.visibility="visible"),t.i<t.segment.length-2&&(this._handle2.style.visibility=this._line2.style.visibility="visible"))},e._onReleaseAlt=function(){var t,e,n,i=this._editingAnchor;i&&(t=i.segment,e=i.i,n=i.isClosedStart?t.length-4:e-2,t[e]===t[n]&&t[e+1]===t[n+1]&&(this._handle1.style.visibility=this._line1.style.visibility="hidden"),t[e]===t[e+2]&&t[e+1]===t[e+3]&&(this._handle2.style.visibility=this._line2.style.visibility="hidden"))},e._onPressHandle1=function(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Z(this._editingAnchor.segment,this._editingAnchor.i,this._editingAnchor.i+2)),z("onPress",this)},e._onPressHandle2=function(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Z(this._editingAnchor.segment,this._editingAnchor.isClosedStart?this._editingAnchor.segment.length-4:this._editingAnchor.i-2,this._editingAnchor.i)),z("onPress",this)},e._onReleaseHandle=function(t){this._onRelease(t),this._saveState()},e._onDragHandle1=function(){var t,e=this._editingAnchor,n=e.segment,i=e.i,s=e.isClosedStart?n.length-4:i-2,r=1e3,o=this._handle1._draggable.x,a=this._handle1._draggable.y;n[s]=o=(o*r|0)/r,n[s+1]=a=(a*r|0)/r,e.smooth&&(c?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(n[i+1]-a,n[i]-o),o=this._oppositeHandleLength*Math.cos(t),a=this._oppositeHandleLength*Math.sin(t),n[i+2]=((n[i]+o)*r|0)/r,n[i+3]=((n[i+1]+a)*r|0)/r)),this.update()},e._onDragHandle2=function(){var t,e=this._editingAnchor,n=e.segment,i=e.i,s=e.isClosedStart?n.length-4:i-2,r=1e3,o=this._handle2._draggable.x,a=this._handle2._draggable.y;n[i+2]=o=(o*r|0)/r,n[i+3]=a=(a*r|0)/r,e.smooth&&(c?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(n[i+1]-a,n[i]-o),o=this._oppositeHandleLength*Math.cos(t),a=this._oppositeHandleLength*Math.sin(t),n[s]=((n[i]+o)*r|0)/r,n[s+1]=((n[i+1]+a)*r|0)/r)),this.update()},e._onDragAnchor=function(t,e,n){var i,s,r,o,a,h=this._selectedAnchors,l=h.length,c=1e3;for(s=0;s<l;s++)i=(o=h[s]).i,r=o.segment,i?(r[i-2]=((r[i-2]+e)*c|0)/c,r[i-1]=((r[i-1]+n)*c|0)/c):o.isClosedStart&&(r[a=r.length-2]=I(r[a]+e),r[a+1]=I(r[a+1]+n),r[a-2]=I(r[a-2]+e),r[a-1]=I(r[a-1]+n)),r[i]=((r[i]+e)*c|0)/c,r[i+1]=((r[i+1]+n)*c|0)/c,i<r.length-2&&(r[i+2]=((r[i+2]+e)*c|0)/c,r[i+3]=((r[i+3]+n)*c|0)/c),o!==t&&o.element.setAttribute("transform","translate("+r[i]+M+r[i+1]+")");this.update()},e.enabled=function(t){if(!arguments.length)return this._enabled;for(var e=this._anchors.length;--e>-1;)this._anchors[e]._draggable.enabled(t);return this._enabled=t,this._handle1._draggable.enabled(t),this._handle2._draggable.enabled(t),this._draggable&&this._draggable.enabled(t),t?this._selection.parentNode||(this.path.ownerSVGElement.appendChild(this._selectionHittest),this.path.ownerSVGElement.appendChild(this._selection),this.init(),this._saveState()):(this.deselect(),this._selectionHittest.parentNode&&this._selectionHittest.parentNode.removeChild(this._selectionHittest),this._selection.parentNode&&this._selection.parentNode.removeChild(this._selection)),this._updateAnchors(),this.update()},e.update=function(t){var e,n,i,s,r,o="",a=this._editingAnchor;if(t&&this.init(),a&&(e=a.i,n=a.segment,(e||a.isClosedStart)&&(i=n[r=a.isClosedStart?n.length-4:e-2],s=n[r+1],this._handle1.setAttribute("transform","translate("+i+M+s+")"),this._line1.setAttribute("points",i+M+s+M+n[e]+M+n[e+1])),e<n.length-2&&(i=n[e+2],s=n[e+3],this._handle2.setAttribute("transform","translate("+i+M+s+")"),this._line2.setAttribute("points",n[e]+M+n[e+1]+M+i+M+s))),t)o=this.path.getAttribute("d");else{for(e=0;e<this._rawPath.length;e++)(n=this._rawPath[e]).length>7&&(o+="M"+n[0]+M+n[1]+"C"+n.slice(2).join(M));this.path.setAttribute("d",o),this._selectionPath.setAttribute("d",o),this._selectionHittest.setAttribute("d",o)}
2return this.vars.onUpdate&&this._enabled&&z("onUpdate",this,o),this},e.getRawPath=function(t,e,n){if(t){var i=O(this.path);return(0,v.ag)((0,v.J8)(this._rawPath),1,0,0,1,i.e+(e||0),i.f+(n||0))}return this._rawPath},e.getString=function(t,e,n){if(t){var i=O(this.path);return(0,v.a9)((0,v.ag)((0,v.J8)(this._rawPath),1,0,0,1,i.e+(e||0),i.f+(n||0)))}return this.path.getAttribute("d")},e.getNormalizedSVG=function(t,e,n,i){var s,r,o,a,h,l,c=this._rawPath[0],d=-1*c[0],u=0===e?0:-(e||c[1]),p=c.length,g=1/(c[p-2]+d),f=-t||c[p-1]+u,_=1e3;for(H.length=0,f=f?1/f:-g,g*=_,f*=_,r=0;r<p;r+=2)H[r]=((c[r]+d)*g|0)/_,H[r+1]=((c[r+1]+u)*f|0)/_;if(i){for(s=[],p=H.length,r=2;r<p;r+=6)o=H[r-2],a=H[r-1],h=H[r+4],l=H[r+5],s.push(o,a,h,l),(0,v.uk)(o,a,H[r],H[r+1],H[r+2],H[r+3],h,l,.001,s,s.length-2);for(o=s[0],p=s.length,r=2;r<p;r+=2){if((h=s[r])<o||h>1||h<0){i();break}o=h}}return n&&8===p&&0===H[0]&&0===H[1]&&1===H[p-2]&&1===H[p-1]?H.slice(2,6).join(","):(H[2]="C"+H[2],"M"+H.join(","))},e.kill=function(){this.enabled(!1),this._g.parentNode&&this._g.parentNode.removeChild(this._g)},e.revert=function(){this.kill()},t}();nt.simplifyPoints=v.t2,nt.pointsToSegment=v.WQ,nt.simplifySVG=function(t,e){var n,s,r,o,a,h,l,c,d,u,p,g;if(u=(e=e||{}).tolerance||1,d=e.precision||1/u,g=(void 0===e.cornerThreshold?18:+e.cornerThreshold)*w,"string"!=typeof t&&(t=(n=t).getAttribute("d")),"#"!==t.charAt(0)&&"."!==t.charAt(0)||(n=i.querySelector(t))&&(t=n.getAttribute("d")),s=!1!==e.curved||/[achqstvz]/gi.test(t)?(0,v.UY)(t)[0]:t.match(y),!1!==e.curved){for(c=s,s=[],p=c.length,r=2;r<p;r+=6)o=+c[r-2],h=+c[r-1],a=+c[r+4],l=+c[r+5],s.push(I(o),I(h),I(a),I(l)),(0,v.uk)(o,h,+c[r],+c[r+1],+c[r+2],+c[r+3],a,l,1/(2e5*d),s,s.length-2);(s=(0,v.WQ)((0,v.t2)(s,u),e.curviness,g))[2]="C"+s[2]}else s=(0,v.t2)(s,u);return t="M"+s.join(","),n&&n.setAttribute("d",t),t},nt.create=function(t,e){return new nt(t,e)},nt.editingAxis=k,nt.getSnapFunction=function(t){var e=t.radius||2,n=1e20,i=t.x||0===t.x?t.x:t.width?0:-n,s=t.y||0===t.y?t.y:t.height?0:-n,r=i+(t.width||n*n),o=s+(t.height||n*n),a=!1!==t.containX,h=!1!==t.containY,l=t.axis,c=t.gridSize;return e*=e,function(t){var n,d,u,p,g=t.x,f=t.y;a&&g<i||(u=g-i)*u<e?g=i:(a&&g>r||(u=r-g)*u<e)&&(g=r),h&&f<s||(p=f-s)*p<e?f=s:(h&&f>o||(p=o-f)*p<e)&&(f=o),l&&(u=g-l.x,p=f-l.y,u*u<e&&(g=l.x),p*p<e&&(f=l.y)),c&&(u=(n=i+Math.round((g-i)/c)*c)-g)*u+(p=(d=s+Math.round((f-s)/c)*c)-f)*p<e&&(g=n,f=d),t.x=g,t.y=f}},nt.version="3.15.0",nt.register=K;var it,st,rt,ot,at,ht,lt,ct,dt,ut,pt=/(^[#\.][a-z]|[a-y][a-z])/i,gt=function(t){return"string"==typeof t},ft=function(t,e){var n=rt.createElementNS?rt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):rt.createElement(t);return n.style?n:rt.createElement(t)},_t=function(t,e,n){return gt(t)&&pt.test(t)?rt.querySelector(t):Array.isArray(t)?ct(lt([{x:it.getProperty(e,"x"),y:it.getProperty(e,"y")}].concat(t),n)):gt(t)||t&&"path"===(t.tagName+"").toLowerCase()?t:0},mt={matrix:{a:1,b:0,c:0,d:1,e:0,f:0}},vt=function(t,e){var n="Please gsap.registerPlugin(MotionPathPlugin)";st=window,(it=it||t||st.gsap||console.warn(n))&&nt.register(it),rt=document,at=rt.body,ot=rt.documentElement,it&&(ht=it.plugins.motionPath,bt.PathEditor=nt,dt=it.core.context||function(){}),ht?((ut=ft("textarea")).style.display="none",at.appendChild(ut),lt=ht.arrayToRawPath,ct=ht.rawPathToString):!0===e&&console.warn(n)},bt=function(){function t(t,e){var n=this;void 0===e&&(e={}),ht||vt(e.gsap,1);var i,s,r,o,a,h,l,c,d,u,p,g,f,_,m=ft("div"),v=this,b={x:0,y:0};t instanceof it.core.Tween?i=(c=t).targets()[0]:(i=it.utils.toArray(t)[0],c=function(t){for(var e=it.getTweensOf(t),n=0;n<e.length;n++){if(e[n].vars.motionPath)return e[n];e[n].timeline&&e.push.apply(e,e[n].timeline.getChildren())}}(i)),s=_t(e.path,i,e),this.offset=b,h=function(t){var e=t.getBoundingClientRect(),n=ot.clientTop-(st.pageYOffset||ot.scrollTop||at.scrollTop||0),i=ot.clientLeft-(st.pageXOffset||ot.scrollLeft||at.scrollLeft||0);return{left:e.left+i,top:e.top+n,right:e.right+i,bottom:e.bottom+n}}(i),o=parseFloat(it.getProperty(i,"x","px")),a=parseFloat(it.getProperty(i,"y","px")),r=i.getCTM&&"svg"!==i.tagName.toLowerCase(),c&&!s&&(s=_t(c.vars.motionPath.path||c.vars.motionPath,i,c.vars.motionPath)),m.setAttribute("class","copy-motion-path"),m.style.cssText="border-radius:8px; background-color:rgba(85, 85, 85, 0.7); color:#fff; cursor:pointer; padding:6px 12px; font-family:Signika Negative, Arial, sans-serif; position:fixed; left:50%; transform:translate(-50%, 0); font-size:19px; bottom:10px",m.innerText="COPY MOTION PATH",m._gsHelper=v,(it.utils.toArray(e.container)[0]||at).appendChild(m),function(t,e,n){t.addEventListener("click",(function(t){if(t.target._gsHelper){var e=(t.target,v.getString());if(ut.value=e,e&&ut.select){console.log(e),ut.style.display="block",ut.select();try{rt.execCommand("copy"),ut.blur(),n&&n()}catch(t){console.warn("Copy didn't work; this browser doesn't permit that.")}ut.style.display="none"}}}))}(m,0,(function(){return it.fromTo(m,{backgroundColor:"white"},{duration:.5,backgroundColor:"rgba(85, 85, 85, 0.6)"})})),(l=s&&s.ownerSVGElement)?(e.pathColor&&it.set(s,{stroke:e.pathColor}),e.pathWidth&&it.set(s,{strokeWidth:e.pathWidth}),e.pathOpacity&&it.set(s,{opacity:e.pathOpacity})):(d=r&&i.ownerSVGElement&&i.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg",r?(l=i.ownerSVGElement,u=i.getBBox(),p=function(t){return(t.transform.baseVal.consolidate()||mt).matrix}(i),o=p.e,a=p.f,b.x=u.x,b.y=u.y):(l=ft("svg",d),_=!0,at.appendChild(l),l.setAttribute("viewBox","0 0 100 100"),l.setAttribute("class","motion-path-helper"),l.style.cssText="overflow:visible; background-color: transparent; position:absolute; z-index:5000; width:100px; height:100px; top:"+(h.top-a)+"px; left:"+(h.left-o)+"px;"),u=gt(s)&&!pt.test(s)?s:function(t,e){var n,i=[0,31,8,58,24,75,40,90,69,100,100,100];for(n=0;n<i.length;n+=2)i[n]+=t,i[n+1]+=e;return"M"+t+","+e+"C"+i.join(",")}(o,a),(s=ft("path",d)).setAttribute("d",u),s.setAttribute("vector-effect","non-scaling-stroke"),s.style.cssText="fill:transparent; stroke-width:"+(e.pathWidth||3)+"; stroke:"+(e.pathColor||"#555")+"; opacity:"+(e.pathOpacity||.6),l.appendChild(s)),(b.x||b.y)&&it.set(s,{x:b.x,y:b.y}),"selected"in e||(e.selected=!0),"anchorSnap"in e||(e.anchorSnap=function(t){t.x*t.x+t.y*t.y<16&&(t.x=t.y=0)}),f=c&&c.parent&&"nested"===c.parent.data?c.parent.parent:c,e.onPress=function(){f.pause(0)},g=function(){n.editor._anchors.length<2?console.warn("A motion path must have at least two anchors."):(c.invalidate(),f.restart())},e.onRelease=e.onDeleteAnchor=g,this.editor=nt.create(s,e),e.center&&it.set(i,{transformOrigin:"50% 50%",xPercent:-50,yPercent:-50}),c?(c.vars.motionPath.path?c.vars.motionPath.path=s:c.vars.motionPath={path:s},f.parent!==it.globalTimeline&&it.globalTimeline.add(f,function(t){for(var e=t.totalTime();t;)e=t.startTime()+e/(t.timeScale()||1),t=t.parent;return e}(f)-f.delay()),f.repeat(-1).repeatDelay(1)):c=f=it.to(i,{motionPath:{path:s,start:e.start||0,end:"end"in e?e.end:1,autoRotate:"autoRotate"in e&&e.autoRotate,align:s,alignOrigin:e.alignOrigin},duration:e.duration||5,ease:e.ease||"power1.inOut",repeat:-1,repeatDelay:1,paused:!e.path}),this.animation=c,dt(this),this.kill=this.revert=function(){n.editor.kill(),m.parentNode&&m.parentNode.removeChild(m),_&&l.parentNode&&l.parentNode.removeChild(l),f&&f.revert()}}return t.prototype.getString=function(){return this.editor.getString(!0,-this.offset.x,-this.offset.y)},t}();bt.register=vt,bt.create=function(t,e){return new bt(t,e)},bt.editPath=function(t,e){return nt.create(t,e)},bt.version="3.15.0"},4183:function(t,e,n){n.d(e,{KQ:function(){return P},Mt:function(){return b},cA:function(){return S},eK:function(){return v},hK:function(){return k},mk:function(){return g}});
2var i,s,r,o,a,h,l,c,d,u="transform",p=u+"Origin",g=function(t){var e=t.ownerDocument||t;!(u in t.style)&&"msTransform"in t.style&&(p=(u="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(s=window,l=new S,e){i=e,r=e.documentElement,o=e.body,(c=i.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=e.createElement("div"),a=e.createElement("div"),h=e&&(e.body||e.firstElementChild);h&&h.appendChild&&(h.appendChild(n),n.appendChild(a),n.style.position="static",n.style.transform="translate3d(0,0,1px)",d=a.offsetParent!==n,h.removeChild(n))}return e},f=function(t){for(var e,n;t&&t!==o;)(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=[],v=function(){return s.pageYOffset||i.scrollTop||r.scrollTop||o.scrollTop||0},b=function(){return s.pageXOffset||i.scrollLeft||r.scrollLeft||o.scrollLeft||0},y=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},A=function t(e){return"fixed"===s.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)},w=function t(e,n){if(e.parentNode&&(i||g(e))){var s=y(e),r=s?s.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=s?n?"rect":"g":"div",l=2!==n?0:100,c=3===n?100:0,d={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},u=i.createElementNS?i.createElementNS(r.replace(/^https/,"http"),o):i.createElement(o);return n&&(s?(h||(h=t(e)),u.setAttribute("width",.01),u.setAttribute("height",.01),u.setAttribute("transform","translate("+l+","+c+")"),u.setAttribute("fill","transparent"),h.appendChild(u)):(a||(a=t(e),Object.assign(a.style,d)),Object.assign(u.style,d,{width:"0.1px",height:"0.1px",top:c+"px",left:l+"px"}),a.appendChild(u))),u}throw"Need document and parent."},P=function(t){var e,n=t.getCTM();return n||(e=t.style[u],t.style[u]="none",t.appendChild(c),n=c.getCTM(),t.removeChild(c),e?t.style[u]=e:t.style.removeProperty(u.replace(/([A-Z])/g,"-$1").toLowerCase())),n||l.clone()},C=function(t,e){var n,i,r,o,c,g,f=y(t),v=t===f,b=f?_:m,A=t.parentNode,C=A&&!f&&A.shadowRoot&&A.shadowRoot.appendChild?A.shadowRoot:A;if(t===s)return t;if(b.length||b.push(w(t,1),w(t,2),w(t,3)),n=f?h:a,f)v?(o=-(r=P(t)).e/r.a,c=-r.f/r.d,i=l):t.getBBox?(r=t.getBBox(),o=(i=(i=t.transform?t.transform.baseVal:{}).numberOfItems?i.numberOfItems>1?function(t){for(var e=new S,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(i):i.getItem(0).matrix:l).a*r.x+i.c*r.y,c=i.b*r.x+i.d*r.y):(i=new S,o=c=0),e&&"g"===t.tagName.toLowerCase()&&(o=c=0),(v||!t.getBoundingClientRect().width?f:A).appendChild(n),n.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+o)+","+(i.f+c)+")");else{if(o=c=0,d)for(i=t.offsetParent,r=t;r&&(r=r.parentNode)&&r!==i&&r.parentNode;)(s.getComputedStyle(r)[u]+"").length>4&&(o=r.offsetLeft,c=r.offsetTop,r=0);if("absolute"!==(g=s.getComputedStyle(t)).position&&"fixed"!==g.position)for(i=t.offsetParent;A&&A!==i;)o+=A.scrollLeft||0,c+=A.scrollTop||0,A=A.parentNode;(r=n.style).top=t.offsetTop-c+"px",r.left=t.offsetLeft-o+"px",r[u]=g[u],r[p]=g[p],r.position="fixed"===g.position?"fixed":"absolute",C.appendChild(n)}return n},x=function(t,e,n,i,s,r,o){return t.a=e,t.b=n,t.c=i,t.d=s,t.e=r,t.f=o,t},S=function(){function t(t,e,n,i,s,r){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=1),void 0===s&&(s=0),void 0===r&&(r=0),x(this,t,e,n,i,s,r)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,n=this.c,i=this.d,s=this.e,r=this.f,o=t*i-e*n||1e-10;return x(this,i/o,-e/o,-n/o,t/o,(n*r-i*s)/o,-(t*r-e*s)/o)},e.multiply=function(t){var e=this.a,n=this.b,i=this.c,s=this.d,r=this.e,o=this.f,a=t.a,h=t.c,l=t.b,c=t.d,d=t.e,u=t.f;return x(this,a*e+l*i,a*n+l*s,h*e+c*i,h*n+c*s,r+d*e+u*i,o+d*n+u*s)},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,i=this.c,s=this.d,r=this.e,o=this.f;return e===t.a&&n===t.b&&i===t.c&&s===t.d&&r===t.e&&o===t.f},e.apply=function(t,e){void 0===e&&(e={});var n=t.x,i=t.y,s=this.a,r=this.b,o=this.c,a=this.d,h=this.e,l=this.f;return e.x=n*s+i*o+h||0,e.y=n*r+i*a+l||0,e},t}();function k(t,e,n,s){if(!t||!t.parentNode||(i||g(t)).documentElement===t)return new S;var r=f(t),o=y(t)?_:m,a=C(t,n),h=o[0].getBoundingClientRect(),l=o[1].getBoundingClientRect(),c=o[2].getBoundingClientRect(),d=a.parentNode,u=!s&&A(t),p=new S((l.left-h.left)/100,(l.top-h.top)/100,(c.left-h.left)/100,(c.top-h.top)/100,h.left+(u?0:b()),h.top+(u?0:v()));if(d.removeChild(a),r)for(h=r.length;h--;)(l=r[h]).scaleX=l.scaleY=0,l.renderTransform(1,l);return e?p.inverse():p}}}]);
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.