UNPKG

attributes-kit

Version:
6 lines 795 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AttributesKit=t():e.AttributesKit=t()}(this,function(){return function(e){function t(a){if(n[a])return n[a].exports;var o=n[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=625)}([function(e,t,n){"use strict";e.exports=n(37)},function(e,t,n){e.exports=n(494)()},function(e,t,n){"use strict";function a(e,t,n,a,i,r,s,c){if(o(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,a,i,r,s,c],p=0;u=new Error(t.replace(/%s/g,function(){return l[p++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(e){};e.exports=a},function(e,t,n){"use strict";function a(e){return n.i(o.a)(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(169),i=n(174),r=n(499),s=n(497),c=n(171),u=n(501);n(175);n.d(t,"Plugins",function(){return i.a}),n.d(t,"Style",function(){return r.a}),n.d(t,"StyleRoot",function(){return s.a}),n.d(t,"getState",function(){return c.a}),n.d(t,"keyframes",function(){return u.a}),a.Plugins=i.a,a.Style=r.a,a.StyleRoot=s.a,a.getState=c.a,a.keyframes=u.a,t.default=a},function(e,t,n){var a=n(403),o=n(423),i=o(function(e,t,n){a(e,t,n)});e.exports=i},function(e,t,n){"use strict";var a=n(16),o=a;e.exports=o},function(e,t,n){"use strict";function a(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=a},function(e,t,n){"use strict";function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/* object-assign (c) Sindre Sorhus @license MIT */ var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),u=1;u<arguments.length;u++){n=Object(arguments[u]);for(var l in n)i.call(n,l)&&(c[l]=n[l]);if(o){s=o(n);for(var p=0;p<s.length;p++)r.call(n,s[p])&&(c[s[p]]=n[s[p]])}}return c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(608);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(609);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n(610);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var r=n(611);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var s=n(612);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var c=n(613);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var u=n(614);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var l=n(615);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var p=n(76);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(616);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})})},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 r(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)}Object.defineProperty(t,"__esModule",{value:!0});var s,c=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),u=n(0),l=a(u),p=n(1),f=(a(p),n(3)),m=a(f),d=n(4),h=a(d),y=(0,m.default)(s=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),c(t,[{key:"render",value:function(){return l.default.createElement("div",{style:this.style},this.props.children)}},{key:"style",get:function(){var e={height:"auto",width:"100%",display:"flex",flexDirection:"column",flexWrap:"no-wrap",justifyContent:"flex-start",alignItems:"flex-start"};return(0,h.default)(e,this.props.style)}}]),t}(l.default.Component))||s;t.default=y,e.exports=t.default},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";function a(e,t){return 1===e.nodeType&&e.getAttribute(d)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function i(e,t){var n=o(e);n._hostNode=t,t[y]=n}function r(e){var t=e._hostNode;t&&(delete t[y],e._hostNode=null)}function s(e,t){if(!(e._flags&h.hasCachedChildNodes)){var n=e._renderedChildren,r=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var c=n[s],u=o(c)._domID;if(0!==u){for(;null!==r;r=r.nextSibling)if(a(r,u)){i(c,r);continue e}p("32",u)}}e._flags|=h.hasCachedChildNodes}}function c(e){if(e[y])return e[y];for(var t=[];!e[y];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,a;e&&(a=e[y]);e=t.pop())n=a,t.length&&s(a,e);return n}function u(e){var t=c(e);return null!=t&&t._hostNode===e?t:null}function l(e){if(void 0===e._hostNode&&p("33"),e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent||p("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var p=n(6),f=n(34),m=n(179),d=(n(2),f.ID_ATTRIBUTE_NAME),h=m,y="__reactInternalInstance$"+Math.random().toString(36).slice(2),v={getClosestInstanceFromNode:c,getInstanceFromNode:u,getNodeFromInstance:l,precacheChildNodes:s,precacheNode:i,uncacheNode:r};e.exports=v},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 r(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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=n(0),u=a(c),l=n(1),p=(a(l),n(4)),f=a(p),m=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),s(t,[{key:"getStyles",value:function(){var e={width:"100%",height:"auto",display:"flex",flexDirection:"row",flexWrap:"no-wrap",justifyContent:"flex-start",alignItems:"stretch",position:"relative"};return(0,f.default)(e,this.props.style||{})}},{key:"render",value:function(){return u.default.createElement("div",{style:this.getStyles(),onClick:this.props.onClick},this.props.children)}}]),t}(u.default.Component);t.default=m,e.exports=t.default},function(e,t,n){"use strict";var a=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:a,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen,isInWorker:!a};e.exports=o},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DEFAULT_FONT_FAMILY="-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",t.MONO_FONT_FAMILY="SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace"},function(e,t,n){"use strict";function a(e){return function(){return e}}var o=function(){};o.thatReturns=a,o.thatReturnsFalse=a(!1),o.thatReturnsTrue=a(!0),o.thatReturnsNull=a(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function a(e,t,n){return n?[e,t]:e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,e.exports=t.default},function(e,t,n){function a(e){if(null==e)return!0;if(c(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||p(e)||r(e)))return!e.length;var t=i(e);if(t==f||t==m)return!e.size;if(l(e))return!o(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}var o=n(147),i=n(44),r=n(66),s=n(10),c=n(28),u=n(47),l=n(63),p=n(67),f="[object Map]",m="[object Set]",d=Object.prototype,h=d.hasOwnProperty;e.exports=a},function(e,t,n){"use strict";var a=null;e.exports={debugTool:a}},function(e,t,n){var a=n(154),o="object"==typeof self&&self&&self.Object===Object&&self,i=a||o||Function("return this")();e.exports=i},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function a(){S.ReactReconcileTransaction&&x||l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=S.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,r){return a(),x.batchedUpdates(e,t,n,o,i,r)}function r(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==v.length&&l("124",t,v.length),v.sort(r),g++;for(var n=0;n<t;n++){var a=v[n],o=a._pendingCallbacks;a._pendingCallbacks=null;var i;if(d.logTopLevelRenders){var s=a;a._currentElement.type.isReactTopLevelWrapper&&(s=a._renderedComponent),i="React update: "+s.getName(),console.time(i)}if(h.performUpdateIfNecessary(a,e.reconcileTransaction,g),i&&console.timeEnd(i),o)for(var c=0;c<o.length;c++)e.callbackQueue.enqueue(o[c],a.getPublicInstance())}}function c(e){if(a(),!x.isBatchingUpdates)return void x.batchedUpdates(c,e);v.push(e),null==e._updateBatchNumber&&(e._updateBatchNumber=g+1)}function u(e,t){x.isBatchingUpdates||l("125"),b.enqueue(e,t),w=!0}var l=n(6),p=n(7),f=n(177),m=n(30),d=n(182),h=n(35),y=n(72),v=(n(2),[]),g=0,b=f.getPooled(),w=!1,x=null,_={initialize:function(){this.dirtyComponentsLength=v.length},close:function(){this.dirtyComponentsLength!==v.length?(v.splice(0,this.dirtyComponentsLength),E()):v.length=0}},j={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},k=[_,j];p(o.prototype,y,{getTransactionWrappers:function(){return k},destructor:function(){this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,S.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return y.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),m.addPoolingTo(o);var E=function(){for(;v.length||w;){if(v.length){var e=o.getPooled();e.perform(s,null,e),o.release(e)}if(w){w=!1;var t=b;b=f.getPooled(),t.notifyAll(),f.release(t)}}},O={injectReconcileTransaction:function(e){e||l("126"),S.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e||l("127"),"function"!=typeof e.batchedUpdates&&l("128"),"boolean"!=typeof e.isBatchingUpdates&&l("129"),x=e}},S={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:c,flushBatchedUpdates:E,injection:O,asap:u};e.exports=S},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 r(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Value=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=n(29),u=a(c),l=n(0),p=a(l),f=n(1),m=(a(f),n(8)),d=n(604),h=n(78),y=a(h),v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),s(t,[{key:"render",value:function(){return this.props.element?(0,m.isMember)(this.props.element)?(0,m.isStructured)(this.props.element)?p.default.createElement(y.default,{element:this.props.element.content.value,expandableCollapsible:this.props.expandableCollapsible,parentElement:this.props.parentElement,style:this.props.style,isSample:this.props.isSample,collapseByDefault:this.props.collapseByDefault}):p.default.createElement(d.PrimitiveValue,{value:this.props.element.content.value.content,style:this.props.style,collapseByDefault:this.props.collapseByDefault}):(0,m.isStructured)(this.props.element)?p.default.createElement(y.default,{element:this.props.element,expandableCollapsible:this.props.expandableCollapsible,parentElement:this.props.parentElement,style:this.props.style,isSample:this.props.isSample,collapseByDefault:this.props.collapseByDefault}):(0,m.isObject)(this.props.element)||(0,m.isArray)(this.props.element)||(0,m.isSelect)(this.props.element)||(0,m.isEnum)(this.props.element)?p.default.createElement(y.default,{element:this.props.element,expandableCollapsible:this.props.expandableCollapsible,parentElement:this.props.parentElement,style:this.props.style,isSample:this.props.isSample,collapseByDefault:this.props.collapseByDefault}):(0,u.default)(this.props.element.content)?null:p.default.createElement(d.PrimitiveValue,{value:this.props.element.content,style:this.props.style,collapseByDefault:this.props.collapseByDefault}):null}}]),t}(p.default.Component);t.Value=v},function(e,t,n){"use strict";function a(e,t,n,a){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=a:this[i]=n[i]}var c=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=c?r.thatReturnsTrue:r.thatReturnsFalse,this.isPropagationStopped=r.thatReturnsFalse,this}var o=n(7),i=n(30),r=n(16),s=(n(5),["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),c={type:null,target:null,currentTarget:r.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=r.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=r.thatReturnsTrue)},persist:function(){this.isPersistent=r.thatReturnsTrue},isPersistent:r.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),a.Interface=c,a.augmentClass=function(e,t){var n=this,a=function(){};a.prototype=n.prototype;var r=new a;o(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(a,i.fourArgumentPooler),e.exports=a},function(e,t,n){"use strict";var a={current:null};e.exports=a},function(e,t,n){function a(e){return null==e?void 0===e?c:s:u&&u in Object(e)?i(e):r(e)}var o=n(41),i=n(430),r=n(456),s="[object Null]",c="[object Undefined]",u=o?o.toStringTag:void 0;e.exports=a},function(e,t,n){function a(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(396),i=n(431);e.exports=a},function(e,t,n){function a(e){return null!=e&&i(e.length)&&!o(e)}var o=n(93),i=n(94);e.exports=a},function(e,t){function n(e){return void 0===e}e.exports=n},function(e,t,n){"use strict";var a=n(6),o=(n(2),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var a=n.instancePool.pop();return n.call(a,e,t),a}return new n(e,t)},r=function(e,t,n){var a=this;if(a.instancePool.length){var o=a.instancePool.pop();return a.call(o,e,t,n),o}return new a(e,t,n)},s=function(e,t,n,a){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,a),i}return new o(e,t,n,a)},c=function(e){var t=this;e instanceof t||a("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},u=o,l=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||u,n.poolSize||(n.poolSize=10),n.release=c,n},p={addPoolingTo:l,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:r,fourArgumentPooler:s};e.exports=p},function(e,t,n){"use strict";function a(e){return"string"==typeof e&&o.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var o=/-webkit-|-moz-|-ms-/;e.exports=t.default},function(e,t,n){function a(e){return r(e)?o(e):i(e)}var o=n(138),i=n(147),r=n(28);e.exports=a},function(e,t,n){"use strict";function a(e){if(d){var t=e.node,n=e.children;if(n.length)for(var a=0;a<n.length;a++)h(t,n[a],null);else null!=e.html?p(t,e.html):null!=e.text&&m(t,e.text)}}function o(e,t){e.parentNode.replaceChild(t.node,e),a(t)}function i(e,t){d?e.children.push(t):e.node.appendChild(t.node)}function r(e,t){d?e.html=t:p(e.node,t)}function s(e,t){d?e.text=t:m(e.node,t)}function c(){return this.node.nodeName}function u(e){return{node:e,children:[],html:null,text:null,toString:c}}var l=n(100),p=n(74),f=n(108),m=n(194),d="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),h=f(function(e,t,n){11===t.node.nodeType||1===t.node.nodeType&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===l.html)?(a(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),a(t))});u.insertTreeBefore=h,u.replaceChildWithTree=o,u.queueChild=i,u.queueHTML=r,u.queueText=s,e.exports=u},function(e,t,n){"use strict";function a(e,t){return(e&t)===t}var o=n(6),i=(n(2),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=i,n=e.Properties||{},r=e.DOMAttributeNamespaces||{},c=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},l=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var p in n){s.properties.hasOwnProperty(p)&&o("48",p);var f=p.toLowerCase(),m=n[p],d={attributeName:f,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseProperty:a(m,t.MUST_USE_PROPERTY),hasBooleanValue:a(m,t.HAS_BOOLEAN_VALUE),hasNumericValue:a(m,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:a(m,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:a(m,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(d.hasBooleanValue+d.hasNumericValue+d.hasOverloadedBooleanValue<=1||o("50",p),c.hasOwnProperty(p)){var h=c[p];d.attributeName=h}r.hasOwnProperty(p)&&(d.attributeNamespace=r[p]),u.hasOwnProperty(p)&&(d.propertyName=u[p]),l.hasOwnProperty(p)&&(d.mutationMethod=l[p]),s.properties[p]=d}}}),r=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:r,ATTRIBUTE_NAME_CHAR:r+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){if((0,s._isCustomAttributeFunctions[t])(e))return!0}return!1},injection:i};e.exports=s},function(e,t,n){"use strict";function a(){o.attachRefs(this,this._currentElement)}var o=n(550),i=(n(19),n(5),{mountComponent:function(e,t,n,o,i,r){var s=e.mountComponent(t,n,o,i,r);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(a,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,i){var r=e._currentElement;if(t!==r||i!==e._context){var s=o.shouldUpdateRefs(r,t);s&&o.detachRefs(e,r),e.receiveComponent(t,n,i),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(a,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});e.exports=i},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 r(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)}Object.defineProperty(t,"__esModule",{value:!0});var s,c,u,l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),p=n(0),f=a(p),m=n(1),d=a(m),h=n(3),y=a(h),v=n(4),g=a(v),b=n(9),w=a(b),x=n(12),_=a(x),j=n(15),k=(0,y.default)((u=c=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),l(t,[{key:"renderStyles",value:function(){var e=this.context.theme.SAMPLE_TOGGLE_TITLE_COLOR,t={root:{cursor:"pointer"},iconColumn:{width:"12px",minWidth:"12px",maxWidth:"12px"},icon:{width:"12px",height:"12px",backgroundRepeat:"no-repeat",backgroundPosition:"left center"},title:{userSelect:"none",lineHeight:"12px",letterSpacing:"0.85px",fontFamily:j.DEFAULT_FONT_FAMILY,fontSize:"12px",color:e,textTransform:"uppercase",paddingLeft:"6px"}};return this.props.isExpanded?(t.icon.backgroundImage="url("+n(642)+")",t.icon.backgroundSize="12px 7px"):(t.icon.backgroundImage="url("+n(641)+")",t.icon.backgroundSize="7px 12px"),(0,g.default)(t,this.props.style||{})}},{key:"render",value:function(){return f.default.createElement(_.default,{style:this.renderStyles().root,onClick:this.props.onClick},f.default.createElement(w.default,{style:this.renderStyles().iconColumn},f.default.createElement("div",{style:this.renderStyles().icon})),f.default.createElement(w.default,null,f.default.createElement("div",{style:this.renderStyles().title},this.props.sampleTitle||"Sample")))}}]),t}(f.default.Component),c.contextTypes={theme:d.default.object},s=u))||s;t.default=k,e.exports=t.default},function(e,t,n){"use strict";var a=n(7),o=n(628),i=n(116),r=n(633),s=n(629),c=n(630),u=n(38),l=n(631),p=n(634),f=n(635),m=(n(5),u.createElement),d=u.createFactory,h=u.cloneElement,y=a,v={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:r,createElement:m,cloneElement:h,isValidElement:u.isValidElement,PropTypes:l,createClass:s.createClass,createFactory:d,createMixin:function(e){return e},DOM:c,version:p,__spread:y};e.exports=v},function(e,t,n){"use strict";function a(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(7),r=n(25),s=(n(5),n(206),Object.prototype.hasOwnProperty),c=n(204),u={key:!0,ref:!0,__self:!0,__source:!0},l=function(e,t,n,a,o,i,r){var s={$$typeof:c,type:e,key:t,ref:n,props:r,_owner:i};return s};l.createElement=function(e,t,n){var i,c={},p=null,f=null;if(null!=t){a(t)&&(f=t.ref),o(t)&&(p=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!u.hasOwnProperty(i)&&(c[i]=t[i])}var m=arguments.length-2;if(1===m)c.children=n;else if(m>1){for(var d=Array(m),h=0;h<m;h++)d[h]=arguments[h+2];c.children=d}if(e&&e.defaultProps){var y=e.defaultProps;for(i in y)void 0===c[i]&&(c[i]=y[i])}return l(e,p,f,0,0,r.current,c)},l.createFactory=function(e){var t=l.createElement.bind(null,e);return t.type=e,t},l.cloneAndReplaceKey=function(e,t){return l(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},l.cloneElement=function(e,t,n){var c,p=i({},e.props),f=e.key,m=e.ref,d=(e._self,e._source,e._owner);if(null!=t){a(t)&&(m=t.ref,d=r.current),o(t)&&(f=""+t.key);var h;e.type&&e.type.defaultProps&&(h=e.type.defaultProps);for(c in t)s.call(t,c)&&!u.hasOwnProperty(c)&&(void 0===t[c]&&void 0!==h?p[c]=h[c]:p[c]=t[c])}var y=arguments.length-2;if(1===y)p.children=n;else if(y>1){for(var v=Array(y),g=0;g<y;g++)v[g]=arguments[g+2];p.children=v}return l(e.type,f,m,0,0,d,p)},l.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===c},e.exports=l},function(e,t,n){"use strict";function a(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=a},function(e,t,n){"use strict";var a={};e.exports=a},function(e,t,n){var a=n(20),o=a.Symbol;e.exports=o},function(e,t,n){var a=n(389),o=n(424),i=o(a);e.exports=i},function(e,t,n){function a(e,t,n,a){var r=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],l=a?a(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),r?i(n,u,l):o(n,u,l)}return n}var o=n(142),i=n(85);e.exports=a},function(e,t,n){var a=n(373),o=n(82),i=n(375),r=n(376),s=n(378),c=n(26),u=n(162),l=u(a),p=u(o),f=u(i),m=u(r),d=u(s),h=c;(a&&"[object DataView]"!=h(new a(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||i&&"[object Promise]"!=h(i.resolve())||r&&"[object Set]"!=h(new r)||s&&"[object WeakMap]"!=h(new s))&&(h=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,a=n?u(n):"";if(a)switch(a){case l:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case m:return"[object Set]";case d:return"[object WeakMap]"}return t}),e.exports=h},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){(function(e){var a=n(20),o=n(486),i="object"==typeof t&&t&&!t.nodeType&&t,r=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=r&&r.exports===i,c=s?a.Buffer:void 0,u=c?c.isBuffer:void 0,l=u||o;e.exports=l}).call(t,n(118)(e))},function(e,t,n){function a(e){return"symbol"==typeof e||i(e)&&o(e)==r}var o=n(26),i=n(21),r="[object Symbol]";e.exports=a},function(e,t,n){"use strict";function a(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!a(t));default:return!1}}var i=n(6),r=n(101),s=n(102),c=n(106),u=n(188),l=n(189),p=(n(2),{}),f=null,m=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},d=function(e){return m(e,!0)},h=function(e){return m(e,!1)},y=function(e){return"."+e._rootNodeID},v={injection:{injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n&&i("94",t,typeof n);var a=y(e);(p[t]||(p[t]={}))[a]=n;var o=r.registrationNameModules[t];o&&o.didPutListener&&o.didPutListener(e,t,n)},getListener:function(e,t){var n=p[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var a=y(e);return n&&n[a]},deleteListener:function(e,t){var n=r.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var a=p[t];if(a){delete a[y(e)]}},deleteAllListeners:function(e){var t=y(e);for(var n in p)if(p.hasOwnProperty(n)&&p[n][t]){var a=r.registrationNameModules[n];a&&a.willDeleteListener&&a.willDeleteListener(e,n),delete p[n][t]}},extractEvents:function(e,t,n,a){for(var o,i=r.plugins,s=0;s<i.length;s++){var c=i[s];if(c){var l=c.extractEvents(e,t,n,a);l&&(o=u(o,l))}}return o},enqueueEvents:function(e){e&&(f=u(f,e))},processEventQueue:function(e){var t=f;f=null,e?l(t,d):l(t,h),f&&i("95"),c.rethrowCaughtError()},__purge:function(){p={}},__getListenerBank:function(){return p}};e.exports=v},function(e,t,n){"use strict";function a(e,t,n){var a=t.dispatchConfig.phasedRegistrationNames[n];return v(e,a)}function o(e,t,n){var o=a(e,n,t);o&&(n._dispatchListeners=h(n._dispatchListeners,o),n._dispatchInstances=h(n._dispatchInstances,e))}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&d.traverseTwoPhase(e._targetInst,o,e)}function r(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?d.getParentInstance(t):null;d.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var a=n.dispatchConfig.registrationName,o=v(e,a);o&&(n._dispatchListeners=h(n._dispatchListeners,o),n._dispatchInstances=h(n._dispatchInstances,e))}}function c(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function u(e){y(e,i)}function l(e){y(e,r)}function p(e,t,n,a){d.traverseEnterLeave(n,a,s,e,t)}function f(e){y(e,c)}var m=n(49),d=n(102),h=n(188),y=n(189),v=(n(5),m.getListener),g={accumulateTwoPhaseDispatches:u,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:p};e.exports=g},function(e,t,n){"use strict";var a={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=a},function(e,t,n){"use strict";function a(e,t,n,a){return o.call(this,e,t,n,a)}var o=n(24),i=n(111),r={view:function(e){if(e.view)return e.view;var t=i(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(a,r),e.exports=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 r(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)}Object.defineProperty(t,"__esModule",{value:!0});var s,c,u,l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),p=n(14),f=a(p),m=n(478),d=a(m),h=n(492),y=a(h),v=n(4),g=a(v),b=n(3),w=a(b),x=n(0),_=a(x),j=n(1),k=a(j),E=n(15),O=n(76);y.default.setOptions({sanitize:!0});var S=(0,w.default)((u=c=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),l(t,[{key:"render",value:function(){var e=t.getDescription(this.props.element);if(!e&&(0,O.isMember)(this.props.element)){var n=this.props.element.content;n&&n.value&&(e=t.getDescription(n.value))}if(!e)return!1;var a={__html:(0,y.default)(e)};return _.default.createElement("div",null,_.default.createElement("div",{style:this.style.base,dangerouslySetInnerHTML:a}))}},{key:"style",get:function(){var e=this.context.theme.DESCRIPTION_COLOR,t={base:{fontFamily:E.DEFAULT_FONT_FAMILY,fontSize:"13px",color:e,lineHeight:"150%",fontWeight:"regular"}};return(0,g.default)(t,this.props.style||{})}}],[{key:"getDescription",value:function(e){if(e.meta&&e.meta.description){if((0,d.default)(e.meta.description))return e.meta.description;if((0,f.default)(e.meta.description))return e.meta.description.content}return null}}]),t}(_.default.Component),c.contextTypes={theme:k.default.object},s=u))||s;t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 r(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)}Object.defineProperty(t,"__esModule",{value:!0});var s,c,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n(0),p=a(l),f=n(1),m=a(f),d=n(3),h=a(d),y=n(4),v=a(y),g=n(8),b=n(15),w=(c=s=function(e){function t(){var e,n,a,r;o(this,t);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=a=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),a.handleClick=function(e){var t=(0,g.getReference)(a.props.element),n=(0,g.findElement)(t,a.context.dereferencedDataStructures);return a.context.onElementLinkClick?a.context.onElementLinkClick(n.meta.id,n,e):null},r=n,i(a,r)}return r(t,e),u(t,[{key:"render",value:function(){if(this.props.reference)return p.default.createElement("div",{style:this.style.reference,onClick:this.handleClick},this.props.reference);if(this.props.type)return p.default.createElement("div",{style:this.style.type},this.props.type);if(this.props.element){var e=(0,g.getType)(this.props.element);if(e)return p.default.createElement("div",{style:this.style.type},e)}return null}},{key:"style",get:function(){var e=this.context.theme.TYPE_COLOR,t={type:{width:"100%",fontFamily:b.MONO_FONT_FAMILY,fontWeight:"regular",fontSize:"13px",color:e,lineHeight:"13px"},reference:{width:"100%",fontFamily:b.MONO_FONT_FAMILY,fontWeight:"regular",fontSize:"13px",color:e,textDecoration:"underline",cursor:"pointer",":hover":{textDecoration:"none"}}};return(0,v.default)(t,this.props.style||{})}}]),t}(p.default.Component),s.contextTypes={theme:m.default.object,onElementLinkClick:m.default.func,dereferencedDataStructures:m.default.array},c);t.default=(0,h.default)(w),e.exports=t.default},function(e,t,n){"use strict";function a(e){this.name="MissingCacheObjectException",this.message=(0,r.default)(o,JSON.stringify(e,null,2))}Object.defineProperty(t,"__esModule",{value:!0}),t.MissingCacheObjectException=void 0;var o=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n The element is missing the ‘cache’ object. Please check that the the Refract tree has been preprocessed. Element is ‘","’.\n "],["\n The element is missing the ‘cache’ object. Please check that the the Refract \\\n tree has been preprocessed. Element is ‘","’.\n "]),i=n(219),r=function(e){return e&&e.__esModule?e:{default:e}}(i);a.prototype=new Error,t.MissingCacheObjectException=a},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var o=n(442),i=n(443),r=n(444),s=n(445),c=n(446);a.prototype.clear=o,a.prototype.delete=i,a.prototype.get=r,a.prototype.has=s,a.prototype.set=c,e.exports=a},function(e,t,n){function a(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(57),i=n(463),r=n(464),s=n(465),c=n(466),u=n(467);a.prototype.clear=i,a.prototype.delete=r,a.prototype.get=s,a.prototype.has=c,a.prototype.set=u,e.exports=a},function(e,t,n){function a(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(45);e.exports=a},function(e,t,n){function a(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):c(e)}var o=n(401),i=n(402),r=n(46),s=n(10),c=n(482);e.exports=a},function(e,t,n){function a(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(440);e.exports=a},function(e,t,n){function a(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?i(n)&&r(t,n.length):"string"==a&&t in n)&&o(n[t],e)}var o=n(45),i=n(28),r=n(90),s=n(14);e.exports=a},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||a)}var a=Object.prototype;e.exports=n},function(e,t,n){var a=n(27),o=a(Object,"create");e.exports=o},function(e,t,n){function a(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(48),i=1/0;e.exports=a},function(e,t,n){var a=n(392),o=n(21),i=Object.prototype,r=i.hasOwnProperty,s=i.propertyIsEnumerable,c=a(function(){return arguments}())?a:function(e){return o(e)&&r.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t,n){var a=n(398),o=n(86),i=n(92),r=i&&i.isTypedArray,s=r?o(r):a;e.exports=s},function(e,t,n){function a(e){return r(e)?o(e,!0):i(e)}var o=n(138),i=n(399),r=n(28);e.exports=a},function(e,t,n){function a(e,t){return(s(e)?o:r)(e,i(t,3))}var o=n(84),i=n(60),r=n(400),s=n(10);e.exports=a},function(e,t,n){"use strict";function a(e){return Object.prototype.hasOwnProperty.call(e,h)||(e[h]=m++,p[e[h]]={}),p[e[h]]}var o,i=n(7),r=n(101),s=n(542),c=n(187),u=n(575),l=n(112),p={},f=!1,m=0,d={topAbort:"abort",topAnimationEnd:u("animationend")||"animationend",topAnimationIteration:u("animationiteration")||"animationiteration",topAnimationStart:u("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:u("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},h="_reactListenersID"+String(Math.random()).slice(2),y=i({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=a(n),i=r.registrationNameDependencies[e],s=0;s<i.length;s++){var c=i[s];o.hasOwnProperty(c)&&o[c]||("topWheel"===c?l("wheel")?y.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):l("mousewheel")?y.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):y.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===c?l("scroll",!0)?y.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):y.ReactEventListener.trapBubbledEvent("topScroll","scroll",y.ReactEventListener.WINDOW_HANDLE):"topFocus"===c||"topBlur"===c?(l("focus",!0)?(y.ReactEventListener.trapCapturedEvent("topFocus","focus",n),y.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):l("focusin")&&(y.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),y.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),o.topBlur=!0,o.topFocus=!0):d.hasOwnProperty(c)&&y.ReactEventListener.trapBubbledEvent(c,d[c],n),o[c]=!0)}},trapBubbledEvent:function(e,t,n){return y.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return y.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=y.supportsEventPageXY()),!o&&!f){var e=c.refreshScrollValues;y.ReactEventListener.monitorScrollValue(e),f=!0}}});e.exports=y},function(e,t,n){"use strict";function a(e,t,n,a){return o.call(this,e,t,n,a)}var o=n(52),i=n(187),r=n(110),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:r,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+i.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+i.currentScrollTop}};o.augmentClass(a,s),e.exports=a},function(e,t,n){"use strict";var a=n(6),o=(n(2),{}),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,i,r,s,c){this.isInTransaction()&&a("27");var u,l;try{this._isInTransaction=!0,u=!0,this.initializeAll(0),l=e.call(t,n,o,i,r,s,c),u=!1}finally{try{if(u)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var a=t[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=a.initialize?a.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()||a("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i,r=t[n],s=this.wrapperInitData[n];try{i=!0,s!==o&&r.close&&r.close.call(this,s),i=!1}finally{if(i)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}};e.exports=i},function(e,t,n){"use strict";function a(e){var t=""+e,n=i.exec(t);if(!n)return t;var a,o="",r=0,s=0;for(r=n.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:a="&quot;";break;case 38:a="&amp;";break;case 39:a="&#x27;";break;case 60:a="&lt;";break;case 62:a="&gt;";break;default:continue}s!==r&&(o+=t.substring(s,r)),s=r+1,o+=a}return s!==r?o+t.substring(s,r):o}function o(e){return"boolean"==typeof e||"number"==typeof e?""+e:a(e)}var i=/["'&<>]/;e.exports=o},function(e,t,n){"use strict";var a,o=n(13),i=n(100),r=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,c=n(108),u=c(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{a=a||document.createElement("div"),a.innerHTML="<svg>"+t+"</svg>";for(var n=a.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),r.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),l=null}e.exports=u},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 r(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)}Object.defineProperty(t,"__esModule",{value:!0});var s,c=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),u=n(0),l=a(u),p=n(1),f=(a(p),n(3)),m=a(f),d=n(4),h=a(d),y=n(23),v=n(9),g=a(v),b=n(12),w=a(b),x=n(36),_=a(x),j=(0,m.default)(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleExpandCollapse=function(){n.setState({isExpanded:!n.state.isExpanded})},n.state={isExpanded:!1},n}return r(t,e),c(t,[{key:"render",value:function(){return l.default.createElement(w.default,{style:this.style.row},l.default.createElement(g.default,null,l.default.createElement(_.default,{sampleTitle:this.props.title||"Sample",onClick:this.handleExpandCollapse,isExpanded:this.state.isExpanded}),this.state.isExpanded&&l.default.createElement(y.Value,{element:this.props.sample,style:this.style.value,collapseByDefault:this.props.collapseByDefault})))}},{key:"style",get:function(){var e={row:{width:"100%"},value:{base:{marginTop:"4px",marginBottom:"4px"}}};return(0,h.default)(e,this.props.style||{})}}]),t}(l.default.Component))||s;t.default=j,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(!e)return!1;if(!e.cache)throw new h.MissingCacheObjectException(e);return e.cache.isObject}function o(e){if(!e)return!1;if(!e.cache)throw new h.MissingCacheObjectException(e);return e.cache.isArray}function i(e){if(!e)return!1;if(!e.cache)throw new h.MissingCacheObjectException(e);return e.cache.isEnum}function r(e){if(!e)return!1;if(!e.cache)throw new h.MissingCacheObjectException(e);return e.cache.isSelect}function s(e){return a(e)||o(e)}function c(e){return a(e)||o(e)||i(e)}function u(e){return o(e)||i(e)}function l(e){return o(e)||i(e)||r(e)}function p(e){return!!e&&(e.element?e.element===y.TYPES.MEMBER:e===y.TYPES.MEMBER)}function f(e){if(p(e.element)){if((0,g.default)(e.content.value))return;return e.content.value.element}return e.element}function m(e){return p(e.element)?f(e):e.element}functio