You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

livereload.js 62KB

1
  1. !function(){return function e(t,r,n){function o(s,c){if(!r[s]){if(!t[s]){var a="function"==typeof require&&require;if(!c&&a)return a(s,!0);if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=r[s]={exports:{}};t[s][0].call(u.exports,function(e){return o(t[s][1][e]||e)},u,u.exports,e,t,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}}()({1:[function(e,t,r){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],2:[function(e,t,r){var n=e("./_wks")("unscopables"),o=Array.prototype;null==o[n]&&e("./_hide")(o,n,{}),t.exports=function(e){o[n][e]=!0}},{"./_hide":24,"./_wks":75}],3:[function(e,t,r){"use strict";var n=e("./_string-at")(!0);t.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},{"./_string-at":63}],4:[function(e,t,r){var n=e("./_is-object");t.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":31}],5:[function(e,t,r){var n=e("./_to-iobject"),o=e("./_to-length"),i=e("./_to-absolute-index");t.exports=function(e){return function(t,r,s){var c,a=n(t),l=o(a.length),u=i(s,l);if(e&&r!=r){for(;l>u;)if((c=a[u++])!=c)return!0}else for(;l>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}}},{"./_to-absolute-index":66,"./_to-iobject":68,"./_to-length":69}],6:[function(e,t,r){var n=e("./_cof"),o=e("./_wks")("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?r:i?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},{"./_cof":7,"./_wks":75}],7:[function(e,t,r){var n={}.toString;t.exports=function(e){return n.call(e).slice(8,-1)}},{}],8:[function(e,t,r){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},{}],9:[function(e,t,r){"use strict";var n=e("./_object-dp"),o=e("./_property-desc");t.exports=function(e,t,r){t in e?n.f(e,t,o(0,r)):e[t]=r}},{"./_object-dp":42,"./_property-desc":53}],10:[function(e,t,r){var n=e("./_a-function");t.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":1}],11:[function(e,t,r){t.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},{}],12:[function(e,t,r){t.exports=!e("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":18}],13:[function(e,t,r){var n=e("./_is-object"),o=e("./_global").document,i=n(o)&&n(o.createElement);t.exports=function(e){return i?o.createElement(e):{}}},{"./_global":22,"./_is-object":31}],14:[function(e,t,r){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],15:[function(e,t,r){var n=e("./_object-keys"),o=e("./_object-gops"),i=e("./_object-pie");t.exports=function(e){var t=n(e),r=o.f;if(r)for(var s,c=r(e),a=i.f,l=0;c.length>l;)a.call(e,s=c[l++])&&t.push(s);return t}},{"./_object-gops":47,"./_object-keys":50,"./_object-pie":51}],16:[function(e,t,r){var n=e("./_global"),o=e("./_core"),i=e("./_hide"),s=e("./_redefine"),c=e("./_ctx"),a=function(e,t,r){var l,u,f,d,h=e&a.F,p=e&a.G,_=e&a.S,g=e&a.P,v=e&a.B,y=p?n:_?n[t]||(n[t]={}):(n[t]||{}).prototype,m=p?o:o[t]||(o[t]={}),b=m.prototype||(m.prototype={});for(l in p&&(r=t),r)f=((u=!h&&y&&void 0!==y[l])?y:r)[l],d=v&&u?c(f,n):g&&"function"==typeof f?c(Function.call,f):f,y&&s(y,l,f,e&a.U),m[l]!=f&&i(m,l,d),g&&b[l]!=f&&(b[l]=f)};n.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},{"./_core":8,"./_ctx":10,"./_global":22,"./_hide":24,"./_redefine":54}],17:[function(e,t,r){var n=e("./_wks")("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,!"/./"[e](t)}catch(e){}}return!0}},{"./_wks":75}],18:[function(e,t,r){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],19:[function(e,t,r){"use strict";e("./es6.regexp.exec");var n=e("./_redefine"),o=e("./_hide"),i=e("./_fails"),s=e("./_defined"),c=e("./_wks"),a=e("./_regexp-exec"),l=c("species"),u=!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(e,t,r){var d=c(e),h=!i(function(){var t={};return t[d]=function(){return 7},7!=""[e](t)}),p=h?!i(function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[l]=function(){return r}),r[d](""),!t}):void 0;if(!h||!p||"replace"===e&&!u||"split"===e&&!f){var _=/./[d],g=r(s,d,""[e],function(e,t,r,n,o){return t.exec===a?h&&!o?{done:!0,value:_.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),v=g[0],y=g[1];n(String.prototype,e,v),o(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},{"./_defined":11,"./_fails":18,"./_hide":24,"./_redefine":54,"./_regexp-exec":56,"./_wks":75,"./es6.regexp.exec":82}],20:[function(e,t,r){"use strict";var n=e("./_an-object");t.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},{"./_an-object":4}],21:[function(e,t,r){t.exports=e("./_shared")("native-function-to-string",Function.toString)},{"./_shared":61}],22:[function(e,t,r){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],23:[function(e,t,r){var n={}.hasOwnProperty;t.exports=function(e,t){return n.call(e,t)}},{}],24:[function(e,t,r){var n=e("./_object-dp"),o=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},{"./_descriptors":12,"./_object-dp":42,"./_property-desc":53}],25:[function(e,t,r){var n=e("./_global").document;t.exports=n&&n.documentElement},{"./_global":22}],26:[function(e,t,r){t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":12,"./_dom-create":13,"./_fails":18}],27:[function(e,t,r){var n=e("./_is-object"),o=e("./_set-proto").set;t.exports=function(e,t,r){var i,s=t.constructor;return s!==r&&"function"==typeof s&&(i=s.prototype)!==r.prototype&&n(i)&&o&&o(e,i),e}},{"./_is-object":31,"./_set-proto":57}],28:[function(e,t,r){var n=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},{"./_cof":7}],29:[function(e,t,r){var n=e("./_iterators"),o=e("./_wks")("iterator"),i=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||i[o]===e)}},{"./_iterators":38,"./_wks":75}],30:[function(e,t,r){var n=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==n(e)}},{"./_cof":7}],31:[function(e,t,r){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],32:[function(e,t,r){var n=e("./_is-object"),o=e("./_cof"),i=e("./_wks")("match");t.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},{"./_cof":7,"./_is-object":31,"./_wks":75}],33:[function(e,t,r){var n=e("./_an-object");t.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},{"./_an-object":4}],34:[function(e,t,r){"use strict";var n=e("./_object-create"),o=e("./_property-desc"),i=e("./_set-to-string-tag"),s={};e("./_hide")(s,e("./_wks")("iterator"),function(){return this}),t.exports=function(e,t,r){e.prototype=n(s,{next:o(1,r)}),i(e,t+" Iterator")}},{"./_hide":24,"./_object-create":41,"./_property-desc":53,"./_set-to-string-tag":59,"./_wks":75}],35:[function(e,t,r){"use strict";var n=e("./_library"),o=e("./_export"),i=e("./_redefine"),s=e("./_hide"),c=e("./_iterators"),a=e("./_iter-create"),l=e("./_set-to-string-tag"),u=e("./_object-gpo"),f=e("./_wks")("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(e,t,r,p,_,g,v){a(r,t,p);var y,m,b,x=function(e){if(!d&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},j=t+" Iterator",w="values"==_,k=!1,S=e.prototype,O=S[f]||S["@@iterator"]||_&&S[_],R=O||x(_),L=_?w?x("entries"):R:void 0,E="Array"==t&&S.entries||O;if(E&&(b=u(E.call(new e)))!==Object.prototype&&b.next&&(l(b,j,!0),n||"function"==typeof b[f]||s(b,f,h)),w&&O&&"values"!==O.name&&(k=!0,R=function(){return O.call(this)}),n&&!v||!d&&!k&&S[f]||s(S,f,R),c[t]=R,c[j]=h,_)if(y={values:w?R:x("values"),keys:g?R:x("keys"),entries:L},v)for(m in y)m in S||i(S,m,y[m]);else o(o.P+o.F*(d||k),t,y);return y}},{"./_export":16,"./_hide":24,"./_iter-create":34,"./_iterators":38,"./_library":39,"./_object-gpo":48,"./_redefine":54,"./_set-to-string-tag":59,"./_wks":75}],36:[function(e,t,r){var n=e("./_wks")("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}t.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i=[7],s=i[n]();s.next=function(){return{done:r=!0}},i[n]=function(){return s},e(i)}catch(e){}return r}},{"./_wks":75}],37:[function(e,t,r){t.exports=function(e,t){return{value:t,done:!!e}}},{}],38:[function(e,t,r){t.exports={}},{}],39:[function(e,t,r){t.exports=!1},{}],40:[function(e,t,r){var n=e("./_uid")("meta"),o=e("./_is-object"),i=e("./_has"),s=e("./_object-dp").f,c=0,a=Object.isExtensible||function(){return!0},l=!e("./_fails")(function(){return a(Object.preventExtensions({}))}),u=function(e){s(e,n,{value:{i:"O"+ ++c,w:{}}})},f=t.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,n)){if(!a(e))return"F";if(!t)return"E";u(e)}return e[n].i},getWeak:function(e,t){if(!i(e,n)){if(!a(e))return!0;if(!t)return!1;u(e)}return e[n].w},onFreeze:function(e){return l&&f.NEED&&a(e)&&!i(e,n)&&u(e),e}}},{"./_fails":18,"./_has":23,"./_is-object":31,"./_object-dp":42,"./_uid":72}],41:[function(e,t,r){var n=e("./_an-object"),o=e("./_object-dps"),i=e("./_enum-bug-keys"),s=e("./_shared-key")("IE_PROTO"),c=function(){},a=function(){var t,r=e("./_dom-create")("iframe"),n=i.length;for(r.style.display="none",e("./_html").appendChild(r),r.src="javascript:",(t=r.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;n--;)delete a.prototype[i[n]];return a()};t.exports=Object.create||function(e,t){var r;return null!==e?(c.prototype=n(e),r=new c,c.prototype=null,r[s]=e):r=a(),void 0===t?r:o(r,t)}},{"./_an-object":4,"./_dom-create":13,"./_enum-bug-keys":14,"./_html":25,"./_object-dps":43,"./_shared-key":60}],42:[function(e,t,r){var n=e("./_an-object"),o=e("./_ie8-dom-define"),i=e("./_to-primitive"),s=Object.defineProperty;r.f=e("./_descriptors")?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),o)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},{"./_an-object":4,"./_descriptors":12,"./_ie8-dom-define":26,"./_to-primitive":71}],43:[function(e,t,r){var n=e("./_object-dp"),o=e("./_an-object"),i=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){o(e);for(var r,s=i(t),c=s.length,a=0;c>a;)n.f(e,r=s[a++],t[r]);return e}},{"./_an-object":4,"./_descriptors":12,"./_object-dp":42,"./_object-keys":50}],44:[function(e,t,r){var n=e("./_object-pie"),o=e("./_property-desc"),i=e("./_to-iobject"),s=e("./_to-primitive"),c=e("./_has"),a=e("./_ie8-dom-define"),l=Object.getOwnPropertyDescriptor;r.f=e("./_descriptors")?l:function(e,t){if(e=i(e),t=s(t,!0),a)try{return l(e,t)}catch(e){}if(c(e,t))return o(!n.f.call(e,t),e[t])}},{"./_descriptors":12,"./_has":23,"./_ie8-dom-define":26,"./_object-pie":51,"./_property-desc":53,"./_to-iobject":68,"./_to-primitive":71}],45:[function(e,t,r){var n=e("./_to-iobject"),o=e("./_object-gopn").f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return s.slice()}}(e):o(n(e))}},{"./_object-gopn":46,"./_to-iobject":68}],46:[function(e,t,r){var n=e("./_object-keys-internal"),o=e("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},{"./_enum-bug-keys":14,"./_object-keys-internal":49}],47:[function(e,t,r){r.f=Object.getOwnPropertySymbols},{}],48:[function(e,t,r){var n=e("./_has"),o=e("./_to-object"),i=e("./_shared-key")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},{"./_has":23,"./_shared-key":60,"./_to-object":70}],49:[function(e,t,r){var n=e("./_has"),o=e("./_to-iobject"),i=e("./_array-includes")(!1),s=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var r,c=o(e),a=0,l=[];for(r in c)r!=s&&n(c,r)&&l.push(r);for(;t.length>a;)n(c,r=t[a++])&&(~i(l,r)||l.push(r));return l}},{"./_array-includes":5,"./_has":23,"./_shared-key":60,"./_to-iobject":68}],50:[function(e,t,r){var n=e("./_object-keys-internal"),o=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return n(e,o)}},{"./_enum-bug-keys":14,"./_object-keys-internal":49}],51:[function(e,t,r){r.f={}.propertyIsEnumerable},{}],52:[function(e,t,r){var n=e("./_export"),o=e("./_core"),i=e("./_fails");t.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],s={};s[e]=t(r),n(n.S+n.F*i(function(){r(1)}),"Object",s)}},{"./_core":8,"./_export":16,"./_fails":18}],53:[function(e,t,r){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],54:[function(e,t,r){var n=e("./_global"),o=e("./_hide"),i=e("./_has"),s=e("./_uid")("src"),c=e("./_function-to-string"),a=(""+c).split("toString");e("./_core").inspectSource=function(e){return c.call(e)},(t.exports=function(e,t,r,c){var l="function"==typeof r;l&&(i(r,"name")||o(r,"name",t)),e[t]!==r&&(l&&(i(r,s)||o(r,s,e[t]?""+e[t]:a.join(String(t)))),e===n?e[t]=r:c?e[t]?e[t]=r:o(e,t,r):(delete e[t],o(e,t,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||c.call(this)})},{"./_core":8,"./_function-to-string":21,"./_global":22,"./_has":23,"./_hide":24,"./_uid":72}],55:[function(e,t,r){"use strict";var n=e("./_classof"),o=RegExp.prototype.exec;t.exports=function(e,t){var r=e.exec;if("function"==typeof r){var i=r.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},{"./_classof":6}],56:[function(e,t,r){"use strict";var n,o,i=e("./_flags"),s=RegExp.prototype.exec,c=String.prototype.replace,a=s,l=(n=/a/,o=/b*/g,s.call(n,"a"),s.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(l||u)&&(a=function(e){var t,r,n,o,a=this;return u&&(r=new RegExp("^"+a.source+"$(?!\\s)",i.call(a))),l&&(t=a.lastIndex),n=s.call(a,e),l&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),u&&n&&n.length>1&&c.call(n[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)}),n}),t.exports=a},{"./_flags":20}],57:[function(e,t,r){var n=e("./_is-object"),o=e("./_an-object"),i=function(e,t){if(o(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,n){try{(n=e("./_ctx")(Function.call,e("./_object-gopd").f(Object.prototype,"__proto__").set,2))(t,[]),r=!(t instanceof Array)}catch(e){r=!0}return function(e,t){return i(e,t),r?e.__proto__=t:n(e,t),e}}({},!1):void 0),check:i}},{"./_an-object":4,"./_ctx":10,"./_is-object":31,"./_object-gopd":44}],58:[function(e,t,r){"use strict";var n=e("./_global"),o=e("./_object-dp"),i=e("./_descriptors"),s=e("./_wks")("species");t.exports=function(e){var t=n[e];i&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},{"./_descriptors":12,"./_global":22,"./_object-dp":42,"./_wks":75}],59:[function(e,t,r){var n=e("./_object-dp").f,o=e("./_has"),i=e("./_wks")("toStringTag");t.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},{"./_has":23,"./_object-dp":42,"./_wks":75}],60:[function(e,t,r){var n=e("./_shared")("keys"),o=e("./_uid");t.exports=function(e){return n[e]||(n[e]=o(e))}},{"./_shared":61,"./_uid":72}],61:[function(e,t,r){var n=e("./_core"),o=e("./_global"),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:e("./_library")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":8,"./_global":22,"./_library":39}],62:[function(e,t,r){var n=e("./_an-object"),o=e("./_a-function"),i=e("./_wks")("species");t.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||null==(r=n(s)[i])?t:o(r)}},{"./_a-function":1,"./_an-object":4,"./_wks":75}],63:[function(e,t,r){var n=e("./_to-integer"),o=e("./_defined");t.exports=function(e){return function(t,r){var i,s,c=String(o(t)),a=n(r),l=c.length;return a<0||a>=l?e?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===l||(s=c.charCodeAt(a+1))<56320||s>57343?e?c.charAt(a):i:e?c.slice(a,a+2):s-56320+(i-55296<<10)+65536}}},{"./_defined":11,"./_to-integer":67}],64:[function(e,t,r){var n=e("./_is-regexp"),o=e("./_defined");t.exports=function(e,t,r){if(n(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(e))}},{"./_defined":11,"./_is-regexp":32}],65:[function(e,t,r){var n=e("./_export"),o=e("./_fails"),i=e("./_defined"),s=/"/g,c=function(e,t,r,n){var o=String(i(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+String(n).replace(s,"&quot;")+'"'),c+">"+o+"</"+t+">"};t.exports=function(e,t){var r={};r[e]=t(c),n(n.P+n.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",r)}},{"./_defined":11,"./_export":16,"./_fails":18}],66:[function(e,t,r){var n=e("./_to-integer"),o=Math.max,i=Math.min;t.exports=function(e,t){return(e=n(e))<0?o(e+t,0):i(e,t)}},{"./_to-integer":67}],67:[function(e,t,r){var n=Math.ceil,o=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},{}],68:[function(e,t,r){var n=e("./_iobject"),o=e("./_defined");t.exports=function(e){return n(o(e))}},{"./_defined":11,"./_iobject":28}],69:[function(e,t,r){var n=e("./_to-integer"),o=Math.min;t.exports=function(e){return e>0?o(n(e),9007199254740991):0}},{"./_to-integer":67}],70:[function(e,t,r){var n=e("./_defined");t.exports=function(e){return Object(n(e))}},{"./_defined":11}],71:[function(e,t,r){var n=e("./_is-object");t.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":31}],72:[function(e,t,r){var n=0,o=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},{}],73:[function(e,t,r){var n=e("./_global"),o=e("./_core"),i=e("./_library"),s=e("./_wks-ext"),c=e("./_object-dp").f;t.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:s.f(e)})}},{"./_core":8,"./_global":22,"./_library":39,"./_object-dp":42,"./_wks-ext":74}],74:[function(e,t,r){r.f=e("./_wks")},{"./_wks":75}],75:[function(e,t,r){var n=e("./_shared")("wks"),o=e("./_uid"),i=e("./_global").Symbol,s="function"==typeof i;(t.exports=function(e){return n[e]||(n[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=n},{"./_global":22,"./_shared":61,"./_uid":72}],76:[function(e,t,r){var n=e("./_classof"),o=e("./_wks")("iterator"),i=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},{"./_classof":6,"./_core":8,"./_iterators":38,"./_wks":75}],77:[function(e,t,r){"use strict";var n=e("./_ctx"),o=e("./_export"),i=e("./_to-object"),s=e("./_iter-call"),c=e("./_is-array-iter"),a=e("./_to-length"),l=e("./_create-property"),u=e("./core.get-iterator-method");o(o.S+o.F*!e("./_iter-detect")(function(e){Array.from(e)}),"Array",{from:function(e){var t,r,o,f,d=i(e),h="function"==typeof this?this:Array,p=arguments.length,_=p>1?arguments[1]:void 0,g=void 0!==_,v=0,y=u(d);if(g&&(_=n(_,p>2?arguments[2]:void 0,2)),null==y||h==Array&&c(y))for(r=new h(t=a(d.length));t>v;v++)l(r,v,g?_(d[v],v):d[v]);else for(f=y.call(d),r=new h;!(o=f.next()).done;v++)l(r,v,g?s(f,_,[o.value,v],!0):o.value);return r.length=v,r}})},{"./_create-property":9,"./_ctx":10,"./_export":16,"./_is-array-iter":29,"./_iter-call":33,"./_iter-detect":36,"./_to-length":69,"./_to-object":70,"./core.get-iterator-method":76}],78:[function(e,t,r){"use strict";var n=e("./_add-to-unscopables"),o=e("./_iter-step"),i=e("./_iterators"),s=e("./_to-iobject");t.exports=e("./_iter-define")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":2,"./_iter-define":35,"./_iter-step":37,"./_iterators":38,"./_to-iobject":68}],79:[function(e,t,r){var n=e("./_to-object"),o=e("./_object-keys");e("./_object-sap")("keys",function(){return function(e){return o(n(e))}})},{"./_object-keys":50,"./_object-sap":52,"./_to-object":70}],80:[function(e,t,r){"use strict";var n=e("./_classof"),o={};o[e("./_wks")("toStringTag")]="z",o+""!="[object z]"&&e("./_redefine")(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},{"./_classof":6,"./_redefine":54,"./_wks":75}],81:[function(e,t,r){var n=e("./_global"),o=e("./_inherit-if-required"),i=e("./_object-dp").f,s=e("./_object-gopn").f,c=e("./_is-regexp"),a=e("./_flags"),l=n.RegExp,u=l,f=l.prototype,d=/a/g,h=/a/g,p=new l(d)!==d;if(e("./_descriptors")&&(!p||e("./_fails")(function(){return h[e("./_wks")("match")]=!1,l(d)!=d||l(h)==h||"/a/i"!=l(d,"i")}))){l=function(e,t){var r=this instanceof l,n=c(e),i=void 0===t;return!r&&n&&e.constructor===l&&i?e:o(p?new u(n&&!i?e.source:e,t):u((n=e instanceof l)?e.source:e,n&&i?a.call(e):t),r?this:f,l)};for(var _=function(e){e in l||i(l,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})},g=s(u),v=0;g.length>v;)_(g[v++]);f.constructor=l,l.prototype=f,e("./_redefine")(n,"RegExp",l)}e("./_set-species")("RegExp")},{"./_descriptors":12,"./_fails":18,"./_flags":20,"./_global":22,"./_inherit-if-required":27,"./_is-regexp":32,"./_object-dp":42,"./_object-gopn":46,"./_redefine":54,"./_set-species":58,"./_wks":75}],82:[function(e,t,r){"use strict";var n=e("./_regexp-exec");e("./_export")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{"./_export":16,"./_regexp-exec":56}],83:[function(e,t,r){e("./_descriptors")&&"g"!=/./g.flags&&e("./_object-dp").f(RegExp.prototype,"flags",{configurable:!0,get:e("./_flags")})},{"./_descriptors":12,"./_flags":20,"./_object-dp":42}],84:[function(e,t,r){"use strict";var n=e("./_an-object"),o=e("./_to-length"),i=e("./_advance-string-index"),s=e("./_regexp-exec-abstract");e("./_fix-re-wks")("match",1,function(e,t,r,c){return[function(r){var n=e(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,n):new RegExp(r)[t](String(n))},function(e){var t=c(r,e,this);if(t.done)return t.value;var a=n(e),l=String(this);if(!a.global)return s(a,l);var u=a.unicode;a.lastIndex=0;for(var f,d=[],h=0;null!==(f=s(a,l));){var p=String(f[0]);d[h]=p,""===p&&(a.lastIndex=i(l,o(a.lastIndex),u)),h++}return 0===h?null:d}]})},{"./_advance-string-index":3,"./_an-object":4,"./_fix-re-wks":19,"./_regexp-exec-abstract":55,"./_to-length":69}],85:[function(e,t,r){"use strict";var n=e("./_an-object"),o=e("./_to-object"),i=e("./_to-length"),s=e("./_to-integer"),c=e("./_advance-string-index"),a=e("./_regexp-exec-abstract"),l=Math.max,u=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;e("./_fix-re-wks")("replace",2,function(e,t,r,p){return[function(n,o){var i=e(this),s=null==n?void 0:n[t];return void 0!==s?s.call(n,i,o):r.call(String(i),n,o)},function(e,t){var o=p(r,e,this,t);if(o.done)return o.value;var f=n(e),d=String(this),h="function"==typeof t;h||(t=String(t));var g=f.global;if(g){var v=f.unicode;f.lastIndex=0}for(var y=[];;){var m=a(f,d);if(null===m)break;if(y.push(m),!g)break;""===String(m[0])&&(f.lastIndex=c(d,i(f.lastIndex),v))}for(var b,x="",j=0,w=0;w<y.length;w++){m=y[w];for(var k=String(m[0]),S=l(u(s(m.index),d.length),0),O=[],R=1;R<m.length;R++)O.push(void 0===(b=m[R])?b:String(b));var L=m.groups;if(h){var E=[k].concat(O,S,d);void 0!==L&&E.push(L);var C=String(t.apply(void 0,E))}else C=_(k,d,S,O,L,t);S>=j&&(x+=d.slice(j,S)+C,j=S+k.length)}return x+d.slice(j)}];function _(e,t,n,i,s,c){var a=n+e.length,l=i.length,u=h;return void 0!==s&&(s=o(s),u=d),r.call(c,u,function(r,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(a);case"<":c=s[o.slice(1,-1)];break;default:var u=+o;if(0===u)return r;if(u>l){var d=f(u/10);return 0===d?r:d<=l?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):r}c=i[u-1]}return void 0===c?"":c})}})},{"./_advance-string-index":3,"./_an-object":4,"./_fix-re-wks":19,"./_regexp-exec-abstract":55,"./_to-integer":67,"./_to-length":69,"./_to-object":70}],86:[function(e,t,r){"use strict";var n=e("./_is-regexp"),o=e("./_an-object"),i=e("./_species-constructor"),s=e("./_advance-string-index"),c=e("./_to-length"),a=e("./_regexp-exec-abstract"),l=e("./_regexp-exec"),u=e("./_fails"),f=Math.min,d=[].push,h=!u(function(){RegExp(4294967295,"y")});e("./_fix-re-wks")("split",2,function(e,t,r,u){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!n(e))return r.call(o,e,t);for(var i,s,c,a=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=void 0===t?4294967295:t>>>0,p=new RegExp(e.source,u+"g");(i=l.call(p,o))&&!((s=p.lastIndex)>f&&(a.push(o.slice(f,i.index)),i.length>1&&i.index<o.length&&d.apply(a,i.slice(1)),c=i[0].length,f=s,a.length>=h));)p.lastIndex===i.index&&p.lastIndex++;return f===o.length?!c&&p.test("")||a.push(""):a.push(o.slice(f)),a.length>h?a.slice(0,h):a}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r.call(this,e,t)}:r,[function(r,n){var o=e(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):p.call(String(o),r,n)},function(e,t){var n=u(p,e,this,t,p!==r);if(n.done)return n.value;var l=o(e),d=String(this),_=i(l,RegExp),g=l.unicode,v=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),y=new _(h?l:"^(?:"+l.source+")",v),m=void 0===t?4294967295:t>>>0;if(0===m)return[];if(0===d.length)return null===a(y,d)?[d]:[];for(var b=0,x=0,j=[];x<d.length;){y.lastIndex=h?x:0;var w,k=a(y,h?d:d.slice(x));if(null===k||(w=f(c(y.lastIndex+(h?0:x)),d.length))===b)x=s(d,x,g);else{if(j.push(d.slice(b,x)),j.length===m)return j;for(var S=1;S<=k.length-1;S++)if(j.push(k[S]),j.length===m)return j;x=b=w}}return j.push(d.slice(b)),j}]})},{"./_advance-string-index":3,"./_an-object":4,"./_fails":18,"./_fix-re-wks":19,"./_is-regexp":32,"./_regexp-exec":56,"./_regexp-exec-abstract":55,"./_species-constructor":62,"./_to-length":69}],87:[function(e,t,r){"use strict";e("./es6.regexp.flags");var n=e("./_an-object"),o=e("./_flags"),i=e("./_descriptors"),s=/./.toString,c=function(t){e("./_redefine")(RegExp.prototype,"toString",t,!0)};e("./_fails")(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?c(function(){var e=n(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=s.name&&c(function(){return s.call(this)})},{"./_an-object":4,"./_descriptors":12,"./_fails":18,"./_flags":20,"./_redefine":54,"./es6.regexp.flags":83}],88:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_string-context");n(n.P+n.F*e("./_fails-is-regexp")("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},{"./_export":16,"./_fails-is-regexp":17,"./_string-context":64}],89:[function(e,t,r){"use strict";var n=e("./_string-at")(!0);e("./_iter-define")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":35,"./_string-at":63}],90:[function(e,t,r){"use strict";e("./_string-html")("link",function(e){return function(t){return e(this,"a","href",t)}})},{"./_string-html":65}],91:[function(e,t,r){"use strict";var n=e("./_global"),o=e("./_has"),i=e("./_descriptors"),s=e("./_export"),c=e("./_redefine"),a=e("./_meta").KEY,l=e("./_fails"),u=e("./_shared"),f=e("./_set-to-string-tag"),d=e("./_uid"),h=e("./_wks"),p=e("./_wks-ext"),_=e("./_wks-define"),g=e("./_enum-keys"),v=e("./_is-array"),y=e("./_an-object"),m=e("./_is-object"),b=e("./_to-object"),x=e("./_to-iobject"),j=e("./_to-primitive"),w=e("./_property-desc"),k=e("./_object-create"),S=e("./_object-gopn-ext"),O=e("./_object-gopd"),R=e("./_object-gops"),L=e("./_object-dp"),E=e("./_object-keys"),C=O.f,T=L.f,P=S.f,I=n.Symbol,A=n.JSON,M=A&&A.stringify,N=h("_hidden"),U=h("toPrimitive"),D={}.propertyIsEnumerable,F=u("symbol-registry"),B=u("symbols"),$=u("op-symbols"),z=Object.prototype,q="function"==typeof I&&!!R.f,W=n.QObject,H=!W||!W.prototype||!W.prototype.findChild,G=i&&l(function(){return 7!=k(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=C(z,t);n&&delete z[t],T(e,t,r),n&&e!==z&&T(z,t,n)}:T,J=function(e){var t=B[e]=k(I.prototype);return t._k=e,t},V=q&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},K=function(e,t,r){return e===z&&K($,t,r),y(e),t=j(t,!0),y(r),o(B,t)?(r.enumerable?(o(e,N)&&e[N][t]&&(e[N][t]=!1),r=k(r,{enumerable:w(0,!1)})):(o(e,N)||T(e,N,w(1,{})),e[N][t]=!0),G(e,t,r)):T(e,t,r)},Y=function(e,t){y(e);for(var r,n=g(t=x(t)),o=0,i=n.length;i>o;)K(e,r=n[o++],t[r]);return e},Q=function(e){var t=D.call(this,e=j(e,!0));return!(this===z&&o(B,e)&&!o($,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,N)&&this[N][e])||t)},X=function(e,t){if(e=x(e),t=j(t,!0),e!==z||!o(B,t)||o($,t)){var r=C(e,t);return!r||!o(B,t)||o(e,N)&&e[N][t]||(r.enumerable=!0),r}},Z=function(e){for(var t,r=P(x(e)),n=[],i=0;r.length>i;)o(B,t=r[i++])||t==N||t==a||n.push(t);return n},ee=function(e){for(var t,r=e===z,n=P(r?$:x(e)),i=[],s=0;n.length>s;)!o(B,t=n[s++])||r&&!o(z,t)||i.push(B[t]);return i};q||(c((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(r){this===z&&t.call($,r),o(this,N)&&o(this[N],e)&&(this[N][e]=!1),G(this,e,w(1,r))};return i&&H&&G(z,e,{configurable:!0,set:t}),J(e)}).prototype,"toString",function(){return this._k}),O.f=X,L.f=K,e("./_object-gopn").f=S.f=Z,e("./_object-pie").f=Q,R.f=ee,i&&!e("./_library")&&c(z,"propertyIsEnumerable",Q,!0),p.f=function(e){return J(h(e))}),s(s.G+s.W+s.F*!q,{Symbol:I});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)h(te[re++]);for(var ne=E(h.store),oe=0;ne.length>oe;)_(ne[oe++]);s(s.S+s.F*!q,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),s(s.S+s.F*!q,"Object",{create:function(e,t){return void 0===t?k(e):Y(k(e),t)},defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=l(function(){R.f(1)});s(s.S+s.F*ie,"Object",{getOwnPropertySymbols:function(e){return R.f(b(e))}}),A&&s(s.S+s.F*(!q||l(function(){var e=I();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(m(t)||void 0!==e)&&!V(e))return v(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!V(t))return t}),n[1]=t,M.apply(A,n)}}),I.prototype[U]||e("./_hide")(I.prototype,U,I.prototype.valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},{"./_an-object":4,"./_descriptors":12,"./_enum-keys":15,"./_export":16,"./_fails":18,"./_global":22,"./_has":23,"./_hide":24,"./_is-array":30,"./_is-object":31,"./_library":39,"./_meta":40,"./_object-create":41,"./_object-dp":42,"./_object-gopd":44,"./_object-gopn":46,"./_object-gopn-ext":45,"./_object-gops":47,"./_object-keys":50,"./_object-pie":51,"./_property-desc":53,"./_redefine":54,"./_set-to-string-tag":59,"./_shared":61,"./_to-iobject":68,"./_to-object":70,"./_to-primitive":71,"./_uid":72,"./_wks":75,"./_wks-define":73,"./_wks-ext":74}],92:[function(e,t,r){"use strict";var n=e("./_export"),o=e("./_array-includes")(!0);n(n.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")("includes")},{"./_add-to-unscopables":2,"./_array-includes":5,"./_export":16}],93:[function(e,t,r){e("./_wks-define")("asyncIterator")},{"./_wks-define":73}],94:[function(e,t,r){for(var n=e("./es6.array.iterator"),o=e("./_object-keys"),i=e("./_redefine"),s=e("./_global"),c=e("./_hide"),a=e("./_iterators"),l=e("./_wks"),u=l("iterator"),f=l("toStringTag"),d=a.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=o(h),_=0;_<p.length;_++){var g,v=p[_],y=h[v],m=s[v],b=m&&m.prototype;if(b&&(b[u]||c(b,u,d),b[f]||c(b,f,v),a[v]=d,y))for(g in n)b[g]||i(b,g,n[g],!0)}},{"./_global":22,"./_hide":24,"./_iterators":38,"./_object-keys":50,"./_redefine":54,"./_wks":75,"./es6.array.iterator":78}],95:[function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=e("./protocol"),i=o.Parser,s=o.PROTOCOL_6,c=o.PROTOCOL_7,a=function(){function e(t,r,n,o){var s=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t,this.WebSocket=r,this.Timer=n,this.handlers=o;var c=this.options.path?"".concat(this.options.path):"livereload";this._uri="ws".concat(this.options.https?"s":"","://").concat(this.options.host,":").concat(this.options.port,"/").concat(c),this._nextDelay=this.options.mindelay,this._connectionDesired=!1,this.protocol=0,this.protocolParser=new i({connected:function(e){return s.protocol=e,s._handshakeTimeout.stop(),s._nextDelay=s.options.mindelay,s._disconnectionReason="broken",s.handlers.connected(s.protocol)},error:function(e){return s.handlers.error(e),s._closeOnError()},message:function(e){return s.handlers.message(e)}}),this._handshakeTimeout=new this.Timer(function(){if(s._isSocketConnected())return s._disconnectionReason="handshake-timeout",s.socket.close()}),this._reconnectTimer=new this.Timer(function(){if(s._connectionDesired)return s.connect()}),this.connect()}var t,r,o;return t=e,(r=[{key:"_isSocketConnected",value:function(){return this.socket&&this.socket.readyState===this.WebSocket.OPEN}},{key:"connect",value:function(){var e=this;this._connectionDesired=!0,this._isSocketConnected()||(this._reconnectTimer.stop(),this._disconnectionReason="cannot-connect",this.protocolParser.reset(),this.handlers.connecting(),this.socket=new this.WebSocket(this._uri),this.socket.onopen=function(t){return e._onopen(t)},this.socket.onclose=function(t){return e._onclose(t)},this.socket.onmessage=function(t){return e._onmessage(t)},this.socket.onerror=function(t){return e._onerror(t)})}},{key:"disconnect",value:function(){if(this._connectionDesired=!1,this._reconnectTimer.stop(),this._isSocketConnected())return this._disconnectionReason="manual",this.socket.close()}},{key:"_scheduleReconnection",value:function(){this._connectionDesired&&(this._reconnectTimer.running||(this._reconnectTimer.start(this._nextDelay),this._nextDelay=Math.min(this.options.maxdelay,2*this._nextDelay)))}},{key:"sendCommand",value:function(e){if(this.protocol)return this._sendCommand(e)}},{key:"_sendCommand",value:function(e){return this.socket.send(JSON.stringify(e))}},{key:"_closeOnError",value:function(){return this._handshakeTimeout.stop(),this._disconnectionReason="error",this.socket.close()}},{key:"_onopen",value:function(e){this.handlers.socketConnected(),this._disconnectionReason="handshake-failed";var t={command:"hello",protocols:[s,c],ver:"3.2.1"};return this.options.ext&&(t.ext=this.options.ext),this.options.extver&&(t.extver=this.options.extver),this.options.snipver&&(t.snipver=this.options.snipver),this._sendCommand(t),this._handshakeTimeout.start(this.options.handshake_timeout)}},{key:"_onclose",value:function(e){return this.protocol=0,this.handlers.disconnected(this._disconnectionReason,this._nextDelay),this._scheduleReconnection()}},{key:"_onerror",value:function(e){}},{key:"_onmessage",value:function(e){return this.protocolParser.process(e.data)}}])&&n(t.prototype,r),o&&n(t,o),e}();r.Connector=a},{"./protocol":100}],96:[function(e,t,r){"use strict";var n=function(e,t,r){if(e.addEventListener)return e.addEventListener(t,r,!1);if(e.attachEvent)return e[t]=1,e.attachEvent("onpropertychange",function(e){if(e.propertyName===t)return r()});throw new Error("Attempt to attach custom event ".concat(t," to something which isn't a DOMElement"))},o=function(e,t){if(e.addEventListener){var r=document.createEvent("HTMLEvents");return r.initEvent(t,!0,!0),document.dispatchEvent(r)}if(!e.attachEvent)throw new Error("Attempt to fire custom event ".concat(t," on something which isn't a DOMElement"));if(e[t])return e[t]++};r.bind=n,r.fire=o},{}],97:[function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e("core-js/modules/es6.string.iterator"),e("core-js/modules/es6.array.from"),e("core-js/modules/es6.regexp.match");var o=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.window=t,this.host=r}var t,r,o;return t=e,(r=[{key:"reload",value:function(e,t){if(this.window.less&&this.window.less.refresh){if(e.match(/\.less$/i))return this.reloadLess(e);if(t.originalPath.match(/\.less$/i))return this.reloadLess(t.originalPath)}return!1}},{key:"reloadLess",value:function(e){var t,r=function(){for(var e=[],r=0,n=Array.from(document.getElementsByTagName("link"));r<n.length;r++)((t=n[r]).href&&t.rel.match(/^stylesheet\/less$/i)||t.rel.match(/stylesheet/i)&&t.type.match(/^text\/(x-)?less$/i))&&e.push(t);return e}();if(0===r.length)return!1;for(var n=0,o=Array.from(r);n<o.length;n++)(t=o[n]).href=this.host.generateCacheBustUrl(t.href);return this.host.console.log("LiveReload is asking LESS to recompile all stylesheets"),this.window.less.refresh(!0),!0}},{key:"analyze",value:function(){return{disable:!(!this.window.less||!this.window.less.refresh)}}}])&&n(t.prototype,r),o&&n(t,o),e}();o.identifier="less",o.version="1.0",t.exports=o},{"core-js/modules/es6.array.from":77,"core-js/modules/es6.regexp.match":84,"core-js/modules/es6.string.iterator":89}],98:[function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e("core-js/modules/es7.symbol.async-iterator"),e("core-js/modules/es6.symbol"),e("core-js/modules/web.dom.iterable"),e("core-js/modules/es6.array.iterator"),e("core-js/modules/es6.object.to-string"),e("core-js/modules/es6.object.keys"),e("core-js/modules/es6.regexp.match");var o=e("./connector").Connector,i=e("./timer").Timer,s=e("./options").Options,c=e("./reloader").Reloader,a=e("./protocol").ProtocolError,l=function(){function e(t){var r=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.window=t,this.listeners={},this.plugins=[],this.pluginIdentifiers={},this.console=this.window.console&&this.window.console.log&&this.window.console.error?this.window.location.href.match(/LR-verbose/)?this.window.console:{log:function(){},error:this.window.console.error.bind(this.window.console)}:{log:function(){},error:function(){}},this.WebSocket=this.window.WebSocket||this.window.MozWebSocket){if("LiveReloadOptions"in t){this.options=new s;for(var n=0,l=Object.keys(t.LiveReloadOptions||{});n<l.length;n++){var u=l[n],f=t.LiveReloadOptions[u];this.options.set(u,f)}}else if(this.options=s.extract(this.window.document),!this.options)return void this.console.error("LiveReload disabled because it could not find its own <SCRIPT> tag");this.reloader=new c(this.window,this.console,i),this.connector=new o(this.options,this.WebSocket,i,{connecting:function(){},socketConnected:function(){},connected:function(e){return"function"==typeof r.listeners.connect&&r.listeners.connect(),r.log("LiveReload is connected to ".concat(r.options.host,":").concat(r.options.port," (protocol v").concat(e,").")),r.analyze()},error:function(e){if(e instanceof a){if("undefined"!=typeof console&&null!==console)return console.log("".concat(e.message,"."))}else if("undefined"!=typeof console&&null!==console)return console.log("LiveReload internal error: ".concat(e.message))},disconnected:function(e,t){switch("function"==typeof r.listeners.disconnect&&r.listeners.disconnect(),e){case"cannot-connect":return r.log("LiveReload cannot connect to ".concat(r.options.host,":").concat(r.options.port,", will retry in ").concat(t," sec."));case"broken":return r.log("LiveReload disconnected from ".concat(r.options.host,":").concat(r.options.port,", reconnecting in ").concat(t," sec."));case"handshake-timeout":return r.log("LiveReload cannot connect to ".concat(r.options.host,":").concat(r.options.port," (handshake timeout), will retry in ").concat(t," sec."));case"handshake-failed":return r.log("LiveReload cannot connect to ".concat(r.options.host,":").concat(r.options.port," (handshake failed), will retry in ").concat(t," sec."));case"manual":case"error":default:return r.log("LiveReload disconnected from ".concat(r.options.host,":").concat(r.options.port," (").concat(e,"), reconnecting in ").concat(t," sec."))}},message:function(e){switch(e.command){case"reload":return r.performReload(e);case"alert":return r.performAlert(e)}}}),this.initialized=!0}else this.console.error("LiveReload disabled because the browser does not seem to support web sockets")}var t,r,l;return t=e,(r=[{key:"on",value:function(e,t){this.listeners[e]=t}},{key:"log",value:function(e){return this.console.log("".concat(e))}},{key:"performReload",value:function(e){return this.log("LiveReload received reload request: ".concat(JSON.stringify(e,null,2))),this.reloader.reload(e.path,{liveCSS:null==e.liveCSS||e.liveCSS,liveImg:null==e.liveImg||e.liveImg,reloadMissingCSS:null==e.reloadMissingCSS||e.reloadMissingCSS,originalPath:e.originalPath||"",overrideURL:e.overrideURL||"",serverURL:"http://".concat(this.options.host,":").concat(this.options.port),pluginOrder:this.options.pluginOrder})}},{key:"performAlert",value:function(e){return alert(e.message)}},{key:"shutDown",value:function(){if(this.initialized)return this.connector.disconnect(),this.log("LiveReload disconnected."),"function"==typeof this.listeners.shutdown?this.listeners.shutdown():void 0}},{key:"hasPlugin",value:function(e){return!!this.pluginIdentifiers[e]}},{key:"addPlugin",value:function(e){var t=this;if(this.initialized&&!this.hasPlugin(e.identifier)){this.pluginIdentifiers[e.identifier]=!0;var r=new e(this.window,{_livereload:this,_reloader:this.reloader,_connector:this.connector,console:this.console,Timer:i,generateCacheBustUrl:function(e){return t.reloader.generateCacheBustUrl(e)}});this.plugins.push(r),this.reloader.addPlugin(r)}}},{key:"analyze",value:function(){if(this.initialized&&this.connector.protocol>=7){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=this.plugins[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value,c=("function"==typeof s.analyze?s.analyze():void 0)||{};e[s.constructor.identifier]=c,c.version=s.constructor.version}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}this.connector.sendCommand({command:"info",plugins:e,url:this.window.location.href})}}}])&&n(t.prototype,r),l&&n(t,l),e}();r.LiveReload=l},{"./connector":95,"./options":99,"./protocol":100,"./reloader":101,"./timer":103,"core-js/modules/es6.array.iterator":78,"core-js/modules/es6.object.keys":79,"core-js/modules/es6.object.to-string":80,"core-js/modules/es6.regexp.match":84,"core-js/modules/es6.symbol":91,"core-js/modules/es7.symbol.async-iterator":93,"core-js/modules/web.dom.iterable":94}],99:[function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e("core-js/modules/es6.regexp.to-string"),e("core-js/modules/es6.object.to-string"),e("core-js/modules/es6.regexp.replace"),e("core-js/modules/es7.symbol.async-iterator"),e("core-js/modules/es6.symbol"),e("core-js/modules/web.dom.iterable"),e("core-js/modules/es6.regexp.match"),e("core-js/modules/es6.string.iterator"),e("core-js/modules/es6.array.from"),e("core-js/modules/es6.regexp.split");var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.https=!1,this.host=null,this.port=35729,this.snipver=null,this.ext=null,this.extver=null,this.mindelay=1e3,this.maxdelay=6e4,this.handshake_timeout=5e3;var t=[];Object.defineProperty(this,"pluginOrder",{get:function(){return t},set:function(e){t.push.apply(t,e.split(/[,;]/))}})}var t,r,n;return t=e,(r=[{key:"set",value:function(e,t){void 0!==t&&(isNaN(+t)||(t=+t),this[e]=t)}}])&&o(t.prototype,r),n&&o(t,n),e}();i.extract=function(e){for(var t=0,r=Array.from(e.getElementsByTagName("script"));t<r.length;t++){var o,s,c=r[t],a=c.src,l=c.getAttribute("src"),u=/^([^:]+:\/\/([^/:]+)(?::(\d+))?\/|\/\/|\/)?([^/].*\/)?z?livereload\.js(?:\?(.*))?$/;if((o=a.match(u))&&(s=l.match(u))){var f=n(o,6),d=f[2],h=f[3],p=f[5],_=n(s,4)[3],g=new i;if(g.https=0===c.src.indexOf("https"),g.host=d,g.port=h?parseInt(h,10):_?parseInt(_,10):g.port,p){var v=!0,y=!1,m=void 0;try{for(var b,x=p.split("&")[Symbol.iterator]();!(v=(b=x.next()).done);v=!0){var j;(j=b.value.split("=")).length>1&&g.set(j[0].replace(/-/g,"_"),j.slice(1).join("="))}}catch(e){y=!0,m=e}finally{try{v||null==x.return||x.return()}finally{if(y)throw m}}}return g}}return null},r.Options=i},{"core-js/modules/es6.array.from":77,"core-js/modules/es6.object.to-string":80,"core-js/modules/es6.regexp.match":84,"core-js/modules/es6.regexp.replace":85,"core-js/modules/es6.regexp.split":86,"core-js/modules/es6.regexp.to-string":87,"core-js/modules/es6.string.iterator":89,"core-js/modules/es6.symbol":91,"core-js/modules/es7.symbol.async-iterator":93,"core-js/modules/web.dom.iterable":94}],100:[function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e("core-js/modules/es6.regexp.to-string"),e("core-js/modules/es6.object.to-string"),e("core-js/modules/es7.symbol.async-iterator"),e("core-js/modules/es6.symbol"),e("core-js/modules/web.dom.iterable"),e("core-js/modules/es6.string.iterator"),e("core-js/modules/es6.array.from"),e("core-js/modules/es7.array.includes"),e("core-js/modules/es6.string.includes"),e("core-js/modules/es6.regexp.constructor"),e("core-js/modules/es6.regexp.match"),r.PROTOCOL_6="http://livereload.com/protocols/official-6",r.PROTOCOL_7="http://livereload.com/protocols/official-7";var s=function e(t,r){i(this,e),this.message="LiveReload protocol error (".concat(t,') after receiving data: "').concat(r,'".')},c=function(){function e(t){i(this,e),this.handlers=t,this.reset()}var t,r,c;return t=e,(r=[{key:"reset",value:function(){this.protocol=null}},{key:"process",value:function(e){try{var t;if(this.protocol){if(6===this.protocol){if(!(t=JSON.parse(e)).length)throw new s("protocol 6 messages must be arrays");var r=n(Array.from(t),2),o=r[0],i=r[1];if("refresh"!==o)throw new s("unknown protocol 6 command");return this.handlers.message({command:"reload",path:i.path,liveCSS:null==i.apply_css_live||i.apply_css_live})}return t=this._parseMessage(e,["reload","alert"]),this.handlers.message(t)}if(e.match(new RegExp("^!!ver:([\\d.]+)$")))this.protocol=6;else if(t=this._parseMessage(e,["hello"])){if(!t.protocols.length)throw new s("no protocols specified in handshake message");if(Array.from(t.protocols).includes("http://livereload.com/protocols/official-7"))this.protocol=7;else{if(!Array.from(t.protocols).includes("http://livereload.com/protocols/official-6"))throw new s("no supported protocols found");this.protocol=6}}return this.handlers.connected(this.protocol)}catch(e){if(e instanceof s)return this.handlers.error(e);throw e}}},{key:"_parseMessage",value:function(e,t){var r;try{r=JSON.parse(e)}catch(t){throw new s("unparsable JSON",e)}if(!r.command)throw new s('missing "command" key',e);if(!t.includes(r.command))throw new s("invalid command '".concat(r.command,"', only valid commands are: ").concat(t.join(", "),")"),e);return r}}])&&o(t.prototype,r),c&&o(t,c),e}();r.ProtocolError=s,r.Parser=c},{"core-js/modules/es6.array.from":77,"core-js/modules/es6.object.to-string":80,"core-js/modules/es6.regexp.constructor":81,"core-js/modules/es6.regexp.match":84,"core-js/modules/es6.regexp.to-string":87,"core-js/modules/es6.string.includes":88,"core-js/modules/es6.string.iterator":89,"core-js/modules/es6.symbol":91,"core-js/modules/es7.array.includes":92,"core-js/modules/es7.symbol.async-iterator":93,"core-js/modules/web.dom.iterable":94}],101:[function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e("core-js/modules/es6.string.link"),e("core-js/modules/es6.string.iterator"),e("core-js/modules/es6.array.from"),e("core-js/modules/es6.regexp.match"),e("core-js/modules/es6.regexp.split"),e("core-js/modules/es7.symbol.async-iterator"),e("core-js/modules/es6.symbol"),e("core-js/modules/web.dom.iterable"),e("core-js/modules/es6.regexp.constructor"),e("core-js/modules/es6.regexp.replace");var o=function(e){var t,r,n;(r=e.indexOf("#"))>=0?(t=e.slice(r),e=e.slice(0,r)):t="";var o=e.indexOf("??");return o>=0?o+1!==e.lastIndexOf("?")&&(r=e.lastIndexOf("?")):r=e.indexOf("?"),r>=0?(n=e.slice(r),e=e.slice(0,r)):n="",{url:e,params:n,hash:t}},i=function(e){return e?(t=0===(e=o(e).url).indexOf("file://")?e.replace(new RegExp("^file://(localhost)?"),""):e.replace(new RegExp("^([^:]+:)?//([^:/]+)(:\\d*)?/"),"/"),decodeURIComponent(t)):"";var t},s=function(e,t){if((e=e.replace(/^\/+/,"").toLowerCase())===(t=t.replace(/^\/+/,"").toLowerCase()))return 1e4;for(var r=e.split("/").reverse(),n=t.split("/").reverse(),o=Math.min(r.length,n.length),i=0;i<o&&r[i]===n[i];)++i;return i},c=function(e,t){return s(e,t)>0},a=[{selector:"background",styleNames:["backgroundImage"]},{selector:"border",styleNames:["borderImage","webkitBorderImage","MozBorderImage"]}],l=function(){function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.window=t,this.console=r,this.Timer=n,this.document=this.window.document,this.importCacheWaitPeriod=200,this.plugins=[]}var t,r,l;return t=e,(r=[{key:"addPlugin",value:function(e){return this.plugins.push(e)}},{key:"analyze",value:function(e){}},{key:"reload",value:function(e,t){if(this.options=t,this.options.stylesheetReloadTimeout||(this.options.stylesheetReloadTimeout=15e3),this.options.pluginOrder&&this.options.pluginOrder.length)this.runPluginsByOrder(e,t);else{for(var r=0,n=Array.from(this.plugins);r<n.length;r++){var o=n[r];if(o.reload&&o.reload(e,t))return}if(!(t.liveCSS&&e.match(/\.css(?:\.map)?$/i)&&this.reloadStylesheet(e)))if(t.liveImg&&e.match(/\.(jpe?g|png|gif)$/i))this.reloadImages(e);else{if(!t.isChromeExtension)return this.reloadPage();this.reloadChromeExtension()}}}},{key:"runPluginsByOrder",value:function(e,t){var r=this;t.pluginOrder.some(function(n){return!!("css"===n&&t.liveCSS&&e.match(/\.css(?:\.map)?$/i)&&r.reloadStylesheet(e))||("img"===n&&t.liveImg&&e.match(/\.(jpe?g|png|gif)$/i)?(r.reloadImages(e),!0):"extension"===n&&t.isChromeExtension?(r.reloadChromeExtension(),!0):"others"===n?(r.reloadPage(),!0):"external"===n?r.plugins.some(function(r){if(r.reload&&r.reload(e,t))return!0}):r.plugins.filter(function(e){return e.constructor.identifier===n}).some(function(r){if(r.reload&&r.reload(e,t))return!0}))})}},{key:"reloadPage",value:function(){return this.window.document.location.reload()}},{key:"reloadChromeExtension",value:function(){return this.window.chrome.runtime.reload()}},{key:"reloadImages",value:function(e){for(var t,r=this,n=this.generateUniqueString(),o=0,s=Array.from(this.document.images);o<s.length;o++)t=s[o],c(e,i(t.src))&&(t.src=this.generateCacheBustUrl(t.src,n));if(this.document.querySelectorAll){var l=!0,u=!1,f=void 0;try{for(var d,h=a[Symbol.iterator]();!(l=(d=h.next()).done);l=!0)for(var p=d.value,_=p.selector,g=p.styleNames,v=0,y=Array.from(this.document.querySelectorAll("[style*=".concat(_,"]")));v<y.length;v++)t=y[v],this.reloadStyleImages(t.style,g,e,n)}catch(e){u=!0,f=e}finally{try{l||null==h.return||h.return()}finally{if(u)throw f}}}if(this.document.styleSheets)return Array.from(this.document.styleSheets).map(function(t){return r.reloadStylesheetImages(t,e,n)})}},{key:"reloadStylesheetImages",value:function(e,t,r){var n;try{n=(e||{}).cssRules}catch(e){}if(n)for(var o=0,i=Array.from(n);o<i.length;o++){var s=i[o];switch(s.type){case CSSRule.IMPORT_RULE:this.reloadStylesheetImages(s.styleSheet,t,r);break;case CSSRule.STYLE_RULE:var c=!0,l=!1,u=void 0;try{for(var f,d=a[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){var h=f.value.styleNames;this.reloadStyleImages(s.style,h,t,r)}}catch(e){l=!0,u=e}finally{try{c||null==d.return||d.return()}finally{if(l)throw u}}break;case CSSRule.MEDIA_RULE:this.reloadStylesheetImages(s,t,r)}}}},{key:"reloadStyleImages",value:function(e,t,r,n){var o=this,s=!0,a=!1,l=void 0;try{for(var u,f=t[Symbol.iterator]();!(s=(u=f.next()).done);s=!0){var d=u.value,h=e[d];if("string"==typeof h){var p=h.replace(new RegExp("\\burl\\s*\\(([^)]*)\\)"),function(e,t){return c(r,i(t))?"url(".concat(o.generateCacheBustUrl(t,n),")"):e});p!==h&&(e[d]=p)}}}catch(e){a=!0,l=e}finally{try{s||null==f.return||f.return()}finally{if(a)throw l}}}},{key:"reloadStylesheet",value:function(e){for(var t,r,n=this,o=function(){for(var e=[],t=0,o=Array.from(n.document.getElementsByTagName("link"));t<o.length;t++)(r=o[t]).rel.match(/^stylesheet$/i)&&!r.__LiveReload_pendingRemoval&&e.push(r);return e}(),c=[],a=0,l=Array.from(this.document.getElementsByTagName("style"));a<l.length;a++)(t=l[a]).sheet&&this.collectImportedStylesheets(t,t.sheet,c);for(var u=0,f=Array.from(o);u<f.length;u++)r=f[u],this.collectImportedStylesheets(r,r.sheet,c);if(this.window.StyleFix&&this.document.querySelectorAll)for(var d=0,h=Array.from(this.document.querySelectorAll("style[data-href]"));d<h.length;d++)t=h[d],o.push(t);this.console.log("LiveReload found ".concat(o.length," LINKed stylesheets, ").concat(c.length," @imported stylesheets"));var p=function(e,t,r){var n,o={score:0},i=!0,c=!1,a=void 0;try{for(var l,u=t[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var f=l.value;(n=s(e,r(f)))>o.score&&(o={object:f,score:n})}}catch(e){c=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(c)throw a}}return 0===o.score?null:o}(e,o.concat(c),function(e){return i(n.linkHref(e))});if(p)p.object.rule?(this.console.log("LiveReload is reloading imported stylesheet: ".concat(p.object.href)),this.reattachImportedRule(p.object)):(this.console.log("LiveReload is reloading stylesheet: ".concat(this.linkHref(p.object))),this.reattachStylesheetLink(p.object));else if(this.options.reloadMissingCSS){this.console.log("LiveReload will reload all stylesheets because path '".concat(e,"' did not match any specific one. To disable this behavior, set 'options.reloadMissingCSS' to 'false'."));for(var _=0,g=Array.from(o);_<g.length;_++)r=g[_],this.reattachStylesheetLink(r)}else this.console.log("LiveReload will not reload path '".concat(e,"' because the stylesheet was not found on the page and 'options.reloadMissingCSS' was set to 'false'."));return!0}},{key:"collectImportedStylesheets",value:function(e,t,r){var n;try{n=(t||{}).cssRules}catch(e){}if(n&&n.length)for(var o=0;o<n.length;o++){var i=n[o];switch(i.type){case CSSRule.CHARSET_RULE:continue;case CSSRule.IMPORT_RULE:r.push({link:e,rule:i,index:o,href:i.href}),this.collectImportedStylesheets(e,i.styleSheet,r)}}}},{key:"waitUntilCssLoads",value:function(e,t){var r,n=this,o=!1,i=function(){if(!o)return o=!0,t()};(e.onload=function(){return n.console.log("LiveReload: the new stylesheet has finished loading"),n.knownToSupportCssOnLoad=!0,i()},this.knownToSupportCssOnLoad)||(r=function(){return e.sheet?(n.console.log("LiveReload is polling until the new CSS finishes loading..."),i()):n.Timer.start(50,r)})();return this.Timer.start(this.options.stylesheetReloadTimeout,i)}},{key:"linkHref",value:function(e){return e.href||e.getAttribute&&e.getAttribute("data-href")}},{key:"reattachStylesheetLink",value:function(e){var t,r=this;if(!e.__LiveReload_pendingRemoval){e.__LiveReload_pendingRemoval=!0,"STYLE"===e.tagName?((t=this.document.createElement("link")).rel="stylesheet",t.media=e.media,t.disabled=e.disabled):t=e.cloneNode(!1),t.href=this.generateCacheBustUrl(this.linkHref(e));var n=e.parentNode;return n.lastChild===e?n.appendChild(t):n.insertBefore(t,e.nextSibling),this.waitUntilCssLoads(t,function(){var n;return n=/AppleWebKit/.test(navigator.userAgent)?5:200,r.Timer.start(n,function(){if(e.parentNode)return e.parentNode.removeChild(e),t.onreadystatechange=null,r.window.StyleFix?r.window.StyleFix.link(t):void 0})})}}},{key:"reattachImportedRule",value:function(e){var t=this,r=e.rule,n=e.index,o=e.link,i=r.parentStyleSheet,s=this.generateCacheBustUrl(r.href),c=r.media.length?[].join.call(r.media,", "):"",a='@import url("'.concat(s,'") ').concat(c,";");r.__LiveReload_newHref=s;var l=this.document.createElement("link");return l.rel="stylesheet",l.href=s,l.__LiveReload_pendingRemoval=!0,o.parentNode&&o.parentNode.insertBefore(l,o),this.Timer.start(this.importCacheWaitPeriod,function(){if(l.parentNode&&l.parentNode.removeChild(l),r.__LiveReload_newHref===s)return i.insertRule(a,n),i.deleteRule(n+1),(r=i.cssRules[n]).__LiveReload_newHref=s,t.Timer.start(t.importCacheWaitPeriod,function(){if(r.__LiveReload_newHref===s)return i.insertRule(a,n),i.deleteRule(n+1)})})}},{key:"generateUniqueString",value:function(){return"livereload=".concat(Date.now())}},{key:"generateCacheBustUrl",value:function(e,t){var r,n;t||(t=this.generateUniqueString());var i=o(e);if(e=i.url,r=i.hash,n=i.params,this.options.overrideURL&&e.indexOf(this.options.serverURL)<0){var s=e;e=this.options.serverURL+this.options.overrideURL+"?url="+encodeURIComponent(e),this.console.log("LiveReload is overriding source URL ".concat(s," with ").concat(e))}var c=n.replace(/(\?|&)livereload=(\d+)/,function(e,r){return"".concat(r).concat(t)});return c===n&&(c=0===n.length?"?".concat(t):"".concat(n,"&").concat(t)),e+c+r}}])&&n(t.prototype,r),l&&n(t,l),e}();r.Reloader=l},{"core-js/modules/es6.array.from":77,"core-js/modules/es6.regexp.constructor":81,"core-js/modules/es6.regexp.match":84,"core-js/modules/es6.regexp.replace":85,"core-js/modules/es6.regexp.split":86,"core-js/modules/es6.string.iterator":89,"core-js/modules/es6.string.link":90,"core-js/modules/es6.symbol":91,"core-js/modules/es7.symbol.async-iterator":93,"core-js/modules/web.dom.iterable":94}],102:[function(e,t,r){"use strict";e("core-js/modules/es6.regexp.match");var n=e("./customevents"),o=window.LiveReload=new(e("./livereload").LiveReload)(window);for(var i in window)i.match(/^LiveReloadPlugin/)&&o.addPlugin(window[i]);o.addPlugin(e("./less")),o.on("shutdown",function(){return delete window.LiveReload}),o.on("connect",function(){return n.fire(document,"LiveReloadConnect")}),o.on("disconnect",function(){return n.fire(document,"LiveReloadDisconnect")}),n.bind(document,"LiveReloadShutDown",function(){return o.shutDown()})},{"./customevents":96,"./less":97,"./livereload":98,"core-js/modules/es6.regexp.match":84}],103:[function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.func=t,this.running=!1,this.id=null,this._handler=function(){return r.running=!1,r.id=null,r.func()}}var t,r,o;return t=e,(r=[{key:"start",value:function(e){this.running&&clearTimeout(this.id),this.id=setTimeout(this._handler,e),this.running=!0}},{key:"stop",value:function(){this.running&&(clearTimeout(this.id),this.running=!1,this.id=null)}}])&&n(t.prototype,r),o&&n(t,o),e}();o.start=function(e,t){return setTimeout(t,e)},r.Timer=o},{}]},{},[102]);