!function(n,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t=e();for(var r in t)("object"==typeof exports?exports:n)[r]=t[r]}}(window,(function(){return function(n){var e={};function t(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(r,o,function(e){return n[e]}.bind(null,o));return r},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="./",t(t.s=19)}({19:function(n,e,t){"use strict";function r(){return(r=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}).apply(this,arguments)}function o(){}t.r(e),t.d(e,"noop",(function(){return o})),t.d(e,"getObjectFromObjectArray",(function(){return u})),t.d(e,"getLabelByValue",(function(){return l})),t.d(e,"getOptionsFromObject",(function(){return i})),t.d(e,"getOptionsFromArray",(function(){return f})),t.d(e,"injectAllOptionToOptions",(function(){return c}));var u=function(n,e,t){return void 0===e&&(e=function(n){return n.label}),void 0===t&&(t=function(n){return n.value}),n.reduce((function(n,o,u,i){var f;return r({},n,((f={})[e(o,u,i)]=t(o,u,i),f))}),{})},i=function(n,e,t){return void 0===e&&(e=function(n){return n}),void 0===t&&(t=function(e){return n[e]}),n?Object.keys(n).map((function(n){return{label:e(n),value:t(n)}})):[]},f=function(n,e,t){return void 0===e&&(e=function(n){return n.name}),void 0===t&&(t=function(n){return n.id}),n?n.map((function(n){return{label:e(n),value:t(n)}})):[]},c=function(n,e){void 0===e&&(e="");var t=[{label:"全部",value:e}];return n&&n.length?[].concat(t,n):t},l=function(n,e,t,r){void 0===t&&(t="label"),void 0===r&&(r="value");var o=n.find((function(n){return n[r]===e}));return o?o[t]:""}}})}));
//# sourceMappingURL=util.js.map