zola/src/cmd/livereload.js
2020-07-24 23:46:27 +02:00

2 lines
66 KiB
JavaScript

!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,m=e&a.B,v=p?n:_?n[t]||(n[t]={}):(n[t]||{}).prototype,y=p?o:o[t]||(o[t]={}),b=y.prototype||(y.prototype={});for(l in p&&(r=t),r)f=((u=!h&&v&&void 0!==v[l])?v:r)[l],d=m&&u?c(f,n):g&&"function"==typeof f?c(Function.call,f):f,v&&s(v,l,f,e&a.U),y[l]!=f&&i(y,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}}),m=g[0],v=g[1];n(String.prototype,e,m),o(RegExp.prototype,d,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},{"./_defined":11,"./_fails":18,"./_hide":24,"./_redefine":54,"./_regexp-exec":56,"./_wks":75,"./es6.regexp.exec":83}],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,m){a(r,t,p);var v,y,b,j=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)}},x=t+" Iterator",w="values"==_,k=!1,S=e.prototype,O=S[f]||S["@@iterator"]||_&&S[_],R=O||j(_),E=_?w?j("entries"):R:void 0,L="Array"==t&&S.entries||O;if(L&&(b=u(L.call(new e)))!==Object.prototype&&b.next&&(l(b,x,!0),n||"function"==typeof b[f]||s(b,f,h)),w&&O&&"values"!==O.name&&(k=!0,R=function(){return O.call(this)}),n&&!m||!d&&!k&&S[f]||s(S,f,R),c[t]=R,c[x]=h,_)if(v={values:w?R:j("values"),keys:g?R:j("keys"),entries:E},m)for(y in v)y in S||i(S,y,v[y]);else o(o.P+o.F*(d||k),t,v);return v}},{"./_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!==_,m=0,v=u(d);if(g&&(_=n(_,p>2?arguments[2]:void 0,2)),null==v||h==Array&&c(v))for(r=new h(t=a(d.length));t>m;m++)l(r,m,g?_(d[m],m):d[m]);else for(f=v.call(d),r=new h;!(o=f.next()).done;m++)l(r,m,g?s(f,_,[o.value,m],!0):o.value);return r.length=m,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("./_object-dp").f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||e("./_descriptors")&&n(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},{"./_descriptors":12,"./_object-dp":42}],80:[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}],81:[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}],82:[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),m=0;g.length>m;)_(g[m++]);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}],83:[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}],84:[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}],85:[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}],86:[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 m=f.unicode;f.lastIndex=0}for(var v=[];;){var y=a(f,d);if(null===y)break;if(v.push(y),!g)break;""===String(y[0])&&(f.lastIndex=c(d,i(f.lastIndex),m))}for(var b,j="",x=0,w=0;w<v.length;w++){y=v[w];for(var k=String(y[0]),S=l(u(s(y.index),d.length),0),O=[],R=1;R<y.length;R++)O.push(void 0===(b=y[R])?b:String(b));var E=y.groups;if(h){var L=[k].concat(O,S,d);void 0!==E&&L.push(E);var C=String(t.apply(void 0,L))}else C=_(k,d,S,O,E,t);S>=x&&(j+=d.slice(x,S)+C,x=S+k.length)}return j+d.slice(x)}];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}],87:[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,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),v=new _(h?l:"^(?:"+l.source+")",m),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===d.length)return null===a(v,d)?[d]:[];for(var b=0,j=0,x=[];j<d.length;){v.lastIndex=h?j:0;var w,k=a(v,h?d:d.slice(j));if(null===k||(w=f(c(v.lastIndex+(h?0:j)),d.length))===b)j=s(d,j,g);else{if(x.push(d.slice(b,j)),x.length===y)return x;for(var S=1;S<=k.length-1;S++)if(x.push(k[S]),x.length===y)return x;j=b=w}}return x.push(d.slice(b)),x}]})},{"./_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}],88:[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":84}],89:[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}],90:[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}],91:[function(e,t,r){"use strict";e("./_string-html")("link",function(e){return function(t){return e(this,"a","href",t)}})},{"./_string-html":65}],92:[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"),m=e("./_is-array"),v=e("./_an-object"),y=e("./_is-object"),b=e("./_to-object"),j=e("./_to-iobject"),x=e("./_to-primitive"),w=e("./_property-desc"),k=e("./_object-create"),S=e("./_object-gopn-ext"),O=e("./_object-gopd"),R=e("./_object-gops"),E=e("./_object-dp"),L=e("./_object-keys"),C=O.f,T=E.f,A=S.f,I=n.Symbol,P=n.JSON,M=P&&P.stringify,N=h("_hidden"),U=h("toPrimitive"),D={}.propertyIsEnumerable,F=u("symbol-registry"),$=u("symbols"),B=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=$[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(B,t,r),v(e),t=x(t,!0),v(r),o($,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){v(e);for(var r,n=g(t=j(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=x(e,!0));return!(this===z&&o($,e)&&!o(B,e))&&(!(t||!o(this,e)||!o($,e)||o(this,N)&&this[N][e])||t)},X=function(e,t){if(e=j(e),t=x(t,!0),e!==z||!o($,t)||o(B,t)){var r=C(e,t);return!r||!o($,t)||o(e,N)&&e[N][t]||(r.enumerable=!0),r}},Z=function(e){for(var t,r=A(j(e)),n=[],i=0;r.length>i;)o($,t=r[i++])||t==N||t==a||n.push(t);return n},ee=function(e){for(var t,r=e===z,n=A(r?B:j(e)),i=[],s=0;n.length>s;)!o($,t=n[s++])||r&&!o(z,t)||i.push($[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(B,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,E.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=L(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))}}),P&&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],(y(t)||void 0!==e)&&!V(e))return m(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!V(t))return t}),n[1]=t,M.apply(P,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}],93:[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}],94:[function(e,t,r){e("./_wks-define")("asyncIterator")},{"./_wks-define":73}],95:[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,m=p[_],v=h[m],y=s[m],b=y&&y.prototype;if(b&&(b[u]||c(b,u,d),b[f]||c(b,f,m),a[m]=d,v))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}],96:[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.4"};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":101}],97:[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},{}],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/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":85,"core-js/modules/es6.string.iterator":90}],99:[function(e,t,r){"use strict";function n(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,s=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw s}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(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/es6.string.iterator"),e("core-js/modules/es6.array.from"),e("core-js/modules/es6.function.name"),e("core-js/modules/es6.regexp.to-string"),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 s=e("./connector").Connector,c=e("./timer").Timer,a=e("./options").Options,l=e("./reloader").Reloader,u=e("./protocol").ProtocolError,f=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 a;for(var n=0,o=Object.keys(t.LiveReloadOptions||{});n<o.length;n++){var i=o[n],f=t.LiveReloadOptions[i];this.options.set(i,f)}}else if(this.options=a.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 l(this.window,this.console,c),this.connector=new s(this.options,this.WebSocket,c,{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 u){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,o;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:c,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={},r=n(this.plugins);try{for(r.s();!(e=r.n()).done;){var o=e.value,i=("function"==typeof o.analyze?o.analyze():void 0)||{};t[o.constructor.identifier]=i,i.version=o.constructor.version}}catch(e){r.e(e)}finally{r.f()}this.connector.sendCommand({command:"info",plugins:t,url:this.window.location.href})}}}])&&i(t.prototype,r),o&&i(t,o),e}();r.LiveReload=f},{"./connector":96,"./options":100,"./protocol":101,"./reloader":102,"./timer":104,"core-js/modules/es6.array.from":77,"core-js/modules/es6.array.iterator":78,"core-js/modules/es6.function.name":79,"core-js/modules/es6.object.keys":80,"core-js/modules/es6.object.to-string":81,"core-js/modules/es6.regexp.match":85,"core-js/modules/es6.regexp.to-string":88,"core-js/modules/es6.string.iterator":90,"core-js/modules/es6.symbol":92,"core-js/modules/es7.symbol.async-iterator":94,"core-js/modules/web.dom.iterable":95}],100:[function(e,t,r){"use strict";function n(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,s=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw s}}}}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(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)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(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.function.name"),e("core-js/modules/es6.regexp.to-string"),e("core-js/modules/es6.object.to-string"),e("core-js/modules/web.dom.iterable"),e("core-js/modules/es7.symbol.async-iterator"),e("core-js/modules/es6.symbol"),e("core-js/modules/es6.regexp.replace"),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 a=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)}}])&&c(t.prototype,r),n&&c(t,n),e}();a.extract=function(e){for(var t=0,r=Array.from(e.getElementsByTagName("script"));t<r.length;t++){var i,s,c=r[t],l=c.src,u=c.getAttribute("src");if((i=l.match(/^([^:]+:\/\/([^/:]+)(?::(\d+))?\/|\/\/|\/)?([^/].*\/)?z?livereload\.js(?:\?(.*))?$/))&&(s=u.match(/^(?:(?:([^:/]+)?:?)\/{0,2})([^:]+)(?::(\d+))?/))){var f=o(i,6),d=f[2],h=f[3],p=f[5],_=o(s,4)[3],g=new a;if(g.https=0===c.src.indexOf("https"),g.host=d,g.port=h?parseInt(h,10):_?parseInt(_,10):g.port,p){var m,v=n(p.split("&"));try{for(v.s();!(m=v.n()).done;){var y;(y=m.value.split("=")).length>1&&g.set(y[0].replace(/-/g,"_"),y.slice(1).join("="))}}catch(e){v.e(e)}finally{v.f()}}return g}}return null},r.Options=a},{"core-js/modules/es6.array.from":77,"core-js/modules/es6.function.name":79,"core-js/modules/es6.object.to-string":81,"core-js/modules/es6.regexp.match":85,"core-js/modules/es6.regexp.replace":86,"core-js/modules/es6.regexp.split":87,"core-js/modules/es6.regexp.to-string":88,"core-js/modules/es6.string.iterator":90,"core-js/modules/es6.symbol":92,"core-js/modules/es7.symbol.async-iterator":94,"core-js/modules/web.dom.iterable":95}],101:[function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(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(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(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 s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e("core-js/modules/es6.function.name"),e("core-js/modules/es6.regexp.to-string"),e("core-js/modules/es6.object.to-string"),e("core-js/modules/web.dom.iterable"),e("core-js/modules/es7.symbol.async-iterator"),e("core-js/modules/es6.symbol"),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 c=function e(t,r){s(this,e),this.message="LiveReload protocol error (".concat(t,') after receiving data: "').concat(r,'".')},a=function(){function e(t){s(this,e),this.handlers=t,this.reset()}var t,r,o;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 c("protocol 6 messages must be arrays");var r=n(Array.from(t),2),o=r[0],i=r[1];if("refresh"!==o)throw new c("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 c("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 c("no supported protocols found");this.protocol=6}}return this.handlers.connected(this.protocol)}catch(e){if(e instanceof c)return this.handlers.error(e);throw e}}},{key:"_parseMessage",value:function(e,t){var r;try{r=JSON.parse(e)}catch(t){throw new c("unparsable JSON",e)}if(!r.command)throw new c('missing "command" key',e);if(!t.includes(r.command))throw new c("invalid command '".concat(r.command,"', only valid commands are: ").concat(t.join(", "),")"),e);return r}}])&&i(t.prototype,r),o&&i(t,o),e}();r.ProtocolError=c,r.Parser=a},{"core-js/modules/es6.array.from":77,"core-js/modules/es6.function.name":79,"core-js/modules/es6.object.to-string":81,"core-js/modules/es6.regexp.constructor":82,"core-js/modules/es6.regexp.match":85,"core-js/modules/es6.regexp.to-string":88,"core-js/modules/es6.string.includes":89,"core-js/modules/es6.string.iterator":90,"core-js/modules/es6.symbol":92,"core-js/modules/es7.array.includes":93,"core-js/modules/es7.symbol.async-iterator":94,"core-js/modules/web.dom.iterable":95}],102:[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)}}function o(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){a=!0,s=e},f:function(){try{c||null==r.return||r.return()}finally{if(a)throw s}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}e("core-js/modules/web.dom.iterable"),e("core-js/modules/es7.symbol.async-iterator"),e("core-js/modules/es6.symbol"),e("core-js/modules/es6.function.name"),e("core-js/modules/es6.regexp.to-string"),e("core-js/modules/es6.object.to-string"),e("core-js/modules/es6.string.link"),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"),e("core-js/modules/es6.regexp.constructor"),e("core-js/modules/es6.regexp.replace");var s=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}},c=function(e){return e?(t=0===(e=s(e).url).indexOf("file://")?e.replace(new RegExp("^file://(localhost)?"),""):e.replace(new RegExp("^([^:]+:)?//([^:/]+)(:\\d*)?/"),"/"),decodeURIComponent(t)):"";var t},a=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},l=function(e,t){return a(e,t)>0},u=[{selector:"background",styleNames:["backgroundImage"]},{selector:"border",styleNames:["borderImage","webkitBorderImage","MozBorderImage"]}],f=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,i;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(),i=0,s=Array.from(this.document.images);i<s.length;i++)t=s[i],l(e,c(t.src))&&(t.src=this.generateCacheBustUrl(t.src,n));if(this.document.querySelectorAll){var a,f=o(u);try{for(f.s();!(a=f.n()).done;)for(var d=a.value,h=d.selector,p=d.styleNames,_=0,g=Array.from(this.document.querySelectorAll("[style*=".concat(h,"]")));_<g.length;_++)t=g[_],this.reloadStyleImages(t.style,p,e,n)}catch(e){f.e(e)}finally{f.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 i=0,s=Array.from(n);i<s.length;i++){var c=s[i];switch(c.type){case CSSRule.IMPORT_RULE:this.reloadStylesheetImages(c.styleSheet,t,r);break;case CSSRule.STYLE_RULE:var a,l=o(u);try{for(l.s();!(a=l.n()).done;){var f=a.value.styleNames;this.reloadStyleImages(c.style,f,t,r)}}catch(e){l.e(e)}finally{l.f()}break;case CSSRule.MEDIA_RULE:this.reloadStylesheetImages(c,t,r)}}}},{key:"reloadStyleImages",value:function(e,t,r,n){var i,s=this,a=o(t);try{for(a.s();!(i=a.n()).done;){var u=i.value,f=e[u];if("string"==typeof f){var d=f.replace(new RegExp("\\burl\\s*\\(([^)]*)\\)"),function(e,t){return l(r,c(t))?"url(".concat(s.generateCacheBustUrl(t,n),")"):e});d!==f&&(e[u]=d)}}}catch(e){a.e(e)}finally{a.f()}}},{key:"reloadStylesheet",value:function(e){for(var t,r,n=this,i=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}(),s=[],l=0,u=Array.from(this.document.getElementsByTagName("style"));l<u.length;l++)(t=u[l]).sheet&&this.collectImportedStylesheets(t,t.sheet,s);for(var f=0,d=Array.from(i);f<d.length;f++)r=d[f],this.collectImportedStylesheets(r,r.sheet,s);if(this.window.StyleFix&&this.document.querySelectorAll)for(var h=0,p=Array.from(this.document.querySelectorAll("style[data-href]"));h<p.length;h++)t=p[h],i.push(t);this.console.log("LiveReload found ".concat(i.length," LINKed stylesheets, ").concat(s.length," @imported stylesheets"));var _=function(e,t,r){var n,i,s={score:0},c=o(t);try{for(c.s();!(i=c.n()).done;){var l=i.value;(n=a(e,r(l)))>s.score&&(s={object:l,score:n})}}catch(e){c.e(e)}finally{c.f()}return 0===s.score?null:s}(e,i.concat(s),function(e){return c(n.linkHref(e))});if(_)_.object.rule?(this.console.log("LiveReload is reloading imported stylesheet: ".concat(_.object.href)),this.reattachImportedRule(_.object)):(this.console.log("LiveReload is reloading stylesheet: ".concat(this.linkHref(_.object))),this.reattachStylesheetLink(_.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 g=0,m=Array.from(i);g<m.length;g++)r=m[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 o=s(e);if(e=o.url,r=o.hash,n=o.params,this.options.overrideURL&&e.indexOf(this.options.serverURL)<0){var i=e;e=this.options.serverURL+this.options.overrideURL+"?url="+encodeURIComponent(e),this.console.log("LiveReload is overriding source URL ".concat(i," 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),i&&n(t,i),e}();r.Reloader=f},{"core-js/modules/es6.array.from":77,"core-js/modules/es6.function.name":79,"core-js/modules/es6.object.to-string":81,"core-js/modules/es6.regexp.constructor":82,"core-js/modules/es6.regexp.match":85,"core-js/modules/es6.regexp.replace":86,"core-js/modules/es6.regexp.split":87,"core-js/modules/es6.regexp.to-string":88,"core-js/modules/es6.string.iterator":90,"core-js/modules/es6.string.link":91,"core-js/modules/es6.symbol":92,"core-js/modules/es7.symbol.async-iterator":94,"core-js/modules/web.dom.iterable":95}],103:[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":97,"./less":98,"./livereload":99,"core-js/modules/es6.regexp.match":85}],104:[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},{}]},{},[103]);