Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rax

Package Overview
Dependencies
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rax - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

2

dist/rax.min.js
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define)define("rax",function(t,n,r){r.exports=e()});else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:this,t.Rax=e()}}(function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDriver=t.setDriver=t.version=t.setNativeProps=t.findComponentInstance=t.unmountComponentAtNode=t.findDOMNode=t.render=t.PropTypes=t.PureComponent=t.Component=t.createFactory=t.isValidElement=t.cloneElement=t.createElement=void 0;var r=n(1);Object.defineProperty(t,"createElement",{enumerable:!0,get:function(){return r.createElement}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function(){return r.cloneElement}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function(){return r.isValidElement}}),Object.defineProperty(t,"createFactory",{enumerable:!0,get:function(){return r.createFactory}});var o=n(5);Object.defineProperty(t,"setDriver",{enumerable:!0,get:function(){return o.setDriver}}),Object.defineProperty(t,"getDriver",{enumerable:!0,get:function(){return o.getDriver}}),n(12);var i=n(19),u=n(3).interopRequireDefault(i),l=n(20),a=n(3).interopRequireDefault(l),f=n(21),d=n(3).interopRequireDefault(f),s=n(22),c=n(3).interopRequireDefault(s),p=n(8),v=n(3).interopRequireDefault(p),h=n(15),m=n(3).interopRequireDefault(h),_=n(34),y=n(3).interopRequireDefault(_),C=n(7),g=n(3).interopRequireDefault(C),b=n(35),N=n(3).interopRequireDefault(b);t.Component=u.default,t.PureComponent=a.default,t.PropTypes=d.default,t.render=c.default,t.findDOMNode=v.default,t.unmountComponentAtNode=m.default,t.findComponentInstance=y.default,t.setNativeProps=g.default,t.version=N.default},function(e,t,n){"use strict";function r(){if(p.default.component){var e=p.default.component.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(e,t){if(Array.isArray(e))for(var n=0,r=e.length;n<r;n++)o(e[n],t);else t.push(e)}function i(e){if(null==e)return e;var t=[];return o(e,t),1===t.length&&(t=t[0]),t}function u(e){if(e){if(Array.isArray(e)){for(var t={},n=0;n<e.length;++n){var r=u(e[n]);if(r)for(var o in r)t[o]=r[o]}return t}return e}}function l(e,t){if(v.isWeex&&"text"===e){var n=t.children;n&&(Array.isArray(n)&&(n=n.join("")),t.children=null,t.value=n)}return t}function a(e,t){if(null==e)throw Error("createElement: type should not be null or undefined."+r());var o={},l=void 0,a=null,f=null;if(null!=t){f=void 0===t.ref?null:t.ref,a=void 0===t.key?null:String(t.key);for(l in t)t.hasOwnProperty(l)&&!h.hasOwnProperty(l)&&(o[l]=t[l])}for(var d=arguments.length,s=Array(d>2?d-2:0),c=2;c<d;c++)s[c-2]=arguments[c];if(s.length&&(o.children=i(s)),e&&e.defaultProps){var v=e.defaultProps;for(l in v)void 0===o[l]&&(o[l]=v[l])}return o.style&&(Array.isArray(o.style)||"object"===n(3).typeof(o.style))&&(o.style=u(o.style)),new m(e,a,f,o,p.default.component)}function f(e){var t=a.bind(null,e);return t.type=e,t}function d(e,t){var n=Object.assign({},e.props),r=e.key,o=e.ref,u=e._owner;if(t){void 0!==t.ref&&(o=t.ref,u=p.default.component),void 0!==t.key&&(r=String(t.key));var l=void 0;e.type&&e.type.defaultProps&&(l=e.type.defaultProps);var a=void 0;for(a in t)t.hasOwnProperty(a)&&!h.hasOwnProperty(a)&&(void 0===t[a]&&void 0!==l?n[a]=l[a]:n[a]=t[a])}for(var f=arguments.length,d=Array(f>2?f-2:0),s=2;s<f;s++)d[s-2]=arguments[s];return d.length&&(n.children=i(d)),new m(e.type,r,o,n,u)}function s(e){return"object"===("undefined"==typeof e?"undefined":n(3).typeof(e))&&null!==e&&e.type&&e.props}Object.defineProperty(t,"__esModule",{value:!0}),t.createElement=a,t.createFactory=f,t.cloneElement=d,t.isValidElement=s;var c=n(2),p=n(3).interopRequireDefault(c),v=n(4),h={key:!0,ref:!0},m=function(e,t,n,r,o){return r=l(e,r),{type:e,key:t,ref:n,props:r,_owner:o}};t.default=m},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={component:null,driver:null,mountID:1,sandbox:!0,rootComponents:{},rootInstances:{}}},function(e,t){t.interopRequireDefault=function(e){return e&&e.__esModule?e:{default:e}},t.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),t.classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.inherits=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},t.possibleConstructorReturn=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"===n(3).typeof(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":n(3).typeof(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":"undefined"==typeof e?"undefined":n(3).typeof(e)};t.isWeb="object"===("undefined"==typeof navigator?"undefined":r(navigator))&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product),t.isNode="undefined"!=typeof process&&!(!process.versions||!process.versions.node),t.isWeex="function"==typeof callNative,t.isReactNative="undefined"!=typeof __fbBatchedBridgeConfig},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.injectDriver=t.getDriver=t.setDriver=void 0;var r=n(2),o=n(3).interopRequireDefault(r),i=n(6),u=n(3).interopRequireDefault(i),l=n(10),a=n(3).interopRequireDefault(l),f=n(4),d=t.setDriver=function(e){o.default.driver=e},s=t.getDriver=function(){return o.default.driver};t.injectDriver=function(){var e=s();if(!e){if(f.isWeex)e=u.default;else{if(!f.isWeb)throw Error("No builtin driver matched");e=a.default}d(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=(n(3).interopRequireDefault(r),n(7)),i=n(3).interopRequireDefault(o),u=n(9),l="style",a="id",f="text",d=750,s=11,c={},p="object"===("undefined"==typeof __weex_document__?"undefined":n(3).typeof(__weex_document__))?__weex_document__:"object"===("undefined"==typeof p?"undefined":n(3).typeof(p))?p:null,v={getElementById:function(e){return c[e]},getChildNodes:function(e){return e.children},createBody:function(){if(p.open(),p.body)return p.body;var e=p.documentElement,t=p.createBody();return e.appendChild(t),t},createFragment:function(){return{nodeType:s,childNodes:[]}},createComment:function(e){return p.createComment(e)},createEmpty:function(){return this.createComment(" empty ")},createText:function(e){return v.createElement({type:f,props:{value:e}})},updateText:function(e,t){this.setAttribute(e,"value",t)},createElement:function(e){var t=e.props,n={},r=t[l];for(var o in r)n[o]=(0,u.convertUnit)(r[o],o);var a=p.createElement(e.type,{style:n});return(0,i.default)(a,t,!0),a},appendChild:function(e,t){var n=this;return t.nodeType===s?t.childNodes.push(e):e.nodeType===s?e.childNodes.map(function(e){return n.appendChild(e,t)}):t.appendChild(e)},removeChild:function(e,t){var n=e.attr&&e.attr[a];return null!=n&&(c[n]=null),t.removeChild(e)},replaceChild:function(e,t,n){var r=t.previousSibling,o=t.nextSibling;this.removeChild(t,n),r?this.insertAfter(e,r,n):o?this.insertBefore(e,o,n):this.appendChild(e,n)},insertAfter:function(e,t,n){var r=this;return e.nodeType===s?e.childNodes.map(function(o,i){return r.insertAfter(o,e.childNodes[i-1]||t,n)}):n.insertAfter(e,t)},insertBefore:function(e,t,n){var r=this;return e.nodeType===s?e.childNodes.map(function(e,o){return r.insertBefore(e,t,n)}):n.insertBefore(e,t)},addEventListener:function(e,t,n){return e.addEvent(t,n)},removeEventListener:function(e,t,n){return e.removeEvent(t,n)},removeAllEventListeners:function(e){},removeAttribute:function(e,t,n){return t==a&&(c[n]=null),e.setAttr(t,void 0)},setAttribute:function(e,t,n){return t==a&&(c[n]=e),e.setAttr(t,n)},setStyles:function(e,t){for(var n in t){var r=t[n];r=(0,u.convertUnit)(r,n),e.setStyle(n,r)}},beforeRender:function(){(0,u.setRem)(this.getWindowWidth()/d)},afterRender:function(){p&&p.listener&&p.listener.createFinish&&p.listener.createFinish(function(){p.close()})},getWindowWidth:function(){return d}};t.default=v},function(e,t,n){"use strict";function r(e,t,n){e=(0,l.default)(e);for(var r in t){var o=t[r];if(r!==f&&null!=o)if(r===a){if(n)continue;i.default.driver.setStyles(e,o)}else if("on"===r.substring(0,2)){var u=r.slice(2).toLowerCase();i.default.driver.addEventListener(e,u,o)}else i.default.driver.setAttribute(e,r,o)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(2),i=n(3).interopRequireDefault(o),u=n(8),l=n(3).interopRequireDefault(u),a="style",f="children"},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(e.ownerDocument||e.nodeType)return e;if(e._nativeNode)return e._nativeNode;if("string"==typeof e)return i.default.driver.getElementById(e);if("function"!=typeof e.render)throw new Error("Appears to be neither Component nor DOMNode.");var t=e._internal;if(t){for(;!t._nativeNode;)if(t=t._renderedComponent,null==t)return null;return t._nativeNode}throw new Error("findDOMNode was called on an unmounted component.")}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=n(3).interopRequireDefault(o);t.default=r},function(e,t){"use strict";function n(e){return"string"==typeof e&&e.indexOf(f)!==-1}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return e.replace(d,function(e){return parseFloat(e)*t+"px"})}function o(){return s}function i(e){s=e}function u(e,t){return"number"==typeof e&&!a[t]}function l(e,t){return t&&u(e,t)?e*s+"px":n(e)?r(e):e}Object.defineProperty(t,"__esModule",{value:!0}),t.isRem=n,t.calcRem=r,t.getRem=o,t.setRem=i,t.isUnitNumber=u,t.convertUnit=l;var a={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,lines:!0},f="rem",d=/[-+]?\d*\.?\d+rem/g,s=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(3).interopRequireDefault(r),i=n(9),u=n(11),l=n(3).interopRequireDefault(u),a=750,f="dangerouslySetInnerHTML",d={getElementById:function(e){return document.getElementById(e)},getChildNodes:function(e){return e.childNodes},createBody:function(){return document.body},createFragment:function(){return document.createDocumentFragment()},createComment:function(e){return document.createComment(e)},createEmpty:function(){return this.createComment(" empty ")},createText:function(e){return document.createTextNode(e)},updateText:function(e,t){var n="textContent"in document?"textContent":"nodeValue";e[n]=t},createElement:function(e){var t=document.createElement(e.type),n=e.props;return(0,o.default)(t,n),t},appendChild:function(e,t){return t.appendChild(e)},removeChild:function(e,t){e.parentNode===t&&t.removeChild(e)},replaceChild:function(e,t,n){n.replaceChild(e,t)},insertAfter:function(e,t,n){var r=t.nextSibling;r?n.insertBefore(e,r):n.appendChild(e)},insertBefore:function(e,t,n){n.insertBefore(e,t)},addEventListener:function(e,t,n){return e.addEventListener(t,n)},removeEventListener:function(e,t,n){return e.removeEventListener(t,n)},removeAllEventListeners:function(e){},removeAttribute:function(e,t){"className"===t&&(t="class"),"input"!=e.nodeName.toLowerCase()||("checked"!=t||"checkbox"!==e.type&&"radio"!==e.type)&&"value"!=t?t===f?e.innerHTML=null:e.removeAttribute(t):e[t]=null},setAttribute:function(e,t,n){"className"===t&&(t="class"),"input"!=e.nodeName.toLowerCase()||("checked"!=t||"checkbox"!==e.type&&"radio"!==e.type)&&"value"!=t?t===f?e.innerHTML=n.__html:null!=n&&e.setAttribute(t,n):e[t]=n},setStyles:function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];l.default.isFlexProp(n)?l.default[n](r,e.style):e.style[n]=(0,i.convertUnit)(r,n)}},beforeRender:function(){(0,i.setRem)(this.getWindowWidth()/a)},getWindowWidth:function(){return document.documentElement.clientWidth}};t.default=d},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={stretch:"stretch","flex-start":"start","flex-end":"end",center:"center"},r={row:"horizontal",column:"vertical"},o={"flex-start":"start","flex-end":"end",center:"center","space-between":"justify","space-around":"justify"},i={display:!0,flex:!0,alignItems:!0,alignSelf:!0,flexDirection:!0,justifyContent:!0,flexWrap:!0},u={isFlexProp:function(e){return i[e]},display:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"flex"===e?(t.display="-webkit-box",t.display="-webkit-flex",t.display="flex"):t.display=e,t},flex:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitBoxFlex=e,t.webkitFlex=e,t.flex=e,t},flexWrap:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.flexWrap=e,t},alignItems:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitBoxAlign=n[e],t.webkitAlignItems=e,t.alignItems=e,t},alignSelf:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitAlignSelf=e,t.alignSelf=e,t},flexDirection:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitBoxOrient=r[e],t.webkitFlexDirection=e,t.flexDirection=e,t},justifyContent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitBoxPack=o[e],t.webkitJustifyContent=e,t.justifyContent=e,t}};t.default=u},function(e,t,n){"use strict";var r=n(13),o=n(3).interopRequireDefault(r);"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),o=n(3).interopRequireDefault(r),i=n(2),u=n(3).interopRequireDefault(i);t.default={ComponentTree:{getClosestInstanceFromNode:function(e){return o.default.get(e)},getNodeFromInstance:function(e){for(;e._renderedComponent;)e=e._renderedComponent;return e?e._nativeNode:null}},Mount:{_instancesByReactRootID:u.default.rootComponents,_renderNewRootComponent:function(){}},Reconciler:{mountComponent:function(){},receiveComponent:function(){},unmountComponent:function(){}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(3).interopRequireDefault(r),i=n(1),u=n(15),l=n(3).interopRequireDefault(u),a=n(16),f=n(3).interopRequireDefault(a),d=n(17),s=n(3).interopRequireDefault(d),c=n(18),p=n(3).interopRequireDefault(c),v=n(13),h=n(3).interopRequireDefault(v),m="$$instance";t.default={set:function(e,t){e[m]||(e[m]=t,t.rootID&&(o.default.rootInstances[t.rootID]=t,o.default.rootComponents[t.rootID]=t._internal))},get:function(e){return e[m]},remove:function(e){var t=this.get(e);t&&(e[m]=null,t.rootID&&(delete o.default.rootComponents[t.rootID],delete o.default.rootInstances[t.rootID]))},render:function(e,t){var n=this.get(t),r=n&&n.isRootComponent;if(r){var o=n.getRenderedComponent(),u=o._currentElement;if((0,s.default)(u,e)){var a=o._context;return o.updateComponent(u,e,a,a),n}h.default.Reconciler.unmountComponent(n),(0,l.default)(t)}var d=(0,i.createElement)(p.default,null,e),c=(0,f.default)(d),v={},m=c.mountComponent(t,v);return this.set(t,m),h.default.Mount._renderNewRootComponent(m._internal),m}}},function(e,t,n){"use strict";function r(e){var t=i.default.get(e);return!!t&&(i.default.remove(e),t._internal.unmountComponent(),!0)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(14),i=n(3).interopRequireDefault(o)},function(e,t,n){"use strict";function r(e){Array.isArray(e)&&e.length<2&&(e=e[0]);var t=void 0;if(void 0===e||null===e||e===!1||e===!0)t=new i.default.EmptyComponent;else if(Array.isArray(e))t=new i.default.FragmentComponent(e);else if("object"===("undefined"==typeof e?"undefined":n(3).typeof(e))&&e.type)t="string"==typeof e.type?new i.default.NativeComponent(e):new i.default.CompositeComponent(e);else{if("string"!=typeof e&&"number"!=typeof e)throw Error("Invalid element type "+JSON.stringify(e));t=new i.default.TextComponent(e)}return t._mountIndex=0,t}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=n(3).interopRequireDefault(o);t.default=r},function(e,t,n){"use strict";function r(e,t){var r=null===e,o=null===t;if(r||o)return r===o;var i="undefined"==typeof e?"undefined":n(3).typeof(e),u="undefined"==typeof t?"undefined":n(3).typeof(t);return"string"===i||"number"===i?"string"===u||"number"===u:"object"===i&&"object"===u&&e.type===t.type&&e.key===t.key}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),o=n(3).interopRequireDefault(r),i=1,u=function(e){function t(){var e,r,o,u;n(3).classCallCheck(this,t);for(var l=arguments.length,a=Array(l),f=0;f<l;f++)a[f]=arguments[f];return r=o=n(3).possibleConstructorReturn(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),o.rootID=i++,u=r,n(3).possibleConstructorReturn(o,u)}return n(3).inherits(t,e),n(3).createClass(t,[{key:"isRootComponent",value:function(){}},{key:"render",value:function(){return this.props.children}},{key:"getPublicInstance",value:function(){return this.getRenderedComponent().getPublicInstance()}},{key:"getRenderedComponent",value:function(){return this._internal._renderedComponent}}]),t}(o.default);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(t,r,o){n(3).classCallCheck(this,e),this.props=t,this.context=r,this.refs={},this.updater=o}return n(3).createClass(e,[{key:"isComponentClass",value:function(){}},{key:"setState",value:function(e,t){this.updater.setState(this,e,t)}},{key:"forceUpdate",value:function(e){this.updater.forceUpdate(this,e)}}]),e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),o=n(3).interopRequireDefault(r),i=function(e){function t(e,r){return n(3).classCallCheck(this,t),n(3).possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r))}return n(3).inherits(t,e),n(3).createClass(t,[{key:"isPureComponentClass",value:function(){}}]),t}(o.default);t.default=i},function(e,t){"use strict";function n(e){function t(e,t,n,r,o,i){}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function r(e){function t(e,t,n,r,o){}return n(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=r();t.default={array:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,element:o,node:o,any:o,arrayOf:o,instanceOf:o,objectOf:o,oneOf:o,oneOfType:o,shape:o}},function(e,t,n){"use strict";function r(e,t,n){(0,i.default)(),(0,a.injectDriver)();var r=(0,a.getDriver)();r.beforeRender&&r.beforeRender(e,t),null==t&&(t=r.createBody());var o=l.default.render(e,t),u=o.getPublicInstance();return n&&n.call(u),r.afterRender&&r.afterRender(u),u}Object.defineProperty(t,"__esModule",{value:!0});var o=n(23),i=n(3).interopRequireDefault(o),u=n(14),l=n(3).interopRequireDefault(u),a=(n(9),n(5));t.default=r},function(e,t,n){"use strict";function r(){i.default.EmptyComponent=l.default,i.default.NativeComponent=f.default,i.default.TextComponent=s.default,i.default.FragmentComponent=h.default,i.default.CompositeComponent=p.default}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(2),i=n(3).interopRequireDefault(o),u=n(24),l=n(3).interopRequireDefault(u),a=n(25),f=n(3).interopRequireDefault(a),d=n(28),s=n(3).interopRequireDefault(d),c=n(29),p=n(3).interopRequireDefault(c),v=n(33),h=n(3).interopRequireDefault(v)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(3).interopRequireDefault(r),i=function(){function e(){n(3).classCallCheck(this,e),this._currentElement=null}return n(3).createClass(e,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t;var r={_internal:this},i=this.getNativeNode();return n?n(i,e):o.default.driver.appendChild(i,e),r}},{key:"unmountComponent",value:function(e){this._nativeNode&&!e&&o.default.driver.removeChild(this._nativeNode,this._parent),this._nativeNode=null,this._parent=null,this._context=null}},{key:"updateComponent",value:function(){}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=o.default.driver.createEmpty()),this._nativeNode}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(3).interopRequireDefault(r),i=n(26),u=n(3).interopRequireDefault(i),l=n(16),a=n(3).interopRequireDefault(l),f=n(17),d=n(3).interopRequireDefault(f),s=n(27),c=n(3).interopRequireDefault(s),p=n(14),v=n(3).interopRequireDefault(p),h=n(13),m=n(3).interopRequireDefault(h),_="style",y="children",C="tree",g=function(){function e(t){n(3).classCallCheck(this,e),this._currentElement=t}return n(3).createClass(e,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=o.default.mountID++;var r=this._currentElement.props,i=this._currentElement.type,l={_internal:this,type:i,props:r},a=r.append;this._instance=l,this._prevStyleCopy=Object.assign({},r.style);var f=this.getNativeNode();a!==C&&(n?n(f,e):o.default.driver.appendChild(f,e)),this._currentElement&&this._currentElement.ref&&u.default.attach(this._currentElement._owner,this._currentElement.ref,this);var d=r.children;return null!=d&&this.mountChildren(d,t),a===C&&(n?n(f,e):o.default.driver.appendChild(f,e)),m.default.Reconciler.mountComponent(this),l}},{key:"mountChildren",value:function(e,t){var n=this;Array.isArray(e)||(e=[e]);var r={},o=e.map(function(e,o){var i=(0,a.default)(e),u=(0,c.default)(r,e,o);r[u]=i,i._mountIndex=o;var l=i.mountComponent(n.getNativeNode(),t);return l});return this._renderedChildren=r,o}},{key:"unmountChildren",value:function(){var e=this._renderedChildren;if(e){for(var t in e){var n=e[t];n.unmountComponent()}this._renderedChildren=null}}},{key:"unmountComponent",value:function(e){if(this._nativeNode){var t=this._currentElement.ref;t&&u.default.detach(this._currentElement._owner,t,this),v.default.remove(this._nativeNode),e||o.default.driver.removeChild(this._nativeNode,this._parent),o.default.driver.removeAllEventListeners(this._nativeNode)}this.unmountChildren(),m.default.Reconciler.unmountComponent(this),this._currentElement=null,this._nativeNode=null,this._parent=null,this._context=null,this._instance=null,this._prevStyleCopy=null}},{key:"updateComponent",value:function(e,t,n,r){this._currentElement=t,u.default.update(e,t,this);var o=e.props,i=t.props;this.updateProperties(o,i),this.updateChildren(i.children,r),m.default.Reconciler.receiveComponent(this)}},{key:"updateProperties",value:function(e,t){var n=void 0,r=void 0,i=void 0;for(n in e)if(n!==y&&!t.hasOwnProperty(n)&&e.hasOwnProperty(n)&&null!=e[n])if(n===_){var u=this._prevStyleCopy;for(r in u)u.hasOwnProperty(r)&&(i=i||{},i[r]="");this._prevStyleCopy=null}else"on"===n.substring(0,2)?e[n]&&o.default.driver.removeEventListener(this.getNativeNode(),n.slice(2).toLowerCase(),e[n]):o.default.driver.removeAttribute(this.getNativeNode(),n,e[n]);for(n in t){var l=t[n],a=n===_?this._prevStyleCopy:null!=e?e[n]:void 0;if(n!==y&&t.hasOwnProperty(n)&&l!==a&&(null!=l||null!=a))if(n===_)if(l?l=this._prevStyleCopy=Object.assign({},l):this._prevStyleCopy=null,null!=a){for(r in a)!a.hasOwnProperty(r)||l&&l.hasOwnProperty(r)||(i=i||{},i[r]="");for(r in l)l.hasOwnProperty(r)&&a[r]!==l[r]&&(i=i||{},i[r]=l[r])}else i=l;else"on"===n.substring(0,2)?(null!=a&&o.default.driver.removeEventListener(this.getNativeNode(),n.slice(2).toLowerCase(),a),null!=l&&o.default.driver.addEventListener(this.getNativeNode(),n.slice(2).toLowerCase(),l)):null!=l?o.default.driver.setAttribute(this.getNativeNode(),n,l):o.default.driver.removeAttribute(this.getNativeNode(),n,e[n])}i&&o.default.driver.setStyles(this.getNativeNode(),i)}},{key:"updateChildren",value:function(e,t){var n=this,r=this._renderedChildren;if(null!=e||null!=r){var i={},u={};if(null!=e){Array.isArray(e)||(e=[e]);for(var l=0,f=e.length;l<f;l++){var s=e[l],p=(0,c.default)(i,s,l),v=r&&r[p],h=v&&v._currentElement;if(null!=v&&(0,d.default)(h,s))v.updateComponent(h,s,t,t),i[p]=v;else{if(v){var m=v.getNativeNode();v.unmountComponent(!0),u[p]=m}i[p]=(0,a.default)(s)}}}if(null!=r)for(var _ in r)if(r.hasOwnProperty(_)){var y=r[_];i[_]||y.unmountComponent()}null!=i&&!function(){var e=0,l=0,a=null,f=function(f){if(!i.hasOwnProperty(f))return"continue";var d=i[f],s=r&&r[f];s===d?(s._mountIndex<e&&o.default.driver.insertAfter(s.getNativeNode(),a,n.getNativeNode()),e=Math.max(s._mountIndex,e),s._mountIndex=l):(null!=s&&(e=Math.max(s._mountIndex,e)),d.mountComponent(n.getNativeNode(),t,function(e,t){var n=u[f];if(n)o.default.driver.replaceChild(e,n,t);else{var r=o.default.driver.getChildNodes(t),i=r[l];i?o.default.driver.insertBefore(e,i,t):o.default.driver.appendChild(e,t)}}),d._mountIndex=l),l++,a=d.getNativeNode()};for(var d in i){f(d)}}(),this._renderedChildren=i}}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=o.default.driver.createElement(this._instance),v.default.set(this._nativeNode,this._instance)),this._nativeNode}},{key:"getPublicInstance",value:function(){return this.getNativeNode()}},{key:"getName",value:function(){return this._currentElement.type}}]),e}();t.default=g},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={update:function(e,t,n){var r=null!=e&&e.ref,o=null!=t&&t.ref;r!==o&&(null!=r&&this.detach(e._owner,r,n),null!=o&&this.attach(t._owner,o,n))},attach:function(e,t,n){if(!e)throw new Error("You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of Rax loaded.");var r=n.getPublicInstance();"function"==typeof t?t(r):e._instance.refs[t]=r},detach:function(e,t,n){if("function"==typeof t)t(null);else{var r=n.getPublicInstance();e._instance.refs[t]===r&&delete e._instance.refs[t]}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=t&&t.key,o="string"==typeof r,i="."+n.toString(36);if(o){var u="$"+r,l=void 0===e[u];return l||console.warn('Encountered two children with the same key "'+r+'".'),l?u:i}return i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(3).interopRequireDefault(r),i=n(13),u=n(3).interopRequireDefault(i),l=function(){function e(t){n(3).classCallCheck(this,e),this._currentElement=t,this._stringText=String(t)}return n(3).createClass(e,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=o.default.mountID++;var r=this.getNativeNode();n?n(r,e):o.default.driver.appendChild(r,e);var i={_internal:this};return u.default.Reconciler.mountComponent(this),i}},{key:"unmountComponent",value:function(e){this._nativeNode&&!e&&o.default.driver.removeChild(this._nativeNode,this._parent),u.default.Reconciler.unmountComponent(this),this._currentElement=null,this._nativeNode=null,this._parent=null,this._context=null,this._stringText=null}},{key:"updateComponent",value:function(e,t,n){e!==t&&(this._currentElement=t,this._stringText=String(t),o.default.driver.updateText(this.getNativeNode(),t),u.default.Reconciler.receiveComponent(this))}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=o.default.driver.createText(this._stringText)),this._nativeNode}}]),e}();t.default=l},function(e,t,n){"use strict";function r(e,t){try{return e()}catch(e){if(t)t(e);else{if(!f.default.sandbox)throw e;setTimeout(function(){throw e},0)}}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(30),i=n(3).interopRequireDefault(o),u=n(31),l=n(3).interopRequireDefault(u),a=n(2),f=n(3).interopRequireDefault(a),d=n(26),s=n(3).interopRequireDefault(d),c=n(16),p=n(3).interopRequireDefault(c),v=n(17),h=n(3).interopRequireDefault(v),m=n(32),_=n(3).interopRequireDefault(m),y=n(13),C=n(3).interopRequireDefault(y),g=function(){function e(t){n(3).classCallCheck(this,e),this._currentElement=t}return n(3).createClass(e,[{key:"getName",value:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null}},{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=f.default.mountID++,this._updateCount=0;var o=this._currentElement.type,u=this._currentElement.props,a=o.prototype&&o.prototype.isComponentClass,d=o.prototype.render,c=this._processContext(t),v=void 0,h=void 0;if(a||d)v=new o(u,c,l.default);else{if("function"!=typeof o)throw Error("Invalid component type "+JSON.stringify(o));v=new i.default(o)}v.props=u,v.context=c,v.refs={},v.updater=l.default,v._internal=this,this._instance=v;var m=v.state;if(void 0===m&&(v.state=m=null),r(function(){v.componentWillMount&&v.componentWillMount()}),null==h){f.default.component=this,v.state=this._processPendingState(u,c);var _=void 0;"function"==typeof v.handleError&&(_=function(e){v.handleError(e)}),r(function(){h=v.render()},_),f.default.component=null}return this._renderedComponent=(0,p.default)(h),this._renderedComponent.mountComponent(this._parent,this._processChildContext(t),n),this._currentElement&&this._currentElement.ref&&s.default.attach(this._currentElement._owner,this._currentElement.ref,this),r(function(){v.componentDidMount&&v.componentDidMount()}),C.default.Reconciler.mountComponent(this),v}},{key:"unmountComponent",value:function(e){var t=this._instance;if(r(function(){t.componentWillUnmount&&t.componentWillUnmount()}),C.default.Reconciler.unmountComponent(this),t._internal=null,null!=this._renderedComponent){var n=this._currentElement.ref;n&&s.default.detach(this._currentElement._owner,n,this),this._renderedComponent.unmountComponent(e),this._renderedComponent=null,this._instance=null}this._currentElement=null,this._pendingStateQueue=null,this._pendingForceUpdate=!1,this._context=null}},{key:"_processContext",value:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return{};var r={};for(var o in n)r[o]=e[o];return r}},{key:"_processChildContext",value:function(e){var t=this._instance,n=t.getChildContext&&t.getChildContext();return n?Object.assign({},e,n):e}},{key:"_processPendingState",value:function(e,t){var n=this._instance,r=this._pendingStateQueue;if(!r)return n.state;this._pendingStateQueue=null;for(var o=Object.assign({},n.state),i=0;i<r.length;i++){var u=r[i];Object.assign(o,"function"==typeof u?u.call(n,o,e,t):u)}return o}},{key:"updateComponent",value:function(e,t,n,o){var i=this,u=this._instance;u||console.error("Update component '"+this.getName()+"' that has already been unmounted (or failed to mount).");var l=!1,a=void 0,f=void 0;this._context===o?a=u.context:(a=this._processContext(o),l=!0),e===t?f=t.props:(f=t.props,
l=!0),l&&u.componentWillReceiveProps&&(this._pendingState=!0,r(function(){u.componentWillReceiveProps(f,a)}),this._pendingState=!1),s.default.update(e,t,this);var d=!0,c=u.props,p=u.state,v=this._processPendingState(f,a);this._pendingForceUpdate||(u.shouldComponentUpdate?d=r(function(){return u.shouldComponentUpdate(f,v,a)}):u.isPureComponentClass&&(d=!(0,_.default)(c,f)||!(0,_.default)(p,v))),d?!function(){i._pendingForceUpdate=!1;var e=u.context;r(function(){u.componentWillUpdate&&u.componentWillUpdate(f,v,a)}),i._currentElement=t,i._context=o,u.props=f,u.state=v,u.context=a,i._updateRenderedComponent(o),r(function(){u.componentDidUpdate&&u.componentDidUpdate(c,p,e)}),i._updateCount++}():(this._currentElement=t,this._context=o,u.props=f,u.state=v,u.context=a),C.default.Reconciler.receiveComponent(this)}},{key:"_updateRenderedComponent",value:function(e){var t=this,n=this._renderedComponent,o=n._currentElement,i=this._instance,u=void 0;f.default.component=this,r(function(){u=i.render()}),f.default.component=null,(0,h.default)(o,u)?n.updateComponent(o,u,n._context,this._processChildContext(e)):!function(){var r=n.getNativeNode();n.unmountComponent(!0),t._renderedComponent=(0,p.default)(u),t._renderedComponent.mountComponent(t._parent,t._processChildContext(e),function(e,t){f.default.driver.replaceChild(e,r,t)})}()}},{key:"getNativeNode",value:function(){var e=this._renderedComponent;if(e)return e.getNativeNode()}},{key:"getPublicInstance",value:function(){var e=this._instance;return e instanceof i.default?null:e}}]),e}();t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(t){n(3).classCallCheck(this,e),this.pureRender=t}return n(3).createClass(e,[{key:"render",value:function(){return this.pureRender(this.props,this.context)}}]),e}();t.default=r},function(e,t){"use strict";function n(e,t){if(t){var n=e._pendingCallbacks||(e._pendingCallbacks=[]);n.push(t)}}function r(e,t){if(t){var n=e._pendingStateQueue||(e._pendingStateQueue=[]);n.push(t)}}Object.defineProperty(t,"__esModule",{value:!0});var o={setState:function(e,t,o){var i=e._internal;i&&(r(i,t),n(i,o),i._pendingState||this.runUpdate(e))},forceUpdate:function(e,t){var r=e._internal;r&&(r._pendingForceUpdate=!0,n(r,t),this.runUpdate(e))},runUpdate:function(e){var t=e._internal;if(t&&t._renderedComponent){var n=t._pendingCallbacks;t._pendingCallbacks=null;var r=t._currentElement,o=t._context;(t._pendingStateQueue||t._pendingForceUpdate)&&t.updateComponent(r,r,o,o),n&&n.forEach(function(e){return e()})}}};t.default=o},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!==("undefined"==typeof e?"undefined":n(3).typeof(e))||null===e||"object"!==("undefined"==typeof t?"undefined":n(3).typeof(t))||null===t)return!1;var o=Object.keys(e),u=Object.keys(t);if(o.length!==u.length)return!1;for(var l=0;l<o.length;l++)if(!i.call(t,o[l])||!r(e[o[l]],t[o[l]]))return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.prototype.hasOwnProperty;t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(3).interopRequireDefault(r),i=n(25),u=n(3).interopRequireDefault(i),l=n(14),a=n(3).interopRequireDefault(l),f=n(16),d=n(3).interopRequireDefault(f),s=n(27),c=n(3).interopRequireDefault(s),p=n(13),v=n(3).interopRequireDefault(p),h=function(e){function t(e){return n(3).classCallCheck(this,t),n(3).possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return n(3).inherits(t,e),n(3).createClass(t,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=o.default.mountID++;var r={_internal:this};this._instance=r;var i=this.getNativeNode(),u=this._currentElement;return this.mountChildren(u,t),n?n(i,e):o.default.driver.appendChild(i,e),this._nativeNode=e,v.default.Reconciler.mountComponent(this),r}},{key:"mountChildren",value:function(e,t){var n=this,r={},i=this.getNativeNode(),u=e.map(function(e,u){var l=(0,d.default)(e),a=(0,c.default)(r,e,u);r[a]=l,l._mountIndex=u;var f=l.mountComponent(n._parent,t,function(e){o.default.driver.appendChild(e,i)});return f});return this._renderedChildren=r,u}},{key:"unmountComponent",value:function(e){this._nativeNode&&(a.default.remove(this._nativeNode),e||o.default.driver.removeChild(this._nativeNode,this._parent)),this.unmountChildren(),v.default.Reconciler.unmountComponent(this),this._currentElement=null,this._nativeNode=null,this._parent=null,this._context=null,this._instance=null}},{key:"updateComponent",value:function(e,t,n,r){this._currentElement=t,this.updateChildren(this._currentElement,r),v.default.Reconciler.receiveComponent(this)}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=o.default.driver.createFragment(this._instance)),this._nativeNode}},{key:"getPublicInstance",value:function(){return null}},{key:"getName",value:function(){return"fragment"}}]),t}(u.default);t.default=h},function(e,t,n){"use strict";function r(e){return null==e?null:i.default.get(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(14),i=n(3).interopRequireDefault(o);t.default=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="0.0.17"}])});
l=!0),l&&u.componentWillReceiveProps&&(this._pendingState=!0,r(function(){u.componentWillReceiveProps(f,a)}),this._pendingState=!1),s.default.update(e,t,this);var d=!0,c=u.props,p=u.state,v=this._processPendingState(f,a);this._pendingForceUpdate||(u.shouldComponentUpdate?d=r(function(){return u.shouldComponentUpdate(f,v,a)}):u.isPureComponentClass&&(d=!(0,_.default)(c,f)||!(0,_.default)(p,v))),d?!function(){i._pendingForceUpdate=!1;var e=u.context;r(function(){u.componentWillUpdate&&u.componentWillUpdate(f,v,a)}),i._currentElement=t,i._context=o,u.props=f,u.state=v,u.context=a,i._updateRenderedComponent(o),r(function(){u.componentDidUpdate&&u.componentDidUpdate(c,p,e)}),i._updateCount++}():(this._currentElement=t,this._context=o,u.props=f,u.state=v,u.context=a),C.default.Reconciler.receiveComponent(this)}},{key:"_updateRenderedComponent",value:function(e){var t=this,n=this._renderedComponent,o=n._currentElement,i=this._instance,u=void 0;f.default.component=this,r(function(){u=i.render()}),f.default.component=null,(0,h.default)(o,u)?n.updateComponent(o,u,n._context,this._processChildContext(e)):!function(){var r=n.getNativeNode();n.unmountComponent(!0),t._renderedComponent=(0,p.default)(u),t._renderedComponent.mountComponent(t._parent,t._processChildContext(e),function(e,t){f.default.driver.replaceChild(e,r,t)})}()}},{key:"getNativeNode",value:function(){var e=this._renderedComponent;if(e)return e.getNativeNode()}},{key:"getPublicInstance",value:function(){var e=this._instance;return e instanceof i.default?null:e}}]),e}();t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(t){n(3).classCallCheck(this,e),this.pureRender=t}return n(3).createClass(e,[{key:"render",value:function(){return this.pureRender(this.props,this.context)}}]),e}();t.default=r},function(e,t){"use strict";function n(e,t){if(t){var n=e._pendingCallbacks||(e._pendingCallbacks=[]);n.push(t)}}function r(e,t){if(t){var n=e._pendingStateQueue||(e._pendingStateQueue=[]);n.push(t)}}Object.defineProperty(t,"__esModule",{value:!0});var o={setState:function(e,t,o){var i=e._internal;i&&(r(i,t),n(i,o),i._pendingState||this.runUpdate(e))},forceUpdate:function(e,t){var r=e._internal;r&&(r._pendingForceUpdate=!0,n(r,t),this.runUpdate(e))},runUpdate:function(e){var t=e._internal;if(t&&t._renderedComponent){var n=t._pendingCallbacks;t._pendingCallbacks=null;var r=t._currentElement,o=t._context;(t._pendingStateQueue||t._pendingForceUpdate)&&t.updateComponent(r,r,o,o),n&&n.forEach(function(e){return e()})}}};t.default=o},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!==("undefined"==typeof e?"undefined":n(3).typeof(e))||null===e||"object"!==("undefined"==typeof t?"undefined":n(3).typeof(t))||null===t)return!1;var o=Object.keys(e),u=Object.keys(t);if(o.length!==u.length)return!1;for(var l=0;l<o.length;l++)if(!i.call(t,o[l])||!r(e[o[l]],t[o[l]]))return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.prototype.hasOwnProperty;t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=n(3).interopRequireDefault(r),i=n(25),u=n(3).interopRequireDefault(i),l=n(14),a=n(3).interopRequireDefault(l),f=n(16),d=n(3).interopRequireDefault(f),s=n(27),c=n(3).interopRequireDefault(s),p=n(13),v=n(3).interopRequireDefault(p),h=function(e){function t(e){return n(3).classCallCheck(this,t),n(3).possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return n(3).inherits(t,e),n(3).createClass(t,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=o.default.mountID++;var r={_internal:this};this._instance=r;var i=this.getNativeNode(),u=this._currentElement;return this.mountChildren(u,t),n?n(i,e):o.default.driver.appendChild(i,e),this._nativeNode=e,v.default.Reconciler.mountComponent(this),r}},{key:"mountChildren",value:function(e,t){var n=this,r={},i=this.getNativeNode(),u=e.map(function(e,u){var l=(0,d.default)(e),a=(0,c.default)(r,e,u);r[a]=l,l._mountIndex=u;var f=l.mountComponent(n._parent,t,function(e){o.default.driver.appendChild(e,i)});return f});return this._renderedChildren=r,u}},{key:"unmountComponent",value:function(e){this._nativeNode&&(a.default.remove(this._nativeNode),e||o.default.driver.removeChild(this._nativeNode,this._parent)),this.unmountChildren(),v.default.Reconciler.unmountComponent(this),this._currentElement=null,this._nativeNode=null,this._parent=null,this._context=null,this._instance=null}},{key:"updateComponent",value:function(e,t,n,r){this._currentElement=t,this.updateChildren(this._currentElement,r),v.default.Reconciler.receiveComponent(this)}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=o.default.driver.createFragment(this._instance)),this._nativeNode}},{key:"getPublicInstance",value:function(){return null}},{key:"getName",value:function(){return"fragment"}}]),t}(u.default);t.default=h},function(e,t,n){"use strict";function r(e){return null==e?null:i.default.get(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(14),i=n(3).interopRequireDefault(o);t.default=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="0.0.18"}])});
//# sourceMappingURL=rax.min.map

@@ -6,2 +6,2 @@ 'use strict';

});
exports.default = '0.0.17';
exports.default = '0.0.18';
{
"name": "rax",
"version": "0.0.17",
"version": "0.0.18",
"description": "A universal React-compatible render engine.",

@@ -16,4 +16,4 @@ "license": "BSD-3-Clause",

"dependencies": {
"universal-env": "^0.0.17"
"universal-env": "^0.0.18"
}
}

@@ -1,1 +0,1 @@

export default '0.0.17';
export default '0.0.18';

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc