@atlassian/aui
Version:
Atlassian User Interface Framework
90 lines • 22.6 kB
JavaScript
/*!!
* @atlassian/aui - Atlassian User Interface Framework
* @version v8.0.0-alpha.1
* @link https://aui.atlassian.com
* @license SEE LICENSE IN LICENSE.md
* @author Atlassian Pty Ltd.
*/
exports.ids=[11],exports.modules={27:
/*!******************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/utils.js ***!
\******************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t,n(/*! ./constants */28)],void 0===(o="function"==typeof(r=function(e,t){"use strict";e.hasOwn=o,e.camelCase=function(e){return e.split(/-/g).map(function(e,t){return 0===t?e:e[0].toUpperCase()+e.substring(1)}).join("")},e.elementContains=function(e,t){return e!==document||e.contains?e.contains?e.contains(t):i.call(e,t):document.head.contains(t)||document.body.contains(t)},e.debounce=function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},1))}},e.getClosestIgnoredElement=function(e){for(var t=e;t instanceof Element;){if(t.hasAttribute(n))return t;t=t.parentNode}},e.inherit=function(e,t,n){for(var r=Object.getOwnPropertyNames(t),i=r.length,o=0;o<i;o++){var a=r[o];if(n||void 0===e[a]){var s=Object.getOwnPropertyDescriptor(t,a),u=s.get||s.set||!s.writable||!s.enumerable||!s.configurable;u?Object.defineProperty(e,a,s):e[a]=t[a]}}return e},e.objEach=function(e,t){for(var n in e)o(e,n)&&t(e[n],n)},e.supportsNativeCustomElements=function(){return"function"==typeof document.registerElement},e.isValidNativeCustomElementName=function(e){return e.indexOf("-")>0},Object.defineProperty(e,"__esModule",{value:!0});var n=t.ATTR_IGNORE,r=window.HTMLElement.prototype;e.elementPrototype=r;var i=r.contains;function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}})?r.apply(t,i):r)||(e.exports=o)},274:
/*!*****************************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/fix-ie-innerhtml.js ***!
\*****************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t],void 0===(o="function"==typeof(r=function(e){"use strict";var t,n,r=/MSIE/.test(navigator.userAgent),i=/Trident/.test(navigator.userAgent),o=r||i,a=window.HTMLElement.prototype;if(o){var s=Object.getOwnPropertyDescriptor(a,"innerHTML"),u=!!s&&s.get._hasBeenEnhanced;u||(i&&(window.MutationObserver=window.JsMutationObserver||window.MutationObserver),t=Object.getOwnPropertyDescriptor(a,"innerHTML"),(n=function(){return t.get.call(this)})._hasBeenEnhanced=!0,Object.defineProperty(a,"innerHTML",{get:n,set:function(e){!function e(t,n){var r=t.childNodes;if(r)for(var i=r.length,o=0;o<i;o++){var a=r[o];n(a,t),e(a,n)}}(this,function(e,t){var n=document.createEvent("MutationEvent");n.initMutationEvent("DOMNodeRemoved",!0,!1,t,null,null,null,null),e.dispatchEvent(n)}),t.set.call(this,e)}}))}})?r.apply(t,i):r)||(e.exports=o)},275:
/*!******************************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/document-observer.js ***!
\******************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t,e,n(/*! ./globals */74),n(/*! ./lifecycle */77),n(/*! ./mutation-observer */76),n(/*! ./fix-ie-innerhtml */274),n(/*! ./utils */27)],void 0===(o="function"==typeof(r=function(e,t,n,r,i,o,a){"use strict";var s,u=(s=n)&&s.__esModule?s.default:s,d=r.initElements,c=r.removeElements,l=a.getClosestIgnoredElement;function f(e){for(var t=e.length,n=0;n<t;n++){var r=e[n],i=r.addedNodes,o=r.removedNodes;i&&i.length&&!l(i[0].parentNode)&&d(i),o&&o.length&&c(o)}}t.exports={register:function(e){var t;return e&&this.unregister(),u.observer||(u.observer=((t=new window.MutationObserver(f)).observe(document,{childList:!0,subtree:!0}),t)),this},unregister:function(){return u.observer&&(u.observer.disconnect(),u.observer=void 0),this}}})?r.apply(t,i):r)||(e.exports=o)},276:
/*!*****************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/data.js ***!
\*****************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t,e],void 0===(o="function"==typeof(r=function(e,t){"use strict";t.exports=function(e){var t=void 0===arguments[1]?"":arguments[1],n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n}})?r.apply(t,i):r)||(e.exports=o)},277:
/*!******************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/skate.js ***!
\******************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t,e,n(/*! ./constants */28),n(/*! ./document-observer */275),n(/*! ./lifecycle */77),n(/*! ./registry */75),n(/*! ./utils */27),n(/*! ./version */78)],void 0===(o="function"==typeof(r=function(e,t,n,r,i,o,a,s){"use strict";var u=function(e){return e&&e.__esModule?e.default:e},d=n.TYPE_ATTRIBUTE,c=n.TYPE_CLASSNAME,l=n.TYPE_ELEMENT,f=u(r),v=i.triggerCreated,p=i.triggerAttached,h=i.triggerDetached,m=i.triggerAttributeChanged,b=i.initElements,g=u(o),y=a.debounce,E=a.inherit,w=u(s),N=window.HTMLElement,M=!!document.attachEvent,O=y(function(){var e=function(){b(document.documentElement.childNodes)};(M?"complete"===document.readyState:"interactive"===document.readyState||"complete"===document.readyState)?e():M?window.addEventListener("load",e):document.addEventListener("DOMContentLoaded",e)});function _(e,t){if(t=E({},t),(t=E(t,_.defaults)).id=e,g.set(e,t),g.isNativeCustomElement(e)){var n=t.extends?document.createElement(t.extends).constructor.prototype:N.prototype;n.isPrototypeOf(t.prototype)||(t.prototype=E(Object.create(n),t.prototype,!0));var r={prototype:E(t.prototype,{createdCallback:function(){v(this,t)},attachedCallback:function(){p(this,t)},detachedCallback:function(){h(this,t)},attributeChangedCallback:function(e,n,r){m(this,t,{name:e,oldValue:n,newValue:r})}})};return t.extends&&(r.extends=t.extends),document.registerElement(e,r)}if(O(),f.register(!!t.detached),g.isType(e,l))return function(e){function t(){var n,r=e.extends,i=e.id;return r?(n=document.createElement(r)).setAttribute("is",i):n=document.createElement(i),e.prototype=t.prototype,v(n,e),n}return t.prototype=e.prototype,t}(t)}_.init=function(e){var t=e;return e?("string"==typeof e?t=e=document.querySelectorAll(e):e instanceof N&&(t=[e]),b(t),e):e},_.type={ATTRIBUTE:d,CLASSNAME:c,ELEMENT:l},_.version=w,_.defaults={attributes:void 0,events:void 0,extends:void 0,id:"",prototype:{},resolvedAttribute:"resolved",template:void 0,type:l,unresolvedAttribute:"unresolved"};var T=window.skate;_.noConflict=function(){return window.skate=T,_},window.skate=_,t.exports=_})?r.apply(t,i):r)||(e.exports=o)},28:
/*!**********************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/constants.js ***!
\**********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t],void 0===(o="function"==typeof(r=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ATTR_IGNORE="data-skate-ignore",e.TYPE_ATTRIBUTE="a",e.TYPE_CLASSNAME="c",e.TYPE_ELEMENT="t"})?r.apply(t,i):r)||(e.exports=o)},5:
/*!***************************************!*\
!*** ../src/js/aui/internal/skate.js ***!
\***************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(/*! skatejs */277);var o=((r=i)&&r.__esModule?r:{default:r}).default.noConflict();t.default=o,e.exports=t.default},74:
/*!********************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/globals.js ***!
\********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t,e,n(/*! ./version */78)],void 0===(o="function"==typeof(r=function(e,t,n){"use strict";var r,i="__skate_"+(r=n,r&&r.__esModule?r.default:r).replace(/[^\w]/g,"_");window[i]||(window[i]={observer:void 0,registry:{}}),t.exports=window[i]})?r.apply(t,i):r)||(e.exports=o)},75:
/*!*********************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/registry.js ***!
\*********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t,e,n(/*! ./constants */28),n(/*! ./globals */74),n(/*! ./utils */27)],void 0===(o="function"==typeof(r=function(e,t,n,r,i){"use strict";var o,a=n.TYPE_ATTRIBUTE,s=n.TYPE_CLASSNAME,u=n.TYPE_ELEMENT,d=(o=r)&&o.__esModule?o.default:o,c=i.hasOwn,l=i.isValidNativeCustomElementName,f=i.supportsNativeCustomElements;t.exports={clear:function(){return d.registry={},this},get:function(e){return c(d.registry,e)&&d.registry[e]},getForElement:function(e){var t,n,r=e.attributes,i=r.length,o=[],c=r.is,l=c&&(c.value||c.nodeValue),f=(e.tagName||e.localName).toLowerCase(),v=l||f;this.isType(v,u)&&(t=d.registry[v],n=t.extends,l?f===n&&o.push(t):n||o.push(t));for(var p=0;p<i;p++){var h=r[p].nodeName;this.isType(h,a)&&(t=d.registry[h],(n=t.extends)&&f!==n||o.push(t))}for(var m=function(e){var t=e.classList;if(t)return t;var n=e.attributes;return n.class&&n.class.nodeValue.split(/\s+/)||[]}(e),b=m.length,g=0;g<b;g++){var y=m[g];this.isType(y,s)&&(t=d.registry[y],(n=t.extends)&&f!==n||o.push(t))}return o},isType:function(e,t){var n=this.get(e);return n&&n.type===t},isNativeCustomElement:function(e){return f()&&this.isType(e,u)&&l(e)},set:function(e,t){if(c(d.registry,e))throw new Error('A component definition of type "'+t.type+'" with the ID of "'+e+'" already exists.');return d.registry[e]=t,this}}})?r.apply(t,i):r)||(e.exports=o)},76:
/*!******************************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/mutation-observer.js ***!
\******************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t],void 0===(o="function"==typeof(r=function(e){"use strict";var t;t=window,
/**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
"undefined"==typeof WeakMap&&function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+t+++"__"};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var t=e[this.name];return!(!t||t[0]!==e||(t[0]=t[1]=void 0,0))},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){if(!e.JsMutationObserver){var t,n=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))t=setTimeout;else if(window.setImmediate)t=window.setImmediate;else{var r=[],i=String(Math.random());window.addEventListener("message",function(e){if(e.data===i){var t=r;r=[],t.forEach(function(e){e()})}}),t=function(e){r.push(e),window.postMessage(i,"*")}}var o,a,s=!1,u=[],d=0;f.prototype={observe:function(e,t){var r;if(r=e,e=window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(r)||r,!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var i,o=n.get(e);o||n.set(e,o=[]);for(var a=0;a<o.length;a++)if(o[a].observer===this){(i=o[a]).removeListeners(),i.options=t;break}i||(i=new b(this,e,t),o.push(i),this.nodes_.push(e)),i.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){for(var t=n.get(e),r=0;r<t.length;r++){var i=t[r];if(i.observer===this){i.removeListeners(),t.splice(r,1);break}}},this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}},b.prototype={enqueue:function(e){var n,r=this.observer.records_,i=r.length;if(r.length>0){var o=r[i-1],a=m(o,e);if(a)return void(r[i-1]=a)}else n=this.observer,u.push(n),s||(s=!0,t(c));r[i]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=n.get(e);t||n.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=n.get(e),r=0;r<t.length;r++)if(t[r]===this){t.splice(r,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,r=e.target,i=new p("attributes",r);i.attributeName=t,i.attributeNamespace=n;var s=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;l(r,function(e){if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length||-1!==e.attributeFilter.indexOf(t)||-1!==e.attributeFilter.indexOf(n)))return e.attributeOldValue?h(s):i});break;case"DOMCharacterDataModified":var r=e.target,i=p("characterData",r),s=e.prevValue;l(r,function(e){if(e.characterData)return e.characterDataOldValue?h(s):i});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var u,d,c=e.target;"DOMNodeInserted"===e.type?(u=[c],d=[]):(u=[],d=[c]);var f=c.previousSibling,v=c.nextSibling,i=p("childList",e.target.parentNode);i.addedNodes=u,i.removedNodes=d,i.previousSibling=f,i.nextSibling=v,l(e.relatedNode,function(e){if(e.childList)return i})}o=a=void 0}},e.JsMutationObserver=f,e.MutationObserver||(e.MutationObserver=f,f._isPolyfilled=!0)}function c(){s=!1;var e=u;u=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var r=e.takeRecords();!function(e){e.nodes_.forEach(function(t){var r=n.get(t);r&&r.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}(e),r.length&&(e.callback_(r,e),t=!0)}),t&&c()}function l(e,t){for(var r=e;r;r=r.parentNode){var i=n.get(r);if(i)for(var o=0;o<i.length;o++){var a=i[o],s=a.options;if(r===e||s.subtree){var u=t(s);u&&a.enqueue(u)}}}}function f(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++d}function v(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function p(e,t){return o=new v(e,t)}function h(e){return a||((n=new v((t=o).type,t.target)).addedNodes=t.addedNodes.slice(),n.removedNodes=t.removedNodes.slice(),n.previousSibling=t.previousSibling,n.nextSibling=t.nextSibling,n.attributeName=t.attributeName,n.attributeNamespace=t.attributeNamespace,n.oldValue=t.oldValue,(a=n).oldValue=e,a);var t,n}function m(e,t){return e===t?e:!a||(n=e)!==a&&n!==o?null:a;var n}function b(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}}(t)})?r.apply(t,i):r)||(e.exports=o)},77:
/*!**********************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/lifecycle.js ***!
\**********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t,n(/*! ./constants */28),n(/*! ./data */276),n(/*! ./mutation-observer */76),n(/*! ./registry */75),n(/*! ./utils */27)],void 0===(o="function"==typeof(r=function(e,t,n,r,i,o){"use strict";var a=function(e){return e&&e.__esModule?e.default:e};Object.defineProperty(e,"__esModule",{value:!0});var s=t.ATTR_IGNORE,u=a(n),d=a(i),c=o.camelCase,l=o.elementContains,f=o.hasOwn,v=o.inherit,p=o.objEach,h=window.Node,m=window.HTMLElement.prototype,b=m.matches||m.msMatchesSelector||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector,g=!b.call(document.createElement("div"),"div"),y=function(e,t){if(g){var n=e.cloneNode();return document.createElement("div").appendChild(n),b.call(n,t)}return b.call(e,t)},E=/Edge/.test(navigator.userAgent);function w(e,t,n){Object.defineProperty(e,n,{get:function(){return this.getAttribute(t)},set:function(e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}})}function N(e,t,n){var r,i,o,a=n.name,s=n.newValue;E&&(o=u(e,"cachedAttributeOldValues"));var d=E&&f(o,a)?o[a]:n.oldValue,c="string"==typeof s,l="string"==typeof d,v=t.attributes,p=v&&v[a];!l&&c?i="created":l&&c?i="updated":l&&!c&&(i="removed"),E&&("removed"===i?delete o[a]:o[a]=s),p&&"function"==typeof p[i]?r=p[i]:p&&"function"==typeof p.fallback?r=p.fallback:"function"==typeof p?r=p:"function"==typeof v&&(r=v),s=void 0===s?null:s,d=void 0===d?null:d,r&&r(e,{type:i,name:a,newValue:s,oldValue:d})}function M(e,t){"object"==typeof t.events&&p(t.events,function(t,n){var r,i={name:(r=n.split(" ")).shift(),delegate:r.join(" ")},o=!!i.delegate&&("blur"===i.name||"focus"===i.name);e.addEventListener(i.name,function(t,n){return function(r){if(!n)return t(e,r,e);for(var i=r.target;i&&i!==document&&i!==e.parentNode;){if(y(i,n))return t(e,r,i);i=i.parentNode}}}(t,i.delegate),o)})}function O(e,t){var n=u(e,t.id);n.created||(n.created=!0,v(e,t.prototype,!0),t.template&&!e.hasAttribute(t.resolvedAttribute)&&t.template(e),e.removeAttribute(t.unresolvedAttribute),e.setAttribute(t.resolvedAttribute,""),M(e,t),function(e,t){var n=e.attributes;t.attributes&&!d.isNativeCustomElement(t.id)&&new window.MutationObserver(function(r){r.forEach(function(r){var i=r.attributeName,o=n[i];N(e,t,{name:i,newValue:o&&(o.value||o.nodeValue),oldValue:r.oldValue})})}).observe(e,{attributes:!0,attributeOldValue:!0})}(e,t),function(e,t){var n=t.attributes;if("object"==typeof n)for(var r in n){var i=c(r);f(n,r)&&!f(e,i)&&w(e,r,i)}}(e,t),function(e,t){var n=t.attributes;if("object"==typeof n)for(var r in n)if(f(n,r)&&f(n[r],"value")&&!e.hasAttribute(r)){var i=n[r].value;i="function"==typeof i?i(e):i,e.setAttribute(r,i)}}(e,t),function(e,t){var n,r=e.attributes,i=[],o=r.length;for(n=0;n<o;n++)i.push(r[n]);for(n=0;n<o;n++){var a=i[n];N(e,t,{name:a.nodeName,newValue:a.value||a.nodeValue})}}(e,t),t.created&&t.created(e))}function _(e,t){var n=u(e,t.id);n.attached||l(document,e)&&(n.attached=!0,t.attached&&t.attached(e),n.detached=!1)}function T(e,t){var n=u(e,t.id);n.detached||(n.detached=!0,t.detached&&t.detached(e),n.attached=!1)}e.initElements=function e(t){for(var n=0;n<t.length;n++){var r=t[n];if(r.nodeType===h.ELEMENT_NODE&&!r.attributes[s]){for(var i=d.getForElement(r),o=i.length,a=0;a<o;a++)l=r,f=i[a],O(l,f),_(l,f);var u=r.childNodes||[],c=u.length;c&&e(u)}}var l,f},e.removeElements=function e(t){for(var n=0;n<t.length;n++){var r=t[n];if(r.nodeType===h.ELEMENT_NODE){e(r.childNodes);for(var i=d.getForElement(r),o=i.length,a=0;a<o;a++)T(r,i[a])}}},e.triggerAttached=_,e.triggerAttributeChanged=N,e.triggerCreated=O,e.triggerDetached=T})?r.apply(t,i):r)||(e.exports=o)},78:
/*!********************************************************************************************!*\
!*** /Users/cdarroch/work/atlassian/aui-stuff/auinext/node_modules/skatejs/lib/version.js ***!
\********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,i,o;i=[t,e],void 0===(o="function"==typeof(r=function(e,t){"use strict";t.exports="0.13.17"})?r.apply(t,i):r)||(e.exports=o)}};