File: /var/dev/shahnamag/front-end/node_modules/gsap/dist/GSDevTools.min.js.map
{"version":3,"file":"GSDevTools.min.js","sources":["../src/utils/matrix.js","../src/Draggable.js","../src/GSDevTools.js"],"sourcesContent":["/*!\n * matrix 3.13.0\n * https://gsap.com\n *\n * Copyright 2008-2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license\n * @author: Jack Doyle, jack@greensock.com\n*/\n/* eslint-disable */\n\nlet _doc, _win, _docElement, _body,\t_divContainer, _svgContainer, _identityMatrix, _gEl,\n\t_transformProp = \"transform\",\n\t_transformOriginProp = _transformProp + \"Origin\",\n\t_hasOffsetBug,\n\t_setDoc = element => {\n\t\tlet doc = element.ownerDocument || element;\n\t\tif (!(_transformProp in element.style) && \"msTransform\" in element.style) { //to improve compatibility with old Microsoft browsers\n\t\t\t_transformProp = \"msTransform\";\n\t\t\t_transformOriginProp = _transformProp + \"Origin\";\n\t\t}\n\t\twhile (doc.parentNode && (doc = doc.parentNode)) {\t}\n\t\t_win = window;\n\t\t_identityMatrix = new Matrix2D();\n\t\tif (doc) {\n\t\t\t_doc = doc;\n\t\t\t_docElement = doc.documentElement;\n\t\t\t_body = doc.body;\n\t\t\t_gEl = _doc.createElementNS(\"http://www.w3.org/2000/svg\", \"g\");\n\t\t\t// prevent any existing CSS from transforming it\n\t\t\t_gEl.style.transform = \"none\";\n\t\t\t// now test for the offset reporting bug. Use feature detection instead of browser sniffing to make things more bulletproof and future-proof. Hopefully Safari will fix their bug soon.\n\t\t\tlet d1 = doc.createElement(\"div\"),\n\t\t\t\td2 = doc.createElement(\"div\"),\n\t\t\t\troot = doc && (doc.body || doc.firstElementChild);\n\t\t\tif (root && root.appendChild) {\n\t\t\t\troot.appendChild(d1);\n\t\t\t\td1.appendChild(d2);\n\t\t\t\td1.setAttribute(\"style\", \"position:static;transform:translate3d(0,0,1px)\");\n\t\t\t\t_hasOffsetBug = (d2.offsetParent !== d1);\n\t\t\t\troot.removeChild(d1);\n\t\t\t}\n\t\t}\n\t\treturn doc;\n\t},\n\t_forceNonZeroScale = e => { // walks up the element's ancestors and finds any that had their scale set to 0 via GSAP, and changes them to 0.0001 to ensure that measurements work. Firefox has a bug that causes it to incorrectly report getBoundingClientRect() when scale is 0.\n\t\tlet a, cache;\n\t\twhile (e && e !== _body) {\n\t\t\tcache = e._gsap;\n\t\t\tcache && cache.uncache && cache.get(e, \"x\"); // force re-parsing of transforms if necessary\n\t\t\tif (cache && !cache.scaleX && !cache.scaleY && cache.renderTransform) {\n\t\t\t\tcache.scaleX = cache.scaleY = 1e-4;\n\t\t\t\tcache.renderTransform(1, cache);\n\t\t\t\ta ? a.push(cache) : (a = [cache]);\n\t\t\t}\n\t\t\te = e.parentNode;\n\t\t}\n\t\treturn a;\n\t},\n\t// possible future addition: pass an element to _forceDisplay() and it'll walk up all its ancestors and make sure anything with display: none is set to display: block, and if there's no parentNode, it'll add it to the body. It returns an Array that you can then feed to _revertDisplay() to have it revert all the changes it made.\n\t// _forceDisplay = e => {\n\t// \tlet a = [],\n\t// \t\tparent;\n\t// \twhile (e && e !== _body) {\n\t// \t\tparent = e.parentNode;\n\t// \t\t(_win.getComputedStyle(e).display === \"none\" || !parent) && a.push(e, e.style.display, parent) && (e.style.display = \"block\");\n\t// \t\tparent || _body.appendChild(e);\n\t// \t\te = parent;\n\t// \t}\n\t// \treturn a;\n\t// },\n\t// _revertDisplay = a => {\n\t// \tfor (let i = 0; i < a.length; i+=3) {\n\t// \t\ta[i+1] ? (a[i].style.display = a[i+1]) : a[i].style.removeProperty(\"display\");\n\t// \t\ta[i+2] || a[i].parentNode.removeChild(a[i]);\n\t// \t}\n\t// },\n\t_svgTemps = [], //we create 3 elements for SVG, and 3 for other DOM elements and cache them for performance reasons. They get nested in _divContainer and _svgContainer so that just one element is added to the DOM on each successive attempt. Again, performance is key.\n\t_divTemps = [],\n\t_getDocScrollTop = () => _win.pageYOffset || _doc.scrollTop || _docElement.scrollTop || _body.scrollTop || 0,\n\t_getDocScrollLeft = () => _win.pageXOffset || _doc.scrollLeft || _docElement.scrollLeft || _body.scrollLeft || 0,\n\t_svgOwner = element => element.ownerSVGElement || ((element.tagName + \"\").toLowerCase() === \"svg\" ? element : null),\n\t_isFixed = element => {\n\t\tif (_win.getComputedStyle(element).position === \"fixed\") {\n\t\t\treturn true;\n\t\t}\n\t\telement = element.parentNode;\n\t\tif (element && element.nodeType === 1) { // avoid document fragments which will throw an error.\n\t\t\treturn _isFixed(element);\n\t\t}\n\t},\n\t_createSibling = (element, i) => {\n\t\tif (element.parentNode && (_doc || _setDoc(element))) {\n\t\t\tlet svg = _svgOwner(element),\n\t\t\t\tns = svg ? (svg.getAttribute(\"xmlns\") || \"http://www.w3.org/2000/svg\") : \"http://www.w3.org/1999/xhtml\",\n\t\t\t\ttype = svg ? (i ? \"rect\" : \"g\") : \"div\",\n\t\t\t\tx = i !== 2 ? 0 : 100,\n\t\t\t\ty = i === 3 ? 100 : 0,\n\t\t\t\tcss = \"position:absolute;display:block;pointer-events:none;margin:0;padding:0;\",\n\t\t\t\te = _doc.createElementNS ? _doc.createElementNS(ns.replace(/^https/, \"http\"), type) : _doc.createElement(type);\n\t\t\tif (i) {\n\t\t\t\tif (!svg) {\n\t\t\t\t\tif (!_divContainer) {\n\t\t\t\t\t\t_divContainer = _createSibling(element);\n\t\t\t\t\t\t_divContainer.style.cssText = css;\n\t\t\t\t\t}\n\t\t\t\t\te.style.cssText = css + \"width:0.1px;height:0.1px;top:\" + y + \"px;left:\" + x + \"px\";\n\t\t\t\t\t_divContainer.appendChild(e);\n\n\t\t\t\t} else {\n\t\t\t\t\t_svgContainer || (_svgContainer = _createSibling(element));\n\t\t\t\t\te.setAttribute(\"width\", 0.01);\n\t\t\t\t\te.setAttribute(\"height\", 0.01);\n\t\t\t\t\te.setAttribute(\"transform\", \"translate(\" + x + \",\" + y + \")\");\n\t\t\t\t\t_svgContainer.appendChild(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn e;\n\t\t}\n\t\tthrow \"Need document and parent.\";\n\t},\n\t_consolidate = m => { // replaces SVGTransformList.consolidate() because a bug in Firefox causes it to break pointer events. See https://gsap.com/forums/topic/23248-touch-is-not-working-on-draggable-in-firefox-windows-v324/?tab=comments#comment-109800\n\t\tlet c = new Matrix2D(),\n\t\t\ti = 0;\n\t\tfor (; i < m.numberOfItems; i++) {\n\t\t\tc.multiply(m.getItem(i).matrix);\n\t\t}\n\t\treturn c;\n\t},\n\t_getCTM = svg => {\n\t\tlet m = svg.getCTM(),\n\t\t\ttransform;\n\t\tif (!m) { // Firefox returns null for getCTM() on root <svg> elements, so this is a workaround using a <g> that we temporarily append.\n\t\t\ttransform = svg.style[_transformProp];\n\t\t\tsvg.style[_transformProp] = \"none\"; // a bug in Firefox causes css transforms to contaminate the getCTM()\n\t\t\tsvg.appendChild(_gEl);\n\t\t\tm = _gEl.getCTM();\n\t\t\tsvg.removeChild(_gEl);\n\t\t\ttransform ? (svg.style[_transformProp] = transform) : svg.style.removeProperty(_transformProp.replace(/([A-Z])/g, \"-$1\").toLowerCase());\n\t\t}\n\t\treturn m || _identityMatrix.clone(); // Firefox will still return null if the <svg> has a width/height of 0 in the browser.\n\t},\n\t_placeSiblings = (element, adjustGOffset) => {\n\t\tlet svg = _svgOwner(element),\n\t\t\tisRootSVG = element === svg,\n\t\t\tsiblings = svg ? _svgTemps : _divTemps,\n\t\t\tparent = element.parentNode,\n\t\t\tappendToEl = parent && !svg && parent.shadowRoot && parent.shadowRoot.appendChild ? parent.shadowRoot : parent,\n\t\t\tcontainer, m, b, x, y, cs;\n\t\tif (element === _win) {\n\t\t\treturn element;\n\t\t}\n\t\tsiblings.length || siblings.push(_createSibling(element, 1), _createSibling(element, 2), _createSibling(element, 3));\n\t\tcontainer = svg ? _svgContainer : _divContainer;\n\t\tif (svg) {\n\t\t\tif (isRootSVG) {\n\t\t\t\tb = _getCTM(element);\n\t\t\t\tx = -b.e / b.a;\n\t\t\t\ty = -b.f / b.d;\n\t\t\t\tm = _identityMatrix;\n\t\t\t} else if (element.getBBox) {\n\t\t\t\tb = element.getBBox();\n\t\t\t\tm = element.transform ? element.transform.baseVal : {}; // IE11 doesn't follow the spec.\n\t\t\t\tm = !m.numberOfItems ? _identityMatrix : m.numberOfItems > 1 ? _consolidate(m) : m.getItem(0).matrix; // don't call m.consolidate().matrix because a bug in Firefox makes pointer events not work when consolidate() is called on the same tick as getBoundingClientRect()! See https://gsap.com/forums/topic/23248-touch-is-not-working-on-draggable-in-firefox-windows-v324/?tab=comments#comment-109800\n\t\t\t\tx = m.a * b.x + m.c * b.y;\n\t\t\t\ty = m.b * b.x + m.d * b.y;\n\t\t\t} else { // may be a <mask> which has no getBBox() so just use defaults instead of throwing errors.\n\t\t\t\tm = new Matrix2D();\n\t\t\t\tx = y = 0;\n\t\t\t}\n\t\t\tif (adjustGOffset && element.tagName.toLowerCase() === \"g\") {\n\t\t\t\tx = y = 0;\n\t\t\t}\n\t\t\t(isRootSVG ? svg : parent).appendChild(container);\n\t\t\tcontainer.setAttribute(\"transform\", \"matrix(\" + m.a + \",\" + m.b + \",\" + m.c + \",\" + m.d + \",\" + (m.e + x) + \",\" + (m.f + y) + \")\");\n\t\t} else {\n\t\t\tx = y = 0;\n\t\t\tif (_hasOffsetBug) { // some browsers (like Safari) have a bug that causes them to misreport offset values. When an ancestor element has a transform applied, it's supposed to treat it as if it's position: relative (new context). Safari botches this, so we need to find the closest ancestor (between the element and its offsetParent) that has a transform applied and if one is found, grab its offsetTop/Left and subtract them to compensate.\n\t\t\t\tm = element.offsetParent;\n\t\t\t\tb = element;\n\t\t\t\twhile (b && (b = b.parentNode) && b !== m && b.parentNode) {\n\t\t\t\t\tif ((_win.getComputedStyle(b)[_transformProp] + \"\").length > 4) {\n\t\t\t\t\t\tx = b.offsetLeft;\n\t\t\t\t\t\ty = b.offsetTop;\n\t\t\t\t\t\tb = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tcs = _win.getComputedStyle(element);\n\t\t\tif (cs.position !== \"absolute\" && cs.position !== \"fixed\") {\n\t\t\t\tm = element.offsetParent;\n\t\t\t\twhile (parent && parent !== m) { // if there's an ancestor element between the element and its offsetParent that's scrolled, we must factor that in.\n\t\t\t\t\tx += parent.scrollLeft || 0;\n\t\t\t\t\ty += parent.scrollTop || 0;\n\t\t\t\t\tparent = parent.parentNode;\n\t\t\t\t}\n\t\t\t}\n\t\t\tb = container.style;\n\t\t\tb.top = (element.offsetTop - y) + \"px\";\n\t\t\tb.left = (element.offsetLeft - x) + \"px\";\n\t\t\tb[_transformProp] = cs[_transformProp];\n\t\t\tb[_transformOriginProp] = cs[_transformOriginProp];\n\t\t\t// b.border = m.border;\n\t\t\t// b.borderLeftStyle = m.borderLeftStyle;\n\t\t\t// b.borderTopStyle = m.borderTopStyle;\n\t\t\t// b.borderLeftWidth = m.borderLeftWidth;\n\t\t\t// b.borderTopWidth = m.borderTopWidth;\n\t\t\tb.position = cs.position === \"fixed\" ? \"fixed\" : \"absolute\";\n\t\t\tappendToEl.appendChild(container);\n\t\t}\n\t\treturn container;\n\t},\n\t_setMatrix = (m, a, b, c, d, e, f) => {\n\t\tm.a = a;\n\t\tm.b = b;\n\t\tm.c = c;\n\t\tm.d = d;\n\t\tm.e = e;\n\t\tm.f = f;\n\t\treturn m;\n\t};\n\nexport class Matrix2D {\n\tconstructor(a=1, b=0, c=0, d=1, e=0, f=0) {\n\t\t_setMatrix(this, a, b, c, d, e, f);\n\t}\n\n\tinverse() {\n\t\tlet {a, b, c, d, e, f} = this,\n\t\t\tdeterminant = (a * d - b * c) || 1e-10;\n\t\treturn _setMatrix(\n\t\t\tthis,\n\t\t\td / determinant,\n\t\t\t-b / determinant,\n\t\t\t-c / determinant,\n\t\t\ta / determinant,\n\t\t\t(c * f - d * e) / determinant,\n\t\t\t-(a * f - b * e) / determinant\n\t\t);\n\t}\n\n\tmultiply(matrix) {\n\t\tlet {a, b, c, d, e, f} = this,\n\t\t\ta2 = matrix.a,\n\t\t\tb2 = matrix.c,\n\t\t\tc2 = matrix.b,\n\t\t\td2 = matrix.d,\n\t\t\te2 = matrix.e,\n\t\t\tf2 = matrix.f;\n\t\treturn _setMatrix(this,\n\t\t\ta2 * a + c2 * c,\n\t\t\ta2 * b + c2 * d,\n\t\t\tb2 * a + d2 * c,\n\t\t\tb2 * b + d2 * d,\n\t\t\te + e2 * a + f2 * c,\n\t\t\tf + e2 * b + f2 * d);\n\t}\n\n\tclone() {\n\t\treturn new Matrix2D(this.a, this.b, this.c, this.d, this.e, this.f);\n\t}\n\n\tequals(matrix) {\n\t\tlet {a, b, c, d, e, f} = this;\n\t\treturn (a === matrix.a && b === matrix.b && c === matrix.c && d === matrix.d && e === matrix.e && f === matrix.f);\n\t}\n\n\tapply(point, decoratee={}) {\n\t\tlet {x, y} = point,\n\t\t\t{a, b, c, d, e, f} = this;\n\t\tdecoratee.x = (x * a + y * c + e) || 0;\n\t\tdecoratee.y = (x * b + y * d + f) || 0;\n\t\treturn decoratee;\n\t}\n\n}\n\n// Feed in an element and it'll return a 2D matrix (optionally inverted) so that you can translate between coordinate spaces.\n// Inverting lets you translate a global point into a local coordinate space. No inverting lets you go the other way.\n// We needed this to work around various browser bugs, like Firefox doesn't accurately report getScreenCTM() when there\n// are transforms applied to ancestor elements.\n// The matrix math to convert any x/y coordinate is as follows, which is wrapped in a convenient apply() method of Matrix2D above:\n// tx = m.a * x + m.c * y + m.e\n// ty = m.b * x + m.d * y + m.f\nexport function getGlobalMatrix(element, inverse, adjustGOffset, includeScrollInFixed) { // adjustGOffset is typically used only when grabbing an element's PARENT's global matrix, and it ignores the x/y offset of any SVG <g> elements because they behave in a special way.\n\tif (!element || !element.parentNode || (_doc || _setDoc(element)).documentElement === element) {\n\t\treturn new Matrix2D();\n\t}\n\tlet zeroScales = _forceNonZeroScale(element),\n\t\tsvg = _svgOwner(element),\n\t\ttemps = svg ? _svgTemps : _divTemps,\n\t\tcontainer = _placeSiblings(element, adjustGOffset),\n\t\tb1 = temps[0].getBoundingClientRect(),\n\t\tb2 = temps[1].getBoundingClientRect(),\n\t\tb3 = temps[2].getBoundingClientRect(),\n\t\tparent = container.parentNode,\n\t\tisFixed = !includeScrollInFixed && _isFixed(element),\n\t\tm = new Matrix2D(\n\t\t\t(b2.left - b1.left) / 100,\n\t\t\t(b2.top - b1.top) / 100,\n\t\t\t(b3.left - b1.left) / 100,\n\t\t\t(b3.top - b1.top) / 100,\n\t\t\tb1.left + (isFixed ? 0 : _getDocScrollLeft()),\n\t\t\tb1.top + (isFixed ? 0 : _getDocScrollTop())\n\t\t);\n\tparent.removeChild(container);\n\tif (zeroScales) {\n\t\tb1 = zeroScales.length;\n\t\twhile (b1--) {\n\t\t\tb2 = zeroScales[b1];\n\t\t\tb2.scaleX = b2.scaleY = 0;\n\t\t\tb2.renderTransform(1, b2);\n\t\t}\n\t}\n\treturn inverse ? m.inverse() : m;\n}\n\nexport { _getDocScrollTop, _getDocScrollLeft, _setDoc, _isFixed, _getCTM };\n\n// export function getMatrix(element) {\n// \t_doc || _setDoc(element);\n// \tlet m = (_win.getComputedStyle(element)[_transformProp] + \"\").substr(7).match(/[-.]*\\d+[.e\\-+]*\\d*[e\\-\\+]*\\d*/g),\n// \t\tis2D = m && m.length === 6;\n// \treturn !m || m.length < 6 ? new Matrix2D() : new Matrix2D(+m[0], +m[1], +m[is2D ? 2 : 4], +m[is2D ? 3 : 5], +m[is2D ? 4 : 12], +m[is2D ? 5 : 13]);\n// }","/*!\n * Draggable 3.13.0\n * https://gsap.com\n *\n * @license Copyright 2008-2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license\n * @author: Jack Doyle, jack@greensock.com\n */\n/* eslint-disable */\n\nimport { getGlobalMatrix, Matrix2D } from \"./utils/matrix.js\";\n\nlet gsap, _win, _doc, _docElement, _body, _tempDiv, _placeholderDiv, _coreInitted, _checkPrefix, _toArray, _supportsPassive, _isTouchDevice, _touchEventLookup, _isMultiTouching, _isAndroid, InertiaPlugin, _defaultCursor, _supportsPointer, _context, _getStyleSaver,\n\t_dragCount = 0,\n\t_windowExists = () => typeof(window) !== \"undefined\",\n\t_getGSAP = () => gsap || (_windowExists() && (gsap = window.gsap) && gsap.registerPlugin && gsap),\n\t_isFunction = value => typeof(value) === \"function\",\n\t_isObject = value => typeof(value) === \"object\",\n\t_isUndefined = value => typeof(value) === \"undefined\",\n\t_emptyFunc = () => false,\n\t_transformProp = \"transform\",\n\t_transformOriginProp = \"transformOrigin\",\n\t_round = value => Math.round(value * 10000) / 10000,\n\t_isArray = Array.isArray,\n\t_createElement = (type, ns) => {\n\t\tlet e = _doc.createElementNS ? _doc.createElementNS((ns || \"http://www.w3.org/1999/xhtml\").replace(/^https/, \"http\"), type) : _doc.createElement(type); //some servers swap in https for http in the namespace which can break things, making \"style\" inaccessible.\n\t\treturn e.style ? e : _doc.createElement(type); //some environments won't allow access to the element's style when created with a namespace in which case we default to the standard createElement() to work around the issue. Also note that when GSAP is embedded directly inside an SVG file, createElement() won't allow access to the style object in Firefox (see https://gsap.com/forums/topic/20215-problem-using-tweenmax-in-standalone-self-containing-svg-file-err-cannot-set-property-csstext-of-undefined/).\n\t},\n\t_RAD2DEG = 180 / Math.PI,\n\t_bigNum = 1e20,\n\t_identityMatrix = new Matrix2D(),\n\t_getTime = Date.now || (() => new Date().getTime()),\n\t_renderQueue = [],\n\t_lookup = {}, //when a Draggable is created, the target gets a unique _gsDragID property that allows gets associated with the Draggable instance for quick lookups in Draggable.get(). This avoids circular references that could cause gc problems.\n\t_lookupCount = 0,\n\t_clickableTagExp = /^(?:a|input|textarea|button|select)$/i,\n\t_lastDragTime = 0,\n\t_temp1 = {}, // a simple object we reuse and populate (usually x/y properties) to conserve memory and improve performance.\n\t_windowProxy = {}, //memory/performance optimization - we reuse this object during autoScroll to store window-related bounds/offsets.\n\t_copy = (obj, factor) => {\n\t\tlet copy = {}, p;\n\t\tfor (p in obj) {\n\t\t\tcopy[p] = factor ? obj[p] * factor : obj[p];\n\t\t}\n\t\treturn copy;\n\t},\n\t_extend = (obj, defaults) => {\n\t\tfor (let p in defaults) {\n\t\t\tif (!(p in obj)) {\n\t\t\t\tobj[p] = defaults[p];\n\t\t\t}\n\t\t}\n\t\treturn obj;\n\t},\n\t_setTouchActionForAllDescendants = (elements, value) => {\n\t\tlet i = elements.length,\n\t\t\tchildren;\n\t\twhile (i--) {\n\t\t\tvalue ? (elements[i].style.touchAction = value) : elements[i].style.removeProperty(\"touch-action\");\n\t\t\tchildren = elements[i].children;\n\t\t\tchildren && children.length && _setTouchActionForAllDescendants(children, value);\n\t\t}\n\t},\n\t_renderQueueTick = () => _renderQueue.forEach(func => func()),\n\t_addToRenderQueue = func => {\n\t\t_renderQueue.push(func);\n\t\tif (_renderQueue.length === 1) {\n\t\t\tgsap.ticker.add(_renderQueueTick);\n\t\t}\n\t},\n\t_renderQueueTimeout = () => !_renderQueue.length && gsap.ticker.remove(_renderQueueTick),\n\t_removeFromRenderQueue = func => {\n\t\tlet i = _renderQueue.length;\n\t\twhile (i--) {\n\t\t\tif (_renderQueue[i] === func) {\n\t\t\t\t_renderQueue.splice(i, 1);\n\t\t\t}\n\t\t}\n\t\tgsap.to(_renderQueueTimeout, {overwrite:true, delay:15, duration:0, onComplete:_renderQueueTimeout, data:\"_draggable\"}); //remove the \"tick\" listener only after the render queue is empty for 15 seconds (to improve performance). Adding/removing it constantly for every click/touch wouldn't deliver optimal speed, and we also don't want the ticker to keep calling the render method when things are idle for long periods of time (we want to improve battery life on mobile devices).\n\t},\n\t_setDefaults = (obj, defaults) => {\n\t\tfor (let p in defaults) {\n\t\t\tif (!(p in obj)) {\n\t\t\t\tobj[p] = defaults[p];\n\t\t\t}\n\t\t}\n\t\treturn obj;\n\t},\n\t_addListener = (element, type, func, capture) => {\n\t\tif (element.addEventListener) {\n\t\t\tlet touchType = _touchEventLookup[type];\n\t\t\tcapture = capture || (_supportsPassive ? {passive: false} : null);\n\t\t\telement.addEventListener(touchType || type, func, capture);\n\t\t\t(touchType && type !== touchType) && element.addEventListener(type, func, capture);//some browsers actually support both, so must we. But pointer events cover all.\n\t\t}\n\t},\n\t_removeListener = (element, type, func, capture) => {\n\t\tif (element.removeEventListener) {\n\t\t\tlet touchType = _touchEventLookup[type];\n\t\t\telement.removeEventListener(touchType || type, func, capture);\n\t\t\t(touchType && type !== touchType) && element.removeEventListener(type, func, capture);\n\t\t}\n\t},\n\t_preventDefault = event => {\n\t\tevent.preventDefault && event.preventDefault();\n\t\tevent.preventManipulation && event.preventManipulation(); //for some Microsoft browsers\n\t},\n\t_hasTouchID = (list, ID) => {\n\t\tlet i = list.length;\n\t\twhile (i--) {\n\t\t\tif (list[i].identifier === ID) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t},\n\t_onMultiTouchDocumentEnd = event => {\n\t\t_isMultiTouching = (event.touches && _dragCount < event.touches.length);\n\t\t_removeListener(event.target, \"touchend\", _onMultiTouchDocumentEnd);\n\t},\n\n\t_onMultiTouchDocument = event => {\n\t\t_isMultiTouching = (event.touches && _dragCount < event.touches.length);\n\t\t_addListener(event.target, \"touchend\", _onMultiTouchDocumentEnd);\n\t},\n\t_getDocScrollTop = doc => _win.pageYOffset || doc.scrollTop || doc.documentElement.scrollTop || doc.body.scrollTop || 0,\n\t_getDocScrollLeft = doc => _win.pageXOffset || doc.scrollLeft || doc.documentElement.scrollLeft || doc.body.scrollLeft || 0,\n\t_addScrollListener = (e, callback) => {\n\t\t_addListener(e, \"scroll\", callback);\n\t\tif (!_isRoot(e.parentNode)) {\n\t\t\t_addScrollListener(e.parentNode, callback);\n\t\t}\n\t},\n\t_removeScrollListener = (e, callback) => {\n\t\t_removeListener(e, \"scroll\", callback);\n\t\tif (!_isRoot(e.parentNode)) {\n\t\t\t_removeScrollListener(e.parentNode, callback);\n\t\t}\n\t},\n\t_isRoot = e => !!(!e || e === _docElement || e.nodeType === 9 || e === _doc.body || e === _win || !e.nodeType || !e.parentNode),\n\t_getMaxScroll = (element, axis) => {\n\t\tlet dim = (axis === \"x\") ? \"Width\" : \"Height\",\n\t\t\tscroll = \"scroll\" + dim,\n\t\t\tclient = \"client\" + dim;\n\t\treturn Math.max(0, _isRoot(element) ? Math.max(_docElement[scroll], _body[scroll]) - (_win[\"inner\" + dim] || _docElement[client] || _body[client]) : element[scroll] - element[client]);\n\t},\n\t_recordMaxScrolls = (e, skipCurrent) => { //records _gsMaxScrollX and _gsMaxScrollY properties for the element and all ancestors up the chain so that we can cap it, otherwise dragging beyond the edges with autoScroll on can endlessly scroll.\n\t\tlet x = _getMaxScroll(e, \"x\"),\n\t\t\ty = _getMaxScroll(e, \"y\");\n\t\tif (_isRoot(e)) {\n\t\t\te = _windowProxy;\n\t\t} else {\n\t\t\t_recordMaxScrolls(e.parentNode, skipCurrent);\n\t\t}\n\t\te._gsMaxScrollX = x;\n\t\te._gsMaxScrollY = y;\n\t\tif (!skipCurrent) {\n\t\t\te._gsScrollX = e.scrollLeft || 0;\n\t\t\te._gsScrollY = e.scrollTop || 0;\n\t\t}\n\t},\n\t_setStyle = (element, property, value) => {\n\t\tlet style = element.style;\n\t\tif (!style) {\n\t\t\treturn;\n\t\t}\n\t\tif (_isUndefined(style[property])) {\n\t\t\tproperty = _checkPrefix(property, element) || property;\n\t\t}\n\t\tif (value == null) {\n\t\t\tstyle.removeProperty && style.removeProperty(property.replace(/([A-Z])/g, \"-$1\").toLowerCase());\n\t\t} else {\n\t\t\tstyle[property] = value;\n\t\t}\n\t},\n\t_getComputedStyle = element => _win.getComputedStyle((element instanceof Element) ? element : element.host || (element.parentNode || {}).host || element), //the \"host\" stuff helps to accommodate ShadowDom objects.\n\n\t_tempRect = {}, //reuse to reduce garbage collection tasks\n\t_parseRect = e => { //accepts a DOM element, a mouse event, or a rectangle object and returns the corresponding rectangle with left, right, width, height, top, and bottom properties\n\t\tif (e === _win) {\n\t\t\t_tempRect.left = _tempRect.top = 0;\n\t\t\t_tempRect.width = _tempRect.right = _docElement.clientWidth || e.innerWidth || _body.clientWidth || 0;\n\t\t\t_tempRect.height = _tempRect.bottom = ((e.innerHeight || 0) - 20 < _docElement.clientHeight) ? _docElement.clientHeight : e.innerHeight || _body.clientHeight || 0;\n\t\t\treturn _tempRect;\n\t\t}\n\t\tlet doc = e.ownerDocument || _doc,\n\t\t\tr = !_isUndefined(e.pageX) ? {left: e.pageX - _getDocScrollLeft(doc), top: e.pageY - _getDocScrollTop(doc), right: e.pageX - _getDocScrollLeft(doc) + 1, bottom: e.pageY - _getDocScrollTop(doc) + 1} : (!e.nodeType && !_isUndefined(e.left) && !_isUndefined(e.top)) ? e : _toArray(e)[0].getBoundingClientRect();\n\t\tif (_isUndefined(r.right) && !_isUndefined(r.width)) {\n\t\t\tr.right = r.left + r.width;\n\t\t\tr.bottom = r.top + r.height;\n\t\t} else if (_isUndefined(r.width)) { //some browsers don't include width and height properties. We can't just set them directly on r because some browsers throw errors, so create a new generic object.\n\t\t\tr = {width: r.right - r.left, height: r.bottom - r.top, right: r.right, left: r.left, bottom: r.bottom, top: r.top};\n\t\t}\n\t\treturn r;\n\t},\n\n\t_dispatchEvent = (target, type, callbackName) => {\n\t\tlet vars = target.vars,\n\t\t\tcallback = vars[callbackName],\n\t\t\tlisteners = target._listeners[type],\n\t\t\tresult;\n\t\tif (_isFunction(callback)) {\n\t\t\tresult = callback.apply(vars.callbackScope || target, vars[callbackName + \"Params\"] || [target.pointerEvent]);\n\t\t}\n\t\tif (listeners && target.dispatchEvent(type) === false) {\n\t\t\tresult = false;\n\t\t}\n\t\treturn result;\n\t},\n\t_getBounds = (target, context) => { //accepts any of the following: a DOM element, jQuery object, selector text, or an object defining bounds as {top, left, width, height} or {minX, maxX, minY, maxY}. Returns an object with left, top, width, and height properties.\n\t\tlet e = _toArray(target)[0],\n\t\t\ttop, left, offset;\n\t\tif (!e.nodeType && e !== _win) {\n\t\t\tif (!_isUndefined(target.left)) {\n\t\t\t\toffset = {x:0, y:0}; //_getOffsetTransformOrigin(context); //the bounds should be relative to the origin\n\t\t\t\treturn {left: target.left - offset.x, top: target.top - offset.y, width: target.width, height: target.height};\n\t\t\t}\n\t\t\tleft = target.min || target.minX || target.minRotation || 0;\n\t\t\ttop = target.min || target.minY || 0;\n\t\t\treturn {left:left, top:top, width:(target.max || target.maxX || target.maxRotation || 0) - left, height:(target.max || target.maxY || 0) - top};\n\t\t}\n\t\treturn _getElementBounds(e, context);\n\t},\n\t_point1 = {}, //we reuse to minimize garbage collection tasks.\n\t_getElementBounds = (element, context) => {\n\t\tcontext = _toArray(context)[0];\n\t\tlet isSVG = (element.getBBox && element.ownerSVGElement),\n\t\t\tdoc = element.ownerDocument || _doc,\n\t\t\tleft, right, top, bottom, matrix, p1, p2, p3, p4, bbox, width, height, cs;\n\t\tif (element === _win) {\n\t\t\ttop = _getDocScrollTop(doc);\n\t\t\tleft = _getDocScrollLeft(doc);\n\t\t\tright = left + (doc.documentElement.clientWidth || element.innerWidth || doc.body.clientWidth || 0);\n\t\t\tbottom = top + (((element.innerHeight || 0) - 20 < doc.documentElement.clientHeight) ? doc.documentElement.clientHeight : element.innerHeight || doc.body.clientHeight || 0); //some browsers (like Firefox) ignore absolutely positioned elements, and collapse the height of the documentElement, so it could be 8px, for example, if you have just an absolutely positioned div. In that case, we use the innerHeight to resolve this.\n\t\t} else if (context === _win || _isUndefined(context)) {\n\t\t\treturn element.getBoundingClientRect();\n\t\t} else {\n\t\t\tleft = top = 0;\n\t\t\tif (isSVG) {\n\t\t\t\tbbox = element.getBBox();\n\t\t\t\twidth = bbox.width;\n\t\t\t\theight = bbox.height;\n\t\t\t} else {\n\t\t\t\tif (element.viewBox && (bbox = element.viewBox.baseVal)) {\n\t\t\t\t\tleft = bbox.x || 0;\n\t\t\t\t\ttop = bbox.y || 0;\n\t\t\t\t\twidth = bbox.width;\n\t\t\t\t\theight = bbox.height;\n\t\t\t\t}\n\t\t\t\tif (!width) {\n\t\t\t\t\tcs = _getComputedStyle(element);\n\t\t\t\t\tbbox = cs.boxSizing === \"border-box\";\n\t\t\t\t\twidth = (parseFloat(cs.width) || element.clientWidth || 0) + (bbox ? 0 : parseFloat(cs.borderLeftWidth) + parseFloat(cs.borderRightWidth));\n\t\t\t\t\theight = (parseFloat(cs.height) || element.clientHeight || 0) + (bbox ? 0 : parseFloat(cs.borderTopWidth) + parseFloat(cs.borderBottomWidth));\n\t\t\t\t}\n\t\t\t}\n\t\t\tright = width;\n\t\t\tbottom = height;\n\t\t}\n\t\tif (element === context) {\n\t\t\treturn {left:left, top:top, width: right - left, height: bottom - top};\n\t\t}\n\t\tmatrix = getGlobalMatrix(context, true).multiply(getGlobalMatrix(element));\n\t\tp1 = matrix.apply({x:left, y:top});\n\t\tp2 = matrix.apply({x:right, y:top});\n\t\tp3 = matrix.apply({x:right, y:bottom});\n\t\tp4 = matrix.apply({x:left, y:bottom});\n\t\tleft = Math.min(p1.x, p2.x, p3.x, p4.x);\n\t\ttop = Math.min(p1.y, p2.y, p3.y, p4.y);\n\t\treturn {left: left, top: top, width: Math.max(p1.x, p2.x, p3.x, p4.x) - left, height: Math.max(p1.y, p2.y, p3.y, p4.y) - top};\n\t},\n\t_parseInertia = (draggable, snap, max, min, factor, forceZeroVelocity) => {\n\t\tlet vars = {},\n\t\t\ta, i, l;\n\t\tif (snap) {\n\t\t\tif (factor !== 1 && snap instanceof Array) { //some data must be altered to make sense, like if the user passes in an array of rotational values in degrees, we must convert it to radians. Or for scrollLeft and scrollTop, we invert the values.\n\t\t\t\tvars.end = a = [];\n\t\t\t\tl = snap.length;\n\t\t\t\tif (_isObject(snap[0])) { //if the array is populated with objects, like points ({x:100, y:200}), make copies before multiplying by the factor, otherwise we'll mess up the originals and the user may reuse it elsewhere.\n\t\t\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\t\t\ta[i] = _copy(snap[i], factor);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tfor (i = 0; i < l; i++) {\n\t\t\t\t\t\ta[i] = snap[i] * factor;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmax += 1.1; //allow 1.1 pixels of wiggle room when snapping in order to work around some browser inconsistencies in the way bounds are reported which can make them roughly a pixel off. For example, if \"snap:[-$('#menu').width(), 0]\" was defined and #menu had a wrapper that was used as the bounds, some browsers would be one pixel off, making the minimum -752 for example when snap was [-753,0], thus instead of snapping to -753, it would snap to 0 since -753 was below the minimum.\n\t\t\t\tmin -= 1.1;\n\t\t\t} else if (_isFunction(snap)) {\n\t\t\t\tvars.end = value => {\n\t\t\t\t\tlet result = snap.call(draggable, value),\n\t\t\t\t\t\tcopy, p;\n\t\t\t\t\tif (factor !== 1) {\n\t\t\t\t\t\tif (_isObject(result)) {\n\t\t\t\t\t\t\tcopy = {};\n\t\t\t\t\t\t\tfor (p in result) {\n\t\t\t\t\t\t\t\tcopy[p] = result[p] * factor;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresult = copy;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tresult *= factor;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn result; //we need to ensure that we can scope the function call to the Draggable instance itself so that users can access important values like maxX, minX, maxY, minY, x, and y from within that function.\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tvars.end = snap;\n\t\t\t}\n\t\t}\n\t\tif (max || max === 0) {\n\t\t\tvars.max = max;\n\t\t}\n\t\tif (min || min === 0) {\n\t\t\tvars.min = min;\n\t\t}\n\t\tif (forceZeroVelocity) {\n\t\t\tvars.velocity = 0;\n\t\t}\n\t\treturn vars;\n\t},\n\t_isClickable = element => { //sometimes it's convenient to mark an element as clickable by adding a data-clickable=\"true\" attribute (in which case we won't preventDefault() the mouse/touch event). This method checks if the element is an <a>, <input>, or <button> or has the data-clickable or contentEditable attribute set to true (or any of its parent elements).\n\t\tlet data;\n\t\treturn (!element || !element.getAttribute || element === _body) ? false : ((data = element.getAttribute(\"data-clickable\")) === \"true\" || (data !== \"false\" && (_clickableTagExp.test(element.nodeName + \"\") || element.getAttribute(\"contentEditable\") === \"true\"))) ? true : _isClickable(element.parentNode);\n\t},\n\t_setSelectable = (elements, selectable) => {\n\t\tlet i = elements.length,\n\t\t\te;\n\t\twhile (i--) {\n\t\t\te = elements[i];\n\t\t\te.ondragstart = e.onselectstart = selectable ? null : _emptyFunc;\n\t\t\tgsap.set(e, {lazy:true, userSelect: (selectable ? \"text\" : \"none\")});\n\t\t}\n\t},\n\t_isFixed = element => {\n\t\tif (_getComputedStyle(element).position === \"fixed\") {\n\t\t\treturn true;\n\t\t}\n\t\telement = element.parentNode;\n\t\tif (element && element.nodeType === 1) { // avoid document fragments which will throw an error.\n\t\t\treturn _isFixed(element);\n\t\t}\n\t},\n\t_supports3D, _addPaddingBR,\n\n\t//The ScrollProxy class wraps an element's contents into another div (we call it \"content\") that we either add padding when necessary or apply a translate3d() transform in order to overscroll (scroll past the boundaries). This allows us to simply set the scrollTop/scrollLeft (or top/left for easier reverse-axis orientation, which is what we do in Draggable) and it'll do all the work for us. For example, if we tried setting scrollTop to -100 on a normal DOM element, it wouldn't work - it'd look the same as setting it to 0, but if we set scrollTop of a ScrollProxy to -100, it'll give the correct appearance by either setting paddingTop of the wrapper to 100 or applying a 100-pixel translateY.\n\tScrollProxy = function(element, vars) {\n\t\telement = gsap.utils.toArray(element)[0];\n\t\tvars = vars || {};\n\t\tlet content = document.createElement(\"div\"),\n\t\t\tstyle = content.style,\n\t\t\tnode = element.firstChild,\n\t\t\toffsetTop = 0,\n\t\t\toffsetLeft = 0,\n\t\t\tprevTop = element.scrollTop,\n\t\t\tprevLeft = element.scrollLeft,\n\t\t\tscrollWidth = element.scrollWidth,\n\t\t\tscrollHeight = element.scrollHeight,\n\t\t\textraPadRight = 0,\n\t\t\tmaxLeft = 0,\n\t\t\tmaxTop = 0,\n\t\t\telementWidth, elementHeight, contentHeight, nextNode, transformStart, transformEnd;\n\t\tif (_supports3D && vars.force3D !== false) {\n\t\t\ttransformStart = \"translate3d(\";\n\t\t\ttransformEnd = \"px,0px)\";\n\t\t} else if (_transformProp) {\n\t\t\ttransformStart = \"translate(\";\n\t\t\ttransformEnd = \"px)\";\n\t\t}\n\t\tthis.scrollTop = function(value, force) {\n\t\t\tif (!arguments.length) {\n\t\t\t\treturn -this.top();\n\t\t\t}\n\t\t\tthis.top(-value, force);\n\t\t};\n\t\tthis.scrollLeft = function(value, force) {\n\t\t\tif (!arguments.length) {\n\t\t\t\treturn -this.left();\n\t\t\t}\n\t\t\tthis.left(-value, force);\n\t\t};\n\t\tthis.left = function(value, force) {\n\t\t\tif (!arguments.length) {\n\t\t\t\treturn -(element.scrollLeft + offsetLeft);\n\t\t\t}\n\t\t\tlet dif = element.scrollLeft - prevLeft,\n\t\t\t\toldOffset = offsetLeft;\n\t\t\tif ((dif > 2 || dif < -2) && !force) { //if the user interacts with the scrollbar (or something else scrolls it, like the mouse wheel), we should kill any tweens of the ScrollProxy.\n\t\t\t\tprevLeft = element.scrollLeft;\n\t\t\t\tgsap.killTweensOf(this, {left:1, scrollLeft:1});\n\t\t\t\tthis.left(-prevLeft);\n\t\t\t\tif (vars.onKill) {\n\t\t\t\t\tvars.onKill();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvalue = -value; //invert because scrolling works in the opposite direction\n\t\t\tif (value < 0) {\n\t\t\t\toffsetLeft = (value - 0.5) | 0;\n\t\t\t\tvalue = 0;\n\t\t\t} else if (value > maxLeft) {\n\t\t\t\toffsetLeft = (value - maxLeft) | 0;\n\t\t\t\tvalue = maxLeft;\n\t\t\t} else {\n\t\t\t\toffsetLeft = 0;\n\t\t\t}\n\t\t\tif (offsetLeft || oldOffset) {\n\t\t\t\tif (!this._skip) {\n\t\t\t\t\tstyle[_transformProp] = transformStart + -offsetLeft + \"px,\" + -offsetTop + transformEnd;\n\t\t\t\t}\n\t\t\t\tif (offsetLeft + extraPadRight >= 0) {\n\t\t\t\t\tstyle.paddingRight = offsetLeft + extraPadRight + \"px\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telement.scrollLeft = value | 0;\n\t\t\tprevLeft = element.scrollLeft; //don't merge this with the line above because some browsers adjust the scrollLeft after it's set, so in order to be 100% accurate in tracking it, we need to ask the browser to report it.\n\t\t};\n\t\tthis.top = function(value, force) {\n\t\t\tif (!arguments.length) {\n\t\t\t\treturn -(element.scrollTop + offsetTop);\n\t\t\t}\n\t\t\tlet dif = element.scrollTop - prevTop,\n\t\t\t\toldOffset = offsetTop;\n\t\t\tif ((dif > 2 || dif < -2) && !force) { //if the user interacts with the scrollbar (or something else scrolls it, like the mouse wheel), we should kill any tweens of the ScrollProxy.\n\t\t\t\tprevTop = element.scrollTop;\n\t\t\t\tgsap.killTweensOf(this, {top:1, scrollTop:1});\n\t\t\t\tthis.top(-prevTop);\n\t\t\t\tif (vars.onKill) {\n\t\t\t\t\tvars.onKill();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvalue = -value; //invert because scrolling works in the opposite direction\n\t\t\tif (value < 0) {\n\t\t\t\toffsetTop = (value - 0.5) | 0;\n\t\t\t\tvalue = 0;\n\t\t\t} else if (value > maxTop) {\n\t\t\t\toffsetTop = (value - maxTop) | 0;\n\t\t\t\tvalue = maxTop;\n\t\t\t} else {\n\t\t\t\toffsetTop = 0;\n\t\t\t}\n\t\t\tif (offsetTop || oldOffset) {\n\t\t\t\tif (!this._skip) {\n\t\t\t\t\tstyle[_transformProp] = transformStart + -offsetLeft + \"px,\" + -offsetTop + transformEnd;\n\t\t\t\t}\n\t\t\t}\n\t\t\telement.scrollTop = value | 0;\n\t\t\tprevTop = element.scrollTop;\n\t\t};\n\n\t\tthis.maxScrollTop = () => maxTop;\n\t\tthis.maxScrollLeft = () => maxLeft;\n\n\t\tthis.disable = function() {\n\t\t\tnode = content.firstChild;\n\t\t\twhile (node) {\n\t\t\t\tnextNode = node.nextSibling;\n\t\t\t\telement.appendChild(node);\n\t\t\t\tnode = nextNode;\n\t\t\t}\n\t\t\tif (element === content.parentNode) { //in case disable() is called when it's already disabled.\n\t\t\t\telement.removeChild(content);\n\t\t\t}\n\t\t};\n\t\tthis.enable = function() {\n\t\t\tnode = element.firstChild;\n\t\t\tif (node === content) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\twhile (node) {\n\t\t\t\tnextNode = node.nextSibling;\n\t\t\t\tcontent.appendChild(node);\n\t\t\t\tnode = nextNode;\n\t\t\t}\n\t\t\telement.appendChild(content);\n\t\t\tthis.calibrate();\n\t\t};\n\t\tthis.calibrate = function(force) {\n\t\t\tlet widthMatches = (element.clientWidth === elementWidth),\n\t\t\t\tcs, x, y;\n\t\t\tprevTop = element.scrollTop;\n\t\t\tprevLeft = element.scrollLeft;\n\t\t\tif (widthMatches && element.clientHeight === elementHeight && content.offsetHeight === contentHeight && scrollWidth === element.scrollWidth && scrollHeight === element.scrollHeight && !force) {\n\t\t\t\treturn; //no need to recalculate things if the width and height haven't changed.\n\t\t\t}\n\t\t\tif (offsetTop || offsetLeft) {\n\t\t\t\tx = this.left();\n\t\t\t\ty = this.top();\n\t\t\t\tthis.left(-element.scrollLeft);\n\t\t\t\tthis.top(-element.scrollTop);\n\t\t\t}\n\t\t\tcs = _getComputedStyle(element);\n\t\t\t//first, we need to remove any width constraints to see how the content naturally flows so that we can see if it's wider than the containing element. If so, we've got to record the amount of overage so that we can apply that as padding in order for browsers to correctly handle things. Then we switch back to a width of 100% (without that, some browsers don't flow the content correctly)\n\t\t\tif (!widthMatches || force) {\n\t\t\t\tstyle.display = \"block\";\n\t\t\t\tstyle.width = \"auto\";\n\t\t\t\tstyle.paddingRight = \"0px\";\n\t\t\t\textraPadRight = Math.max(0, element.scrollWidth - element.clientWidth);\n\t\t\t\t//if the content is wider than the container, we need to add the paddingLeft and paddingRight in order for things to behave correctly.\n\t\t\t\tif (extraPadRight) {\n\t\t\t\t\textraPadRight += parseFloat(cs.paddingLeft) + (_addPaddingBR ? parseFloat(cs.paddingRight) : 0);\n\t\t\t\t}\n\t\t\t}\n\t\t\tstyle.display = \"inline-block\";\n\t\t\tstyle.position = \"relative\";\n\t\t\tstyle.overflow = \"visible\";\n\t\t\tstyle.verticalAlign = \"top\";\n\t\t\tstyle.boxSizing = \"content-box\";\n\t\t\tstyle.width = \"100%\";\n\t\t\tstyle.paddingRight = extraPadRight + \"px\";\n\t\t\t//some browsers neglect to factor in the bottom padding when calculating the scrollHeight, so we need to add that padding to the content when that happens. Allow a 2px margin for error\n\t\t\tif (_addPaddingBR) {\n\t\t\t\tstyle.paddingBottom = cs.paddingBottom;\n\t\t\t}\n\t\t\telementWidth = element.clientWidth;\n\t\t\telementHeight = element.clientHeight;\n\t\t\tscrollWidth = element.scrollWidth;\n\t\t\tscrollHeight = element.scrollHeight;\n\t\t\tmaxLeft = element.scrollWidth - elementWidth;\n\t\t\tmaxTop = element.scrollHeight - elementHeight;\n\t\t\tcontentHeight = content.offsetHeight;\n\t\t\tstyle.display = \"block\";\n\t\t\tif (x || y) {\n\t\t\t\tthis.left(x);\n\t\t\t\tthis.top(y);\n\t\t\t}\n\t\t};\n\t\tthis.content = content;\n\t\tthis.element = element;\n\t\tthis._skip = false;\n\t\tthis.enable();\n\t},\n\t_initCore = required => {\n\t\tif (_windowExists() && document.body) {\n\t\t\tlet nav = window && window.navigator;\n\t\t\t_win = window;\n\t\t\t_doc = document;\n\t\t\t_docElement = _doc.documentElement;\n\t\t\t_body = _doc.body;\n\t\t\t_tempDiv = _createElement(\"div\");\n\t\t\t_supportsPointer = !!window.PointerEvent;\n\t\t\t_placeholderDiv = _createElement(\"div\");\n\t\t\t_placeholderDiv.style.cssText = \"visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab\";\n\t\t\t_defaultCursor = _placeholderDiv.style.cursor === \"grab\" ? \"grab\" : \"move\";\n\t\t\t_isAndroid = (nav && nav.userAgent.toLowerCase().indexOf(\"android\") !== -1); //Android handles touch events in an odd way and it's virtually impossible to \"feature test\" so we resort to UA sniffing\n\t\t\t_isTouchDevice = ((\"ontouchstart\" in _docElement) && (\"orientation\" in _win)) || (nav && (nav.MaxTouchPoints > 0 || nav.msMaxTouchPoints > 0));\n\t\t\t_addPaddingBR = (function() { //this function is in charge of analyzing browser behavior related to padding. It sets the _addPaddingBR to true if the browser doesn't normally factor in the bottom or right padding on the element inside the scrolling area, and it sets _addPaddingLeft to true if it's a browser that requires the extra offset (offsetLeft) to be added to the paddingRight (like Opera).\n\t\t\t\tlet div = _createElement(\"div\"),\n\t\t\t\t\tchild = _createElement(\"div\"),\n\t\t\t\t\tchildStyle = child.style,\n\t\t\t\t\tparent = _body,\n\t\t\t\t\tval;\n\t\t\t\tchildStyle.display = \"inline-block\";\n\t\t\t\tchildStyle.position = \"relative\";\n\t\t\t\tdiv.style.cssText = \"width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden\";\n\t\t\t\tdiv.appendChild(child);\n\t\t\t\tparent.appendChild(div);\n\t\t\t\tval = (child.offsetHeight + 18 > div.scrollHeight); //div.scrollHeight should be child.offsetHeight + 20 because of the 10px of padding on each side, but some browsers ignore one side. We allow a 2px margin of error.\n\t\t\t\tparent.removeChild(div);\n\t\t\t\treturn val;\n\t\t\t}());\n\t\t\t_touchEventLookup = (function(types) { //we create an object that makes it easy to translate touch event types into their \"pointer\" counterparts if we're in a browser that uses those instead. Like IE10 uses \"MSPointerDown\" instead of \"touchstart\", for example.\n\t\t\t\tlet standard = types.split(\",\"),\n\t\t\t\t\tconverted = (\"onpointerdown\" in _tempDiv ? \"pointerdown,pointermove,pointerup,pointercancel\" : \"onmspointerdown\" in _tempDiv ? \"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel\" : types).split(\",\"),\n\t\t\t\t\tobj = {},\n\t\t\t\t\ti = 4;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\tobj[standard[i]] = converted[i];\n\t\t\t\t\tobj[converted[i]] = standard[i];\n\t\t\t\t}\n\t\t\t\t//to avoid problems in iOS 9, test to see if the browser supports the \"passive\" option on addEventListener().\n\t\t\t\ttry {\n\t\t\t\t\t_docElement.addEventListener(\"test\", null, Object.defineProperty({}, \"passive\", {\n\t\t\t\t\t\tget: function () {\n\t\t\t\t\t\t\t_supportsPassive = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}));\n\t\t\t\t} catch (e) {}\n\t\t\t\treturn obj;\n\t\t\t}(\"touchstart,touchmove,touchend,touchcancel\"));\n\t\t\t_addListener(_doc, \"touchcancel\", _emptyFunc); //some older Android devices intermittently stop dispatching \"touchmove\" events if we don't listen for \"touchcancel\" on the document. Very strange indeed.\n\t\t\t_addListener(_win, \"touchmove\", _emptyFunc); //works around Safari bugs that still allow the page to scroll even when we preventDefault() on the touchmove event.\n\t\t\t_body && _body.addEventListener(\"touchstart\", _emptyFunc); //works around Safari bug: https://gsap.com/forums/topic/21450-draggable-in-iframe-on-mobile-is-buggy/\n\t\t\t_addListener(_doc, \"contextmenu\", function() {\n\t\t\t\tfor (let p in _lookup) {\n\t\t\t\t\tif (_lookup[p].isPressed) {\n\t\t\t\t\t\t_lookup[p].endDrag();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tgsap = _coreInitted = _getGSAP();\n\t\t}\n\t\tif (gsap) {\n\t\t\tInertiaPlugin = gsap.plugins.inertia;\n\t\t\t_context = gsap.core.context || function() {};\n\t\t\t_checkPrefix = gsap.utils.checkPrefix;\n\t\t\t_transformProp = _checkPrefix(_transformProp);\n\t\t\t_transformOriginProp = _checkPrefix(_transformOriginProp);\n\t\t\t_toArray = gsap.utils.toArray;\n\t\t\t_getStyleSaver = gsap.core.getStyleSaver;\n\t\t\t_supports3D = !!_checkPrefix(\"perspective\");\n\t\t} else if (required) {\n\t\t\tconsole.warn(\"Please gsap.registerPlugin(Draggable)\");\n\t\t}\n\t};\n\n\n\n\n\n\nclass EventDispatcher {\n\n\tconstructor(target) {\n\t\tthis._listeners = {};\n\t\tthis.target = target || this;\n\t}\n\n\taddEventListener(type, callback) {\n\t\tlet list = this._listeners[type] || (this._listeners[type] = []);\n\t\tif (!~list.indexOf(callback)) {\n\t\t\tlist.push(callback);\n\t\t}\n\t}\n\n\tremoveEventListener(type, callback) {\n\t\tlet list = this._listeners[type],\n\t\t\ti = (list && list.indexOf(callback));\n\t\t(i >= 0) && list.splice(i, 1);\n\t}\n\n\tdispatchEvent(type) {\n\t\tlet result;\n\t\t(this._listeners[type] || []).forEach(callback => (callback.call(this, {type: type, target: this.target}) === false) && (result = false));\n\t\treturn result; //if any of the callbacks return false, pass that along.\n\t}\n}\n\n\n\n\n\n\n\n\n\nexport class Draggable extends EventDispatcher {\n\n\tconstructor(target, vars) {\n\t\tsuper();\n\t\t_coreInitted || _initCore(1);\n\t\ttarget = _toArray(target)[0]; //in case the target is a selector object or selector text\n\t\tthis.styles = _getStyleSaver && _getStyleSaver(target, \"transform,left,top\");\n\t\tif (!InertiaPlugin) {\n\t\t\tInertiaPlugin = gsap.plugins.inertia;\n\t\t}\n\t\tthis.vars = vars = _copy(vars || {});\n\t\tthis.target = target;\n\t\tthis.x = this.y = this.rotation = 0;\n\t\tthis.dragResistance = parseFloat(vars.dragResistance) || 0;\n\t\tthis.edgeResistance = isNaN(vars.edgeResistance) ? 1 : parseFloat(vars.edgeResistance) || 0;\n\t\tthis.lockAxis = vars.lockAxis;\n\t\tthis.autoScroll = vars.autoScroll || 0;\n\t\tthis.lockedAxis = null;\n\t\tthis.allowEventDefault = !!vars.allowEventDefault;\n\n\t\tgsap.getProperty(target, \"x\"); // to ensure that transforms are instantiated.\n\n\t\tlet type = (vars.type || \"x,y\").toLowerCase(),\n\t\t\txyMode = (~type.indexOf(\"x\") || ~type.indexOf(\"y\")),\n\t\t\trotationMode = (type.indexOf(\"rotation\") !== -1),\n\t\t\txProp = rotationMode ? \"rotation\" : xyMode ? \"x\" : \"left\",\n\t\t\tyProp = xyMode ? \"y\" : \"top\",\n\t\t\tallowX = !!(~type.indexOf(\"x\") || ~type.indexOf(\"left\") || type === \"scroll\"),\n\t\t\tallowY = !!(~type.indexOf(\"y\") || ~type.indexOf(\"top\") || type === \"scroll\"),\n\t\t\tminimumMovement = vars.minimumMovement || 2,\n\t\t\tself = this,\n\t\t\ttriggers = _toArray(vars.trigger || vars.handle || target),\n\t\t\tkillProps = {},\n\t\t\tdragEndTime = 0,\n\t\t\tcheckAutoScrollBounds = false,\n\t\t\tautoScrollMarginTop = vars.autoScrollMarginTop || 40,\n\t\t\tautoScrollMarginRight = vars.autoScrollMarginRight || 40,\n\t\t\tautoScrollMarginBottom = vars.autoScrollMarginBottom || 40,\n\t\t\tautoScrollMarginLeft = vars.autoScrollMarginLeft || 40,\n\t\t\tisClickable = vars.clickableTest || _isClickable,\n\t\t\tclickTime = 0,\n\t\t\tgsCache = target._gsap || gsap.core.getCache(target),\n\t\t\tisFixed = _isFixed(target),\n\t\t\tgetPropAsNum = (property, unit) => parseFloat(gsCache.get(target, property, unit)),\n\t\t\townerDoc = target.ownerDocument || _doc,\n\t\t\tenabled, scrollProxy, startPointerX, startPointerY, startElementX, startElementY, hasBounds, hasDragCallback, hasMoveCallback, maxX, minX, maxY, minY, touch, touchID, rotationOrigin, dirty, old, snapX, snapY, snapXY, isClicking, touchEventTarget, matrix, interrupted, allowNativeTouchScrolling, touchDragAxis, isDispatching, clickDispatch, trustedClickDispatch, isPreventingDefault, innerMatrix, dragged,\n\n\t\t\tonContextMenu = e => { //used to prevent long-touch from triggering a context menu.\n\t\t\t\t// (self.isPressed && e.which < 2) && self.endDrag() // previously ended drag when context menu was triggered, but instead we should just stop propagation and prevent the default event behavior.\n\t\t\t\t_preventDefault(e);\n\t\t\t\te.stopImmediatePropagation && e.stopImmediatePropagation();\n\t\t\t\treturn false;\n\t\t\t},\n\n\t\t\t//this method gets called on every tick of TweenLite.ticker which allows us to synchronize the renders to the core engine (which is typically synchronized with the display refresh via requestAnimationFrame). This is an optimization - it's better than applying the values inside the \"mousemove\" or \"touchmove\" event handler which may get called many times inbetween refreshes.\n\t\t\trender = suppressEvents => {\n\t\t\t\tif (self.autoScroll && self.isDragging && (checkAutoScrollBounds || dirty)) {\n\t\t\t\t\tlet e = target,\n\t\t\t\t\t\tautoScrollFactor = self.autoScroll * 15, //multiplying by 15 just gives us a better \"feel\" speed-wise.\n\t\t\t\t\t\tparent, isRoot, rect, pointerX, pointerY, changeX, changeY, gap;\n\t\t\t\t\tcheckAutoScrollBounds = false;\n\t\t\t\t\t_windowProxy.scrollTop = ((_win.pageYOffset != null) ? _win.pageYOffset : (ownerDoc.documentElement.scrollTop != null) ? ownerDoc.documentElement.scrollTop : ownerDoc.body.scrollTop);\n\t\t\t\t\t_windowProxy.scrollLeft = ((_win.pageXOffset != null) ? _win.pageXOffset : (ownerDoc.documentElement.scrollLeft != null) ? ownerDoc.documentElement.scrollLeft : ownerDoc.body.scrollLeft);\n\t\t\t\t\tpointerX = self.pointerX - _windowProxy.scrollLeft;\n\t\t\t\t\tpointerY = self.pointerY - _windowProxy.scrollTop;\n\t\t\t\t\twhile (e && !isRoot) { //walk up the chain and sense wherever the pointer is within 40px of an edge that's scrollable.\n\t\t\t\t\t\tisRoot = _isRoot(e.parentNode);\n\t\t\t\t\t\tparent = isRoot ? _windowProxy : e.parentNode;\n\t\t\t\t\t\trect = isRoot ? {bottom:Math.max(_docElement.clientHeight, _win.innerHeight || 0), right: Math.max(_docElement.clientWidth, _win.innerWidth || 0), left:0, top:0} : parent.getBoundingClientRect();\n\t\t\t\t\t\tchangeX = changeY = 0;\n\t\t\t\t\t\tif (allowY) {\n\t\t\t\t\t\t\tgap = parent._gsMaxScrollY - parent.scrollTop;\n\t\t\t\t\t\t\tif (gap < 0) {\n\t\t\t\t\t\t\t\tchangeY = gap;\n\t\t\t\t\t\t\t} else if (pointerY > rect.bottom - autoScrollMarginBottom && gap) {\n\t\t\t\t\t\t\t\tcheckAutoScrollBounds = true;\n\t\t\t\t\t\t\t\tchangeY = Math.min(gap, (autoScrollFactor * (1 - Math.max(0, (rect.bottom - pointerY)) / autoScrollMarginBottom)) | 0);\n\t\t\t\t\t\t\t} else if (pointerY < rect.top + autoScrollMarginTop && parent.scrollTop) {\n\t\t\t\t\t\t\t\tcheckAutoScrollBounds = true;\n\t\t\t\t\t\t\t\tchangeY = -Math.min(parent.scrollTop, (autoScrollFactor * (1 - Math.max(0, (pointerY - rect.top)) / autoScrollMarginTop)) | 0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (changeY) {\n\t\t\t\t\t\t\t\tparent.scrollTop += changeY;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (allowX) {\n\t\t\t\t\t\t\tgap = parent._gsMaxScrollX - parent.scrollLeft;\n\t\t\t\t\t\t\tif (gap < 0) {\n\t\t\t\t\t\t\t\tchangeX = gap;\n\t\t\t\t\t\t\t} else if (pointerX > rect.right - autoScrollMarginRight && gap) {\n\t\t\t\t\t\t\t\tcheckAutoScrollBounds = true;\n\t\t\t\t\t\t\t\tchangeX = Math.min(gap, (autoScrollFactor * (1 - Math.max(0, (rect.right - pointerX)) / autoScrollMarginRight)) | 0);\n\t\t\t\t\t\t\t} else if (pointerX < rect.left + autoScrollMarginLeft && parent.scrollLeft) {\n\t\t\t\t\t\t\t\tcheckAutoScrollBounds = true;\n\t\t\t\t\t\t\t\tchangeX = -Math.min(parent.scrollLeft, (autoScrollFactor * (1 - Math.max(0, (pointerX - rect.left)) / autoScrollMarginLeft)) | 0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (changeX) {\n\t\t\t\t\t\t\t\tparent.scrollLeft += changeX;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (isRoot && (changeX || changeY)) {\n\t\t\t\t\t\t\t_win.scrollTo(parent.scrollLeft, parent.scrollTop);\n\t\t\t\t\t\t\tsetPointerPosition(self.pointerX + changeX, self.pointerY + changeY);\n\t\t\t\t\t\t}\n\t\t\t\t\t\te = parent;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (dirty) {\n\t\t\t\t\tlet {x, y} = self;\n\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\tself.deltaX = x - parseFloat(gsCache.rotation);\n\t\t\t\t\t\tself.rotation = x;\n\t\t\t\t\t\tgsCache.rotation = x + \"deg\";\n\t\t\t\t\t\tgsCache.renderTransform(1, gsCache);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (scrollProxy) {\n\t\t\t\t\t\t\tif (allowY) {\n\t\t\t\t\t\t\t\tself.deltaY = y - scrollProxy.top();\n\t\t\t\t\t\t\t\tscrollProxy.top(y);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (allowX) {\n\t\t\t\t\t\t\t\tself.deltaX = x - scrollProxy.left();\n\t\t\t\t\t\t\t\tscrollProxy.left(x);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (xyMode) {\n\t\t\t\t\t\t\tif (allowY) {\n\t\t\t\t\t\t\t\tself.deltaY = y - parseFloat(gsCache.y);\n\t\t\t\t\t\t\t\tgsCache.y = y + \"px\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (allowX) {\n\t\t\t\t\t\t\t\tself.deltaX = x - parseFloat(gsCache.x);\n\t\t\t\t\t\t\t\tgsCache.x = x + \"px\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tgsCache.renderTransform(1, gsCache);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (allowY) {\n\t\t\t\t\t\t\t\tself.deltaY = y - parseFloat(target.style.top || 0);\n\t\t\t\t\t\t\t\ttarget.style.top = y + \"px\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (allowX) {\n\t\t\t\t\t\t\t\tself.deltaX = x - parseFloat(target.style.left || 0);\n\t\t\t\t\t\t\t\ttarget.style.left = x + \"px\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (hasDragCallback && !suppressEvents && !isDispatching) {\n\t\t\t\t\t\tisDispatching = true; //in case onDrag has an update() call (avoid endless loop)\n\t\t\t\t\t\tif (_dispatchEvent(self, \"drag\", \"onDrag\") === false) {\n\t\t\t\t\t\t\tif (allowX) {\n\t\t\t\t\t\t\t\tself.x -= self.deltaX;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (allowY) {\n\t\t\t\t\t\t\t\tself.y -= self.deltaY;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\trender(true);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tisDispatching = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdirty = false;\n\t\t\t},\n\n\t\t\t//copies the x/y from the element (whether that be transforms, top/left, or ScrollProxy's top/left) to the Draggable's x and y (and rotation if necessary) properties so that they reflect reality and it also (optionally) applies any snapping necessary. This is used by the InertiaPlugin tween in an onUpdate to ensure things are synced and snapped.\n\t\t\tsyncXY = (skipOnUpdate, skipSnap) => {\n\t\t\t\tlet { x, y } = self,\n\t\t\t\t\tsnappedValue, cs;\n\t\t\t\tif (!target._gsap) { //just in case the _gsap cache got wiped, like if the user called clearProps on the transform or something (very rare).\n\t\t\t\t\tgsCache = gsap.core.getCache(target);\n\t\t\t\t}\n\t\t\t\tgsCache.uncache && gsap.getProperty(target, \"x\"); // trigger a re-cache\n\t\t\t\tif (xyMode) {\n\t\t\t\t\tself.x = parseFloat(gsCache.x);\n\t\t\t\t\tself.y = parseFloat(gsCache.y);\n\t\t\t\t} else if (rotationMode) {\n\t\t\t\t\tself.x = self.rotation = parseFloat(gsCache.rotation);\n\t\t\t\t} else if (scrollProxy) {\n\t\t\t\t\tself.y = scrollProxy.top();\n\t\t\t\t\tself.x = scrollProxy.left();\n\t\t\t\t} else {\n\t\t\t\t\tself.y = parseFloat(target.style.top || ((cs = _getComputedStyle(target)) && cs.top)) || 0;\n\t\t\t\t\tself.x = parseFloat(target.style.left || (cs || {}).left) || 0;\n\t\t\t\t}\n\t\t\t\tif ((snapX || snapY || snapXY) && !skipSnap && (self.isDragging || self.isThrowing)) {\n\t\t\t\t\tif (snapXY) {\n\t\t\t\t\t\t_temp1.x = self.x;\n\t\t\t\t\t\t_temp1.y = self.y;\n\t\t\t\t\t\tsnappedValue = snapXY(_temp1);\n\t\t\t\t\t\tif (snappedValue.x !== self.x) {\n\t\t\t\t\t\t\tself.x = snappedValue.x;\n\t\t\t\t\t\t\tdirty = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (snappedValue.y !== self.y) {\n\t\t\t\t\t\t\tself.y = snappedValue.y;\n\t\t\t\t\t\t\tdirty = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (snapX) {\n\t\t\t\t\t\tsnappedValue = snapX(self.x);\n\t\t\t\t\t\tif (snappedValue !== self.x) {\n\t\t\t\t\t\t\tself.x = snappedValue;\n\t\t\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\t\t\tself.rotation = snappedValue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdirty = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (snapY) {\n\t\t\t\t\t\tsnappedValue = snapY(self.y);\n\t\t\t\t\t\tif (snappedValue !== self.y) {\n\t\t\t\t\t\t\tself.y = snappedValue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdirty = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdirty && render(true);\n\t\t\t\tif (!skipOnUpdate) {\n\t\t\t\t\tself.deltaX = self.x - x;\n\t\t\t\t\tself.deltaY = self.y - y;\n\t\t\t\t\t_dispatchEvent(self, \"throwupdate\", \"onThrowUpdate\");\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tbuildSnapFunc = (snap, min, max, factor) => {\n\t\t\t\tif (min == null) {\n\t\t\t\t\tmin = -_bigNum;\n\t\t\t\t}\n\t\t\t\tif (max == null) {\n\t\t\t\t\tmax = _bigNum;\n\t\t\t\t}\n\t\t\t\tif (_isFunction(snap)) {\n\t\t\t\t\treturn n => {\n\t\t\t\t\t\tlet edgeTolerance = !self.isPressed ? 1 : 1 - self.edgeResistance; //if we're tweening, disable the edgeTolerance because it's already factored into the tweening values (we don't want to apply it multiple times)\n\t\t\t\t\t\treturn snap.call(self, (n > max ? max + (n - max) * edgeTolerance : (n < min) ? min + (n - min) * edgeTolerance : n) * factor) * factor;\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (_isArray(snap)) {\n\t\t\t\t\treturn n => {\n\t\t\t\t\t\tlet i = snap.length,\n\t\t\t\t\t\t\tclosest = 0,\n\t\t\t\t\t\t\tabsDif = _bigNum,\n\t\t\t\t\t\t\tval, dif;\n\t\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\t\tval = snap[i];\n\t\t\t\t\t\t\tdif = val - n;\n\t\t\t\t\t\t\tif (dif < 0) {\n\t\t\t\t\t\t\t\tdif = -dif;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (dif < absDif && val >= min && val <= max) {\n\t\t\t\t\t\t\t\tclosest = i;\n\t\t\t\t\t\t\t\tabsDif = dif;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn snap[closest];\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\treturn isNaN(snap) ? n => n : () => snap * factor;\n\t\t\t},\n\n\t\t\tbuildPointSnapFunc = (snap, minX, maxX, minY, maxY, radius, factor) => {\n\t\t\t\tradius = (radius && radius < _bigNum) ? radius * radius : _bigNum; //so we don't have to Math.sqrt() in the functions. Performance optimization.\n\t\t\t\tif (_isFunction(snap)) {\n\t\t\t\t\treturn point => {\n\t\t\t\t\t\tlet edgeTolerance = !self.isPressed ? 1 : 1 - self.edgeResistance,\n\t\t\t\t\t\t\tx = point.x,\n\t\t\t\t\t\t\ty = point.y,\n\t\t\t\t\t\t\tresult, dx, dy; //if we're tweening, disable the edgeTolerance because it's already factored into the tweening values (we don't want to apply it multiple times)\n\t\t\t\t\t\tpoint.x = x = (x > maxX ? maxX + (x - maxX) * edgeTolerance : (x < minX) ? minX + (x - minX) * edgeTolerance : x);\n\t\t\t\t\t\tpoint.y = y = (y > maxY ? maxY + (y - maxY) * edgeTolerance : (y < minY) ? minY + (y - minY) * edgeTolerance : y);\n\t\t\t\t\t\tresult = snap.call(self, point);\n\t\t\t\t\t\tif (result !== point) {\n\t\t\t\t\t\t\tpoint.x = result.x;\n\t\t\t\t\t\t\tpoint.y = result.y;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (factor !== 1) {\n\t\t\t\t\t\t\tpoint.x *= factor;\n\t\t\t\t\t\t\tpoint.y *= factor;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (radius < _bigNum) {\n\t\t\t\t\t\t\tdx = point.x - x;\n\t\t\t\t\t\t\tdy = point.y - y;\n\t\t\t\t\t\t\tif (dx * dx + dy * dy > radius) {\n\t\t\t\t\t\t\t\tpoint.x = x;\n\t\t\t\t\t\t\t\tpoint.y = y;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn point;\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (_isArray(snap)) {\n\t\t\t\t\treturn p => {\n\t\t\t\t\t\tlet i = snap.length,\n\t\t\t\t\t\t\tclosest = 0,\n\t\t\t\t\t\t\tminDist = _bigNum,\n\t\t\t\t\t\t\tx, y, point, dist;\n\t\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\t\tpoint = snap[i];\n\t\t\t\t\t\t\tx = point.x - p.x;\n\t\t\t\t\t\t\ty = point.y - p.y;\n\t\t\t\t\t\t\tdist = x * x + y * y;\n\t\t\t\t\t\t\tif (dist < minDist) {\n\t\t\t\t\t\t\t\tclosest = i;\n\t\t\t\t\t\t\t\tminDist = dist;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn (minDist <= radius) ? snap[closest] : p;\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\treturn n => n;\n\t\t\t},\n\n\t\t\tcalculateBounds = () => {\n\t\t\t\tlet bounds, targetBounds, snap, snapIsRaw;\n\t\t\t\thasBounds = false;\n\t\t\t\tif (scrollProxy) {\n\t\t\t\t\tscrollProxy.calibrate();\n\t\t\t\t\tself.minX = minX = -scrollProxy.maxScrollLeft();\n\t\t\t\t\tself.minY = minY = -scrollProxy.maxScrollTop();\n\t\t\t\t\tself.maxX = maxX = self.maxY = maxY = 0;\n\t\t\t\t\thasBounds = true;\n\t\t\t\t} else if (!!vars.bounds) {\n\t\t\t\t\tbounds = _getBounds(vars.bounds, target.parentNode); //could be a selector/jQuery object or a DOM element or a generic object like {top:0, left:100, width:1000, height:800} or {minX:100, maxX:1100, minY:0, maxY:800}\n\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\tself.minX = minX = bounds.left;\n\t\t\t\t\t\tself.maxX = maxX = bounds.left + bounds.width;\n\t\t\t\t\t\tself.minY = minY = self.maxY = maxY = 0;\n\t\t\t\t\t} else if (!_isUndefined(vars.bounds.maxX) || !_isUndefined(vars.bounds.maxY)) {\n\t\t\t\t\t\tbounds = vars.bounds;\n\t\t\t\t\t\tself.minX = minX = bounds.minX;\n\t\t\t\t\t\tself.minY = minY = bounds.minY;\n\t\t\t\t\t\tself.maxX = maxX = bounds.maxX;\n\t\t\t\t\t\tself.maxY = maxY = bounds.maxY;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttargetBounds = _getBounds(target, target.parentNode);\n\t\t\t\t\t\tself.minX = minX = Math.round(getPropAsNum(xProp, \"px\") + bounds.left - targetBounds.left);\n\t\t\t\t\t\tself.minY = minY = Math.round(getPropAsNum(yProp, \"px\") + bounds.top - targetBounds.top);\n\t\t\t\t\t\tself.maxX = maxX = Math.round(minX + (bounds.width - targetBounds.width));\n\t\t\t\t\t\tself.maxY = maxY = Math.round(minY + (bounds.height - targetBounds.height));\n\t\t\t\t\t}\n\t\t\t\t\tif (minX > maxX) {\n\t\t\t\t\t\tself.minX = maxX;\n\t\t\t\t\t\tself.maxX = maxX = minX;\n\t\t\t\t\t\tminX = self.minX;\n\t\t\t\t\t}\n\t\t\t\t\tif (minY > maxY) {\n\t\t\t\t\t\tself.minY = maxY;\n\t\t\t\t\t\tself.maxY = maxY = minY;\n\t\t\t\t\t\tminY = self.minY;\n\t\t\t\t\t}\n\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\tself.minRotation = minX;\n\t\t\t\t\t\tself.maxRotation = maxX;\n\t\t\t\t\t}\n\t\t\t\t\thasBounds = true;\n\t\t\t\t}\n\t\t\t\tif (vars.liveSnap) {\n\t\t\t\t\tsnap = (vars.liveSnap === true) ? (vars.snap || {}) : vars.liveSnap;\n\t\t\t\t\tsnapIsRaw = (_isArray(snap) || _isFunction(snap));\n\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\tsnapX = buildSnapFunc((snapIsRaw ? snap : snap.rotation), minX, maxX, 1);\n\t\t\t\t\t\tsnapY = null;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (snap.points) {\n\t\t\t\t\t\t\tsnapXY = buildPointSnapFunc((snapIsRaw ? snap : snap.points), minX, maxX, minY, maxY, snap.radius, scrollProxy ? -1 : 1);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (allowX) {\n\t\t\t\t\t\t\t\tsnapX = buildSnapFunc((snapIsRaw ? snap : snap.x || snap.left || snap.scrollLeft), minX, maxX, scrollProxy ? -1 : 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (allowY) {\n\t\t\t\t\t\t\t\tsnapY = buildSnapFunc((snapIsRaw ? snap : snap.y || snap.top || snap.scrollTop), minY, maxY, scrollProxy ? -1 : 1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tonThrowComplete = () => {\n\t\t\t\tself.isThrowing = false;\n\t\t\t\t_dispatchEvent(self, \"throwcomplete\", \"onThrowComplete\");\n\t\t\t},\n\t\t\tonThrowInterrupt = () => {\n\t\t\t\tself.isThrowing = false;\n\t\t\t},\n\n\t\t\tanimate = (inertia, forceZeroVelocity) => {\n\t\t\t\tlet snap, snapIsRaw, tween, overshootTolerance;\n\t\t\t\tif (inertia && InertiaPlugin) {\n\t\t\t\t\tif (inertia === true) {\n\t\t\t\t\t\tsnap = vars.snap || vars.liveSnap || {};\n\t\t\t\t\t\tsnapIsRaw = (_isArray(snap) || _isFunction(snap));\n\t\t\t\t\t\tinertia = {resistance:(vars.throwResistance || vars.resistance || 1000) / (rotationMode ? 10 : 1)};\n\t\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\t\tinertia.rotation = _parseInertia(self, snapIsRaw ? snap : snap.rotation, maxX, minX, 1, forceZeroVelocity);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (allowX) {\n\t\t\t\t\t\t\t\tinertia[xProp] = _parseInertia(self, snapIsRaw ? snap : snap.points || snap.x || snap.left, maxX, minX, scrollProxy ? -1 : 1, forceZeroVelocity || (self.lockedAxis === \"x\"));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (allowY) {\n\t\t\t\t\t\t\t\tinertia[yProp] = _parseInertia(self, snapIsRaw ? snap : snap.points || snap.y || snap.top, maxY, minY, scrollProxy ? -1 : 1, forceZeroVelocity || (self.lockedAxis === \"y\"));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (snap.points || (_isArray(snap) && _isObject(snap[0]))) {\n\t\t\t\t\t\t\t\tinertia.linkedProps = xProp + \",\" + yProp;\n\t\t\t\t\t\t\t\tinertia.radius = snap.radius; //note: we also disable liveSnapping while throwing if there's a \"radius\" defined, otherwise it looks weird to have the item thrown past a snapping point but live-snapping mid-tween. We do this by altering the onUpdateParams so that \"skipSnap\" parameter is true for syncXY.\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tself.isThrowing = true;\n\t\t\t\t\tovershootTolerance = (!isNaN(vars.overshootTolerance)) ? vars.overshootTolerance : (vars.edgeResistance === 1) ? 0 : (1 - self.edgeResistance) + 0.2;\n\t\t\t\t\tif (!inertia.duration) {\n\t\t\t\t\t\tinertia.duration = {max: Math.max(vars.minDuration || 0, (\"maxDuration\" in vars) ? vars.maxDuration : 2), min: (!isNaN(vars.minDuration) ? vars.minDuration : (overshootTolerance === 0 || (_isObject(inertia) && inertia.resistance > 1000)) ? 0 : 0.5), overshoot: overshootTolerance};\n\t\t\t\t\t}\n\t\t\t\t\tself.tween = tween = gsap.to(scrollProxy || target, {\n\t\t\t\t\t\tinertia: inertia,\n\t\t\t\t\t\tdata: \"_draggable\",\n\t\t\t\t\t\tinherit: false,\n\t\t\t\t\t\tonComplete: onThrowComplete,\n\t\t\t\t\t\tonInterrupt: onThrowInterrupt,\n\t\t\t\t\t\tonUpdate: (vars.fastMode ? _dispatchEvent : syncXY),\n\t\t\t\t\t\tonUpdateParams: (vars.fastMode ? [self, \"onthrowupdate\", \"onThrowUpdate\"] : (snap && snap.radius) ? [false, true] : [])\n\t\t\t\t\t});\n\t\t\t\t\tif (!vars.fastMode) {\n\t\t\t\t\t\tif (scrollProxy) {\n\t\t\t\t\t\t\tscrollProxy._skip = true; // Microsoft browsers have a bug that causes them to briefly render the position incorrectly (it flashes to the end state when we seek() the tween even though we jump right back to the current position, and this only seems to happen when we're affecting both top and left), so we set a _suspendTransforms flag to prevent it from actually applying the values in the ScrollProxy.\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttween.render(1e9, true, true); // force to the end. Remember, the duration will likely change upon initting because that's when InertiaPlugin calculates it.\n\t\t\t\t\t\tsyncXY(true, true);\n\t\t\t\t\t\tself.endX = self.x;\n\t\t\t\t\t\tself.endY = self.y;\n\t\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\t\tself.endRotation = self.x;\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttween.play(0);\n\t\t\t\t\t\tsyncXY(true, true);\n\t\t\t\t\t\tif (scrollProxy) {\n\t\t\t\t\t\t\tscrollProxy._skip = false; //Microsoft browsers have a bug that causes them to briefly render the position incorrectly (it flashes to the end state when we seek() the tween even though we jump right back to the current position, and this only seems to happen when we're affecting both top and left), so we set a _suspendTransforms flag to prevent it from actually applying the values in the ScrollProxy.\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (hasBounds) {\n\t\t\t\t\tself.applyBounds();\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tupdateMatrix = shiftStart => {\n\t\t\t\tlet start = matrix,\n\t\t\t\t\tp;\n\t\t\t\tmatrix = getGlobalMatrix(target.parentNode, true);\n\t\t\t\tif (shiftStart && self.isPressed && !matrix.equals(start || new Matrix2D())) { //if the matrix changes WHILE the element is pressed, we must adjust the startPointerX and startPointerY accordingly, so we invert the original matrix and figure out where the pointerX and pointerY were in the global space, then apply the new matrix to get the updated coordinates.\n\t\t\t\t\tp = start.inverse().apply({x:startPointerX, y:startPointerY});\n\t\t\t\t\tmatrix.apply(p, p);\n\t\t\t\t\tstartPointerX = p.x;\n\t\t\t\t\tstartPointerY = p.y;\n\t\t\t\t}\n\t\t\t\tif (matrix.equals(_identityMatrix)) { //if there are no transforms, we can optimize performance by not factoring in the matrix\n\t\t\t\t\tmatrix = null;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\trecordStartPositions = () => {\n\t\t\t\tlet edgeTolerance = 1 - self.edgeResistance,\n\t\t\t\t\toffsetX = isFixed ? _getDocScrollLeft(ownerDoc) : 0,\n\t\t\t\t\toffsetY = isFixed ? _getDocScrollTop(ownerDoc) : 0,\n\t\t\t\t\tparsedOrigin, x, y;\n\t\t\t\tif (xyMode) { // in case the user set it as a different unit, like animating the x to \"100%\". We must convert it back to px!\n\t\t\t\t\tgsCache.x = getPropAsNum(xProp, \"px\") + \"px\";\n\t\t\t\t\tgsCache.y = getPropAsNum(yProp, \"px\") + \"px\";\n\t\t\t\t\tgsCache.renderTransform();\n\t\t\t\t}\n\t\t\t\tupdateMatrix(false);\n\t\t\t\t_point1.x = self.pointerX - offsetX;\n\t\t\t\t_point1.y = self.pointerY - offsetY;\n\t\t\t\tmatrix && matrix.apply(_point1, _point1);\n\t\t\t\tstartPointerX = _point1.x; //translate to local coordinate system\n\t\t\t\tstartPointerY = _point1.y;\n\t\t\t\tif (dirty) {\n\t\t\t\t\tsetPointerPosition(self.pointerX, self.pointerY);\n\t\t\t\t\trender(true);\n\t\t\t\t}\n\t\t\t\tinnerMatrix = getGlobalMatrix(target);\n\t\t\t\tif (scrollProxy) {\n\t\t\t\t\tcalculateBounds();\n\t\t\t\t\tstartElementY = scrollProxy.top();\n\t\t\t\t\tstartElementX = scrollProxy.left();\n\t\t\t\t} else {\n\t\t\t\t\t//if the element is in the process of tweening, don't force snapping to occur because it could make it jump. Imagine the user throwing, then before it's done, clicking on the element in its inbetween state.\n\t\t\t\t\tif (isTweening()) {\n\t\t\t\t\t\tsyncXY(true, true);\n\t\t\t\t\t\tcalculateBounds();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.applyBounds();\n\t\t\t\t\t}\n\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\tparsedOrigin = target.ownerSVGElement ? [gsCache.xOrigin - target.getBBox().x, gsCache.yOrigin - target.getBBox().y] : (_getComputedStyle(target)[_transformOriginProp] || \"0 0\").split(\" \");\n\t\t\t\t\t\trotationOrigin = self.rotationOrigin = getGlobalMatrix(target).apply({x: parseFloat(parsedOrigin[0]) || 0, y: parseFloat(parsedOrigin[1]) || 0});\n\t\t\t\t\t\tsyncXY(true, true);\n\t\t\t\t\t\tx = self.pointerX - rotationOrigin.x - offsetX;\n\t\t\t\t\t\ty = rotationOrigin.y - self.pointerY + offsetY;\n\t\t\t\t\t\tstartElementX = self.x; //starting rotation (x always refers to rotation in type:\"rotation\", measured in degrees)\n\t\t\t\t\t\tstartElementY = self.y = Math.atan2(y, x) * _RAD2DEG;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t//parent = !isFixed && target.parentNode;\n\t\t\t\t\t\t//startScrollTop = parent ? parent.scrollTop || 0 : 0;\n\t\t\t\t\t\t//startScrollLeft = parent ? parent.scrollLeft || 0 : 0;\n\t\t\t\t\t\tstartElementY = getPropAsNum(yProp, \"px\"); //record the starting top and left values so that we can just add the mouse's movement to them later.\n\t\t\t\t\t\tstartElementX = getPropAsNum(xProp, \"px\");\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (hasBounds && edgeTolerance) {\n\t\t\t\t\tif (startElementX > maxX) {\n\t\t\t\t\t\tstartElementX = maxX + (startElementX - maxX) / edgeTolerance;\n\t\t\t\t\t} else if (startElementX < minX) {\n\t\t\t\t\t\tstartElementX = minX - (minX - startElementX) / edgeTolerance;\n\t\t\t\t\t}\n\t\t\t\t\tif (!rotationMode) {\n\t\t\t\t\t\tif (startElementY > maxY) {\n\t\t\t\t\t\t\tstartElementY = maxY + (startElementY - maxY) / edgeTolerance;\n\t\t\t\t\t\t} else if (startElementY < minY) {\n\t\t\t\t\t\t\tstartElementY = minY - (minY - startElementY) / edgeTolerance;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tself.startX = startElementX = _round(startElementX);\n\t\t\t\tself.startY = startElementY = _round(startElementY);\n\t\t\t},\n\n\t\t\tisTweening = () => self.tween && self.tween.isActive(),\n\n\t\t\tremovePlaceholder = () => {\n\t\t\t\tif (_placeholderDiv.parentNode && !isTweening() && !self.isDragging) { //_placeholderDiv just props open auto-scrolling containers so they don't collapse as the user drags left/up. We remove it after dragging (and throwing, if necessary) finishes.\n\t\t\t\t\t_placeholderDiv.parentNode.removeChild(_placeholderDiv);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t//called when the mouse is pressed (or touch starts)\n\t\t\tonPress = (e, force) => {\n\t\t\t\tlet i;\n\t\t\t\tif (!enabled || self.isPressed || !e || ((e.type === \"mousedown\" || e.type === \"pointerdown\") && !force && _getTime() - clickTime < 30 && _touchEventLookup[self.pointerEvent.type])) { //when we DON'T preventDefault() in order to accommodate touch-scrolling and the user just taps, many browsers also fire a mousedown/mouseup sequence AFTER the touchstart/touchend sequence, thus it'd result in two quick \"click\" events being dispatched. This line senses that condition and halts it on the subsequent mousedown.\n\t\t\t\t\tisPreventingDefault && e && enabled && _preventDefault(e); // in some browsers, we must listen for multiple event types like touchstart, pointerdown, mousedown. The first time this function is called, we record whether or not we _preventDefault() so that on duplicate calls, we can do the same if necessary.\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tinterrupted = isTweening();\n\t\t\t\tdragged = false; // we need to track whether or not it was dragged in this interaction so that if, for example, the user calls .endDrag() to FORCE it to stop and then they keep the mouse pressed down and eventually release, that would normally cause an onClick but we have to skip it in that case if there was dragging that occurred.\n\t\t\t\tself.pointerEvent = e;\n\t\t\t\tif (_touchEventLookup[e.type]) { //note: on iOS, BOTH touchmove and mousemove are dispatched, but the mousemove has pageY and pageX of 0 which would mess up the calculations and needlessly hurt performance.\n\t\t\t\t\ttouchEventTarget = ~e.type.indexOf(\"touch\") ? (e.currentTarget || e.target) : ownerDoc; //pointer-based touches (for Microsoft browsers) don't remain locked to the original target like other browsers, so we must use the document instead. The event type would be \"MSPointerDown\" or \"pointerdown\".\n\t\t\t\t\t_addListener(touchEventTarget, \"touchend\", onRelease);\n\t\t\t\t\t_addListener(touchEventTarget, \"touchmove\", onMove); // possible future change if PointerEvents are more standardized: https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture\n\t\t\t\t\t_addListener(touchEventTarget, \"touchcancel\", onRelease);\n\t\t\t\t\t_addListener(ownerDoc, \"touchstart\", _onMultiTouchDocument);\n\t\t\t\t} else {\n\t\t\t\t\ttouchEventTarget = null;\n\t\t\t\t\t_addListener(ownerDoc, \"mousemove\", onMove); //attach these to the document instead of the box itself so that if the user's mouse moves too quickly (and off of the box), things still work.\n\t\t\t\t}\n\t\t\t\ttouchDragAxis = null;\n\t\t\t\tif (!_supportsPointer || !touchEventTarget) {\n\t\t\t\t\t_addListener(ownerDoc, \"mouseup\", onRelease);\n\t\t\t\t\te && e.target && _addListener(e.target, \"mouseup\", onRelease); //we also have to listen directly on the element because some browsers don't bubble up the event to the _doc on elements with contentEditable=\"true\"\n\t\t\t\t}\n\t\t\t\tisClicking = (isClickable.call(self, e.target) && vars.dragClickables === false && !force);\n\t\t\t\tif (isClicking) {\n\t\t\t\t\t_addListener(e.target, \"change\", onRelease); //in some browsers, when you mousedown on a <select> element, no mouseup gets dispatched! So we listen for a \"change\" event instead.\n\t\t\t\t\t_dispatchEvent(self, \"pressInit\", \"onPressInit\");\n\t\t\t\t\t_dispatchEvent(self, \"press\", \"onPress\");\n\t\t\t\t\t_setSelectable(triggers, true); //accommodates things like inputs and elements with contentEditable=\"true\" (otherwise user couldn't drag to select text)\n\t\t\t\t\tisPreventingDefault = false;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tallowNativeTouchScrolling = (!touchEventTarget || allowX === allowY || self.vars.allowNativeTouchScrolling === false || (self.vars.allowContextMenu && e && (e.ctrlKey || e.which > 2))) ? false : allowX ? \"y\" : \"x\"; //note: in Chrome, right-clicking (for a context menu) fires onPress and it doesn't have the event.which set properly, so we must look for event.ctrlKey. If the user wants to allow context menus we should of course sense it here and not allow native touch scrolling.\n\t\t\t\tisPreventingDefault = !allowNativeTouchScrolling && !self.allowEventDefault;\n\t\t\t\tif (isPreventingDefault) {\n\t\t\t\t\t_preventDefault(e);\n\t\t\t\t\t_addListener(_win, \"touchforcechange\", _preventDefault); //works around safari bug: https://gsap.com/forums/topic/21450-draggable-in-iframe-on-mobile-is-buggy/\n\t\t\t\t}\n\t\t\t\tif (e.changedTouches) { //touch events store the data slightly differently\n\t\t\t\t\te = touch = e.changedTouches[0];\n\t\t\t\t\ttouchID = e.identifier;\n\t\t\t\t} else if (e.pointerId) {\n\t\t\t\t\ttouchID = e.pointerId; //for some Microsoft browsers\n\t\t\t\t} else {\n\t\t\t\t\ttouch = touchID = null;\n\t\t\t\t}\n\t\t\t\t_dragCount++;\n\t\t\t\t_addToRenderQueue(render); //causes the Draggable to render on each \"tick\" of gsap.ticker (performance optimization - updating values in a mousemove can cause them to happen too frequently, like multiple times between frame redraws which is wasteful, and it also prevents values from updating properly in IE8)\n\t\t\t\tstartPointerY = self.pointerY = e.pageY; //record the starting x and y so that we can calculate the movement from the original in _onMouseMove\n\t\t\t\tstartPointerX = self.pointerX = e.pageX;\n\t\t\t\t_dispatchEvent(self, \"pressInit\", \"onPressInit\");\n\t\t\t\tif (allowNativeTouchScrolling || self.autoScroll) {\n\t\t\t\t\t_recordMaxScrolls(target.parentNode);\n\t\t\t\t}\n\t\t\t\tif (target.parentNode && self.autoScroll && !scrollProxy && !rotationMode && target.parentNode._gsMaxScrollX && !_placeholderDiv.parentNode && !target.getBBox) { //add a placeholder div to prevent the parent container from collapsing when the user drags the element left.\n\t\t\t\t\t_placeholderDiv.style.width = target.parentNode.scrollWidth + \"px\";\n\t\t\t\t\ttarget.parentNode.appendChild(_placeholderDiv);\n\t\t\t\t}\n\t\t\t\trecordStartPositions();\n\t\t\t\tself.tween && self.tween.kill();\n\t\t\t\tself.isThrowing = false;\n\t\t\t\tgsap.killTweensOf(scrollProxy || target, killProps, true); //in case the user tries to drag it before the last tween is done.\n\t\t\t\tscrollProxy && gsap.killTweensOf(target, {scrollTo:1}, true); //just in case the original target's scroll position is being tweened somewhere else.\n\t\t\t\tself.tween = self.lockedAxis = null;\n\t\t\t\tif (vars.zIndexBoost || (!rotationMode && !scrollProxy && vars.zIndexBoost !== false)) {\n\t\t\t\t\ttarget.style.zIndex = Draggable.zIndex++;\n\t\t\t\t}\n\t\t\t\tself.isPressed = true;\n\t\t\t\thasDragCallback = !!(vars.onDrag || self._listeners.drag);\n\t\t\t\thasMoveCallback = !!(vars.onMove || self._listeners.move);\n\t\t\t\tif (vars.cursor !== false || vars.activeCursor) {\n\t\t\t\t\ti = triggers.length;\n\t\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t\tgsap.set(triggers[i], {cursor: vars.activeCursor || vars.cursor || (_defaultCursor === \"grab\" ? \"grabbing\" : _defaultCursor)});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t_dispatchEvent(self, \"press\", \"onPress\");\n\t\t\t},\n\n\t\t\t//called every time the mouse/touch moves\n\t\t\tonMove = e => {\n\t\t\t\tlet originalEvent = e,\n\t\t\t\t\ttouches, pointerX, pointerY, i, dx, dy;\n\t\t\t\tif (!enabled || _isMultiTouching || !self.isPressed || !e) {\n\t\t\t\t\tisPreventingDefault && e && enabled && _preventDefault(e); // in some browsers, we must listen for multiple event types like touchmove, pointermove, mousemove. The first time this function is called, we record whether or not we _preventDefault() so that on duplicate calls, we can do the same if necessary.\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tself.pointerEvent = e;\n\t\t\t\ttouches = e.changedTouches;\n\t\t\t\tif (touches) { //touch events store the data slightly differently\n\t\t\t\t\te = touches[0];\n\t\t\t\t\tif (e !== touch && e.identifier !== touchID) { //Usually changedTouches[0] will be what we're looking for, but in case it's not, look through the rest of the array...(and Android browsers don't reuse the event like iOS)\n\t\t\t\t\t\ti = touches.length;\n\t\t\t\t\t\twhile (--i > -1 && (e = touches[i]).identifier !== touchID && e.target !== target) {} // Some Android devices dispatch a touchstart AND pointerdown initially, and then only pointermove thus the touchID may not match because it was grabbed from the touchstart event whereas the pointer event is the one that the browser dispatches for move, so if the event target matches this Draggable's target, let it through.\n\t\t\t\t\t\tif (i < 0) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (e.pointerId && touchID && e.pointerId !== touchID) { //for some Microsoft browsers, we must attach the listener to the doc rather than the trigger so that when the finger moves outside the bounds of the trigger, things still work. So if the event we're receiving has a pointerId that doesn't match the touchID, ignore it (for multi-touch)\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (touchEventTarget && allowNativeTouchScrolling && !touchDragAxis) { //Android browsers force us to decide on the first \"touchmove\" event if we should allow the default (scrolling) behavior or preventDefault(). Otherwise, a \"touchcancel\" will be fired and then no \"touchmove\" or \"touchend\" will fire during the scrolling (no good).\n\t\t\t\t\t_point1.x = e.pageX - (isFixed ? _getDocScrollLeft(ownerDoc) : 0);\n\t\t\t\t\t_point1.y = e.pageY - (isFixed ? _getDocScrollTop(ownerDoc) : 0);\n\t\t\t\t\tmatrix && matrix.apply(_point1, _point1);\n\t\t\t\t\tpointerX = _point1.x;\n\t\t\t\t\tpointerY = _point1.y;\n\t\t\t\t\tdx = Math.abs(pointerX - startPointerX);\n\t\t\t\t\tdy = Math.abs(pointerY - startPointerY);\n\t\t\t\t\tif ((dx !== dy && (dx > minimumMovement || dy > minimumMovement)) || (_isAndroid && allowNativeTouchScrolling === touchDragAxis)) {\n\t\t\t\t\t\ttouchDragAxis = (dx > dy && allowX) ? \"x\" : \"y\";\n\t\t\t\t\t\tif (allowNativeTouchScrolling && touchDragAxis !== allowNativeTouchScrolling) {\n\t\t\t\t\t\t\t_addListener(_win, \"touchforcechange\", _preventDefault); // prevents native touch scrolling from taking over if the user started dragging in the other direction in iOS Safari\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (self.vars.lockAxisOnTouchScroll !== false && allowX && allowY) {\n\t\t\t\t\t\t\tself.lockedAxis = (touchDragAxis === \"x\") ? \"y\" : \"x\";\n\t\t\t\t\t\t\t_isFunction(self.vars.onLockAxis) && self.vars.onLockAxis.call(self, originalEvent);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (_isAndroid && allowNativeTouchScrolling === touchDragAxis) {\n\t\t\t\t\t\t\tonRelease(originalEvent);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!self.allowEventDefault && (!allowNativeTouchScrolling || (touchDragAxis && allowNativeTouchScrolling !== touchDragAxis)) && originalEvent.cancelable !== false) {\n\t\t\t\t\t_preventDefault(originalEvent);\n\t\t\t\t\tisPreventingDefault = true;\n\t\t\t\t} else if (isPreventingDefault) {\n\t\t\t\t\tisPreventingDefault = false;\n\t\t\t\t}\n\n\t\t\t\tif (self.autoScroll) {\n\t\t\t\t\tcheckAutoScrollBounds = true;\n\t\t\t\t}\n\t\t\t\tsetPointerPosition(e.pageX, e.pageY, hasMoveCallback);\n\t\t\t},\n\n\t\t\tsetPointerPosition = (pointerX, pointerY, invokeOnMove) => {\n\t\t\t\tlet dragTolerance = 1 - self.dragResistance,\n\t\t\t\t\tedgeTolerance = 1 - self.edgeResistance,\n\t\t\t\t\tprevPointerX = self.pointerX,\n\t\t\t\t\tprevPointerY = self.pointerY,\n\t\t\t\t\tprevStartElementY = startElementY,\n\t\t\t\t\tprevX = self.x,\n\t\t\t\t\tprevY = self.y,\n\t\t\t\t\tprevEndX = self.endX,\n\t\t\t\t\tprevEndY = self.endY,\n\t\t\t\t\tprevEndRotation = self.endRotation,\n\t\t\t\t\tprevDirty = dirty,\n\t\t\t\t\txChange, yChange, x, y, dif, temp;\n\t\t\t\tself.pointerX = pointerX;\n\t\t\t\tself.pointerY = pointerY;\n\t\t\t\tif (isFixed) {\n\t\t\t\t\tpointerX -= _getDocScrollLeft(ownerDoc);\n\t\t\t\t\tpointerY -= _getDocScrollTop(ownerDoc);\n\t\t\t\t}\n\t\t\t\tif (rotationMode) {\n\t\t\t\t\ty = Math.atan2(rotationOrigin.y - pointerY, pointerX - rotationOrigin.x) * _RAD2DEG;\n\t\t\t\t\tdif = self.y - y;\n\t\t\t\t\tif (dif > 180) {\n\t\t\t\t\t\tstartElementY -= 360;\n\t\t\t\t\t\tself.y = y;\n\t\t\t\t\t} else if (dif < -180) {\n\t\t\t\t\t\tstartElementY += 360;\n\t\t\t\t\t\tself.y = y;\n\t\t\t\t\t}\n\t\t\t\t\tif (self.x !== startElementX || Math.max(Math.abs(startPointerX - pointerX), Math.abs(startPointerY - pointerY)) > minimumMovement) {\n\t\t\t\t\t\tself.y = y;\n\t\t\t\t\t\tx = startElementX + (startElementY - y) * dragTolerance;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tx = startElementX;\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tif (matrix) {\n\t\t\t\t\t\ttemp = pointerX * matrix.a + pointerY * matrix.c + matrix.e;\n\t\t\t\t\t\tpointerY = pointerX * matrix.b + pointerY * matrix.d + matrix.f;\n\t\t\t\t\t\tpointerX = temp;\n\t\t\t\t\t}\n\t\t\t\t\tyChange = (pointerY - startPointerY);\n\t\t\t\t\txChange = (pointerX - startPointerX);\n\t\t\t\t\tif (yChange < minimumMovement && yChange > -minimumMovement) {\n\t\t\t\t\t\tyChange = 0;\n\t\t\t\t\t}\n\t\t\t\t\tif (xChange < minimumMovement && xChange > -minimumMovement) {\n\t\t\t\t\t\txChange = 0;\n\t\t\t\t\t}\n\t\t\t\t\tif ((self.lockAxis || self.lockedAxis) && (xChange || yChange)) {\n\t\t\t\t\t\ttemp = self.lockedAxis;\n\t\t\t\t\t\tif (!temp) {\n\t\t\t\t\t\t\tself.lockedAxis = temp = (allowX && Math.abs(xChange) > Math.abs(yChange)) ? \"y\" : allowY ? \"x\" : null;\n\t\t\t\t\t\t\tif (temp && _isFunction(self.vars.onLockAxis)) {\n\t\t\t\t\t\t\t\tself.vars.onLockAxis.call(self, self.pointerEvent);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (temp === \"y\") {\n\t\t\t\t\t\t\tyChange = 0;\n\t\t\t\t\t\t} else if (temp === \"x\") {\n\t\t\t\t\t\t\txChange = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tx = _round(startElementX + xChange * dragTolerance);\n\t\t\t\t\ty = _round(startElementY + yChange * dragTolerance);\n\t\t\t\t}\n\n\t\t\t\tif ((snapX || snapY || snapXY) && (self.x !== x || (self.y !== y && !rotationMode))) {\n\t\t\t\t\tif (snapXY) {\n\t\t\t\t\t\t_temp1.x = x;\n\t\t\t\t\t\t_temp1.y = y;\n\t\t\t\t\t\ttemp = snapXY(_temp1);\n\t\t\t\t\t\tx = _round(temp.x);\n\t\t\t\t\t\ty = _round(temp.y);\n\t\t\t\t\t}\n\t\t\t\t\tif (snapX) {\n\t\t\t\t\t\tx = _round(snapX(x));\n\t\t\t\t\t}\n\t\t\t\t\tif (snapY) {\n\t\t\t\t\t\ty = _round(snapY(y));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (hasBounds) {\n\t\t\t\t\tif (x > maxX) {\n\t\t\t\t\t\tx = maxX + Math.round((x - maxX) * edgeTolerance);\n\t\t\t\t\t} else if (x < minX) {\n\t\t\t\t\t\tx = minX + Math.round((x - minX) * edgeTolerance);\n\t\t\t\t\t}\n\t\t\t\t\tif (!rotationMode) {\n\t\t\t\t\t\tif (y > maxY) {\n\t\t\t\t\t\t\ty = Math.round(maxY + (y - maxY) * edgeTolerance);\n\t\t\t\t\t\t} else if (y < minY) {\n\t\t\t\t\t\t\ty = Math.round(minY + (y - minY) * edgeTolerance);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (self.x !== x || (self.y !== y && !rotationMode)) {\n\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\tself.endRotation = self.x = self.endX = x;\n\t\t\t\t\t\tdirty = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (allowY) {\n\t\t\t\t\t\t\tself.y = self.endY = y;\n\t\t\t\t\t\t\tdirty = true; //a flag that indicates we need to render the target next time the TweenLite.ticker dispatches a \"tick\" event (typically on a requestAnimationFrame) - this is a performance optimization (we shouldn't render on every move because sometimes many move events can get dispatched between screen refreshes, and that'd be wasteful to render every time)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (allowX) {\n\t\t\t\t\t\t\tself.x = self.endX = x;\n\t\t\t\t\t\t\tdirty = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!invokeOnMove || _dispatchEvent(self, \"move\", \"onMove\") !== false) {\n\t\t\t\t\t\tif (!self.isDragging && self.isPressed) {\n\t\t\t\t\t\t\tself.isDragging = dragged = true;\n\t\t\t\t\t\t\t_dispatchEvent(self, \"dragstart\", \"onDragStart\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else { //revert because the onMove returned false!\n\t\t\t\t\t\tself.pointerX = prevPointerX;\n\t\t\t\t\t\tself.pointerY = prevPointerY;\n\t\t\t\t\t\tstartElementY = prevStartElementY;\n\t\t\t\t\t\tself.x = prevX;\n\t\t\t\t\t\tself.y = prevY;\n\t\t\t\t\t\tself.endX = prevEndX;\n\t\t\t\t\t\tself.endY = prevEndY;\n\t\t\t\t\t\tself.endRotation = prevEndRotation;\n\t\t\t\t\t\tdirty = prevDirty;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t//called when the mouse/touch is released\n\t\t\tonRelease = (e, force) => {\n\t\t\t\tif (!enabled || !self.isPressed || (e && touchID != null && !force && ((e.pointerId && e.pointerId !== touchID && e.target !== target) || (e.changedTouches && !_hasTouchID(e.changedTouches, touchID))))) { //for some Microsoft browsers, we must attach the listener to the doc rather than the trigger so that when the finger moves outside the bounds of the trigger, things still work. So if the event we're receiving has a pointerId that doesn't match the touchID, ignore it (for multi-touch)\n\t\t\t\t\tisPreventingDefault && e && enabled && _preventDefault(e); // in some browsers, we must listen for multiple event types like touchend, pointerup, mouseup. The first time this function is called, we record whether or not we _preventDefault() so that on duplicate calls, we can do the same if necessary.\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tself.isPressed = false;\n\t\t\t\tlet originalEvent = e,\n\t\t\t\t\twasDragging = self.isDragging,\n\t\t\t\t\tisContextMenuRelease = (self.vars.allowContextMenu && e && (e.ctrlKey || e.which > 2)),\n\t\t\t\t\tplaceholderDelayedCall = gsap.delayedCall(0.001, removePlaceholder),\n\t\t\t\t\ttouches, i, syntheticEvent, eventTarget, syntheticClick;\n\t\t\t\tif (touchEventTarget) {\n\t\t\t\t\t_removeListener(touchEventTarget, \"touchend\", onRelease);\n\t\t\t\t\t_removeListener(touchEventTarget, \"touchmove\", onMove);\n\t\t\t\t\t_removeListener(touchEventTarget, \"touchcancel\", onRelease);\n\t\t\t\t\t_removeListener(ownerDoc, \"touchstart\", _onMultiTouchDocument);\n\t\t\t\t} else {\n\t\t\t\t\t_removeListener(ownerDoc, \"mousemove\", onMove);\n\t\t\t\t}\n\t\t\t\t_removeListener(_win, \"touchforcechange\", _preventDefault);\n\t\t\t\tif (!_supportsPointer || !touchEventTarget) {\n\t\t\t\t\t_removeListener(ownerDoc, \"mouseup\", onRelease);\n\t\t\t\t\te && e.target && _removeListener(e.target, \"mouseup\", onRelease);\n\t\t\t\t}\n\t\t\t\tdirty = false;\n\t\t\t\tif (wasDragging) {\n\t\t\t\t\tdragEndTime = _lastDragTime = _getTime();\n\t\t\t\t\tself.isDragging = false;\n\t\t\t\t}\n\t\t\t\t_removeFromRenderQueue(render);\n\t\t\t\tif (isClicking && !isContextMenuRelease) {\n\t\t\t\t\tif (e) {\n\t\t\t\t\t\t_removeListener(e.target, \"change\", onRelease);\n\t\t\t\t\t\tself.pointerEvent = originalEvent;\n\t\t\t\t\t}\n\t\t\t\t\t_setSelectable(triggers, false);\n\t\t\t\t\t_dispatchEvent(self, \"release\", \"onRelease\");\n\t\t\t\t\t_dispatchEvent(self, \"click\", \"onClick\");\n\t\t\t\t\tisClicking = false;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ti = triggers.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\t_setStyle(triggers[i], \"cursor\", vars.cursor || (vars.cursor !== false ? _defaultCursor : null));\n\t\t\t\t}\n\t\t\t\t_dragCount--;\n\t\t\t\tif (e) {\n\t\t\t\t\ttouches = e.changedTouches;\n\t\t\t\t\tif (touches) { //touch events store the data slightly differently\n\t\t\t\t\t\te = touches[0];\n\t\t\t\t\t\tif (e !== touch && e.identifier !== touchID) { //Usually changedTouches[0] will be what we're looking for, but in case it's not, look through the rest of the array...(and Android browsers don't reuse the event like iOS)\n\t\t\t\t\t\t\ti = touches.length;\n\t\t\t\t\t\t\twhile (--i > -1 && (e = touches[i]).identifier !== touchID && e.target !== target) {}\n\t\t\t\t\t\t\tif (i < 0 && !force) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tself.pointerEvent = originalEvent;\n\t\t\t\t\tself.pointerX = e.pageX;\n\t\t\t\t\tself.pointerY = e.pageY;\n\t\t\t\t}\n\t\t\t\tif (isContextMenuRelease && originalEvent) {\n\t\t\t\t\t_preventDefault(originalEvent);\n\t\t\t\t\tisPreventingDefault = true;\n\t\t\t\t\t_dispatchEvent(self, \"release\", \"onRelease\");\n\t\t\t\t} else if (originalEvent && !wasDragging) {\n\t\t\t\t\tisPreventingDefault = false;\n\t\t\t\t\tif (interrupted && (vars.snap || vars.bounds)) { //otherwise, if the user clicks on the object while it's animating to a snapped position, and then releases without moving 3 pixels, it will just stay there (it should animate/snap)\n\t\t\t\t\t\tanimate(vars.inertia || vars.throwProps);\n\t\t\t\t\t}\n\t\t\t\t\t_dispatchEvent(self, \"release\", \"onRelease\");\n\t\t\t\t\tif ((!_isAndroid || originalEvent.type !== \"touchmove\") && originalEvent.type.indexOf(\"cancel\") === -1) { //to accommodate native scrolling on Android devices, we have to immediately call onRelease() on the first touchmove event, but that shouldn't trigger a \"click\".\n\t\t\t\t\t\t_dispatchEvent(self, \"click\", \"onClick\");\n\t\t\t\t\t\tif (_getTime() - clickTime < 300) {\n\t\t\t\t\t\t\t_dispatchEvent(self, \"doubleclick\", \"onDoubleClick\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\teventTarget = originalEvent.target || target; //old IE uses srcElement\n\t\t\t\t\t\tclickTime = _getTime();\n\t\t\t\t\t\tsyntheticClick = () => { // some browsers (like Firefox) won't trust script-generated clicks, so if the user tries to click on a video to play it, for example, it simply won't work. Since a regular \"click\" event will most likely be generated anyway (one that has its isTrusted flag set to true), we must slightly delay our script-generated click so that the \"real\"/trusted one is prioritized. Remember, when there are duplicate events in quick succession, we suppress all but the first one. Some browsers don't even trigger the \"real\" one at all, so our synthetic one is a safety valve that ensures that no matter what, a click event does get dispatched.\n\t\t\t\t\t\t\tif (clickTime !== clickDispatch && self.enabled() && !self.isPressed && !originalEvent.defaultPrevented) {\n\t\t\t\t\t\t\t\tif (eventTarget.click) { //some browsers (like mobile Safari) don't properly trigger the click event\n\t\t\t\t\t\t\t\t\teventTarget.click();\n\t\t\t\t\t\t\t\t} else if (ownerDoc.createEvent) {\n\t\t\t\t\t\t\t\t\tsyntheticEvent = ownerDoc.createEvent(\"MouseEvents\");\n\t\t\t\t\t\t\t\t\tsyntheticEvent.initMouseEvent(\"click\", true, true, _win, 1, self.pointerEvent.screenX, self.pointerEvent.screenY, self.pointerX, self.pointerY, false, false, false, false, 0, null);\n\t\t\t\t\t\t\t\t\teventTarget.dispatchEvent(syntheticEvent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tif (!_isAndroid && !originalEvent.defaultPrevented) { //iOS Safari requires the synthetic click to happen immediately or else it simply won't work, but Android doesn't play nice.\n\t\t\t\t\t\t\tgsap.delayedCall(0.05, syntheticClick); //in addition to the iOS bug workaround, there's a Firefox issue with clicking on things like a video to play, so we must fake a click event in a slightly delayed fashion. Previously, we listened for the \"click\" event with \"capture\" false which solved the video-click-to-play issue, but it would allow the \"click\" event to be dispatched twice like if you were using a jQuery.click() because that was handled in the capture phase, thus we had to switch to the capture phase to avoid the double-dispatching, but do the delayed synthetic click. Don't fire it too fast (like 0.00001) because we want to give the native event a chance to fire first as it's \"trusted\".\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tanimate(vars.inertia || vars.throwProps); //will skip if inertia/throwProps isn't defined or InertiaPlugin isn't loaded.\n\t\t\t\t\tif (!self.allowEventDefault && originalEvent && (vars.dragClickables !== false || !isClickable.call(self, originalEvent.target)) && wasDragging && (!allowNativeTouchScrolling || (touchDragAxis && allowNativeTouchScrolling === touchDragAxis)) && originalEvent.cancelable !== false) {\n\t\t\t\t\t\tisPreventingDefault = true;\n\t\t\t\t\t\t_preventDefault(originalEvent);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tisPreventingDefault = false;\n\t\t\t\t\t}\n\t\t\t\t\t_dispatchEvent(self, \"release\", \"onRelease\");\n\t\t\t\t}\n\t\t\t\tisTweening() && placeholderDelayedCall.duration( self.tween.duration() ); //sync the timing so that the placeholder DIV gets\n\t\t\t\twasDragging && _dispatchEvent(self, \"dragend\", \"onDragEnd\");\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\tupdateScroll = e => {\n\t\t\t\tif (e && self.isDragging && !scrollProxy) {\n\t\t\t\t\tlet parent = e.target || target.parentNode,\n\t\t\t\t\t\tdeltaX = parent.scrollLeft - parent._gsScrollX,\n\t\t\t\t\t\tdeltaY = parent.scrollTop - parent._gsScrollY;\n\t\t\t\t\tif (deltaX || deltaY) {\n\t\t\t\t\t\tif (matrix) {\n\t\t\t\t\t\t\tstartPointerX -= deltaX * matrix.a + deltaY * matrix.c;\n\t\t\t\t\t\t\tstartPointerY -= deltaY * matrix.d + deltaX * matrix.b;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstartPointerX -= deltaX;\n\t\t\t\t\t\t\tstartPointerY -= deltaY;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparent._gsScrollX += deltaX;\n\t\t\t\t\t\tparent._gsScrollY += deltaY;\n\t\t\t\t\t\tsetPointerPosition(self.pointerX, self.pointerY);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tonClick = e => { //this was a huge pain in the neck to align all the various browsers and their behaviors. Chrome, Firefox, Safari, Opera, Android, and Microsoft Edge all handle events differently! Some will only trigger native behavior (like checkbox toggling) from trusted events. Others don't even support isTrusted, but require 2 events to flow through before triggering native behavior. Edge treats everything as trusted but also mandates that 2 flow through to trigger the correct native behavior.\n\t\t\t\tlet time = _getTime(),\n\t\t\t\t\trecentlyClicked = (time - clickTime < 100),\n\t\t\t\t\trecentlyDragged = (time - dragEndTime < 50),\n\t\t\t\t\talreadyDispatched = (recentlyClicked && clickDispatch === clickTime),\n\t\t\t\t\tdefaultPrevented = (self.pointerEvent && self.pointerEvent.defaultPrevented),\n\t\t\t\t\talreadyDispatchedTrusted = (recentlyClicked && trustedClickDispatch === clickTime),\n\t\t\t\t\ttrusted = e.isTrusted || (e.isTrusted == null && recentlyClicked && alreadyDispatched); //note: Safari doesn't support isTrusted, and it won't properly execute native behavior (like toggling checkboxes) on the first synthetic \"click\" event - we must wait for the 2nd and treat it as trusted (but stop propagation at that point). Confusing, I know. Don't you love cross-browser compatibility challenges?\n\t\t\t\tif ((alreadyDispatched || (recentlyDragged && self.vars.suppressClickOnDrag !== false) ) && e.stopImmediatePropagation) {\n\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t}\n\t\t\t\tif (recentlyClicked && !(self.pointerEvent && self.pointerEvent.defaultPrevented) && (!alreadyDispatched || (trusted && !alreadyDispatchedTrusted))) { //let the first click pass through unhindered. Let the next one only if it's trusted, then no more (stop quick-succession ones)\n\t\t\t\t\tif (trusted && alreadyDispatched) {\n\t\t\t\t\t\ttrustedClickDispatch = clickTime;\n\t\t\t\t\t}\n\t\t\t\t\tclickDispatch = clickTime;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (self.isPressed || recentlyDragged || recentlyClicked) {\n\t\t\t\t\tif (!trusted || !e.detail || !recentlyClicked || defaultPrevented) {\n\t\t\t\t\t\t_preventDefault(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!recentlyClicked && !recentlyDragged && !dragged) { // for script-triggered event dispatches, like element.click()\n\t\t\t\t\te && e.target && (self.pointerEvent = e);\n\t\t\t\t\t_dispatchEvent(self, \"click\", \"onClick\");\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tlocalizePoint = p => matrix ? {x:p.x * matrix.a + p.y * matrix.c + matrix.e, y:p.x * matrix.b + p.y * matrix.d + matrix.f} : {x:p.x, y:p.y};\n\n\t\told = Draggable.get(target);\n\t\told && old.kill(); // avoids duplicates (an element can only be controlled by one Draggable)\n\n\t\t//give the user access to start/stop dragging...\n\t\tthis.startDrag = (event, align) => {\n\t\t\tlet r1, r2, p1, p2;\n\t\t\tonPress(event || self.pointerEvent, true);\n\t\t\t//if the pointer isn't on top of the element, adjust things accordingly\n\t\t\tif (align && !self.hitTest(event || self.pointerEvent)) {\n\t\t\t\tr1 = _parseRect(event || self.pointerEvent);\n\t\t\t\tr2 = _parseRect(target);\n\t\t\t\tp1 = localizePoint({x:r1.left + r1.width / 2, y:r1.top + r1.height / 2});\n\t\t\t\tp2 = localizePoint({x:r2.left + r2.width / 2, y:r2.top + r2.height / 2});\n\t\t\t\tstartPointerX -= p1.x - p2.x;\n\t\t\t\tstartPointerY -= p1.y - p2.y;\n\t\t\t}\n\t\t\tif (!self.isDragging) {\n\t\t\t\tself.isDragging = dragged = true;\n\t\t\t\t_dispatchEvent(self, \"dragstart\", \"onDragStart\");\n\t\t\t}\n\t\t};\n\t\tthis.drag = onMove;\n\t\tthis.endDrag = e =>\tonRelease(e || self.pointerEvent, true);\n\t\tthis.timeSinceDrag = () => self.isDragging ? 0 : (_getTime() - dragEndTime) / 1000;\n\t\tthis.timeSinceClick = () => (_getTime() - clickTime) / 1000;\n\t\tthis.hitTest = (target, threshold) => Draggable.hitTest(self.target, target, threshold);\n\n\t\tthis.getDirection = (from, diagonalThreshold) => { //from can be \"start\" (default), \"velocity\", or an element\n\t\t\tlet mode = (from === \"velocity\" && InertiaPlugin) ? from : (_isObject(from) && !rotationMode) ? \"element\" : \"start\",\n\t\t\t\txChange, yChange, ratio, direction, r1, r2;\n\t\t\tif (mode === \"element\") {\n\t\t\t\tr1 = _parseRect(self.target);\n\t\t\t\tr2 = _parseRect(from);\n\t\t\t}\n\t\t\txChange = (mode === \"start\") ? self.x - startElementX : (mode === \"velocity\") ? InertiaPlugin.getVelocity(target, xProp) : (r1.left + r1.width / 2) - (r2.left + r2.width / 2);\n\t\t\tif (rotationMode) {\n\t\t\t\treturn xChange < 0 ? \"counter-clockwise\" : \"clockwise\";\n\t\t\t} else {\n\t\t\t\tdiagonalThreshold = diagonalThreshold || 2;\n\t\t\t\tyChange = (mode === \"start\") ? self.y - startElementY : (mode === \"velocity\") ? InertiaPlugin.getVelocity(target, yProp) : (r1.top + r1.height / 2) - (r2.top + r2.height / 2);\n\t\t\t\tratio = Math.abs(xChange / yChange);\n\t\t\t\tdirection = (ratio < 1 / diagonalThreshold) ? \"\" : (xChange < 0) ? \"left\" : \"right\";\n\t\t\t\tif (ratio < diagonalThreshold) {\n\t\t\t\t\tif (direction !== \"\") {\n\t\t\t\t\t\tdirection += \"-\";\n\t\t\t\t\t}\n\t\t\t\t\tdirection += (yChange < 0) ? \"up\" : \"down\";\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn direction;\n\t\t};\n\n\t\tthis.applyBounds = (newBounds, sticky) => {\n\t\t\tlet x, y, forceZeroVelocity, e, parent, isRoot;\n\t\t\tif (newBounds && vars.bounds !== newBounds) {\n\t\t\t\tvars.bounds = newBounds;\n\t\t\t\treturn self.update(true, sticky);\n\t\t\t}\n\t\t\tsyncXY(true);\n\t\t\tcalculateBounds();\n\t\t\tif (hasBounds && !isTweening()) {\n\t\t\t\tx = self.x;\n\t\t\t\ty = self.y;\n\t\t\t\tif (x > maxX) {\n\t\t\t\t\tx = maxX;\n\t\t\t\t} else if (x < minX) {\n\t\t\t\t\tx = minX;\n\t\t\t\t}\n\t\t\t\tif (y > maxY) {\n\t\t\t\t\ty = maxY;\n\t\t\t\t} else if (y < minY) {\n\t\t\t\t\ty = minY;\n\t\t\t\t}\n\t\t\t\tif (self.x !== x || self.y !== y) {\n\t\t\t\t\tforceZeroVelocity = true;\n\t\t\t\t\tself.x = self.endX = x;\n\t\t\t\t\tif (rotationMode) {\n\t\t\t\t\t\tself.endRotation = x;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.y = self.endY = y;\n\t\t\t\t\t}\n\t\t\t\t\tdirty = true;\n\t\t\t\t\trender(true);\n\t\t\t\t\tif (self.autoScroll && !self.isDragging) {\n\t\t\t\t\t\t_recordMaxScrolls(target.parentNode);\n\t\t\t\t\t\te = target;\n\t\t\t\t\t\t_windowProxy.scrollTop = ((_win.pageYOffset != null) ? _win.pageYOffset : (ownerDoc.documentElement.scrollTop != null) ? ownerDoc.documentElement.scrollTop : ownerDoc.body.scrollTop);\n\t\t\t\t\t\t_windowProxy.scrollLeft = ((_win.pageXOffset != null) ? _win.pageXOffset : (ownerDoc.documentElement.scrollLeft != null) ? ownerDoc.documentElement.scrollLeft : ownerDoc.body.scrollLeft);\n\t\t\t\t\t\twhile (e && !isRoot) { //walk up the chain and sense wherever the scrollTop/scrollLeft exceeds the maximum.\n\t\t\t\t\t\t\tisRoot = _isRoot(e.parentNode);\n\t\t\t\t\t\t\tparent = isRoot ? _windowProxy : e.parentNode;\n\t\t\t\t\t\t\tif (allowY && parent.scrollTop > parent._gsMaxScrollY) {\n\t\t\t\t\t\t\t\tparent.scrollTop = parent._gsMaxScrollY;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (allowX && parent.scrollLeft > parent._gsMaxScrollX) {\n\t\t\t\t\t\t\t\tparent.scrollLeft = parent._gsMaxScrollX;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\te = parent;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (self.isThrowing && (forceZeroVelocity || self.endX > maxX || self.endX < minX || self.endY > maxY || self.endY < minY)) {\n\t\t\t\t\tanimate(vars.inertia || vars.throwProps, forceZeroVelocity);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn self;\n\t\t};\n\n\t\tthis.update = (applyBounds, sticky, ignoreExternalChanges) => {\n\t\t\tif (sticky && self.isPressed) { // in case the element was repositioned in the document flow, thus its x/y may be identical but its position is actually quite different.\n\t\t\t\tlet m = getGlobalMatrix(target),\n\t\t\t\t\tp = innerMatrix.apply({x: self.x - startElementX, y: self.y - startElementY}),\n\t\t\t\t\tm2 = getGlobalMatrix(target.parentNode, true);\n\t\t\t\tm2.apply({x: m.e - p.x, y: m.f - p.y}, p);\n\t\t\t\tself.x -= p.x - m2.e;\n\t\t\t\tself.y -= p.y - m2.f;\n\t\t\t\trender(true);\n\t\t\t\trecordStartPositions();\n\t\t\t}\n\t\t\tlet { x, y } = self;\n\t\t\tupdateMatrix(!sticky);\n\t\t\tif (applyBounds) {\n\t\t\t\tself.applyBounds();\n\t\t\t} else {\n\t\t\t\tdirty && ignoreExternalChanges && render(true);\n\t\t\t\tsyncXY(true);\n\t\t\t}\n\t\t\tif (sticky) {\n\t\t\t\tsetPointerPosition(self.pointerX, self.pointerY);\n\t\t\t\tdirty && render(true);\n\t\t\t}\n\t\t\tif (self.isPressed && !sticky && ((allowX && Math.abs(x - self.x) > 0.01) || (allowY && (Math.abs(y - self.y) > 0.01 && !rotationMode)))) {\n\t\t\t\trecordStartPositions();\n\t\t\t}\n\t\t\tif (self.autoScroll) {\n\t\t\t\t_recordMaxScrolls(target.parentNode, self.isDragging);\n\t\t\t\tcheckAutoScrollBounds = self.isDragging;\n\t\t\t\trender(true);\n\t\t\t\t//in case reparenting occurred.\n\t\t\t\t_removeScrollListener(target, updateScroll);\n\t\t\t\t_addScrollListener(target, updateScroll);\n\t\t\t}\n\t\t\treturn self;\n\t\t};\n\n\t\tthis.enable = type => {\n\t\t\tlet setVars = {lazy: true},\n\t\t\t\tid, i, trigger;\n\t\t\tif (vars.cursor !== false) {\n\t\t\t\tsetVars.cursor = vars.cursor || _defaultCursor;\n\t\t\t}\n\t\t\tif (gsap.utils.checkPrefix(\"touchCallout\")) {\n\t\t\t\tsetVars.touchCallout = \"none\";\n\t\t\t}\n\t\t\tif (type !== \"soft\") {\n\t\t\t\t_setTouchActionForAllDescendants(triggers, (allowX === allowY) ? \"none\" : (vars.allowNativeTouchScrolling && (target.scrollHeight === target.clientHeight) === (target.scrollWidth === target.clientHeight)) || vars.allowEventDefault ? \"manipulation\" : allowX ? \"pan-y\" : \"pan-x\"); // Some browsers like Internet Explorer will fire a pointercancel event when the user attempts to drag when touchAction is \"manipulate\" because it's perceived as a pan. If the element has scrollable content in only one direction, we should use pan-x or pan-y accordingly so that the pointercancel doesn't prevent dragging.\n\t\t\t\ti = triggers.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\ttrigger = triggers[i];\n\t\t\t\t\t_supportsPointer || _addListener(trigger, \"mousedown\", onPress);\n\t\t\t\t\t_addListener(trigger, \"touchstart\", onPress);\n\t\t\t\t\t_addListener(trigger, \"click\", onClick, true); // note: used to pass true for capture but it prevented click-to-play-video functionality in Firefox.\n\t\t\t\t\tgsap.set(trigger, setVars);\n\t\t\t\t\tif (trigger.getBBox && trigger.ownerSVGElement && allowX !== allowY) { // a bug in chrome doesn't respect touch-action on SVG elements - it only works if we set it on the parent SVG.\n\t\t\t\t\t\tgsap.set(trigger.ownerSVGElement, {touchAction: vars.allowNativeTouchScrolling || vars.allowEventDefault ? \"manipulation\" : allowX ? \"pan-y\" : \"pan-x\"});\n\t\t\t\t\t}\n\t\t\t\t\tvars.allowContextMenu || _addListener(trigger, \"contextmenu\", onContextMenu);\n\t\t\t\t}\n\t\t\t\t_setSelectable(triggers, false);\n\t\t\t}\n\t\t\t_addScrollListener(target, updateScroll);\n\t\t\tenabled = true;\n\t\t\tif (InertiaPlugin && type !== \"soft\") {\n\t\t\t\tInertiaPlugin.track(scrollProxy || target, (xyMode ? \"x,y\" : rotationMode ? \"rotation\" : \"top,left\"));\n\t\t\t}\n\t\t\ttarget._gsDragID = id = target._gsDragID || (\"d\" + (_lookupCount++));\n\t\t\t_lookup[id] = self;\n\t\t\tif (scrollProxy) {\n\t\t\t\tscrollProxy.enable();\n\t\t\t\tscrollProxy.element._gsDragID = id;\n\t\t\t}\n\t\t\t(vars.bounds || rotationMode) && recordStartPositions();\n\t\t\tvars.bounds && self.applyBounds();\n\t\t\treturn self;\n\t\t};\n\n\t\tthis.disable = type => {\n\t\t\tlet dragging = self.isDragging,\n\t\t\t\ti = triggers.length,\n\t\t\t\ttrigger;\n\t\t\twhile (--i > -1) {\n\t\t\t\t_setStyle(triggers[i], \"cursor\", null);\n\t\t\t}\n\t\t\tif (type !== \"soft\") {\n\t\t\t\t_setTouchActionForAllDescendants(triggers, null);\n\t\t\t\ti = triggers.length;\n\t\t\t\twhile (--i > -1) {\n\t\t\t\t\ttrigger = triggers[i];\n\t\t\t\t\t_setStyle(trigger, \"touchCallout\", null);\n\t\t\t\t\t_removeListener(trigger, \"mousedown\", onPress);\n\t\t\t\t\t_removeListener(trigger, \"touchstart\", onPress);\n\t\t\t\t\t_removeListener(trigger, \"click\", onClick, true);\n\t\t\t\t\t_removeListener(trigger, \"contextmenu\", onContextMenu);\n\t\t\t\t}\n\t\t\t\t_setSelectable(triggers, true);\n\t\t\t\tif (touchEventTarget) {\n\t\t\t\t\t_removeListener(touchEventTarget, \"touchcancel\", onRelease);\n\t\t\t\t\t_removeListener(touchEventTarget, \"touchend\", onRelease);\n\t\t\t\t\t_removeListener(touchEventTarget, \"touchmove\", onMove);\n\t\t\t\t}\n\t\t\t\t_removeListener(ownerDoc, \"mouseup\", onRelease);\n\t\t\t\t_removeListener(ownerDoc, \"mousemove\", onMove);\n\t\t\t}\n\t\t\t_removeScrollListener(target, updateScroll);\n\t\t\tenabled = false;\n\t\t\tif (InertiaPlugin && type !== \"soft\") {\n\t\t\t\tInertiaPlugin.untrack(scrollProxy || target, (xyMode ? \"x,y\" : rotationMode ? \"rotation\" : \"top,left\"));\n\t\t\t\tself.tween && self.tween.kill();\n\t\t\t}\n\t\t\tscrollProxy && scrollProxy.disable();\n\t\t\t_removeFromRenderQueue(render);\n\t\t\tself.isDragging = self.isPressed = isClicking = false;\n\t\t\tdragging && _dispatchEvent(self, \"dragend\", \"onDragEnd\");\n\t\t\treturn self;\n\t\t};\n\n\t\tthis.enabled = function(value, type) {\n\t\t\treturn arguments.length ? (value ? self.enable(type) : self.disable(type)) : enabled;\n\t\t};\n\n\t\tthis.kill = function() {\n\t\t\tself.isThrowing = false;\n\t\t\tself.tween && self.tween.kill();\n\t\t\tself.disable();\n\t\t\tgsap.set(triggers, {clearProps:\"userSelect\"});\n\t\t\tdelete _lookup[target._gsDragID];\n\t\t\treturn self;\n\t\t};\n\n\t\tthis.revert = function() {\n\t\t\tthis.kill();\n\t\t\tthis.styles && this.styles.revert();\n\t\t};\n\n\t\tif (~type.indexOf(\"scroll\")) {\n\t\t\tscrollProxy = this.scrollProxy = new ScrollProxy(target, _extend({onKill:function() { //ScrollProxy's onKill() gets called if/when the ScrollProxy senses that the user interacted with the scroll position manually (like using the scrollbar). IE9 doesn't fire the \"mouseup\" properly when users drag the scrollbar of an element, so this works around that issue.\n\t\t\t\t\tself.isPressed && onRelease(null);\n\t\t\t}}, vars));\n\t\t\t//a bug in many Android devices' stock browser causes scrollTop to get forced back to 0 after it is altered via JS, so we set overflow to \"hidden\" on mobile/touch devices (they hide the scroll bar anyway). That works around the bug. (This bug is discussed at https://code.google.com/p/android/issues/detail?id=19625)\n\t\t\ttarget.style.overflowY = (allowY && !_isTouchDevice) ? \"auto\" : \"hidden\";\n\t\t\ttarget.style.overflowX = (allowX && !_isTouchDevice) ? \"auto\" : \"hidden\";\n\t\t\ttarget = scrollProxy.content;\n\t\t}\n\n\t\tif (rotationMode) {\n\t\t\tkillProps.rotation = 1;\n\t\t} else {\n\t\t\tif (allowX) {\n\t\t\t\tkillProps[xProp] = 1;\n\t\t\t}\n\t\t\tif (allowY) {\n\t\t\t\tkillProps[yProp] = 1;\n\t\t\t}\n\t\t}\n\n\t\tgsCache.force3D = (\"force3D\" in vars) ? vars.force3D : true; //otherwise, normal dragging would be in 2D and then as soon as it's released and there's an inertia tween, it'd jump to 3D which can create an initial jump due to the work the browser must to do layerize it.\n\n\t\t_context(this);\n\t\tthis.enable();\n\t}\n\n\n\n\n\tstatic register(core) {\n\t\tgsap = core;\n\t\t_initCore();\n\t}\n\n\tstatic create(targets, vars) {\n\t\t_coreInitted || _initCore(true);\n\t\treturn _toArray(targets).map(target => new Draggable(target, vars));\n\t}\n\n\tstatic get(target) {\n\t\treturn _lookup[(_toArray(target)[0] || {})._gsDragID];\n\t}\n\n\tstatic timeSinceDrag() {\n\t\treturn (_getTime() - _lastDragTime) / 1000;\n\t}\n\n\tstatic hitTest(obj1, obj2, threshold) {\n\t\tif (obj1 === obj2) {\n\t\t\treturn false;\n\t\t}\n\t\tlet r1 = _parseRect(obj1),\n\t\t\tr2 = _parseRect(obj2),\n\t\t\t{ top, left, right, bottom, width, height } = r1,\n\t\t\tisOutside = (r2.left > right || r2.right < left || r2.top > bottom || r2.bottom < top),\n\t\t\toverlap, area, isRatio;\n\t\tif (isOutside || !threshold) {\n\t\t\treturn !isOutside;\n\t\t}\n\t\tisRatio = ((threshold + \"\").indexOf(\"%\") !== -1);\n\t\tthreshold = parseFloat(threshold) || 0;\n\t\toverlap = {left: Math.max(left, r2.left), top: Math.max(top, r2.top)};\n\t\toverlap.width = Math.min(right, r2.right) - overlap.left;\n\t\toverlap.height = Math.min(bottom, r2.bottom) - overlap.top;\n\t\tif (overlap.width < 0 || overlap.height < 0) {\n\t\t\treturn false;\n\t\t}\n\t\tif (isRatio) {\n\t\t\tthreshold *= 0.01;\n\t\t\tarea = overlap.width * overlap.height;\n\t\t\treturn (area >= width * height * threshold || area >= r2.width * r2.height * threshold);\n\t\t}\n\t\treturn (overlap.width > threshold && overlap.height > threshold);\n\t}\n\n}\n\n_setDefaults(Draggable.prototype, {pointerX:0, pointerY: 0, startX: 0, startY: 0, deltaX: 0, deltaY: 0, isDragging: false, isPressed: false});\n\nDraggable.zIndex = 1000;\nDraggable.version = \"3.13.0\";\n\n_getGSAP() && gsap.registerPlugin(Draggable);\n\nexport { Draggable as default };","/*!\n * GSDevTools 3.13.0\n * https://gsap.com\n *\n * @license Copyright 2008-2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license\n * @author: Jack Doyle, jack@greensock.com\n*/\n/* eslint-disable */\n\nimport { Draggable } from \"./Draggable.js\";\n\nlet gsap, _coreInitted, _doc, _docEl, _win, _recordedRoot, Animation, _rootTween, _rootInstance, _rootIsDirty, _keyboardInstance, _globalTimeline, _independentRoot, _delayedCall, _context,\n\t_recording = true,\n\t_startupPhase = true, //for the first 2 seconds, we don't record any zero-duration tweens because they're typically just setup stuff and/or the \"from\" or \"startAt\" tweens. In version 1.20.3 we started flagging those with data:\"isStart\"|\"isFromStart\" but this logic helps GSDevTools work with older versions too.\n\t_globalStartTime = 0,\n\t_windowExists = () => typeof(window) !== \"undefined\",\n\t_getGSAP = () => gsap || (_windowExists() && (gsap = window.gsap) && gsap.registerPlugin && gsap),\n\t_isString = value => typeof(value) === \"string\",\n\t_isFunction = value => typeof(value) === \"function\",\n\t_isObject = value => typeof(value) === \"object\",\n\t_isUndefined = value => typeof(value) === \"undefined\",\n\t_bonusValidated = 1, //<name>GSDevTools</name>\n\t_svgNS = \"http://www.w3.org/2000/svg\",\n\t_domNS = \"http://www.w3.org/1999/xhtml\",\n\t_idSeed = 0, //we assign an ID to each GSDevTools instance so that we can segregate the sessionStorage data accordingly.\n\t_lookup = {},\n\t_supportsStorage = (function() {\n\t\ttry {\n\t\t\tsessionStorage.setItem(\"gsTest\", \"1\");\n\t\t\tsessionStorage.removeItem(\"gsTest\");\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t}()),\n\t_parseAnimation = animationOrId => (animationOrId instanceof Animation) ? animationOrId : animationOrId ? gsap.getById(animationOrId) : null,\n\t_createElement = (type, container, cssText) => {\n\t\tlet element = _doc.createElementNS ? _doc.createElementNS(type === \"svg\" ? _svgNS : _domNS, type) : _doc.createElement(type);\n\t\tif (container) {\n\t\t\tif (_isString(container)) {\n\t\t\t\tcontainer = _doc.querySelector(container);\n\t\t\t}\n\t\t\tcontainer.appendChild(element);\n\t\t}\n\t\tif (type === \"svg\") {\n\t\t\telement.setAttribute(\"xmlns\", _svgNS);\n\t\t\telement.setAttribute(\"xmlns:xlink\", _domNS);\n\t\t}\n\t\tcssText && (element.style.cssText = cssText);\n\t\treturn element;\n\t},\n\t_clearSelection = () => {\n\t\tif (_doc.selection) {\n\t\t\t_doc.selection.empty()\n\t\t} else if (_win.getSelection) {\n\t\t\t_win.getSelection().removeAllRanges();\n\t\t}\n\t},\n\t_getChildrenOf = (timeline, includeTimelines) => {\n\t\tlet a = [],\n\t\t\tcnt = 0,\n\t\t\tTween = gsap.core.Tween,\n\t\t\ttween = timeline._first;\n\t\twhile (tween) {\n\t\t\tif (tween instanceof Tween) {\n\t\t\t\tif (tween.vars.id) {\n\t\t\t\t\ta[cnt++] = tween;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (includeTimelines && tween.vars.id) {\n\t\t\t\t\ta[cnt++] = tween;\n\t\t\t\t}\n\t\t\t\ta = a.concat(_getChildrenOf(tween, includeTimelines));\n\t\t\t\tcnt = a.length;\n\t\t\t}\n\t\t\ttween = tween._next;\n\t\t}\n\t\treturn a;\n\t},\n\t_getClippedDuration = (animation, excludeRootRepeats) => {\n\t\tlet max = 0,\n\t\t\trepeat = Math.max(0, animation._repeat),\n\t\t\tt = animation._first;\n\t\tif (!t) {\n\t\t\tmax = animation.duration();\n\t\t}\n\t\twhile (t) {\n\t\t\tmax = Math.max(max, t.totalDuration() > 999 ? t.endTime(false) : t._start + t._tDur / t._ts);\n\t\t\tt = t._next;\n\t\t}\n\t\treturn (!excludeRootRepeats && repeat) ? max * (repeat + 1) + (animation._rDelay * repeat) : max;\n\t},\n\t_globalizeTime = function(animation, rawTime) {\n\t\tlet a = animation,\n\t\t\ttime = arguments.length > 1 ? +rawTime : a.rawTime();\n\t\twhile (a) {\n\t\t\ttime = a._start + time / (a._ts || 1);\n\t\t\ta = a.parent;\n\t\t}\n\t\treturn time;\n\t},\n\t_timeToProgress = (time, animation, defaultValue, relativeProgress) => {\n\t\tlet add, i, a;\n\t\tif (_isString(time)) {\n\t\t\tif (time.charAt(1) === \"=\") {\n\t\t\t\tadd = parseInt(time.charAt(0) + \"1\", 10) * parseFloat(time.substr(2));\n\t\t\t\tif (add < 0 && relativeProgress === 0) { //if something like inTime:\"-=2\", we measure it from the END, not the beginning\n\t\t\t\t\trelativeProgress = 100;\n\t\t\t\t}\n\t\t\t\ttime = (relativeProgress / 100 * animation.duration()) + add;\n\t\t\t} else if (isNaN(time) && animation.labels && animation.labels[time] !== -1) {\n\t\t\t\ttime = animation.labels[time];\n\t\t\t} else if (animation === _recordedRoot) { //perhaps they defined an id of an animation, like \"myAnimation+=2\"\n\t\t\t\ti = time.indexOf(\"=\");\n\t\t\t\tif (i > 0) {\n\t\t\t\t\tadd = parseInt(time.charAt(i-1) + \"1\", 10) * parseFloat(time.substr(i+1));\n\t\t\t\t\ttime = time.substr(0, i-1);\n\t\t\t\t} else {\n\t\t\t\t\tadd = 0;\n\t\t\t\t}\n\t\t\t\ta = gsap.getById(time);\n\t\t\t\tif (a) {\n\t\t\t\t\ttime = _globalizeTime(a, defaultValue / 100 * a.duration()) + add;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttime = isNaN(time) ? defaultValue : parseFloat(time);\n\t\treturn Math.min(100, Math.max(0, time / animation.duration() * 100));\n\t},\n\t_addedCSS,\n\t_createRootElement = (element, minimal, css) => {\n\t\tif (!_addedCSS) {\n\t\t\t_createElement(\"style\", _docEl).innerHTML = '.gs-dev-tools{height:51px;bottom:0;left:0;right:0;display:block;position:fixed;overflow:visible;padding:0;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,avenir next,sans-serif;color:#bbbaa6}.gs-dev-tools *{box-sizing:content-box;visibility:visible}.gs-dev-tools .gs-top{position:relative;z-index:499}.gs-dev-tools .gs-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;background-color:#0e100f;height:42px;position:relative}.gs-dev-tools .timeline{position:relative;height:8px;margin-left:15px;margin-right:15px;overflow:visible}.gs-dev-tools .progress-bar,.gs-dev-tools .timeline-track{height:8px;position:absolute;top:0;left:-15px;right:-15px}.gs-dev-tools .timeline-track{background-color:#222}.gs-dev-tools .progress-bar{background:linear-gradient(114.41deg,#0ae448 20.74%,#abff84 65.5%);height:8px;top:0;width:0;pointer-events:none}.gs-dev-tools .seek-bar{width:100%;position:absolute;height:24px;top:-12px;left:0;background-color:transparent}.gs-dev-tools .in-point,.gs-dev-tools .out-point{width:15px;height:26px;position:absolute;top:-18px}.gs-dev-tools .in-point-shape{fill:#0ae448;transform:translateX(1px)}.gs-dev-tools .out-point-shape{fill:#ff8709}.gs-dev-tools .in-point{transform:translateX(-100%)}.gs-dev-tools .out-point{left:100%}.gs-dev-tools .playhead{position:absolute;top:-5px;transform:translate(-50%,0);left:0;border-radius:50%;width:16px;height:16px;background:linear-gradient(114.41deg,#0ae448 20.74%,#abff84 65.5%)}.gs-dev-tools .gs-btn-white{fill:#fffce1}.gs-dev-tools .pause{opacity:0}.gs-dev-tools .select-animation{vertical-align:middle;position:relative;padding:6px 10px}.gs-dev-tools .select-animation-container{flex-grow:4;width:40%}.gs-dev-tools .select-arrow{display:inline-block;width:12px;height:7px;margin:0 7px;transform:translate(0,-2px)}.gs-dev-tools .select-arrow-shape{stroke:currentcolor;stroke-width:2px;fill:none}.gs-dev-tools .rewind{height:14px}.gs-dev-tools .ease-border,.gs-dev-tools .rewind-path{fill:currentColor}.gs-dev-tools .play-pause{width:18px;height:18px}.gs-dev-tools .ease{width:20px;height:20px;min-width:30px;display:none}.gs-dev-tools .ease-path{fill:none;stroke:#abff84;stroke-width:2px}.gs-dev-tools .time-scale{text-align:center;min-width:30px}.gs-dev-tools .loop{width:15px}.gs-dev-tools label span{text-decoration:none}.gs-dev-tools button:focus,.gs-dev-tools select:focus{outline:0}.gs-dev-tools label{position:relative;cursor:pointer}.gs-dev-tools label.locked{text-decoration:none;cursor:auto}.gs-dev-tools label input,.gs-dev-tools label select{position:absolute;left:0;top:0;z-index:1;font:inherit;font-size:inherit;line-height:inherit;height:100%;width:100%;color:#000!important;opacity:0;background:0 0;border:none;padding:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.gs-dev-tools label input+.display{position:relative;z-index:2}.gs-dev-tools .gs-bottom-right{vertical-align:middle;display:flex;align-items:center;flex-grow:4;width:40%;justify-content:flex-end}.gs-dev-tools .time-container{margin:0 5px}.gs-dev-tools .logo{width:32px;height:32px;position:relative;top:2px;margin:0 12px}.gs-dev-tools .gs-hit-area{background-color:transparent;width:100%;height:100%;top:0;position:absolute}.gs-dev-tools.minimal{height:auto;display:flex;align-items:stretch}.gs-dev-tools.minimal .gs-top{order:2;flex-grow:4;background-color:#000}.gs-dev-tools.minimal .gs-bottom{background-color:#0e100f;border-top:none}.gs-dev-tools.minimal .timeline{top:50%;transform:translate(0,-50%)}.gs-dev-tools.minimal .gs-bottom-right,.gs-dev-tools.minimal .in-point,.gs-dev-tools.minimal .out-point,.gs-dev-tools.minimal .rewind,.gs-dev-tools.minimal .select-animation-container{display:none}.gs-dev-tools.minimal .play-pause{width:20px;height:20px;padding:4px 6px;margin-left:14px}.gs-dev-tools.minimal .time-scale{min-width:26px}.gs-dev-tools.minimal .loop{width:18px;min-width:18px;display:none}@media only screen and (max-width:600px){.gs-dev-tools{height:auto;display:flex;align-items:stretch}.gs-dev-tools .gs-top{order:2;flex-grow:4;background-color:#000;height:42px}.gs-dev-tools .gs-bottom{background-color:#000;border-top:none}.gs-dev-tools .timeline{top:50%;transform:translate(0,-50%)}.gs-dev-tools .gs-bottom-right,.gs-dev-tools .in-point,.gs-dev-tools .out-point,.gs-dev-tools .rewind,.gs-dev-tools .select-animation-container{display:none}.gs-dev-tools .play-pause{width:18px;height:18px;padding:4px 6px;margin-left:14px}.gs-dev-tools .time-scale{min-width:26px}.gs-dev-tools .loop{width:18px;min-width:18px;display:none}.gs-dev-tools .progress-bar,.gs-dev-tools .timeline-track{right:0}}';\n\t\t\t_addedCSS = true;\n\t\t}\n\t\tif (_isString(element)) {\n\t\t\telement = _doc.querySelector(element);\n\t\t}\n\t\tlet root = _createElement(\"div\", element || _docEl.getElementsByTagName(\"body\")[0] || _docEl);\n\t\troot.setAttribute(\"class\", \"gs-dev-tools\" + (minimal ? \" minimal\" : \"\"));\n\t\troot.innerHTML = '<div class=gs-hit-area></div><div class=gs-top><div class=timeline><div class=timeline-track></div><div class=progress-bar></div><div class=seek-bar></div><svg class=in-point viewBox=\"0 0 15 26\" xmlns=http://www.w3.org/2000/svg><path class=in-point-shape d=\"M0.5,2.283c0,-0.985 0.798,-1.783 1.783,-1.783c2.679,0 7.717,0 10.41,0c0.48,-0 0.939,0.19 1.278,0.529c0.339,0.339 0.529,0.798 0.529,1.277c-0,4.821 -0,17.897 0,21.968c0,0.253 -0.135,0.488 -0.354,0.615c-0.22,0.128 -0.49,0.128 -0.711,0.003c-2.653,-1.517 -9.526,-5.444 -12.016,-6.867c-0.568,-0.325 -0.919,-0.929 -0.919,-1.583c-0,-2.835 -0,-10.627 -0,-14.159Z\" style=\"fill:#00ff52;fill-rule:nonzero;\"/></svg><svg class=out-point viewBox=\"0 0 15 26\" xmlns=http://www.w3.org/2000/svg><path class=out-point-shape d=\"M0.5,2.251c0,-0.465 0.184,-0.91 0.513,-1.238c0.328,-0.329 0.773,-0.513 1.238,-0.513c2.669,0 7.733,0 10.439,0c0.48,-0 0.94,0.191 1.28,0.53c0.339,0.34 0.53,0.8 0.53,1.28l0,14.17c-0,0.631 -0.338,1.213 -0.886,1.526c-2.44,1.395 -9.262,5.293 -11.977,6.845c-0.236,0.134 -0.524,0.133 -0.759,-0.003c-0.234,-0.136 -0.378,-0.386 -0.378,-0.657c0,-4.178 0,-17.198 0,-21.94Z\" style=\"fill-rule:nonzero;\"/></svg><div class=playhead></div></div></div><div class=gs-bottom><div class=select-animation-container><label class=select-animation><select class=animation-list><option>Global Timeline<option>myTimeline</select><nobr><span class=\"display animation-label\">Global Timeline</span><svg class=select-arrow viewBox=\"0 0 12.05 6.73\" xmlns=http://www.w3.org/2000/svg><polyline class=select-arrow-shape points=\"0.35 0.35 6.03 6.03 11.7 0.35\"/></svg></nobr></label></div><svg class=rewind viewBox=\"0 0 12 15.38\" xmlns=http://www.w3.org/2000/svg><path d=M0,.38H2v15H0Zm2,7,10,7.36V0Z class=\"gs-btn-white rewind-path\"/></svg><svg class=play-pause viewBox=\"0 0 20.97 25.67\" xmlns=http://www.w3.org/2000/svg><g class=play><path d=\"M8,4.88 C8,10.18 8,15.48 8,20.79 5.33,22.41 2.66,24.04 0,25.67 0,17.11 0,8.55 0,0 2.66,1.62 5.33,3.25 8,4.88\" class=\"gs-btn-white play-1\" style=stroke:#fffce1;stroke-width:.6px /><path d=\"M14.485,8.855 C16.64,10.18 18.8,11.5 20.97,12.83 16.64,15.48 12.32,18.13 8,20.79 8,15.48 8,10.18 8,4.88 10.16,6.2 12.32,7.53 14.48,8.85\" class=\"gs-btn-white play-2\" style=stroke:#fffce1;stroke-width:.6px /></g></svg> <svg class=loop viewBox=\"0 0 29 25.38\" xmlns=http://www.w3.org/2000/svg fill=\"currentcolor\"><path d=M27.44,5.44,20.19,0V3.06H9.06A9.31,9.31,0,0,0,0,12.41,9.74,9.74,0,0,0,.69,16l3.06-2.23a6,6,0,0,1-.12-1.22,5.49,5.49,0,0,1,5.43-5.5H20.19v3.81Z class=loop-path /><path d=M25.25,11.54a5.18,5.18,0,0,1,.12,1.12,5.41,5.41,0,0,1-5.43,5.41H9.19V14.5L1.94,19.94l7.25,5.44V22.06H19.94A9.2,9.2,0,0,0,29,12.84a9.42,9.42,0,0,0-.68-3.53Z class=loop-path /></svg> <svg class=ease viewBox=\"0 0 25.67 25.67\" xmlns=http://www.w3.org/2000/svg><path d=M.48,25.12c1.74-3.57,4.28-12.6,8.8-10.7s4.75,1.43,6.5-1.11S19.89,1.19,25.2.55 class=ease-path /><path d=M24.67,1V24.67H1V1H24.67m1-1H0V25.67H25.67V0Z class=ease-border /></svg><label class=time-scale><select><option value=10>10x<option value=5>5x<option value=2>2x<option value=1 selected>1x<option value=0.5>0.5x<option value=0.25>0.25x<option value=0.1>0.1x</select><span class=\"display time-scale-label\">1x</span></label><div class=gs-bottom-right><div class=time-container><span class=time>0.00</span> / <span class=duration>0.00</span></div><a href=\"https://gsap.com/docs/v3/Plugins/GSDevTools?source=GSDevTools\" target=_blank title=Docs><svg class=\"logo\" viewBox=\"0 0 1080 1080\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M793 518.654C793 518.654 793 518.829 793 518.934L770.197 618.386C768.967 624.012 763.38 628.135 756.915 628.135H729.404C727.366 628.135 725.539 629.498 724.977 631.455C699.573 718.082 665.175 777.628 619.745 813.376C581.095 843.813 533.451 858 469.819 858C412.618 858 374.074 839.514 341.362 803.032C298.145 754.809 280.261 675.869 291.083 580.75C310.618 402.184 402.745 222.01 580.217 222.01C634.185 221.521 676.559 238.26 706.039 271.667C737.204 306.995 753.05 360.216 753.121 429.86C753.015 436.185 747.78 441.287 741.491 441.287H611.488C606.885 441.287 602.774 437.129 602.844 432.551C601.79 384.397 587.56 360.915 559.311 360.915C509.488 360.915 480.079 428.917 464.479 466.622C442.694 519.283 431.627 576.452 433.805 633.412C434.824 659.935 439.075 697.22 464.127 712.666C486.333 726.364 518.026 717.279 537.21 702.113C556.394 686.947 571.819 660.703 578.319 636.766C579.233 633.447 579.303 630.861 578.425 629.708C577.511 628.52 574.981 628.24 573.049 628.24H539.67C536.086 628.24 532.537 626.598 530.394 623.942C528.602 621.705 527.899 618.945 528.532 616.219L551.37 516.592C552.494 511.49 557.097 507.647 562.754 506.948V506.703H781.827C782.354 506.703 782.881 506.703 783.373 506.808C789.065 507.542 793.07 512.853 792.965 518.654H793Z\" fill=\"#0AE448\"/></svg></a></div></div>';\n\t\tif (element) {\n\t\t\troot.style.position = \"absolute\";\n\t\t\troot.style.top = minimal ? \"calc(100% - 42px)\" : \"calc(100% - 51px)\";\n\t\t}\n\t\tif (css) {\n\t\t\tif (_isString(css)) {\n\t\t\t\troot.style.cssText = css;\n\t\t\t} else if (_isObject(css)) {\n\t\t\t\tcss.data = \"root\";\n\t\t\t\tgsap.set(root, css).kill();\n\t\t\t}\n\t\t\tif (root.style.top) {\n\t\t\t\troot.style.bottom = \"auto\";\n\t\t\t}\n\t\t\tif (root.style.width) {\n\t\t\t\tgsap.set(root, {xPercent: -50, left: \"50%\", right: \"auto\", data:\"root\"}).kill();\n\t\t\t}\n\t\t}\n\t\tif (!minimal && root.offsetWidth < 600) {\n\t\t\troot.setAttribute(\"class\", \"gs-dev-tools minimal\");\n\t\t\tif (element) {\n\t\t\t\troot.style.top = \"calc(100% - 42px)\";\n\t\t\t}\n\t\t}\n\t\treturn root;\n\t},\n\t_clickedOnce = true, //perhaps we shouldn't preventDefault() on the first mousedown/touchstart/pointerdown so that iframes get focus properly. Did that previously, but now it seems to prevent interaction on the first click (annoying).\n\t_addListener = (e, type, callback, capture) => {\n\t\tlet handler, altType;\n\t\tif (type === \"mousedown\" || type === \"mouseup\") {\n\t\t\te.style.cursor = \"pointer\";\n\t\t}\n\t\tif (type === \"mousedown\") {\n\t\t\t//some browsers call BOTH mousedown AND touchstart, for example, on a single interaction so we need to skip one of them if both are called within 100ms.\n\t\t\taltType = !_isUndefined(e.onpointerdown) ? \"pointerdown\" : !_isUndefined(e.ontouchstart) ? \"touchstart\" : null;\n\t\t\tif (altType) {\n\t\t\t\thandler = event => {\n\t\t\t\t\tif (event.target.nodeName.toLowerCase() !== \"select\" && event.type === altType) { //don't preventDefault() on a <select> or else it won't open!\n\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\tif (_clickedOnce) { //otherwise, both touchstart and mousedown will get called.\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tcallback.call(e, event);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (event.type !== altType) {\n\t\t\t\t\t\tcallback.call(e, event);\n\t\t\t\t\t}\n\t\t\t\t\t_clickedOnce = true;\n\t\t\t\t};\n\t\t\t\te.addEventListener(altType, handler, capture);\n\t\t\t\tif (altType !== \"pointerdown\") {\n\t\t\t\t\te.addEventListener(type, handler, capture);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\te.addEventListener(type, callback, capture);\n\t},\n\t_removeListener = (e, type, callback) => {\n\t\te.removeEventListener(type, callback);\n\t\ttype = type !== \"mousedown\" ? null : !_isUndefined(e.onpointerdown) ? \"pointerdown\" : !_isUndefined(e.ontouchstart) ? \"touchstart\" : null;\n\t\tif (type) {\n\t\t\te.removeEventListener(type, callback);\n\t\t}\n\t},\n\t_selectValue = (element, value, label, insertIfAbsent) => {\n\t\tlet options = element.options,\n\t\t\ti = options.length,\n\t\t\toption;\n\t\tvalue += \"\";\n\t\twhile (--i > -1) {\n\t\t\tif (options[i].innerHTML === value || options[i].value === value) {\n\t\t\t\telement.selectedIndex = i;\n\t\t\t\tlabel.innerHTML = options[i].innerHTML;\n\t\t\t\treturn options[i];\n\t\t\t}\n\t\t}\n\t\tif (insertIfAbsent) {\n\t\t\toption = _createElement(\"option\", element);\n\t\t\toption.setAttribute(\"value\", value);\n\t\t\toption.innerHTML = label.innerHTML = _isString(insertIfAbsent) ? insertIfAbsent : value;\n\t\t\telement.selectedIndex = options.length - 1;\n\t\t}\n\t},\n\t//increments the selected value of a <select> up or down by a certain amount.\n\t_shiftSelectedValue = (element, amount, label) => {\n\t\tlet options = element.options,\n\t\t\ti = Math.min(options.length - 1, Math.max(0, element.selectedIndex + amount));\n\t\telement.selectedIndex = i;\n\t\tif (label) {\n\t\t\tlabel.innerHTML = options[i].innerHTML;\n\t\t}\n\t\treturn options[i].value;\n\t},\n\t//moves everything from _globalTimeline into _recordedRoot and updates the _rootTween if it is currently controlling the Global timeline (_recordedRoot). _recordedTemp is just a temporary recording area for anything that happens while _recordedRoot is paused. Returns true if the _recordedRoot's duration changed due to the merge.\n\t_merge = () => {\n\t\tlet t = _globalTimeline._first,\n\t\t\tduration, next, target;\n\t\tif (_rootInstance) {\n\t\t\tduration = _recordedRoot._dur;\n\t\t\twhile (t) {\n\t\t\t\tnext = t._next;\n\t\t\t\ttarget = t._targets && t._targets[0];\n\t\t\t\tif (!(_isFunction(target) && target === t.vars.onComplete && !t._dur) && !(target && target._gsIgnore)) { //typically, delayedCalls aren't included in the _recordedTemp, but since the hijacked add() below fires BEFORE TweenLite's constructor sets the target, we couldn't check that target === vars.onComplete there. And Draggable creates a tween with just an onComplete (no onReverseComplete), thus it fails that test. Therefore, we test again here to avoid merging that in.\n\t\t\t\t\t_recordedRoot.add(t, t._start - t._delay);\n\t\t\t\t}\n\t\t\t\tt = next;\n\t\t\t}\n\t\t\treturn (duration !== _recordedRoot.duration());\n\t\t}\n\t},\n\t_updateRootDuration = () => {\n\t\tif (_rootInstance) {\n\t\t\t_rootInstance.update();\n\t\t\t_rootIsDirty = false;\n\t\t}\n\t\tgsap.ticker.remove(_updateRootDuration);\n\t},\n\n\t_buildPlayPauseMorph = svg => {\n\t\tlet tl = gsap.timeline({data:\"root\", parent:_independentRoot, onComplete:() => tl.kill() }, _independentRoot._time);\n\t\ttl.to(svg.querySelector(\".play-1\"), {duration:0.4, attr:{d:\"M5.75,3.13 C5.75,9.79 5.75,16.46 5.75,23.13 4.08,23.13 2.41,23.13 0.75,23.13 0.75,16.46 0.75,9.79 0.75,3.12 2.41,3.12 4.08,3.12 5.75,3.12\"}, ease:\"power2.inOut\", rotation:360, transformOrigin:\"50% 50%\"})\n\t\t .to(svg.querySelector(\".play-2\"), {duration:0.4, attr:{d:\"M16.38,3.13 C16.38,9.79 16.38,16.46 16.38,23.13 14.71,23.13 13.04,23.13 11.38,23.13 11.38,16.46 11.38,9.79 11.38,3.12 13.04,3.12 14.71,3.12 16.38,3.12\"}, ease:\"power2.inOut\", rotation:360, transformOrigin:\"50% 50%\"}, 0.05);\n\t\treturn tl;\n\t},\n\n\t_buildLoopAnimation = svg => {\n\t\tlet tl = gsap.timeline({data:\"root\", id:\"loop\", parent:_independentRoot, paused:true, onComplete:() => tl.kill() }, _independentRoot._time);\n\t\ttl.to(svg, {duration: 0.5, rotation:360, ease:\"power3.inOut\", transformOrigin:\"50% 50%\"})\n\t\t .to(svg.querySelectorAll(\".loop-path\"), {duration:0.5, fill:\"#91e600\", ease:\"none\"}, 0);\n\t\treturn tl;\n\t},\n\n\t_getAnimationById = id => gsap.getById(id) || _independentRoot.getById(id) || (id === _recordedRoot.vars.id && _recordedRoot),\n\n\n\n\t_initCore = core => {\n\t\tgsap = core || _getGSAP();\n\t\tif (!_coreInitted) {\n\t\t\tif (gsap && _windowExists()) {\n\t\t\t\t_doc = document;\n\t\t\t\t_docEl = _doc.documentElement;\n\t\t\t\t_win = window;\n\t\t\t\t_context = gsap.core.context || function() {};\n\t\t\t\tgsap.registerPlugin(Draggable);\n\t\t\t\t_globalTimeline = gsap.globalTimeline;\n\t\t\t\t_globalTimeline._sort = true;\n\t\t\t\t_globalTimeline.autoRemoveChildren = false;\n\t\t\t\tAnimation = gsap.core.Animation;\n\t\t\t\t_independentRoot = gsap.timeline({data:\"indy\", autoRemoveChildren:true, smoothChildTiming:true});\n\t\t\t\t_independentRoot.kill();\n\t\t\t\t_independentRoot._dp = 0; //don't let it revert to the global timeline as its parent.\n\t\t\t\t_independentRoot.to({}, {duration:1e12});\n\t\t\t\t_recordedRoot = gsap.timeline({data:\"root\", id:\"Global Timeline\", autoRemoveChildren:false, smoothChildTiming:true, parent:_independentRoot}, 0);\n\t\t\t\t_rootTween = gsap.to(_recordedRoot, {duration:1, time:1, ease:\"none\", data:\"root\", id:\"_rootTween\", paused:true, immediateRender:false, parent:_independentRoot}, 0);\n\t\t\t\t// so that auto-overwriting works. Initially we transferred the tweens to the _recordedRoot.\n\t\t\t\t_globalTimeline.killTweensOf = function(targets, props, onlyActive) {\n\t\t\t\t\t_recordedRoot.killTweensOf(targets, props, onlyActive);\n\t\t\t\t\t_recordedRoot.killTweensOf.call(_globalTimeline, targets, props, onlyActive);\n\t\t\t\t}\n\t\t\t\t_independentRoot._start = gsap.ticker.time;\n\t\t\t\tgsap.ticker.add(time => _independentRoot.render(time - _independentRoot._start));\n\t\t\t\t// before 3.7.0, the listener below was necessary (in place of the line above)\n\t\t\t\t// gsap.ticker.add(time => {\n\t\t\t\t// \t_independentRoot._initted || _independentRoot.render(0.001, true); // to prevent callbacks from being fired on the first tick, like onComplete would fire immediately and then again at the correct time.\n\t\t\t\t// \t_independentRoot.render(time - _independentRoot._start);\n\t\t\t\t// });\n\n\t\t\t\t//align the all of the playheads so they're starting at 0 now.\n\t\t\t\t_globalTimeline._start += _globalTimeline._time;\n\t\t\t\t_recordedRoot._start = _globalTimeline._time = _globalTimeline._tTime = 0;\n\t\t\t\t_delayedCall = (delay, callback, params, scope) => gsap.to(callback, {delay:delay, duration:0, onComplete:callback, onReverseComplete:callback, onCompleteParams:params, onReverseCompleteParams:params, callbackScope:scope, parent:_independentRoot}, _independentRoot._time);\n\n\t\t\t\t//in case GSDevTools.create() is called before anything is actually on the global timeline, we've gotta update it or else the duration will be 0 and it'll be stuck.\n\t\t\t\t_delayedCall(0.01, () => _rootInstance ? _rootInstance.update() : _merge());\n\n\t\t\t\t//initially we record everything into the _recordedRoot Timeline because developers might call GSDevTools.create() AFTER some of their code executes, but after 2 seconds if there aren't any GSDevTool instances that have globalSync enabled, we should dump all the stuff from _recordedRoot into the global timeline to improve performance and avoid issues where _recordedRoot is paused and reaches its end and wants to stop the playhead.\n\t\t\t\t_delayedCall(2, () => {\n\t\t\t\t\tlet t, next, offset;\n\t\t\t\t\tif (!_rootInstance) {\n\t\t\t\t\t\t_merge();\n\t\t\t\t\t\tt = _recordedRoot._first;\n\t\t\t\t\t\toffset = _recordedRoot._start;\n\t\t\t\t\t\twhile (t) {\n\t\t\t\t\t\t\tnext = t._next;\n\t\t\t\t\t\t\t//any animations that aren't finished should be dumped into the root timeline. If they're done, just kill them.\n\t\t\t\t\t\t\tif (t._tDur !== t._tTime || (!t._dur && t.progress() !== 1)) {\n\t\t\t\t\t\t\t\t_globalTimeline.add(t, t._start - t._delay + offset);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tt.kill();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tt = next;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (GSDevTools.globalRecordingTime > 2) {\n\t\t\t\t\t\t_delayedCall(GSDevTools.globalRecordingTime - 2, () => {\n\t\t\t\t\t\t\t_rootInstance && _rootInstance.update();\n\t\t\t\t\t\t\t_recording = false;\n\t\t\t\t\t\t\t_globalTimeline.autoRemoveChildren = true;\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\t_recording = false;\n\t\t\t\t\t\t_globalTimeline.autoRemoveChildren = true;\n\t\t\t\t\t}\n\t\t\t\t\t_startupPhase = false;\n\t\t\t\t});\n\t\t\t\t_coreInitted = 1;\n\t\t\t}\n\t\t}\n\t},\n\t_checkIndependence = (animation, vars) => {\n\t\tif (!vars.globalSync && animation.parent !== _globalTimeline) { //in case it's nested in a timeline (playing it won't help if the parent timeline isn't playing).\n\t\t\t_globalTimeline.add(animation, _globalTimeline.time());\n\t\t}\n\t},\n\n\n\n\n\n\n\n\tGSDevTools = function(vars) {\n\t\tif (!_coreInitted) {\n\t\t\t_initCore();\n\t\t\tgsap || console.warn(\"Please gsap.registerPlugin(GSDevTools)\");\n\t\t}\n\n\t\tthis.vars = vars = vars || {};\n\t\tif (vars.animation) {\n\t\t\t(GSDevTools.getByAnimation(vars.animation) || {kill:() => 0}).kill();\n\t\t}\n\t\tvars.id = vars.id || (_isString(vars.animation) ? vars.animation : _idSeed++); //try to find a unique ID so that sessionStorage can be mapped to it (otherwise, for example, all the embedded codepens on a page would share the same settings). So if no id is defined, see if there's a string-based \"animation\" defined. Last of all, we default to a numeric counter that we increment.\n\t\t_lookup[vars.id + \"\"] = this;\n\n\t\t(\"globalSync\" in vars) || (vars.globalSync = !vars.animation); //if the user calls create() and passes in an animation AFTER the initial recording time has elapsed, there's a good chance the animation won't be in the recordedRoot, so we change the default globalSync to false because that's the most intuitive behavior.\n\n\t\t//GENERAL/UTILITY\n\t\tlet _self = this,\n\t\t\troot = _createRootElement(vars.container, vars.minimal, vars.css),\n\t\t\tfind = s => root.querySelector(s),\n\t\t\trecord = (key, value) => {\n\t\t\t\tif (vars.persist !== false && _supportsStorage) {\n\t\t\t\t\tsessionStorage.setItem(\"gs-dev-\" + key + vars.id, value);\n\t\t\t\t}\n\t\t\t\treturn value;\n\t\t\t},\n\t\t\trecall = key => {\n\t\t\t\tlet value;\n\t\t\t\tif (vars.persist !== false && _supportsStorage) {\n\t\t\t\t\tvalue = sessionStorage.getItem(\"gs-dev-\" + key + vars.id);\n\t\t\t\t\treturn (key === \"animation\") ? value : (key === \"loop\") ? (value === \"true\") : parseFloat(value); // handle data typing too.\n\t\t\t\t}\n\t\t\t},\n\n\n\t\t\t//SCRUBBER/PROGRESS\n\t\t\tplayhead = find(\".playhead\"),\n\t\t\ttimelineTrack = find(\".timeline-track\"),\n\t\t\tprogressBar = find(\".progress-bar\"),\n\t\t\ttimeLabel = find(\".time\"),\n\t\t\tdurationLabel = find(\".duration\"),\n\t\t\tpixelToTimeRatio, timeAtDragStart, dragged, skipDragUpdates,\n\t\t\tprogress = 0,\n\t\t\tinPoint = find(\".in-point\"),\n\t\t\toutPoint = find(\".out-point\"),\n\t\t\tinProgress = 0,\n\t\t\toutProgress = 100,\n\t\t\tpausedWhenDragStarted,\n\t\t\tlist = find(\".animation-list\"),\n\t\t\tanimationLabel = find(\".animation-label\"),\n\t\t\tselectedAnimation, //the currently selected animation\n\t\t\tlinkedAnimation, //the animation that's linked to all the controls and scrubber. This is always _rootTween if globalSync is true, so it can be different than the selectedAnimation!\n\t\t\tdeclaredAnimation, //whatever the user defines in the config object initially (often this will be null). If the user defines a string, it'll be resolved to a real Animation instance for this variable.\n\t\t\tstartTime, endTime,\n\t\t\t_fullyInitialized, //we call initialize() initially, and then again on the very next tick just in case someone called GSDevTools.create() BEFORE they create their animations. This variable tracks that state. Note: we don't record sessionStorage.setItem() until we're fully initialized, otherwise we may inadvertently set in/out points to the defaults just because the animation couldn't be found (yet).\n\t\t\tkeyboardHandler,\n\t\t\tplayPauseButton = find(\".play-pause\"),\n\t\t\tplayPauseMorph = _buildPlayPauseMorph(playPauseButton),\n\t\t\tpaused = false,\n\t\t\tloopButton = find(\".loop\"),\n\t\t\tloopAnimation = _buildLoopAnimation(loopButton),\n\t\t\tloopEnabled,\n\t\t\ttimeScale = find(\".time-scale select\"),\n\t\t\ttimeScaleLabel = find(\".time-scale-label\"),\n\t\t\t//spits back a common onPress function for anything that's dragged along the timeline (playhead, inPoint, outPoint). The originRatio is a value from 0-1 indicating how far along the x-axis the origin is located (0.5 is in the center, 0 is left, 1 is on right side). limitElement is optional, and sets the bounds such that the element can't be dragged past the limitElement.\n\t\t\tonPressTimeline = (element, originRatio, limitToInOut) => {\n\t\t\t\treturn function(e) {\n\t\t\t\t\tlet trackBounds = timelineTrack.getBoundingClientRect(),\n\t\t\t\t\t\telementBounds = element.getBoundingClientRect(),\n\t\t\t\t\t\tleft = elementBounds.width * originRatio,\n\t\t\t\t\t\tx = gsap.getProperty(element, \"x\"),\n\t\t\t\t\t\tminX = trackBounds.left - elementBounds.left - left + x,\n\t\t\t\t\t\tmaxX = trackBounds.right - elementBounds.right + (elementBounds.width - left) + x,\n\t\t\t\t\t\tunlimitedMinX = minX,\n\t\t\t\t\t\tlimitBounds;\n\t\t\t\t\tif (limitToInOut) {\n\t\t\t\t\t\tif (element !== inPoint) {\n\t\t\t\t\t\t\tlimitBounds = inPoint.getBoundingClientRect();\n\t\t\t\t\t\t\tif (limitBounds.left) { //if inPoint is hidden (like display:none), ignore.\n\t\t\t\t\t\t\t\tminX += (limitBounds.left + limitBounds.width) - trackBounds.left;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (element !== outPoint) {\n\t\t\t\t\t\t\tlimitBounds = outPoint.getBoundingClientRect();\n\t\t\t\t\t\t\tif (limitBounds.left) { //if outPoint is hidden (like display:none), ignore.\n\t\t\t\t\t\t\t\tmaxX -= (trackBounds.left + trackBounds.width) - limitBounds.left;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpausedWhenDragStarted = paused;\n\t\t\t\t\tthis.applyBounds({minX:minX, maxX:maxX});\n\t\t\t\t\tpixelToTimeRatio = linkedAnimation.duration() / trackBounds.width;\n\t\t\t\t\ttimeAtDragStart = -unlimitedMinX * pixelToTimeRatio;\n\t\t\t\t\tif (!skipDragUpdates) {\n\t\t\t\t\t\tlinkedAnimation.pause(timeAtDragStart + pixelToTimeRatio * this.x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlinkedAnimation.pause();\n\t\t\t\t\t}\n\t\t\t\t\tif (this.target === playhead) {\n\t\t\t\t\t\tif (this.activated) {\n\t\t\t\t\t\t\tthis.allowEventDefault = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.activated = true;\n\t\t\t\t\t}\n\t\t\t\t\tdragged = true;\n\t\t\t\t};\n\t\t\t},\n\t\t\tprogressDrag = Draggable.create(playhead, {\n\t\t\t\ttype:\"x\",\n\t\t\t\tcursor: \"ew-resize\",\n\t\t\t\tallowNativeTouchScrolling: false,\n\t\t\t\tallowEventDefault: true, //otherwise, when dragged outside an iframe, the mouseup doesn't bubble up so it could seem \"stuck\" to the mouse.\n\t\t\t\tonPress: onPressTimeline(playhead, 0.5, true),\n\t\t\t\tonDrag: function() {\n\t\t\t\t\tlet time = timeAtDragStart + pixelToTimeRatio * this.x;\n\t\t\t\t\tif (time < 0) {\n\t\t\t\t\t\ttime = 0;\n\t\t\t\t\t} else if (time > linkedAnimation._dur) {\n\t\t\t\t\t\ttime = linkedAnimation._dur;\n\t\t\t\t\t}\n\t\t\t\t\tif (!skipDragUpdates) {\n\t\t\t\t\t\tlinkedAnimation.time(time);\n\t\t\t\t\t}\n\t\t\t\t\tprogressBar.style.width = Math.min(outProgress - inProgress, Math.max(0, (time / linkedAnimation._dur) * 100 - inProgress)) + \"%\";\n\t\t\t\t\ttimeLabel.innerHTML = time.toFixed(2);\n\t\t\t\t},\n\t\t\t\tonRelease: function() {\n\t\t\t\t\tpaused || linkedAnimation.resume();\n\t\t\t\t}\n\t\t\t})[0],\n\t\t\tresetInOut = () => {\n\t\t\t\tinProgress = 0;\n\t\t\t\toutProgress = 100;\n\t\t\t\tinPoint.style.left = \"0%\";\n\t\t\t\toutPoint.style.left = \"100%\";\n\t\t\t\trecord(\"in\", inProgress);\n\t\t\t\trecord(\"out\", outProgress);\n\t\t\t\tupdateProgress(true);\n\t\t\t},\n\t\t\tinDrag = Draggable.create(inPoint, {\n\t\t\t\ttype: \"x\",\n\t\t\t\tcursor: \"ew-resize\",\n\t\t\t\tzIndexBoost: false,\n\t\t\t\tallowNativeTouchScrolling: false,\n\t\t\t\tallowEventDefault: true, //otherwise, when dragged outside an iframe, the mouseup doesn't bubble up so it could seem \"stuck\" to the mouse.\n\t\t\t\tonPress: onPressTimeline(inPoint, 1, true),\n\t\t\t\tonDoubleClick: resetInOut,\n\t\t\t\tonDrag: function() {\n\t\t\t\t\tinProgress = (timeAtDragStart + pixelToTimeRatio * this.x) / linkedAnimation.duration() * 100;\n\t\t\t\t\tlinkedAnimation.progress(inProgress / 100);\n\t\t\t\t\tupdateProgress(true);\n\t\t\t\t},\n\t\t\t\tonRelease: function() {\n\t\t\t\t\tif (inProgress < 0) {\n\t\t\t\t\t\tinProgress = 0;\n\t\t\t\t\t}\n\t\t\t\t\t_clearSelection();\n\t\t\t\t\t//for responsiveness, convert the px-based transform into %-based left position.\n\t\t\t\t\tinPoint.style.left = inProgress + \"%\";\n\t\t\t\t\trecord(\"in\", inProgress);\n\t\t\t\t\tgsap.set(inPoint, {x:0, data:\"root\", display:\"block\"}); //set display:block so that it remains visible even when the minimal skin is enabled.\n\t\t\t\t\tif (!paused) {\n\t\t\t\t\t\tlinkedAnimation.resume();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})[0],\n\t\t\toutDrag = Draggable.create(outPoint, {\n\t\t\t\ttype: \"x\",\n\t\t\t\tcursor: \"ew-resize\",\n\t\t\t\tallowNativeTouchScrolling: false,\n\t\t\t\tallowEventDefault: true, //otherwise, when dragged outside an iframe, the mouseup doesn't bubble up so it could seem \"stuck\" to the mouse.\n\t\t\t\tzIndexBoost: false,\n\t\t\t\tonPress: onPressTimeline(outPoint, 0, true),\n\t\t\t\tonDoubleClick: resetInOut,\n\t\t\t\tonDrag: function() {\n\t\t\t\t\toutProgress = (timeAtDragStart + pixelToTimeRatio * this.x) / linkedAnimation.duration() * 100;\n\t\t\t\t\tlinkedAnimation.progress(outProgress / 100);\n\t\t\t\t\tupdateProgress(true);\n\t\t\t\t},\n\t\t\t\tonRelease: function() {\n\t\t\t\t\tif (outProgress > 100) {\n\t\t\t\t\t\toutProgress = 100;\n\t\t\t\t\t}\n\t\t\t\t\t_clearSelection();\n\t\t\t\t\t//for responsiveness, convert the px-based transform into %-based left position.\n\t\t\t\t\toutPoint.style.left = outProgress + \"%\";\n\t\t\t\t\trecord(\"out\", outProgress);\n\t\t\t\t\tgsap.set(outPoint, {x:0, data:\"root\", display:\"block\"}); //set display:block so that it remains visible even when the minimal skin is enabled.\n\t\t\t\t\tif (!pausedWhenDragStarted) {\n\t\t\t\t\t\tplay();\n\t\t\t\t\t\tlinkedAnimation.resume();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})[0],\n\t\t\tupdateProgress = function(force) { // NOTE: \"force\" is actually the \"time\" when this method gets called by the gsap.ticker!\n\t\t\t\tif (progressDrag.isPressed && force !== true) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tlet p = (!loopEnabled && selectedAnimation._repeat === -1) ? selectedAnimation.totalTime() / selectedAnimation.duration() * 100 : (linkedAnimation.progress() * 100) || 0,\n\t\t\t\t\trepeatDelayPhase = (selectedAnimation._repeat && selectedAnimation._rDelay && selectedAnimation.totalTime() % (selectedAnimation.duration() + selectedAnimation._rDelay) > selectedAnimation.duration()),\n\t\t\t\t\ttarget;\n\t\t\t\tif (p > 100) {\n\t\t\t\t\tp = 100;\n\t\t\t\t}\n\t\t\t\tif (p >= outProgress) {\n\t\t\t\t\tif (loopEnabled && !linkedAnimation.paused() && !progressDrag.isDragging) {\n\t\t\t\t\t\tif (!repeatDelayPhase) {\n\t\t\t\t\t\t\tp = inProgress;\n\t\t\t\t\t\t\ttarget = linkedAnimation._targets && linkedAnimation._targets[0];\n\t\t\t\t\t\t\tif (target === selectedAnimation) { //in case there are callbacks on the timeline, when we jump back to the start we should seek() so that the playhead doesn't drag [backward] past those and trigger them.\n\t\t\t\t\t\t\t\ttarget.seek(startTime + ((endTime - startTime) * inProgress / 100));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (selectedAnimation._repeat > 0 && !inProgress && outProgress === 100) {\n\t\t\t\t\t\t\t\tif (selectedAnimation.totalProgress() === 1) {\n\t\t\t\t\t\t\t\t\tlinkedAnimation.totalProgress(0, true).resume();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tlinkedAnimation.progress(p / 100, true).resume();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (p !== outProgress || selectedAnimation._repeat === -1) {\n\t\t\t\t\t\t\tp = outProgress;\n\t\t\t\t\t\t\tlinkedAnimation.progress(p / 100);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!paused && (outProgress < 100 || selectedAnimation.totalProgress() === 1 || selectedAnimation._repeat === -1)) {\n\t\t\t\t\t\t\tpause();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t} else if (p < inProgress) {\n\t\t\t\t\tp = inProgress;\n\t\t\t\t\tlinkedAnimation.progress(p / 100, true);\n\t\t\t\t}\n\t\t\t\tif (p !== progress || force === true) {\n\t\t\t\t\tprogressBar.style.left = inProgress + \"%\";\n\t\t\t\t\tprogressBar.style.width = Math.max(0, p - inProgress) + \"%\";\n\t\t\t\t\tplayhead.style.left = p + \"%\";\n\t\t\t\t\ttimeLabel.innerHTML = linkedAnimation._time.toFixed(2);\n\t\t\t\t\tdurationLabel.innerHTML = linkedAnimation._dur.toFixed(2);\n\t\t\t\t\tif (dragged) {\n\t\t\t\t\t\tplayhead.style.transform = \"translate(-50%,0)\";\n\t\t\t\t\t\tplayhead._gsap.x = \"0px\";\n\t\t\t\t\t\tplayhead._gsap.xPercent = -50;\n\t\t\t\t\t\tdragged = false;\n\t\t\t\t\t}\n\t\t\t\t\tprogress = p;\n\t\t\t\t}\n\t\t\t\tlinkedAnimation.paused() !== paused && togglePlayPause(); // if the user has an addPause() in the middle of the animation.\n\t\t\t},\n\t\t\tonPressSeekBar = function(e) {\n\t\t\t\tif (progressDrag.isPressed) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tlet bounds = e.target.getBoundingClientRect(),\n\t\t\t\t\tx = (e.changedTouches ? e.changedTouches[0] : e).clientX,\n\t\t\t\t\tp = ((x - bounds.left) / bounds.width) * 100;\n\t\t\t\tif (p < inProgress) {\n\t\t\t\t\tinProgress = p = Math.max(0, p);\n\t\t\t\t\tinPoint.style.left = inProgress + \"%\";\n\t\t\t\t\tinDrag.startDrag(e);\n\t\t\t\t\treturn;\n\t\t\t\t} else if (p > outProgress) {\n\t\t\t\t\toutProgress = p = Math.min(100, p);\n\t\t\t\t\toutPoint.style.left = outProgress + \"%\";\n\t\t\t\t\toutDrag.startDrag(e);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tlinkedAnimation.progress(p / 100).pause();\n\t\t\t\tupdateProgress(true);\n\t\t\t\tprogressDrag.startDrag(e);\n\t\t\t},\n\n\n\n\t\t\t//PLAY/PAUSE button\n\t\t\tplay = () => {\n\t\t\t\tif (linkedAnimation.progress() >= outProgress / 100) {\n\t\t\t\t\t_checkIndependence(linkedAnimation, vars);\n\t\t\t\t\tlet target = linkedAnimation._targets && linkedAnimation._targets[0];\n\t\t\t\t\tif (target === selectedAnimation) { //in case there are callbacks on the timeline, when we jump back to the start we should seek() so that the playhead doesn't drag [backward] past those and trigger them.\n\t\t\t\t\t\ttarget.seek(startTime + ((endTime - startTime) * inProgress / 100));\n\t\t\t\t\t}\n\t\t\t\t\tif (linkedAnimation._repeat && !inProgress) {\n\t\t\t\t\t\tlinkedAnimation.totalProgress(0, true); //for repeating animations, don't get stuck in the last iteration - jump all the way back to the start.\n\t\t\t\t\t} else if (!linkedAnimation.reversed()) {\n\t\t\t\t\t\tlinkedAnimation.progress(inProgress / 100, true);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tplayPauseMorph.play();\n\t\t\t\tlinkedAnimation.resume();\n\t\t\t\tif (paused) {\n\t\t\t\t\t_self.update();\n\t\t\t\t}\n\t\t\t\tpaused = false;\n\t\t\t},\n\t\t\tpause = () => {\n\t\t\t\tplayPauseMorph.reverse();\n\t\t\t\tif (linkedAnimation) {\n\t\t\t\t\tlinkedAnimation.pause();\n\t\t\t\t}\n\t\t\t\tpaused = true;\n\t\t\t},\n\t\t\ttogglePlayPause = () => {\n\t\t\t\tif (paused) {\n\t\t\t\t\tplay();\n\t\t\t\t} else {\n\t\t\t\t\tpause();\n\t\t\t\t}\n\t\t\t},\n\n\n\n\t\t\t//REWIND button\n\t\t\tonPressRewind = e => {\n\t\t\t\tif (progressDrag.isPressed) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t//_self.update();\n\t\t\t\t_checkIndependence(linkedAnimation, vars);\n\t\t\t\tlet target = linkedAnimation._targets && linkedAnimation._targets[0];\n\t\t\t\tif (target === selectedAnimation) { //in case there are callbacks on the timeline, when we jump back to the start we should seek() so that the playhead doesn't drag [backward] past those and trigger them.\n\t\t\t\t\ttarget.seek(startTime + ((endTime - startTime) * inProgress / 100));\n\t\t\t\t}\n\t\t\t\tlinkedAnimation.progress(inProgress / 100, true);\n\t\t\t\tif (!paused) {\n\t\t\t\t\tlinkedAnimation.resume();\n\t\t\t\t}\n\t\t\t},\n\n\n\n\t\t\t//LOOP button\n\t\t\tloop = value => {\n\t\t\t\tloopEnabled = value;\n\t\t\t\trecord(\"loop\", loopEnabled);\n\t\t\t\tif (loopEnabled) {\n\t\t\t\t\tloopAnimation.play();\n\t\t\t\t\tif (linkedAnimation.progress() >= outProgress / 100) {\n\t\t\t\t\t\tlet target = linkedAnimation._targets && linkedAnimation._targets[0];\n\t\t\t\t\t\tif (target === selectedAnimation) { //in case there are callbacks on the timeline, when we jump back to the start we should seek() so that the playhead doesn't drag [backward] past those and trigger them.\n\t\t\t\t\t\t\ttarget.seek(startTime + ((endTime - startTime) * inProgress / 100));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (selectedAnimation._repeat && !inProgress && outProgress === 100) {\n\t\t\t\t\t\t\tlinkedAnimation.totalProgress(0, true);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlinkedAnimation.progress(inProgress / 100, true);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tplay();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tloopAnimation.reverse();\n\t\t\t\t}\n\t\t\t},\n\n\t\t\ttoggleLoop = () => loop(!loopEnabled),\n\n\n\n\t\t\t//ANIMATIONS list\n\t\t\tupdateList = () => {\n\t\t\t\tlet animations = _getChildrenOf((declaredAnimation && !vars.globalSync) ? declaredAnimation : _recordedRoot, true),\n\t\t\t\t\toptions = list.children,\n\t\t\t\t\tmatches = 0,\n\t\t\t\t\toption,\ti;\n\t\t\t\tif (declaredAnimation && !vars.globalSync) {\n\t\t\t\t\tanimations.unshift(declaredAnimation);\n\t\t\t\t} else if (!vars.hideGlobalTimeline) {\n\t\t\t\t\tanimations.unshift(_recordedRoot);\n\t\t\t\t}\n\t\t\t\tfor (i = 0; i < animations.length; i++) {\n\t\t\t\t\toption = options[i] || _createElement(\"option\", list);\n\t\t\t\t\toption.animation = animations[i];\n\t\t\t\t\tmatches = (i && animations[i].vars.id === animations[i-1].vars.id) ? matches + 1 : 0;\n\t\t\t\t\toption.setAttribute(\"value\", (option.innerHTML = animations[i].vars.id + (matches ? \" [\" + matches + \"]\" : (animations[i+1] && animations[i+1].vars.id === animations[i].vars.id) ? \" [0]\" : \"\")));\n\t\t\t\t}\n\t\t\t\tfor (; i < options.length; i++) {\n\t\t\t\t\tlist.removeChild(options[i]);\n\t\t\t\t}\n\t\t\t},\n\t\t\tanimation = function(anim) {\n\t\t\t\tlet ts = parseFloat(timeScale.options[timeScale.selectedIndex].value) || 1,\n\t\t\t\t\ttl, maxDuration;\n\t\t\t\tif (!arguments.length) {\n\t\t\t\t\treturn selectedAnimation;\n\t\t\t\t}\n\t\t\t\tif (_isString(anim)) {\n\t\t\t\t\tanim = _getAnimationById(anim);\n\t\t\t\t}\n\t\t\t\t//console.log(\"animation() \", anim.vars.id);\n\t\t\t\tif (!(anim instanceof Animation)) {\n\t\t\t\t\tconsole.warn(\"GSDevTools error: invalid animation.\");\n\t\t\t\t}\n\t\t\t\tif (anim.scrollTrigger) {\n\t\t\t\t\tconsole.warn(\"GSDevTools can't work with ScrollTrigger-based animations; either the scrollbar -OR- the GSDevTools scrubber can control the animation.\");\n\t\t\t\t}\n\t\t\t\tif (anim === selectedAnimation) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (selectedAnimation) {\n\t\t\t\t\tselectedAnimation._inProgress = inProgress;\n\t\t\t\t\tselectedAnimation._outProgress = outProgress;\n\t\t\t\t}\n\t\t\t\tselectedAnimation = anim;\n\t\t\t\tif (linkedAnimation) {\n\t\t\t\t\tts = linkedAnimation.timeScale();\n\t\t\t\t\tif (linkedAnimation._targets && linkedAnimation._targets[0] === declaredAnimation) {\n\t\t\t\t\t\tdeclaredAnimation.resume();\n\t\t\t\t\t\tlinkedAnimation.kill();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tinProgress = selectedAnimation._inProgress || 0;\n\t\t\t\toutProgress = selectedAnimation._outProgress || 100;\n\t\t\t\tinPoint.style.left = inProgress + \"%\";\n\t\t\t\toutPoint.style.left = outProgress + \"%\";\n\t\t\t\tif (_fullyInitialized) { //don't record inProgress/outProgress unless we're fully instantiated because people may call GSDevTools.create() before creating/defining their animations, thus the inTime/outTime may not exist yet.\n\t\t\t\t\trecord(\"animation\", selectedAnimation.vars.id);\n\t\t\t\t\trecord(\"in\", inProgress);\n\t\t\t\t\trecord(\"out\", outProgress);\n\t\t\t\t}\n\t\t\t\tstartTime = 0;\n\t\t\t\tmaxDuration = vars.maxDuration || Math.min(1000, _getClippedDuration(selectedAnimation));\n\t\t\t\tif (selectedAnimation === _recordedRoot || vars.globalSync) {\n\t\t\t\t\t_merge();\n\t\t\t\t\tlinkedAnimation = _rootTween;\n\t\t\t\t\t_rootInstance && _rootInstance !== _self && console.warn(\"Error: GSDevTools can only have one instance that's globally synchronized.\");\n\t\t\t\t\t_rootInstance = _self;\n\t\t\t\t\tif (selectedAnimation !== _recordedRoot) {\n\t\t\t\t\t\ttl = selectedAnimation;\n\t\t\t\t\t\tendTime = tl.totalDuration();\n\t\t\t\t\t\tif (endTime > 99999999) { //in the case of an infinitely repeating animation, just use a single iteration's duration instead.\n\t\t\t\t\t\t\tendTime = tl.duration();\n\t\t\t\t\t\t}\n\t\t\t\t\t\twhile (tl.parent) {\n\t\t\t\t\t\t\tstartTime = (startTime / tl._ts) + tl._start;\n\t\t\t\t\t\t\tendTime = (endTime / tl._ts) + tl._start;\n\t\t\t\t\t\t\ttl = tl.parent;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tendTime = _recordedRoot.duration();\n\t\t\t\t\t}\n\t\t\t\t\tif (endTime - startTime > maxDuration) { //cap end time at 1000 because it doesn't seem reasonable to accommodate super long stuff.\n\t\t\t\t\t\tendTime = startTime + maxDuration;\n\t\t\t\t\t}\n\t\t\t\t\t_recordedRoot.pause(startTime);\n\t\t\t\t\t_rootTween.vars.time = endTime;\n\t\t\t\t\t_rootTween.invalidate();\n\t\t\t\t\t_rootTween.duration(endTime - startTime).timeScale(ts);\n\t\t\t\t\t//wait for a tick before starting because some browsers freeze things immediately following a <select> selection, like on MacOS it flashes a few times before disappearing, so this prevents a \"jump\".\n\t\t\t\t\tif (paused) {\n\t\t\t\t\t\t//jump forward and then back in order to make sure the start/end values are recorded internally right away and don't drift outside this tween.\n\t\t\t\t\t\t_rootTween.progress(1, true).pause(0, true);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t_delayedCall(0.01, () => {\n\t\t\t\t\t\t\t_rootTween.resume().progress(inProgress / 100);\n\t\t\t\t\t\t\tpaused && play();\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tif (_rootInstance === _self) {\n\t\t\t\t\t\t_rootInstance = null;\n\t\t\t\t\t}\n\t\t\t\t\tstartTime = Math.min(inProgress * selectedAnimation.duration(), selectedAnimation.time());\n\t\t\t\t\tif (selectedAnimation === declaredAnimation || !declaredAnimation) {\n\t\t\t\t\t\tlinkedAnimation = selectedAnimation;\n\t\t\t\t\t\tif (!loopEnabled && linkedAnimation._repeat) {\n\t\t\t\t\t\t\tloop(true);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else { //if an animation is declared in the config object, and the user chooses a sub-animation (nested), we tween the playhead of the declaredAnimation to keep everything synchronized even though globalSync isn't true.\n\t\t\t\t\t\ttl = selectedAnimation;\n\t\t\t\t\t\tendTime = tl.totalDuration();\n\t\t\t\t\t\tif (endTime > 99999999) { //in the case of an infinitely repeating animation, just use a single iteration's duration instead.\n\t\t\t\t\t\t\tendTime = tl.duration();\n\t\t\t\t\t\t}\n\t\t\t\t\t\twhile (tl.parent.parent && tl !== declaredAnimation) {\n\t\t\t\t\t\t\tstartTime = (startTime / (tl._ts || tl._pauseTS)) + tl._start;\n\t\t\t\t\t\t\tendTime = (endTime / (tl._ts || tl._pauseTS)) + tl._start;\n\t\t\t\t\t\t\ttl = tl.parent;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (endTime - startTime > maxDuration) { //cap end time at 1000 because it doesn't seem reasonable to accommodate super long stuff.\n\t\t\t\t\t\t\tendTime = startTime + maxDuration;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdeclaredAnimation.pause(startTime);\n\t\t\t\t\t\tlinkedAnimation = gsap.to(declaredAnimation, {duration: endTime - startTime, time:endTime, ease:\"none\", data:\"root\", parent:_independentRoot}, _independentRoot._time);\n\t\t\t\t\t}\n\t\t\t\t\tlinkedAnimation.timeScale(ts);\n\t\t\t\t\t_rootTween.pause();\n\t\t\t\t\t_recordedRoot.resume();\n\t\t\t\t\tlinkedAnimation.seek(0);\n\t\t\t\t}\n\n\t\t\t\tdurationLabel.innerHTML = linkedAnimation.duration().toFixed(2);\n\t\t\t\t_selectValue(list, selectedAnimation.vars.id, animationLabel);\n\t\t\t},\n\t\t\tupdateRootDuration = () => {\n\t\t\t\tlet time, ratio, duration;\n\t\t\t\tif (selectedAnimation === _recordedRoot) {\n\t\t\t\t\ttime = _recordedRoot._time;\n\t\t\t\t\t_recordedRoot.progress(1, true).time(time, true); //jump to the end and back again because sometimes a tween that hasn't rendered yet will affect duration, like a TimelineMax.tweenTo() where the duration gets set in the onStart.\n\t\t\t\t\ttime = (_rootTween._dp._time - _rootTween._start) * _rootTween._ts;\n\t\t\t\t\tduration = Math.min(1000, _recordedRoot.duration());\n\t\t\t\t\tif (duration === 1000) {\n\t\t\t\t\t\tduration = Math.min(1000, _getClippedDuration(_recordedRoot));\n\t\t\t\t\t}\n\t\t\t\t\tratio = _rootTween.duration() / duration;\n\t\t\t\t\tif (ratio !== 1 && duration) {\n\t\t\t\t\t\tinProgress *= ratio;\n\t\t\t\t\t\tif (outProgress < 100) {\n\t\t\t\t\t\t\toutProgress *= ratio;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t_rootTween.seek(0);\n\t\t\t\t\t\t_rootTween.vars.time = duration;\n\t\t\t\t\t\t_rootTween.invalidate();\n\t\t\t\t\t\t_rootTween.duration(duration);\n\t\t\t\t\t\t_rootTween.time(time);\n\t\t\t\t\t\tdurationLabel.innerHTML = duration.toFixed(2);\n\t\t\t\t\t\tinPoint.style.left = inProgress + \"%\";\n\t\t\t\t\t\toutPoint.style.left = outProgress + \"%\";\n\t\t\t\t\t\tupdateProgress(true);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tonChangeAnimation = e => {\n\t\t\t\tanimation(list.options[list.selectedIndex].animation);\n\t\t\t\tif (e.target && e.target.blur) { //so that if an option is selected, and then the user tries to hit the up/down arrow, it doesn't just try selecting something else in the <select>.\n\t\t\t\t\te.target.blur();\n\t\t\t\t}\n\t\t\t\tpaused && play();\n\t\t\t},\n\n\n\n\t\t\t//TIMESCALE button\n\t\t\tonChangeTimeScale = e => {\n\t\t\t\tlet ts = parseFloat(timeScale.options[timeScale.selectedIndex].value) || 1,\n\t\t\t\t\ttarget;\n\t\t\t\tlinkedAnimation.timeScale(ts);\n\t\t\t\trecord(\"timeScale\", ts);\n\t\t\t\tif (!paused) {\n\t\t\t\t\tif (linkedAnimation.progress() >= outProgress / 100) {\n\t\t\t\t\t\ttarget = linkedAnimation._targets && linkedAnimation._targets[0];\n\t\t\t\t\t\tif (target === selectedAnimation) { //in case there are callbacks on the timeline, when we jump back to the start we should seek() so that the playhead doesn't drag [backward] past those and trigger them.\n\t\t\t\t\t\t\ttarget.seek(startTime + ((endTime - startTime) * inProgress / 100));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlinkedAnimation.progress(inProgress / 100, true).pause();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlinkedAnimation.pause();\n\t\t\t\t\t}\n\t\t\t\t\t_delayedCall(0.01, () => linkedAnimation.resume());\n\t\t\t\t}\n\t\t\t\ttimeScaleLabel.innerHTML = ts + \"x\";\n\t\t\t\tif (timeScale.blur) { //so that if an option is selected, and then the user tries to hit the up/down arrow, it doesn't just try selecting something else in the <select>.\n\t\t\t\t\ttimeScale.blur();\n\t\t\t\t}\n\t\t\t},\n\n\n\n\t\t\t//AUTOHIDE\n\t\t\tautoHideTween = gsap.to([find(\".gs-bottom\"), find(\".gs-top\")], {duration:0.3, autoAlpha:0, y:50, ease:\"power2.in\", data:\"root\", paused:true, parent:_independentRoot}, _independentRoot._time),\n\t\t\thidden = false,\n\t\t\tonMouseOut = e => {\n\t\t\t\tif (!Draggable.hitTest(e, root) && !progressDrag.isDragging && !inDrag.isDragging && !outDrag.isDragging) {\n\t\t\t\t\tautoHideDelayedCall.restart(true);\n\t\t\t\t}\n\t\t\t},\n\t\t\thide = () => {\n\t\t\t\tif (!hidden) {\n\t\t\t\t\tautoHideTween.play();\n\t\t\t\t\tautoHideDelayedCall.pause();\n\t\t\t\t\thidden = true;\n\t\t\t\t}\n\t\t\t},\n\t\t\tshow = () => {\n\t\t\t\tautoHideDelayedCall.pause();\n\t\t\t\tif (hidden) {\n\t\t\t\t\tautoHideTween.reverse();\n\t\t\t\t\thidden = false;\n\t\t\t\t}\n\t\t\t},\n\t\t\ttoggleHide = () => {\n\t\t\t\tif (hidden) {\n\t\t\t\t\tshow();\n\t\t\t\t} else {\n\t\t\t\t\thide();\n\t\t\t\t}\n\t\t\t},\n\t\t\tautoHideDelayedCall = _delayedCall(1.3, hide).pause(),\n\t\t\tinitialize = preliminary => {\n\t\t\t\t//if on startup, someone does a timeline.seek(), we must honor it, so when initialize() is called, we record _recordedRoot._start so that we can use that as an offset. Remember, however, that we call initialize() twice on startup, once after a tick has elapsed just in case someone called GSDevTools.create() before their animation code, so we must record the value (once).\n\t\t\t\tif (_startupPhase && !_globalStartTime) {\n\t\t\t\t\t_globalStartTime = _recordedRoot._start;\n\t\t\t\t}\n\t\t\t\t_fullyInitialized = !preliminary;\n\t\t\t\tdeclaredAnimation = _parseAnimation(vars.animation);\n\t\t\t\tif (declaredAnimation && !declaredAnimation.vars.id) {\n\t\t\t\t\tdeclaredAnimation.vars.id = \"[no id]\";\n\t\t\t\t}\n\t\t\t\t_merge();\n\t\t\t\tupdateList();\n\t\t\t\tlet savedAnimation = _getAnimationById(recall(\"animation\"));\n\t\t\t\tif (savedAnimation) {\n\t\t\t\t\tsavedAnimation._inProgress = recall(\"in\") || 0;\n\t\t\t\t\tsavedAnimation._outProgress = recall(\"out\") || 100;\n\t\t\t\t}\n\t\t\t\tvars.paused && pause();\n\t\t\t\tselectedAnimation = null;\n\t\t\t\tanimation(declaredAnimation || savedAnimation || _recordedRoot);\n\t\t\t\tlet ts = vars.timeScale || recall(\"timeScale\"),\n\t\t\t\t\tsavedInOut = (savedAnimation === selectedAnimation);\n\t\t\t\tif (ts) {\n\t\t\t\t\t_selectValue(timeScale, ts, timeScaleLabel, ts + \"x\");\n\t\t\t\t\tlinkedAnimation.timeScale(ts);\n\t\t\t\t}\n\t\t\t\tinProgress = ((\"inTime\" in vars) ? _timeToProgress(vars.inTime, selectedAnimation, 0, 0) : savedInOut ? savedAnimation._inProgress : 0) || 0;\n\t\t\t\tif (inProgress === 100 && !vars.animation && savedAnimation) { //in case there's a recorded animation (sessionStorage) and then the user defines an inTime that exceeds that animation's duration, just default back to the Global Timeline. Otherwise the in/out point will be at the very end and it'd be weird.\n\t\t\t\t\tanimation(_recordedRoot);\n\t\t\t\t\tinProgress = _timeToProgress(vars.inTime, selectedAnimation, 0, 0) || 0;\n\t\t\t\t}\n\t\t\t\tif (inProgress) {\n\t\t\t\t\tinPoint.style.left = inProgress + \"%\";\n\t\t\t\t\tinPoint.style.display = outPoint.style.display = \"block\"; //set display:block so that it remains visible even when the minimal skin is enabled.\n\t\t\t\t}\n\t\t\t\toutProgress = ((\"outTime\" in vars) ? _timeToProgress(vars.outTime, selectedAnimation, 100, inProgress) : savedInOut ? savedAnimation._outProgress : 0) || 100;\n\t\t\t\tif (outProgress < inProgress) {\n\t\t\t\t\toutProgress = 100;\n\t\t\t\t}\n\t\t\t\tif (outProgress !== 100) {\n\t\t\t\t\toutPoint.style.left = outProgress + \"%\";\n\t\t\t\t\tinPoint.style.display = outPoint.style.display = \"block\"; //set display:block so that it remains visible even when the minimal skin is enabled.\n\t\t\t\t}\n\t\t\t\tloopEnabled = (\"loop\" in vars) ? vars.loop : recall(\"loop\");\n\t\t\t\tloopEnabled && loop(true);\n\t\t\t\tvars.paused && linkedAnimation.progress(inProgress / 100, true).pause();\n\t\t\t\tif (_startupPhase && selectedAnimation === _recordedRoot && _globalStartTime && vars.globalSync && !paused) {\n\t\t\t\t\tlinkedAnimation.time(-_globalStartTime, true);\n\t\t\t\t}\n\t\t\t\tupdateProgress(true);\n\t\t\t};\n\n\n\n\t\t//INITIALIZATION TASKS\n\t\t_addListener(list, \"change\", onChangeAnimation);\n\t\t_addListener(list, \"mousedown\", updateList);\n\t\t_addListener(playPauseButton, \"mousedown\", togglePlayPause);\n\t\t_addListener(find(\".seek-bar\"), \"mousedown\", onPressSeekBar);\n\t\t_addListener(find(\".rewind\"), \"mousedown\", onPressRewind);\n\t\t_addListener(loopButton, \"mousedown\", toggleLoop);\n\t\t_addListener(timeScale, \"change\", onChangeTimeScale);\n\n\t\tif (vars.visibility === \"auto\") {\n\t\t\t_addListener(root, \"mouseout\", onMouseOut);\n\t\t\t//_addListener(find(\".gs-hit-area\"), \"mouseover\", show);\n\t\t\t_addListener(root, \"mouseover\", show);\n\n\t\t} else if (vars.visibility === \"hidden\") {\n\t\t\thidden = true;\n\t\t\tautoHideTween.progress(1);\n\t\t}\n\n\t\tif (vars.keyboard !== false) {\n\t\t\tif (_keyboardInstance && vars.keyboard) {\n\t\t\t\tconsole.warn(\"[GSDevTools warning] only one instance can be affected by keyboard shortcuts. There is already one active.\");\n\t\t\t} else {\n\t\t\t\t_keyboardInstance = _self; //we can't have multiple instances all affected by the keyboard.\n\t\t\t\tkeyboardHandler = e => { //window.parent allows things to work inside of an iframe, like on codepen.\n\t\t\t\t\tlet key = e.keyCode ? e.keyCode : e.which,\n\t\t\t\t\t\tts;\n\t\t\t\t\tif (key === 32) { //spacebar\n\t\t\t\t\t\ttogglePlayPause();\n\t\t\t\t\t} else if (key === 38) { //up arrow\n\t\t\t\t\t\tts = parseFloat(_shiftSelectedValue(timeScale, -1, timeScaleLabel));\n\t\t\t\t\t\tlinkedAnimation.timeScale(ts);\n\t\t\t\t\t\trecord(\"timeScale\", ts);\n\t\t\t\t\t} else if (key === 40) { //down arrow\n\t\t\t\t\t\tts = parseFloat(_shiftSelectedValue(timeScale, 1, timeScaleLabel));\n\t\t\t\t\t\tlinkedAnimation.timeScale(ts);\n\t\t\t\t\t\trecord(\"timeScale\", ts);\n\t\t\t\t\t} else if (key === 37) { //left arrow\n\t\t\t\t\t\tonPressRewind(e);\n\t\t\t\t\t} else if (key === 39) { //right arrow\n\t\t\t\t\t\tlinkedAnimation.progress(outProgress / 100);\n\t\t\t\t\t} else if (key === 76) { //\"L\" key\n\t\t\t\t\t\ttoggleLoop();\n\t\t\t\t\t} else if (key === 72) { //\"H\" key\n\t\t\t\t\t\ttoggleHide();\n\t\t\t\t\t} else if (key === 73) { //\"I\" key\n\t\t\t\t\t\tinProgress = linkedAnimation.progress() * 100;\n\t\t\t\t\t\trecord(\"in\", inProgress);\n\t\t\t\t\t\tinPoint.style.left = inProgress + \"%\";\n\t\t\t\t\t\tupdateProgress(true);\n\t\t\t\t\t} else if (key === 79) { //\"O\" key\n\t\t\t\t\t\toutProgress = linkedAnimation.progress() * 100;\n\t\t\t\t\t\trecord(\"out\", outProgress);\n\t\t\t\t\t\toutPoint.style.left = outProgress + \"%\";\n\t\t\t\t\t\tupdateProgress(true);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\t_addListener(_docEl, \"keydown\", keyboardHandler);\n\t\t\t}\n\t\t}\n\n\n\t\tgsap.set(playhead, {xPercent:-50, x:0, data:\"root\"}); //so that when we drag, x is properly discerned (browsers report in pure pixels rather than percents)\n\t\tgsap.set(inPoint, {xPercent:-100, x:0, data:\"root\"});\n\t\tinPoint._gsIgnore = outPoint._gsIgnore = playhead._gsIgnore = playPauseButton._gsIgnore = loopButton._gsIgnore = true;\n\n\t\t//Draggable fires off a TweenLite.set() that affects the transforms, and we don't want them to get into the _recordedRoot, so kill those tweens.\n\t\tgsap.killTweensOf([inPoint, outPoint, playhead]);\n\n\n\t\tinitialize(_startupPhase);\n\t\tif (_startupPhase) {\n\t\t\t//developers may call GSDevTools.create() before they even create some of their animations, so the inTime/outTime or animation values may not exist, thus we wait for 1 tick and initialize again, just in case.\n\t\t\t_delayedCall(0.0001, initialize, [false], this);\n\t\t}\n\t\tgsap.ticker.add(updateProgress);\n\n\t\tthis.update = forceMerge => {\n\t\t\tif (_rootInstance === _self) {\n\t\t\t\tif (!_rootTween.paused() || forceMerge) {\n\t\t\t\t\t_merge();\n\t\t\t\t}\n\t\t\t\tupdateRootDuration();\n\t\t\t}\n\t\t};\n\n\t\tthis.kill = this.revert = () => {\n\t\t\t_removeListener(list, \"change\", onChangeAnimation);\n\t\t\t_removeListener(list, \"mousedown\", updateList);\n\t\t\t_removeListener(playPauseButton, \"mousedown\", togglePlayPause);\n\t\t\t_removeListener(find(\".seek-bar\"), \"mousedown\", onPressSeekBar);\n\t\t\t_removeListener(find(\".rewind\"), \"mousedown\", onPressRewind);\n\t\t\t_removeListener(loopButton, \"mousedown\", toggleLoop);\n\t\t\t_removeListener(timeScale, \"change\", onChangeTimeScale);\n\t\t\tprogressDrag.disable();\n\t\t\tinDrag.disable();\n\t\t\toutDrag.disable();\n\t\t\tgsap.ticker.remove(updateProgress);\n\t\t\t_removeListener(root, \"mouseout\", onMouseOut);\n\t\t\t_removeListener(root, \"mouseover\", show);\n\t\t\troot.parentNode.removeChild(root);\n\t\t\tif (_rootInstance === _self) {\n\t\t\t\t_rootInstance = null;\n\t\t\t}\n\t\t\tif (_keyboardInstance === _self) {\n\t\t\t\t_keyboardInstance = null;\n\t\t\t\t_removeListener(_docEl, \"keydown\", keyboardHandler);\n\t\t\t}\n\t\t\tdelete _lookup[vars.id + \"\"];\n\t\t};\n\n\t\tthis.minimal = function(value) {\n\t\t\tlet isMinimal = root.classList.contains(\"minimal\"),\n\t\t\t\tp;\n\t\t\tif (!arguments.length || isMinimal === value) {\n\t\t\t\treturn isMinimal;\n\t\t\t}\n\t\t\tif (value) {\n\t\t\t\troot.classList.add(\"minimal\");\n\t\t\t} else {\n\t\t\t\troot.classList.remove(\"minimal\");\n\t\t\t}\n\t\t\tif (vars.container) {\n\t\t\t\troot.style.top = value ? \"calc(100% - 42px)\" : \"calc(100% - 51px)\";\n\t\t\t}\n\t\t\tif (progressDrag.isPressed) {\n\t\t\t\tskipDragUpdates = true; //just in case there's actually a tween/timeline in the linkedAnimation that is altering this GSDevTool instance's \"minimal()\" value, it could trigger a recursive loop in the drag handlers, like if they update linkedAnimation's time/progress which in turn triggers this minimal() function which in turn dues the same, and so on.\n\t\t\t\tprogressDrag.endDrag(progressDrag.pointerEvent);\n\t\t\t\tskipDragUpdates = false;\n\n\t\t\t\tp = linkedAnimation.progress() * 100;\n\t\t\t\tprogressBar.style.width = Math.max(0, p - inProgress) + \"%\";\n\t\t\t\tplayhead.style.left = p + \"%\";\n\t\t\t\tplayhead.style.transform = \"translate(-50%,0)\";\n\t\t\t\tplayhead._gsap.x = \"0px\";\n\t\t\t\tplayhead._gsap.xPercent = -50;\n\n\t\t\t\tprogressDrag.startDrag(progressDrag.pointerEvent, true);\n\t\t\t}\n\t\t};\n\n\t\t//expose methods:\n\t\tthis.animation = animation;\n\t\tthis.updateList = updateList;\n\n\t\t_context(this);\n\n\t}; //if on startup, someone does a timeline.seek(), we need to honor it, so when initialize() is called, it'll check the _recordedRoot._start so that we can use that as an offset. Remember, however, that we call initialize() twice on startup, once after a tick has elapsed just in case someone called GSDevTools.create() before their animation code, so we must record the value (once).\n\n\n\nGSDevTools.version = \"3.13.0\";\nGSDevTools.globalRecordingTime = 2;\n\nGSDevTools.getById = id => id ? _lookup[id] : _rootInstance;\n\nGSDevTools.getByAnimation = animation => {\n\tif (_isString(animation)) {\n\t\tanimation = gsap.getById(animation);\n\t}\n\tfor (let p in _lookup) {\n\t\tif (_lookup[p].animation() === animation) {\n\t\t\treturn _lookup[p];\n\t\t}\n\t}\n};\n\nGSDevTools.create = vars => new GSDevTools(vars);\n\nGSDevTools.register = _initCore;\n\n_getGSAP() && gsap.registerPlugin(GSDevTools);\n\nexport { GSDevTools, GSDevTools as default };"],"names":["_createSibling","element","i","parentNode","_doc","_setDoc","svg","_svgOwner","ns","getAttribute","type","x","y","css","e","createElementNS","replace","createElement","_svgContainer","setAttribute","appendChild","_divContainer","style","cssText","_setMatrix","m","a","b","c","d","f","_win","_docElement","_body","_identityMatrix","_gEl","_hasOffsetBug","_transformProp","_transformOriginProp","doc","ownerDocument","window","Matrix2D","documentElement","body","transform","d1","d2","root","firstElementChild","offsetParent","removeChild","_forceNonZeroScale","cache","_gsap","uncache","get","scaleX","scaleY","renderTransform","push","_svgTemps","_divTemps","_getDocScrollTop","pageYOffset","scrollTop","_getDocScrollLeft","pageXOffset","scrollLeft","ownerSVGElement","tagName","toLowerCase","_isFixed","getComputedStyle","position","nodeType","_placeSiblings","adjustGOffset","container","cs","isRootSVG","siblings","parent","appendToEl","shadowRoot","length","_getCTM","getCTM","removeProperty","clone","getBBox","baseVal","numberOfItems","_consolidate","multiply","getItem","matrix","offsetLeft","offsetTop","top","left","inverse","this","determinant","a2","b2","c2","e2","f2","equals","apply","point","decoratee","getGlobalMatrix","includeScrollInFixed","zeroScales","temps","b1","getBoundingClientRect","b3","isFixed","_windowExists","_getGSAP","gsap","registerPlugin","_isFunction","value","_isObject","_isUndefined","_emptyFunc","_round","Math","round","_createElement","_copy","obj","factor","p","copy","_setTouchActionForAllDescendants","elements","children","touchAction","_renderQueueTick","_renderQueue","forEach","func","_renderQueueTimeout","ticker","remove","_removeFromRenderQueue","splice","to","overwrite","delay","duration","onComplete","data","_addListener","capture","addEventListener","touchType","_touchEventLookup","_supportsPassive","passive","_removeListener","removeEventListener","_preventDefault","event","preventDefault","preventManipulation","_onMultiTouchDocumentEnd","_isMultiTouching","touches","_dragCount","target","_onMultiTouchDocument","_addScrollListener","callback","_isRoot","_removeScrollListener","_getMaxScroll","axis","dim","scroll","client","max","_recordMaxScrolls","skipCurrent","_windowProxy","_gsMaxScrollX","_gsMaxScrollY","_gsScrollX","_gsScrollY","_setStyle","property","_checkPrefix","_getComputedStyle","Element","host","_parseRect","_tempRect","width","right","clientWidth","innerWidth","height","bottom","innerHeight","clientHeight","r","pageX","_toArray","pageY","_dispatchEvent","callbackName","result","vars","listeners","_listeners","callbackScope","pointerEvent","dispatchEvent","_getBounds","context","offset","_getElementBounds","min","minX","minRotation","minY","maxX","maxRotation","maxY","_parseInertia","draggable","snap","forceZeroVelocity","l","Array","end","call","velocity","_isClickable","_clickableTagExp","test","nodeName","_setSelectable","selectable","ondragstart","onselectstart","set","lazy","userSelect","ScrollProxy","utils","toArray","elementWidth","elementHeight","contentHeight","nextNode","transformStart","transformEnd","content","document","node","firstChild","prevTop","prevLeft","scrollWidth","scrollHeight","extraPadRight","maxLeft","maxTop","_supports3D","force3D","force","arguments","dif","oldOffset","killTweensOf","onKill","_skip","paddingRight","maxScrollTop","maxScrollLeft","disable","nextSibling","enable","calibrate","widthMatches","offsetHeight","display","parseFloat","paddingLeft","_addPaddingBR","overflow","verticalAlign","boxSizing","paddingBottom","_initCore","required","nav","navigator","_tempDiv","_supportsPointer","PointerEvent","_placeholderDiv","_defaultCursor","cursor","_isAndroid","userAgent","indexOf","_isTouchDevice","MaxTouchPoints","msMaxTouchPoints","div","child","childStyle","val","types","standard","split","converted","Object","defineProperty","_lookup","isPressed","endDrag","_coreInitted","InertiaPlugin","plugins","inertia","_context","core","checkPrefix","_getStyleSaver","getStyleSaver","console","warn","_isArray","isArray","_RAD2DEG","PI","_bigNum","_getTime","Date","now","getTime","_lookupCount","_lastDragTime","_temp1","_point1","p1","p2","p3","p4","bbox","isSVG","viewBox","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","EventDispatcher","list","_this","Draggable","register","create","targets","map","_gsDragID","timeSinceDrag","hitTest","obj1","obj2","threshold","overlap","area","isRatio","r1","r2","isOutside","styles","_this2","rotation","dragResistance","edgeResistance","isNaN","lockAxis","autoScroll","lockedAxis","allowEventDefault","getProperty","getPropAsNum","unit","gsCache","onContextMenu","stopImmediatePropagation","render","suppressEvents","self","isDragging","checkAutoScrollBounds","dirty","isRoot","rect","pointerX","pointerY","changeX","changeY","gap","autoScrollFactor","ownerDoc","allowY","autoScrollMarginBottom","autoScrollMarginTop","allowX","autoScrollMarginRight","autoScrollMarginLeft","scrollTo","setPointerPosition","rotationMode","deltaX","scrollProxy","deltaY","xyMode","hasDragCallback","isDispatching","syncXY","skipOnUpdate","skipSnap","snappedValue","getCache","snapX","snapY","snapXY","isThrowing","buildSnapFunc","n","edgeTolerance","closest","absDif","calculateBounds","bounds","targetBounds","snapIsRaw","hasBounds","xProp","yProp","liveSnap","points","buildPointSnapFunc","radius","dx","dy","dist","minDist","onThrowComplete","onThrowInterrupt","animate","tween","overshootTolerance","resistance","throwResistance","linkedProps","minDuration","maxDuration","overshoot","inherit","onInterrupt","onUpdate","fastMode","onUpdateParams","endX","endY","endRotation","play","applyBounds","updateMatrix","shiftStart","start","startPointerX","startPointerY","recordStartPositions","parsedOrigin","offsetX","offsetY","innerMatrix","startElementY","startElementX","isTweening","xOrigin","yOrigin","rotationOrigin","atan2","startX","startY","removePlaceholder","onPress","enabled","clickTime","isPreventingDefault","interrupted","dragged","touchEventTarget","currentTarget","onRelease","onMove","touchDragAxis","isClicking","isClickable","dragClickables","triggers","allowNativeTouchScrolling","allowContextMenu","ctrlKey","which","changedTouches","touch","touchID","identifier","pointerId","_addToRenderQueue","add","kill","killProps","zIndexBoost","zIndex","onDrag","drag","hasMoveCallback","move","activeCursor","updateScroll","onClick","time","recentlyClicked","recentlyDragged","dragEndTime","alreadyDispatched","clickDispatch","defaultPrevented","alreadyDispatchedTrusted","trustedClickDispatch","trusted","isTrusted","suppressClickOnDrag","detail","localizePoint","old","minimumMovement","trigger","handle","clickableTest","isActive","originalEvent","abs","lockAxisOnTouchScroll","onLockAxis","cancelable","invokeOnMove","xChange","yChange","temp","dragTolerance","prevPointerX","prevPointerY","prevStartElementY","prevX","prevY","prevEndX","prevEndY","prevEndRotation","prevDirty","_hasTouchID","ID","syntheticEvent","eventTarget","syntheticClick","wasDragging","isContextMenuRelease","placeholderDelayedCall","delayedCall","throwProps","click","createEvent","initMouseEvent","screenX","screenY","startDrag","align","timeSinceClick","getDirection","from","diagonalThreshold","ratio","direction","mode","getVelocity","newBounds","sticky","update","ignoreExternalChanges","m2","id","setVars","touchCallout","track","dragging","untrack","clearProps","revert","_extend","defaults","overflowY","overflowX","_setDefaults","prototype","version","_isString","_svgNS","_domNS","querySelector","_clearSelection","selection","empty","getSelection","removeAllRanges","_getClippedDuration","animation","excludeRootRepeats","repeat","_repeat","t","_first","totalDuration","endTime","_start","_tDur","_ts","_next","_rDelay","_timeToProgress","defaultValue","relativeProgress","charAt","parseInt","substr","labels","_recordedRoot","getById","_globalizeTime","rawTime","handler","altType","onpointerdown","ontouchstart","stopPropagation","_clickedOnce","_selectValue","label","insertIfAbsent","option","options","innerHTML","selectedIndex","_shiftSelectedValue","amount","_merge","next","_globalTimeline","_rootInstance","_dur","_targets","_gsIgnore","_delay","_getAnimationById","_independentRoot","_docEl","globalTimeline","_sort","autoRemoveChildren","Animation","timeline","smoothChildTiming","_dp","_rootTween","ease","paused","immediateRender","props","onlyActive","_time","_tTime","_delayedCall","params","scope","onReverseComplete","onCompleteParams","onReverseCompleteParams","progress","GSDevTools","globalRecordingTime","_startupPhase","_checkIndependence","globalSync","_keyboardInstance","_addedCSS","_recording","_globalStartTime","_bonusValidated","_idSeed","_supportsStorage","sessionStorage","setItem","removeItem","getByAnimation","find","s","record","key","persist","recall","onPressTimeline","originRatio","limitToInOut","limitBounds","trackBounds","timelineTrack","elementBounds","unlimitedMinX","inPoint","outPoint","pausedWhenDragStarted","pixelToTimeRatio","linkedAnimation","timeAtDragStart","skipDragUpdates","pause","playhead","activated","resetInOut","inProgress","outProgress","updateProgress","onPressSeekBar","progressDrag","clientX","inDrag","outDrag","onPressRewind","selectedAnimation","seek","startTime","resume","loop","loopEnabled","loopAnimation","totalProgress","reverse","toggleLoop","updateList","animations","_getChildrenOf","includeTimelines","cnt","Tween","concat","declaredAnimation","matches","unshift","hideGlobalTimeline","anim","tl","ts","timeScale","scrollTrigger","_inProgress","_outProgress","_fullyInitialized","_self","invalidate","_pauseTS","durationLabel","toFixed","animationLabel","onChangeAnimation","blur","onChangeTimeScale","timeScaleLabel","onMouseOut","autoHideDelayedCall","restart","hide","hidden","autoHideTween","show","initialize","preliminary","_parseAnimation","animationOrId","savedAnimation","savedInOut","inTime","outTime","keyboardHandler","_createRootElement","minimal","getElementsByTagName","xPercent","offsetWidth","progressBar","timeLabel","playPauseButton","playPauseMorph","_buildPlayPauseMorph","attr","transformOrigin","loopButton","_buildLoopAnimation","querySelectorAll","fill","onDoubleClick","totalTime","repeatDelayPhase","togglePlayPause","reversed","autoAlpha","visibility","keyboard","keyCode","toggleHide","forceMerge","updateRootDuration","isMinimal","classList","contains"],"mappings":";;;;;;;;;6VA0FkB,SAAjBA,EAAkBC,EAASC,MACtBD,EAAQE,aAAeC,GAAQC,EAAQJ,IAAW,KACjDK,EAAMC,EAAUN,GACnBO,EAAKF,EAAOA,EAAIG,aAAa,UAAY,6BAAgC,+BACzEC,EAAOJ,EAAOJ,EAAI,OAAS,IAAO,MAClCS,EAAU,IAANT,EAAU,EAAI,IAClBU,EAAU,IAANV,EAAU,IAAM,EACpBW,EAAM,0EACNC,EAAIV,EAAKW,gBAAkBX,EAAKW,gBAAgBP,EAAGQ,QAAQ,SAAU,QAASN,GAAQN,EAAKa,cAAcP,UACtGR,IACEI,GAScY,EAAlBA,GAAkClB,E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