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

react-selectize

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-selectize - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

bower.json
{
"name": "react-selectize",
"version": "2.0.2",
"version": "2.0.3",
"homepage": "https://github.com/furqanZafar/react-selectize",

@@ -5,0 +5,0 @@ "authors": [

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

!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.reactSelectize=e()}}(function(){return function e(n,t,o){function i(s,u){if(!t[s]){if(!n[s]){var l="function"==typeof require&&require;if(!u&&l)return l(s,!0);if(r)return r(s,!0);var p=new Error("Cannot find module '"+s+"'");throw p.code="MODULE_NOT_FOUND",p}var a=t[s]={exports:{}};n[s][0].call(a.exports,function(e){var t=n[s][1][e];return i(t?t:e)},a,a.exports,e,n,t,o)}return t[s].exports}for(var r="function"==typeof require&&require,s=0;s<o.length;s++)i(o[s]);return i}({1:[function(e,n,t){(function(){var t,o,i,r;t=e("./HighlightedText"),o=e("./SimpleSelect"),i=e("./MultiSelect"),r=e("./ReactSelectize"),n.exports={HighlightedText:t,SimpleSelect:o,MultiSelect:i,ReactSelectize:r}}).call(this)},{"./HighlightedText":4,"./MultiSelect":5,"./ReactSelectize":7,"./SimpleSelect":11}],2:[function(e,n,t){(function(e){(function(){var t,o,i;t="undefined"!=typeof window?window.React:"undefined"!=typeof e?e.React:null,o=t.createClass,i=t.DOM.div,n.exports=o({getDefaultProps:function(){return{className:"",onHeightChange:function(){}}},render:function(){return i({className:this.props.className,ref:"dropdown"},this.props.children)},componentDidMount:function(){this.props.onHeightChange(this.refs.dropdown.offsetHeight)},componentDidUpdate:function(){this.props.onHeightChange(this.refs.dropdown.offsetHeight)},componentWillUnmount:function(){this.props.onHeightChange(0)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,n,t){(function(t){(function(){function o(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var i,r,s,u,l,p,a,c,h,d,f,g,v,w,y,m,O,b;i=e("prelude-ls"),r=i.filter,s=i.id,u=i.map,l=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null).isEqualToObject,p="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=p.DOM,a=i.div,c=i.input,h=i.span,d=p.createClass,f=p.createFactory,g=("undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof t?t.ReactDOM:null).findDOMNode,v=f("undefined"!=typeof window?window.React.addons.CSSTransitionGroup:"undefined"!=typeof t?t.React.addons.CSSTransitionGroup:null),w=f(e("./ReactTether")),y=f(e("./DivWrapper")),m=f(e("./OptionWrapper")),i=e("./utils"),O=i.cancelEvent,b=i.classNameFromObject,n.exports=d({displayName:"DropdownMenu",getDefaultProps:function(){return{className:"",dropdownDirection:1,groupId:function(e){return e.groupId},groupsAsColumns:!1,highlightedUid:void 0,onHighlightedUidChange:function(e,n){},onOptionClick:function(e){},onScrollLockChange:function(e){},options:[],renderNoResultsFound:function(){return a({className:"no-results-found"},"No results found")},renderGroupTitle:function(e,n){var t,o;return null!=n&&(t=n.groupId,o=n.title),a({className:"simple-group-title",key:t},o)},renderOption:function(e){var n,t,o,i;return null!=e&&(n=e.label,t=e.newOption,o=e.selectable),i="undefined"==typeof o||o,a({className:"simple-option "+(i?"":"not-selectable")},h(null,t?"Add "+n+" ...":n))},scrollLock:!1,style:{},tether:!1,tetherProps:{},theme:"default",transitionEnter:!1,transitionLeave:!1,transitionEnterTimeout:200,transitionLeaveTimeout:200,uid:s}},render:function(){var e,n;return e=b((n={},n[this.props.theme+""]=1,n[this.props.className+""]=1,n.flipped=-1===this.props.dropdownDirection,n.tethered=this.props.tether,n)),this.props.tether?w((n=o({},this.props.tetherProps),n.options={attachment:"top left",targetAttachment:"bottom left",constraints:[{to:"scrollParent"}]},n),this.renderAnimatedDropdown({dynamicClassName:e})):this.renderAnimatedDropdown({dynamicClassName:e})},renderAnimatedDropdown:function(e){var n;return n=e.dynamicClassName,this.props.transitionEnter||this.props.transitionLeave?v({component:"div",transitionName:"custom",transitionEnter:this.props.transitionEnter,transitionLeave:this.props.transitionLeave,transitionEnterTimeout:this.props.transitionEnterTimeout,transitionLeaveTimeout:this.props.transitionLeaveTimeout,className:"dropdown-menu-wrapper "+n,ref:"dropdownMenuWrapper"},this.renderDropdown(e)):this.renderDropdown(e)},renderOptions:function(e){var n=this;return u(function(t){var i,r;return i=e[t],r=n.props.uid(i),m(o({uid:r,ref:"option-"+n.uidToString(r),key:n.uidToString(r),item:i,highlight:l(n.props.highlightedUid,r),selectable:null!=i?i.selectable:void 0,onMouseMove:function(e){var t;t=e.currentTarget,n.props.scrollLock&&n.props.onScrollLockChange(!1)},onMouseOut:function(){n.props.scrollLock||n.props.onHighlightedUidChange(void 0,function(){})},renderItem:n.props.renderOption},function(){switch(!1){case!("boolean"==typeof(null!=i?i.selectable:void 0)&&!i.selectable):return{onClick:O};default:return{onClick:function(){n.props.onOptionClick(n.props.highlightedUid)},onMouseOver:function(e){var t;t=e.currentTarget,n.props.scrollLock||n.props.onHighlightedUidChange(r,function(){})}}}}()))})(function(){var n,t,o=[];for(n=0,t=e.length;t>n;++n)o.push(n);return o}())},renderDropdown:function(e){var n,t,o,i,s=this;return n=e.dynamicClassName,this.props.open?y({className:"dropdown-menu "+n,ref:"dropdownMenu",onHeightChange:function(e){s.refs.dropdownMenuWrapper&&(g(s.refs.dropdownMenuWrapper).style.height=e+"px")}},0===this.props.options.length?this.props.renderNoResultsFound():(null!=(t=this.props)&&null!=(o=t.groups)?o.length:void 0)>0?(i=u(function(e){var n,t,o;return n=s.props.groups[e],t=n.groupId,o=r(function(e){return s.props.groupId(e)===t})(s.props.options),{index:e,group:n,options:o}})(function(){var e,n,t=[];for(e=0,n=this.props.groups.length;n>e;++e)t.push(e);return t}.call(this)),a({className:"groups "+(this.props.groupsAsColumns?"as-columns":"")},u(function(e){var n,t,o,i;return n=e.index,t=e.group,o=t.groupId,i=e.options,a({key:o},s.props.renderGroupTitle(n,t,i),a({className:"options"},s.renderOptions(i)))})(r(function(e){return e.options.length>0})(i)))):this.renderOptions(this.props.options)):null},componentDidUpdate:function(){var e,n,t;e=n=g(null!=(t=this.refs.dropdownMenuWrapper)?t:this.refs.dropdownMenu),null!=e&&(e.style.bottom=function(){switch(!1){case-1!==this.props.dropdownDirection:return this.props.bottomAnchor().offsetHeight+n.style.marginBottom+"px";default:return""}}.call(this))},highlightAndScrollToOption:function(e,n){var t,o=this;null==n&&(n=function(){}),t=this.props.uid(this.props.options[e]),this.props.onHighlightedUidChange(t,function(){var e,i,r,s,u;return null!=(e=g(null!=(i=o.refs)?i["option-"+o.uidToString(t)]:void 0))&&(r=e),r&&(s=g(o.refs.dropdownMenu),u=r.offsetHeight-1,r.offsetTop-s.scrollTop>=s.offsetHeight?s.scrollTop=r.offsetTop-s.offsetHeight+u:r.offsetTop-s.scrollTop+u<=0&&(s.scrollTop=r.offsetTop)),n()})},highlightAndScrollToSelectableOption:function(e,n,t){var o,i,r;null==t&&(t=function(){}),0>e||e>=this.props.options.length?this.props.onHighlightedUidChange(void 0,function(){return t(!1)}):(o=null!=(i=this.props)&&null!=(r=i.options)?r[e]:void 0,"boolean"!=typeof(null!=o?o.selectable:void 0)||o.selectable?this.highlightAndScrollToOption(e,function(){return t(!0)}):this.highlightAndScrollToSelectableOption(e+n,n,t))},uidToString:function(e){return("object"==typeof e?JSON.stringify:s)(e)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./DivWrapper":2,"./OptionWrapper":6,"./ReactTether":8,"./utils":15,"prelude-ls":void 0}],4:[function(e,n,t){(function(t){(function(){var o,i,r,s,u,l;o="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=o.createClass,r=o.DOM,s=r.div,u=r.span,l=e("prelude-ls").map,n.exports=i({getDefaultProps:function(){return{partitions:[],text:"",style:{},highlightStyle:{}}},render:function(){var e=this;return s({className:"highlighted-text",style:this.props.style},l(function(n){var t,o,i;return t=n[0],o=n[1],i=n[2],u({key:e.props.text+""+t+o+i,className:i?"highlight":"",style:i?e.props.highlightStyle:{}},e.props.text.substring(t,o))})(this.props.partitions))}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"prelude-ls":void 0}],5:[function(e,n,t){(function(t){(function(){function o(e,n){for(var t=-1,o=n.length>>>0;++t<o;)if(e===n[t])return!0;return!1}function i(e,n){var t,o=function(i){return e.length>1?function(){var r=i?i.concat():[];return t=n?t||this:this,r.push.apply(r,arguments)<e.length&&arguments.length?o.call(t,r):e.apply(t,r)}:e};return o()}function r(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var s,u,l,p,a,c,h,d,f,g,v,w,y,m,O,b,S,C,T,x,R,P={}.toString;s=e("prelude-ls"),u=s.all,l=s.any,p=s.camelize,a=s.difference,c=s.drop,h=s.filter,d=s.find,f=s.findIndex,g=s.id,v=s.last,w=s.map,y=s.reject,m=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null).isEqualToObject,O="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,b=O.createFactory,s=O.DOM,S=s.div,C=s.img,T=s.span,x=b(e("./ReactSelectize")),R=e("./utils").cancelEvent,n.exports=O.createClass({displayName:"MultiSelect",getDefaultProps:function(){return{className:"",closeOnSelect:!1,defaultValues:[],delimiters:[],filterOptions:i(function(e,n,t){return h(function(e){return e.label.toLowerCase().trim().indexOf(t.toLowerCase().trim())>-1})(y(function(e){return o(e.label.trim(),w(function(e){return e.label.trim()},null!=n?n:[]))})(e))}),firstOptionIndexToHighlight:g,onBlur:function(e){},onFocus:function(e){},onPaste:function(e){},serialize:w(function(e){return null!=e?e.value:void 0}),tether:!1}},render:function(){var e,n,t,o,i,s,u,l,p,a,c,h,d,f,g,w,y,m,O,b,S,C,T,P,D,M,N,E,U,F,L,A,H,I,k,B,z,V,j=this;return e=this.getComputedState(),n=e.anchor,t=e.filteredOptions,o=e.highlightedUid,i=e.onAnchorChange,s=e.onOpenChange,u=e.onHighlightedUidChange,l=e.onSearchChange,p=e.onValuesChange,a=e.search,c=e.open,h=e.options,d=e.values,null!=(e=this.props)&&(f=e.autofocus,g=e.autosize,w=e.cancelKeyboardEventOnSelection,y=e.delimiters,m=e.disabled,O=e.dropdownDirection,b=e.groupId,S=e.groups,C=e.groupsAsColumns,T=e.hideResetButton,P=e.inputProps,D=e.name,M=e.onKeyboardSelectionFailed,N=e.renderToggleButton,E=e.renderGroupTitle,U=e.renderResetButton,F=e.serialize,L=e.tether,A=e.tetherProps,H=e.theme,I=e.transitionEnter,k=e.transitionLeave,B=e.transitionEnterTimeout,z=e.transitionLeaveTimeout,V=e.uid),x(r(r({autofocus:f,autosize:g,cancelKeyboardEventOnSelection:w,className:"multi-select "+this.props.className,delimiters:y,disabled:m,dropdownDirection:O,groupId:b,groups:S,groupsAsColumns:C,hideResetButton:T,highlightedUid:o,onHighlightedUidChange:u,inputProps:P,name:D,onKeyboardSelectionFailed:M,renderGroupTitle:E,renderResetButton:U,renderToggleButton:N,scrollLock:this.state.scrollLock,onScrollLockChange:function(e){return j.setState({scrollLock:e})},tether:L,tetherProps:A,theme:H,transitionEnter:I,transitionEnterTimeout:B,transitionLeave:k,transitionLeaveTimeout:z,uid:V,ref:"select",anchor:n,onAnchorChange:i,open:c,onOpenChange:s,options:h,renderOption:this.props.renderOption,firstOptionIndexToHighlight:function(){return j.firstOptionIndexToHighlight(h)},search:a,onSearchChange:function(e,n){return l(j.props.maxValues&&d.length>=j.props.maxValues?"":e,n)},values:d,onValuesChange:function(e,n){return p(e,function(){return n(),j.props.closeOnSelect||j.props.maxValues&&j.values().length>=j.props.maxValues?s(!1,function(){}):void 0})},renderValue:this.props.renderValue,serialize:F,onBlur:function(e){l("",function(){return j.props.onBlur({open:c,values:d,originalEvent:e})})},onFocus:function(e){j.props.onFocus({open:c,values:d,originalEvent:e})},onPaste:function(){var e;switch(!1){case"undefined"!=typeof(null!=(e=this.props)?e.valuesFromPaste:void 0):return this.props.onPaste;default:return function(e){var n;return n=e.clipboardData,function(){var e;return e=d.concat(j.props.valuesFromPaste(h,d,n.getData("text"))),p(e,function(){return i(v(e))})}(),R(e)}}}.call(this),placeholder:this.props.placeholder,style:this.props.style},function(){switch(!1){case"function"!=typeof this.props.restoreOnBackspace:return{restoreOnBackspace:this.props.restoreOnBackspace};default:return{}}}.call(this)),function(){switch(!1){case"function"!=typeof this.props.renderNoResultsFound:return{renderNoResultsFound:function(){return j.props.renderNoResultsFound(d,a)}};default:return{}}}.call(this)))},getComputedState:function(){var e,n,t,o,i,s,u,l,a,c,h,d,f,g,v,y,m=this;return e=this.props.hasOwnProperty("anchor")?this.props.anchor:this.state.anchor,n=this.props.hasOwnProperty("highlightedUid")?this.props.highlightedUid:this.state.highlightedUid,t=this.isOpen(),o=this.props.hasOwnProperty("search")?this.props.search:this.state.search,i=this.values(),s=w(function(e){switch(!1){case!(m.props.hasOwnProperty(e)&&m.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){return m.props[p("on-"+e+"-change")](n,function(){}),m.setState({},t)};case!(m.props.hasOwnProperty(e)&&!m.props.hasOwnProperty(p("on-"+e+"-change"))):return function(e,n){return n()};case!(!m.props.hasOwnProperty(e)&&m.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){var o;return m.setState((o={},o[e+""]=n,o),function(){return t(),m.props[p("on-"+e+"-change")](n,function(){})})};case!(!m.props.hasOwnProperty(e)&&!m.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){var o;return m.setState((o={},o[e+""]=n,o),t)}}})(["anchor","highlightedUid","open","search","values"]),u=s[0],l=s[1],a=s[2],c=s[3],h=s[4],d=function(){var e;switch(!1){case!(null!=(e=this.props)&&e.children):return w(function(e){var n,t,o;return null!=e&&(n=e.props),null!=n&&(t=n.value,o=n.children),{label:o,value:t}})("Array"===P.call(this.props.children).slice(8,-1)?this.props.children:[this.props.children]);default:return[]}}.call(this),f=this.props.hasOwnProperty("options")?null!=(s=this.props.options)?s:[]:d,g=this.props.filterOptions(f,i,o),v=function(){switch(!1){case"function"!=typeof this.props.createFromSearch:return this.props.createFromSearch(g,i,o);default:return null}}.call(this),y=(v?[(s=r({},v),s.newOption=!0,s)]:[]).concat(g),{anchor:e,highlightedUid:n,search:o,values:i,onAnchorChange:u,onHighlightedUidChange:l,open:t,onOpenChange:function(e,n){a(function(){switch(!1){case!("undefined"!=typeof this.props.maxValues&&this.values().length>=this.props.maxValues):return!1;default:return e}}.call(m),n)},onSearchChange:c,onValuesChange:h,filteredOptions:g,options:y}},getInitialState:function(){return{anchor:this.props.values?v(this.props.values):void 0,highlightedUid:void 0,open:!1,scrollLock:!1,search:"",values:this.props.defaultValues}},firstOptionIndexToHighlight:function(e){var n,t;return n=function(){var n;switch(!1){case 1!==e.length:return 0;case"undefined"!=typeof(null!=(n=e[0])?n.newOption:void 0):return 0;default:return u(function(e){return"boolean"==typeof e.selectable&&!e.selectable})(c(1)(e))?0:1}}(),t=this.props.hasOwnProperty("search")?this.props.search:this.state.search,this.props.firstOptionIndexToHighlight(n,e,this.values(),t)},focus:function(){this.refs.select.focus()},blur:function(){this.refs.select.blur()},highlightFirstSelectableOption:function(){this.state.open&&this.refs.select.highlightAndScrollToSelectableOption(this.firstOptionIndexToHighlight(this.getComputedState().options),1)},values:function(){return this.props.hasOwnProperty("values")?this.props.values:this.state.values},isOpen:function(){return this.props.hasOwnProperty("open")?this.props.open:this.state.open}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ReactSelectize":7,"./utils":15,"prelude-ls":void 0}],6:[function(e,n,t){(function(t){(function(){var o,i,r,s,u;o="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=o.createClass,r=o.DOM.div,s=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null).isEqualToObject,u=e("./utils").cancelEvent,n.exports=i({getDefaultProps:function(){return{}},render:function(){var e=this;return r({className:"option-wrapper "+(this.props.highlight?"highlight":""),onMouseDown:function(n){var t;return t=function(n){return e.props.onClick(n),window.removeEventListener("mouseup",t)},window.addEventListener("mouseup",t),u(n)},onMouseMove:this.props.onMouseMove,onMouseOut:this.props.onMouseOut,onMouseOver:this.props.onMouseOver},this.props.renderItem(this.props.item))},shouldComponentUpdate:function(e){var n,t,o;return!s(null!=e?e.uid:void 0,null!=(n=this.props)?n.uid:void 0)||(null!=e?e.highlight:void 0)!==(null!=(t=this.props)?t.highlight:void 0)||(null!=e?e.selectable:void 0)!==(null!=(o=this.props)?o.selectable:void 0)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./utils":15}],7:[function(e,n,t){(function(t){(function(){function o(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}function i(e,n){for(var t=-1,o=n.length>>>0;++t<o;)if(e===n[t])return!0;return!1}var r,s,u,l,p,a,c,h,d,f,g,v,w,y,m,O,b,S,C,T,x,R,P,D,M,N,E,U,F,L,A,H,I,k,B,z,V;r=e("prelude-ls"),s=r.each,u=r.filter,l=r.find,p=r.findIndex,a=r.id,c=r.initial,h=r.last,d=r.map,f=r.objToPairs,g=r.partition,v=r.reject,w=r.reverse,y=r.Str,m=r.sortBy,O=r.sum,b=r.values,r="undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null,S=r.clamp,C=r.isEqualToObject,T="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,r=T.DOM,x=r.div,R=r.input,P=r.path,D=r.span,M=r.svg,N=T.createClass,E=T.createFactory,U=("undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof t?t.ReactDOM:null).findDOMNode,F=E("undefined"!=typeof window?window.React.addons.CSSTransitionGroup:"undefined"!=typeof t?t.React.addons.CSSTransitionGroup:null),L=E(e("./ToggleButton")),A=E(e("./DropdownMenu")),H=E(e("./OptionWrapper")),I=E(e("./ValueWrapper")),k=E(e("./ResetButton")),B=E(e("./ResizableInput")),r=e("./utils"),z=r.cancelEvent,V=r.classNameFromObject,n.exports=N({displayName:"ReactSelectize",focusLock:!1,getDefaultProps:function(){return{anchor:null,autofocus:!1,cancelKeyboardEventOnSelection:!0,delimiters:[],disabled:!1,dropdownDirection:1,firstOptionIndexToHighlight:function(e){return 0},groupId:function(e){return e.groupId},groupsAsColumns:!1,highlightedUid:void 0,inputProps:{},onAnchorChange:function(e){},onBlur:function(e){},onEnter:function(e){},onFocus:function(e){},onHighlightedUidChange:function(e,n){},onKeyboardSelectionFailed:function(e){},onOpenChange:function(e,n){},onPaste:function(e){},onScrollLockChange:function(e){},onSearchChange:function(e,n){},onValuesChange:function(e,n){},open:!1,hideResetButton:!1,renderValue:function(e){var n;return n=e.label,x({className:"simple-value"},D(null,n))},renderToggleButton:L,renderResetButton:k,scrollLock:!1,search:"",style:{},theme:"default",uid:a,values:[]}},render:function(){var e,n,t,i,r,s=this;return e=function(){var e;switch(!1){case!("undefined"==typeof this.props.anchor||null===this.props.anchor):return-1;default:return null!=(e=p(function(e){return s.isEqualToObject(e,s.props.anchor)},this.props.values))?e:this.props.values.length-1}}.call(this),n=function(e){return d(function(e){var n,t;return n=s.props.values[e],t=s.props.uid(n),I({key:s.uidToString(t),uid:t,item:n,renderItem:s.props.renderValue})})(e)},t=-1===this.props.dropdownDirection,x({className:V((i={"react-selectize":1},i[this.props.theme+""]=1,i["root-node"]=1,i[this.props.className+""]=1,i.disabled=this.props.disabled,i.open=this.props.open,i.flipped=t,i.tethered=this.props.tether,i)),style:this.props.style},this.props.name?R({type:"hidden",name:this.props.name,value:this.props.serialize(this.props.values)}):void 0,x({className:"react-selectize-control",ref:"control",onMouseDown:function(e){return function(){return s.props.onAnchorChange(h(s.props.values),function(){return s.onOpenChange(!0,function(){return s.highlightAndFocus()})})}(),s.props.open?void 0:z(e)}},0===this.props.search.length&&0===this.props.values.length?x({className:"react-selectize-placeholder"},this.props.placeholder):void 0,x({className:"react-selectize-search-field-and-selected-values"},n(function(){var n,t,o=[];for(n=0,t=e;t>=n;++n)o.push(n);return o}()),B((i=o({disabled:this.props.disabled},this.props.inputProps),i.ref="search",i.type="text",i.value=this.props.search,i.onChange=function(e){var n;return n=e.currentTarget.value,s.props.onSearchChange(n,function(){return s.highlightAndScrollToSelectableOption(s.props.firstOptionIndexToHighlight(s.props.options),1)})},i.onFocus=function(e){!function(){return function(e){return s.focusLock?e(s.focusLock=!1):s.onOpenChange(!0,function(){return e(!0)})}}()(function(){return s.props.onFocus(e)})},i.onBlur=function(e){return s.refs.dropdownMenu&&document.activeElement===U(s.refs.dropdownMenu)?void 0:s.closeDropdown(function(){return s.props.onBlur(e)})},i.onPaste=this.props.onPaste,i.onKeyDown=function(n){return s.handleKeydown({anchorIndex:e},n)},i)),n(function(){var n,t,o=[];for(n=e+1,t=this.props.values.length;t>n;++n)o.push(n);return o}.call(this))),this.props.values.length>0&&!this.props.hideResetButton?x({className:"react-selectize-reset-button-container",onClick:function(e){return function(){return s.props.onValuesChange([],function(){return s.props.onSearchChange("",function(){return s.highlightAndFocus()})})}(),z(e)}},this.props.renderResetButton()):void 0,x({className:"react-selectize-toggle-button-container",onMouseDown:function(e){return s.props.open?s.onOpenChange(!1,function(){}):s.props.onAnchorChange(h(s.props.values),function(){return s.onOpenChange(!0,function(){})}),z(e)}},this.props.renderToggleButton({open:this.props.open,flipped:t}))),A((i=o({},this.props),i.ref="dropdownMenu",i.className=V((r={"react-selectize":1},r[this.props.className+""]=1,r)),i.theme=this.props.theme,i.scrollLock=this.props.scrollLock,i.onScrollChange=this.props.onScrollChange,i.bottomAnchor=function(){return U(s.refs.control)},i.tetherProps=(r=o({},this.props.tetherProps),r.target=function(){return U(s.refs.control)},r),i.highlightedUid=this.props.highlightedUid,i.onHighlightedUidChange=this.props.onHighlightedUidChange,i.onOptionClick=function(n){s.selectHighlightedUid(e,function(){})},i)))},handleKeydown:function(e,n){var t,o,r,s=this;switch(t=e.anchorIndex,n.which){case 8:if(this.props.search.length>0||-1===t)return;!function(){var e,n,o,i;return e=t,n=0>t-1?void 0:s.props.values[t-1],o=s.props.values[t],s.props.onValuesChange(null!=(i=v(function(e){return s.isEqualToObject(e,o)})(s.props.values))?i:[],function(){return function(){return function(e){return"undefined"==typeof l(function(e){return s.isEqualToObject(e,o)},s.props.values)?s.props.restoreOnBackspace?s.props.onSearchChange(s.props.restoreOnBackspace(o),function(){return e(!0)}):e(!0):e(!1)}}()(function(o){return o&&(s.highlightAndScrollToSelectableOption(s.props.firstOptionIndexToHighlight(s.props.options),1),t===e&&("undefined"==typeof n||l(function(e){return s.isEqualToObject(e,n)})(s.props.values)))?s.props.onAnchorChange(n,function(){}):void 0})})}(),z(n);break;case 27:!function(){return s.props.open?function(e){return s.onOpenChange(!1,e)}:function(e){return s.props.onValuesChange([],e)}}()(function(){return s.props.onSearchChange("",function(){return s.focusOnInput()})})}if(this.props.open&&i(n.which,[13].concat(this.props.delimiters))&&!(null!=n&&n.metaKey||null!=n&&n.ctrlKey||null!=n&&n.shiftKey)&&(o=this.selectHighlightedUid(t,function(e){return"undefined"==typeof e?s.props.onKeyboardSelectionFailed(n.which):void 0}),o&&this.props.cancelKeyboardEventOnSelection))return z(n);if(0===this.props.search.length)switch(n.which){case 37:this.props.onAnchorChange(0>t-1||n.metaKey?void 0:this.props.values[S(t-1,0,this.props.values.length-1)],function(){});break;case 39:this.props.onAnchorChange(n.metaKey?h(this.props.values):this.props.values[S(t+1,0,this.props.values.length-1)],function(){})}switch(n.which){case 38:return this.props.onScrollLockChange(!0),r=function(){switch(!1){case"undefined"!=typeof this.props.highlightedUid:return 0;default:return-1+this.optionIndexFromUid(this.props.highlightedUid)}}.call(this),this.highlightAndScrollToSelectableOption(r,-1,function(e){return e?void 0:s.highlightAndScrollToSelectableOption(s.props.options.length-1,-1)});case 40:return this.props.onScrollLockChange(!0),r=function(){switch(!1){case"undefined"!=typeof this.props.highlightedUid:return 0;default:return 1+this.optionIndexFromUid(this.props.highlightedUid)}}.call(this),this.highlightAndScrollToSelectableOption(r,1,function(e){return e?void 0:s.highlightAndScrollToSelectableOption(0,1)})}},componentDidMount:function(){this.props.autofocus&&this.focus(),this.props.open&&this.highlightAndFocus()},componentDidUpdate:function(e){this.props.open&&!e.open&&void 0===this.props.highlightedUid&&this.highlightAndFocus(),!this.props.open&&e.open&&this.props.onHighlightedUidChange(void 0,function(){})},componentWillReceiveProps:function(e){"undefined"!=typeof this.props.disabled&&this.props.disabled!==!1||"undefined"==typeof e.disabled||e.disabled!==!0||this.onOpenChange(!1,function(){})},optionIndexFromUid:function(e){var n=this;return p(function(t){return C(e,n.props.uid(t))})(this.props.options)},closeDropdown:function(e){var n=this;this.onOpenChange(!1,function(){return n.props.onAnchorChange(h(n.props.values),e)})},blur:function(){this.refs.search.blur()},focus:function(){this.refs.search.focus()},focusOnInput:function(){var e;e=U(this.refs.search),e!==document.activeElement&&(this.focusLock=!0,e.focus(),e.value=e.value)},highlightAndFocus:function(){this.highlightAndScrollToSelectableOption(this.props.firstOptionIndexToHighlight(this.props.options),1),this.focusOnInput()},highlightAndScrollToOption:function(e,n){null==n&&(n=function(){}),this.refs.dropdownMenu.highlightAndScrollToOption(e,n)},highlightAndScrollToSelectableOption:function(e,n,t){var o=this;null==t&&(t=function(){}),function(){return o.props.open?function(e){return e()}:function(e){return o.onOpenChange(!0,e)}}()(function(){return o.refs.dropdownMenu.highlightAndScrollToSelectableOption(e,n,t)})},isEqualToObject:function(){return C(this.props.uid(arguments[0]),this.props.uid(arguments[1]))},onOpenChange:function(e,n){return this.props.onOpenChange(this.props.disabled?!1:e,n)},selectHighlightedUid:function(e,n){var t,o,i=this;return void 0===this.props.highlightedUid?(n(),!1):(t=this.optionIndexFromUid(this.props.highlightedUid),"number"!=typeof t?(n(),!1):(o=this.props.options[t],function(){return i.props.onValuesChange(d(function(e){return i.props.values[e]},function(){var n,t,o=[];for(n=0,t=e;t>=n;++n)o.push(n);return o}()).concat([o],d(function(e){return i.props.values[e]},function(){var n,t,o=[];for(n=e+1,t=this.props.values.length;t>n;++n)o.push(n);return o}.call(i))),function(){var e;return e=l(function(e){return i.isEqualToObject(e,o)},i.props.values),e?i.props.onSearchChange("",function(){return i.props.onAnchorChange(e,function(){return i.props.open?i.highlightAndScrollToSelectableOption(t,1,function(t){return t?void n(e):i.highlightAndScrollToSelectableOption(i.props.firstOptionIndexToHighlight(i.props.options),1,function(t){return t?n(e):i.onOpenChange(!1,function(){return n(e)})})}):void n(e)})}):void n()})}(),!0))},uidToString:function(e){return("object"==typeof e?JSON.stringify:a)(e)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./DropdownMenu":3,"./OptionWrapper":6,"./ResetButton":9,"./ResizableInput":10,"./ToggleButton":13,"./ValueWrapper":14,"./utils":15,"prelude-ls":void 0}],8:[function(e,n,t){(function(e){(function(){function t(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var o,i,r,s,u,l;o=("undefined"!=typeof window?window.React:"undefined"!=typeof e?e.React:null).createClass,i="undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof e?e.ReactDOM:null,r=i.render,s=i.unmountComponentAtNode,u="undefined"!=typeof window?window.React.addons.shallowCompare:"undefined"!=typeof e?e.React.addons.shallowCompare:null,l="undefined"!=typeof window?window.Tether:"undefined"!=typeof e?e.Tether:null,n.exports=o({getDefaultProps:function(){return{parentElement:function(){return document.body}}},render:function(){return null},initTether:function(e){var n=this;this.node=document.createElement("div"),this.props.parentElement().appendChild(this.node),this.tether=new l(t({element:this.node,target:e.target()},e.options)),r(e.children,this.node,function(){return n.tether.position()})},destroyTether:function(){this.tether&&this.tether.destroy(),this.node&&(s(this.node),this.node.parentElement.removeChild(this.node)),this.node=this.tether=void 0},componentDidMount:function(){this.props.children&&this.initTether(this.props)},componentWillReceiveProps:function(e){var n=this;this.props.children&&!e.children?this.destroyTether():e.children&&!this.props.children?this.initTether(e):e.children&&(this.tether.setOptions(t({element:this.node,target:e.target()},e.options)),r(e.children,this.node,function(){return n.tether.position()}))},shouldComponentUpdate:function(e,n){return u(this,e,n)},componentWillUnmount:function(){this.destroyTether()}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],9:[function(e,n,t){(function(t){(function(){var o,i,r,s,u;o="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=o.createClass,r=o.createFactory,s=o.DOM.path,u=r(e("./SvgWrapper")),n.exports=i({render:function(){return u({className:"react-selectize-reset-button",style:{width:8,height:8}},s({d:"M0 0 L8 8 M8 0 L 0 8"}))}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./SvgWrapper":12}],10:[function(e,n,t){(function(t){(function(){function o(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var i,r,s,u,l,p,a,c;i=e("prelude-ls"),r=i.each,s=i.objToPairs,u="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,l=u.DOM.input,p=u.createClass,a=u.createFactory,c=("undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof t?t.ReactDOM:null).findDOMNode,n.exports=p({displayName:"ResizableInput",render:function(){var e;return l((e=o({},this.props),e.type="input",e.className="resizable-input",e))},autosize:function(){var e,n,t,o,i;return e=n=c(this),e.style.width="0px",0===n.value.length?n.style.width=null!=n&&n.currentStyle?"4px":"2px":n.scrollWidth>0?n.style.width=2+n.scrollWidth+"px":(t=o=document.createElement("div"),t.innerHTML=n.value,function(){var e;return e=o.style,e.display="inline-block",e.width="",e}(r(function(e){var n,t;return n=e[0],t=e[1],o.style[n]=t})(s(n.currentStyle?n.currentStyle:null!=(i=document.defaultView)?i:window.getComputedStyle(n)))),document.body.appendChild(o),n.style.width=4+o.clientWidth+"px",document.body.removeChild(o))},componentDidMount:function(){this.autosize()},componentDidUpdate:function(){this.autosize()},blur:function(){return c(this).blur()},focus:function(){return c(this).focus()}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"prelude-ls":void 0}],11:[function(e,n,t){(function(t){(function(){function o(e,n){var t,o=function(i){return e.length>1?function(){var r=i?i.concat():[];return t=n?t||this:this,r.push.apply(r,arguments)<e.length&&arguments.length?o.call(t,r):e.apply(t,r)}:e};return o();
}function i(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var r,s,u,l,p,a,c,h,d,f,g,v,w,y,m,O,b,S,C,T,x,R={}.toString;r=e("prelude-ls"),s=r.all,u=r.any,l=r.drop,p=r.camelize,a=r.difference,c=r.filter,h=r.find,d=r.findIndex,f=r.id,g=r.last,v=r.map,w=r.reject,y=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null).isEqualToObject,m="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,O=m.createFactory,r=m.DOM,b=r.div,S=r.img,C=r.span,T=O(e("./ReactSelectize")),x=e("./utils").cancelEvent,n.exports=m.createClass({displayName:"SimpleSelect",getDefaultProps:function(){return{delimiters:[],filterOptions:o(function(e,n){return c(function(e){return e.label.toLowerCase().trim().indexOf(n.toLowerCase().trim())>-1})(e)}),firstOptionIndexToHighlight:f,onBlur:function(e){},onFocus:function(e){},onKeyboardSelectionFailed:function(e){},onPaste:function(e){},placeholder:"",renderValue:function(e){var n;return n=e.label,b({className:"simple-value"},C(null,n))},serialize:function(e){return null!=e?e.value:void 0},style:{},tether:!1,uid:f}},render:function(){var e,n,t,o,r,s,u,l,p,a,c,h,d,f,v,w,m,O,b,S,C,R,P,D,M,N,E,U,F,L,A,H,I,k,B,z,V=this;return e=this.getComputedState(),n=e.filteredOptions,t=e.highlightedUid,o=e.onHighlightedUidChange,r=e.onOpenChange,s=e.onSearchChange,u=e.onValueChange,l=e.open,p=e.options,a=e.search,c=e.value,h=e.values,null!=(e=this.props)&&(d=e.autofocus,f=e.autosize,v=e.cancelKeyboardEventOnSelection,w=e.delimiters,m=e.disabled,O=e.dropdownDirection,b=e.groupId,S=e.groups,C=e.groupsAsColumns,R=e.hideResetButton,P=e.name,D=e.inputProps,M=e.renderToggleButton,N=e.renderGroupTitle,E=e.renderResetButton,U=e.serialize,F=e.tether,L=e.tetherProps,A=e.theme,H=e.transitionEnter,I=e.transitionLeave,k=e.transitionEnterTimeout,B=e.transitionLeaveTimeout,z=e.uid),T(i(i({autofocus:d,autosize:f,cancelKeyboardEventOnSelection:v,className:"simple-select"+(this.props.className?" "+this.props.className:""),delimiters:w,disabled:m,dropdownDirection:O,groupId:b,groups:S,groupsAsColumns:C,hideResetButton:R,highlightedUid:t,onHighlightedUidChange:o,inputProps:D,name:P,renderGroupTitle:N,renderResetButton:E,renderToggleButton:M,scrollLock:this.state.scrollLock,onScrollLockChange:function(e){return V.setState({scrollLock:e})},tether:F,tetherProps:L,theme:A,transitionEnter:H,transitionEnterTimeout:k,transitionLeave:I,transitionLeaveTimeout:B,ref:"select",anchor:g(h),onAnchorChange:function(e,n){return n()},open:l,onOpenChange:r,firstOptionIndexToHighlight:function(){return V.firstOptionIndexToHighlight(p,c)},options:p,renderOption:this.props.renderOption,renderNoResultsFound:this.props.renderNoResultsFound,search:a,onSearchChange:function(e,n){return s(e,n)},values:h,onValuesChange:function(e,n){var t,o;return 0===e.length?u(void 0,function(){return n()}):(t=g(e),o=!y(t,c),function(){return function(e){return o?u(t,e):e()}}()(function(){return n(),r(!1,function(){})}))},renderValue:function(e){return l&&(V.props.editable||a.length>0)?null:V.props.renderValue(e)},onKeyboardSelectionFailed:function(e){return s("",function(){return r(!1,function(){return V.props.onKeyboardSelectionFailed(e)})})},uid:function(e){return{uid:V.props.uid(e),open:l,search:a}},serialize:function(e){return U(e[0])},onBlur:function(e){!function(){return function(e){return a.length>0?s("",e):e()}}()(function(){return V.props.onBlur({value:c,open:l,originalEvent:e})})},onFocus:function(e){V.props.onFocus({value:c,open:l,originalEvent:e})},onPaste:function(){var e;switch(!1){case"undefined"!=typeof(null!=(e=this.props)?e.valueFromPaste:void 0):return this.props.onPaste;default:return function(e){var n,t;return n=e.clipboardData,t=V.props.valueFromPaste(p,c,n.getData("text")),t?(function(){return u(t,function(){return s("",function(){return r(!1)})})}(),x(e)):void 0}}}.call(this),placeholder:this.props.placeholder,style:this.props.style},function(){switch(!1){case"function"!=typeof this.props.restoreOnBackspace:return{restoreOnBackspace:this.props.restoreOnBackspace};default:return{}}}.call(this)),function(){switch(!1){case"function"!=typeof this.props.renderNoResultsFound:return{renderNoResultsFound:function(){return V.props.renderNoResultsFound(c,a)}};default:return{}}}.call(this)))},getComputedState:function(){var e,n,t,o,r,s,u,l,a,c,h,d,f,g,w,y=this;return e=this.props.hasOwnProperty("highlightedUid")?this.props.highlightedUid:this.state.highlightedUid,n=this.isOpen(),t=this.props.hasOwnProperty("search")?this.props.search:this.state.search,o=this.value(),r=o||0===o?[o]:[],s=v(function(e){var n;return n=function(){switch(!1){case!(this.props.hasOwnProperty(e)&&this.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){return y.props[p("on-"+e+"-change")](n,function(){}),y.setState({},t)};case!(this.props.hasOwnProperty(e)&&!this.props.hasOwnProperty(p("on-"+e+"-change"))):return function(e,n){return n()};case!(!this.props.hasOwnProperty(e)&&this.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){var o;return y.setState((o={},o[e+""]=n,o),function(){return t(),y.props[p("on-"+e+"-change")](n,function(){})})};case!(!this.props.hasOwnProperty(e)&&!this.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){var o;return y.setState((o={},o[e+""]=n,o),t)}}}.call(y)})(["highlightedUid","open","search","value"]),u=s[0],l=s[1],a=s[2],c=s[3],h=function(){var e;switch(!1){case!(null!=(e=this.props)&&e.children):return v(function(e){var n,t,o;return null!=(n=null!=e?e.props:void 0)&&(t=n.value,o=n.children),{label:o,value:t}})("Array"===R.call(this.props.children).slice(8,-1)?this.props.children:[this.props.children]);default:return[]}}.call(this),d=this.props.hasOwnProperty("options")?null!=(s=this.props.options)?s:[]:h,f=this.props.filterOptions(d,t),g=function(){switch(!1){case"function"!=typeof this.props.createFromSearch:return this.props.createFromSearch(f,t);default:return null}}.call(this),w=(g?[(s=i({},g),s.newOption=!0,s)]:[]).concat(f),{highlightedUid:e,open:n,search:t,value:o,values:r,onHighlightedUidChange:u,onOpenChange:function(e,n){l(e,function(){return n(),y.props.editable&&y.isOpen()&&o?a(y.props.editable(o)+""+(1===t.length?t:""),function(){return y.highlightFirstSelectableOption(function(){})}):void 0})},onSearchChange:a,onValueChange:c,filteredOptions:f,options:w}},getInitialState:function(){var e;return{highlightedUid:void 0,open:!1,scrollLock:!1,search:"",value:null!=(e=this.props)?e.defaultValue:void 0}},firstOptionIndexToHighlight:function(e,n){var t,o,i;return t=n?d(function(e){return y(e,n)},e):void 0,o=function(){var n;switch(!1){case"undefined"==typeof t:return t;case 1!==e.length:return 0;case"undefined"!=typeof(null!=(n=e[0])?n.newOption:void 0):return 0;default:return s(function(e){return"boolean"==typeof e.selectable&&!e.selectable})(l(1)(e))?0:1}}(),i=this.props.hasOwnProperty("search")?this.props.search:this.state.search,this.props.firstOptionIndexToHighlight(o,e,n,i)},focus:function(){this.refs.select.focus()},blur:function(){this.refs.select.blur()},highlightFirstSelectableOption:function(e){var n,t,o;null==e&&(e=function(){}),this.state.open?(n=this.getComputedState(),t=n.options,o=n.value,this.refs.select.highlightAndScrollToSelectableOption(this.firstOptionIndexToHighlight(t,o),1,e)):e()},value:function(){return this.props.hasOwnProperty("value")?this.props.value:this.state.value},isOpen:function(){return this.props.hasOwnProperty("open")?this.props.open:this.state.open}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ReactSelectize":7,"./utils":15,"prelude-ls":void 0}],12:[function(e,n,t){(function(e){(function(){var t,o,i,r;t="undefined"!=typeof window?window.React:"undefined"!=typeof e?e.React:null,o=t.createClass,i=t.DOM.svg,r=("undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof e?e.ReactDOM:null).findDOMNode,n.exports=o({render:function(){return i(this.props)},componentDidMount:function(){r(this).setAttribute("focusable",!1)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],13:[function(e,n,t){(function(t){(function(){var o,i,r,s,u;o="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=o.createClass,r=o.createFactory,s=o.DOM.path,u=r(e("./SvgWrapper")),n.exports=i({getDefaultProps:function(){return{open:!1,flipped:!1}},render:function(){return u({className:"react-selectize-toggle-button",style:{width:10,height:8}},s({d:function(){switch(!1){case!(this.props.open&&!this.props.flipped||!this.props.open&&this.props.flipped):return"M0 6 L5 1 L10 6 Z";default:return"M0 1 L5 6 L10 1 Z"}}.call(this)}))}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./SvgWrapper":12}],14:[function(e,n,t){(function(e){(function(){var t,o,i,r;t="undefined"!=typeof window?window.React:"undefined"!=typeof e?e.React:null,o=t.createClass,i=t.DOM.div,r=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof e?e.preludeExtension:null).isEqualToObject,n.exports=o({getDefaultProps:function(){return{}},render:function(){return i({className:"value-wrapper"},this.props.renderItem(this.props.item))},shouldComponentUpdate:function(e){var n;return!r(null!=e?e.uid:void 0,null!=(n=this.props)?n.uid:void 0)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],15:[function(e,n,t){(function(){var n,o,i,r,s,u,l,p="undefined"!=typeof t&&t||this;n=e("prelude-ls"),o=n.filter,i=n.map,r=n.objToPairs,s=n.Str,p.cancelEvent=u=function(e){e.preventDefault(),e.stopPropagation()},p.classNameFromObject=l=function(e){return s.join(" ")(i(function(e){return e[0]})(o(function(e){return!!e[1]})(r(e))))}}).call(this)},{"prelude-ls":void 0}]},{},[1])(1)});
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.reactSelectize=e()}}(function(){return function e(n,t,o){function i(s,u){if(!t[s]){if(!n[s]){var l="function"==typeof require&&require;if(!u&&l)return l(s,!0);if(r)return r(s,!0);var p=new Error("Cannot find module '"+s+"'");throw p.code="MODULE_NOT_FOUND",p}var a=t[s]={exports:{}};n[s][0].call(a.exports,function(e){var t=n[s][1][e];return i(t?t:e)},a,a.exports,e,n,t,o)}return t[s].exports}for(var r="function"==typeof require&&require,s=0;s<o.length;s++)i(o[s]);return i}({1:[function(e,n,t){(function(){var t,o,i,r;t=e("./HighlightedText"),o=e("./SimpleSelect"),i=e("./MultiSelect"),r=e("./ReactSelectize"),n.exports={HighlightedText:t,SimpleSelect:o,MultiSelect:i,ReactSelectize:r}}).call(this)},{"./HighlightedText":4,"./MultiSelect":5,"./ReactSelectize":7,"./SimpleSelect":11}],2:[function(e,n,t){(function(e){(function(){var t,o,i;t="undefined"!=typeof window?window.React:"undefined"!=typeof e?e.React:null,o=t.createClass,i=t.DOM.div,n.exports=o({getDefaultProps:function(){return{className:"",onHeightChange:function(){}}},render:function(){return i({className:this.props.className,ref:"dropdown"},this.props.children)},componentDidMount:function(){this.props.onHeightChange(this.refs.dropdown.offsetHeight)},componentDidUpdate:function(){this.props.onHeightChange(this.refs.dropdown.offsetHeight)},componentWillUnmount:function(){this.props.onHeightChange(0)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,n,t){(function(t){(function(){function o(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var i,r,s,u,l,p,a,c,h,d,f,g,v,w,y,m,O,b;i=e("prelude-ls"),r=i.filter,s=i.id,u=i.map,l=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null).isEqualToObject,p="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=p.DOM,a=i.div,c=i.input,h=i.span,d=p.createClass,f=p.createFactory,g=("undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof t?t.ReactDOM:null).findDOMNode,v=f("undefined"!=typeof window?window.React.addons.CSSTransitionGroup:"undefined"!=typeof t?t.React.addons.CSSTransitionGroup:null),w=f(e("./ReactTether")),y=f(e("./DivWrapper")),m=f(e("./OptionWrapper")),i=e("./utils"),O=i.cancelEvent,b=i.classNameFromObject,n.exports=d({displayName:"DropdownMenu",getDefaultProps:function(){return{className:"",dropdownDirection:1,groupId:function(e){return e.groupId},groupsAsColumns:!1,highlightedUid:void 0,onHighlightedUidChange:function(e,n){},onOptionClick:function(e){},onScrollLockChange:function(e){},options:[],renderNoResultsFound:function(){return a({className:"no-results-found"},"No results found")},renderGroupTitle:function(e,n){var t,o;return null!=n&&(t=n.groupId,o=n.title),a({className:"simple-group-title",key:t},o)},renderOption:function(e){var n,t,o,i;return null!=e&&(n=e.label,t=e.newOption,o=e.selectable),i="undefined"==typeof o||o,a({className:"simple-option "+(i?"":"not-selectable")},h(null,t?"Add "+n+" ...":n))},scrollLock:!1,style:{},tether:!1,tetherProps:{},theme:"default",transitionEnter:!1,transitionLeave:!1,transitionEnterTimeout:200,transitionLeaveTimeout:200,uid:s}},render:function(){var e,n;return e=b((n={},n[this.props.theme+""]=1,n[this.props.className+""]=1,n.flipped=-1===this.props.dropdownDirection,n.tethered=this.props.tether,n)),this.props.tether?w((n=o({},this.props.tetherProps),n.options={attachment:"top left",targetAttachment:"bottom left",constraints:[{to:"scrollParent"}]},n),this.renderAnimatedDropdown({dynamicClassName:e})):this.renderAnimatedDropdown({dynamicClassName:e})},renderAnimatedDropdown:function(e){var n;return n=e.dynamicClassName,this.props.transitionEnter||this.props.transitionLeave?v({component:"div",transitionName:"custom",transitionEnter:this.props.transitionEnter,transitionLeave:this.props.transitionLeave,transitionEnterTimeout:this.props.transitionEnterTimeout,transitionLeaveTimeout:this.props.transitionLeaveTimeout,className:"dropdown-menu-wrapper "+n,ref:"dropdownMenuWrapper"},this.renderDropdown(e)):this.renderDropdown(e)},renderOptions:function(e){var n=this;return u(function(t){var i,r;return i=e[t],r=n.props.uid(i),m(o({uid:r,ref:"option-"+n.uidToString(r),key:n.uidToString(r),item:i,highlight:l(n.props.highlightedUid,r),selectable:null!=i?i.selectable:void 0,onMouseMove:function(e){var t;t=e.currentTarget,n.props.scrollLock&&n.props.onScrollLockChange(!1)},onMouseOut:function(){n.props.scrollLock||n.props.onHighlightedUidChange(void 0,function(){})},renderItem:n.props.renderOption},function(){switch(!1){case!("boolean"==typeof(null!=i?i.selectable:void 0)&&!i.selectable):return{onClick:O};default:return{onClick:function(){n.props.onOptionClick(n.props.highlightedUid)},onMouseOver:function(e){var t;t=e.currentTarget,n.props.scrollLock||n.props.onHighlightedUidChange(r,function(){})}}}}()))})(function(){var n,t,o=[];for(n=0,t=e.length;t>n;++n)o.push(n);return o}())},renderDropdown:function(e){var n,t,o,i,s=this;return n=e.dynamicClassName,this.props.open?y({className:"dropdown-menu "+n,ref:"dropdownMenu",onHeightChange:function(e){s.refs.dropdownMenuWrapper&&(g(s.refs.dropdownMenuWrapper).style.height=e+"px")}},0===this.props.options.length?this.props.renderNoResultsFound():(null!=(t=this.props)&&null!=(o=t.groups)?o.length:void 0)>0?(i=u(function(e){var n,t,o;return n=s.props.groups[e],t=n.groupId,o=r(function(e){return s.props.groupId(e)===t})(s.props.options),{index:e,group:n,options:o}})(function(){var e,n,t=[];for(e=0,n=this.props.groups.length;n>e;++e)t.push(e);return t}.call(this)),a({className:"groups "+(this.props.groupsAsColumns?"as-columns":"")},u(function(e){var n,t,o,i;return n=e.index,t=e.group,o=t.groupId,i=e.options,a({key:o},s.props.renderGroupTitle(n,t,i),a({className:"options"},s.renderOptions(i)))})(r(function(e){return e.options.length>0})(i)))):this.renderOptions(this.props.options)):null},componentDidUpdate:function(){var e,n,t;e=n=g(null!=(t=this.refs.dropdownMenuWrapper)?t:this.refs.dropdownMenu),null!=e&&(e.style.bottom=function(){switch(!1){case-1!==this.props.dropdownDirection:return this.props.bottomAnchor().offsetHeight+n.style.marginBottom+"px";default:return""}}.call(this))},highlightAndScrollToOption:function(e,n){var t,o=this;null==n&&(n=function(){}),t=this.props.uid(this.props.options[e]),this.props.onHighlightedUidChange(t,function(){var e,i,r,s,u;return null!=(e=g(null!=(i=o.refs)?i["option-"+o.uidToString(t)]:void 0))&&(r=e),r&&(s=g(o.refs.dropdownMenu),u=r.offsetHeight-1,r.offsetTop-s.scrollTop>=s.offsetHeight?s.scrollTop=r.offsetTop-s.offsetHeight+u:r.offsetTop-s.scrollTop+u<=0&&(s.scrollTop=r.offsetTop)),n()})},highlightAndScrollToSelectableOption:function(e,n,t){var o,i,r;null==t&&(t=function(){}),0>e||e>=this.props.options.length?this.props.onHighlightedUidChange(void 0,function(){return t(!1)}):(o=null!=(i=this.props)&&null!=(r=i.options)?r[e]:void 0,"boolean"!=typeof(null!=o?o.selectable:void 0)||o.selectable?this.highlightAndScrollToOption(e,function(){return t(!0)}):this.highlightAndScrollToSelectableOption(e+n,n,t))},uidToString:function(e){return("object"==typeof e?JSON.stringify:s)(e)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./DivWrapper":2,"./OptionWrapper":6,"./ReactTether":8,"./utils":15,"prelude-ls":void 0}],4:[function(e,n,t){(function(t){(function(){var o,i,r,s,u,l;o="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=o.createClass,r=o.DOM,s=r.div,u=r.span,l=e("prelude-ls").map,n.exports=i({getDefaultProps:function(){return{partitions:[],text:"",style:{},highlightStyle:{}}},render:function(){var e=this;return s({className:"highlighted-text",style:this.props.style},l(function(n){var t,o,i;return t=n[0],o=n[1],i=n[2],u({key:e.props.text+""+t+o+i,className:i?"highlight":"",style:i?e.props.highlightStyle:{}},e.props.text.substring(t,o))})(this.props.partitions))}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"prelude-ls":void 0}],5:[function(e,n,t){(function(t){(function(){function o(e,n){for(var t=-1,o=n.length>>>0;++t<o;)if(e===n[t])return!0;return!1}function i(e,n){var t,o=function(i){return e.length>1?function(){var r=i?i.concat():[];return t=n?t||this:this,r.push.apply(r,arguments)<e.length&&arguments.length?o.call(t,r):e.apply(t,r)}:e};return o()}function r(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var s,u,l,p,a,c,h,d,f,g,v,w,y,m,O,b,S,C,T,x,R,P={}.toString;s=e("prelude-ls"),u=s.all,l=s.any,p=s.camelize,a=s.difference,c=s.drop,h=s.filter,d=s.find,f=s.findIndex,g=s.id,v=s.last,w=s.map,y=s.reject,m=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null).isEqualToObject,O="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,b=O.createFactory,s=O.DOM,S=s.div,C=s.img,T=s.span,x=b(e("./ReactSelectize")),R=e("./utils").cancelEvent,n.exports=O.createClass({displayName:"MultiSelect",getDefaultProps:function(){return{className:"",closeOnSelect:!1,defaultValues:[],delimiters:[],filterOptions:i(function(e,n,t){return h(function(e){return e.label.toLowerCase().trim().indexOf(t.toLowerCase().trim())>-1})(y(function(e){return o(e.label.trim(),w(function(e){return e.label.trim()},null!=n?n:[]))})(e))}),firstOptionIndexToHighlight:g,onBlur:function(e){},onFocus:function(e){},onPaste:function(e){},serialize:w(function(e){return null!=e?e.value:void 0}),tether:!1}},render:function(){var e,n,t,o,i,s,u,l,p,a,c,h,d,f,g,w,y,m,O,b,S,C,T,P,D,M,N,E,U,F,L,A,H,I,k,B,z,V,j=this;return e=this.getComputedState(),n=e.anchor,t=e.filteredOptions,o=e.highlightedUid,i=e.onAnchorChange,s=e.onOpenChange,u=e.onHighlightedUidChange,l=e.onSearchChange,p=e.onValuesChange,a=e.search,c=e.open,h=e.options,d=e.values,null!=(e=this.props)&&(f=e.autofocus,g=e.autosize,w=e.cancelKeyboardEventOnSelection,y=e.delimiters,m=e.disabled,O=e.dropdownDirection,b=e.groupId,S=e.groups,C=e.groupsAsColumns,T=e.hideResetButton,P=e.inputProps,D=e.name,M=e.onKeyboardSelectionFailed,N=e.renderToggleButton,E=e.renderGroupTitle,U=e.renderResetButton,F=e.serialize,L=e.tether,A=e.tetherProps,H=e.theme,I=e.transitionEnter,k=e.transitionLeave,B=e.transitionEnterTimeout,z=e.transitionLeaveTimeout,V=e.uid),x(r(r({autofocus:f,autosize:g,cancelKeyboardEventOnSelection:w,className:"multi-select "+this.props.className,delimiters:y,disabled:m,dropdownDirection:O,groupId:b,groups:S,groupsAsColumns:C,hideResetButton:T,highlightedUid:o,onHighlightedUidChange:u,inputProps:P,name:D,onKeyboardSelectionFailed:M,renderGroupTitle:E,renderResetButton:U,renderToggleButton:N,scrollLock:this.state.scrollLock,onScrollLockChange:function(e){return j.setState({scrollLock:e})},tether:L,tetherProps:A,theme:H,transitionEnter:I,transitionEnterTimeout:B,transitionLeave:k,transitionLeaveTimeout:z,uid:V,ref:"select",anchor:n,onAnchorChange:i,open:c,onOpenChange:s,options:h,renderOption:this.props.renderOption,firstOptionIndexToHighlight:function(){return j.firstOptionIndexToHighlight(h)},search:a,onSearchChange:function(e,n){return l(j.props.maxValues&&d.length>=j.props.maxValues?"":e,n)},values:d,onValuesChange:function(e,n){return p(e,function(){return n(),j.props.closeOnSelect||j.props.maxValues&&j.values().length>=j.props.maxValues?s(!1,function(){}):void 0})},renderValue:this.props.renderValue,serialize:F,onBlur:function(e){l("",function(){return j.props.onBlur({open:c,values:d,originalEvent:e})})},onFocus:function(e){j.props.onFocus({open:c,values:d,originalEvent:e})},onPaste:function(){var e;switch(!1){case"undefined"!=typeof(null!=(e=this.props)?e.valuesFromPaste:void 0):return this.props.onPaste;default:return function(e){var n;return n=e.clipboardData,function(){var e;return e=d.concat(j.props.valuesFromPaste(h,d,n.getData("text"))),p(e,function(){return i(v(e))})}(),R(e)}}}.call(this),placeholder:this.props.placeholder,style:this.props.style},function(){switch(!1){case"function"!=typeof this.props.restoreOnBackspace:return{restoreOnBackspace:this.props.restoreOnBackspace};default:return{}}}.call(this)),function(){switch(!1){case"function"!=typeof this.props.renderNoResultsFound:return{renderNoResultsFound:function(){return j.props.renderNoResultsFound(d,a)}};default:return{}}}.call(this)))},getComputedState:function(){var e,n,t,o,i,s,u,l,a,c,h,d,f,g,v,y,m=this;return e=this.props.hasOwnProperty("anchor")?this.props.anchor:this.state.anchor,n=this.props.hasOwnProperty("highlightedUid")?this.props.highlightedUid:this.state.highlightedUid,t=this.isOpen(),o=this.props.hasOwnProperty("search")?this.props.search:this.state.search,i=this.values(),s=w(function(e){switch(!1){case!(m.props.hasOwnProperty(e)&&m.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){return m.props[p("on-"+e+"-change")](n,function(){}),m.setState({},t)};case!(m.props.hasOwnProperty(e)&&!m.props.hasOwnProperty(p("on-"+e+"-change"))):return function(e,n){return n()};case!(!m.props.hasOwnProperty(e)&&m.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){var o;return m.setState((o={},o[e+""]=n,o),function(){return t(),m.props[p("on-"+e+"-change")](n,function(){})})};case!(!m.props.hasOwnProperty(e)&&!m.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){var o;return m.setState((o={},o[e+""]=n,o),t)}}})(["anchor","highlightedUid","open","search","values"]),u=s[0],l=s[1],a=s[2],c=s[3],h=s[4],d=function(){var e;switch(!1){case!(null!=(e=this.props)&&e.children):return w(function(e){var n,t,o;return null!=e&&(n=e.props),null!=n&&(t=n.value,o=n.children),{label:o,value:t}})("Array"===P.call(this.props.children).slice(8,-1)?this.props.children:[this.props.children]);default:return[]}}.call(this),f=this.props.hasOwnProperty("options")?null!=(s=this.props.options)?s:[]:d,g=this.props.filterOptions(f,i,o),v=function(){switch(!1){case"function"!=typeof this.props.createFromSearch:return this.props.createFromSearch(g,i,o);default:return null}}.call(this),y=(v?[(s=r({},v),s.newOption=!0,s)]:[]).concat(g),{anchor:e,highlightedUid:n,search:o,values:i,onAnchorChange:u,onHighlightedUidChange:l,open:t,onOpenChange:function(e,n){a(function(){switch(!1){case!("undefined"!=typeof this.props.maxValues&&this.values().length>=this.props.maxValues):return!1;default:return e}}.call(m),n)},onSearchChange:c,onValuesChange:h,filteredOptions:g,options:y}},getInitialState:function(){return{anchor:this.props.values?v(this.props.values):void 0,highlightedUid:void 0,open:!1,scrollLock:!1,search:"",values:this.props.defaultValues}},firstOptionIndexToHighlight:function(e){var n,t;return n=function(){var n;switch(!1){case 1!==e.length:return 0;case"undefined"!=typeof(null!=(n=e[0])?n.newOption:void 0):return 0;default:return u(function(e){return"boolean"==typeof e.selectable&&!e.selectable})(c(1)(e))?0:1}}(),t=this.props.hasOwnProperty("search")?this.props.search:this.state.search,this.props.firstOptionIndexToHighlight(n,e,this.values(),t)},focus:function(){this.refs.select.focus()},blur:function(){this.refs.select.blur()},highlightFirstSelectableOption:function(){this.state.open&&this.refs.select.highlightAndScrollToSelectableOption(this.firstOptionIndexToHighlight(this.getComputedState().options),1)},values:function(){return this.props.hasOwnProperty("values")?this.props.values:this.state.values},isOpen:function(){return this.props.hasOwnProperty("open")?this.props.open:this.state.open}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ReactSelectize":7,"./utils":15,"prelude-ls":void 0}],6:[function(e,n,t){(function(t){(function(){var o,i,r,s,u;o="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=o.createClass,r=o.DOM.div,s=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null).isEqualToObject,u=e("./utils").cancelEvent,n.exports=i({getDefaultProps:function(){return{}},render:function(){var e=this;return r({className:"option-wrapper "+(this.props.highlight?"highlight":""),onMouseDown:function(n){var t;return t=function(n){return e.props.onClick(n),window.removeEventListener("mouseup",t)},window.addEventListener("mouseup",t),u(n)},onMouseMove:this.props.onMouseMove,onMouseOut:this.props.onMouseOut,onMouseOver:this.props.onMouseOver},this.props.renderItem(this.props.item))},shouldComponentUpdate:function(e){var n,t,o;return!s(null!=e?e.uid:void 0,null!=(n=this.props)?n.uid:void 0)||(null!=e?e.highlight:void 0)!==(null!=(t=this.props)?t.highlight:void 0)||(null!=e?e.selectable:void 0)!==(null!=(o=this.props)?o.selectable:void 0)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./utils":15}],7:[function(e,n,t){(function(t){(function(){function o(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}function i(e,n){for(var t=-1,o=n.length>>>0;++t<o;)if(e===n[t])return!0;return!1}var r,s,u,l,p,a,c,h,d,f,g,v,w,y,m,O,b,S,C,T,x,R,P,D,M,N,E,U,F,L,A,H,I,k,B,z,V;r=e("prelude-ls"),s=r.each,u=r.filter,l=r.find,p=r.findIndex,a=r.id,c=r.initial,h=r.last,d=r.map,f=r.objToPairs,g=r.partition,v=r.reject,w=r.reverse,y=r.Str,m=r.sortBy,O=r.sum,b=r.values,r="undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null,S=r.clamp,C=r.isEqualToObject,T="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,r=T.DOM,x=r.div,R=r.input,P=r.path,D=r.span,M=r.svg,N=T.createClass,E=T.createFactory,U=("undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof t?t.ReactDOM:null).findDOMNode,F=E("undefined"!=typeof window?window.React.addons.CSSTransitionGroup:"undefined"!=typeof t?t.React.addons.CSSTransitionGroup:null),L=E(e("./ToggleButton")),A=E(e("./DropdownMenu")),H=E(e("./OptionWrapper")),I=E(e("./ValueWrapper")),k=E(e("./ResetButton")),B=E(e("./ResizableInput")),r=e("./utils"),z=r.cancelEvent,V=r.classNameFromObject,n.exports=N({displayName:"ReactSelectize",focusLock:!1,getDefaultProps:function(){return{anchor:null,autofocus:!1,cancelKeyboardEventOnSelection:!0,delimiters:[],disabled:!1,dropdownDirection:1,firstOptionIndexToHighlight:function(e){return 0},groupId:function(e){return e.groupId},groupsAsColumns:!1,highlightedUid:void 0,inputProps:{},onAnchorChange:function(e){},onBlur:function(e){},onEnter:function(e){},onFocus:function(e){},onHighlightedUidChange:function(e,n){},onKeyboardSelectionFailed:function(e){},onOpenChange:function(e,n){},onPaste:function(e){},onScrollLockChange:function(e){},onSearchChange:function(e,n){},onValuesChange:function(e,n){},open:!1,hideResetButton:!1,renderValue:function(e){var n;return n=e.label,x({className:"simple-value"},D(null,n))},renderToggleButton:L,renderResetButton:k,scrollLock:!1,search:"",style:{},theme:"default",uid:a,values:[]}},render:function(){var e,n,t,i,r,s=this;return e=function(){var e;switch(!1){case!("undefined"==typeof this.props.anchor||null===this.props.anchor):return-1;default:return null!=(e=p(function(e){return s.isEqualToObject(e,s.props.anchor)},this.props.values))?e:this.props.values.length-1}}.call(this),n=function(e){return d(function(e){var n,t;return n=s.props.values[e],t=s.props.uid(n),I({key:s.uidToString(t),uid:t,item:n,renderItem:s.props.renderValue})})(e)},t=-1===this.props.dropdownDirection,x({className:V((i={"react-selectize":1},i[this.props.theme+""]=1,i["root-node"]=1,i[this.props.className+""]=1,i.disabled=this.props.disabled,i.open=this.props.open,i.flipped=t,i.tethered=this.props.tether,i)),style:this.props.style},this.props.name?R({type:"hidden",name:this.props.name,value:this.props.serialize(this.props.values)}):void 0,x({className:"react-selectize-control",ref:"control",onMouseDown:function(e){return function(){return s.props.onAnchorChange(h(s.props.values),function(){return s.onOpenChange(!0,function(){return s.highlightAndFocus()})})}(),s.props.open?void 0:z(e)}},0===this.props.search.length&&0===this.props.values.length?x({className:"react-selectize-placeholder"},this.props.placeholder):void 0,x({className:"react-selectize-search-field-and-selected-values"},n(function(){var n,t,o=[];for(n=0,t=e;t>=n;++n)o.push(n);return o}()),B((i=o({disabled:this.props.disabled},this.props.inputProps),i.ref="search",i.type="text",i.value=this.props.search,i.onChange=function(e){var n;return n=e.currentTarget.value,s.props.onSearchChange(n,function(){return s.highlightAndScrollToSelectableOption(s.props.firstOptionIndexToHighlight(s.props.options),1)})},i.onFocus=function(e){!function(){return function(e){return s.focusLock?e(s.focusLock=!1):s.onOpenChange(!0,function(){return e(!0)})}}()(function(){return s.props.onFocus(e)})},i.onBlur=function(e){return s.refs.dropdownMenu&&document.activeElement===U(s.refs.dropdownMenu)?void 0:s.closeDropdown(function(){return s.props.onBlur(e)})},i.onPaste=this.props.onPaste,i.onKeyDown=function(n){return s.handleKeydown({anchorIndex:e},n)},i)),n(function(){var n,t,o=[];for(n=e+1,t=this.props.values.length;t>n;++n)o.push(n);return o}.call(this))),this.props.values.length>0&&!this.props.hideResetButton?x({className:"react-selectize-reset-button-container",onClick:function(e){return function(){return s.props.onValuesChange([],function(){return s.props.onSearchChange("",function(){return s.highlightAndFocus()})})}(),z(e)}},this.props.renderResetButton()):void 0,x({className:"react-selectize-toggle-button-container",onMouseDown:function(e){return s.props.open?s.onOpenChange(!1,function(){}):s.props.onAnchorChange(h(s.props.values),function(){return s.onOpenChange(!0,function(){})}),z(e)}},this.props.renderToggleButton({open:this.props.open,flipped:t}))),A((i=o({},this.props),i.ref="dropdownMenu",i.className=V((r={"react-selectize":1},r[this.props.className+""]=1,r)),i.theme=this.props.theme,i.scrollLock=this.props.scrollLock,i.onScrollChange=this.props.onScrollChange,i.bottomAnchor=function(){return U(s.refs.control)},i.tetherProps=(r=o({},this.props.tetherProps),r.target=function(){return U(s.refs.control)},r),i.highlightedUid=this.props.highlightedUid,i.onHighlightedUidChange=this.props.onHighlightedUidChange,i.onOptionClick=function(n){s.selectHighlightedUid(e,function(){})},i)))},handleKeydown:function(e,n){var t,o,r,s=this;switch(t=e.anchorIndex,n.persist(),n.which){case 8:if(this.props.search.length>0||-1===t)return;!function(){var e,n,o,i;return e=t,n=0>t-1?void 0:s.props.values[t-1],o=s.props.values[t],s.props.onValuesChange(null!=(i=v(function(e){return s.isEqualToObject(e,o)})(s.props.values))?i:[],function(){return function(){return function(e){return"undefined"==typeof l(function(e){return s.isEqualToObject(e,o)},s.props.values)?s.props.restoreOnBackspace?s.props.onSearchChange(s.props.restoreOnBackspace(o),function(){return e(!0)}):e(!0):e(!1)}}()(function(o){return o&&(s.highlightAndScrollToSelectableOption(s.props.firstOptionIndexToHighlight(s.props.options),1),t===e&&("undefined"==typeof n||l(function(e){return s.isEqualToObject(e,n)})(s.props.values)))?s.props.onAnchorChange(n,function(){}):void 0})})}(),z(n);break;case 27:!function(){return s.props.open?function(e){return s.onOpenChange(!1,e)}:function(e){return s.props.onValuesChange([],e)}}()(function(){return s.props.onSearchChange("",function(){return s.focusOnInput()})})}if(this.props.open&&i(n.which,[13].concat(this.props.delimiters))&&!(null!=n&&n.metaKey||null!=n&&n.ctrlKey||null!=n&&n.shiftKey)&&(o=this.selectHighlightedUid(t,function(e){return"undefined"==typeof e?s.props.onKeyboardSelectionFailed(n.which):void 0}),o&&this.props.cancelKeyboardEventOnSelection))return z(n);if(0===this.props.search.length)switch(n.which){case 37:this.props.onAnchorChange(0>t-1||n.metaKey?void 0:this.props.values[S(t-1,0,this.props.values.length-1)],function(){});break;case 39:this.props.onAnchorChange(n.metaKey?h(this.props.values):this.props.values[S(t+1,0,this.props.values.length-1)],function(){})}switch(n.which){case 38:return this.props.onScrollLockChange(!0),r=function(){switch(!1){case"undefined"!=typeof this.props.highlightedUid:return 0;default:return-1+this.optionIndexFromUid(this.props.highlightedUid)}}.call(this),this.highlightAndScrollToSelectableOption(r,-1,function(e){return e?void 0:s.highlightAndScrollToSelectableOption(s.props.options.length-1,-1)});case 40:return this.props.onScrollLockChange(!0),r=function(){switch(!1){case"undefined"!=typeof this.props.highlightedUid:return 0;default:return 1+this.optionIndexFromUid(this.props.highlightedUid)}}.call(this),this.highlightAndScrollToSelectableOption(r,1,function(e){return e?void 0:s.highlightAndScrollToSelectableOption(0,1)})}},componentDidMount:function(){this.props.autofocus&&this.focus(),this.props.open&&this.highlightAndFocus()},componentDidUpdate:function(e){this.props.open&&!e.open&&void 0===this.props.highlightedUid&&this.highlightAndFocus(),!this.props.open&&e.open&&this.props.onHighlightedUidChange(void 0,function(){})},componentWillReceiveProps:function(e){"undefined"!=typeof this.props.disabled&&this.props.disabled!==!1||"undefined"==typeof e.disabled||e.disabled!==!0||this.onOpenChange(!1,function(){})},optionIndexFromUid:function(e){var n=this;return p(function(t){return C(e,n.props.uid(t))})(this.props.options)},closeDropdown:function(e){var n=this;this.onOpenChange(!1,function(){return n.props.onAnchorChange(h(n.props.values),e)})},blur:function(){this.refs.search.blur()},focus:function(){this.refs.search.focus()},focusOnInput:function(){var e;e=U(this.refs.search),e!==document.activeElement&&(this.focusLock=!0,e.focus(),e.value=e.value)},highlightAndFocus:function(){this.highlightAndScrollToSelectableOption(this.props.firstOptionIndexToHighlight(this.props.options),1),this.focusOnInput()},highlightAndScrollToOption:function(e,n){null==n&&(n=function(){}),this.refs.dropdownMenu.highlightAndScrollToOption(e,n)},highlightAndScrollToSelectableOption:function(e,n,t){var o=this;null==t&&(t=function(){}),function(){return o.props.open?function(e){return e()}:function(e){return o.onOpenChange(!0,e)}}()(function(){return o.refs.dropdownMenu.highlightAndScrollToSelectableOption(e,n,t)})},isEqualToObject:function(){return C(this.props.uid(arguments[0]),this.props.uid(arguments[1]))},onOpenChange:function(e,n){return this.props.onOpenChange(this.props.disabled?!1:e,n)},selectHighlightedUid:function(e,n){var t,o,i=this;return void 0===this.props.highlightedUid?(n(),!1):(t=this.optionIndexFromUid(this.props.highlightedUid),"number"!=typeof t?(n(),!1):(o=this.props.options[t],function(){return i.props.onValuesChange(d(function(e){return i.props.values[e]},function(){var n,t,o=[];for(n=0,t=e;t>=n;++n)o.push(n);return o}()).concat([o],d(function(e){return i.props.values[e]},function(){var n,t,o=[];for(n=e+1,t=this.props.values.length;t>n;++n)o.push(n);return o}.call(i))),function(){var e;return e=l(function(e){return i.isEqualToObject(e,o)},i.props.values),e?i.props.onSearchChange("",function(){return i.props.onAnchorChange(e,function(){return i.props.open?i.highlightAndScrollToSelectableOption(t,1,function(t){return t?void n(e):i.highlightAndScrollToSelectableOption(i.props.firstOptionIndexToHighlight(i.props.options),1,function(t){return t?n(e):i.onOpenChange(!1,function(){return n(e)})})}):void n(e)})}):void n()})}(),!0))},uidToString:function(e){return("object"==typeof e?JSON.stringify:a)(e)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./DropdownMenu":3,"./OptionWrapper":6,"./ResetButton":9,"./ResizableInput":10,"./ToggleButton":13,"./ValueWrapper":14,"./utils":15,"prelude-ls":void 0}],8:[function(e,n,t){(function(e){(function(){function t(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var o,i,r,s,u,l;o=("undefined"!=typeof window?window.React:"undefined"!=typeof e?e.React:null).createClass,i="undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof e?e.ReactDOM:null,r=i.render,s=i.unmountComponentAtNode,u="undefined"!=typeof window?window.React.addons.shallowCompare:"undefined"!=typeof e?e.React.addons.shallowCompare:null,l="undefined"!=typeof window?window.Tether:"undefined"!=typeof e?e.Tether:null,n.exports=o({getDefaultProps:function(){return{parentElement:function(){return document.body}}},render:function(){return null},initTether:function(e){var n=this;this.node=document.createElement("div"),this.props.parentElement().appendChild(this.node),this.tether=new l(t({element:this.node,target:e.target()},e.options)),r(e.children,this.node,function(){return n.tether.position()})},destroyTether:function(){this.tether&&this.tether.destroy(),this.node&&(s(this.node),this.node.parentElement.removeChild(this.node)),this.node=this.tether=void 0},componentDidMount:function(){this.props.children&&this.initTether(this.props)},componentWillReceiveProps:function(e){var n=this;this.props.children&&!e.children?this.destroyTether():e.children&&!this.props.children?this.initTether(e):e.children&&(this.tether.setOptions(t({element:this.node,target:e.target()},e.options)),r(e.children,this.node,function(){return n.tether.position()}))},shouldComponentUpdate:function(e,n){return u(this,e,n)},componentWillUnmount:function(){this.destroyTether()}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],9:[function(e,n,t){(function(t){(function(){var o,i,r,s,u;o="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=o.createClass,r=o.createFactory,s=o.DOM.path,u=r(e("./SvgWrapper")),n.exports=i({render:function(){return u({className:"react-selectize-reset-button",style:{width:8,height:8}},s({d:"M0 0 L8 8 M8 0 L 0 8"}))}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./SvgWrapper":12}],10:[function(e,n,t){(function(t){(function(){function o(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var i,r,s,u,l,p,a,c;i=e("prelude-ls"),r=i.each,s=i.objToPairs,u="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,l=u.DOM.input,p=u.createClass,a=u.createFactory,c=("undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof t?t.ReactDOM:null).findDOMNode,n.exports=p({displayName:"ResizableInput",render:function(){var e;return l((e=o({},this.props),e.type="input",e.className="resizable-input",e))},autosize:function(){var e,n,t,o,i;return e=n=c(this),e.style.width="0px",0===n.value.length?n.style.width=null!=n&&n.currentStyle?"4px":"2px":n.scrollWidth>0?n.style.width=2+n.scrollWidth+"px":(t=o=document.createElement("div"),t.innerHTML=n.value,function(){var e;return e=o.style,e.display="inline-block",e.width="",e}(r(function(e){var n,t;return n=e[0],t=e[1],o.style[n]=t})(s(n.currentStyle?n.currentStyle:null!=(i=document.defaultView)?i:window.getComputedStyle(n)))),document.body.appendChild(o),n.style.width=4+o.clientWidth+"px",document.body.removeChild(o))},componentDidMount:function(){this.autosize()},componentDidUpdate:function(){this.autosize()},blur:function(){return c(this).blur()},focus:function(){return c(this).focus()}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"prelude-ls":void 0}],11:[function(e,n,t){(function(t){(function(){function o(e,n){var t,o=function(i){return e.length>1?function(){var r=i?i.concat():[];return t=n?t||this:this,r.push.apply(r,arguments)<e.length&&arguments.length?o.call(t,r):e.apply(t,r);
}:e};return o()}function i(e,n){var t={}.hasOwnProperty;for(var o in n)t.call(n,o)&&(e[o]=n[o]);return e}var r,s,u,l,p,a,c,h,d,f,g,v,w,y,m,O,b,S,C,T,x,R={}.toString;r=e("prelude-ls"),s=r.all,u=r.any,l=r.drop,p=r.camelize,a=r.difference,c=r.filter,h=r.find,d=r.findIndex,f=r.id,g=r.last,v=r.map,w=r.reject,y=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof t?t.preludeExtension:null).isEqualToObject,m="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,O=m.createFactory,r=m.DOM,b=r.div,S=r.img,C=r.span,T=O(e("./ReactSelectize")),x=e("./utils").cancelEvent,n.exports=m.createClass({displayName:"SimpleSelect",getDefaultProps:function(){return{delimiters:[],filterOptions:o(function(e,n){return c(function(e){return e.label.toLowerCase().trim().indexOf(n.toLowerCase().trim())>-1})(e)}),firstOptionIndexToHighlight:f,onBlur:function(e){},onFocus:function(e){},onKeyboardSelectionFailed:function(e){},onPaste:function(e){},placeholder:"",renderValue:function(e){var n;return n=e.label,b({className:"simple-value"},C(null,n))},serialize:function(e){return null!=e?e.value:void 0},style:{},tether:!1,uid:f}},render:function(){var e,n,t,o,r,s,u,l,p,a,c,h,d,f,v,w,m,O,b,S,C,R,P,D,M,N,E,U,F,L,A,H,I,k,B,z,V=this;return e=this.getComputedState(),n=e.filteredOptions,t=e.highlightedUid,o=e.onHighlightedUidChange,r=e.onOpenChange,s=e.onSearchChange,u=e.onValueChange,l=e.open,p=e.options,a=e.search,c=e.value,h=e.values,null!=(e=this.props)&&(d=e.autofocus,f=e.autosize,v=e.cancelKeyboardEventOnSelection,w=e.delimiters,m=e.disabled,O=e.dropdownDirection,b=e.groupId,S=e.groups,C=e.groupsAsColumns,R=e.hideResetButton,P=e.name,D=e.inputProps,M=e.renderToggleButton,N=e.renderGroupTitle,E=e.renderResetButton,U=e.serialize,F=e.tether,L=e.tetherProps,A=e.theme,H=e.transitionEnter,I=e.transitionLeave,k=e.transitionEnterTimeout,B=e.transitionLeaveTimeout,z=e.uid),T(i(i({autofocus:d,autosize:f,cancelKeyboardEventOnSelection:v,className:"simple-select"+(this.props.className?" "+this.props.className:""),delimiters:w,disabled:m,dropdownDirection:O,groupId:b,groups:S,groupsAsColumns:C,hideResetButton:R,highlightedUid:t,onHighlightedUidChange:o,inputProps:D,name:P,renderGroupTitle:N,renderResetButton:E,renderToggleButton:M,scrollLock:this.state.scrollLock,onScrollLockChange:function(e){return V.setState({scrollLock:e})},tether:F,tetherProps:L,theme:A,transitionEnter:H,transitionEnterTimeout:k,transitionLeave:I,transitionLeaveTimeout:B,ref:"select",anchor:g(h),onAnchorChange:function(e,n){return n()},open:l,onOpenChange:r,firstOptionIndexToHighlight:function(){return V.firstOptionIndexToHighlight(p,c)},options:p,renderOption:this.props.renderOption,renderNoResultsFound:this.props.renderNoResultsFound,search:a,onSearchChange:function(e,n){return s(e,n)},values:h,onValuesChange:function(e,n){var t,o;return 0===e.length?u(void 0,function(){return n()}):(t=g(e),o=!y(t,c),function(){return function(e){return o?u(t,e):e()}}()(function(){return n(),r(!1,function(){})}))},renderValue:function(e){return l&&(V.props.editable||a.length>0)?null:V.props.renderValue(e)},onKeyboardSelectionFailed:function(e){return s("",function(){return r(!1,function(){return V.props.onKeyboardSelectionFailed(e)})})},uid:function(e){return{uid:V.props.uid(e),open:l,search:a}},serialize:function(e){return U(e[0])},onBlur:function(e){!function(){return function(e){return a.length>0?s("",e):e()}}()(function(){return V.props.onBlur({value:c,open:l,originalEvent:e})})},onFocus:function(e){V.props.onFocus({value:c,open:l,originalEvent:e})},onPaste:function(){var e;switch(!1){case"undefined"!=typeof(null!=(e=this.props)?e.valueFromPaste:void 0):return this.props.onPaste;default:return function(e){var n,t;return n=e.clipboardData,t=V.props.valueFromPaste(p,c,n.getData("text")),t?(function(){return u(t,function(){return s("",function(){return r(!1)})})}(),x(e)):void 0}}}.call(this),placeholder:this.props.placeholder,style:this.props.style},function(){switch(!1){case"function"!=typeof this.props.restoreOnBackspace:return{restoreOnBackspace:this.props.restoreOnBackspace};default:return{}}}.call(this)),function(){switch(!1){case"function"!=typeof this.props.renderNoResultsFound:return{renderNoResultsFound:function(){return V.props.renderNoResultsFound(c,a)}};default:return{}}}.call(this)))},getComputedState:function(){var e,n,t,o,r,s,u,l,a,c,h,d,f,g,w,y=this;return e=this.props.hasOwnProperty("highlightedUid")?this.props.highlightedUid:this.state.highlightedUid,n=this.isOpen(),t=this.props.hasOwnProperty("search")?this.props.search:this.state.search,o=this.value(),r=o||0===o?[o]:[],s=v(function(e){var n;return n=function(){switch(!1){case!(this.props.hasOwnProperty(e)&&this.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){return y.props[p("on-"+e+"-change")](n,function(){}),y.setState({},t)};case!(this.props.hasOwnProperty(e)&&!this.props.hasOwnProperty(p("on-"+e+"-change"))):return function(e,n){return n()};case!(!this.props.hasOwnProperty(e)&&this.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){var o;return y.setState((o={},o[e+""]=n,o),function(){return t(),y.props[p("on-"+e+"-change")](n,function(){})})};case!(!this.props.hasOwnProperty(e)&&!this.props.hasOwnProperty(p("on-"+e+"-change"))):return function(n,t){var o;return y.setState((o={},o[e+""]=n,o),t)}}}.call(y)})(["highlightedUid","open","search","value"]),u=s[0],l=s[1],a=s[2],c=s[3],h=function(){var e;switch(!1){case!(null!=(e=this.props)&&e.children):return v(function(e){var n,t,o;return null!=(n=null!=e?e.props:void 0)&&(t=n.value,o=n.children),{label:o,value:t}})("Array"===R.call(this.props.children).slice(8,-1)?this.props.children:[this.props.children]);default:return[]}}.call(this),d=this.props.hasOwnProperty("options")?null!=(s=this.props.options)?s:[]:h,f=this.props.filterOptions(d,t),g=function(){switch(!1){case"function"!=typeof this.props.createFromSearch:return this.props.createFromSearch(f,t);default:return null}}.call(this),w=(g?[(s=i({},g),s.newOption=!0,s)]:[]).concat(f),{highlightedUid:e,open:n,search:t,value:o,values:r,onHighlightedUidChange:u,onOpenChange:function(e,n){l(e,function(){return n(),y.props.editable&&y.isOpen()&&o?a(y.props.editable(o)+""+(1===t.length?t:""),function(){return y.highlightFirstSelectableOption(function(){})}):void 0})},onSearchChange:a,onValueChange:c,filteredOptions:f,options:w}},getInitialState:function(){var e;return{highlightedUid:void 0,open:!1,scrollLock:!1,search:"",value:null!=(e=this.props)?e.defaultValue:void 0}},firstOptionIndexToHighlight:function(e,n){var t,o,i;return t=n?d(function(e){return y(e,n)},e):void 0,o=function(){var n;switch(!1){case"undefined"==typeof t:return t;case 1!==e.length:return 0;case"undefined"!=typeof(null!=(n=e[0])?n.newOption:void 0):return 0;default:return s(function(e){return"boolean"==typeof e.selectable&&!e.selectable})(l(1)(e))?0:1}}(),i=this.props.hasOwnProperty("search")?this.props.search:this.state.search,this.props.firstOptionIndexToHighlight(o,e,n,i)},focus:function(){this.refs.select.focus()},blur:function(){this.refs.select.blur()},highlightFirstSelectableOption:function(e){var n,t,o;null==e&&(e=function(){}),this.state.open?(n=this.getComputedState(),t=n.options,o=n.value,this.refs.select.highlightAndScrollToSelectableOption(this.firstOptionIndexToHighlight(t,o),1,e)):e()},value:function(){return this.props.hasOwnProperty("value")?this.props.value:this.state.value},isOpen:function(){return this.props.hasOwnProperty("open")?this.props.open:this.state.open}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ReactSelectize":7,"./utils":15,"prelude-ls":void 0}],12:[function(e,n,t){(function(e){(function(){var t,o,i,r;t="undefined"!=typeof window?window.React:"undefined"!=typeof e?e.React:null,o=t.createClass,i=t.DOM.svg,r=("undefined"!=typeof window?window.ReactDOM:"undefined"!=typeof e?e.ReactDOM:null).findDOMNode,n.exports=o({render:function(){return i(this.props)},componentDidMount:function(){r(this).setAttribute("focusable",!1)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],13:[function(e,n,t){(function(t){(function(){var o,i,r,s,u;o="undefined"!=typeof window?window.React:"undefined"!=typeof t?t.React:null,i=o.createClass,r=o.createFactory,s=o.DOM.path,u=r(e("./SvgWrapper")),n.exports=i({getDefaultProps:function(){return{open:!1,flipped:!1}},render:function(){return u({className:"react-selectize-toggle-button",style:{width:10,height:8}},s({d:function(){switch(!1){case!(this.props.open&&!this.props.flipped||!this.props.open&&this.props.flipped):return"M0 6 L5 1 L10 6 Z";default:return"M0 1 L5 6 L10 1 Z"}}.call(this)}))}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./SvgWrapper":12}],14:[function(e,n,t){(function(e){(function(){var t,o,i,r;t="undefined"!=typeof window?window.React:"undefined"!=typeof e?e.React:null,o=t.createClass,i=t.DOM.div,r=("undefined"!=typeof window?window.preludeExtension:"undefined"!=typeof e?e.preludeExtension:null).isEqualToObject,n.exports=o({getDefaultProps:function(){return{}},render:function(){return i({className:"value-wrapper"},this.props.renderItem(this.props.item))},shouldComponentUpdate:function(e){var n;return!r(null!=e?e.uid:void 0,null!=(n=this.props)?n.uid:void 0)}})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],15:[function(e,n,t){(function(){var n,o,i,r,s,u,l,p="undefined"!=typeof t&&t||this;n=e("prelude-ls"),o=n.filter,i=n.map,r=n.objToPairs,s=n.Str,p.cancelEvent=u=function(e){e.preventDefault(),e.stopPropagation()},p.classNameFromObject=l=function(e){return s.join(" ")(i(function(e){return e[0]})(o(function(e){return!!e[1]})(r(e))))}}).call(this)},{"prelude-ls":void 0}]},{},[1])(1)});
{
"name": "react-selectize",
"version": "2.0.2",
"version": "2.0.3",
"description": "A Stateless & Flexible Select component for React inspired by Selectize",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -16,3 +16,3 @@ [![npm version](https://badge.fury.io/js/react-selectize.svg)](https://badge.fury.io/js/react-selectize)

- [Changelog](CHANGELOG.md) (last updated on 11th April 2016)
- [Changelog](CHANGELOG.md) (last updated on 14th July 2016)
- [API Reference](API.md)

@@ -55,3 +55,3 @@

* **bower:**
`bower install https://npmcdn.com/react-selectize@2.0.2/bower.zip`
`bower install https://npmcdn.com/react-selectize@2.0.3/bower.zip`

@@ -71,6 +71,6 @@ * **1998 script tag:**

<!-- REACT SELECTIZE -->
<script src="https://npmcdn.com/react-selectize@2.0.2/dist/index.min.js" type="text/javascript" ></script>
<script src="https://npmcdn.com/react-selectize@2.0.3/dist/index.min.js" type="text/javascript" ></script>
<!-- THEMES (default, bootstrap3, material) -->
<link rel="stylesheet" href="https://npmcdn.com/react-selectize@2.0.2/dist/index.min.css"/>
<link rel="stylesheet" href="https://npmcdn.com/react-selectize@2.0.3/dist/index.min.css"/>

@@ -178,3 +178,3 @@ </head>

* react-dom
* react-addons-css-transition
* react-addons-css-transition-group
* react-addons-shallow-compare

@@ -181,0 +181,0 @@

@@ -210,2 +210,3 @@ (function(){

anchorIndex = arg$.anchorIndex;
e.persist();
switch (e.which) {

@@ -212,0 +213,0 @@ case 8:

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc