react-tags-rails 2.2.6 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/react/tags/rails/version.rb +1 -1
- data/vendor/assets/javascript/reactTags.min.js +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b955d2b804fef95d385ce4ef44c6c5be9404ac7c
|
4
|
+
data.tar.gz: ac01d215974da0e16e60f41f9cb6a981b1e335eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cc44465c12e3ebbdc420ed42e681ca39e6d135131d22c243cc1eb827e1156ac2684c19a5fd03d7df7d4f849b520ba096f8af720e2b2d6bfeed95676ca67ce30
|
7
|
+
data.tar.gz: 06a1e42b1540885899ebb9c1a2af43c62784bf0552084e652f2401ea833b5db29ed078b179f09a322c5638f413a646b12fbcbf72d1f181805a3d455145f975d0
|
@@ -1,2 +1,3 @@
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("React"),require("ReactDnD"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDnD","ReactDOM"],e):"object"==typeof exports?exports.ReactTags=e(require("React"),require("ReactDnD"),require("ReactDOM")):t.ReactTags=e(t.React,t.ReactDnD,t.ReactDOM)}(this,function(t,e,r){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";var n=r(27),o=(r(141),r(47)),i=r(46),a=r(45),s=a.DragDropContext,u=r(84),c=r(75),p={ENTER:13,TAB:9,BACKSPACE:8,UP_ARROW:38,DOWN_ARROW:40,ESCAPE:27},f={tags:"ReactTags__tags",tagInput:"ReactTags__tagInput",selected:"ReactTags__selected",tag:"ReactTags__tag",remove:"ReactTags__remove",suggestions:"ReactTags__suggestions"},l=n.createClass({displayName:"ReactTags",propTypes:{tags:n.PropTypes.array,placeholder:n.PropTypes.string,labelField:n.PropTypes.string,suggestions:n.PropTypes.array,delimeters:n.PropTypes.array,autofocus:n.PropTypes.bool,inline:n.PropTypes.bool,handleDelete:n.PropTypes.func.isRequired,handleAddition:n.PropTypes.func.isRequired,handleDrag:n.PropTypes.func,allowDeleteFromEmptyInput:n.PropTypes.bool,handleInputChange:n.PropTypes.func,minQueryLength:n.PropTypes.number,shouldRenderSuggestions:n.PropTypes.func,removeComponent:n.PropTypes.func,autocomplete:n.PropTypes.oneOfType([n.PropTypes.bool,n.PropTypes.number]),readOnly:n.PropTypes.bool,classNames:n.PropTypes.object},getDefaultProps:function(){return{placeholder:"Add new tag",tags:[],suggestions:[],delimeters:[p.ENTER,p.TAB],autofocus:!0,inline:!0,allowDeleteFromEmptyInput:!0,minQueryLength:2,autocomplete:!1,readOnly:!1}},componentWillMount:function(){this.setState({classNames:c({},f,this.props.classNames)})},componentDidMount:function(){this.props.autofocus&&!this.props.readOnly&&this.refs.input.focus()},getInitialState:function(){return{suggestions:this.props.suggestions,query:"",selectedIndex:-1,selectionMode:!1}},filteredSuggestions:function(t,e){return e.filter(function(e){return 0===e.toLowerCase().indexOf(t.toLowerCase())})},componentWillReceiveProps:function(t){var e=this.filteredSuggestions(this.state.query,t.suggestions);this.setState({suggestions:e,classNames:c({},f,t.classNames)})},handleDelete:function(t,e){this.props.handleDelete(t),this.setState({query:""})},handleChange:function(t){this.props.handleInputChange&&this.props.handleInputChange(t.target.value.trim());var e=t.target.value.trim(),r=this.filteredSuggestions(e,this.props.suggestions);this.setState({query:e,suggestions:r})},handleKeyDown:function(t){var e=this.state,r=e.query,n=e.selectedIndex,o=e.suggestions;if(t.keyCode===p.ESCAPE&&(t.preventDefault(),this.setState({selectedIndex:-1,selectionMode:!1,suggestions:[]})),-1!==this.props.delimeters.indexOf(t.keyCode)&&(t.keyCode===p.TAB&&""===r||t.preventDefault(),""!==r&&(this.state.selectionMode&&(r=this.state.suggestions[this.state.selectedIndex]),this.addTag(r))),t.keyCode===p.BACKSPACE&&""==r&&this.props.allowDeleteFromEmptyInput&&this.handleDelete(this.props.tags.length-1),t.keyCode===p.UP_ARROW){t.preventDefault();var n=this.state.selectedIndex;0>=n?this.setState({selectedIndex:this.state.suggestions.length-1,selectionMode:!0}):this.setState({selectedIndex:n-1,selectionMode:!0})}t.keyCode===p.DOWN_ARROW&&(t.preventDefault(),this.setState({selectedIndex:(this.state.selectedIndex+1)%o.length,selectionMode:!0}))},addTag:function(t){var e=this.refs.input;if(this.props.autocomplete){var r=this.filteredSuggestions(t,this.props.suggestions);(1===this.props.autocomplete&&1===r.length||this.props.autocomplete===!0&&r.length)&&(t=r[0])}this.props.handleAddition(t),this.setState({query:"",selectionMode:!1,selectedIndex:-1}),e.value="",e.focus()},handleSuggestionClick:function(t,e){this.addTag(this.state.suggestions[t])},handleSuggestionHover:function(t,e){this.setState({selectedIndex:t,selectionMode:!0})},moveTag:function(t,e){var r=this.props.tags,n=r.filter(function(e){return e.id===t})[0],o=r.filter(function(t){return t.id===e})[0],i=r.indexOf(n),a=r.indexOf(o);this.props.handleDrag(n,i,a)},render:function(){var t=this.props.handleDrag?this.moveTag:null,e=this.props.tags.map(function(e,r){return n.createElement(o,{key:r,tag:e,labelField:this.props.labelField,onDelete:this.handleDelete.bind(this,r),moveTag:t,removeComponent:this.props.removeComponent,readOnly:this.props.readOnly,classNames:this.state.classNames})}.bind(this)),r=this.state.query.trim(),a=this.state.selectedIndex,s=this.state.suggestions,u=this.props.placeholder,c=this.props.readOnly?null:n.createElement("div",{className:this.state.classNames.tagInput},n.createElement("input",{ref:"input",type:"text",placeholder:u,"aria-label":u,onChange:this.handleChange,onKeyDown:this.handleKeyDown}),n.createElement(i,{query:r,suggestions:s,selectedIndex:a,handleClick:this.handleSuggestionClick,handleHover:this.handleSuggestionHover,minQueryLength:this.props.minQueryLength,shouldRenderSuggestions:this.props.shouldRenderSuggestions,classNames:this.state.classNames}));return n.createElement("div",{className:this.state.classNames.tags},n.createElement("div",{className:this.state.classNames.selected},e,this.props.inline&&c),!this.props.inline&&c)}});t.exports={WithContext:s(u)(l),WithOutContext:l,Keys:p}},function(t,e){function r(t){return!!t&&"object"==typeof t}t.exports=r},function(t,e){function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=r},function(t,e,r){var n=r(18),o=r(6),i=r(1),a="[object Array]",s=Object.prototype,u=s.toString,c=n(Array,"isArray"),p=c||function(t){return i(t)&&o(t.length)&&u.call(t)==a};t.exports=p},function(t,e){function r(t){var e=typeof t;return"number"==e||"boolean"==e||"string"==e&&"__proto__"!=t||null==t}t.exports=r},function(t,e,r){function n(t){return null!=t&&i(o(t))}var o=r(62),i=r(6);t.exports=n},function(t,e){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&n>=t}var n=9007199254740991;t.exports=r},function(t,e,r){var n=r(22),o=r(23),i=n(o,"Map");t.exports=i},function(t,e,r){function n(t){return i(t)&&o(t)&&s.call(t,"callee")&&!u.call(t,"callee")}var o=r(5),i=r(1),a=Object.prototype,s=a.hasOwnProperty,u=a.propertyIsEnumerable;t.exports=n},function(t,e,r){function n(t,e){for(var r=t.length;r--;)if(o(t[r][0],e))return r;return-1}var o=r(11);t.exports=n},function(t,e,r){var n=r(22),o=n(Object,"create");t.exports=o},function(t,e){function r(t,e){return t===e||t!==t&&e!==e}t.exports=r},function(t,e,r){function n(t){return i(t)&&o(t)}var o=r(43),i=r(26);t.exports=n},function(t,e){function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=r},function(t,e,r){function n(t,e){if("function"!=typeof t)throw new TypeError(a);return e=s(void 0===e?t.length-1:i(e),0),function(){for(var r=arguments,n=-1,i=s(r.length-e,0),a=Array(i);++n<i;)a[n]=r[e+n];switch(e){case 0:return t.call(this,a);case 1:return t.call(this,r[0],a);case 2:return t.call(this,r[0],r[1],a)}var u=Array(e+1);for(n=-1;++n<e;)u[n]=r[n];return u[e]=a,o(t,this,u)}}var o=r(36),i=r(136),a="Expected a function",s=Math.max;t.exports=n},function(t,e,r){function n(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=a,this.__views__=[]}var o=r(29),i=r(17),a=Number.POSITIVE_INFINITY;n.prototype=o(i.prototype),n.prototype.constructor=n,t.exports=n},function(t,e,r){function n(t,e,r){this.__wrapped__=t,this.__actions__=r||[],this.__chain__=!!e}var o=r(29),i=r(17);n.prototype=o(i.prototype),n.prototype.constructor=n,t.exports=n},function(t,e){function r(){}t.exports=r},function(t,e,r){function n(t,e){var r=null==t?void 0:t[e];return o(r)?r:void 0}var o=r(71);t.exports=n},function(t,e){function r(t,e){return t="number"==typeof t||n.test(t)?+t:-1,e=null==e?o:e,t>-1&&t%1==0&&e>t}var n=/^\d+$/,o=9007199254740991;t.exports=r},function(t,e,r){function n(t){if(null==t)return[];u(t)||(t=Object(t));var e=t.length;e=e&&s(e)&&(i(t)||o(t))&&e||0;for(var r=t.constructor,n=-1,c="function"==typeof r&&r.prototype===t,f=Array(e),l=e>0;++n<e;)f[n]=n+"";for(var h in t)l&&a(h,e)||"constructor"==h&&(c||!p.call(t,h))||f.push(h);return f}var o=r(8),i=r(3),a=r(19),s=r(6),u=r(2),c=Object.prototype,p=c.hasOwnProperty;t.exports=n},function(t,e){"use strict";e.__esModule=!0;var r="__NATIVE_FILE__";e.FILE=r;var n="__NATIVE_URL__";e.URL=n;var o="__NATIVE_TEXT__";e.TEXT=o},function(t,e,r){function n(t,e){var r=t[e];return o(r)?r:void 0}var o=r(130);t.exports=n},function(t,e,r){(function(t,n){var o=r(106),i={"function":!0,object:!0},a=i[typeof e]&&e&&!e.nodeType?e:void 0,s=i[typeof t]&&t&&!t.nodeType?t:void 0,u=o(a&&s&&"object"==typeof n&&n),c=o(i[typeof self]&&self),p=o(i[typeof window]&&window),f=o(i[typeof this]&&this),l=u||p!==(f&&f.window)&&p||c||f||Function("return this")();t.exports=l}).call(e,r(140)(t),function(){return this}())},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){function n(t){var e=o(t)?u.call(t):"";return e==i||e==a}var o=r(13),i="[object Function]",a="[object GeneratorFunction]",s=Object.prototype,u=s.toString;t.exports=n},function(t,e){function r(t){return!!t&&"object"==typeof t}t.exports=r},function(e,r){e.exports=t},function(t,e){function r(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}t.exports=r},function(t,e,r){var n=r(2),o=function(){function t(){}return function(e){if(n(e)){t.prototype=e;var r=new t;t.prototype=void 0}return r||{}}}();t.exports=o},function(t,e,r){var n=r(65),o=r(77),i=n?function(t){return n.get(t)}:o;t.exports=i},function(t,e,r){function n(t){for(var e=t.name+"",r=o[e],n=r?r.length:0;n--;){var i=r[n],a=i.func;if(null==a||a==t)return i.name}return e}var o=r(66);t.exports=n},function(t,e,r){function n(t){return i(t)&&o(t.length)&&!!N[P.call(t)]}var o=r(6),i=r(1),a="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",p="[object Error]",f="[object Function]",l="[object Map]",h="[object Number]",d="[object Object]",g="[object RegExp]",v="[object Set]",y="[object String]",m="[object WeakMap]",x="[object ArrayBuffer]",D="[object Float32Array]",_="[object Float64Array]",T="[object Int8Array]",b="[object Int16Array]",O="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",w="[object Uint16Array]",C="[object Uint32Array]",N={};N[D]=N[_]=N[T]=N[b]=N[O]=N[S]=N[E]=N[w]=N[C]=!0,N[a]=N[s]=N[x]=N[u]=N[c]=N[p]=N[f]=N[l]=N[h]=N[d]=N[g]=N[v]=N[y]=N[m]=!1;var I=Object.prototype,P=I.toString;t.exports=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(134),i=n(o),a=i["default"](function(){return/firefox/i.test(navigator.userAgent)});e.isFirefox=a;var s=i["default"](function(){return Boolean(window.safari)});e.isSafari=s},function(t,e,r){function n(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(121),i=r(122),a=r(123),s=r(124),u=r(125);n.prototype.clear=o,n.prototype["delete"]=i,n.prototype.get=a,n.prototype.has=s,n.prototype.set=u,t.exports=n},function(t,e,r){function n(t){var e=-1,r=t?t.length:0;for(this.__data__=new o;++e<r;)this.push(t[e])}var o=r(34),i=r(105);n.prototype.push=i,t.exports=n},function(t,e){function r(t,e,r){var n=r.length;switch(n){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}t.exports=r},function(t,e,r){function n(t,e){return!!t.length&&o(t,e,0)>-1}var o=r(99);t.exports=n},function(t,e){function r(t,e,r){for(var n=-1,o=t.length;++n<o;)if(r(e,t[n]))return!0;return!1}t.exports=r},function(t,e,r){function n(t,e){var r=t.__data__;if(o(e)){var n=r.__data__,a="string"==typeof e?n.string:n.hash;return a[e]===i}return r.has(e)}var o=r(4),i="__lodash_hash_undefined__";t.exports=n},function(t,e,r){function n(t,e){return o?void 0!==t[e]:a.call(t,e)}var o=r(10),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e){function r(t,e){return t="number"==typeof t||o.test(t)?+t:-1,e=null==e?n:e,t>-1&&t%1==0&&e>t}var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=r},function(t,e,r){function n(t){return o(t)&&s.call(t,"callee")&&(!c.call(t,"callee")||u.call(t)==i)}var o=r(12),i="[object Arguments]",a=Object.prototype,s=a.hasOwnProperty,u=a.toString,c=a.propertyIsEnumerable;t.exports=n},function(t,e,r){function n(t){return null!=t&&a(o(t))&&!i(t)}var o=r(110),i=r(25),a=r(44);t.exports=n},function(t,e){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&n>=t}var n=9007199254740991;t.exports=r},function(t,r){t.exports=e},function(t,e,r){"use strict";var n=r(27),o=n.createClass({displayName:"Suggestions",propTypes:{query:n.PropTypes.string.isRequired,selectedIndex:n.PropTypes.number.isRequired,suggestions:n.PropTypes.array.isRequired,handleClick:n.PropTypes.func.isRequired,handleHover:n.PropTypes.func.isRequired,minQueryLength:n.PropTypes.number,shouldRenderSuggestions:n.PropTypes.func,classNames:n.PropTypes.object},markIt:function(t,e){var r=e.trim().replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&"),n=RegExp(r,"gi");return{__html:t.replace(n,"<mark>$&</mark>")}},shouldRenderSuggestions:function(t){var e=this.props,r=e.minQueryLength||2;return e.query.length<r},render:function(){var t=this.props,e=this.props.suggestions.map(function(e,r){return n.createElement("li",{key:r,onClick:t.handleClick.bind(null,r),onMouseOver:t.handleHover.bind(null,r),className:r==t.selectedIndex?"active":""},n.createElement("span",{dangerouslySetInnerHTML:this.markIt(e,t.query)}))}.bind(this));return 0===e.length||null!=this.props.shouldRenderSuggestions&&this.shouldRenderSuggestions(t.query)||this.props.shouldRenderSuggestions(t.query)?null:n.createElement("div",{className:this.props.classNames.suggestions},n.createElement("ul",null," ",e," "))}});t.exports=o},function(t,e,r){"use strict";function n(t,e){return{connectDragSource:t.dragSource(),isDragging:e.isDragging()}}function o(t,e){return{connectDropTarget:t.dropTarget()}}var i=r(27),a=r(45),s=a.DragSource,u=a.DropTarget,c=r(49),p={TAG:"tag"},f={beginDrag:function(t){return{id:t.tag.id}},canDrag:function(t){return!t.readOnly}},l={hover:function(t,e){var r=e.getItem().id;r!==t.id&&t.moveTag(r,t.tag.id)},canDrop:function(t){return!t.readOnly}},h=i.createClass({displayName:"Tag",propTypes:{labelField:i.PropTypes.string,onDelete:i.PropTypes.func.isRequired,tag:i.PropTypes.object.isRequired,moveTag:i.PropTypes.func,removeComponent:i.PropTypes.func,classNames:i.PropTypes.object},getDefaultProps:function(){return{labelField:"text"}},render:function(){var t=this.props.tag[this.props.labelField],e=this.props,r=e.connectDragSource,n=e.isDragging,o=e.connectDropTarget,a=e.readOnly,s=this.props.removeComponent,u=i.createClass({displayName:"RemoveComponent",render:function(){return a?i.createElement("span",null):s?i.createElement(s,this.props):i.createElement("a",this.props,"x")}}),c=i.createElement("span",{style:{opacity:n?0:1},className:this.props.classNames.tag},t,i.createElement(u,{className:this.props.classNames.remove,onClick:this.props.onDelete}));return this.props.moveTag?r(o(c)):c}});t.exports=c(s(p.TAG,f,n),u(p.TAG,l,o))(h)},function(t,e,r){function n(t){if(u(t)&&!s(t)&&!(t instanceof o)){if(t instanceof i)return t;if(f.call(t,"__chain__")&&f.call(t,"__wrapped__"))return c(t)}return new i(t)}var o=r(15),i=r(16),a=r(17),s=r(3),u=r(1),c=r(69),p=Object.prototype,f=p.hasOwnProperty;n.prototype=a.prototype,t.exports=n},function(t,e,r){var n=r(61),o=n();t.exports=o},function(t,e){function r(t,e){if("function"!=typeof t)throw new TypeError(n);return e=o(void 0===e?t.length-1:+e||0,0),function(){for(var r=arguments,n=-1,i=o(r.length-e,0),a=Array(i);++n<i;)a[n]=r[e+n];switch(e){case 0:return t.call(this,a);case 1:return t.call(this,r[0],a);case 2:return t.call(this,r[0],r[1],a)}var s=Array(e+1);for(n=-1;++n<e;)s[n]=r[n];return s[e]=a,t.apply(this,s)}}var n="Expected a function",o=Math.max;t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=t.length;++r<n&&e(t[r],r,t)!==!1;);return t}t.exports=r},function(t,e){function r(t,e,r){r||(r={});for(var n=-1,o=e.length;++n<o;){var i=e[n];r[i]=t[i]}return r}t.exports=r},function(t,e,r){var n=r(60),o=n();t.exports=o},function(t,e,r){function n(t,e){return o(t,e,i)}var o=r(53),i=r(20);t.exports=n},function(t,e,r){function n(t,e,r,l,h){if(!u(t))return t;var d=s(e)&&(a(e)||p(e)),g=d?void 0:f(e);return o(g||e,function(o,a){if(g&&(a=o,o=e[a]),c(o))l||(l=[]),h||(h=[]),i(t,e,a,n,r,l,h);else{var s=t[a],u=r?r(s,o,a,t,e):void 0,p=void 0===u;p&&(u=o),void 0===u&&(!d||a in t)||!p&&(u===u?u===s:s!==s)||(t[a]=u)}}),t}var o=r(51),i=r(56),a=r(3),s=r(5),u=r(2),c=r(1),p=r(32),f=r(74);t.exports=n},function(t,e,r){function n(t,e,r,n,f,l,h){for(var d=l.length,g=e[r];d--;)if(l[d]==g)return void(t[r]=h[d]);var v=t[r],y=f?f(v,g,r,t,e):void 0,m=void 0===y;m&&(y=g,s(g)&&(a(g)||c(g))?y=a(v)?v:s(v)?o(v):[]:u(g)||i(g)?y=i(v)?p(v):u(v)?v:{}:m=!1),l.push(g),h.push(y),m?t[r]=n(y,g,f,l,h):(y===y?y!==v:v===v)&&(t[r]=y)}var o=r(28),i=r(8),a=r(3),s=r(5),u=r(72),c=r(32),p=r(73);t.exports=n},function(t,e){function r(t){return function(e){return null==e?void 0:e[t]}}t.exports=r},function(t,e,r){function n(t,e,r){if("function"!=typeof t)return o;if(void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,o){return t.call(e,r,n,o)};case 4:return function(r,n,o,i){return t.call(e,r,n,o,i)};case 5:return function(r,n,o,i,a){return t.call(e,r,n,o,i,a)}}return function(){return t.apply(e,arguments)}}var o=r(76);t.exports=n},function(t,e,r){function n(t){return a(function(e,r){var n=-1,a=null==e?0:r.length,s=a>2?r[a-2]:void 0,u=a>2?r[2]:void 0,c=a>1?r[a-1]:void 0;for("function"==typeof s?(s=o(s,c,5),a-=2):(s="function"==typeof c?c:void 0,a-=s?1:0),u&&i(r[0],r[1],u)&&(s=3>a?void 0:s,a=1);++n<a;){var p=r[n];p&&t(e,p,s)}return e})}var o=r(58),i=r(63),a=r(50);t.exports=n},function(t,e,r){function n(t){return function(e,r,n){for(var i=o(e),a=n(e),s=a.length,u=t?s:-1;t?u--:++u<s;){var c=a[u];if(r(i[c],c,i)===!1)break}return e}}var o=r(68);t.exports=n},function(t,e,r){function n(t){return function(){for(var e,r=arguments.length,n=t?r:-1,g=0,v=Array(r);t?n--:++n<r;){var y=v[g++]=arguments[n];if("function"!=typeof y)throw new TypeError(d);!e&&o.prototype.thru&&"wrapper"==a(y)&&(e=new o([],!0))}for(n=e?-1:r;++n<r;){y=v[n];var m=a(y),x="wrapper"==m?i(y):void 0;e=x&&u(x[0])&&x[1]==(f|c|p|l)&&!x[4].length&&1==x[9]?e[a(x[0])].apply(e,x[3]):1==y.length&&u(y)?e[m]():e.thru(y)}return function(){var t=arguments,n=t[0];if(e&&1==t.length&&s(n)&&n.length>=h)return e.plant(n).value();for(var o=0,i=r?v[o].apply(this,t):n;++o<r;)i=v[o].call(this,i);return i}}}var o=r(16),i=r(30),a=r(31),s=r(3),u=r(64),c=8,p=32,f=128,l=256,h=200,d="Expected a function";t.exports=n},function(t,e,r){var n=r(57),o=n("length");t.exports=o},function(t,e,r){function n(t,e,r){if(!a(r))return!1;var n=typeof e;if("number"==n?o(r)&&i(e,r.length):"string"==n&&e in r){var s=r[e];return t===t?t===s:s!==s}return!1}var o=r(5),i=r(19),a=r(2);t.exports=n},function(t,e,r){function n(t){var e=a(t),r=s[e];if("function"!=typeof r||!(e in o.prototype))return!1;if(t===r)return!0;var n=i(r);return!!n&&t===n[0]}var o=r(15),i=r(30),a=r(31),s=r(48);t.exports=n},function(t,e,r){(function(e){var n=r(18),o=n(e,"WeakMap"),i=o&&new o;t.exports=i}).call(e,function(){return this}())},function(t,e){var r={};t.exports=r},function(t,e,r){function n(t){for(var e=u(t),r=e.length,n=r&&t.length,c=!!n&&s(n)&&(i(t)||o(t)),f=-1,l=[];++f<r;){var h=e[f];(c&&a(h,n)||p.call(t,h))&&l.push(h)}return l}var o=r(8),i=r(3),a=r(19),s=r(6),u=r(20),c=Object.prototype,p=c.hasOwnProperty;t.exports=n},function(t,e,r){function n(t){return o(t)?t:Object(t)}var o=r(2);t.exports=n},function(t,e,r){function n(t){return t instanceof o?t.clone():new i(t.__wrapped__,t.__chain__,a(t.__actions__))}var o=r(15),i=r(16),a=r(28);t.exports=n},function(t,e,r){function n(t){return o(t)&&s.call(t)==i}var o=r(2),i="[object Function]",a=Object.prototype,s=a.toString;t.exports=n},function(t,e,r){function n(t){return null==t?!1:o(t)?p.test(u.call(t)):i(t)&&a.test(t)}var o=r(70),i=r(1),a=/^\[object .+?Constructor\]$/,s=Object.prototype,u=Function.prototype.toString,c=s.hasOwnProperty,p=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=n},function(t,e,r){function n(t){var e;if(!a(t)||p.call(t)!=s||i(t)||!c.call(t,"constructor")&&(e=t.constructor,"function"==typeof e&&!(e instanceof e)))return!1;var r;return o(t,function(t,e){r=e}),void 0===r||c.call(t,r)}var o=r(54),i=r(8),a=r(1),s="[object Object]",u=Object.prototype,c=u.hasOwnProperty,p=u.toString;t.exports=n},function(t,e,r){function n(t){return o(t,i(t))}var o=r(52),i=r(20);t.exports=n},function(t,e,r){var n=r(18),o=r(5),i=r(2),a=r(67),s=n(Object,"keys"),u=s?function(t){var e=null==t?void 0:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&o(t)?a(t):i(t)?s(t):[]}:a;t.exports=u},function(t,e,r){var n=r(55),o=r(59),i=o(n);t.exports=i},function(t,e){function r(t){return t}t.exports=r},function(t,e){function r(){}t.exports=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var i=r(138),a=n(i),s=r(139),u=n(s),c=function(){function t(){o(this,t),this.entered=[]}return t.prototype.enter=function(t){var e=this.entered.length;return this.entered=a["default"](this.entered.filter(function(e){return document.documentElement.contains(e)&&(!e.contains||e.contains(t))}),[t]),0===e&&this.entered.length>0},t.prototype.leave=function(t){var e=this.entered.length;return this.entered=u["default"](this.entered.filter(function(t){return document.documentElement.contains(t)}),t),e>0&&0===this.entered.length},t.prototype.reset=function(){this.entered=[]},t}();e["default"]=c,t.exports=e["default"]},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var a=r(129),s=o(a),u=r(85),c=o(u),p=r(78),f=o(p),l=r(33),h=r(82),d=r(81),g=r(21),v=n(g),y=function(){function t(e){i(this,t),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new f["default"],this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this)}return t.prototype.setup=function(){if("undefined"!=typeof window){if(this.constructor.isSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.constructor.isSetUp=!0,this.addEventListeners(window)}},t.prototype.teardown=function(){"undefined"!=typeof window&&(this.constructor.isSetUp=!1,this.removeEventListeners(window),this.clearCurrentDragSourceNode())},t.prototype.addEventListeners=function(t){t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0)},t.prototype.removeEventListeners=function(t){t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0)},t.prototype.connectDragPreview=function(t,e,r){var n=this;return this.sourcePreviewNodeOptions[t]=r,this.sourcePreviewNodes[t]=e,function(){delete n.sourcePreviewNodes[t],delete n.sourcePreviewNodeOptions[t]}},t.prototype.connectDragSource=function(t,e,r){var n=this;this.sourceNodes[t]=e,this.sourceNodeOptions[t]=r;var o=function(e){return n.handleDragStart(e,t)},i=function(e){return n.handleSelectStart(e,t)};return e.setAttribute("draggable",!0),e.addEventListener("dragstart",o),e.addEventListener("selectstart",i),function(){delete n.sourceNodes[t],delete n.sourceNodeOptions[t],e.removeEventListener("dragstart",o),e.removeEventListener("selectstart",i),e.setAttribute("draggable",!1)}},t.prototype.connectDropTarget=function(t,e){var r=this,n=function(e){return r.handleDragEnter(e,t)},o=function(e){return r.handleDragOver(e,t)},i=function(e){return r.handleDrop(e,t)};return e.addEventListener("dragenter",n),e.addEventListener("dragover",o),e.addEventListener("drop",i),function(){e.removeEventListener("dragenter",n),e.removeEventListener("dragover",o),e.removeEventListener("drop",i)}},t.prototype.getCurrentSourceNodeOptions=function(){var t=this.monitor.getSourceId(),e=this.sourceNodeOptions[t];return s["default"](e||{},{dropEffect:"move"})},t.prototype.getCurrentDropEffect=function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect},t.prototype.getCurrentSourcePreviewNodeOptions=function(){var t=this.monitor.getSourceId(),e=this.sourcePreviewNodeOptions[t];return s["default"](e||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})},t.prototype.getSourceClientOffset=function(t){return h.getNodeClientOffset(this.sourceNodes[t])},t.prototype.isDraggingNativeItem=function(){var t=this.monitor.getItemType();return Object.keys(v).some(function(e){return v[e]===t})},t.prototype.beginDragNativeItem=function(t){this.clearCurrentDragSourceNode();var e=d.createNativeDragSource(t);this.currentNativeSource=new e,this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),l.isFirefox()&&window.addEventListener("mousemove",this.endDragNativeItem,!0)},t.prototype.endDragNativeItem=function(){this.isDraggingNativeItem()&&(l.isFirefox()&&window.removeEventListener("mousemove",this.endDragNativeItem,!0),this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},t.prototype.endDragIfSourceWasRemovedFromDOM=function(){var t=this.currentDragSourceNode;document.body.contains(t)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()},t.prototype.setCurrentDragSourceNode=function(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.currentDragSourceNodeOffset=h.getNodeClientOffset(t),this.currentDragSourceNodeOffsetChanged=!1,window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},t.prototype.clearCurrentDragSourceNode=function(){return this.currentDragSourceNode?(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0):!1},t.prototype.checkIfCurrentDragSourceRectChanged=function(){var t=this.currentDragSourceNode;return t?this.currentDragSourceNodeOffsetChanged?!0:(this.currentDragSourceNodeOffsetChanged=!c["default"](h.getNodeClientOffset(t),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged):!1},t.prototype.handleTopDragStartCapture=function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},t.prototype.handleDragStart=function(t,e){this.dragStartSourceIds.unshift(e)},t.prototype.handleTopDragStart=function(t){var e=this,r=this.dragStartSourceIds;this.dragStartSourceIds=null;var n=h.getEventClientOffset(t);this.actions.beginDrag(r,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});var o=t.dataTransfer,i=d.matchNativeItemType(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,c=this.getCurrentSourcePreviewNodeOptions(),p=c.anchorX,f=c.anchorY,l={anchorX:p,anchorY:f},g=h.getDragPreviewOffset(s,u,n,l);o.setDragImage(u,g.x,g.y)}try{o.setData("application/json",{})}catch(v){}this.setCurrentDragSourceNode(t.target);var y=this.getCurrentSourcePreviewNodeOptions(),m=y.captureDraggingState;m?this.actions.publishDragSource():setTimeout(function(){return e.actions.publishDragSource()})}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||t.target.hasAttribute&&t.target.hasAttribute("draggable")))return;t.preventDefault()}},t.prototype.handleTopDragEndCapture=function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()},t.prototype.handleTopDragEnterCapture=function(t){this.dragEnterTargetIds=[];var e=this.enterLeaveCounter.enter(t.target);if(e&&!this.monitor.isDragging()){var r=t.dataTransfer,n=d.matchNativeItemType(r);n&&this.beginDragNativeItem(n)}},t.prototype.handleDragEnter=function(t,e){this.dragEnterTargetIds.unshift(e)},t.prototype.handleTopDragEnter=function(t){var e=this,r=this.dragEnterTargetIds;if(this.dragEnterTargetIds=[],this.monitor.isDragging()){l.isFirefox()||this.actions.hover(r,{clientOffset:h.getEventClientOffset(t)});var n=r.some(function(t){return e.monitor.canDropOnTarget(t)});n&&(t.preventDefault(),t.dataTransfer.dropEffect=this.getCurrentDropEffect())}},t.prototype.handleTopDragOverCapture=function(){this.dragOverTargetIds=[]},t.prototype.handleDragOver=function(t,e){this.dragOverTargetIds.unshift(e)},t.prototype.handleTopDragOver=function(t){var e=this,r=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return t.preventDefault(),void(t.dataTransfer.dropEffect="none");this.actions.hover(r,{clientOffset:h.getEventClientOffset(t)});var n=r.some(function(t){return e.monitor.canDropOnTarget(t)});n?(t.preventDefault(),t.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(t.preventDefault(),t.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(t.preventDefault(),t.dataTransfer.dropEffect="move")},t.prototype.handleTopDragLeaveCapture=function(t){this.isDraggingNativeItem()&&t.preventDefault();var e=this.enterLeaveCounter.leave(t.target);e&&this.isDraggingNativeItem()&&this.endDragNativeItem()},t.prototype.handleTopDropCapture=function(t){this.dropTargetIds=[],t.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(t.dataTransfer),
|
2
|
-
this.enterLeaveCounter.reset()},t.prototype.handleDrop=function(t,e){this.dropTargetIds.unshift(e)},t.prototype.handleTopDrop=function(t){var e=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(e,{clientOffset:h.getEventClientOffset(t)}),this.actions.drop(),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()},t.prototype.handleSelectStart=function(t){var e=t.target;"function"==typeof e.dragDrop&&("INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable||(t.preventDefault(),e.dragDrop()))},t}();e["default"]=y,t.exports=e["default"]},function(t,e){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var n=function(){function t(e,n){r(this,t);for(var o=e.length,i=[],a=0;o>a;a++)i.push(a);i.sort(function(t,r){return e[t]<e[r]?-1:1});for(var s=[],u=[],c=[],p=void 0,f=void 0,a=0;o-1>a;a++)p=e[a+1]-e[a],f=n[a+1]-n[a],u.push(p),s.push(f),c.push(f/p);for(var l=[c[0]],a=0;a<u.length-1;a++){var h=c[a],d=c[a+1];if(0>=h*d)l.push(0);else{p=u[a];var g=u[a+1],v=p+g;l.push(3*v/((v+g)/h+(v+p)/d))}}l.push(c[c.length-1]);for(var y=[],m=[],x=void 0,a=0;a<l.length-1;a++){x=c[a];var D=l[a],_=1/u[a],v=D+l[a+1]-x-x;y.push((x-D-v)*_),m.push(v*_*_)}this.xs=e,this.ys=n,this.c1s=l,this.c2s=y,this.c3s=m}return t.prototype.interpolate=function(t){var e=this.xs,r=this.ys,n=this.c1s,o=this.c2s,i=this.c3s,a=e.length-1;if(t===e[a])return r[a];for(var s=0,u=i.length-1,c=void 0;u>=s;){c=Math.floor(.5*(s+u));var p=e[c];if(t>p)s=c+1;else{if(!(p>t))return r[c];u=c-1}}a=Math.max(0,u);var f=t-e[a],l=f*f;return r[a]+n[a]*f+o[a]*l+i[a]*f*l},t}();e["default"]=n,t.exports=e["default"]},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e,r){var n=e.reduce(function(e,r){return e||t.getData(r)},null);return null!=n?n:r}function s(t){var e=l[t],r=e.exposeProperty,n=e.matchesTypes,a=e.getData;return function(){function t(){o(this,t),this.item=Object.defineProperties({},i({},r,{get:function(){return console.warn("Browser doesn't allow reading \""+r+'" until the drop event.'),null},configurable:!0,enumerable:!0}))}return t.prototype.mutateItemByReadingDataTransfer=function(t){delete this.item[r],this.item[r]=a(t,n)},t.prototype.canDrag=function(){return!0},t.prototype.beginDrag=function(){return this.item},t.prototype.isDragging=function(t,e){return e===t.getSourceId()},t.prototype.endDrag=function(){},t}()}function u(t){var e=Array.prototype.slice.call(t.types||[]);return Object.keys(l).filter(function(t){var r=l[t].matchesTypes;return r.some(function(t){return e.indexOf(t)>-1})})[0]||null}e.__esModule=!0;var c;e.createNativeDragSource=s,e.matchNativeItemType=u;var p=r(21),f=n(p),l=(c={},i(c,f.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(t){return Array.prototype.slice.call(t.files)}}),i(c,f.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(t,e){return a(t,e,"").split("\n")}}),i(c,f.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(t,e){return a(t,e,"")}}),c)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){var e=t.nodeType===p?t:t.parentElement;if(!e)return null;var r=e.getBoundingClientRect(),n=r.top,o=r.left;return{x:o,y:n}}function i(t){return{x:t.clientX,y:t.clientY}}function a(t,e,r,n){var i="IMG"===e.nodeName&&(s.isFirefox()||!document.documentElement.contains(e)),a=i?t:e,u=o(a),p={x:r.x-u.x,y:r.y-u.y},f=t.offsetWidth,l=t.offsetHeight,h=n.anchorX,d=n.anchorY,g=i?e.width:f,v=i?e.height:l;s.isSafari()&&i?(v/=window.devicePixelRatio,g/=window.devicePixelRatio):s.isFirefox()&&!i&&(v*=window.devicePixelRatio,g*=window.devicePixelRatio);var y=new c["default"]([0,.5,1],[p.x,p.x/f*g,p.x+g-f]),m=new c["default"]([0,.5,1],[p.y,p.y/l*v,p.y+v-l]),x=y.interpolate(h),D=m.interpolate(d);return s.isSafari()&&i&&(D+=(window.devicePixelRatio-1)*v),{x:x,y:D}}e.__esModule=!0,e.getNodeClientOffset=o,e.getEventClientOffset=i,e.getDragPreviewOffset=a;var s=r(33),u=r(80),c=n(u),p=1},function(t,e){"use strict";function r(){return n||(n=new Image,n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n}e.__esModule=!0,e["default"]=r;var n=void 0;t.exports=e["default"]},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function i(t){return new s["default"](t)}e.__esModule=!0,e["default"]=i;var a=r(79),s=o(a),u=r(83),c=o(u),p=r(21),f=n(p);e.NativeTypes=f,e.getEmptyImage=c["default"]},function(t,e){"use strict";function r(t,e){if(t===e)return!0;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<r.length;i++){if(!o.call(e,r[i])||t[r[i]]!==e[r[i]])return!1;var a=t[r[i]],s=e[r[i]];if(a!==s)return!1}return!0}e.__esModule=!0,e["default"]=r,t.exports=e["default"]},function(t,e,r){function n(){}var o=r(10),i=Object.prototype;n.prototype=o?o(null):i,t.exports=n},function(t,e,r){var n=r(23),o=n.Reflect;t.exports=o},function(t,e,r){var n=r(22),o=r(23),i=n(o,"Set");t.exports=i},function(t,e){function r(t,e){for(var r=-1,n=t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}t.exports=r},function(t,e,r){function n(t,e,r,n){return void 0===t||o(t,i[r])&&!a.call(n,r)?e:t}var o=r(11),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e,r){var n=t[e];a.call(t,e)&&o(n,r)&&(void 0!==r||e in t)||(t[e]=r)}var o=r(11),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e){var r=o(t,e);if(0>r)return!1;var n=t.length-1;return r==n?t.pop():a.call(t,r,1),!0}var o=r(9),i=Array.prototype,a=i.splice;t.exports=n},function(t,e,r){function n(t,e){var r=o(t,e);return 0>r?void 0:t[r][1]}var o=r(9);t.exports=n},function(t,e,r){function n(t,e){return o(t,e)>-1}var o=r(9);t.exports=n},function(t,e,r){function n(t,e,r){var n=o(t,e);0>n?t.push([e,r]):t[n][1]=r}var o=r(9);t.exports=n},function(t,e,r){function n(t,e,r,n){var f=-1,l=i,h=!0,d=t.length,g=[],v=e.length;if(!d)return g;r&&(e=s(e,u(r))),n?(l=a,h=!1):e.length>=p&&(l=c,h=!1,e=new o(e));t:for(;++f<d;){var y=t[f],m=r?r(y):y;if(h&&m===m){for(var x=v;x--;)if(e[x]===m)continue t;g.push(y)}else l(e,m,n)||g.push(y)}return g}var o=r(35),i=r(37),a=r(38),s=r(89),u=r(103),c=r(39),p=200;t.exports=n},function(t,e,r){function n(t,e,r,a,s){var u=-1,c=t.length;for(r||(r=i),s||(s=[]);++u<c;){var p=t[u];e>0&&r(p)?e>1?n(p,e-1,r,a,s):o(s,p):a||(s[s.length]=p)}return s}var o=r(90),i=r(116);t.exports=n},function(t,e,r){function n(t,e,r){if(e!==e)return o(t,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}var o=r(115);t.exports=n},function(t,e,r){function n(t){t=null==t?t:Object(t);var e=[];for(var r in t)e.push(r);return e}var o=r(87),i=r(120),a=Object.prototype,s=o?o.enumerate:void 0,u=a.propertyIsEnumerable;s&&!u.call({valueOf:1},"valueOf")&&(n=function(t){return i(s(t))}),t.exports=n},function(t,e){function r(t){return function(e){return null==e?void 0:e[t]}}t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}t.exports=r},function(t,e){function r(t){return function(e){return t(e)}}t.exports=r},function(t,e,r){function n(t,e,r){var n=-1,f=i,l=t.length,h=!0,d=[],g=d;if(r)h=!1,f=a;else if(l>=p){var v=e?null:u(t);if(v)return c(v);h=!1,f=s,g=new o}else g=e?[]:d;t:for(;++n<l;){var y=t[n],m=e?e(y):y;if(h&&m===m){for(var x=g.length;x--;)if(g[x]===m)continue t;e&&g.push(m),d.push(y)}else f(g,m,r)||(g!==d&&g.push(m),d.push(y))}return d}var o=r(35),i=r(37),a=r(38),s=r(39),u=r(109),c=r(126),p=200;t.exports=n},function(t,e,r){function n(t){var e=this.__data__;if(o(t)){var r=e.__data__,n="string"==typeof t?r.string:r.hash;n[t]=i}else e.set(t,i)}var o=r(4),i="__lodash_hash_undefined__";t.exports=n},function(t,e){function r(t){return t&&t.Object===Object?t:null}t.exports=r},function(t,e,r){function n(t,e,r,n){r||(r={});for(var i=-1,a=e.length;++i<a;){var s=e[i],u=n?n(r[s],t[s],s,r,t):t[s];o(r,s,u)}return r}var o=r(92);t.exports=n},function(t,e,r){function n(t){return i(function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a="function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=3>i?void 0:a,i=1),e=Object(e);++n<i;){var u=r[n];u&&t(e,u,n,a)}return e})}var o=r(118),i=r(14);t.exports=n},function(t,e,r){var n=r(88),o=r(135),i=n&&2===new n([1,2]).size?function(t){return new n(t)}:o;t.exports=i},function(t,e,r){var n=r(101),o=n("length");t.exports=o},function(t,e,r){function n(t,e){return o(t,e)&&delete t[e]}var o=r(40);t.exports=n},function(t,e,r){function n(t,e){if(o){var r=t[e];return r===i?void 0:r}return s.call(t,e)?t[e]:void 0}var o=r(10),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e,r){t[e]=o&&void 0===r?i:r}var o=r(10),i="__lodash_hash_undefined__";t.exports=n},function(t,e,r){function n(t){var e=t?t.length:void 0;return s(e)&&(a(t)||u(t)||i(t))?o(e,String):null}var o=r(102),i=r(42),a=r(24),s=r(44),u=r(131);t.exports=n},function(t,e){function r(t,e,r){for(var n=t.length,o=e+(r?0:-1);r?o--:++o<n;){var i=t[o];if(i!==i)return o}return-1}t.exports=r},function(t,e,r){function n(t){return a(t)&&(i(t)||o(t))}var o=r(42),i=r(24),a=r(12);t.exports=n},function(t,e){function r(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(r){}return e}t.exports=r},function(t,e,r){function n(t,e,r){if(!s(r))return!1;var n=typeof e;return("number"==n?i(r)&&a(e,r.length):"string"==n&&e in r)?o(r[e],t):!1}var o=r(11),i=r(43),a=r(41),s=r(13);t.exports=n},function(t,e){function r(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||n;return t===r}var n=Object.prototype;t.exports=r},function(t,e){function r(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}t.exports=r},function(t,e,r){function n(){this.__data__={hash:new o,map:i?new i:[],string:new o}}var o=r(86),i=r(7);t.exports=n},function(t,e,r){function n(t){var e=this.__data__;return s(t)?a("string"==typeof t?e.string:e.hash,t):o?e.map["delete"](t):i(e.map,t)}var o=r(7),i=r(93),a=r(111),s=r(4);t.exports=n},function(t,e,r){function n(t){var e=this.__data__;return s(t)?a("string"==typeof t?e.string:e.hash,t):o?e.map.get(t):i(e.map,t)}var o=r(7),i=r(94),a=r(112),s=r(4);t.exports=n},function(t,e,r){function n(t){var e=this.__data__;return s(t)?a("string"==typeof t?e.string:e.hash,t):o?e.map.has(t):i(e.map,t)}var o=r(7),i=r(95),a=r(40),s=r(4);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__;return s(t)?a("string"==typeof t?r.string:r.hash,t,e):o?r.map.set(t,e):i(r.map,t,e),this}var o=r(7),i=r(96),a=r(113),s=r(4);t.exports=n},function(t,e){function r(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}t.exports=r},function(t,e){function r(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var n=Function.prototype.toString;t.exports=r},function(t,e,r){var n=r(107),o=r(108),i=r(133),a=o(function(t,e,r,o){n(e,i(e),t,o)});t.exports=a},function(t,e,r){var n=r(36),o=r(91),i=r(128),a=r(14),s=a(function(t){return t.push(void 0,o),n(i,void 0,t)});t.exports=s},function(t,e,r){function n(t){if(!a(t))return!1;var e=o(t)||i(t)?h:c;return e.test(s(t))}var o=r(25),i=r(117),a=r(13),s=r(127),u=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,p=Object.prototype,f=Function.prototype.toString,l=p.hasOwnProperty,h=RegExp("^"+f.call(l).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=n},function(t,e,r){function n(t){return"string"==typeof t||!o(t)&&i(t)&&u.call(t)==a}var o=r(24),i=r(26),a="[object String]",s=Object.prototype,u=s.toString;t.exports=n},function(t,e,r){function n(t){return"symbol"==typeof t||o(t)&&s.call(t)==i}var o=r(26),i="[object Symbol]",a=Object.prototype,s=a.toString;t.exports=n},function(t,e,r){function n(t){for(var e=-1,r=s(t),n=o(t),u=n.length,p=i(t),f=!!p,l=p||[],h=l.length;++e<u;){var d=n[e];f&&("length"==d||a(d,h))||"constructor"==d&&(r||!c.call(t,d))||l.push(d)}return l}var o=r(100),i=r(114),a=r(41),s=r(119),u=Object.prototype,c=u.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a),a};return r.cache=new(n.Cache||o),r}var o=r(34),i="Expected a function";n.Cache=o,t.exports=n},function(t,e){function r(){}t.exports=r},function(t,e,r){function n(t){if(!t)return 0===t?t:0;if(t=o(t),t===i||t===-i){var e=0>t?-1:1;return e*a}var r=t%1;return t===t?r?t-r:t:0}var o=r(137),i=1/0,a=1.7976931348623157e308;t.exports=n},function(t,e,r){function n(t){if("number"==typeof t)return t;if(a(t))return s;if(i(t)){var e=o(t.valueOf)?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var r=p.test(t);return r||f.test(t)?l(t.slice(2),r?2:8):c.test(t)?s:+t}var o=r(25),i=r(13),a=r(132),s=NaN,u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,f=/^0o[0-7]+$/i,l=parseInt;t.exports=n},function(t,e,r){var n=r(98),o=r(104),i=r(12),a=r(14),s=a(function(t){return o(n(t,1,i,!0))});t.exports=s},function(t,e,r){var n=r(97),o=r(12),i=r(14),a=i(function(t,e){return o(t)?n(t,e):[]});t.exports=a},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){t.exports=r}])});
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("React"),require("ReactDnD"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDnD","ReactDOM"],e):"object"==typeof exports?exports.ReactTags=e(require("React"),require("ReactDnD"),require("ReactDOM")):t.ReactTags=e(t.React,t.ReactDnD,t.ReactDOM)}(this,function(t,e,r){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";var n=r(54),o=(r(225),r(99)),i=r(98),a=r(97),s=a.DragDropContext,u=r(223),c=r(196),f={ENTER:13,TAB:9,BACKSPACE:8,UP_ARROW:38,DOWN_ARROW:40,ESCAPE:27},p={tags:"ReactTags__tags",tagInput:"ReactTags__tagInput",selected:"ReactTags__selected",tag:"ReactTags__tag",remove:"ReactTags__remove",suggestions:"ReactTags__suggestions"},l=n.createClass({displayName:"ReactTags",propTypes:{tags:n.PropTypes.array,placeholder:n.PropTypes.string,labelField:n.PropTypes.string,suggestions:n.PropTypes.array,delimiters:n.PropTypes.array,autofocus:n.PropTypes.bool,inline:n.PropTypes.bool,handleDelete:n.PropTypes.func.isRequired,handleAddition:n.PropTypes.func.isRequired,handleDrag:n.PropTypes.func,allowDeleteFromEmptyInput:n.PropTypes.bool,handleInputChange:n.PropTypes.func,minQueryLength:n.PropTypes.number,shouldRenderSuggestions:n.PropTypes.func,removeComponent:n.PropTypes.func,autocomplete:n.PropTypes.oneOfType([n.PropTypes.bool,n.PropTypes.number]),readOnly:n.PropTypes.bool,classNames:n.PropTypes.object},getDefaultProps:function(){return{placeholder:"Add new tag",tags:[],suggestions:[],delimiters:[f.ENTER,f.TAB],autofocus:!0,inline:!0,allowDeleteFromEmptyInput:!0,minQueryLength:2,autocomplete:!1,readOnly:!1}},componentWillMount:function(){console.log(this.props.classNames),this.setState({classNames:c(p,this.props.classNames)})},componentDidMount:function(){this.props.autofocus&&!this.props.readOnly&&this.refs.input.focus()},getInitialState:function(){return{suggestions:this.props.suggestions,query:"",selectedIndex:-1,selectionMode:!1}},filteredSuggestions:function(t,e){return e.filter(function(e){return 0===e.toLowerCase().indexOf(t.toLowerCase())})},componentWillReceiveProps:function(t){var e=this.filteredSuggestions(this.state.query,t.suggestions);this.setState({suggestions:e,classNames:c(p,t.classNames)})},handleDelete:function(t,e){this.props.handleDelete(t),this.setState({query:""})},handleChange:function(t){this.props.handleInputChange&&this.props.handleInputChange(t.target.value.trim());var e=t.target.value.trim(),r=this.filteredSuggestions(e,this.props.suggestions);this.setState({query:e,suggestions:r})},handleKeyDown:function(t){var e=this.state,r=e.query,n=e.selectedIndex,o=e.suggestions;if(t.keyCode===f.ESCAPE&&(t.preventDefault(),this.setState({selectedIndex:-1,selectionMode:!1,suggestions:[]})),-1!==this.props.delimiters.indexOf(t.keyCode)&&(t.keyCode===f.TAB&&""===r||t.preventDefault(),""!==r&&(this.state.selectionMode&&(r=this.state.suggestions[this.state.selectedIndex]),this.addTag(r))),t.keyCode===f.BACKSPACE&&""==r&&this.props.allowDeleteFromEmptyInput&&this.handleDelete(this.props.tags.length-1),t.keyCode===f.UP_ARROW){t.preventDefault();var n=this.state.selectedIndex;0>=n?this.setState({selectedIndex:this.state.suggestions.length-1,selectionMode:!0}):this.setState({selectedIndex:n-1,selectionMode:!0})}t.keyCode===f.DOWN_ARROW&&(t.preventDefault(),this.setState({selectedIndex:(this.state.selectedIndex+1)%o.length,selectionMode:!0}))},addTag:function(t){var e=this.refs.input;if(this.props.autocomplete){var r=this.filteredSuggestions(t,this.props.suggestions);(1===this.props.autocomplete&&1===r.length||this.props.autocomplete===!0&&r.length)&&(t=r[0])}this.props.handleAddition(t),this.setState({query:"",selectionMode:!1,selectedIndex:-1}),e.value="",e.focus()},handleSuggestionClick:function(t,e){this.addTag(this.state.suggestions[t])},handleSuggestionHover:function(t,e){this.setState({selectedIndex:t,selectionMode:!0})},moveTag:function(t,e){var r=this.props.tags,n=r.filter(function(e){return e.id===t})[0],o=r.filter(function(t){return t.id===e})[0],i=r.indexOf(n),a=r.indexOf(o);this.props.handleDrag(n,i,a)},render:function(){var t=this.props.handleDrag?this.moveTag:null,e=this.props.tags.map(function(e,r){return n.createElement(o,{key:r,tag:e,labelField:this.props.labelField,onDelete:this.handleDelete.bind(this,r),moveTag:t,removeComponent:this.props.removeComponent,readOnly:this.props.readOnly,classNames:this.state.classNames})}.bind(this)),r=this.state.query.trim(),a=this.state.selectedIndex,s=this.state.suggestions,u=this.props.placeholder,c=this.props.readOnly?null:n.createElement("div",{className:this.state.classNames.tagInput},n.createElement("input",{ref:"input",type:"text",placeholder:u,"aria-label":u,onChange:this.handleChange,onKeyDown:this.handleKeyDown}),n.createElement(i,{query:r,suggestions:s,selectedIndex:a,handleClick:this.handleSuggestionClick,handleHover:this.handleSuggestionHover,minQueryLength:this.props.minQueryLength,shouldRenderSuggestions:this.props.shouldRenderSuggestions,classNames:this.state.classNames}));return n.createElement("div",{className:this.state.classNames.tags},n.createElement("div",{className:this.state.classNames.selected},e,this.props.inline&&c),!this.props.inline&&c)}});t.exports={WithContext:s(u)(l),WithOutContext:l,Keys:f}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){(function(t,n){var o=r(128),i={"function":!0,object:!0},a=i[typeof e]&&e&&!e.nodeType?e:void 0,s=i[typeof t]&&t&&!t.nodeType?t:void 0,u=o(a&&s&&"object"==typeof n&&n),c=o(i[typeof self]&&self),f=o(i[typeof window]&&window),p=o(i[typeof this]&&this),l=u||f!==(p&&p.window)&&f||c||p||Function("return this")();t.exports=l}).call(e,r(96)(t),function(){return this}())},function(t,e){function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=r},function(t,e){function r(t){return!!t&&"object"==typeof t}t.exports=r},function(t,e,r){function n(t,e){if("function"!=typeof t)throw new TypeError(a);return e=s(void 0===e?t.length-1:i(e),0),function(){for(var r=arguments,n=-1,i=s(r.length-e,0),a=Array(i);++n<i;)a[n]=r[e+n];switch(e){case 0:return t.call(this,a);case 1:return t.call(this,r[0],a);case 2:return t.call(this,r[0],r[1],a)}var u=Array(e+1);for(n=-1;++n<e;)u[n]=r[n];return u[e]=a,o(t,this,u)}}var o=r(7),i=r(52),a="Expected a function",s=Math.max;t.exports=n},function(t,e,r){function n(t,e){var r=t[e];return o(r)?r:void 0}var o=r(200);t.exports=n},function(t,e){function r(t,e,r){var n=r.length;switch(n){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}t.exports=r},function(t,e){function r(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}t.exports=r},function(t,e){function r(t,e){return e=null==e?n:e,!!e&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&e>t}var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=r},function(t,e,r){function n(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=r(13),i=1/0;t.exports=n},function(t,e){function r(t,e){return t===e||t!==t&&e!==e}t.exports=r},function(t,e,r){function n(t){var e=o(t)?u.call(t):"";return e==i||e==a}var o=r(3),i="[object Function]",a="[object GeneratorFunction]",s=Object.prototype,u=s.toString;t.exports=n},function(t,e,r){function n(t){return"symbol"==typeof t||o(t)&&s.call(t)==i}var o=r(4),i="[object Symbol]",a=Object.prototype,s=a.toString;t.exports=n},function(t,e,r){function n(t){var e=c(t);if(!e&&!s(t))return i(t);var r=a(t),n=!!r,f=r||[],p=f.length;for(var l in t)!o(t,l)||n&&("length"==l||u(l,p))||e&&"constructor"==l||f.push(l);return f}var o=r(66),i=r(68),a=r(82),s=r(49),u=r(9),c=r(45);t.exports=n},function(t,e,r){function n(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(163),i=r(164),a=r(165),s=r(166),u=r(167);n.prototype.clear=o,n.prototype["delete"]=i,n.prototype.get=a,n.prototype.has=s,n.prototype.set=u,t.exports=n},function(t,e,r){function n(t){this.__data__=new o(t)}var o=r(15),i=r(179),a=r(180),s=r(181),u=r(182),c=r(183);n.prototype.clear=i,n.prototype["delete"]=a,n.prototype.get=s,n.prototype.has=u,n.prototype.set=c,t.exports=n},function(t,e,r){function n(t,e){for(var r=t.length;r--;)if(o(t[r][0],e))return r;return-1}var o=r(11);t.exports=n},function(t,e,r){function n(t){return o(t)?i(t):{}}var o=r(3),i=Object.create;t.exports=n},function(t,e,r){function n(t,e,r,n){r||(r={});for(var i=-1,a=e.length;++i<a;){var s=e[i],u=n?n(r[s],t[s],s,r,t):t[s];o(r,s,u)}return r}var o=r(63);t.exports=n},function(t,e,r){function n(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=o(t.prototype),n=t.apply(r,e);return i(n)?n:r}}var o=r(18),i=r(3);t.exports=n},function(t,e,r){function n(t,e){var r=t.__data__;return o(e)?r["string"==typeof e?"string":"hash"]:r.map}var o=r(161);t.exports=n},function(t,e){function r(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(r){}return e}t.exports=r},function(t,e,r){function n(t,e){if(o(t))return!1;var r=typeof t;return"number"==r||"symbol"==r||"boolean"==r||null==t||i(t)?!0:s.test(t)||!a.test(t)||null!=e&&t in Object(e)}var o=r(1),i=r(13),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=n},function(t,e,r){var n=r(6),o=n(Object,"create");t.exports=o},function(t,e){function r(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}t.exports=r},function(t,e,r){function n(t){return o(t)&&s.call(t,"callee")&&(!c.call(t,"callee")||u.call(t)==i)}var o=r(27),i="[object Arguments]",a=Object.prototype,s=a.hasOwnProperty,u=a.toString,c=a.propertyIsEnumerable;t.exports=n},function(t,e,r){function n(t){return i(t)&&o(t)}var o=r(49),i=r(4);t.exports=n},function(t,e){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&n>=t}var n=9007199254740991;t.exports=r},function(t,e,r){function n(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=a,this.__views__=[]}var o=r(18),i=r(39),a=4294967295;n.prototype=o(i.prototype),n.prototype.constructor=n,t.exports=n},function(t,e,r){function n(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}var o=r(18),i=r(39);n.prototype=o(i.prototype),n.prototype.constructor=n,t.exports=n},function(t,e,r){function n(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(168),i=r(169),a=r(170),s=r(171),u=r(172);n.prototype.clear=o,n.prototype["delete"]=i,n.prototype.get=a,n.prototype.has=s,n.prototype.set=u,t.exports=n},function(t,e,r){function n(t){var e=-1,r=t?t.length:0;for(this.__data__=new o;++e<r;)this.add(t[e])}var o=r(31),i=r(176),a=r(177);n.prototype.add=n.prototype.push=i,n.prototype.has=a,t.exports=n},function(t,e,r){var n=r(2),o=n.Symbol;t.exports=o},function(t,e){function r(t,e){for(var r=-1,n=t.length;++r<n&&e(t[r],r,t)!==!1;);return t}t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}t.exports=r},function(t,e,r){function n(t,e,r,D,w,O,T){var S;if(D&&(S=O?D(t,w,O,T):D(t)),void 0!==S)return S;if(!x(t))return t;var C=g(t);if(C){if(S=h(t),!e)return c(t,S)}else{var I=l(t),N=I==j||I==E;if(y(t))return u(t,e);if(I==A||I==_||N&&!O){if(m(t))return O?t:{};if(S=v(N?{}:t),!e)return f(t,s(S,t))}else{if(!V[I])return O?t:{};S=d(t,I,n,e)}}T||(T=new o);var R=T.get(t);if(R)return R;if(T.set(t,S),!C)var P=r?p(t):b(t);return i(P||t,function(o,i){P&&(i=o,o=t[i]),a(S,i,n(o,e,r,D,i,t,T))}),S}var o=r(16),i=r(34),a=r(63),s=r(64),u=r(129),c=r(8),f=r(136),p=r(146),l=r(44),h=r(156),d=r(157),v=r(158),g=r(1),y=r(199),m=r(22),x=r(3),b=r(14),_="[object Arguments]",D="[object Array]",w="[object Boolean]",O="[object Date]",T="[object Error]",j="[object Function]",E="[object GeneratorFunction]",S="[object Map]",C="[object Number]",A="[object Object]",I="[object RegExp]",N="[object Set]",R="[object String]",P="[object Symbol]",L="[object WeakMap]",M="[object ArrayBuffer]",k="[object DataView]",W="[object Float32Array]",F="[object Float64Array]",B="[object Int8Array]",q="[object Int16Array]",U="[object Int32Array]",z="[object Uint8Array]",K="[object Uint8ClampedArray]",$="[object Uint16Array]",H="[object Uint32Array]",V={};V[_]=V[D]=V[M]=V[k]=V[w]=V[O]=V[W]=V[F]=V[B]=V[q]=V[U]=V[S]=V[C]=V[A]=V[I]=V[N]=V[R]=V[P]=V[z]=V[K]=V[$]=V[H]=!0,V[T]=V[j]=V[L]=!1,t.exports=n},function(t,e,r){function n(t,e,r,a,s){var u=-1,c=t.length;for(r||(r=i),s||(s=[]);++u<c;){var f=t[u];e>0&&r(f)?e>1?n(f,e-1,r,a,s):o(s,f):a||(s[s.length]=f)}return s}var o=r(36),i=r(159);t.exports=n},function(t,e){function r(){}t.exports=r},function(t,e,r){function n(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}var o=r(57);t.exports=n},function(t,e,r){function n(t,e,r,n,_,D,w,O){var T=e&v;if(!T&&"function"!=typeof t)throw new TypeError(h);var j=n?n.length:0;if(j||(e&=~(m|x),n=_=void 0),w=void 0===w?w:b(l(w),0),O=void 0===O?O:l(O),j-=_?_.length:0,e&x){var E=n,S=_;n=_=void 0}var C=T?void 0:c(t),A=[t,e,r,n,_,E,S,D,w,O];if(C&&f(A,C),t=A[0],e=A[1],r=A[2],n=A[3],_=A[4],O=A[9]=null==A[9]?T?0:t.length:b(A[9]-j,0),!O&&e&(g|y)&&(e&=~(g|y)),e&&e!=d)I=e==g||e==y?a(t,e,O):e!=m&&e!=(d|m)||_.length?s.apply(void 0,A):u(t,e,r,n);else var I=i(t,e,r);var N=C?o:p;return N(I,A)}var o=r(70),i=r(138),a=r(139),s=r(76),u=r(141),c=r(42),f=r(173),p=r(87),l=r(52),h="Expected a function",d=1,v=2,g=8,y=16,m=32,x=64,b=Math.max;t.exports=n},function(t,e,r){var n=r(86),o=r(94),i=n?function(t){return n.get(t)}:o;t.exports=i},function(t,e){function r(t){return n(Object(t))}var n=Object.getPrototypeOf;t.exports=r},function(t,e,r){function n(t){return y.call(t)}var o=r(100),i=r(55),a=r(102),s=r(56),u=r(58),c=r(89),f="[object Map]",p="[object Object]",l="[object Promise]",h="[object Set]",d="[object WeakMap]",v="[object DataView]",g=Object.prototype,y=g.toString,m=c(o),x=c(i),b=c(a),_=c(s),D=c(u);(o&&n(new o(new ArrayBuffer(1)))!=v||i&&n(new i)!=f||a&&n(a.resolve())!=l||s&&n(new s)!=h||u&&n(new u)!=d)&&(n=function(t){var e=y.call(t),r=e==p?t.constructor:void 0,n=r?c(r):void 0;if(n)switch(n){case m:return v;case x:return f;case b:return l;case _:return h;case D:return d}return e}),t.exports=n},function(t,e){function r(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||n;return t===r}var n=Object.prototype;t.exports=r},function(t,e){function r(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}t.exports=r},function(t,e){function r(t,e){for(var r=-1,o=t.length,i=0,a=[];++r<o;){var s=t[r];s!==e&&s!==n||(t[r]=n,a[i++]=r)}return a}var n="__lodash_placeholder__";t.exports=r},function(t,e){t.exports={}},function(t,e,r){function n(t){return null!=t&&a(o(t))&&!i(t)}var o=r(147),i=r(12),a=r(28);t.exports=n},function(t,e,r){function n(t){return i(t)&&o(t.length)&&!!A[N.call(t)]}var o=r(28),i=r(4),a="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Function]",l="[object Map]",h="[object Number]",d="[object Object]",v="[object RegExp]",g="[object Set]",y="[object String]",m="[object WeakMap]",x="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",D="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",T="[object Int32Array]",j="[object Uint8Array]",E="[object Uint8ClampedArray]",S="[object Uint16Array]",C="[object Uint32Array]",A={};A[_]=A[D]=A[w]=A[O]=A[T]=A[j]=A[E]=A[S]=A[C]=!0,A[a]=A[s]=A[x]=A[u]=A[b]=A[c]=A[f]=A[p]=A[l]=A[h]=A[d]=A[v]=A[g]=A[y]=A[m]=!1;var I=Object.prototype,N=I.toString;t.exports=n},function(t,e,r){function n(t){for(var e=-1,r=s(t),n=o(t),u=n.length,f=i(t),p=!!f,l=f||[],h=l.length;++e<u;){var d=n[e];p&&("length"==d||a(d,h))||"constructor"==d&&(r||!c.call(t,d))||l.push(d)}return l}var o=r(115),i=r(82),a=r(9),s=r(45),u=Object.prototype,c=u.hasOwnProperty;t.exports=n},function(t,e,r){function n(t){var e=o(t),r=e%1;return e===e?r?e-r:e:0}var o=r(208);t.exports=n},function(t,e){"use strict";e.__esModule=!0;var r="__NATIVE_FILE__";e.FILE=r;var n="__NATIVE_URL__";e.URL=n;var o="__NATIVE_TEXT__";e.TEXT=o},function(e,r){e.exports=t},function(t,e,r){var n=r(6),o=r(2),i=n(o,"Map");t.exports=i},function(t,e,r){var n=r(6),o=r(2),i=n(o,"Set");t.exports=i},function(t,e,r){var n=r(2),o=n.Uint8Array;t.exports=o},function(t,e,r){var n=r(6),o=r(2),i=n(o,"WeakMap");t.exports=i},function(t,e,r){function n(t,e){return!!t.length&&o(t,e,0)>-1}var o=r(111);t.exports=n},function(t,e){function r(t,e,r){for(var n=-1,o=t.length;++n<o;)if(r(e,t[n]))return!0;return!1}t.exports=r},function(t,e){function r(t,e,r,n){var o=-1,i=t.length;for(n&&i&&(r=t[++o]);++o<i;)r=e(r,t[o],o,t);return r}t.exports=r},function(t,e,r){function n(t,e,r){(void 0===r||o(t[e],r))&&("number"!=typeof e||void 0!==r||e in t)||(t[e]=r)}var o=r(11);t.exports=n},function(t,e,r){function n(t,e,r){var n=t[e];a.call(t,e)&&o(n,r)&&(void 0!==r||e in t)||(t[e]=r)}var o=r(11),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,i(e),t)}var o=r(19),i=r(14);t.exports=n},function(t,e,r){function n(t,e){e=i(e,t)?[e]:o(e);for(var r=0,n=e.length;null!=t&&n>r;)t=t[a(e[r++])];return r&&r==n?t:void 0}var o=r(72),i=r(23),a=r(10);t.exports=n},function(t,e,r){function n(t,e){return a.call(t,e)||"object"==typeof t&&e in t&&null===o(t)}var o=r(43),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e,r,s,u){return t===e?!0:null==t||null==e||!i(t)&&!a(e)?t!==t&&e!==e:o(t,e,n,r,s,u)}var o=r(112),i=r(3),a=r(4);t.exports=n},function(t,e){function r(t){return n(Object(t))}var n=Object.keys;t.exports=r},function(t,e){function r(t){return function(e){return null==e?void 0:e[t]}}t.exports=r},function(t,e,r){var n=r(91),o=r(86),i=o?function(t,e){return o.set(t,e),t}:n;t.exports=i},function(t,e){function r(t,e){return t.has(e)}t.exports=r},function(t,e,r){function n(t){return o(t)?t:i(t)}var o=r(1),i=r(88);t.exports=n},function(t,e){function r(t,e,r,o){for(var i=-1,a=t.length,s=r.length,u=-1,c=e.length,f=n(a-s,0),p=Array(c+f),l=!o;++u<c;)p[u]=e[u];for(;++i<s;)(l||a>i)&&(p[r[i]]=t[i]);for(;f--;)p[u++]=t[i++];return p}var n=Math.max;t.exports=r},function(t,e){function r(t,e,r,o){for(var i=-1,a=t.length,s=-1,u=r.length,c=-1,f=e.length,p=n(a-u,0),l=Array(p+f),h=!o;++i<p;)l[i]=t[i];for(var d=i;++c<f;)l[d+c]=e[c];for(;++s<u;)(h||a>i)&&(l[d+r[s]]=t[i++]);return l}var n=Math.max;t.exports=r},function(t,e,r){function n(t){return i(function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=3>i?void 0:a,i=1),e=Object(e);++n<i;){var u=r[n];u&&t(e,u,n,a)}return e})}var o=r(160),i=r(5);t.exports=n},function(t,e,r){function n(t,e,r,x,b,_,D,w,O,T){function j(){for(var h=arguments.length,d=Array(h),v=h;v--;)d[v]=arguments[v];if(A)var g=c(j),y=a(d,g);if(x&&(d=o(d,x,b,A)),_&&(d=i(d,_,D,A)),h-=y,A&&T>h){var m=p(d,g);return u(t,e,n,j.placeholder,r,d,m,w,O,T-h)}var R=S?r:this,P=C?R[t]:t;return h=d.length,w?d=f(d,w):I&&h>1&&d.reverse(),E&&h>O&&(d.length=O),this&&this!==l&&this instanceof j&&(P=N||s(P)),P.apply(R,d)}var E=e&y,S=e&h,C=e&d,A=e&(v|g),I=e&m,N=C?void 0:s(t);return j}var o=r(73),i=r(74),a=r(137),s=r(20),u=r(77),c=r(80),f=r(175),p=r(47),l=r(2),h=1,d=2,v=8,g=16,y=128,m=512;t.exports=n},function(t,e,r){function n(t,e,r,n,l,h,d,v,g,y){var m=e&c,x=m?d:void 0,b=m?void 0:d,_=m?h:void 0,D=m?void 0:h;e|=m?f:p,e&=~(m?p:f),e&u||(e&=~(a|s));var w=[t,e,l,_,x,D,b,v,g,y],O=r.apply(void 0,w);return o(t)&&i(O,w),O.placeholder=n,O}var o=r(83),i=r(87),a=1,s=2,u=4,c=8,f=32,p=64;t.exports=n},function(t,e,r){function n(t,e,r,n,u,c){var f=u&s,p=t.length,l=e.length;if(p!=l&&!(f&&l>p))return!1;var h=c.get(t);if(h)return h==e;var d=-1,v=!0,g=u&a?new o:void 0;for(c.set(t,e);++d<p;){var y=t[d],m=e[d];if(n)var x=f?n(m,y,d,e,t,c):n(y,m,d,t,e,c);if(void 0!==x){if(x)continue;v=!1;break}if(g){if(!i(e,function(t,e){return g.has(e)||y!==t&&!r(y,t,n,u,c)?void 0:g.add(e)})){v=!1;break}}else if(y!==m&&!r(y,m,n,u,c)){v=!1;break}}return c["delete"](t),v}var o=r(32),i=r(106),a=1,s=2;t.exports=n},function(t,e,r){function n(t){for(var e=t.name+"",r=o[e],n=a.call(o,e)?r.length:0;n--;){var i=r[n],s=i.func;if(null==s||s==t)return i.name}return e}var o=r(174),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e){function r(t){var e=t;return e.placeholder}t.exports=r},function(t,e){function r(t){return n(Object(t))}var n=Object.getOwnPropertySymbols;n||(r=function(){return[]}),t.exports=r},function(t,e,r){function n(t){var e=t?t.length:void 0;return s(e)&&(a(t)||u(t)||i(t))?o(e,String):null}var o=r(122),i=r(26),a=r(1),s=r(28),u=r(92);t.exports=n},function(t,e,r){function n(t){var e=a(t),r=s[e];if("function"!=typeof r||!(e in o.prototype))return!1;if(t===r)return!0;var n=i(r);return!!n&&t===n[0]}var o=r(29),i=r(42),a=r(79),s=r(216);t.exports=n},function(t,e,r){function n(t){return t===t&&!o(t)}var o=r(3);t.exports=n},function(t,e){function r(t,e){return function(r){return null==r?!1:r[t]===e&&(void 0!==e||t in Object(r))}}t.exports=r},function(t,e,r){var n=r(58),o=n&&new n;t.exports=o},function(t,e,r){var n=r(70),o=r(204),i=150,a=16,s=function(){var t=0,e=0;return function(r,s){var u=o(),c=a-(u-e);if(e=u,c>0){if(++t>=i)return r}else t=0;return n(r,s)}}();t.exports=s},function(t,e,r){var n=r(93),o=r(213),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,a=/\\(\\)?/g,s=n(function(t){var e=[];return o(t).replace(i,function(t,r,n,o){e.push(n?o.replace(a,"$1"):r||t)}),e});t.exports=s},function(t,e){function r(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var n=Function.prototype.toString;t.exports=r},function(t,e,r){function n(t,e,r){return o(i,t,e,r)}var o=r(192),i=r(194);t.exports=n},function(t,e){function r(t){return t}t.exports=r},function(t,e,r){function n(t){return"string"==typeof t||!o(t)&&i(t)&&u.call(t)==a}var o=r(1),i=r(4),a="[object String]",s=Object.prototype,u=s.toString;t.exports=n},function(t,e,r){function n(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a),a};return r.cache=new(n.Cache||o),r}var o=r(31),i="Expected a function";n.Cache=o,t.exports=n},function(t,e){function r(){}t.exports=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=r(93),i=n(o),a=i["default"](function(){return/firefox/i.test(navigator.userAgent)});e.isFirefox=a;var s=i["default"](function(){return Boolean(window.safari)});e.isSafari=s},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,r){t.exports=e},function(t,e,r){"use strict";var n=r(54),o=n.createClass({displayName:"Suggestions",propTypes:{query:n.PropTypes.string.isRequired,selectedIndex:n.PropTypes.number.isRequired,suggestions:n.PropTypes.array.isRequired,handleClick:n.PropTypes.func.isRequired,handleHover:n.PropTypes.func.isRequired,minQueryLength:n.PropTypes.number,shouldRenderSuggestions:n.PropTypes.func,classNames:n.PropTypes.object},markIt:function(t,e){var r=e.trim().replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&"),n=RegExp(r,"gi");return{__html:t.replace(n,"<mark>$&</mark>")}},shouldRenderSuggestions:function(t){var e=this.props,r=e.minQueryLength||2;return e.query.length>=r},render:function(){var t=this.props,e=this.props.suggestions.map(function(e,r){return n.createElement("li",{key:r,onClick:t.handleClick.bind(null,r),onMouseOver:t.handleHover.bind(null,r),className:r==t.selectedIndex?"active":""},n.createElement("span",{dangerouslySetInnerHTML:this.markIt(e,t.query)}))}.bind(this));return 0===e.length||null!=this.props.shouldRenderSuggestions&&!this.props.shouldRenderSuggestions(t.query)||null==this.props.shouldRenderSuggestions&&!this.shouldRenderSuggestions(t.query)?null:n.createElement("div",{className:this.props.classNames.suggestions},n.createElement("ul",null," ",e," "))}});t.exports=o},function(t,e,r){"use strict";function n(t,e){return{connectDragSource:t.dragSource(),isDragging:e.isDragging()}}function o(t,e){return{connectDropTarget:t.dropTarget()}}var i=r(54),a=r(97),s=a.DragSource,u=a.DropTarget,c=r(195),f={TAG:"tag"},p={beginDrag:function(t){return{id:t.tag.id}},canDrag:function(t){return!t.readOnly}},l={hover:function(t,e){var r=e.getItem().id;r!==t.id&&t.moveTag(r,t.tag.id)},canDrop:function(t){return!t.readOnly}},h=i.createClass({displayName:"Tag",propTypes:{labelField:i.PropTypes.string,onDelete:i.PropTypes.func.isRequired,tag:i.PropTypes.object.isRequired,moveTag:i.PropTypes.func,removeComponent:i.PropTypes.func,classNames:i.PropTypes.object},getDefaultProps:function(){return{labelField:"text"}},render:function(){var t=this.props.tag[this.props.labelField],e=this.props,r=e.connectDragSource,n=e.isDragging,o=e.connectDropTarget,a=e.readOnly,s=this.props.removeComponent,u=i.createClass({displayName:"RemoveComponent",render:function(){return a?i.createElement("span",null):s?i.createElement(s,this.props):i.createElement("a",this.props,"x")}}),c=i.createElement("span",{style:{opacity:n?0:1},className:this.props.classNames.tag},t,i.createElement(u,{className:this.props.classNames.remove,onClick:this.props.onDelete}));return this.props.moveTag?r(o(c)):c}});t.exports=c(s(f.TAG,p,n),u(f.TAG,l,o))(h)},function(t,e,r){var n=r(6),o=r(2),i=n(o,"DataView");t.exports=i},function(t,e,r){function n(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}var o=r(150),i=r(151),a=r(152),s=r(153),u=r(154);n.prototype.clear=o,n.prototype["delete"]=i,n.prototype.get=a,n.prototype.has=s,n.prototype.set=u,t.exports=n},function(t,e,r){var n=r(6),o=r(2),i=n(o,"Promise");t.exports=i},function(t,e,r){var n=r(2),o=n.Reflect;t.exports=o},function(t,e){function r(t,e){return t.set(e[0],e[1]),t}t.exports=r},function(t,e){function r(t,e){return t.add(e),t}t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}t.exports=r},function(t,e,r){function n(t,e,r,n){return void 0===t||o(t,i[r])&&!a.call(n,r)?e:t}var o=r(11),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e,r,n){var p=-1,l=i,h=!0,d=t.length,v=[],g=e.length;if(!d)return v;r&&(e=s(e,u(r))),n?(l=a,h=!1):e.length>=f&&(l=c,h=!1,e=new o(e));t:for(;++p<d;){var y=t[p],m=r?r(y):y;if(y=n||0!==y?y:0,h&&m===m){for(var x=g;x--;)if(e[x]===m)continue t;v.push(y)}else l(e,m,n)||v.push(y)}return v}var o=r(32),i=r(59),a=r(60),s=r(35),u=r(125),c=r(71),f=200;t.exports=n},function(t,e,r){function n(t,e,r){var n=e(t);return i(t)?n:o(n,r(t))}var o=r(36),i=r(1);t.exports=n},function(t,e){function r(t,e){return e in Object(t)}t.exports=r},function(t,e,r){function n(t,e,r){if(e!==e)return o(t,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}var o=r(155);t.exports=n},function(t,e,r){function n(t,e,r,n,g,m){var x=c(t),b=c(e),_=d,D=d;x||(_=u(t),_=_==h?v:_),b||(D=u(e),D=D==h?v:D);var w=_==v&&!f(t),O=D==v&&!f(e),T=_==D;if(T&&!w)return m||(m=new o),x||p(t)?i(t,e,r,n,g,m):a(t,e,_,r,n,g,m);if(!(g&l)){var j=w&&y.call(t,"__wrapped__"),E=O&&y.call(e,"__wrapped__");if(j||E){var S=j?t.value():t,C=E?e.value():e;return m||(m=new o),r(S,C,n,g,m)}}return T?(m||(m=new o),s(t,e,r,n,g,m)):!1}var o=r(16),i=r(78),a=r(144),s=r(145),u=r(44),c=r(1),f=r(22),p=r(50),l=2,h="[object Arguments]",d="[object Array]",v="[object Object]",g=Object.prototype,y=g.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e,r,n){var u=r.length,c=u,f=!n;if(null==t)return!c;for(t=Object(t);u--;){var p=r[u];if(f&&p[2]?p[1]!==t[p[0]]:!(p[0]in t))return!1}for(;++u<c;){p=r[u];var l=p[0],h=t[l],d=p[1];if(f&&p[2]){if(void 0===h&&!(l in t))return!1}else{var v=new o;if(n)var g=n(h,d,l,t,e,v);if(!(void 0===g?i(d,h,n,a|s,v):g))return!1}}return!0}var o=r(16),i=r(67),a=1,s=2;t.exports=n},function(t,e,r){function n(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?s(t)?i(t[0],t[1]):o(t):u(t)}var o=r(116),i=r(117),a=r(91),s=r(1),u=r(205);t.exports=n},function(t,e,r){function n(t){t=null==t?t:Object(t);var e=[];for(var r in t)e.push(r);return e}var o=r(103),i=r(162),a=Object.prototype,s=o?o.enumerate:void 0,u=a.propertyIsEnumerable;s&&!u.call({valueOf:1},"valueOf")&&(n=function(t){return i(s(t))}),t.exports=n},function(t,e,r){function n(t){var e=i(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(r){return r===t||o(r,t,e)}}var o=r(113),i=r(148),a=r(85);t.exports=n},function(t,e,r){function n(t,e){return s(t)&&u(e)?c(f(t),e):function(r){var n=i(r,t);return void 0===n&&n===e?a(r,t):o(e,n,void 0,p|l)}}var o=r(67),i=r(197),a=r(198),s=r(23),u=r(84),c=r(85),f=r(10),p=1,l=2;t.exports=n},function(t,e,r){function n(t,e,r,l,h){if(t!==e){if(!u(e)&&!f(e))var d=p(e);i(d||e,function(i,u){if(d&&(u=i,i=e[u]),c(i))h||(h=new o),s(t,e,u,r,n,l,h);else{var f=l?l(t[u],i,u+"",t,e,h):void 0;void 0===f&&(f=i),a(t,u,f)}})}}var o=r(16),i=r(34),a=r(62),s=r(119),u=r(1),c=r(3),f=r(50),p=r(51);t.exports=n},function(t,e,r){function n(t,e,r,n,v,g,y){var m=t[r],x=e[r],b=y.get(x);if(b)return void o(t,r,b);var _=g?g(m,x,r+"",t,e,y):void 0,D=void 0===_;D&&(_=x,u(x)||h(x)?u(m)?_=m:c(m)?_=a(m):(D=!1,_=i(x,!0)):l(x)||s(x)?s(m)?_=d(m):!p(m)||n&&f(m)?(D=!1,_=i(x,!0)):_=m:D=!1),y.set(x,_),D&&v(_,x,n,g,y),y["delete"](x),o(t,r,_)}var o=r(62),i=r(37),a=r(8),s=r(26),u=r(1),c=r(27),f=r(12),p=r(3),l=r(201),h=r(50),d=r(212);t.exports=n},function(t,e,r){function n(t){return function(e){return o(e,t)}}var o=r(65);t.exports=n},function(t,e){function r(t,e,r){var n=-1,o=t.length;0>e&&(e=-e>o?0:o+e),r=r>o?o:r,0>r&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}t.exports=r},function(t,e){function r(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}t.exports=r},function(t,e,r){function n(t,e){return o(e,function(e){return[e,t[e]]})}var o=r(35);t.exports=n},function(t,e,r){function n(t){if("string"==typeof t)return t;if(i(t))return u?u.call(t):"";var e=t+"";return"0"==e&&1/t==-a?"-0":e}var o=r(33),i=r(13),a=1/0,s=o?o.prototype:void 0,u=s?s.toString:void 0;t.exports=n},function(t,e){function r(t){return function(e){return t(e)}}t.exports=r},function(t,e,r){function n(t,e,r){var n=-1,p=i,l=t.length,h=!0,d=[],v=d;if(r)h=!1,p=a;else if(l>=f){var g=e?null:u(t);if(g)return c(g);h=!1,p=s,v=new o}else v=e?[]:d;t:for(;++n<l;){var y=t[n],m=e?e(y):y;if(y=r||0!==y?y:0,h&&m===m){for(var x=v.length;x--;)if(v[x]===m)continue t;e&&v.push(m),d.push(y)}else p(v,m,r)||(v!==d&&v.push(m),d.push(y))}return d}var o=r(32),i=r(59),a=r(60),s=r(71),u=r(142),c=r(25),f=200;t.exports=n},function(t,e,r){function n(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:o(t,e,r)}var o=r(121);t.exports=n},function(t,e){function r(t){return t&&t.Object===Object?t:null}t.exports=r},function(t,e){function r(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}t.exports=r},function(t,e,r){function n(t,e){var r=e?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var o=r(40);t.exports=n},function(t,e,r){function n(t,e,r){var n=e?r(a(t),!0):a(t);return i(n,o,new t.constructor)}var o=r(104),i=r(61),a=r(46);t.exports=n},function(t,e){function r(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}var n=/\w*$/;t.exports=r},function(t,e,r){function n(t,e,r){
|
2
|
+
var n=e?r(a(t),!0):a(t);return i(n,o,new t.constructor)}var o=r(105),i=r(61),a=r(25);t.exports=n},function(t,e,r){function n(t){return a?Object(a.call(t)):{}}var o=r(33),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;t.exports=n},function(t,e,r){function n(t,e){var r=e?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var o=r(40);t.exports=n},function(t,e,r){function n(t,e){return o(t,i(t),e)}var o=r(19),i=r(81);t.exports=n},function(t,e){function r(t,e){for(var r=t.length,n=0;r--;)t[r]===e&&n++;return n}t.exports=r},function(t,e,r){function n(t,e,r){function n(){var e=this&&this!==i&&this instanceof n?u:t;return e.apply(s?r:this,arguments)}var s=e&a,u=o(t);return n}var o=r(20),i=r(2),a=1;t.exports=n},function(t,e,r){function n(t,e,r){function n(){for(var i=arguments.length,l=Array(i),h=i,d=u(n);h--;)l[h]=arguments[h];var v=3>i&&l[0]!==d&&l[i-1]!==d?[]:c(l,d);if(i-=v.length,r>i)return s(t,e,a,n.placeholder,void 0,l,v,void 0,void 0,r-i);var g=this&&this!==f&&this instanceof n?p:t;return o(g,this,l)}var p=i(t);return n}var o=r(7),i=r(20),a=r(76),s=r(77),u=r(80),c=r(47),f=r(2);t.exports=n},function(t,e,r){function n(t){return f(function(e){e=i(e,1);var r=e.length,n=r,f=o.prototype.thru;for(t&&e.reverse();n--;){var y=e[n];if("function"!=typeof y)throw new TypeError(l);if(f&&!m&&"wrapper"==s(y))var m=new o([],!0)}for(n=m?n:r;++n<r;){y=e[n];var x=s(y),b="wrapper"==x?a(y):void 0;m=b&&c(b[0])&&b[1]==(v|h|d|g)&&!b[4].length&&1==b[9]?m[s(b[0])].apply(m,b[3]):1==y.length&&c(y)?m[x]():m.thru(y)}return function(){var t=arguments,n=t[0];if(m&&1==t.length&&u(n)&&n.length>=p)return m.plant(n).value();for(var o=0,i=r?e[o].apply(this,t):n;++o<r;)i=e[o].call(this,i);return i}})}var o=r(30),i=r(38),a=r(42),s=r(79),u=r(1),c=r(83),f=r(5),p=200,l="Expected a function",h=8,d=32,v=128,g=256;t.exports=n},function(t,e,r){function n(t,e,r,n){function u(){for(var e=-1,i=arguments.length,s=-1,p=n.length,l=Array(p+i),h=this&&this!==a&&this instanceof u?f:t;++s<p;)l[s]=n[s];for(;i--;)l[s++]=arguments[++e];return o(h,c?r:this,l)}var c=e&s,f=i(t);return u}var o=r(7),i=r(20),a=r(2),s=1;t.exports=n},function(t,e,r){var n=r(56),o=r(94),i=r(25),a=1/0,s=n&&1/i(new n([,-0]))[1]==a?function(t){return new n(t)}:o;t.exports=s},function(t,e,r){function n(t){return function(e){var r=i(e);return r==u?a(e):r==c?s(e):o(e,t(e))}}var o=r(123),i=r(44),a=r(46),s=r(178),u="[object Map]",c="[object Set]";t.exports=n},function(t,e,r){function n(t,e,r,n,o,D,O){switch(r){case _:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case b:return!(t.byteLength!=e.byteLength||!n(new i(t),new i(e)));case p:case l:return+t==+e;case h:return t.name==e.name&&t.message==e.message;case v:return t!=+t?e!=+e:t==+e;case g:case m:return t==e+"";case d:var T=s;case y:var j=D&f;if(T||(T=u),t.size!=e.size&&!j)return!1;var E=O.get(t);return E?E==e:(D|=c,O.set(t,e),a(T(t),T(e),n,o,D,O));case x:if(w)return w.call(t)==w.call(e)}return!1}var o=r(33),i=r(57),a=r(78),s=r(46),u=r(25),c=1,f=2,p="[object Boolean]",l="[object Date]",h="[object Error]",d="[object Map]",v="[object Number]",g="[object RegExp]",y="[object Set]",m="[object String]",x="[object Symbol]",b="[object ArrayBuffer]",_="[object DataView]",D=o?o.prototype:void 0,w=D?D.valueOf:void 0;t.exports=n},function(t,e,r){function n(t,e,r,n,s,u){var c=s&a,f=i(t),p=f.length,l=i(e),h=l.length;if(p!=h&&!c)return!1;for(var d=p;d--;){var v=f[d];if(!(c?v in e:o(e,v)))return!1}var g=u.get(t);if(g)return g==e;var y=!0;u.set(t,e);for(var m=c;++d<p;){v=f[d];var x=t[v],b=e[v];if(n)var _=c?n(b,x,v,e,t,u):n(x,b,v,t,e,u);if(!(void 0===_?x===b||r(x,b,n,s,u):_)){y=!1;break}m||(m="constructor"==v)}if(y&&!m){var D=t.constructor,w=e.constructor;D!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof D&&D instanceof D&&"function"==typeof w&&w instanceof w)&&(y=!1)}return u["delete"](t),y}var o=r(66),i=r(14),a=2;t.exports=n},function(t,e,r){function n(t){return o(t,a,i)}var o=r(109),i=r(81),a=r(14);t.exports=n},function(t,e,r){var n=r(69),o=n("length");t.exports=o},function(t,e,r){function n(t){for(var e=i(t),r=e.length;r--;)e[r][2]=o(e[r][1]);return e}var o=r(84),i=r(210);t.exports=n},function(t,e,r){function n(t,e,r){e=u(e,t)?[e]:o(e);for(var n,l=-1,h=e.length;++l<h;){var d=p(e[l]);if(!(n=null!=t&&r(t,d)))break;t=t[d]}if(n)return n;var h=t?t.length:0;return!!h&&c(h)&&s(d,h)&&(a(t)||f(t)||i(t))}var o=r(72),i=r(26),a=r(1),s=r(9),u=r(23),c=r(28),f=r(92),p=r(10);t.exports=n},function(t,e,r){function n(){this.__data__=o?o(null):{}}var o=r(24);t.exports=n},function(t,e){function r(t){return this.has(t)&&delete this.__data__[t]}t.exports=r},function(t,e,r){function n(t){var e=this.__data__;if(o){var r=e[t];return r===i?void 0:r}return s.call(e,t)?e[t]:void 0}var o=r(24),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;t.exports=n},function(t,e,r){function n(t){var e=this.__data__;return o?void 0!==e[t]:a.call(e,t)}var o=r(24),i=Object.prototype,a=i.hasOwnProperty;t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__;return r[t]=o&&void 0===e?i:e,this}var o=r(24),i="__lodash_hash_undefined__";t.exports=n},function(t,e){function r(t,e,r){for(var n=t.length,o=e+(r?0:-1);r?o--:++o<n;){var i=t[o];if(i!==i)return o}return-1}t.exports=r},function(t,e){function r(t){var e=t.length,r=t.constructor(e);return e&&"string"==typeof t[0]&&o.call(t,"index")&&(r.index=t.index,r.input=t.input),r}var n=Object.prototype,o=n.hasOwnProperty;t.exports=r},function(t,e,r){function n(t,e,r,n){var A=t.constructor;switch(e){case x:return o(t);case p:case l:return new A(+t);case b:return i(t,n);case _:case D:case w:case O:case T:case j:case E:case S:case C:return f(t,n);case h:return a(t,n,r);case d:case y:return new A(t);case v:return s(t);case g:return u(t,n,r);case m:return c(t)}}var o=r(40),i=r(130),a=r(131),s=r(132),u=r(133),c=r(134),f=r(135),p="[object Boolean]",l="[object Date]",h="[object Map]",d="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",m="[object Symbol]",x="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",D="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",T="[object Int32Array]",j="[object Uint8Array]",E="[object Uint8ClampedArray]",S="[object Uint16Array]",C="[object Uint32Array]";t.exports=n},function(t,e,r){function n(t){return"function"!=typeof t.constructor||a(t)?{}:o(i(t))}var o=r(18),i=r(43),a=r(45);t.exports=n},function(t,e,r){function n(t){return i(t)||o(t)}var o=r(26),i=r(1);t.exports=n},function(t,e,r){function n(t,e,r){if(!s(r))return!1;var n=typeof e;return("number"==n?i(r)&&a(e,r.length):"string"==n&&e in r)?o(r[e],t):!1}var o=r(11),i=r(49),a=r(9),s=r(3);t.exports=n},function(t,e){function r(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=r},function(t,e){function r(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}t.exports=r},function(t,e){function r(){this.__data__=[]}t.exports=r},function(t,e,r){function n(t){var e=this.__data__,r=o(e,t);if(0>r)return!1;var n=e.length-1;return r==n?e.pop():a.call(e,r,1),!0}var o=r(17),i=Array.prototype,a=i.splice;t.exports=n},function(t,e,r){function n(t){var e=this.__data__,r=o(e,t);return 0>r?void 0:e[r][1]}var o=r(17);t.exports=n},function(t,e,r){function n(t){return o(this.__data__,t)>-1}var o=r(17);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__,n=o(r,t);return 0>n?r.push([t,e]):r[n][1]=e,this}var o=r(17);t.exports=n},function(t,e,r){function n(){this.__data__={hash:new o,map:new(a||i),string:new o}}var o=r(101),i=r(15),a=r(55);t.exports=n},function(t,e,r){function n(t){return o(this,t)["delete"](t)}var o=r(21);t.exports=n},function(t,e,r){function n(t){return o(this,t).get(t)}var o=r(21);t.exports=n},function(t,e,r){function n(t){return o(this,t).has(t)}var o=r(21);t.exports=n},function(t,e,r){function n(t,e){return o(this,t).set(t,e),this}var o=r(21);t.exports=n},function(t,e,r){function n(t,e){var r=t[1],n=e[1],v=r|n,g=(u|c|l)>v,y=n==l&&r==p||n==l&&r==h&&t[7].length<=e[8]||n==(l|h)&&e[7].length<=e[8]&&r==p;if(!g&&!y)return t;n&u&&(t[2]=e[2],v|=r&u?0:f);var m=e[3];if(m){var x=t[3];t[3]=x?o(x,m,e[4]):m,t[4]=x?a(t[3],s):e[4]}return m=e[5],m&&(x=t[5],t[5]=x?i(x,m,e[6]):m,t[6]=x?a(t[5],s):e[6]),m=e[7],m&&(t[7]=m),n&l&&(t[8]=null==t[8]?e[8]:d(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=v,t}var o=r(73),i=r(74),a=r(47),s="__lodash_placeholder__",u=1,c=2,f=4,p=8,l=128,h=256,d=Math.min;t.exports=n},function(t,e){var r={};t.exports=r},function(t,e,r){function n(t,e){for(var r=t.length,n=a(e.length,r),s=o(t);n--;){var u=e[n];t[n]=i(u,r)?s[u]:void 0}return t}var o=r(8),i=r(9),a=Math.min;t.exports=n},function(t,e){function r(t){return this.__data__.set(t,n),this}var n="__lodash_hash_undefined__";t.exports=r},function(t,e){function r(t){return this.__data__.has(t)}t.exports=r},function(t,e){function r(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=[t,t]}),r}t.exports=r},function(t,e,r){function n(){this.__data__=new o}var o=r(15);t.exports=n},function(t,e){function r(t){return this.__data__["delete"](t)}t.exports=r},function(t,e){function r(t){return this.__data__.get(t)}t.exports=r},function(t,e){function r(t){return this.__data__.has(t)}t.exports=r},function(t,e,r){function n(t,e){var r=this.__data__;return r instanceof o&&r.__data__.length==a&&(r=this.__data__=new i(r.__data__)),r.set(t,e),this}var o=r(15),i=r(31),a=200;t.exports=n},function(t,e,r){function n(t){if(t instanceof o)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=a(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var o=r(29),i=r(30),a=r(8);t.exports=n},function(t,e,r){function n(t,e,r){return e=r?void 0:e,e=t&&null==e?t.length:e,o(t,i,void 0,void 0,void 0,void 0,e)}var o=r(41),i=128;t.exports=n},function(t,e,r){var n=r(19),o=r(75),i=r(51),a=o(function(t,e,r,o){n(e,i(e),t,o)});t.exports=a},function(t,e,r){function n(t){return o(t,!1,!0)}var o=r(37);t.exports=n},function(t,e){function r(t){return function(){return t}}t.exports=r},function(t,e,r){function n(t,e,r){e=r?void 0:e;var a=o(t,i,void 0,void 0,void 0,void 0,void 0,e);return a.placeholder=n.placeholder,a}var o=r(41),i=8;n.placeholder={},t.exports=n},function(t,e,r){var n=r(7),o=r(107),i=r(186),a=r(5),s=a(function(t){return t.push(void 0,o),n(i,void 0,t)});t.exports=s},function(t,e,r){var n=r(140),o=n();t.exports=o},function(t,e,r){function n(t,e){return 2==e?function(e,r){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,r){return t(e,r)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,r=Array(e);e--;)r[e]=t[e];return r}function a(t){return function(e){return t({},e)}}function s(t,e){return function(){var r=arguments.length;if(!r)return o;for(var n=Array(r);r--;)n[r]=arguments[r];var o=n[0]=e.apply(void 0,n);return t.apply(void 0,n),o}}function u(t,e,r,l){function h(t,e){e=B(e);for(var r=-1,n=e.length,o=n-1,i=N(Object(t)),a=i;null!=a&&++r<n;){var s=e[r],u=a[s];null!=u&&(a[e[r]]=N(r==o?u:Object(u))),a=a[s]}return i}function d(t){return z.runInContext.convert(t)(void 0)}function v(t,e){var r=l;return function(n){var o=_?S:C,i=_?S[t]:e,a=I(I({},r),n);return u(o,t,i,a)}}function g(t,e){return m(t,function(t){return"function"==typeof t?o(t,e):t})}function y(t,e){return m(t,function(t){var r=e.length;return n(W(o(t,r),e),r)})}function m(t,e){return function(){var r=arguments.length;if(!r)return t();for(var n=Array(r);r--;)n[r]=arguments[r];var o=w.rearg?0:r-1;return n[o]=e(n[o]),t.apply(void 0,n)}}function x(t,e){t=c.aliasToReal[t]||t;var r,n=e,o=U[t];return o?n=o(e):w.immutable&&(f.array[t]?n=s(e,i):f.object[t]?n=s(e,a(e)):f.set[t]&&(n=s(e,h))),P(q,function(e){return P(c.aryMethod[e],function(o){if(t==o){var i=!_&&c.iterateeAry[t],a=c.iterateeRearg[t],s=c.methodSpread[t];return r=n,!w.fixed||!T&&c.skipFixed[t]||(r=void 0===s?A(r,e):F(r,s)),w.rearg&&e>1&&(j||!c.skipRearg[t])&&(r=W(r,c.methodRearg[t]||c.aryRearg[e])),w.cap&&(a?r=y(r,a):i&&(r=g(r,i))),(O||w.curry&&e>1)&&(O&&console.log(O,t),r=R(r,e)),!1}}),!r}),r||(r=n),r==e&&(r=O?R(r,1):function(){return e.apply(this,arguments)}),r.convert=v(t,e),c.placeholder[t]&&(b=!0,r.placeholder=e.placeholder=E),r}var b,_="function"==typeof e,D=e===Object(e);if(D&&(l=r,r=e,e=void 0),null==r)throw new TypeError;l||(l={});var w={cap:"cap"in l?l.cap:!0,curry:"curry"in l?l.curry:!0,fixed:"fixed"in l?l.fixed:!0,immutable:"immutable"in l?l.immutable:!0,rearg:"rearg"in l?l.rearg:!0},O="curry"in l&&l.curry,T="fixed"in l&&l.fixed,j="rearg"in l&&l.rearg,E=_?r:p,S=_?r.runInContext():void 0,C=_?r:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isFunction:t.isFunction,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,spread:t.spread,toPath:t.toPath},A=C.ary,I=C.assign,N=C.clone,R=C.curry,P=C.forEach,L=C.isArray,M=C.isFunction,k=C.keys,W=C.rearg,F=C.spread,B=C.toPath,q=k(c.aryMethod),U={castArray:function(t){return function(){var e=arguments[0];return L(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],r=arguments[1],n=t(e,r),i=n.length;return w.cap&&"number"==typeof r?(r=r>2?r-2:1,i&&r>=i?n:o(n,r)):n}},mixin:function(t){return function(e){var r=this;if(!M(r))return t(r,Object(e));var n=[];return P(k(e),function(t){M(e[t])&&n.push([t,r.prototype[t]])}),t(r,Object(e)),P(n,function(t){var e=t[1];M(e)?r.prototype[t[0]]=e:delete r.prototype[t[0]]}),r}},runInContext:function(e){return function(r){return u(t,e(r),l)}}};if(!D)return x(e,r);var z=r,K=[];return P(q,function(t){P(c.aryMethod[t],function(t){var e=z[c.remap[t]||t];e&&K.push([t,x(t,e)])})}),P(k(z),function(t){var e=z[t];if("function"==typeof e){for(var r=K.length;r--;)if(K[r][0]==t)return;e.convert=v(t,e),K.push([t,e])}}),P(K,function(t){z[t[0]]=t[1]}),z.convert=d,b&&(z.placeholder=E),P(k(z),function(t){P(c.realToAlias[t]||[],function(e){z[e]=z[t]})}),z}var c=r(193),f=c.mutate,p=r(48);t.exports=u},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendWith:"assignInWith",first:"head",__:"placeholder",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",equals:"isEqual",identical:"eq",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",unapply:"rest",unnest:"flatten",useWith:"overArgs",whereEq:"filter",zipObj:"zipObject"},e.aryMethod={1:["attempt","castArray","ceil","create","curry","curryRight","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","methodOf","mixin","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words"],2:["add","after","ary","assign","assignIn","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","getOr","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findIndex:1,findKey:1,findLast:1,findLastIndex:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1]},e.methodRearg={assignInWith:[1,2,0],assignWith:[1,2,0],getOr:[2,1,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],updateWith:[3,1,2,0],zipWith:[1,2,0]},e.methodSpread={invokeArgs:2,invokeArgsMap:2,partial:1,partialRight:1,without:1},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignIn:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsDeep:!0,merge:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.placeholder={bind:!0,bindKey:!0,curry:!0,curryRight:!0,partial:!0,partialRight:!0},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,n={};for(var o in r){var i=r[o];t.call(n,i)?n[i].push(o):n[i]=[o]}return n}(),e.remap={curryN:"curry",curryRightN:"curryRight",getOr:"get",invokeArgs:"invoke",invokeArgsMap:"invokeMap",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,without:!0,zip:!0,zipObject:!0}},function(t,e,r){t.exports={ary:r(185),assign:r(64),clone:r(187),curry:r(189),forEach:r(34),isArray:r(1),isFunction:r(12),iteratee:r(202),keys:r(68),rearg:r(206),spread:r(207),toPath:r(211)}},function(t,e,r){var n=r(90),o=n("flow",r(191));o.placeholder=r(48),t.exports=o},function(t,e,r){var n=r(90),o=n("merge",r(203));o.placeholder=r(48),t.exports=o},function(t,e,r){function n(t,e,r){var n=null==t?void 0:o(t,e);return void 0===n?r:n}var o=r(65);t.exports=n},function(t,e,r){function n(t,e){return null!=t&&i(t,e,o)}var o=r(110),i=r(149);t.exports=n},function(t,e,r){(function(t){var n=r(188),o=r(2),i={"function":!0,object:!0},a=i[typeof e]&&e&&!e.nodeType?e:void 0,s=i[typeof t]&&t&&!t.nodeType?t:void 0,u=s&&s.exports===a?a:void 0,c=u?o.Buffer:void 0,f=c?function(t){return t instanceof c}:n(!1);t.exports=f}).call(e,r(96)(t))},function(t,e,r){function n(t){if(!a(t))return!1;var e=o(t)||i(t)?h:c;return e.test(s(t))}var o=r(12),i=r(22),a=r(3),s=r(89),u=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,f=Object.prototype,p=Function.prototype.toString,l=f.hasOwnProperty,h=RegExp("^"+p.call(l).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=n},function(t,e,r){function n(t){if(!a(t)||l.call(t)!=s||i(t))return!1;var e=o(t);if(null===e)return!0;var r=f.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==p}var o=r(43),i=r(22),a=r(4),s="[object Object]",u=Object.prototype,c=Function.prototype.toString,f=u.hasOwnProperty,p=c.call(Object),l=u.toString;t.exports=n},function(t,e,r){function n(t){return i("function"==typeof t?t:o(t,!0))}var o=r(37),i=r(114);t.exports=n},function(t,e,r){var n=r(118),o=r(75),i=o(function(t,e,r){n(t,e,r)});t.exports=i},function(t,e){var r=Date.now;t.exports=r},function(t,e,r){function n(t){return a(t)?o(s(t)):i(t)}var o=r(69),i=r(120),a=r(23),s=r(10);t.exports=n},function(t,e,r){var n=r(38),o=r(41),i=r(5),a=256,s=i(function(t,e){return o(t,a,void 0,void 0,void 0,n(e,1))});t.exports=s},function(t,e,r){function n(t,e){if("function"!=typeof t)throw new TypeError(c);return e=void 0===e?0:f(u(e),0),s(function(r){var n=r[e],s=a(r,0,e);return n&&i(s,n),o(t,this,s)})}var o=r(7),i=r(36),a=r(127),s=r(5),u=r(52),c="Expected a function",f=Math.max;t.exports=n},function(t,e,r){function n(t){if(!t)return 0===t?t:0;if(t=o(t),t===i||t===-i){var e=0>t?-1:1;return e*a}return t===t?t:0}var o=r(209),i=1/0,a=1.7976931348623157e308;t.exports=n},function(t,e,r){function n(t){if("number"==typeof t)return t;if(a(t))return s;if(i(t)){var e=o(t.valueOf)?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var r=f.test(t);return r||p.test(t)?l(t.slice(2),r?2:8):c.test(t)?s:+t}var o=r(12),i=r(3),a=r(13),s=NaN,u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,l=parseInt;t.exports=n},function(t,e,r){var n=r(143),o=r(14),i=n(o);t.exports=i},function(t,e,r){function n(t){return a(t)?o(t,c):s(t)?[t]:i(u(t))}var o=r(35),i=r(8),a=r(1),s=r(13),u=r(88),c=r(10);t.exports=n},function(t,e,r){function n(t){return o(t,i(t))}var o=r(19),i=r(51);t.exports=n},function(t,e,r){function n(t){return null==t?"":o(t)}var o=r(124);t.exports=n},function(t,e,r){var n=r(38),o=r(126),i=r(27),a=r(5),s=a(function(t){return o(n(t,1,i,!0))});t.exports=s},function(t,e,r){var n=r(108),o=r(27),i=r(5),a=i(function(t,e){return o(t)?n(t,e):[]});t.exports=a},function(t,e,r){function n(t){if(u(t)&&!s(t)&&!(t instanceof o)){if(t instanceof i)return t;if(p.call(t,"__wrapped__"))return c(t)}return new i(t)}var o=r(29),i=r(30),a=r(39),s=r(1),u=r(4),c=r(184),f=Object.prototype,p=f.hasOwnProperty;n.prototype=a.prototype,n.prototype.constructor=n,t.exports=n},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var i=r(214),a=n(i),s=r(215),u=n(s),c=function(){function t(){o(this,t),this.entered=[]}return t.prototype.enter=function(t){var e=this.entered.length;return this.entered=a["default"](this.entered.filter(function(e){return document.documentElement.contains(e)&&(!e.contains||e.contains(t))}),[t]),0===e&&this.entered.length>0},t.prototype.leave=function(t){var e=this.entered.length;return this.entered=u["default"](this.entered.filter(function(t){return document.documentElement.contains(t)}),t),e>0&&0===this.entered.length},t.prototype.reset=function(){this.entered=[]},t}();e["default"]=c,t.exports=e["default"]},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var a=r(190),s=o(a),u=r(224),c=o(u),f=r(217),p=o(f),l=r(95),h=r(221),d=r(220),v=r(53),g=n(v),y=function(){function t(e){i(this,t),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new p["default"],this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this)}return t.prototype.setup=function(){if("undefined"!=typeof window){if(this.constructor.isSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.constructor.isSetUp=!0,this.addEventListeners(window)}},t.prototype.teardown=function(){"undefined"!=typeof window&&(this.constructor.isSetUp=!1,this.removeEventListeners(window),this.clearCurrentDragSourceNode())},t.prototype.addEventListeners=function(t){t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0)},t.prototype.removeEventListeners=function(t){t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0)},t.prototype.connectDragPreview=function(t,e,r){var n=this;return this.sourcePreviewNodeOptions[t]=r,this.sourcePreviewNodes[t]=e,function(){delete n.sourcePreviewNodes[t],delete n.sourcePreviewNodeOptions[t]}},t.prototype.connectDragSource=function(t,e,r){var n=this;this.sourceNodes[t]=e,this.sourceNodeOptions[t]=r;var o=function(e){return n.handleDragStart(e,t)},i=function(e){return n.handleSelectStart(e,t)};return e.setAttribute("draggable",!0),e.addEventListener("dragstart",o),e.addEventListener("selectstart",i),function(){delete n.sourceNodes[t],delete n.sourceNodeOptions[t],e.removeEventListener("dragstart",o),e.removeEventListener("selectstart",i),e.setAttribute("draggable",!1)}},t.prototype.connectDropTarget=function(t,e){var r=this,n=function(e){return r.handleDragEnter(e,t)},o=function(e){return r.handleDragOver(e,t)},i=function(e){return r.handleDrop(e,t)};return e.addEventListener("dragenter",n),e.addEventListener("dragover",o),e.addEventListener("drop",i),function(){e.removeEventListener("dragenter",n),e.removeEventListener("dragover",o),e.removeEventListener("drop",i)}},t.prototype.getCurrentSourceNodeOptions=function(){var t=this.monitor.getSourceId(),e=this.sourceNodeOptions[t];return s["default"](e||{},{dropEffect:"move"})},t.prototype.getCurrentDropEffect=function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect},t.prototype.getCurrentSourcePreviewNodeOptions=function(){var t=this.monitor.getSourceId(),e=this.sourcePreviewNodeOptions[t];return s["default"](e||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})},t.prototype.getSourceClientOffset=function(t){return h.getNodeClientOffset(this.sourceNodes[t])},t.prototype.isDraggingNativeItem=function(){var t=this.monitor.getItemType();return Object.keys(g).some(function(e){return g[e]===t})},t.prototype.beginDragNativeItem=function(t){this.clearCurrentDragSourceNode();var e=d.createNativeDragSource(t);this.currentNativeSource=new e,this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),l.isFirefox()&&window.addEventListener("mousemove",this.endDragNativeItem,!0)},t.prototype.endDragNativeItem=function(){this.isDraggingNativeItem()&&(l.isFirefox()&&window.removeEventListener("mousemove",this.endDragNativeItem,!0),this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},t.prototype.endDragIfSourceWasRemovedFromDOM=function(){var t=this.currentDragSourceNode;document.body.contains(t)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()},t.prototype.setCurrentDragSourceNode=function(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.currentDragSourceNodeOffset=h.getNodeClientOffset(t),this.currentDragSourceNodeOffsetChanged=!1,window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},t.prototype.clearCurrentDragSourceNode=function(){return this.currentDragSourceNode?(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0):!1},t.prototype.checkIfCurrentDragSourceRectChanged=function(){var t=this.currentDragSourceNode;return t?this.currentDragSourceNodeOffsetChanged?!0:(this.currentDragSourceNodeOffsetChanged=!c["default"](h.getNodeClientOffset(t),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged):!1},t.prototype.handleTopDragStartCapture=function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},t.prototype.handleDragStart=function(t,e){this.dragStartSourceIds.unshift(e)},t.prototype.handleTopDragStart=function(t){var e=this,r=this.dragStartSourceIds;this.dragStartSourceIds=null;var n=h.getEventClientOffset(t);this.actions.beginDrag(r,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});var o=t.dataTransfer,i=d.matchNativeItemType(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,c=this.getCurrentSourcePreviewNodeOptions(),f=c.anchorX,p=c.anchorY,l={anchorX:f,anchorY:p},v=h.getDragPreviewOffset(s,u,n,l);o.setDragImage(u,v.x,v.y)}try{o.setData("application/json",{})}catch(g){}this.setCurrentDragSourceNode(t.target);var y=this.getCurrentSourcePreviewNodeOptions(),m=y.captureDraggingState;m?this.actions.publishDragSource():setTimeout(function(){return e.actions.publishDragSource()})}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||t.target.hasAttribute&&t.target.hasAttribute("draggable")))return;t.preventDefault()}},t.prototype.handleTopDragEndCapture=function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()},t.prototype.handleTopDragEnterCapture=function(t){this.dragEnterTargetIds=[];var e=this.enterLeaveCounter.enter(t.target);if(e&&!this.monitor.isDragging()){var r=t.dataTransfer,n=d.matchNativeItemType(r);n&&this.beginDragNativeItem(n)}},t.prototype.handleDragEnter=function(t,e){this.dragEnterTargetIds.unshift(e)},t.prototype.handleTopDragEnter=function(t){var e=this,r=this.dragEnterTargetIds;
|
3
|
+
if(this.dragEnterTargetIds=[],this.monitor.isDragging()){l.isFirefox()||this.actions.hover(r,{clientOffset:h.getEventClientOffset(t)});var n=r.some(function(t){return e.monitor.canDropOnTarget(t)});n&&(t.preventDefault(),t.dataTransfer.dropEffect=this.getCurrentDropEffect())}},t.prototype.handleTopDragOverCapture=function(){this.dragOverTargetIds=[]},t.prototype.handleDragOver=function(t,e){this.dragOverTargetIds.unshift(e)},t.prototype.handleTopDragOver=function(t){var e=this,r=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return t.preventDefault(),void(t.dataTransfer.dropEffect="none");this.actions.hover(r,{clientOffset:h.getEventClientOffset(t)});var n=r.some(function(t){return e.monitor.canDropOnTarget(t)});n?(t.preventDefault(),t.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(t.preventDefault(),t.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(t.preventDefault(),t.dataTransfer.dropEffect="move")},t.prototype.handleTopDragLeaveCapture=function(t){this.isDraggingNativeItem()&&t.preventDefault();var e=this.enterLeaveCounter.leave(t.target);e&&this.isDraggingNativeItem()&&this.endDragNativeItem()},t.prototype.handleTopDropCapture=function(t){this.dropTargetIds=[],t.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(t.dataTransfer),this.enterLeaveCounter.reset()},t.prototype.handleDrop=function(t,e){this.dropTargetIds.unshift(e)},t.prototype.handleTopDrop=function(t){var e=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(e,{clientOffset:h.getEventClientOffset(t)}),this.actions.drop(),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()},t.prototype.handleSelectStart=function(t){var e=t.target;"function"==typeof e.dragDrop&&("INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable||(t.preventDefault(),e.dragDrop()))},t}();e["default"]=y,t.exports=e["default"]},function(t,e){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var n=function(){function t(e,n){r(this,t);for(var o=e.length,i=[],a=0;o>a;a++)i.push(a);i.sort(function(t,r){return e[t]<e[r]?-1:1});for(var s=[],u=[],c=[],f=void 0,p=void 0,a=0;o-1>a;a++)f=e[a+1]-e[a],p=n[a+1]-n[a],u.push(f),s.push(p),c.push(p/f);for(var l=[c[0]],a=0;a<u.length-1;a++){var h=c[a],d=c[a+1];if(0>=h*d)l.push(0);else{f=u[a];var v=u[a+1],g=f+v;l.push(3*g/((g+v)/h+(g+f)/d))}}l.push(c[c.length-1]);for(var y=[],m=[],x=void 0,a=0;a<l.length-1;a++){x=c[a];var b=l[a],_=1/u[a],g=b+l[a+1]-x-x;y.push((x-b-g)*_),m.push(g*_*_)}this.xs=e,this.ys=n,this.c1s=l,this.c2s=y,this.c3s=m}return t.prototype.interpolate=function(t){var e=this.xs,r=this.ys,n=this.c1s,o=this.c2s,i=this.c3s,a=e.length-1;if(t===e[a])return r[a];for(var s=0,u=i.length-1,c=void 0;u>=s;){c=Math.floor(.5*(s+u));var f=e[c];if(t>f)s=c+1;else{if(!(f>t))return r[c];u=c-1}}a=Math.max(0,u);var p=t-e[a],l=p*p;return r[a]+n[a]*p+o[a]*l+i[a]*p*l},t}();e["default"]=n,t.exports=e["default"]},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e,r){var n=e.reduce(function(e,r){return e||t.getData(r)},null);return null!=n?n:r}function s(t){var e=l[t],r=e.exposeProperty,n=e.matchesTypes,a=e.getData;return function(){function t(){o(this,t),this.item=Object.defineProperties({},i({},r,{get:function(){return console.warn("Browser doesn't allow reading \""+r+'" until the drop event.'),null},configurable:!0,enumerable:!0}))}return t.prototype.mutateItemByReadingDataTransfer=function(t){delete this.item[r],this.item[r]=a(t,n)},t.prototype.canDrag=function(){return!0},t.prototype.beginDrag=function(){return this.item},t.prototype.isDragging=function(t,e){return e===t.getSourceId()},t.prototype.endDrag=function(){},t}()}function u(t){var e=Array.prototype.slice.call(t.types||[]);return Object.keys(l).filter(function(t){var r=l[t].matchesTypes;return r.some(function(t){return e.indexOf(t)>-1})})[0]||null}e.__esModule=!0;var c;e.createNativeDragSource=s,e.matchNativeItemType=u;var f=r(53),p=n(f),l=(c={},i(c,p.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(t){return Array.prototype.slice.call(t.files)}}),i(c,p.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(t,e){return a(t,e,"").split("\n")}}),i(c,p.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(t,e){return a(t,e,"")}}),c)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){var e=t.nodeType===f?t:t.parentElement;if(!e)return null;var r=e.getBoundingClientRect(),n=r.top,o=r.left;return{x:o,y:n}}function i(t){return{x:t.clientX,y:t.clientY}}function a(t,e,r,n){var i="IMG"===e.nodeName&&(s.isFirefox()||!document.documentElement.contains(e)),a=i?t:e,u=o(a),f={x:r.x-u.x,y:r.y-u.y},p=t.offsetWidth,l=t.offsetHeight,h=n.anchorX,d=n.anchorY,v=i?e.width:p,g=i?e.height:l;s.isSafari()&&i?(g/=window.devicePixelRatio,v/=window.devicePixelRatio):s.isFirefox()&&!i&&(g*=window.devicePixelRatio,v*=window.devicePixelRatio);var y=new c["default"]([0,.5,1],[f.x,f.x/p*v,f.x+v-p]),m=new c["default"]([0,.5,1],[f.y,f.y/l*g,f.y+g-l]),x=y.interpolate(h),b=m.interpolate(d);return s.isSafari()&&i&&(b+=(window.devicePixelRatio-1)*g),{x:x,y:b}}e.__esModule=!0,e.getNodeClientOffset=o,e.getEventClientOffset=i,e.getDragPreviewOffset=a;var s=r(95),u=r(219),c=n(u),f=1},function(t,e){"use strict";function r(){return n||(n=new Image,n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n}e.__esModule=!0,e["default"]=r;var n=void 0;t.exports=e["default"]},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function i(t){return new s["default"](t)}e.__esModule=!0,e["default"]=i;var a=r(218),s=o(a),u=r(222),c=o(u),f=r(53),p=n(f);e.NativeTypes=p,e.getEmptyImage=c["default"]},function(t,e){"use strict";function r(t,e){if(t===e)return!0;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<r.length;i++){if(!o.call(e,r[i])||t[r[i]]!==e[r[i]])return!1;var a=t[r[i]],s=e[r[i]];if(a!==s)return!1}return!0}e.__esModule=!0,e["default"]=r,t.exports=e["default"]},function(t,e){t.exports=r}])});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: react-tags-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Braun
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.6.3
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: React-Tags for Rails
|