From ea75c0b11aefee03f8cf16914d4f8192ff5c2e22 Mon Sep 17 00:00:00 2001 From: Anthony van Beek Date: Fri, 15 Feb 2019 14:57:17 +1300 Subject: [PATCH 1/6] Fixes Proptypes error --- client/src/components/TagField.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/components/TagField.js b/client/src/components/TagField.js index ed7b9ad..edec46f 100644 --- a/client/src/components/TagField.js +++ b/client/src/components/TagField.js @@ -1,8 +1,10 @@ -import React, { Component, PropTypes } from 'react'; +import React, { Component } from 'react'; import Select from 'react-select'; import fetch from 'isomorphic-fetch'; import url from 'url'; import debounce from 'debounce-promise'; +import PropTypes from 'prop-types'; + class TagField extends Component { constructor(props) { From ce3e37d79cbda6812d3470b145dc1aaa2b7b3397 Mon Sep 17 00:00:00 2001 From: Anthony van Beek Date: Fri, 15 Feb 2019 14:57:58 +1300 Subject: [PATCH 2/6] Fixes Proptypes error --- composer.json | 2 +- package.json | 1 + yarn.lock | 15 +++++++++++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 7802dfa..4c41408 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "silverstripe/tagfield", + "name": "pixelfusion/silverstripe-tagfield", "description": "Tag field for SilverStripe", "license": "BSD-3-Clause", "type": "silverstripe-vendormodule", diff --git a/package.json b/package.json index 4f2db4b..0ecee29 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "debounce-promise": "^3.1.0", "isomorphic-fetch": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", "jquery": "^3.1.1", + "prop-types": "^15.7.2", "react": "15.3.1", "react-dom": "15.3.1", "react-select": "^1.0.0-rc.5", diff --git a/yarn.lock b/yarn.lock index 4dbc320..947dee6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2095,7 +2095,6 @@ date-now@^0.1.4: debounce-promise@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debounce-promise/-/debounce-promise-3.1.0.tgz#25035f4b45017bd51a7bef8b3bd9f6401dc47423" - integrity sha1-JQNfS0UBe9Uae++LO9n2QB3EdCM= debug@3.1.0, debug@^3.1.0: version "3.1.0" @@ -4865,7 +4864,7 @@ longest@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1: +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" dependencies: @@ -6481,6 +6480,14 @@ prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.2: loose-envify "^1.3.1" object-assign "^4.1.1" +prop-types@^15.7.2: + version "15.7.2" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.8.1" + proto-list@~1.2.1: version "1.2.4" resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" @@ -6658,6 +6665,10 @@ react-is@^16.4.1: version "16.4.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.4.1.tgz#d624c4650d2c65dbd52c72622bbf389435d9776e" +react-is@^16.8.1: + version "16.8.2" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.2.tgz#09891d324cad1cb0c1f2d91f70a71a4bee34df0f" + react-select@^1.0.0-rc.5: version "1.2.1" resolved "https://registry.yarnpkg.com/react-select/-/react-select-1.2.1.tgz#a2fe58a569eb14dcaa6543816260b97e538120d1" From 4403b2911d7da8ab84077e7937efbfe269986026 Mon Sep 17 00:00:00 2001 From: Anthony van Beek Date: Fri, 15 Feb 2019 15:07:53 +1300 Subject: [PATCH 3/6] Don't change the package name --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4c41408..7802dfa 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "pixelfusion/silverstripe-tagfield", + "name": "silverstripe/tagfield", "description": "Tag field for SilverStripe", "license": "BSD-3-Clause", "type": "silverstripe-vendormodule", From 67015b8545cfb8f4e96a6dd6984ab999ee1bb174 Mon Sep 17 00:00:00 2001 From: Anthony van Beek Date: Fri, 15 Feb 2019 15:48:56 +1300 Subject: [PATCH 4/6] Renamed package --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7802dfa..4c41408 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "silverstripe/tagfield", + "name": "pixelfusion/silverstripe-tagfield", "description": "Tag field for SilverStripe", "license": "BSD-3-Clause", "type": "silverstripe-vendormodule", From 9e4801809db3c20023b8623ba4d92b24078fab8f Mon Sep 17 00:00:00 2001 From: Anthony van Beek Date: Fri, 15 Feb 2019 16:04:32 +1300 Subject: [PATCH 5/6] Renamed package --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4c41408..7802dfa 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "pixelfusion/silverstripe-tagfield", + "name": "silverstripe/tagfield", "description": "Tag field for SilverStripe", "license": "BSD-3-Clause", "type": "silverstripe-vendormodule", From e70943669332c1e44639eb8ebf9a5565900441b6 Mon Sep 17 00:00:00 2001 From: Anthony van Beek Date: Mon, 18 Feb 2019 09:23:45 +1300 Subject: [PATCH 6/6] New bundle --- client/dist/js/bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/dist/js/bundle.js b/client/dist/js/bundle.js index 9f7d79b..88119a3 100644 --- a/client/dist/js/bundle.js +++ b/client/dist/js/bundle.js @@ -1 +1 @@ -!function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s="./client/src/bundles/bundle.js")}({"./client/src/boot/index.js":function(t,e,n){"use strict";var o=n("./client/src/boot/registerComponents.js"),r=function(t){return t&&t.__esModule?t:{default:t}}(o);window.document.addEventListener("DOMContentLoaded",function(){(0,r.default)()})},"./client/src/boot/registerComponents.js":function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),s=o(r),i=n("./client/src/components/TagField.js"),a=o(i);e.default=function(){s.default.component.registerMany({TagField:a.default})}},"./client/src/bundles/bundle.js":function(t,e,n){"use strict";n("./client/src/legacy/entwine/TagField.js"),n("./client/src/boot/index.js")},"./client/src/components/TagField.js":function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var h=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=void 0,u=void 0,h=void 0,l=[];return function(){var c=o(n),p=(new Date).getTime(),f=!a||p-a>c;a=p;for(var d=arguments.length,m=Array(d),v=0;v1&&(o=n[0]+"@",t=n[1]),t=t.replace(A,"."),o+i(t.split("."),e).join(".")}function u(t){for(var e,n,o=[],r=0,s=t.length;r=55296&&e<=56319&&r65535&&(t-=65536,e+=S(t>>>10&1023|55296),t=56320|1023&t),e+=S(t)}).join("")}function l(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:g}function c(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function p(t,e,n){var o=0;for(t=n?k(t/x):t>>1,t+=k(t/e);t>R*O>>1;o+=g)t=k(t/R);return k(o+(R+1)*t/(t+w))}function f(t){var e,n,o,r,i,a,u,c,f,d,m=[],v=t.length,y=0,w=C,x=_;for(n=t.lastIndexOf(P),n<0&&(n=0),o=0;o=128&&s("not-basic"),m.push(t.charCodeAt(o));for(r=n>0?n+1:0;r=v&&s("invalid-input"),c=l(t.charCodeAt(r++)),(c>=g||c>k((b-y)/a))&&s("overflow"),y+=c*a,f=u<=x?j:u>=x+O?O:u-x,!(ck(b/d)&&s("overflow"),a*=d;e=m.length+1,x=p(y-i,e,0==i),k(y/e)>b-w&&s("overflow"),w+=k(y/e),y%=e,m.splice(y++,0,w)}return h(m)}function d(t){var e,n,o,r,i,a,h,l,f,d,m,v,y,w,x,q=[];for(t=u(t),v=t.length,e=C,n=0,i=_,a=0;a=e&&mk((b-n)/y)&&s("overflow"),n+=(h-e)*y,e=h,a=0;ab&&s("overflow"),m==e){for(l=n,f=g;d=f<=i?j:f>=i+O?O:f-i,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=g-j,k=Math.floor,S=String.fromCharCode;y={version:"1.4.1",ucs2:{decode:u,encode:h},decode:f,encode:d,toASCII:v,toUnicode:m},void 0!==(r=function(){return y}.call(e,n,e,t))&&(t.exports=r)}()}).call(e,n("./node_modules/webpack/buildin/module.js")(t),n("./node_modules/webpack/buildin/global.js"))},"./node_modules/querystring-es3/decode.js":function(t,e,n){"use strict";function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,s){e=e||"&",n=n||"=";var i={};if("string"!=typeof t||0===t.length)return i;var a=/\+/g;t=t.split(e);var u=1e3;s&&"number"==typeof s.maxKeys&&(u=s.maxKeys);var h=t.length;u>0&&h>u&&(h=u);for(var l=0;l=0?(c=m.substr(0,v),p=m.substr(v+1)):(c=m,p=""),f=decodeURIComponent(c),d=decodeURIComponent(p),o(i,f)?r(i[f])?i[f].push(d):i[f]=[i[f],d]:i[f]=d}return i};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},"./node_modules/querystring-es3/encode.js":function(t,e,n){"use strict";function o(t,e){if(t.map)return t.map(e);for(var n=[],o=0;o",'"',"`"," ","\r","\n","\t"],d=["{","}","|","\\","^","`"].concat(f),m=["'"].concat(d),v=["%","/","?",";","#"].concat(m),y=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,j={javascript:!0,"javascript:":!0},O={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},x=n("./node_modules/querystring-es3/index.js");o.prototype.parse=function(t,e,n){if(!h.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),r=-1!==o&&o127?U+="x":U+=S[F];if(!U.match(b)){var M=R.slice(0,P),L=R.slice(P+1),N=S.match(g);N&&(M.push(N[1]),L.unshift(N[2])),L.length&&(a="/"+L.join(".")+a),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=u.toASCII(this.hostname));var K=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+K,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!j[d])for(var P=0,k=m.length;P0)&&n.host.split("@");C&&(n.auth=C.shift(),n.host=n.hostname=C.shift())}return n.search=t.search,n.query=t.query,h.isNull(n.pathname)&&h.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var P=x.slice(-1)[0],q=(n.host||t.host||x.length>1)&&("."===P||".."===P)||""===P,T=0,A=x.length;A>=0;A--)P=x[A],"."===P?x.splice(A,1):".."===P?(x.splice(A,1),T++):T&&(x.splice(A,1),T--);if(!g&&!j)for(;T--;T)x.unshift("..");!g||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),q&&"/"!==x.join("/").substr(-1)&&x.push("");var I=""===x[0]||x[0]&&"/"===x[0].charAt(0);if(_){n.hostname=n.host=I?"":x.length?x.shift():"";var C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");C&&(n.auth=C.shift(),n.host=n.hostname=C.shift())}return g=g||n.host&&x.length,g&&!I&&x.unshift(""),x.length?n.pathname=x.join("/"):(n.pathname=null,n.path=null),h.isNull(n.pathname)&&h.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=c.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},"./node_modules/url/util.js":function(t,e,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},"./node_modules/webpack/buildin/global.js":function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"./node_modules/webpack/buildin/module.js":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},0:function(t,e){t.exports=Injector},1:function(t,e){t.exports=React},2:function(t,e){t.exports=IsomorphicFetch},3:function(t,e){t.exports=ReactDom},4:function(t,e){t.exports=ReactSelect}}); \ No newline at end of file +!function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s="./client/src/bundles/bundle.js")}({"./client/src/boot/index.js":function(t,e,n){"use strict";var o=n("./client/src/boot/registerComponents.js"),r=function(t){return t&&t.__esModule?t:{default:t}}(o);window.document.addEventListener("DOMContentLoaded",function(){(0,r.default)()})},"./client/src/boot/registerComponents.js":function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),s=o(r),i=n("./client/src/components/TagField.js"),a=o(i);e.default=function(){s.default.component.registerMany({TagField:a.default})}},"./client/src/bundles/bundle.js":function(t,e,n){"use strict";n("./client/src/legacy/entwine/TagField.js"),n("./client/src/boot/index.js")},"./client/src/components/TagField.js":function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var h=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=void 0,u=void 0,h=void 0,l=[];return function(){var c=o(n),f=(new Date).getTime(),p=!a||f-a>c;a=f;for(var d=arguments.length,m=Array(d),y=0;y1&&(o=n[0]+"@",t=n[1]),t=t.replace(A,"."),o+i(t.split("."),e).join(".")}function u(t){for(var e,n,o=[],r=0,s=t.length;r=55296&&e<=56319&&r65535&&(t-=65536,e+=k(t>>>10&1023|55296),t=56320|1023&t),e+=k(t)}).join("")}function l(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:g}function c(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function f(t,e,n){var o=0;for(t=n?S(t/w):t>>1,t+=S(t/e);t>I*O>>1;o+=g)t=S(t/I);return S(o+(I+1)*t/(t+x))}function p(t){var e,n,o,r,i,a,u,c,p,d,m=[],y=t.length,v=0,x=C,w=_;for(n=t.lastIndexOf(P),n<0&&(n=0),o=0;o=128&&s("not-basic"),m.push(t.charCodeAt(o));for(r=n>0?n+1:0;r=y&&s("invalid-input"),c=l(t.charCodeAt(r++)),(c>=g||c>S((b-v)/a))&&s("overflow"),v+=c*a,p=u<=w?j:u>=w+O?O:u-w,!(cS(b/d)&&s("overflow"),a*=d;e=m.length+1,w=f(v-i,e,0==i),S(v/e)>b-x&&s("overflow"),x+=S(v/e),v%=e,m.splice(v++,0,x)}return h(m)}function d(t){var e,n,o,r,i,a,h,l,p,d,m,y,v,x,w,q=[];for(t=u(t),y=t.length,e=C,n=0,i=_,a=0;a=e&&mS((b-n)/v)&&s("overflow"),n+=(h-e)*v,e=h,a=0;ab&&s("overflow"),m==e){for(l=n,p=g;d=p<=i?j:p>=i+O?O:p-i,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=g-j,S=Math.floor,k=String.fromCharCode;v={version:"1.4.1",ucs2:{decode:u,encode:h},decode:p,encode:d,toASCII:y,toUnicode:m},void 0!==(r=function(){return v}.call(e,n,e,t))&&(t.exports=r)}()}).call(e,n("./node_modules/webpack/buildin/module.js")(t),n("./node_modules/webpack/buildin/global.js"))},"./node_modules/querystring-es3/decode.js":function(t,e,n){"use strict";function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,s){e=e||"&",n=n||"=";var i={};if("string"!=typeof t||0===t.length)return i;var a=/\+/g;t=t.split(e);var u=1e3;s&&"number"==typeof s.maxKeys&&(u=s.maxKeys);var h=t.length;u>0&&h>u&&(h=u);for(var l=0;l=0?(c=m.substr(0,y),f=m.substr(y+1)):(c=m,f=""),p=decodeURIComponent(c),d=decodeURIComponent(f),o(i,p)?r(i[p])?i[p].push(d):i[p]=[i[p],d]:i[p]=d}return i};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},"./node_modules/querystring-es3/encode.js":function(t,e,n){"use strict";function o(t,e){if(t.map)return t.map(e);for(var n=[],o=0;o",'"',"`"," ","\r","\n","\t"],d=["{","}","|","\\","^","`"].concat(p),m=["'"].concat(d),y=["%","/","?",";","#"].concat(m),v=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,j={javascript:!0,"javascript:":!0},O={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=n("./node_modules/querystring-es3/index.js");o.prototype.parse=function(t,e,n){if(!h.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),r=-1!==o&&o127?U+="x":U+=k[E];if(!U.match(b)){var L=I.slice(0,P),M=I.slice(P+1),N=k.match(g);N&&(L.push(N[1]),M.unshift(N[2])),M.length&&(a="/"+M.join(".")+a),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=u.toASCII(this.hostname));var K=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+K,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!j[d])for(var P=0,S=m.length;P0)&&n.host.split("@");C&&(n.auth=C.shift(),n.host=n.hostname=C.shift())}return n.search=t.search,n.query=t.query,h.isNull(n.pathname)&&h.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var P=w.slice(-1)[0],q=(n.host||t.host||w.length>1)&&("."===P||".."===P)||""===P,T=0,A=w.length;A>=0;A--)P=w[A],"."===P?w.splice(A,1):".."===P?(w.splice(A,1),T++):T&&(w.splice(A,1),T--);if(!g&&!j)for(;T--;T)w.unshift("..");!g||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),q&&"/"!==w.join("/").substr(-1)&&w.push("");var R=""===w[0]||w[0]&&"/"===w[0].charAt(0);if(_){n.hostname=n.host=R?"":w.length?w.shift():"";var C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");C&&(n.auth=C.shift(),n.host=n.hostname=C.shift())}return g=g||n.host&&w.length,g&&!R&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),h.isNull(n.pathname)&&h.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=c.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},"./node_modules/url/util.js":function(t,e,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},"./node_modules/webpack/buildin/global.js":function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"./node_modules/webpack/buildin/module.js":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},0:function(t,e){t.exports=Injector},1:function(t,e){t.exports=React},2:function(t,e){t.exports=IsomorphicFetch},3:function(t,e){t.exports=ReactDom},4:function(t,e){t.exports=ReactSelect}}); \ No newline at end of file