!function(n){function o(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return n[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}var t={};o.m=n,o.c=t,o.d=function(n,t,e){o.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},o.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(t,"a",t),t},o.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)},o.p="",o(o.s=0)}([function(n,o,t){"use strict";function e(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")}var r=t(1);window.test=function(){var n=["b (30)","a","b (5)","z"],o=(0,r.fancySort)(n);console.log(o)},window.test2=function(){!function(){console.log(1)}();!function(){console.log(2)}(),function(){!function(n){n()}(function(){console.log(3)})}(),new function n(){e(this,n),console.log(4)}}},function(n,o,t){"use strict";function e(n,o){var t=/.(\d+)\W*$/.exec(n),e=/.(\d+)\W*$/.exec(o);if(null==t||null==e||t[1]==e[1])return n<o?-1:n>o?1:0;var r=+t[1],u=+e[1];return r<u?-1:r>u?1:0}function r(n,o,t){if(0==n.length)return{found:!1,index:0};for(var e=0,r=n.length-1;e<r;){var u=Math.floor((e+r)/2);t(n[u],o)<0?e=u+1:r=u}var c=t(n[e],o);return 0===c?{found:!0,index:e}:{found:!1,index:c<0?e+1:e}}function u(n){return n.reduce(function(n,o){var t=r(n,o,e),u=t.index;return n.splice(u,0,o),n},[])}Object.defineProperty(o,"__esModule",{value:!0}),o.fancySort=u}]);
//# sourceMappingURL=bundle.js.map