Files
Grav-Admin-Plugin/themes/grav/js/admin.min.js
2016-03-04 18:02:53 -08:00

13 lines
350 KiB
JavaScript
Vendored
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var Grav=webpackJsonpGrav([0],[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=r(i),a=n(295),s=r(a),u=n(296),c=r(u),l=n(301),f=r(l),d=n(306),p=r(d),h=n(385),m=r(h);n(475),n(476),n(477),n(478),n(479);var v=n(480),g=r(v);s["default"].start(),e["default"]={GPM:{GPM:o["default"],Instance:i.Instance},KeepAlive:s["default"],Dashboard:f["default"],Pages:p["default"],Forms:m["default"],Updates:{Updates:c["default"],Instance:u.Instance},MobileSidebar:{MobileSidebar:g["default"],Instance:v.Instance}}},function(t,e,n){(function(t){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(288),u=n(293),c=n(294),l=function(e){function n(){var t=arguments.length<=0||void 0===arguments[0]?"getUpdates":arguments[0];r(this,n);var e=i(this,Object.getPrototypeOf(n).call(this));return e.payload={},e.raw={},e.action=t,e}return o(n,e),a(n,[{key:"setPayload",value:function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return this.payload=t,this.emit("payload",t),this}},{key:"setAction",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"getUpdates":arguments[0];return this.action=t,this.emit("action",t),this}},{key:"fetch",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){var e=this,n=arguments.length<=0||void 0===arguments[0]?function(){return!0}:arguments[0],r=arguments.length<=1||void 0===arguments[1]?!1:arguments[1],i=new FormData;i.append("task","GPM"),i.append("action",this.action),r&&i.append("flush",!0),this.emit("fetching",this),t(u.config.base_url_relative,{credentials:"same-origin",method:"post",body:i}).then(function(t){return e.raw=t,t}).then(s.parseStatus).then(s.parseJSON).then(function(t){return e.response(t)}).then(function(t){return n(t,e.raw)}).then(function(t){return e.emit("fetched",e.payload,e.raw,e)})["catch"](s.userFeedbackError)})},{key:"response",value:function(t){return this.payload=t,t}}]),n}(c.EventEmitter);e["default"]=l;e.Instance=new l}).call(e,n(2))},function(t,e,n){(function(e,n){(function(){!function(t){"use strict";function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function r(t){return"string"!=typeof t&&(t=String(t)),t}function i(t){this.map={},t instanceof i?t.forEach(function(t,e){this.append(e,t)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function o(t){return t.bodyUsed?e.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function a(t){return new e(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function s(t){var e=new FileReader;return e.readAsArrayBuffer(t),a(e)}function u(t){var e=new FileReader;return e.readAsText(t),a(e)}function c(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(m.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(m.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(t){if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type&&this.headers.set("content-type",this._bodyBlob.type))},m.blob?(this.blob=function(){var t=o(this);if(t)return t;if(this._bodyBlob)return e.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return e.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(s)},this.text=function(){var t=o(this);if(t)return t;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return e.resolve(this._bodyText)}):this.text=function(){var t=o(this);return t?t:e.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function l(t){var e=t.toUpperCase();return v.indexOf(e)>-1?e:t}function f(t,e){e=e||{};var n=e.body;if(f.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new i(t.headers)),this.method=t.method,this.mode=t.mode,n||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new i(e.headers)),this.method=l(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function d(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}}),e}function p(t){var e=new i,n=t.getAllResponseHeaders().trim().split("\n");return n.forEach(function(t){var n=t.trim().split(":"),r=n.shift().trim(),i=n.join(":").trim();e.append(r,i)}),e}function h(t,e){e||(e={}),this.type="default",this.status=e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText,this.headers=e.headers instanceof i?e.headers:new i(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){i.prototype.append=function(t,e){t=n(t),e=r(e);var i=this.map[t];i||(i=[],this.map[t]=i),i.push(e)},i.prototype["delete"]=function(t){delete this.map[n(t)]},i.prototype.get=function(t){var e=this.map[n(t)];return e?e[0]:null},i.prototype.getAll=function(t){return this.map[n(t)]||[]},i.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},i.prototype.set=function(t,e){this.map[n(t)]=[r(e)]},i.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){t.call(e,r,n,this)},this)},this)};var m={blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t},v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this)},c.call(f.prototype),c.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},h.error=function(){var t=new h(null,{status:0,statusText:""});return t.type="error",t};var g=[301,302,303,307,308];h.redirect=function(t,e){if(-1===g.indexOf(e))throw new RangeError("Invalid status code");return new h(null,{status:e,headers:{location:t}})},t.Headers=i,t.Request=f,t.Response=h,t.fetch=function(t,n){return new e(function(e,r){function i(){return"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0}var o;o=f.prototype.isPrototypeOf(t)&&!n?t:new f(t,n);var a=new XMLHttpRequest;a.onload=function(){var t=1223===a.status?204:a.status;if(100>t||t>599)return void r(new TypeError("Network request failed"));var n={status:t,statusText:a.statusText,headers:p(a),url:i()},o="response"in a?a.response:a.responseText;e(new h(o,n))},a.onerror=function(){r(new TypeError("Network request failed"))},a.open(o.method,o.url,!0),"include"===o.credentials&&(a.withCredentials=!0),"responseType"in a&&m.blob&&(a.responseType="blob"),o.headers.forEach(function(t,e){a.setRequestHeader(e,t)}),a.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this),t.exports=n.fetch}).call(n)}).call(e,n(3),function(){return this}())},function(t,e,n){(function(e){(function(){"use strict";function r(t,e,n){t[e]||i(t,e,{writable:!0,configurable:!0,value:n})}var i=n(4)["default"];if(n(7),n(283),n(285),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0,r(String.prototype,"padLeft","".padStart),r(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&r(Array,t,Function.call.bind([][t]))}),t.exports=e.Promise}).call(e)}).call(e,function(){return this}())},function(t,e,n){t.exports={"default":n(5),__esModule:!0}},function(t,e,n){var r=n(6);t.exports=function(t,e,n){return r.setDesc(t,e,n)}},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){n(8),n(55),n(56),n(57),n(58),n(60),n(63),n(64),n(65),n(66),n(67),n(68),n(69),n(70),n(71),n(73),n(75),n(77),n(79),n(82),n(83),n(84),n(88),n(90),n(92),n(96),n(97),n(98),n(99),n(101),n(102),n(103),n(104),n(105),n(106),n(107),n(109),n(110),n(111),n(113),n(114),n(115),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(135),n(136),n(140),n(141),n(142),n(143),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(167),n(168),n(170),n(171),n(172),n(175),n(176),n(177),n(178),n(179),n(181),n(182),n(183),n(184),n(187),n(189),n(190),n(191),n(193),n(195),n(197),n(198),n(199),n(201),n(202),n(203),n(204),n(210),n(213),n(214),n(216),n(217),n(220),n(221),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(244),n(245),n(246),n(247),n(248),n(249),n(251),n(252),n(253),n(254),n(255),n(257),n(258),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(281),n(282),t.exports=n(10)},function(t,e,n){"use strict";var r=n(9),i=n(10),o=n(11),a=n(12),s=n(14),u=n(23),c=n(27).KEY,l=n(13),f=n(28),d=n(29),p=n(24),h=n(30),m=n(31),v=n(44),g=n(47),_=n(17),y=n(34),b=n(21),x=n(22),w=n(48),k=n(51),S=n(53),A=n(16),M=S.f,I=A.f,O=k.f,E=r.Symbol,j=r.JSON,z=j&&j.stringify,P=!1,C=h("_hidden"),T={}.propertyIsEnumerable,L=f("symbol-registry"),D=f("symbols"),q=Object.prototype,N="function"==typeof E,F=a&&l(function(){return 7!=w(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=M(q,e);r&&delete q[e],I(t,e,n),r&&t!==q&&I(q,e,r)}:I,U=function(t){var e=D[t]=w(E.prototype);return e._k=t,a&&P&&F(q,t,{configurable:!0,set:function(e){o(this,C)&&o(this[C],t)&&(this[C][t]=!1),F(this,t,x(1,e))}}),e},R=function(t){return"symbol"==typeof t},B=function(t,e,n){return _(t),e=b(e,!0),_(n),o(D,e)?(n.enumerable?(o(t,C)&&t[C][e]&&(t[C][e]=!1),n=w(n,{enumerable:x(0,!1)})):(o(t,C)||I(t,C,x(1,{})),t[C][e]=!0),F(t,e,n)):I(t,e,n)},V=function(t,e){_(t);for(var n,r=v(e=y(e)),i=0,o=r.length;o>i;)B(t,n=r[i++],e[n]);return t},K=function(t,e){return void 0===e?w(t):V(w(t),e)},W=function(t){var e=T.call(this,t=b(t,!0));return e||!o(this,t)||!o(D,t)||o(this,C)&&this[C][t]?e:!0},G=function(t,e){var n=M(t=y(t),e=b(e,!0));return!n||!o(D,e)||o(t,C)&&t[C][e]||(n.enumerable=!0),n},$=function(t){for(var e,n=O(y(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])||e==C||e==c||r.push(e);return r},H=function(t){for(var e,n=O(y(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])&&r.push(D[e]);return r},J=function(t){if(void 0!==t&&!R(t)){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return e=r[1],"function"==typeof e&&(n=e),!n&&g(e)||(e=function(t,e){return n&&(e=n.call(this,t,e)),R(e)?void 0:e}),r[1]=e,z.apply(j,r)}},Y=l(function(){var t=E();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))});N||(E=function(){if(R(this))throw TypeError("Symbol is not a constructor");return U(p(arguments.length>0?arguments[0]:void 0))},u(E.prototype,"toString",function(){return this._k}),R=function(t){return t instanceof E},S.f=G,A.f=B,n(52).f=k.f=$,n(46).f=W,n(45).f=H,a&&!n(54)&&u(q,"propertyIsEnumerable",W,!0)),s(s.G+s.W+s.F*!N,{Symbol:E});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),X=0;Q.length>X;){var Z=Q[X++],tt=i.Symbol,et=h(Z);Z in tt||I(tt,Z,{value:N?et:U(et)})}P=!0,s(s.S+s.F*!N,"Symbol",{"for":function(t){return o(L,t+="")?L[t]:L[t]=E(t)},keyFor:function(t){return m(L,t)},useSetter:function(){P=!0},useSimple:function(){P=!1}}),s(s.S+s.F*!N,"Object",{create:K,defineProperty:B,defineProperties:V,getOwnPropertyDescriptor:G,getOwnPropertyNames:$,getOwnPropertySymbols:H}),j&&s(s.S+s.F*(!N||Y),"JSON",{stringify:J}),d(E,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(t,e){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)},function(t,e){var n=t.exports={version:"2.1.3"};"number"==typeof __e&&(__e=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var r=n(9),i=n(10),o=n(15),a=n(23),s=n(25),u="prototype",c=function(t,e,n){var l,f,d,p,h=t&c.F,m=t&c.G,v=t&c.S,g=t&c.P,_=t&c.B,y=m?r:v?r[e]||(r[e]={}):(r[e]||{})[u],b=m?i:i[e]||(i[e]={}),x=b[u]||(b[u]={});m&&(n=e);for(l in n)f=!h&&y&&void 0!==y[l],d=(f?y:n)[l],p=_&&f?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,y&&a(y,l,d,t&c.U),b[l]!=d&&o(b,l,p),g&&x[l]!=d&&(x[l]=d)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(16),i=n(22);t.exports=n(12)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(17),i=n(19),o=n(21),a=Object.defineProperty;e.f=n(12)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(18);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(12)&&!n(13)(function(){return 7!=Object.defineProperty(n(20)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(18),i=n(9).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(18);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(9),i=n(15),o=n(11),a=n(24)("src"),s="toString",u=Function[s],c=(""+u).split(s);n(10).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,s){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,a)||i(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||u.call(this)})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(26);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(24)("meta"),i=n(18),o=n(11),a=n(16).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(13)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},d=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},p=function(t){return c&&h.NEED&&u(t)&&!o(t,r)&&l(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(t,e,n){var r=n(9),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(16).f,i=n(11),o=n(30)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(28)("wks"),i=n(24),o=n(9).Symbol,a="function"==typeof o;t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}},function(t,e,n){var r=n(32),i=n(34);t.exports=function(t,e){for(var n,o=i(t),a=r(o),s=a.length,u=0;s>u;)if(o[n=a[u++]]===e)return n}},function(t,e,n){var r=n(33),i=n(43);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(11),i=n(34),o=n(38)(!1),a=n(42)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(35),i=n(37);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(36);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(34),i=n(39),o=n(41);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l;return!t&&-1}}},function(t,e,n){var r=n(40),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(40),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),0>t?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(28)("keys"),i=n(24);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(32),i=n(45),o=n(46);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(36);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(17),i=n(49),o=n(43),a=n(42)("IE_PROTO"),s=function(){},u="prototype",c=function(){var t,e=n(20)("iframe"),r=o.length,i=">";for(e.style.display="none",n(50).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object</script"+i),t.close(),c=t.F;r--;)delete c[u][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[u]=r(t),n=new s,s[u]=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(16),i=n(17),o=n(32);t.exports=n(12)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){t.exports=n(9).document&&document.documentElement},function(t,e,n){var r=n(34),i=n(52).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i.f(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},function(t,e,n){var r=n(33),i=n(43).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(46),i=n(22),o=n(34),a=n(21),s=n(11),u=n(19),c=Object.getOwnPropertyDescriptor;e.f=n(12)?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(n){}return s(t,e)?i(!r.f.call(t,e),t[e]):void 0}},function(t,e){t.exports=!1},function(t,e,n){var r=n(14);r(r.S,"Object",{create:n(48)})},function(t,e,n){var r=n(14);r(r.S+r.F*!n(12),"Object",{defineProperty:n(16).f})},function(t,e,n){var r=n(14);r(r.S+r.F*!n(12),"Object",{defineProperties:n(49)})},function(t,e,n){var r=n(34),i=n(53).f;n(59)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){var r=n(14),i=n(10),o=n(13);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(61),i=n(62);n(59)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(37);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(11),i=n(61),o=n(42)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(61),i=n(32);n(59)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){n(59)("getOwnPropertyNames",function(){return n(51).f})},function(t,e,n){var r=n(18),i=n(27).onFreeze;n(59)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(18),i=n(27).onFreeze;n(59)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(18),i=n(27).onFreeze;n(59)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(18);n(59)("isFrozen",function(t){return function(e){return r(e)?t?t(e):!1:!0}})},function(t,e,n){var r=n(18);n(59)("isSealed",function(t){return function(e){return r(e)?t?t(e):!1:!0}})},function(t,e,n){var r=n(18);n(59)("isExtensible",function(t){return function(e){return r(e)?t?t(e):!0:!1}})},function(t,e,n){var r=n(14);r(r.S+r.F,"Object",{assign:n(72)})},function(t,e,n){"use strict";var r=n(32),i=n(45),o=n(46),a=n(61),s=n(35);t.exports=n(13)(function(){var t=Object.assign,e={},n={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!=t({},e)[r]||Object.keys(t({},n)).join("")!=i})?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=i.f,f=o.f;u>c;)for(var d,p=s(arguments[c++]),h=l?r(p).concat(l(p)):r(p),m=h.length,v=0;m>v;)f.call(p,d=h[v++])&&(n[d]=p[d]);return n}:Object.assign},function(t,e,n){var r=n(14);r(r.S,"Object",{is:n(74)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){var r=n(14);r(r.S,"Object",{setPrototypeOf:n(76).set})},function(t,e,n){var r=n(18),i=n(17),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(25)(Function.call,n(53).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){"use strict";var r=n(78),i={};i[n(30)("toStringTag")]="z",i+""!="[object z]"&&n(23)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(36),i=n(30)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=(e=Object(t))[i])?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(14);r(r.P,"Function",{bind:n(80)})},function(t,e,n){"use strict";var r=n(26),i=n(18),o=n(81),a=[].slice,s={},u=function(t,e,n){if(!(e in s)){for(var r=[],i=0;e>i;i++)r[i]="a["+i+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?u(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(16).f,i=n(22),o=n(11),a=Function.prototype,s=/^\s*function ([^ (]*)/,u="name";u in a||n(12)&&r(a,u,{configurable:!0,get:function(){var t=(""+this).match(s),e=t?t[1]:"";return o(this,u)||r(this,u,i(5,e)),e}})},function(t,e,n){"use strict";var r=n(18),i=n(62),o=n(30)("hasInstance"),a=Function.prototype;o in a||n(16).f(a,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(14),i=n(85);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(9).parseInt,i=n(86).trim,o=n(87),a=/^[\-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(14),i=n(37),o=n(13),a=n(87),s="["+a+"]",u="…",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var i={},s=o(function(){return!!a[t]()||u[t]()!=u}),c=i[t]=s?e(d):a[t];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},d=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},function(t,e){t.exports=" \n\x0B\f\r    \u2028\u2029\ufeff"},function(t,e,n){var r=n(14),i=n(89);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){var r=n(9).parseFloat,i=n(86).trim;t.exports=1/r(n(87)+"-0")!==-(1/0)?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){"use strict";var r=n(9),i=n(11),o=n(36),a=n(91),s=n(21),u=n(13),c=n(52).f,l=n(53).f,f=n(16).f,d=n(86).trim,p="Number",h=r[p],m=h,v=h.prototype,g=o(n(48)(v))==p,_="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=_?e.trim():d(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,u=e.slice(2),c=0,l=u.length;l>c;c++)if(a=u.charCodeAt(c),48>a||a>i)return NaN;return parseInt(u,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(g?u(function(){v.valueOf.call(n)}):o(n)!=p)?a(new m(y(e)),n,h):y(e)};for(var b,x=n(12)?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;x.length>w;w++)i(m,b=x[w])&&!i(h,b)&&f(h,b,l(m,b));h.prototype=v,v.constructor=h,n(23)(r,p,h)}},function(t,e,n){var r=n(18),i=n(76).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e,n){"use strict";var r=n(14),i=(n(93),n(40)),o=n(94),a=n(95),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",d=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+a.call(f,7-n.length)+n}return e},m=function(t,e,n){return 0===e?n:e%2===1?m(t,e-1,n*t):m(t*t,e/2,n)},v=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!n(13)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,r,s,u=o(this,l),c=i(t),g="",_=f;if(0>c||c>20)throw RangeError(l);if(u!=u)return"NaN";if(-1e21>=u||u>=1e21)return String(u);if(0>u&&(g="-",u=-u),u>1e-21)if(e=v(u*m(2,69,1))-69,n=0>e?u*m(2,-e,1):u/m(2,e,1),n*=4503599627370496,e=52-e,e>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(m(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<<r),d(1,1),p(2),_=h()}else d(0,n),d(1<<-e,0),_=h()+a.call(f,c);return c>0?(s=_.length,_=g+(c>=s?"0."+a.call(f,c-s)+_:_.slice(0,s-c)+"."+_.slice(s-c))):_=g+_,_}})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(36);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(40),i=n(37);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(0>o||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){"use strict";var r=n(14),i=n(13),o=n(94),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(14);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(14),i=n(9).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(14);r(r.S,"Number",{isInteger:n(100)})},function(t,e,n){var r=n(18),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e,n){var r=n(14);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(14),i=n(100),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(14);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(14);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(14),i=n(89);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(14),i=n(85);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){var r=n(14),i=n(108),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&1e-8>t?t-t*t/2:Math.log(1+t)}},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?0>t?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=n(14);i(i.S,"Math",{asinh:r})},function(t,e,n){var r=n(14);r(r.S,"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(14),i=n(112);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3);
}})},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:0>t?-1:1}},function(t,e,n){var r=n(14);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(14),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(14);r(r.S,"Math",{expm1:n(116)})},function(t,e){t.exports=Math.expm1||function(t){return 0==(t=+t)?t:t>-1e-6&&1e-6>t?t+t*t/2:Math.exp(t)-1}},function(t,e,n){var r=n(14),i=n(112),o=Math.pow,a=o(2,-52),s=o(2,-23),u=o(2,127)*(2-s),c=o(2,-126),l=function(t){return t+1/a-1/a};r(r.S,"Math",{fround:function(t){var e,n,r=Math.abs(t),o=i(t);return c>r?o*l(r/c/s)*c*s:(e=(1+s/a)*r,n=e-(e-r),n>u||n!=n?o*(1/0):o*n)}})},function(t,e,n){var r=n(14),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,a=0,s=arguments.length,u=0;s>a;)n=i(arguments[a++]),n>u?(r=u/n,o=o*r*r+1,u=n):n>0?(r=n/u,o+=r*r):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var r=n(14),i=Math.imul;r(r.S+r.F*n(13)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},function(t,e,n){var r=n(14);r(r.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var r=n(14);r(r.S,"Math",{log1p:n(108)})},function(t,e,n){var r=n(14);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(14);r(r.S,"Math",{sign:n(112)})},function(t,e,n){var r=n(14),i=n(116),o=Math.exp;r(r.S+r.F*n(13)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(14),i=n(116),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(14);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(14),i=n(41),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(65536>e?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(14),i=n(34),o=n(39);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),r>s&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){"use strict";n(86)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(131)(!0);n(132)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(40),i=n(37);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),c=s.length;return 0>u||u>=c?t?"":void 0:(o=s.charCodeAt(u),55296>o||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):(o-55296<<10)+(a-56320)+65536)}}},function(t,e,n){"use strict";var r=n(54),i=n(14),o=n(23),a=n(15),s=n(11),u=n(133),c=n(134),l=n(29),f=n(62),d=n(30)("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",v="values",g=function(){return this};t.exports=function(t,e,n,_,y,b,x){c(n,e,_);var w,k,S,A=function(t){if(!p&&t in E)return E[t];switch(t){case m:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},M=e+" Iterator",I=y==v,O=!1,E=t.prototype,j=E[d]||E[h]||y&&E[y],z=j||A(y),P=y?I?A("entries"):z:void 0,C="Array"==e?E.entries||j:j;if(C&&(S=f(C.call(new t)),S!==Object.prototype&&(l(S,M,!0),r||s(S,d)||a(S,d,g))),I&&j&&j.name!==v&&(O=!0,z=function(){return j.call(this)}),r&&!x||!p&&!O&&E[d]||a(E,d,z),u[e]=z,u[M]=g,y)if(w={values:I?z:A(v),keys:b?z:A(m),entries:P},x)for(k in w)k in E||o(E,k,w[k]);else i(i.P+i.F*(p||O),e,w);return w}},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(48),i=n(22),o=n(29),a={};n(15)(a,n(30)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var r=n(14),i=n(131)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(14),i=n(39),o=n(137),a="endsWith",s=""[a];r(r.P+r.F*n(139)(a),"String",{endsWith:function(t){var e=o(this,t,a),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),u=void 0===n?r:Math.min(i(n),r),c=String(t);return s?s.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){var r=n(138),i=n(37);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){var r=n(18),i=n(36),o=n(30)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(30)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},function(t,e,n){"use strict";var r=n(14),i=n(137),o="includes";r(r.P+r.F*n(139)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(14);r(r.P,"String",{repeat:n(95)})},function(t,e,n){"use strict";var r=n(14),i=n(39),o=n(137),a="startsWith",s=""[a];r(r.P+r.F*n(139)(a),"String",{startsWith:function(t){var e=o(this,t,a),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(144)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){var r=n(14),i=n(13),o=n(37),a=/"/g,s=function(t,e,n,r){var i=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";n(144)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(144)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(144)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(144)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(144)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(144)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(144)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(144)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(144)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(144)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(144)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(144)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(14);r(r.S,"Date",{now:function(){return+new Date}})},function(t,e,n){var r=Date.prototype,i="Invalid Date",o="toString",a=r[o];new Date(NaN)+""!=i&&n(23)(r,o,function(){var t=+this;return t===t?a.call(this):i})},function(t,e,n){"use strict";var r=n(14),i=n(13),o=function(t){return t>9?t:"0"+t};r(r.P+r.F*(i(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!i(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(this))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=0>e?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+o(t.getUTCMonth()+1)+"-"+o(t.getUTCDate())+"T"+o(t.getUTCHours())+":"+o(t.getUTCMinutes())+":"+o(t.getUTCSeconds())+"."+(n>99?n:"0"+o(n))+"Z"}})},function(t,e,n){"use strict";var r=n(14),i=n(61),o=n(21);r(r.P+r.F*n(13)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(14);r(r.S,"Array",{isArray:n(47)})},function(t,e,n){"use strict";var r=n(25),i=n(14),o=n(61),a=n(163),s=n(164),u=n(39),c=n(165);i(i.S+i.F*!n(166)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,l,f=o(t),d="function"==typeof this?this:Array,p=arguments.length,h=p>1?arguments[1]:void 0,m=void 0!==h,v=0,g=c(f);if(m&&(h=r(h,p>2?arguments[2]:void 0,2)),void 0==g||d==Array&&s(g))for(e=u(f.length),n=new d(e);e>v;v++)n[v]=m?h(f[v],v):f[v];else for(l=g.call(f),n=new d;!(i=l.next()).done;v++)n[v]=m?a(l,h,[i.value,v],!0):i.value;return n.length=v,n}})},function(t,e,n){var r=n(17);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(o){var a=t["return"];throw void 0!==a&&r(a.call(t)),o}}},function(t,e,n){var r=n(133),i=n(30)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(78),i=n(30)("iterator"),o=n(133);t.exports=n(10).getIteratorMethod=function(t){return void 0!=t?t[i]||t["@@iterator"]||o[r(t)]:void 0}},function(t,e,n){var r=n(30)("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,function(){throw 2})}catch(a){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){n=!0},o[r]=function(){return a},t(o)}catch(s){}return n}},function(t,e,n){"use strict";var r=n(14);r(r.S+r.F*n(13)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)n[t]=arguments[t++];return n.length=e,n}})},function(t,e,n){"use strict";var r=n(14),i=n(34),o=[].join;r(r.P+r.F*(n(35)!=Object||!n(169)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){var r=n(13);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";var r=n(14),i=n(50),o=n(36),a=n(41),s=n(39),u=[].slice;r(r.P+r.F*n(13)(function(){i&&u.call(i)}),"Array",{slice:function(t,e){var n=s(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var i=a(t,n),c=a(e,n),l=s(c-i),f=Array(l),d=0;l>d;d++)f[d]="String"==r?this.charAt(i+d):this[i+d];return f}})},function(t,e,n){"use strict";var r=n(14),i=n(26),o=n(61),a=n(13),s=[].sort,u=[1,2,3];r(r.P+r.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!n(169)(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),i(t))}})},function(t,e,n){"use strict";var r=n(14),i=n(173)(0),o=n(169)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(25),i=n(35),o=n(61),a=n(39),s=n(174);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,f=6==t,d=5==t||f,p=e||s;return function(e,s,h){for(var m,v,g=o(e),_=i(g),y=r(s,h,3),b=a(_.length),x=0,w=n?p(e,b):u?p(e,0):void 0;b>x;x++)if((d||x in _)&&(m=_[x],v=y(m,x,g),t))if(n)w[x]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(l)return!1;return f?-1:c||l?l:w}}},function(t,e,n){var r=n(18),i=n(47),o=n(30)("species");t.exports=function(t,e){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)||(n=void 0),r(n)&&(n=n[o],null===n&&(n=void 0))),new(void 0===n?Array:n)(e)}},function(t,e,n){"use strict";var r=n(14),i=n(173)(1);r(r.P+r.F*!n(169)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(14),i=n(173)(2);r(r.P+r.F*!n(169)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(14),i=n(173)(3);r(r.P+r.F*!n(169)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(14),i=n(173)(4);r(r.P+r.F*!n(169)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(14),i=n(180);r(r.P+r.F*!n(169)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){var r=n(26),i=n(61),o=n(35),a=n(39);t.exports=function(t,e,n,s,u){r(e);var c=i(t),l=o(c),f=a(c.length),d=u?f-1:0,p=u?-1:1;if(2>n)for(;;){if(d in l){s=l[d],d+=p;break}if(d+=p,u?0>d:d>=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?d>=0:f>d;d+=p)d in l&&(s=e(s,l[d],d,c));return s}},function(t,e,n){"use strict";var r=n(14),i=n(180);r(r.P+r.F*!n(169)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(14),i=n(38)(!1);r(r.P+r.F*!n(169)([].indexOf),"Array",{indexOf:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(14),i=n(34),o=n(40),a=n(39);r(r.P+r.F*!n(169)([].lastIndexOf),"Array",{lastIndexOf:function(t){var e=i(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),0>r&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r;return-1}})},function(t,e,n){var r=n(14);r(r.P,"Array",{copyWithin:n(185)}),n(186)("copyWithin")},function(t,e,n){"use strict";var r=n(61),i=n(41),o=n(39);t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),s=i(t,a),u=i(e,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:i(c,a))-u,a-s),f=1;for(s>u&&u+l>s&&(f=-1,u+=l-1,s+=l-1);l-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},function(t,e,n){var r=n(30)("unscopables"),i=Array.prototype;void 0==i[r]&&n(15)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(14);r(r.P,"Array",{fill:n(188)}),n(186)("fill")},function(t,e,n){"use strict";var r=n(61),i=n(41),o=n(39);t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(14),i=n(173)(5),o="find",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(186)(o)},function(t,e,n){"use strict";var r=n(14),i=n(173)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(186)(o)},function(t,e,n){n(192)("Array")},function(t,e,n){"use strict";var r=n(9),i=n(16),o=n(12),a=n(30)("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(186),i=n(194),o=n(133),a=n(34);t.exports=n(132)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(9),i=n(91),o=n(16).f,a=n(52).f,s=n(138),u=n(196),c=r.RegExp,l=c,f=c.prototype,d=/a/g,p=/a/g,h=new c(d)!==d;if(n(12)&&(!h||n(13)(function(){return p[n(30)("match")]=!1,c(d)!=d||c(p)==p||"/a/i"!=c(d,"i")}))){c=function(t,e){var n=this instanceof c,r=s(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(h?new l(r&&!o?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&o?u.call(t):e),n?this:f,c)};for(var m=(function(t){t in c||o(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}),v=a(l),g=0;v.length>g;)m(v[g++]);f.constructor=c,c.prototype=f,n(23)(r,"RegExp",c)}n(192)("RegExp")},function(t,e,n){"use strict";var r=n(17);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";n(198);var r=n(17),i=n(196),o=n(12),a="toString",s=/./[a],u=function(t){n(23)(RegExp.prototype,a,t,!0)};n(13)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?u(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):s.name!=a&&u(function(){return s.call(this)})},function(t,e,n){n(12)&&"g"!=/./g.flags&&n(16).f(RegExp.prototype,"flags",{configurable:!0,get:n(196)})},function(t,e,n){n(200)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){"use strict";var r=n(15),i=n(23),o=n(13),a=n(37),s=n(30);t.exports=function(t,e,n){var u=s(t),c=n(a,u,""[t]),l=c[0],f=c[1];o(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,l),r(RegExp.prototype,u,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){n(200)("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},n]})},function(t,e,n){n(200)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(200)("split",2,function(t,e,r){"use strict";var i=n(138),o=r,a=[].push,s="split",u="length",c="lastIndex";if("c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[u]||2!="ab"[s](/(?:ab)*/)[u]||4!="."[s](/(.?)(.?)/)[u]||"."[s](/()()/)[u]>1||""[s](/.?/)[u]){var l=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return o.call(n,t,e);var r,s,f,d,p,h=[],m=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,g=void 0===e?4294967295:e>>>0,_=new RegExp(t.source,m+"g");for(l||(r=new RegExp("^"+_.source+"$(?!\\s)",m));(s=_.exec(n))&&(f=s.index+s[0][u],!(f>v&&(h.push(n.slice(v,s.index)),!l&&s[u]>1&&s[0].replace(r,function(){for(p=1;p<arguments[u]-2;p++)void 0===arguments[p]&&(s[p]=void 0)}),s[u]>1&&s.index<n[u]&&a.apply(h,s.slice(1)),d=s[0][u],v=f,h[u]>=g)));)_[c]===s.index&&_[c]++;return v===n[u]?!d&&_.test("")||h.push(""):h.push(n.slice(v)),h[u]>g?h.slice(0,g):h}}else"0"[s](void 0,0)[u]&&(r=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,i){var o=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,o,i):r.call(String(o),n,i)},r]})},function(t,e,n){"use strict";var r,i,o,a=n(54),s=n(9),u=n(25),c=n(78),l=n(14),f=n(18),d=(n(17),n(26)),p=n(93),h=n(205),m=(n(76).set,n(206)),v=n(207).set,g=n(208),_="Promise",y=s.TypeError,b=s.process,x=s[_],w="process"==c(b),k=function(){},S=!!function(){try{var t=x.resolve(1),e=(t.constructor={})[n(30)("species")]=function(t){t(k,k)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e}catch(r){}}(),A=function(t,e){return t===e||t===x&&e===o},M=function(t){var e;return f(t)&&"function"==typeof(e=t.then)?e:!1},I=function(t){return A(x,t)?new O(t):new i(t)},O=i=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw y("Bad Promise constructor");e=t,n=r}),this.resolve=d(e),this.reject=d(n)},E=function(t){try{t()}catch(e){return{error:e}}},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a=i?e.ok:e.fail,s=e.resolve,u=e.reject;try{a?(i||(2==t._h&&C(t),t._h=1),n=a===!0?r:a(r),n===e.promise?u(y("Promise-chain cycle")):(o=M(n))?o.call(n,s,u):s(n)):u(r)}catch(c){u(c)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&z(t)})}},z=function(t){v.call(s,function(){var e,n,r,i=t._v;if(P(t)&&(e=E(function(){w?b.emit("unhandledRejection",i,t):(n=s.onunhandledrejection)?n({promise:t,reason:i}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=w||P(t)?2:1),t._a=void 0,e)throw e.error})},P=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,r=0;n.length>r;)if(e=n[r++],e.fail||!P(e.promise))return!1;return!0},C=function(t){v.call(s,function(){var e;w?b.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},T=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},L=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw y("Promise can't be resolved itself");(e=M(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(L,r,1),u(T,r,1))}catch(i){T.call(r,i)}}):(n._v=t,n._s=1,j(n,!1))}catch(r){T.call({_w:n,_d:!1},r)}}};S||(x=function(t){p(this,x,_,"_h"),d(t),r.call(this);try{t(u(L,this,1),u(T,this,1))}catch(e){T.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(209)(x.prototype,{then:function(t,e){var n=I(m(this,x));return n.ok="function"==typeof t?t:!0,n.fail="function"==typeof e&&e,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},"catch":function(t){return this.then(void 0,t)}}),O=function(){var t=new r;this.promise=t,this.resolve=u(L,t,1),this.reject=u(T,t,1)}),l(l.G+l.W+l.F*!S,{Promise:x}),n(29)(x,_),n(192)(_),o=n(10)[_],l(l.S+l.F*!S,_,{reject:function(t){var e=I(this),n=e.reject;return n(t),e.promise}}),l(l.S+l.F*(a||!S),_,{resolve:function(t){if(t instanceof x&&A(t.constructor,this))return t;var e=I(this),n=e.resolve;return n(t),e.promise}}),l(l.S+l.F*!(S&&n(166)(function(t){x.all(t)["catch"](k)})),_,{all:function(t){var e=this,n=I(e),r=n.resolve,i=n.reject,o=E(function(){var n=[],o=0,a=1;h(t,!1,function(t){var s=o++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[s]=t,--a||r(n))},i)}),--a||r(n)});return o&&i(o.error),n.promise},race:function(t){var e=this,n=I(e),r=n.reject,i=E(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i&&r(i.error),n.promise}})},function(t,e,n){var r=n(25),i=n(163),o=n(164),a=n(17),s=n(39),u=n(165);t.exports=function(t,e,n,c,l){var f,d,p,h=l?function(){return t}:u(t),m=r(n,c,e?2:1),v=0;if("function"!=typeof h)throw TypeError(t+" is not iterable!");if(o(h))for(f=s(t.length);f>v;v++)e?m(a(d=t[v])[0],d[1]):m(t[v]);else for(p=h.call(t);!(d=p.next()).done;)i(p,m,d.value,e)}},function(t,e,n){var r=n(17),i=n(26),o=n(30)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r,i,o,a=n(25),s=n(81),u=n(50),c=n(20),l=n(9),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,m=0,v={},g="onreadystatechange",_=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){_.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},p=function(t){delete v[t]},"process"==n(36)(f)?r=function(t){f.nextTick(a(_,t,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",y,!1)):r=g in c("script")?function(t){u.appendChild(c("script"))[g]=function(){u.removeChild(this),_.call(t)}}:function(t){setTimeout(a(_,t,1),0)}),t.exports={set:d,clear:p}},function(t,e,n){var r,i,o,a=n(9),s=n(207).set,u=a.MutationObserver||a.WebKitMutationObserver,c=a.process,l=a.Promise,f="process"==n(36)(c),d=function(){var t,e,n;for(f&&(t=c.domain)&&(c.domain=null,t.exit());r;)e=r.domain,n=r.fn,e&&e.enter(),n(),e&&e.exit(),r=r.next;i=void 0,t&&t.enter()};if(f)o=function(){c.nextTick(d)};else if(u){var p=1,h=document.createTextNode("");new u(d).observe(h,{characterData:!0}),o=function(){h.data=p=-p}}else o=l&&l.resolve?function(){l.resolve().then(d)}:function(){s.call(a,d)};t.exports=function(t){var e={fn:t,next:void 0,domain:f&&c.domain};i&&(i.next=e),r||(r=e,o()),i=e}},function(t,e,n){var r=n(23);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(211);t.exports=n(212)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(this,t);return e&&e.v},set:function(t,e){return r.def(this,0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(16).f,i=n(48),o=(n(15),n(209)),a=n(25),s=n(93),u=n(37),c=n(205),l=n(132),f=n(194),d=n(192),p=n(12),h=n(27).fastKey,m=p?"_s":"size",v=function(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,l){var f=t(function(t,r){s(t,f,e,"_i"),t._i=i(null),t._f=void 0,t._l=void 0,t[m]=0,void 0!=r&&c(r,n,t[l],t)});return o(f.prototype,{clear:function(){for(var t=this,e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[m]=0},"delete":function(t){var e=this,n=v(e,t);if(n){var r=n.n,i=n.p;delete e._i[n.i],n.r=!0,i&&(i.n=r),r&&(r.p=i),e._f==n&&(e._f=r),e._l==n&&(e._l=i),e[m]--}return!!n},forEach:function(t){s(this,f,"forEach");for(var e,n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!v(this,t)}}),p&&r(f.prototype,"size",{get:function(){return u(this[m])}}),f},def:function(t,e,n){var r,i,o=v(t,e);return o?o.v=n:(t._l=o={i:i=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[m]++,"F"!==i&&(t._i[i]=o)),t},getEntry:v,setStrong:function(t,e,n){l(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?f(0,n.k):"values"==e?f(0,n.v):f(0,[n.k,n.v]):(t._t=void 0,f(1))},n?"entries":"values",!n,!0),d(e)}}},function(t,e,n){"use strict";var r=n(9),i=n(14),o=n(23),a=n(209),s=n(27),u=n(205),c=n(93),l=n(18),f=n(13),d=n(166),p=n(29),h=n(91);t.exports=function(t,e,n,m,v,g){var _=r[t],y=_,b=v?"set":"add",x=y&&y.prototype,w={},k=function(t){var e=x[t];o(x,t,"delete"==t?function(t){return g&&!l(t)?!1:e.call(this,0===t?0:t)}:"has"==t?function(t){return g&&!l(t)?!1:e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof y&&(g||x.forEach&&!f(function(){(new y).entries().next()}))){var S=new y,A=S[b](g?{}:-0,1)!=S,M=f(function(){S.has(1)}),I=d(function(t){new y(t)}),O=!g&&f(function(){for(var t=new y,e=5;e--;)t[b](e,e);return!t.has(-0)});I||(y=e(function(e,n){c(e,y,t);var r=h(new _,e,y);return void 0!=n&&u(n,v,r[b],r),r}),y.prototype=x,x.constructor=y),(M||O)&&(k("delete"),k("has"),v&&k("get")),(O||A)&&k(b),g&&x.clear&&delete x.clear}else y=m.getConstructor(e,t,v,b),a(y.prototype,n),s.NEED=!0;return p(y,t),w[t]=y,i(i.G+i.W+i.F*(y!=_),w),g||m.setStrong(y,t,v),y}},function(t,e,n){"use strict";var r=n(211);t.exports=n(212)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(this,t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,i=n(173)(0),o=n(23),a=n(27),s=n(72),u=n(215),c=n(18),l=(n(11),a.getWeak),f=Object.isExtensible,d=u.ufstore,p={},h=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(c(t)){var e=l(t);return e===!0?d(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(this,t,e)}},v=t.exports=n(212)("WeakMap",h,m,u,!0,!0);7!=(new v).set((Object.freeze||Object)(p),7).get(p)&&(r=u.getConstructor(h),s(r.prototype,m),a.NEED=!0,i(["delete","has","get","set"],function(t){var e=v.prototype,n=e[t];o(e,t,function(e,i){if(c(e)&&!f(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e,n){"use strict";var r=n(209),i=n(27).getWeak,o=n(17),a=n(18),s=n(93),u=n(205),c=n(173),l=n(11),f=c(5),d=c(6),p=0,h=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},v=function(t,e){return f(t.a,function(t){return t[0]===e})};m.prototype={get:function(t){var e=v(this,t);return e?e[1]:void 0},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},"delete":function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var c=t(function(t,r){s(t,c,e,"_i"),t._i=p++,t._l=void 0,void 0!=r&&u(r,n,t[o],t)});return r(c.prototype,{"delete":function(t){if(!a(t))return!1;var e=i(t);return e===!0?h(this)["delete"](t):e&&l(e,this._i)&&delete e[this._i]},has:function(t){if(!a(t))return!1;var e=i(t);return e===!0?h(this).has(t):e&&l(e,this._i)}}),c},def:function(t,e,n){var r=i(o(e),!0);return r===!0?h(t).set(e,n):r[t._i]=n,t},ufstore:h}},function(t,e,n){"use strict";var r=n(215);n(212)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(this,t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(14),i=n(218),o=n(219),a=n(17),s=n(41),u=n(39),c=n(18),l=(n(30)("typed_array"),n(9).ArrayBuffer),f=n(206),d=o.ArrayBuffer,p=o.DataView,h=i.ABV&&l.isView,m=d.prototype.slice,v=i.VIEW,g="ArrayBuffer";r(r.G+r.W+r.F*(l!==d),{ArrayBuffer:d}),r(r.S+r.F*!i.CONSTR,g,{isView:function(t){return h&&h(t)||c(t)&&v in t}}),r(r.P+r.U+r.F*n(13)(function(){return!new d(2).slice(1,void 0).byteLength}),g,{slice:function(t,e){if(void 0!==m&&void 0===e)return m.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),i=s(void 0===e?n:e,n),o=new(f(this,d))(u(i-r)),c=new p(this),l=new p(o),h=0;i>r;)l.setUint8(h++,c.getUint8(r++));return o}}),n(192)(g)},function(t,e,n){for(var r,i=n(9),o=n(15),a=n(24),s=a("typed_array"),u=a("view"),c=!(!i.ArrayBuffer||!i.DataView),l=c,f=0,d=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d>f;)(r=i[p[f++]])?(o(r.prototype,s,!0),o(r.prototype,u,!0)):l=!1;t.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(t,e,n){"use strict";var r=n(9),i=n(12),o=n(54),a=n(218),s=n(15),u=n(209),c=n(13),l=n(93),f=n(40),d=n(39),p=n(52).f,h=n(16).f,m=n(188),v=n(29),g="ArrayBuffer",_="DataView",y="prototype",b="Wrong length!",x="Wrong index!",w=r[g],k=r[_],S=r.Math,A=(r.parseInt,r.RangeError),M=r.Infinity,I=w,O=S.abs,E=S.pow,j=(S.min,S.floor),z=S.log,P=S.LN2,C="buffer",T="byteLength",L="byteOffset",D=i?"_b":C,q=i?"_l":T,N=i?"_o":L,F=function(t,e,n){var r,i,o,a=Array(n),s=8*n-e-1,u=(1<<s)-1,c=u>>1,l=23===e?E(2,-24)-E(2,-77):0,f=0,d=0>t||0===t&&0>1/t?1:0;for(t=O(t),t!=t||t===M?(i=t!=t?1:0,r=u):(r=j(z(t)/P),t*(o=E(2,-r))<1&&(r--,o*=2),t+=r+c>=1?l/o:l*E(2,1-c),t*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(t*o-1)*E(2,e),r+=c):(i=t*E(2,c-1)*E(2,e),r=0));e>=8;a[f++]=255&i,i/=256,e-=8);for(r=r<<e|i,s+=e;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*d,a},U=function(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,a=o>>1,s=i-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:c?-M:M;r+=E(2,e),l-=a}return(c?-1:1)*r*E(2,l-e)},R=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},B=function(t){return[255&t]},V=function(t){return[255&t,t>>8&255]},K=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},W=function(t){return F(t,52,8)},G=function(t){return F(t,23,4)},$=function(t,e,n){h(t[y],e,{get:function(){return this[n]}})},H=function(t,e,n,r){var i=+n,o=f(i);if(i!=o||0>o||o+e>t[q])throw A(x);var a=t[D]._b,s=o+t[N],u=a.slice(s,s+e);return r?u:u.reverse()},J=function(t,e,n,r,i,o){var a=+n,s=f(a);if(a!=s||0>s||s+e>t[q])throw A(x);for(var u=t[D]._b,c=s+t[N],l=r(+i),d=0;e>d;d++)u[c+d]=l[o?d:e-d-1]},Y=function(t,e){l(t,w,g);var n=+e,r=d(n);if(n!=r)throw A(b);return r};if(a.ABV){if(!c(function(){new w})||!c(function(){new w(.5)})){w=function(t){return new I(Y(this,t))};for(var Q,X=w[y]=I[y],Z=p(I),tt=0;Z.length>tt;)(Q=Z[tt++])in w||s(w,Q,I[Q]);
o||(X.constructor=w)}var et=new k(new w(2)),nt=k[y].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||u(k[y],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else w=function(t){var e=Y(this,t);this._b=m.call(Array(e),0),this[q]=e},k=function(t,e,n){l(this,k,_),l(t,w,_);var r=t[q],i=f(e);if(0>i||i>r)throw A("Wrong offset!");if(n=void 0===n?r-i:d(n),i+n>r)throw A(b);this[D]=t,this[N]=i,this[q]=n},i&&($(w,T,"_l"),$(k,C,"_b"),$(k,T,"_l"),$(k,L,"_o")),u(k[y],{getInt8:function(t){return H(this,1,t)[0]<<24>>24},getUint8:function(t){return H(this,1,t)[0]},getInt16:function(t){var e=H(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=H(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return R(H(this,4,t,arguments[1]))},getUint32:function(t){return R(H(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return U(H(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return U(H(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){J(this,1,t,B,e)},setUint8:function(t,e){J(this,1,t,B,e)},setInt16:function(t,e){J(this,2,t,V,e,arguments[2])},setUint16:function(t,e){J(this,2,t,V,e,arguments[2])},setInt32:function(t,e){J(this,4,t,K,e,arguments[2])},setUint32:function(t,e){J(this,4,t,K,e,arguments[2])},setFloat32:function(t,e){J(this,4,t,G,e,arguments[2])},setFloat64:function(t,e){J(this,8,t,W,e,arguments[2])}});v(w,g),v(k,_),s(k[y],a.VIEW,!0),e[g]=w,e[_]=k},function(t,e,n){var r=n(14);r(r.G+r.W+r.F*!n(218).ABV,{DataView:n(219).DataView})},function(t,e,n){n(222)("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";if(n(12)){var r=n(54),i=n(9),o=n(13),a=n(14),s=n(218),u=n(219),c=n(25),l=n(93),f=n(22),d=n(15),p=n(209),h=(n(100),n(40)),m=n(39),v=n(41),g=n(21),_=n(11),y=n(74),b=n(78),x=n(18),w=n(61),k=n(164),S=n(48),A=n(62),M=n(52).f,I=(n(223),n(165)),O=n(24),E=n(30),j=n(173),z=n(38),P=n(206),C=n(193),T=n(133),L=n(166),D=n(192),q=n(188),N=n(185),F=n(16),U=n(53),R=F.f,B=U.f,V=i.RangeError,K=i.TypeError,W=i.Uint8Array,G="ArrayBuffer",$="Shared"+G,H="BYTES_PER_ELEMENT",J="prototype",Y=Array[J],Q=u.ArrayBuffer,X=u.DataView,Z=j(0),tt=j(2),et=j(3),nt=j(4),rt=j(5),it=j(6),ot=z(!0),at=z(!1),st=C.values,ut=C.keys,ct=C.entries,lt=Y.lastIndexOf,ft=Y.reduce,dt=Y.reduceRight,pt=Y.join,ht=Y.sort,mt=Y.slice,vt=Y.toString,gt=Y.toLocaleString,_t=E("iterator"),yt=E("toStringTag"),bt=O("typed_constructor"),xt=O("def_constructor"),wt=s.CONSTR,kt=s.TYPED,St=s.VIEW,At="Wrong length!",Mt=j(1,function(t,e){return Pt(P(t,t[xt]),e)}),It=o(function(){return 1===new W(new Uint16Array([1]).buffer)[0]}),Ot=!!W&&!!W[J].set&&o(function(){new W(1).set({})}),Et=function(t,e){if(void 0===t)throw K(At);var n=+t,r=m(t);if(e&&!y(n,r))throw V(At);return r},jt=function(t,e){var n=h(t);if(0>n||n%e)throw V("Wrong offset!");return n},zt=function(t){if(x(t)&&kt in t)return t;throw K(t+" is not a typed array!")},Pt=function(t,e){if(!(x(t)&&bt in t))throw K("It is not a typed array constructor!");return new t(e)},Ct=function(t,e){return Tt(P(t,t[xt]),e)},Tt=function(t,e){for(var n=0,r=e.length,i=Pt(t,r);r>n;)i[n]=e[n++];return i},Lt=function(t,e,n){R(t,e,{get:function(){return this._d[n]}})},Dt=function(t){var e,n,r,i,o,a,s=w(t),u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,d=I(s);if(void 0!=d&&!k(d)){for(a=d.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(f&&u>2&&(l=c(l,arguments[2],2)),e=0,n=m(s.length),i=Pt(this,n);n>e;e++)i[e]=f?l(s[e],e):s[e];return i},qt=function(){for(var t=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];return n},Nt=!!W&&o(function(){gt.call(new W(1))}),Ft=function(){return gt.apply(Nt?mt.call(zt(this)):zt(this),arguments)},Ut={copyWithin:function(t,e){return N.call(zt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(zt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return q.apply(zt(this),arguments)},filter:function(t){return Ct(this,tt(zt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(zt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(zt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Z(zt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return at(zt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(zt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return pt.apply(zt(this),arguments)},lastIndexOf:function(t){return lt.apply(zt(this),arguments)},map:function(t){return Mt(zt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ft.apply(zt(this),arguments)},reduceRight:function(t){return dt.apply(zt(this),arguments)},reverse:function(){for(var t,e=this,n=zt(e).length,r=Math.floor(n/2),i=0;r>i;)t=e[i],e[i++]=e[--n],e[n]=t;return e},slice:function(t,e){return Ct(this,mt.call(zt(this),t,e))},some:function(t){return et(zt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ht.call(zt(this),t)},subarray:function(t,e){var n=zt(this),r=n.length,i=v(t,r);return new(P(n,n[xt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===e?r:v(e,r))-i))}},Rt=function(t){zt(this);var e=jt(arguments[1],1),n=this.length,r=w(t),i=m(r.length),o=0;if(i+e>n)throw V(At);for(;i>o;)this[e+o]=r[o++]},Bt={entries:function(){return ct.call(zt(this))},keys:function(){return ut.call(zt(this))},values:function(){return st.call(zt(this))}},Vt=function(t,e){return x(t)&&t[kt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Kt=function(t,e){return Vt(t,e=g(e,!0))?f(2,t[e]):B(t,e)},Wt=function(t,e,n){return!(Vt(t,e=g(e,!0))&&x(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?R(t,e,n):(t[e]=n.value,t)};wt||(U.f=Kt,F.f=Wt),a(a.S+a.F*!wt,"Object",{getOwnPropertyDescriptor:Kt,defineProperty:Wt}),o(function(){vt.call({})})&&(vt=gt=function(){return pt.call(this)});var Gt=p({},Ut);p(Gt,Bt),d(Gt,_t,Bt.values),p(Gt,{set:Rt,constructor:function(){},toString:vt,toLocaleString:Ft}),Lt(Gt,"buffer","b"),Lt(Gt,"byteOffset","o"),Lt(Gt,"byteLength","l"),Lt(Gt,"length","e"),R(Gt,yt,{get:function(){return this[kt]}}),t.exports=function(t,e,n,u){u=!!u;var c=t+(u?"Clamped":"")+"Array",f="Uint8Array"!=c,p="get"+t,h="set"+t,v=i[c],g=v||{},_=v&&A(v),y=!v||!s.ABV,w={},k=v&&v[J],I=function(t,n){var r=t._d;return r.v[p](n*e+r.o,It)},O=function(t,n,r){var i=t._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[h](n*e+i.o,r,It)},E=function(t,e){R(t,e,{get:function(){return I(this,e)},set:function(t){return O(this,e,t)},enumerable:!0})};y?(v=n(function(t,n,r,i){l(t,v,c,"_d");var o,a,s,u,f=0,p=0;if(x(n)){if(!(n instanceof Q||(u=b(n))==G||u==$))return kt in n?Tt(v,n):Dt.call(v,n);o=n,p=jt(r,e);var h=n.byteLength;if(void 0===i){if(h%e)throw V(At);if(a=h-p,0>a)throw V(At)}else if(a=m(i)*e,a+p>h)throw V(At);s=a/e}else s=Et(n,!0),a=s*e,o=new Q(a);for(d(t,"_d",{b:o,o:p,l:a,e:s,v:new X(o)});s>f;)E(t,f++)}),k=v[J]=S(Gt),d(k,"constructor",v)):L(function(t){new v(null),new v(t)},!0)||(v=n(function(t,n,r,i){l(t,v,c);var o;return x(n)?n instanceof Q||(o=b(n))==G||o==$?void 0!==i?new g(n,jt(r,e),i):void 0!==r?new g(n,jt(r,e)):new g(n):kt in n?Tt(v,n):Dt.call(v,n):new g(Et(n,f))}),Z(_!==Function.prototype?M(g).concat(M(_)):M(g),function(t){t in v||d(v,t,g[t])}),v[J]=k,r||(k.constructor=v));var j=k[_t],z=!!j&&("values"==j.name||void 0==j.name),P=Bt.values;d(v,bt,!0),d(k,kt,c),d(k,St,!0),d(k,xt,v),(u?new v(1)[yt]==c:yt in k)||R(k,yt,{get:function(){return c}}),w[c]=v,a(a.G+a.W+a.F*(v!=g),w),a(a.S,c,{BYTES_PER_ELEMENT:e,from:Dt,of:qt}),H in k||d(k,H,e),a(a.P,c,Ut),a(a.P+a.F*Ot,c,{set:Rt}),a(a.P+a.F*!z,c,Bt),a(a.P+a.F*(k.toString!=vt),c,{toString:vt}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!o(function(){k.toLocaleString.call([1,2])})),c,{toLocaleString:Ft}),T[c]=z?j:P,r||z||d(k,_t,P),D(c)}}else t.exports=function(){}},function(t,e,n){var r=n(78),i=n(30)("iterator"),o=n(133);t.exports=n(10).isIterable=function(t){var e=Object(t);return void 0!==e[i]||"@@iterator"in e||o.hasOwnProperty(r(e))}},function(t,e,n){n(222)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(222)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},function(t,e,n){n(222)("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(222)("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(222)("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(222)("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(222)("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(222)("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){var r=n(14),i=Function.apply;r(r.S,"Reflect",{apply:function(t,e,n){return i.call(t,e,n)}})},function(t,e,n){var r=n(14),i=n(48),o=n(26),a=n(17),s=n(18),u=n(80);r(r.S+r.F*n(13)(function(){function t(){}return!(Reflect.construct(function(){},[],t)instanceof t)}),"Reflect",{construct:function(t,e){o(t);var n=arguments.length<3?t:o(arguments[2]);if(t==n){if(void 0!=e)switch(a(e).length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,l=i(s(c)?c:Object.prototype),f=Function.apply.call(t,l,e);return s(f)?f:l}})},function(t,e,n){var r=n(16),i=n(14),o=n(17),a=n(21);i(i.S+i.F*n(13)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(i){return!1}}})},function(t,e,n){var r=n(14),i=n(53).f,o=n(17);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return n&&!n.configurable?!1:delete t[e]}})},function(t,e,n){"use strict";var r=n(14),i=n(17),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(134)(o,"Object",function(){var t,e=this,n=e._k;do if(e._i>=n.length)return{value:void 0,done:!0};while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){function r(t,e){var n,s,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=i.f(t,e))?a(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(s=o(t))?r(s,e,l):void 0}var i=n(53),o=n(62),a=n(11),s=n(14),u=n(18),c=n(17);s(s.S,"Reflect",{get:r})},function(t,e,n){var r=n(53),i=n(14),o=n(17);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(14),i=n(62),o=n(17);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){var r=n(14);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(14),i=n(17),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),o?o(t):!0}})},function(t,e,n){var r=n(14);r(r.S,"Reflect",{ownKeys:n(243)})},function(t,e,n){var r=n(52),i=n(45),o=n(17),a=n(9).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(14),i=n(17),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(e){return!1}}})},function(t,e,n){function r(t,e,n){var u,d,p=arguments.length<4?t:arguments[3],h=o.f(l(t),e);if(!h){if(f(d=a(t)))return r(d,e,n,p);h=c(0)}return s(h,"value")?h.writable!==!1&&f(p)?(u=o.f(p,e)||c(0),u.value=n,i.f(p,e,u),!0):!1:void 0===h.set?!1:(h.set.call(p,n),!0)}var i=n(16),o=n(53),a=n(62),s=n(11),u=n(14),c=n(22),l=n(17),f=n(18);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(14),i=n(76);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(n){return!1}}})},function(t,e,n){"use strict";var r=n(14),i=n(38)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(186)("includes")},function(t,e,n){"use strict";var r=n(14),i=n(131)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(14),i=n(250);r(r.P,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){var r=n(39),i=n(95),o=n(37);t.exports=function(t,e,n,a){var s=String(o(t)),u=s.length,c=void 0===n?" ":String(n),l=r(e);if(u>=l)return s;""==c&&(c=" ");var f=l-u,d=i.call(c,Math.ceil(f/c.length));return d.length>f&&(d=d.slice(0,f)),a?d+s:s+d}},function(t,e,n){"use strict";var r=n(14),i=n(250);r(r.P,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";n(86)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";n(86)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){var r=n(14),i=n(243),o=n(34),a=n(22),s=n(53),u=n(16);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=o(t),c=s.f,l=i(r),f={},d=0;l.length>d;)n=c(r,e=l[d++]),e in f?u.f(f,e,a(0,n)):f[e]=n;return f}})},function(t,e,n){var r=n(14),i=n(256)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){var r=n(32),i=n(34),o=n(46).f;t.exports=function(t){return function(e){for(var n,a=i(e),s=r(a),u=s.length,c=0,l=[];u>c;)o.call(a,n=s[c++])&&l.push(t?[n,a[n]]:a[n]);return l}}},function(t,e,n){var r=n(14),i=n(256)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){var r=n(14);r(r.P+r.R,"Map",{toJSON:n(259)("Map")})},function(t,e,n){var r=n(78),i=n(260);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,n){var r=n(205);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(14);r(r.P+r.R,"Set",{toJSON:n(259)("Set")})},function(t,e,n){var r=n(14);r(r.S,"System",{global:n(9)})},function(t,e,n){var r=n(14),i=n(36);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,e,n){var r=n(14);r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=e>>>0,a=n>>>0;return o+(r>>>0)+((i&a|(i|a)&~(i+a>>>0))>>>31)|0}})},function(t,e,n){var r=n(14);r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=e>>>0,a=n>>>0;return o-(r>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}})},function(t,e,n){var r=n(14);r(r.S,"Math",{imulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,a=i&n,s=r>>16,u=i>>16,c=(s*a>>>0)+(o*a>>>16);return s*u+(c>>16)+((o*u>>>0)+(c&n)>>16)}})},function(t,e,n){var r=n(14);r(r.S,"Math",{umulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,a=i&n,s=r>>>16,u=i>>>16,c=(s*a>>>0)+(o*a>>>16);return s*u+(c>>>16)+((o*u>>>0)+(c&n)>>>16)}})},function(t,e,n){var r=n(269),i=n(17),o=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,i(n),o(r))}})},function(t,e,n){var r=n(210),i=n(14),o=n(28)("metadata"),a=o.store||(o.store=new(n(214))),s=function(t,e,n){var i=a.get(t);if(!i){if(!n)return;a.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},u=function(t,e,n){var r=s(e,n,!1);return void 0===r?!1:r.has(t)},c=function(t,e,n){var r=s(e,n,!1);return void 0===r?void 0:r.get(t)},l=function(t,e,n,r){s(n,r,!0).set(t,e)},f=function(t,e){var n=s(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},d=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},p=function(t){i(i.S,"Reflect",t)};t.exports={store:a,map:s,has:u,get:c,set:l,keys:f,key:d,exp:p}},function(t,e,n){var r=n(269),i=n(17),o=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(e),n,!1);if(void 0===r||!r["delete"](t))return!1;if(r.size)return!0;var u=s.get(e);return u["delete"](n),!!u.size||s["delete"](e)}})},function(t,e,n){var r=n(269),i=n(17),o=n(62),a=r.has,s=r.get,u=r.key,c=function(t,e,n){var r=a(t,e,n);if(r)return s(t,e,n);var i=o(e);return null!==i?c(t,i,n):void 0};r.exp({getMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(213),i=n(260),o=n(269),a=n(17),s=n(62),u=o.keys,c=o.key,l=function(t,e){var n=u(t,e),o=s(t);if(null===o)return n;var a=l(o,e);return a.length?n.length?i(new r(n.concat(a))):a:n};o.exp({getMetadataKeys:function(t){return l(a(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(269),i=n(17),o=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(269),i=n(17),o=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,n){var r=n(269),i=n(17),o=n(62),a=r.has,s=r.key,u=function(t,e,n){var r=a(t,e,n);if(r)return!0;var i=o(e);return null!==i?u(t,i,n):!1};r.exp({hasMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(269),i=n(17),o=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(269),i=n(17),o=n(26),a=r.key,s=r.set;r.exp({metadata:function(t,e){return function(n,r){s(t,e,(void 0!==r?i:o)(n),a(r))}}})},function(t,e,n){var r=n(9),i=n(14),o=n(81),a=n(279),s=r.navigator,u=!!s&&/MSIE .\./.test(s.userAgent),c=function(t){return u?function(e,n){return t(o(a,[].slice.call(arguments,2),"function"==typeof e?e:Function(e)),n)}:t};i(i.G+i.B+i.F*u,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,e,n){"use strict";var r=n(280),i=n(81),o=n(26);t.exports=function(){for(var t=o(this),e=arguments.length,n=Array(e),a=0,s=r._,u=!1;e>a;)(n[a]=arguments[a++])===s&&(u=!0);return function(){var r,o=this,a=arguments.length,c=0,l=0;if(!u&&!a)return i(t,n,o);if(r=n.slice(),u)for(;e>c;c++)r[c]===s&&(r[c]=arguments[l++]);for(;a>l;)r.push(arguments[l++]);return i(t,r,o)}}},function(t,e,n){t.exports=n(9)},function(t,e,n){var r=n(14),i=n(207);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,e,n){for(var r=n(193),i=n(23),o=n(9),a=n(15),s=n(133),u=n(30),c=u("iterator"),l=u("toStringTag"),f=s.Array,d=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],p=0;5>p;p++){var h,m=d[p],v=o[m],g=v&&v.prototype;if(g){g[c]||a(g,c,f),g[l]||a(g,l,m),s[m]=f;for(h in r)g[h]||i(g,h,r[h],!0)}}},function(t,e,n){(function(e,n,r){!function(e){"use strict";function i(t,e,n,r){var i=Object.create((e||a).prototype),o=new m(r||[]);return i._invoke=d(t,n,o),i}function o(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function a(){}function s(){}function u(){}function c(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function l(t){this.arg=t}function f(t){function e(e,r){var i=t[e](r),o=i.value;return o instanceof l?n.resolve(o.arg).then(a,s):n.resolve(o).then(function(t){return i.value=t,i})}function i(t,r){function i(){return e(t,r)}return o=o?o.then(i,i):new n(function(t){t(i())})}"object"==typeof r&&r.domain&&(e=r.domain.bind(e));var o,a=e.bind(t,"next"),s=e.bind(t,"throw");e.bind(t,"return");this._invoke=i}function d(t,e,n){var r=k;return function(i,a){if(r===A)throw new Error("Generator is already running");if(r===M){if("throw"===i)throw a;return g()}for(;;){var s=n.delegate;if(s){if("return"===i||"throw"===i&&s.iterator[i]===_){n.delegate=null;var u=s.iterator["return"];if(u){var c=o(u,s.iterator,a);if("throw"===c.type){i="throw",a=c.arg;continue}}if("return"===i)continue}var c=o(s.iterator[i],s.iterator,a);if("throw"===c.type){n.delegate=null,i="throw",a=c.arg;continue}i="next",a=_;var l=c.arg;if(!l.done)return r=S,l;n[s.resultName]=l.value,n.next=s.nextLoc,n.delegate=null}if("next"===i)n._sent=a,r===S?n.sent=a:n.sent=_;else if("throw"===i){if(r===k)throw r=M,a;n.dispatchException(a)&&(i="next",a=_)}else"return"===i&&n.abrupt("return",a);r=A;var c=o(t,e,n);if("normal"===c.type){r=n.done?M:S;var l={value:c.arg,done:n.done};if(c.arg!==I)return l;n.delegate&&"next"===i&&(a=_)}else"throw"===c.type&&(r=M,i="throw",a=c.arg)}}}function p(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function h(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function m(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(p,this),this.reset(!0)}function v(t){if(t){var e=t[b];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function i(){for(;++n<t.length;)if(y.call(t,n))return i.value=t[n],i.done=!1,i;return i.value=_,i.done=!0,i};return r.next=r}}return{next:g}}function g(){return{value:_,done:!0}}var _,y=Object.prototype.hasOwnProperty,b="function"==typeof Symbol&&Symbol.iterator||"@@iterator",x="object"==typeof t,w=e.regeneratorRuntime;if(w)return void(x&&(t.exports=w));w=e.regeneratorRuntime=x?t.exports:{},w.wrap=i;var k="suspendedStart",S="suspendedYield",A="executing",M="completed",I={},O=u.prototype=a.prototype;s.prototype=O.constructor=u,u.constructor=s,s.displayName="GeneratorFunction",w.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return e?e===s||"GeneratorFunction"===(e.displayName||e.name):!1},w.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):t.__proto__=u,t.prototype=Object.create(O),t},w.awrap=function(t){return new l(t)},c(f.prototype),w.async=function(t,e,n,r){var o=new f(i(t,e,n,r));return w.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},c(O),O[b]=function(){return this},O.toString=function(){return"[object Generator]"},w.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},w.values=v,m.prototype={constructor:m,reset:function(t){if(this.prev=0,this.next=0,this.sent=_,this.done=!1,this.delegate=null,this.tryEntries.forEach(h),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=_)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return o.type="throw",o.arg=t,n.next=e,!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),s=y.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?this.next=i.finallyLoc:this.complete(o),I},complete:function(t,e){if("throw"===t.type)throw t.arg;"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=t.arg,this.next="end"):"normal"===t.type&&e&&(this.next=e)},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),h(n),I}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;h(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:v(t),resultName:e,nextLoc:n},I}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,function(){return this}(),n(3),n(284))},function(t,e){function n(){c=!1,a.length?u=a.concat(u):l=-1,u.length&&r()}function r(){if(!c){var t=setTimeout(n);c=!0;for(var e=u.length;e;){for(a=u,u=[];++l<e;)a&&a[l].run();l=-1,e=u.length}a=null,c=!1,clearTimeout(t)}}function i(t,e){this.fun=t,this.array=e}function o(){}var a,s=t.exports={},u=[],c=!1,l=-1;s.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new i(t,e)),1!==u.length||c||setTimeout(r,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=o,s.addListener=o,s.once=o,s.off=o,s.removeListener=o,s.removeAllListeners=o,s.emit=o,s.binding=function(t){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(t){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(t,e,n){n(286),t.exports=n(10).RegExp.escape},function(t,e,n){var r=n(14),i=n(287)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){return t}function o(t){return t.json()}function a(t){var e=t.status||(t.error?"error":""),n=t.message||(t.error?t.error.message:null),r=t.toastr||null,i=void 0;switch(e){case"unauthenticated":throw document.location.href=l.config.base_url_relative,f("Logged out");case"unauthorized":e="error",n=n||"Unauthorized.";break;case"error":e="error",n=n||"Unknown error.";break;case"success":e="success",n=n||"";break;default:e="error",n=n||"Invalid AJAX response."}return r&&(i=Object.assign({},c["default"].options),Object.keys(r).forEach(function(t){c["default"].options[t]=r[t]})),n&&c["default"]["success"===e?"success":"error"](n),r&&(c["default"].options=i),t}function s(t){c["default"].error("Fetch Failed: <br /> "+t.message+" <pre><code>"+t.stack+"</code></pre>"),console.error(t.message+" at "+t.stack)}Object.defineProperty(e,"__esModule",{value:!0}),e.parseStatus=i,e.parseJSON=o,e.userFeedback=a,e.userFeedbackError=s;var u=n(289),c=r(u),l=n(293),f=function d(t){var d=new Error(t.statusText||t||"");return d.response=t,d}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(290),o=r(i);o["default"].options.positionClass="toast-top-right",o["default"].options.preventDuplicates=!0,e["default"]=o["default"]},,,,function(t,e){t.exports=GravAdmin},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function i(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function a(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!i(t)||0>t||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,i,s,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;throw TypeError('Uncaught, unspecified "error" event.')}if(n=this._events[t],a(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),c=n.slice(),i=c.length,u=0;i>u;u++)c[u].apply(this,s);return!0},n.prototype.addListener=function(t,e){var i;if(!r(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,r(e.listener)?e.listener:e),this._events[t]?o(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,o(this._events[t])&&!this._events[t].warned&&(i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,a,s;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],a=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(s=a;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){i=s;break}if(0>i)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){var e;return e=this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){(function(t){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(293),a=n(288),s=function(){function e(){r(this,e),this.active=!1}return i(e,[{key:"start",value:function(){var t=this,e=o.config.admin_timeout/1.5*1e3;this.timer=setInterval(function(){return t.fetch()},e),this.active=!0}},{key:"stop",value:function(){clearInterval(this.timer),this.active=!1}},{key:"fetch",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){var e=new FormData;e.append("admin-nonce",o.config.admin_nonce),t(o.config.base_url_relative+"/task"+o.config.param_sep+"keepAlive",{credentials:"same-origin",method:"post",body:e})["catch"](a.userFeedbackError)})}]),e}();e["default"]=new s}).call(e,n(2))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(293),c=n(297),l=r(c),f=n(1);n(298),n(299);var d=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];i(this,t),
this.setPayload(e),this.task="task"+u.config.param_sep}return o(t,[{key:"setPayload",value:function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return this.payload=t,this}},{key:"fetch",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]?!1:arguments[0];return f.Instance.fetch(function(e){return t.setPayload(e)},e),this}},{key:"maintenance",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"hide":arguments[0],e=(0,s["default"])("#updates [data-maintenance-update]");return e["show"===t?"fadeIn":"fadeOut"](),"hide"===t&&(0,s["default"])(".badges.with-updates").removeClass("with-updates").find(".badge.updates").remove(),this}},{key:"grav",value:function(){var t=this.payload.grav;if(t.isUpdatable){var e=this.task,n='\n <i class="fa fa-bullhorn"></i>\n Grav <b>v'+t.available+"</b> "+u.translations.PLUGIN_ADMIN.IS_NOW_AVAILABLE+'! <span class="less">('+u.translations.PLUGIN_ADMIN.CURRENT+"v"+t.version+")</span>\n ";n+=t.isSymlink?'<span class="hint--left" style="float: right;" data-hint="'+u.translations.PLUGIN_ADMIN.GRAV_SYMBOLICALLY_LINKED+'"><i class="fa fa-fw fa-link"></i></span>':'<button data-maintenance-update="'+u.config.base_url_relative+"/update.json/"+e+"updategrav/admin-nonce"+u.config.param_sep+u.config.admin_nonce+'" class="button button-small secondary" id="grav-update-button">'+u.translations.PLUGIN_ADMIN.UPDATE_GRAV_NOW+"</button>",(0,s["default"])("[data-gpm-grav]").addClass("grav").html("<p>"+n+"</p>")}return(0,s["default"])("#grav-update-button").on("click",function(){(0,s["default"])(this).html(u.translations.PLUGIN_ADMIN.UPDATING_PLEASE_WAIT+" "+(0,l["default"])(t.assets["grav-update"].size)+"..")}),this}},{key:"resources",value:function(){if(!this.payload.resources.total)return this.maintenance("hide");var t=["plugins","themes"],e=["plugin","theme"],n=this.task,r=this.payload.resources,i=r.plugins,o=r.themes;return this.payload.resources.total?void[i,o].forEach(function(r,i){if(r&&!Array.isArray(r)){var o=Object.keys(r).length,a=t[i];(0,s["default"])('#admin-menu a[href$="/'+t[i]+'"]').find(".badges").addClass("with-updates").find(".badge.updates").text(o);var c=a.charAt(0).toUpperCase()+a.substr(1).toLowerCase(),l=(0,s["default"])(".grav-update."+a);l.html('\n <p>\n <i class="fa fa-bullhorn"></i>\n '+o+" "+u.translations.PLUGIN_ADMIN.OF_YOUR+" "+a+" "+u.translations.PLUGIN_ADMIN.HAVE_AN_UPDATE_AVAILABLE+'\n <a href="'+u.config.base_url_relative+"/"+a+"/"+n+"update/admin-nonce"+u.config.param_sep+u.config.admin_nonce+'" class="button button-small secondary">'+u.translations.PLUGIN_ADMIN.UPDATE+" All "+c+"</a>\n </p>\n "),Object.keys(r).forEach(function(t){var o=(0,s["default"])("[data-gpm-"+e[i]+'="'+t+'"] .gpm-name'),c=o.find("a");"plugins"!==a||o.find(".badge.update").length?"themes"===a&&o.append('<div class="gpm-ribbon"><a href="'+c.attr("href")+'">'+u.translations.PLUGIN_ADMIN.UPDATE.toUpperCase()+"</a></div>"):o.append('<a class="plugin-update-button" href="'+c.attr("href")+'"><span class="badge update">'+u.translations.PLUGIN_ADMIN.UPDATE_AVAILABLE+"!</span></a>");var l=(0,s["default"])(".grav-update."+e[i]);l.length&&l.html('\n <p>\n <i class="fa fa-bullhorn"></i>\n <strong>v'+r[t].available+"</strong> "+u.translations.PLUGIN_ADMIN.OF_THIS+" "+e[i]+" "+u.translations.PLUGIN_ADMIN.IS_NOW_AVAILABLE+'!\n <a href="'+u.config.base_url_relative+"/"+a+"/"+t+"/"+n+"update/admin-nonce"+u.config.param_sep+u.config.admin_nonce+'" class="button button-small secondary">'+u.translations.PLUGIN_ADMIN.UPDATE+" "+(e[i].charAt(0).toUpperCase()+e[i].substr(1).toLowerCase())+"</a>\n </p>\n ")})}}):this}}]),t}();e["default"]=d;var p=new d;e.Instance=p,f.Instance.on("fetched",function(t,e){p.setPayload(t.payload||{}),p.grav().resources()}),"1"===u.config.enable_auto_updates_check&&f.Instance.fetch()},function(t,e){"use strict";function n(t,e){if(0===t)return"0 Byte";var n=1e3,i=Math.floor(Math.log(t)/Math.log(n)),o=e+1||3;return(t/Math.pow(n,i)).toPrecision(o)+" "+r[i]}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n;var r=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i),a=n(1),s=n(293),u=n(289),c=r(u);(0,o["default"])("[data-gpm-checkupdates]").on("click",function(){var t=(0,o["default"])(this);t.find("i").addClass("fa-spin"),a.Instance.fetch(function(e){t.find("i").removeClass("fa-spin");var n=e.payload;if(n)if(n.grav.isUpdatable||n.resources.total){var r=n.grav.isUpdatable?"Grav v"+n.grav.available:"",i=n.resources.total?n.resources.total+" "+s.translations.PLUGIN_ADMIN.UPDATES_ARE_AVAILABLE:"";i||(r+=" "+s.translations.PLUGIN_ADMIN.IS_AVAILABLE_FOR_UPDATE),c["default"].info(r+(r&&i?" "+s.translations.PLUGIN_ADMIN.AND+" ":"")+i)}else c["default"].success(s.translations.PLUGIN_ADMIN.EVERYTHING_UP_TO_DATE)},!0)})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i),a=n(300),s=r(a);(0,o["default"])("body").on("click","[data-maintenance-update]",function(){var t=(0,o["default"])(this),e=t.data("maintenanceUpdate");t.attr("disabled","disabled").find("> .fa").removeClass("fa-cloud-download").addClass("fa-refresh fa-spin"),(0,s["default"])(e,function(e){"updategrav"===e.type&&((0,o["default"])("[data-gpm-grav]").remove(),(0,o["default"])("#footer .grav-version").html(e.version)),t.removeAttr("disabled").find("> .fa").removeClass("fa-refresh fa-spin").addClass("fa-cloud-download")})})},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(288),i=n(293),o=void 0,a=function(e){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=arguments.length<=2||void 0===arguments[2]?function(){return!0}:arguments[2];return"function"==typeof n&&(a=n,n={}),n.method&&"post"===n.method&&n.body&&!function(){var t=new FormData;n.body=Object.assign({"admin-nonce":i.config.admin_nonce},n.body),Object.keys(n.body).map(function(e){return t.append(e,n.body[e])}),n.body=t}(),n=Object.assign({credentials:"same-origin",headers:{Accept:"application/json"}},n),t(e,n).then(function(t){return o=t,t}).then(r.parseStatus).then(r.parseJSON).then(r.userFeedback).then(function(t){return a(t,o)})["catch"](r.userFeedbackError)};e["default"]=a}).call(e,n(2))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(302),o=r(i),a=n(304);n(305),e["default"]={Chart:{Chart:o["default"],UpdatesChart:i.UpdatesChart,Instances:i.Instances},Cache:a.Instance}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instances=e.UpdatesChart=e.defaults=void 0;var s=function x(t,e,n){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,e);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:x(i,e,n)}if("value"in r)return r.value;var o=r.get;if(void 0!==o)return o.call(n)},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(291),l=r(c),f=n(303),d=r(f),p=n(293),h=n(1),m=n(296),v=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,g=e.defaults={data:{series:[100,0]},options:{Pie:{donut:!0,donutWidth:10,startAngle:0,total:100,showLabel:!1,height:150,chartPadding:5},Bar:{height:164,chartPadding:v?10:5,axisX:{showGrid:!1,labelOffset:{x:0,y:0}},axisY:{offset:15,showLabel:!0,showGrid:!0,labelOffset:{x:5,y:5},scaleMinSpace:v?10:20}}}},_=function(){function t(e){var n=this,r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(a(this,t),this.element=(0,l["default"])(e)||[],this.element[0]){var o=(this.element.data("chart-type")||"pie").toLowerCase();this.type=o.charAt(0).toUpperCase()+o.substr(1).toLowerCase(),r=Object.assign({},g.options[this.type],r),i=Object.assign({},g.data,i),Object.assign(this,{options:r,data:i}),this.chart=d["default"][this.type](this.element.find(".ct-chart").empty()[0],this.data,this.options),this.chart.on("created",function(){return n.element.find(".hidden").removeClass("hidden")})}}return u(t,[{key:"updateData",value:function(t){Object.assign(this.data,t),this.chart.update(this.data)}}]),t}();e["default"]=_;var y=e.UpdatesChart=function(t){function e(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];a(this,e);var o=i(this,Object.getPrototypeOf(e).call(this,t,n,r));return o.chart.on("draw",function(t){return o.draw(t)}),h.Instance.on("fetched",function(t){var e=t.payload.grav,n=100*(t.payload.resources.total+(e.isUpdatable?1:0))/(t.payload.installed+(e.isUpdatable?1:0)),r=100-n;o.updateData({series:[r,n]}),t.payload.resources.total&&m.Instance.maintenance("show")}),o}return o(e,t),u(e,[{key:"draw",value:function(t){if(!t.index){var e=p.translations.PLUGIN_ADMIN[100===t.value?"FULLY_UPDATED":"UPDATES_AVAILABLE"];this.element.find(".numeric span").text(Math.round(t.value)+"%"),this.element.find(".js__updates-available-description").html(e),this.element.find(".hidden").removeClass("hidden")}}},{key:"updateData",value:function(t){s(Object.getPrototypeOf(e.prototype),"updateData",this).call(this,t),this.data.series[0]<100&&this.element.closest("#updates").find("[data-maintenance-update]").fadeIn()}}]),e}(_),b={};(0,l["default"])("[data-chart-name]").each(function(){var t=(0,l["default"])(this),e=t.data("chart-name")||"",n=t.data("chart-options")||{},r=t.data("chart-data")||{};"updates"===e?b[e]=new y(t,n,r):b[e]=new _(t,n,r)});e.Instances=b},,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(293),c=n(300),l=r(c),f=function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0];return t&&(t="cleartype:"+t+"/"),u.config.base_url_relative+"/cache.json/task"+u.config.param_sep+"clearCache/"+t+"admin-nonce"+u.config.param_sep+u.config.admin_nonce},d=function(){function t(){var e=this;i(this,t),this.element=(0,s["default"])("[data-clear-cache]"),(0,s["default"])("body").on("click","[data-clear-cache]",function(t){return e.clear(t,t.target)})}return o(t,[{key:"clear",value:function(t,e){var n=this,r="";t&&t.preventDefault&&t.preventDefault(),"string"==typeof t&&(r=t),e=e?(0,s["default"])(e):(0,s["default"])('[data-clear-cache-type="'+r+'"]'),r=r||(0,s["default"])(e).data("clear-cache-type")||"";var i=e.data("clearCache")||f(t);this.disable(),(0,l["default"])(i,function(){return n.enable()})}},{key:"enable",value:function(){this.element.removeAttr("disabled").find("> .fa").removeClass("fa-refresh fa-spin").addClass("fa-trash")}},{key:"disable",value:function(){this.element.attr("disabled","disabled").find("> .fa").removeClass("fa-trash").addClass("fa-refresh fa-spin")}}]),t}();e["default"]=d;var p=new d;e.Instance=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i),a=n(293),s=n(300),u=r(s),c=n(302);(0,o["default"])('[data-ajax*="task:backup"]').on("click",function(){var t=(0,o["default"])(this),e=t.data("ajax");t.attr("disabled","disabled").find("> .fa").removeClass("fa-database").addClass("fa-spin fa-refresh"),(0,u["default"])(e,function(){c.Instances&&c.Instances.backups&&(c.Instances.backups.updateData({series:[0,100]}),c.Instances.backups.element.find(".numeric").html("0 <em>"+a.translations.PLUGIN_ADMIN.DAYS.toLowerCase()+"</em>")),t.removeAttr("disabled").find("> .fa").removeClass("fa-spin fa-refresh").addClass("fa-database")})})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(291),o=r(i),a=n(307),s=r(a),u=n(308),c=r(u);n(315);var l=null,f=(0,o["default"])("#ordering");f.length&&(l=new s["default"](f.get(0),{filter:".ignore",onUpdate:function(t){var e=(0,o["default"])(t.item),n=f.children().index(e)+1;(0,o["default"])("[data-order]").val(n)}})),e["default"]={Ordering:l,PageFilters:{PageFilters:c["default"],Instance:u.Instance}}},,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(291),u=r(s),c=n(293),l=n(300),f=r(l),d=n(309),p=r(d),h=n(311);n(312);var m=[{flag:"Modular",key:"Modular",cat:"mode"},{flag:"Visible",key:"Visible",cat:"mode"},{flag:"Routable",key:"Routable",cat:"mode"},{flag:"Published",key:"Published",cat:"mode"},{flag:"Non-Modular",key:"NonModular",cat:"mode"},{flag:"Non-Visible",key:"NonVisible",cat:"mode"},{flag:"Non-Routable",key:"NonRoutable",cat:"mode"},{flag:"Non-Published",key:"NonPublished",cat:"mode"}],v=function(){function t(e,n){var r=this;i(this,t),this.filters=(0,u["default"])(e),this.search=(0,u["default"])(n),this.options=m,this.tree=h.Instance;var o=JSON.parse(localStorage.getItem("grav:admin:pages:filter")||"{}");this.filters.length&&this.search.length&&(this.labels=this.filters.data("filter-labels"),this.search.on("input",(0,p["default"])(function(){return r.filter()},250)),this.filters.on("change",function(){return r.filter()}),(o.flags||o.query)&&(this.setValues(o),this.filter()),this._initSelectize())}return a(t,[{key:"filter",value:function(t){var e=this,n={flags:"",query:""};return"object"===("undefined"==typeof t?"undefined":o(t))&&Object.assign(n,t),"string"==typeof t&&(n.query=t),"undefined"==typeof t&&(n.flags=this.filters.val(),n.query=this.search.val()),Object.keys(n).filter(function(t){return""!==n[t]}).length?(n.flags=n.flags.replace(/(\s{1,})?,(\s{1,})?/g,","),this.setValues({flags:n.flags,query:n.query},"silent"),localStorage.setItem("grav:admin:pages:filter",JSON.stringify(n)),void(0,f["default"])(c.config.base_url_relative+"/pages-filter.json/task"+c.config.param_sep+"filterPages",{method:"post",body:n},function(t){e.refreshDOM(t)})):void this.resetValues()}},{key:"refreshDOM",value:function(t){var e=this,n=(0,u["default"])("[data-nav-id]");return t?(n.removeClass("search-match").hide(),void t.results.forEach(function(t){var r=n.filter('[data-nav-id="'+t+'"]').addClass("search-match").show();r.parents("[data-nav-id]").addClass("search-match").show(),e.tree.expand(t,"no-store")})):(n.removeClass("search-match").show(),void this.tree.restore())}},{key:"setValues",value:function(t,e){var n=t.flags,r=void 0===n?"":n,i=t.query,o=void 0===i?"":i,a=r.replace(/(\s{1,})?,(\s{1,})?/g,",").split(",");if(this.filters.val()!==r){var s=this.filters.data("selectize");this.filters[s?"setValue":"val"](a,e)}this.search.val()!==o&&this.search.val(o)}},{key:"resetValues",value:function(){this.setValues("","silent"),this.refreshDOM()}},{key:"_initSelectize",value:function(){var t=this,e={type:this.filters.data("filter-types")||{},access:this.filters.data("filter-access-levels")||{}};Object.keys(e).forEach(function(n){Object.keys(e[n]).forEach(function(r){t.options.push({cat:n,key:r,flag:e[n][r]})})}),this.filters.selectize({maxItems:null,valueField:"key",labelField:"flag",searchField:["flag","key"],options:this.options,optgroups:this.labels,optgroupField:"cat",optgroupLabelField:"name",optgroupValueField:"id",optgroupOrder:this.labels.map(function(t){return t.id}),plugins:["optgroup_columns"]})}}]),t}();e["default"]=v;var g=new v('input[name="page-filter"]','input[name="page-search"]');e.Instance=g},function(t,e,n){var r=n(310);t.exports=function(t,e,n){function i(){var l=r()-u;e>l&&l>0?o=setTimeout(i,e-l):(o=null,n||(c=t.apply(s,a),o||(s=a=null)))}var o,a,s,u,c;return null==e&&(e=100),function(){s=this,a=arguments,u=r();var l=n&&!o;return o||(o=setTimeout(i,e)),l&&(c=t.apply(s,a),s=a=null),c}}},function(t,e){function n(){return(new Date).getTime()}t.exports=Date.now||n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u="grav:admin:pages";sessionStorage.getItem(u)||sessionStorage.setItem(u,"{}");var c=function(){function t(e){var n=this;i(this,t),this.elements=(0,s["default"])(e),this.session=JSON.parse(sessionStorage.getItem(u)),this.elements.length&&(this.restore(),this.elements.find(".page-icon").on("click",function(t){return n.toggle(t.target)}),(0,s["default"])("[data-page-toggleall]").on("click",function(t){var e=(0,s["default"])(t.target).closest("[data-page-toggleall]"),r=e.data("page-toggleall");n[r]()}))}return o(t,[{key:"toggle",value:function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]?!1:arguments[1];"string"==typeof t&&(t=(0,s["default"])('[data-nav-id="'+t+'"]').find('[data-toggle="children"]')),t=(0,s["default"])(t||this.elements),t.each(function(t,r){r=(0,s["default"])(r);var i=e.getState(r.closest('[data-toggle="children"]'));e[i.isOpen?"collapse":"expand"](i.id,n)})}},{key:"collapse",value:function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]?!1:arguments[1];"string"==typeof t&&(t=(0,s["default"])('[data-nav-id="'+t+'"]').find('[data-toggle="children"]')),t=(0,s["default"])(t||this.elements),t.each(function(t,r){r=(0,s["default"])(r);var i=e.getState(r);i.isOpen&&(i.children.hide(),i.icon.removeClass("children-open").addClass("children-closed"),n||delete e.session[i.id])}),n||this.save()}},{key:"expand",value:function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]?!1:arguments[1];if("string"==typeof t){var r=(0,s["default"])('[data-nav-id="'+t+'"]'),i=r.parents("[data-nav-id]");if(i.length)return i=i.find('[data-toggle="children"]:first'),i=i.add(r.find('[data-toggle="children"]:first')),this.expand(i,n);t=r.find('[data-toggle="children"]:first')}t=(0,s["default"])(t||this.elements),t.each(function(t,r){r=(0,s["default"])(r);var i=e.getState(r);i.isOpen||(i.children.show(),i.icon.removeClass("children-closed").addClass("children-open"),n||(e.session[i.id]=1))}),n||this.save()}},{key:"restore",value:function(){var t=this;this.collapse(null,!0),Object.keys(this.session).forEach(function(e){t.expand(e,"no-store")})}},{key:"save",value:function(){return sessionStorage.setItem(u,JSON.stringify(this.session))}},{key:"getState",value:function(t){return t=(0,s["default"])(t),{id:t.closest("[data-nav-id]").data("nav-id"),children:t.closest("li.page-item").find("ul:first"),icon:t.find(".page-icon"),get isOpen(){return this.icon.hasClass("children-open")}}}}]),t}();e["default"]=c;var l=new c('[data-toggle="children"]');e.Instance=l},,,,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i);n(316),n(319),n(320),n(321),n(384);var a=(0,o["default"])('input[type="radio"][name="mode-switch"]');a&&!function(){var t=a.closest(":checked").data("leave-url"),e=(0,o["default"])('<a href="'+t+'" />');a.parent().append(e),a.siblings("label").on("mousedown touchdown",function(t){t.preventDefault();var n=(0,o["default"])('[data-remodal-id="changes"] [data-leave-action="continue"]');n.one("click",function(){(0,o["default"])(window).on("beforeunload._grav"),e.off("click._grav"),(0,o["default"])(t.target).trigger("click")}),e.trigger("click._grav")}),a.on("change",function(n){var r=(0,o["default"])(n.target);t=r.data("leave-url"),setTimeout(function(){return e.attr("href",t).get(0).click()},5)})}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i);n(317);var a=!1,s=(0,o["default"])('[data-remodal-id="modular"] input[name="folder"]'),u=(0,o["default"])('[data-remodal-id="modular"] input[name="title"]');u.on("input focus blur",function(){if(a)return!0;var t=o["default"].slugify(u.val());s.val(t)}),s.on("input",function(){var t=s.get(0),e=s.val(),n={start:t.selectionStart,end:t.selectionEnd};e=e.toLowerCase().replace(/\s/g,"-").replace(/[^a-z0-9_\-]/g,""),s.val(e),a=!!e,t.setSelectionRange(n.start,n.end)}),s.on("focus blur",function(){return u.trigger("input")})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i),a=n(318),s=r(a);o["default"].expr[":"].noparents=o["default"].expr.createPseudo(function(t){return function(e){return(0,o["default"])(e).parents(t).length<1}}),o["default"].fn.slugify=function(t,e){return(void 0).each(function(t){var n=(0,o["default"])(t),r=(0,o["default"])(r);n.on("keyup change",function(){n.data("locked",""!==n.val()&&void 0!==n.val())}),r.on("keyup change",function(){if(n.data("locked")===!0)return!0;var t=n.is("input")||n.is("textarea");n[t?"val":"text"](o["default"].slugify(r.val(),e))})})},o["default"].slugify=function(t,e){return e=o["default"].extend({},o["default"].slugify.options,e),e.lang=e.lang||(0,o["default"])("html").prop("lang"),"function"==typeof e.preSlug&&(t=e.preSlug(t)),t=e.slugFunc(t,e),"function"==typeof e.postSlug&&(t=e.postSlug(t)),t},o["default"].slugify.options={preSlug:null,postSlug:null,slugFunc:function(t,e){return(0,s["default"])(t,e)}}},,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i);(0,o["default"])('[data-page-move] button[name="task"][value="save"]').on("click",function(){var t=(0,o["default"])('form#blueprints:first select[name="route"]'),e=(0,o["default"])("[data-page-move] select").val();if(t.length&&t.val()!==e){var n=t.data("selectize");t.val(e),n&&n.setValue(e)}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i);(0,o["default"])('[data-remodal-target="delete"]').on("click",function(){var t=(0,o["default"])('[data-remodal-id="delete"] [data-delete-action]'),e=(0,o["default"])(this).data("delete-url");t.data("delete-action",e)}),(0,o["default"])("[data-delete-action]").on("click",function(){var t=o["default"].remodal.lookup[(0,o["default"])('[data-remodal-id="delete"]').data("remodal")];window.location.href=(0,o["default"])(this).data("delete-action"),t.close()})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){return t=t.replace(/@3x|@2x|@1x/,""),t=t.replace(/\(/g,"%28"),t=t.replace(/\)/g,"%29"),t.match(/\.(jpe?g|png|gif|svg)$/i)?"![]("+t+")":"["+decodeURI(t)+"]("+t+")"}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();e.UriToMarkdown=o;var s=n(291),u=r(s),c=n(322),l=r(c),f=n(300),d=r(f),p=n(293),h=n(324);l["default"].autoDiscover=!1,l["default"].options.gravPageDropzone={},l["default"].confirm=function(t,e,n){var r=(0,u["default"])(document),i='[data-remodal-id="delete-media"]',o=function(){r.off("confirmation",i,a),r.off("cancellation",i,s)},a=function(){e&&e(),o()},s=function(){n&&n(),o()};u["default"].remodal.lookup[(0,u["default"])(i).data("remodal")].open(),r.on("confirmation",i,a),r.on("cancellation",i,s)};var m={createImageThumbnails:{thumbnailWidth:150},addRemoveLinks:!1,dictRemoveFileConfirmation:"[placeholder]",previewTemplate:'\n <div class="dz-preview dz-file-preview">\n <div class="dz-details">\n <div class="dz-filename"><span data-dz-name></span></div>\n <div class="dz-size" data-dz-size></div>\n <img data-dz-thumbnail />\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-success-mark"><span>✔</span></div>\n <div class="dz-error-mark"><span>✘</span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <a class="dz-remove" href="javascript:undefined;" data-dz-remove>Delete</a>\n <a class="dz-insert" href="javascript:undefined;" data-dz-insert>Insert</a>\n </div>'.trim()},v=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=e.form,r=void 0===n?"[data-media-url]":n,o=e.container,a=void 0===o?"#grav-dropzone":o,s=e.options,c=void 0===s?{}:s;i(this,t),this.form=(0,u["default"])(r),this.container=(0,u["default"])(a),this.form.length&&this.container.length&&(this.options=Object.assign({},m,{url:this.form.data("media-url")+"/task"+p.config.param_sep+"addmedia",acceptedFiles:this.form.data("media-types")},c),this.dropzone=new l["default"](a,this.options),this.dropzone.on("complete",this.onDropzoneComplete.bind(this)),this.dropzone.on("success",this.onDropzoneSuccess.bind(this)),this.dropzone.on("removedfile",this.onDropzoneRemovedFile.bind(this)),this.dropzone.on("sending",this.onDropzoneSending.bind(this)),this.dropzone.on("error",this.onDropzoneError.bind(this)),this.fetchMedia(),this.attachDragDrop())}return a(t,[{key:"fetchMedia",value:function(){var t=this,e=this.form.data("media-url")+"/task"+p.config.param_sep+"listmedia/admin-nonce"+p.config.param_sep+p.config.admin_nonce;(0,d["default"])(e,function(e){var n=e.results;Object.keys(n).forEach(function(e){var r=n[e],i={name:e,size:r.size,accepted:!0,extras:r};t.dropzone.files.push(i),t.dropzone.options.addedfile.call(t.dropzone,i),e.match(/\.(jpg|jpeg|png|gif)$/i)&&t.dropzone.options.thumbnail.call(t.dropzone,i,r.url)}),t.container.find(".dz-preview").prop("draggable","true")})}},{key:"onDropzoneSending",value:function(t,e,n){n.append("admin-nonce",p.config.admin_nonce)}},{key:"onDropzoneSuccess",value:function(t,e,n){return this.handleError({file:t,data:e,mode:"removeFile",msg:"<p>"+p.translations.PLUGIN_ADMIN.FILE_ERROR_UPLOAD+" <strong>"+t.name+"</strong></p>\n <pre>"+e.message+"</pre>"})}},{key:"onDropzoneComplete",value:function(t){if(!t.accepted){var e={status:"error",message:p.translations.PLUGIN_ADMIN.FILE_UNSUPPORTED+": "+t.name.match(/\..+/).join("")};return this.handleError({file:t,data:e,mode:"removeFile",msg:"<p>"+p.translations.PLUGIN_ADMIN.FILE_ERROR_ADD+" <strong>"+t.name+"</strong></p>\n <pre>"+e.message+"</pre>"})}(0,u["default"])(".dz-preview").prop("draggable","true")}},{key:"onDropzoneRemovedFile",value:function(t){if(t.accepted&&!t.rejected){var e=this.form.data("media-url")+"/task"+p.config.param_sep+"delmedia";(0,d["default"])(e,{method:"post",body:{filename:t.name}})}}},{key:"onDropzoneError",value:function(t,e,n){var r=n?e.error.message:e;return(0,u["default"])(t.previewElement).find("[data-dz-errormessage]").html(r),this.handleError({file:t,data:{status:"error"},msg:"<pre>"+r+"</pre>"})}},{key:"handleError",value:function(t){var e=t.file,n=t.data,r=t.mode,i=t.msg;if("error"===n.status||"unauthorized"===n.status){switch(r){case"addBack":e instanceof File?this.dropzone.addFile.call(this.dropzone,e):(this.dropzone.files.push(e),this.dropzone.options.addedfile.call(this.dropzone,e),this.dropzone.options.thumbnail.call(this.dropzone,e,e.extras.url));break;case"removeFile":e.rejected=!0,this.dropzone.removeFile.call(this.dropzone,e)}var o=(0,u["default"])('[data-remodal-id="generic"]');o.find(".error-content").html(i),u["default"].remodal.lookup[o.data("remodal")].open()}}},{key:"attachDragDrop",value:function(){var t=this;this.container.delegate("[data-dz-insert]","click",function(t){var e=(0,u["default"])(t.currentTarget).parent(".dz-preview").find(".dz-filename"),n=h.Instance.editors.filter(function(t,e){return"content"===(0,u["default"])(e).attr("name")});if(n.length){n=n.data("codemirror"),n.focus();var r=encodeURI(e.text()),i=o(r);n.doc.replaceSelection(i)}}),this.container.delegate(".dz-preview","dragstart",function(e){var n=(0,u["default"])(e.currentTarget),r=encodeURI(n.find(".dz-filename").text()),i=o(r);t.dropzone.disable(),n.addClass("hide-backface"),e.originalEvent.dataTransfer.effectAllowed="copy",e.originalEvent.dataTransfer.setData("text",i)}),this.container.delegate(".dz-preview","dragend",function(e){var n=(0,u["default"])(e.currentTarget);t.dropzone.enable(),n.removeClass("hide-backface")})}}]),t}();e["default"]=v;e.Instance=new v},,,function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=e.Toolbar=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(325),c=r(u),l=n(326),f=r(l),d=n(327),p=n(328),h=r(p);n(360),n(361),n(366),n(367),n(362),n(368),n(370),n(371),n(363),n(372),n(373),n(365),n(374),n(375),n(376),n(380),n(381),n(382),n(383),t.jsyaml=h["default"];var m=!1,v=["paper"],g={codemirror:{mode:"htmlmixed",theme:"paper",lineWrapping:!0,dragDrop:!0,autoCloseTags:!0,matchTags:!0,autoCloseBrackets:!0,matchBrackets:!0,indentUnit:4,indentWithTabs:!1,tabSize:4,hintOptions:{completionSingle:!1},extraKeys:{Enter:"newlineAndIndentContinueMarkdownList"}}},_=function(){function t(e){var n=this;i(this,t);var r=(0,s["default"])("body");this.editors=(0,s["default"])(),this.options=Object.assign({},g,e),this.buttons=c["default"],this.buttonStrategies=u.strategies,(0,d.watch)(c["default"],function(){n.editors.each(function(t,e){return(0,s["default"])(e).data("toolbar").renderButtons()})}),(0,s["default"])("[data-grav-editor]").each(function(t,e){return n.addEditor(e)}),(0,s["default"])(function(){(0,s["default"])("body").trigger("grav-editor-ready")}),r.on("mutation._grav",this._onAddedNodes.bind(this)),r.on("mouseup._grav",function(t){return m?(r.unbind("mousemove._grav"),void(m=!1)):!0}),r.on("mousedown._grav",".grav-editor-resizer",function(t){t&&t.preventDefault(),m=!0;var e=(0,s["default"])(t.currentTarget),n=e.siblings(".grav-editor-content"),i=n.find(".CodeMirror");
r.on("mousemove._grav",function(t){i.css("height",Math.max(100,t.pageY-n.offset().top))})})}return o(t,[{key:"addButton",value:function(t,e){if(e&&(e.before||e.after)){var n=this.buttons.navigation.findIndex(function(t){var n=Object.keys(t).shift();return t[n].identifier===(e.before||e.after)});~n?this.buttons.navigation.splice(e.before?n:n+1,0,t):e="end"}"start"===e&&this.buttons.navigation.splice(0,0,t),e&&"end"!==e||this.buttons.navigation.push(t)}},{key:"addEditor",value:function(t){t=(0,s["default"])(t);var e=Object.assign({},this.options.codemirror,t.data("grav-editor").codemirror),n=e.theme||"paper";if(this.editors=this.editors.add(t),n&&!~v.indexOf(n)){v.push(n);var r="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/theme/"+n+".min.css";(0,s["default"])("head").append((0,s["default"])('<link rel="stylesheet" type="text/css" />').attr("href",r))}"yaml"===e.mode&&Object.assign(e.extraKeys,{Tab:function(t){t.replaceSelection(" ","end")}});var i=f["default"].fromTextArea(t.get(0),e);t.data("codemirror",i),t.data("toolbar",new y(t)),e.toolbar===!1&&t.data("toolbar").ui.navigation.addClass("grav-editor-hide-toolbar"),i.on("change",function(){return i.save()})}},{key:"_onAddedNodes",value:function(t,e){var n=this,r=(0,s["default"])(e).find("[data-grav-editor]");r.length&&r.each(function(t,e){e=(0,s["default"])(e),~n.editors.index(e)||n.addEditor(e)})}}]),t}();e["default"]=_;var y=e.Toolbar=function(){function t(e){i(this,t),this.editor=(0,s["default"])(e),this.codemirror=this.editor.data("codemirror"),this.buttons=c["default"].navigation,this.ui={navigation:(0,s["default"])(t.templates().navigation)},this.editor.parent(".grav-editor-content").before(this.ui.navigation).after(this.ui.states),this.renderButtons()}return o(t,null,[{key:"templates",value:function(){return{navigation:'\n <div class="grav-editor-toolbar">\n <div class="grav-editor-actions"></div>\n <div class="grav-editor-modes"></div>\n </div>\n '}}}]),o(t,[{key:"renderButtons",value:function(){var t=this;this.ui.navigation.find(".grav-editor-actions").empty().append("<ul />"),c["default"].navigation.forEach(function(e){Object.keys(e).forEach(function(n){var r=e[n];if(r.modes||(r.modes=[]),!~t.codemirror.options.ignore.indexOf(n)&&(!r.modes.length||r.modes.indexOf(t.codemirror.options.mode)>-1)){var i=(0,s["default"])('<li class="grav-editor-button-'+n+'"><a class="hint--top" data-hint="'+r.title+'" title="'+r.title+'">'+r.label+"</a></li>");t.ui.navigation.find(".grav-editor-actions ul").append(i),r.shortcut&&t.addShortcut(r.identifier,r.shortcut,i),r.action&&r.action.call(r.action,{codemirror:t.codemirror,button:i,textarea:t.editor,ui:t.ui})}})}),this.ui.navigation.find(".grav-editor-modes").empty().append("<ul />"),c["default"].states.forEach(function(e){Object.keys(e).forEach(function(n){var r=e[n];if(r.modes||(r.modes=[]),!~t.codemirror.options.ignore.indexOf(n)&&(!r.modes.length||r.modes.indexOf(t.codemirror.options.mode)>-1)){var i=(0,s["default"])('<li class="grav-editor-button-'+n+'"><a class="hint--top" data-hint="'+r.title+'" title="'+r.title+'">'+r.label+"</a></li>");t.ui.navigation.find(".grav-editor-modes ul").append(i),r.shortcut&&t.addShortcut(r.identifier,r.shortcut,i),r.action&&r.action.call(r.action,{codemirror:t.codemirror,button:i,textarea:t.editor,ui:t.ui})}})})}},{key:"addShortcut",value:function(t,e,n){var r=this,i={};Array.isArray(e)||(e=[e]),e.forEach(function(e){i[e]=function(){n.trigger("click.editor."+t,[r.codemirror])}}),this.codemirror.addKeyMap(i)}}]),t}();e.Instance=new _}).call(e,function(){return this}())},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.strategies=void 0;var i=n(291),o=r(i),a=n(293),s=n(300),u=r(s),c=function(t){var e=t.name,n=t.replace,r=t.codemirror,i=t.button,o=t.mode,a=void 0===o?"replaceSelections":o,s=t.runner;i.on("click.editor."+e,function(){l[a]({token:"$1",template:n,codemirror:r,runner:s})})},l=e.strategies={replaceSelections:function(t){var e=t.template,n=t.token,r=t.codemirror,i=t.runner,o=[],a=[],s=r.getSelections(),u=r.listSelections(),c={};s.forEach(function(t,r){var s=e.replace(n,t),l=s.indexOf("$cur"),f=u[r].anchor,d=f.line,p=f.ch;s=s.replace("$cur",""),s=i?i(t,s,u):s,o.push(s),c[d]||(c[d]=0),p+=c[d]+(-1===l?s.length:l);var h={ch:p,line:d};a.push({anchor:h,head:h}),c[d]+=s.length-t.length}),r.replaceSelections(o),r.setSelections(a),r.focus()},replaceLine:function(t){var e=t.template,n=t.token,r=t.codemirror,i=t.runner,o=r.listSelections(),a=void 0;o.forEach(function(t){var o={min:Math.min(t.anchor.line,t.head.line),max:Math.max(t.anchor.line,t.head.line)};r.eachLine(o.min,o.max+1,function(t){var o=e.replace(n,t.text),s=r.getLineNumber(t);o=i?i(t,o):o,r.replaceRange(o,{line:s,ch:0},{line:s,ch:o.length}),a={line:s,ch:o.length}})}),r.setSelection(a,a,"end"),r.focus()},replaceRange:function(){}},f=function(t,e,n){var r=t.historySize()[n],i=e.find("a");e[r?"removeClass":"addClass"]("button-disabled"),r?(i.attr("title",i.attr("title-disabled")),i.attr("data-hint",i.attr("data-hint-disabled")),i.removeAttr("title-disabled").removeAttr("data-hint-disabled")):(i.attr("title-disabled",i.attr("title")),i.attr("data-hint-disabled",i.attr("data-hint")),i.removeAttr("title").removeAttr("data-hint"))};e["default"]={navigation:[{undo:{identifier:"undo",title:"Undo",label:'<i class="fa fa-fw fa-undo"></i>',modes:[],action:function(t){var e=t.codemirror,n=t.button;t.textarea;n.addClass("button-disabled"),e.on("change",function(){return f(e,n,"undo")}),n.on("click.editor.undo",function(){e.undo()})}}},{redo:{identifier:"redo",title:"Redo",label:'<i class="fa fa-fw fa-repeat"></i>',modes:[],action:function(t){var e=t.codemirror,n=t.button;t.textarea;n.addClass("button-disabled"),e.on("change",function(){return f(e,n,"redo")}),n.on("click.editor.redo",function(){e.redo()})}}},{bold:{identifier:"bold",title:"Bold",label:'<i class="fa fa-fw fa-bold"></i>',modes:["gfm","markdown"],shortcut:["Ctrl-B","Cmd-B"],action:function(t){var e=t.codemirror,n=t.button;t.textarea;c({name:"bold",replace:"**$1$cur**",codemirror:e,button:n})}}},{italic:{identifier:"italic",title:"Italic",label:'<i class="fa fa-fw fa-italic"></i>',modes:["gfm","markdown"],shortcut:["Ctrl-I","Cmd-I"],action:function(t){var e=t.codemirror,n=t.button;t.textarea;c({name:"italic",replace:"_$1$cur_",codemirror:e,button:n})}}},{strike:{identifier:"strike",title:"Strikethrough",label:'<i class="fa fa-fw fa-strikethrough"></i>',modes:["gfm","markdown"],action:function(t){var e=t.codemirror,n=t.button;t.textarea;c({name:"strike",replace:"~~$1$cur~~",codemirror:e,button:n})}}},{link:{identifier:"link",title:"Link",label:'<i class="fa fa-fw fa-link"></i>',modes:["gfm","markdown"],action:function(t){var e=t.codemirror,n=t.button;t.textarea;c({name:"link",replace:"[$1](http://$cur)",codemirror:e,button:n})}}},{image:{identifier:"image",title:"Image",label:'<i class="fa fa-fw fa-picture-o"></i>',modes:["gfm","markdown"],action:function(t){var e=t.codemirror,n=t.button;t.textarea;c({name:"image",replace:"![$1](http://$cur)",codemirror:e,button:n})}}},{blockquote:{identifier:"blockquote",title:"Blockquote",label:'<i class="fa fa-fw fa-quote-right"></i>',modes:["gfm","markdown"],action:function(t){var e=t.codemirror,n=t.button;t.textarea;c({name:"blockquote",replace:"> $1",codemirror:e,button:n,mode:"replaceLine"})}}},{listUl:{identifier:"listUl",title:"Unordered List",label:'<i class="fa fa-fw fa-list-ul"></i>',modes:["gfm","markdown"],action:function(t){var e=t.codemirror,n=t.button;t.textarea;c({name:"listUl",replace:"* $1",codemirror:e,button:n,mode:"replaceLine"})}}},{listOl:{identifier:"listOl",title:"Ordered List",label:'<i class="fa fa-fw fa-list-ol"></i>',modes:["gfm","markdown"],action:function(t){var e=t.codemirror,n=t.button;t.textarea;c({name:"listOl",replace:". $1",codemirror:e,button:n,mode:"replaceLine",runner:function(t,n){var r=e.getLineNumber(t),i=e.getLine(r-1)||"",o=i.match(/^(\d+)\./),a=1+(o?Number(o[1]):0);return""+a+n}})}}}],states:[{code:{identifier:"editor",title:"Editor",label:'<i class="fa fa-fw fa-code"></i>',action:function(t){var e=(t.codemirror,t.button),n=t.textarea,r=t.ui;"editor"===n.data("grav-editor-mode")&&e.addClass("editor-active"),e.on("click.states.editor",function(){e.siblings().removeClass("editor-active"),e.addClass("editor-active"),n.data("grav-editor-mode","editor");var t=n.data("grav-editor-preview-container"),i=n.parent(".grav-editor-content");i.css("display","block"),r.navigation.find(".grav-editor-actions").css("visibility","visible"),t&&t.css("display","none")})}}},{preview:{identifier:"preview",title:"Preview",label:'<i class="fa fa-fw fa-eye"></i>',modes:["gfm","markdown"],action:function(t){var e=(t.codemirror,t.button),n=t.textarea,r=t.ui;"preview"===n.data("grav-editor-mode")&&e.addClass("editor-active"),e.on("click.states.preview",function(){var t=n.data("grav-editor-preview-container"),i=n.parent(".grav-editor-content");e.siblings().removeClass("editor-active"),e.addClass("editor-active"),n.data("grav-editor-mode","preview"),t||(t=(0,o["default"])('<div class="grav-editor-preview" />'),i.after(t),n.data("grav-editor-preview-container",t)),t.css({height:i.height(),display:"block"}),i.css("display","none"),r.navigation.find(".grav-editor-actions").css("visibility","hidden");var s=n.data("grav-urlpreview")+"/task"+a.config.param_sep+"processmarkdown",c=n.closest("form").serializeArray(),l={};c.map(function(t){l[t.name]=t.value}),(0,u["default"])(s,{method:"post",body:c},function(e){return t.html(e.preview)})})}}},{fullscreen:{identifier:"fullscreen",title:"Fullscreen",label:'<i class="fa fa-fw fa-expand"></i>',action:function(e){var n=e.codemirror,r=e.button,i=e.textarea;r.on("click.editor.fullscreen",function(){var e=i.closest(".grav-editor"),r=n.getWrapperElement();if(e.hasClass("grav-editor-fullscreen")){t.document.documentElement.style.overflow="";var a=i.data("fullScreenRestore");r.style.width=a.width,r.style.height=a.height,window.scrollTo(a.scrollLeft,a.scrollTop)}else i.data("fullScreenRestore",{scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:r.style.width,height:r.style.height}),r.style.width="",r.style.height=i.parent(".grav-editor-content").height()+"px",t.document.documentElement.style.overflow="hidden";e.toggleClass("grav-editor-fullscreen"),setTimeout(function(){n.refresh(),(0,o["default"])(window).trigger("resize")},5)})}}}]}}).call(e,function(){return this}())},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";function e(t){for(var e={},n=0;n<t.length;++n)e[t[n]]=!0;return e}function n(t,e){for(var n,r=!1;null!=(n=t.next());){if(r&&"/"==n){e.tokenize=null;break}r="*"==n}return["comment","comment"]}t.defineMode("css",function(e,n){function r(t,e){return h=e,t}function i(t,e){var n=t.next();if(g[n]){var i=g[n](t,e);if(i!==!1)return i}return"@"==n?(t.eatWhile(/[\w\\\-]/),r("def",t.current())):"="==n||("~"==n||"|"==n)&&t.eat("=")?r(null,"compare"):'"'==n||"'"==n?(e.tokenize=o(n),e.tokenize(t,e)):"#"==n?(t.eatWhile(/[\w\\\-]/),r("atom","hash")):"!"==n?(t.match(/^\s*\w*/),r("keyword","important")):/\d/.test(n)||"."==n&&t.eat(/\d/)?(t.eatWhile(/[\w.%]/),r("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?r(null,"select-op"):"."==n&&t.match(/^-?[_a-z][_a-z0-9-]*/i)?r("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?r(null,n):"u"==n&&t.match(/rl(-prefix)?\(/)||"d"==n&&t.match("omain(")||"r"==n&&t.match("egexp(")?(t.backUp(1),e.tokenize=a,r("property","word")):/[\w\\\-]/.test(n)?(t.eatWhile(/[\w\\\-]/),r("property","word")):r(null,null):/[\d.]/.test(t.peek())?(t.eatWhile(/[\w.%]/),r("number","unit")):t.match(/^-[\w\\\-]+/)?(t.eatWhile(/[\w\\\-]/),t.match(/^\s*:/,!1)?r("variable-2","variable-definition"):r("variable-2","variable")):t.match(/^\w+-/)?r("meta","meta"):void 0}function o(t){return function(e,n){for(var i,o=!1;null!=(i=e.next());){if(i==t&&!o){")"==t&&e.backUp(1);break}o=!o&&"\\"==i}return(i==t||!o&&")"!=t)&&(n.tokenize=null),r("string","string")}}function a(t,e){return t.next(),t.match(/\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=o(")"),r(null,"(")}function s(t,e,n){this.type=t,this.indent=e,this.prev=n}function u(t,e,n,r){return t.context=new s(n,e.indentation()+(r===!1?0:v),t.context),n}function c(t){return t.context.prev&&(t.context=t.context.prev),t.context.type}function l(t,e,n){return j[n.context.type](t,e,n)}function f(t,e,n,r){for(var i=r||1;i>0;i--)n.context=n.context.prev;return l(t,e,n)}function d(t){var e=t.current().toLowerCase();m=I.hasOwnProperty(e)?"atom":M.hasOwnProperty(e)?"keyword":"variable"}var p=n.inline;n.propertyKeywords||(n=t.resolveMode("text/css"));var h,m,v=e.indentUnit,g=n.tokenHooks,_=n.documentTypes||{},y=n.mediaTypes||{},b=n.mediaFeatures||{},x=n.mediaValueKeywords||{},w=n.propertyKeywords||{},k=n.nonStandardPropertyKeywords||{},S=n.fontProperties||{},A=n.counterDescriptors||{},M=n.colorKeywords||{},I=n.valueKeywords||{},O=n.allowNested,E=n.supportsAtComponent===!0,j={};return j.top=function(t,e,n){if("{"==t)return u(n,e,"block");if("}"==t&&n.context.prev)return c(n);if(E&&/@component/.test(t))return u(n,e,"atComponentBlock");if(/^@(-moz-)?document$/.test(t))return u(n,e,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(t))return u(n,e,"atBlock");if(/^@(font-face|counter-style)/.test(t))return n.stateArg=t,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(t))return"keyframes";if(t&&"@"==t.charAt(0))return u(n,e,"at");if("hash"==t)m="builtin";else if("word"==t)m="tag";else{if("variable-definition"==t)return"maybeprop";if("interpolation"==t)return u(n,e,"interpolation");if(":"==t)return"pseudo";if(O&&"("==t)return u(n,e,"parens")}return n.context.type},j.block=function(t,e,n){if("word"==t){var r=e.current().toLowerCase();return w.hasOwnProperty(r)?(m="property","maybeprop"):k.hasOwnProperty(r)?(m="string-2","maybeprop"):O?(m=e.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(m+=" error","maybeprop")}return"meta"==t?"block":O||"hash"!=t&&"qualifier"!=t?j.top(t,e,n):(m="error","block")},j.maybeprop=function(t,e,n){return":"==t?u(n,e,"prop"):l(t,e,n)},j.prop=function(t,e,n){if(";"==t)return c(n);if("{"==t&&O)return u(n,e,"propBlock");if("}"==t||"{"==t)return f(t,e,n);if("("==t)return u(n,e,"parens");if("hash"!=t||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(e.current())){if("word"==t)d(e);else if("interpolation"==t)return u(n,e,"interpolation")}else m+=" error";return"prop"},j.propBlock=function(t,e,n){return"}"==t?c(n):"word"==t?(m="property","maybeprop"):n.context.type},j.parens=function(t,e,n){return"{"==t||"}"==t?f(t,e,n):")"==t?c(n):"("==t?u(n,e,"parens"):"interpolation"==t?u(n,e,"interpolation"):("word"==t&&d(e),"parens")},j.pseudo=function(t,e,n){return"word"==t?(m="variable-3",n.context.type):l(t,e,n)},j.documentTypes=function(t,e,n){return"word"==t&&_.hasOwnProperty(e.current())?(m="tag",n.context.type):j.atBlock(t,e,n)},j.atBlock=function(t,e,n){if("("==t)return u(n,e,"atBlock_parens");if("}"==t||";"==t)return f(t,e,n);if("{"==t)return c(n)&&u(n,e,O?"block":"top");if("interpolation"==t)return u(n,e,"interpolation");if("word"==t){var r=e.current().toLowerCase();m="only"==r||"not"==r||"and"==r||"or"==r?"keyword":y.hasOwnProperty(r)?"attribute":b.hasOwnProperty(r)?"property":x.hasOwnProperty(r)?"keyword":w.hasOwnProperty(r)?"property":k.hasOwnProperty(r)?"string-2":I.hasOwnProperty(r)?"atom":M.hasOwnProperty(r)?"keyword":"error"}return n.context.type},j.atComponentBlock=function(t,e,n){return"}"==t?f(t,e,n):"{"==t?c(n)&&u(n,e,O?"block":"top",!1):("word"==t&&(m="error"),n.context.type)},j.atBlock_parens=function(t,e,n){return")"==t?c(n):"{"==t||"}"==t?f(t,e,n,2):j.atBlock(t,e,n)},j.restricted_atBlock_before=function(t,e,n){return"{"==t?u(n,e,"restricted_atBlock"):"word"==t&&"@counter-style"==n.stateArg?(m="variable","restricted_atBlock_before"):l(t,e,n)},j.restricted_atBlock=function(t,e,n){return"}"==t?(n.stateArg=null,c(n)):"word"==t?(m="@font-face"==n.stateArg&&!S.hasOwnProperty(e.current().toLowerCase())||"@counter-style"==n.stateArg&&!A.hasOwnProperty(e.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},j.keyframes=function(t,e,n){return"word"==t?(m="variable","keyframes"):"{"==t?u(n,e,"top"):l(t,e,n)},j.at=function(t,e,n){return";"==t?c(n):"{"==t||"}"==t?f(t,e,n):("word"==t?m="tag":"hash"==t&&(m="builtin"),"at")},j.interpolation=function(t,e,n){return"}"==t?c(n):"{"==t||";"==t?f(t,e,n):("word"==t?m="variable":"variable"!=t&&"("!=t&&")"!=t&&(m="error"),"interpolation")},{startState:function(t){return{tokenize:null,state:p?"block":"top",stateArg:null,context:new s(p?"block":"top",t||0,null)}},token:function(t,e){if(!e.tokenize&&t.eatSpace())return null;var n=(e.tokenize||i)(t,e);return n&&"object"==typeof n&&(h=n[1],n=n[0]),m=n,e.state=j[e.state](h,t,e),m},indent:function(t,e){var n=t.context,r=e&&e.charAt(0),i=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(i=Math.max(0,n.indent-v),n=n.prev):(n=n.prev,i=n.indent)),i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace"}});var r=["domain","regexp","url","url-prefix"],i=e(r),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=e(o),s=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],u=e(s),c=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=e(c),f=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=e(f),p=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],h=e(p),m=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],v=e(m),g=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],_=e(g),y=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],b=e(y),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],w=e(x),k=r.concat(o).concat(s).concat(c).concat(f).concat(p).concat(y).concat(x);
t.registerHelper("hintWords","css",k),t.defineMIME("text/css",{documentTypes:i,mediaTypes:a,mediaFeatures:u,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:v,counterDescriptors:_,colorKeywords:b,valueKeywords:w,tokenHooks:{"/":function(t,e){return t.eat("*")?(e.tokenize=n,n(t,e)):!1}},name:"css"}),t.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:u,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:b,valueKeywords:w,fontProperties:v,allowNested:!0,tokenHooks:{"/":function(t,e){return t.eat("/")?(t.skipToEnd(),["comment","comment"]):t.eat("*")?(e.tokenize=n,n(t,e)):["operator","operator"]},":":function(t){return t.match(/\s*\{/)?[null,"{"]:!1},$:function(t){return t.match(/^[\w-]+/),t.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(t){return t.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),t.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:u,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:b,valueKeywords:w,fontProperties:v,allowNested:!0,tokenHooks:{"/":function(t,e){return t.eat("/")?(t.skipToEnd(),["comment","comment"]):t.eat("*")?(e.tokenize=n,n(t,e)):["operator","operator"]},"@":function(t){return t.eat("{")?[null,"interpolation"]:t.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)?!1:(t.eatWhile(/[\w\\\-]/),t.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),t.defineMIME("text/x-gss",{documentTypes:i,mediaTypes:a,mediaFeatures:u,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:v,counterDescriptors:_,colorKeywords:b,valueKeywords:w,supportsAtComponent:!0,tokenHooks:{"/":function(t,e){return t.eat("*")?(e.tokenize=n,n(t,e)):!1}},name:"css",helperType:"gss"})})},function(t,e,n){!function(t){t(n(326),n(362),n(365))}(function(t){"use strict";var e=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;t.defineMode("gfm",function(n,r){function i(t){return t.code=!1,null}var o=0,a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(t){return{code:t.code,codeBlock:t.codeBlock,ateSpace:t.ateSpace}},token:function(t,n){if(n.combineTokens=null,n.codeBlock)return t.match(/^```+/)?(n.codeBlock=!1,null):(t.skipToEnd(),null);if(t.sol()&&(n.code=!1),t.sol()&&t.match(/^```+/))return t.skipToEnd(),n.codeBlock=!0,null;if("`"===t.peek()){t.next();var i=t.pos;t.eatWhile("`");var a=1+t.pos-i;return n.code?a===o&&(n.code=!1):(o=a,n.code=!0),null}if(n.code)return t.next(),null;if(t.eatSpace())return n.ateSpace=!0,null;if((t.sol()||n.ateSpace)&&(n.ateSpace=!1,r.gitHubSpice!==!1)){if(t.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(t.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return t.match(e)&&"]("!=t.string.slice(t.start-2,t.start)&&(0==t.start||/\W/.test(t.string.charAt(t.start-1)))?(n.combineTokens=!0,"link"):(t.next(),null)},blankLine:i},s={underscoresBreakWords:!1,taskLists:!0,fencedCodeBlocks:"```",strikethrough:!0};for(var u in r)s[u]=r[u];return s.name="markdown",t.overlayMode(t.getMode(n,s),a)},"markdown"),t.defineMIME("text/x-gfm","gfm")})},function(t,e,n){!function(t){t(n(326),n(363),n(364))}(function(t){"use strict";t.defineMode("markdown",function(e,n){function r(n){if(t.findModeByName){var r=t.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=t.getMode(e,n);return"null"==i.name?null:i}function i(t,e,n){return e.f=e.inline=n,n(t,e)}function o(t,e,n){return e.f=e.block=n,n(t,e)}function a(t){return!t||!/\S/.test(t.string)}function s(t){return t.linkTitle=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,k&&t.f==c&&(t.f=h,t.block=u),t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine=null,null}function u(t,e){var o=t.sol(),s=e.list!==!1,u=e.indentedCode;e.indentedCode=!1,s&&(e.indentationDiff>=0?(e.indentationDiff<4&&(e.indentation-=e.indentationDiff),e.list=null):e.indentation>0?(e.list=null,e.listDepth=Math.floor(e.indentation/4)):(e.list=!1,e.listDepth=0));var c=null;if(e.indentationDiff>=4)return t.skipToEnd(),u||a(e.prevLine)?(e.indentation-=4,e.indentedCode=!0,S.code):null;if(t.eatSpace())return null;if((c=t.match(j))&&c[1].length<=6)return e.header=c[1].length,n.highlightFormatting&&(e.formatting="header"),e.f=e.inline,d(e);if(!(a(e.prevLine)||e.quote||s||u)&&(c=t.match(z)))return e.header="="==c[0].charAt(0)?1:2,n.highlightFormatting&&(e.formatting="header"),e.f=e.inline,d(e);if(t.eat(">"))return e.quote=o?1:e.quote+1,n.highlightFormatting&&(e.formatting="quote"),t.eatSpace(),d(e);if("["===t.peek())return i(t,e,_);if(t.match(M,!0))return e.hr=!0,S.hr;if((a(e.prevLine)||s)&&(t.match(I,!1)||t.match(O,!1))){var f=null;return t.match(I,!0)?f="ul":(t.match(O,!0),f="ol"),e.indentation=t.column()+t.current().length,e.list=!0,e.listDepth++,n.taskLists&&t.match(E,!1)&&(e.taskList=!0),e.f=e.inline,n.highlightFormatting&&(e.formatting=["list","list-"+f]),d(e)}return n.fencedCodeBlocks&&(c=t.match(C,!0))?(e.fencedChars=c[1],e.localMode=r(c[2]),e.localMode&&(e.localState=e.localMode.startState()),e.f=e.block=l,n.highlightFormatting&&(e.formatting="code-block"),e.code=-1,d(e)):i(t,e,e.inline)}function c(e,n){var r=w.token(e,n.htmlState);if(!k){var i=t.innerMode(w,n.htmlState);("xml"==i.mode.name&&null===i.state.tagStart&&!i.state.context&&i.state.tokenize.isInText||n.md_inside&&e.current().indexOf(">")>-1)&&(n.f=h,n.block=u,n.htmlState=null)}return r}function l(t,e){return e.fencedChars&&t.match(e.fencedChars,!1)?(e.localMode=e.localState=null,e.f=e.block=f,null):e.localMode?e.localMode.token(t,e.localState):(t.skipToEnd(),S.code)}function f(t,e){t.match(e.fencedChars),e.block=u,e.f=h,e.fencedChars=null,n.highlightFormatting&&(e.formatting="code-block"),e.code=1;var r=d(e);return e.code=0,r}function d(t){var e=[];if(t.formatting){e.push(S.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var r=0;r<t.formatting.length;r++)e.push(S.formatting+"-"+t.formatting[r]),"header"===t.formatting[r]&&e.push(S.formatting+"-"+t.formatting[r]+"-"+t.header),"quote"===t.formatting[r]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(S.formatting+"-"+t.formatting[r]+"-"+t.quote):e.push("error"))}if(t.taskOpen)return e.push("meta"),e.length?e.join(" "):null;if(t.taskClosed)return e.push("property"),e.length?e.join(" "):null;if(t.linkHref?e.push(S.linkHref,"url"):(t.strong&&e.push(S.strong),t.em&&e.push(S.em),t.strikethrough&&e.push(S.strikethrough),t.linkText&&e.push(S.linkText),t.code&&e.push(S.code)),t.header&&e.push(S.header,S.header+"-"+t.header),t.quote&&(e.push(S.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(S.quote+"-"+t.quote):e.push(S.quote+"-"+n.maxBlockquoteDepth)),t.list!==!1){var i=(t.listDepth-1)%3;i?1===i?e.push(S.list2):e.push(S.list3):e.push(S.list1)}return t.trailingSpaceNewLine?e.push("trailing-space-new-line"):t.trailingSpace&&e.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),e.length?e.join(" "):null}function p(t,e){return t.match(P,!0)?d(e):void 0}function h(e,r){var i=r.text(e,r);if("undefined"!=typeof i)return i;if(r.list)return r.list=null,d(r);if(r.taskList){var a="x"!==e.match(E,!0)[1];return a?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,d(r)}if(r.taskOpen=!1,r.taskClosed=!1,r.header&&e.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"),d(r);var s=e.sol(),u=e.next();if(r.linkTitle){r.linkTitle=!1;var l=u;"("===u&&(l=")"),l=(l+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");var f="^\\s*(?:[^"+l+"\\\\]+|\\\\\\\\|\\\\.)"+l;if(e.match(new RegExp(f),!0))return S.linkHref}if("`"===u){var p=r.formatting;n.highlightFormatting&&(r.formatting="code"),e.eatWhile("`");var h=e.current().length;if(0==r.code)return r.code=h,d(r);if(h==r.code){var g=d(r);return r.code=0,g}return r.formatting=p,d(r)}if(r.code)return d(r);if("\\"===u&&(e.next(),n.highlightFormatting)){var _=d(r),y=S.formatting+"-escape";return _?_+" "+y:y}if("!"===u&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return e.match(/\[[^\]]*\]/),r.inline=r.f=v,S.image;if("["===u&&e.match(/.*\](\(.*\)| ?\[.*\])/,!1))return r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),d(r);if("]"===u&&r.linkText&&e.match(/\(.*\)| ?\[.*\]/,!1)){n.highlightFormatting&&(r.formatting="link");var _=d(r);return r.linkText=!1,r.inline=r.f=v,_}if("<"===u&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=m,n.highlightFormatting&&(r.formatting="link");var _=d(r);return _?_+=" ":_="",_+S.linkInline}if("<"===u&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=m,n.highlightFormatting&&(r.formatting="link");var _=d(r);return _?_+=" ":_="",_+S.linkEmail}if("<"===u&&e.match(/^(!--|\w)/,!1)){var b=e.string.indexOf(">",e.pos);if(-1!=b){var x=e.string.substring(e.start,b);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(x)&&(r.md_inside=!0)}return e.backUp(1),r.htmlState=t.startState(w),o(e,r,c)}if("<"===u&&e.match(/^\/\w*?>/))return r.md_inside=!1,"tag";var k=!1;if(!n.underscoresBreakWords&&"_"===u&&"_"!==e.peek()&&e.match(/(\w)/,!1)){var A=e.pos-2;if(A>=0){var M=e.string.charAt(A);"_"!==M&&M.match(/(\w)/,!1)&&(k=!0)}}if("*"===u||"_"===u&&!k)if(s&&" "===e.peek());else{if(r.strong===u&&e.eat(u)){n.highlightFormatting&&(r.formatting="strong");var g=d(r);return r.strong=!1,g}if(!r.strong&&e.eat(u))return r.strong=u,n.highlightFormatting&&(r.formatting="strong"),d(r);if(r.em===u){n.highlightFormatting&&(r.formatting="em");var g=d(r);return r.em=!1,g}if(!r.em)return r.em=u,n.highlightFormatting&&(r.formatting="em"),d(r)}else if(" "===u&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return d(r);e.backUp(1)}if(n.strikethrough)if("~"===u&&e.eatWhile(u)){if(r.strikethrough){n.highlightFormatting&&(r.formatting="strikethrough");var g=d(r);return r.strikethrough=!1,g}if(e.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),d(r)}else if(" "===u&&e.match(/^~~/,!0)){if(" "===e.peek())return d(r);e.backUp(2)}return" "===u&&(e.match(/ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),d(r)}function m(t,e){var r=t.next();if(">"===r){e.f=e.inline=h,n.highlightFormatting&&(e.formatting="link");var i=d(e);return i?i+=" ":i="",i+S.linkInline}return t.match(/^[^>]+/,!0),S.linkInline}function v(t,e){if(t.eatSpace())return null;var r=t.next();return"("===r||"["===r?(e.f=e.inline=g("("===r?")":"]"),n.highlightFormatting&&(e.formatting="link-string"),e.linkHref=!0,d(e)):"error"}function g(t){return function(e,r){var i=e.next();if(i===t){r.f=r.inline=h,n.highlightFormatting&&(r.formatting="link-string");var o=d(r);return r.linkHref=!1,o}return e.match(x(t),!0)&&e.backUp(1),r.linkHref=!0,d(r)}}function _(t,e){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(e.f=y,t.next(),n.highlightFormatting&&(e.formatting="link"),e.linkText=!0,d(e)):i(t,e,h)}function y(t,e){if(t.match(/^\]:/,!0)){e.f=e.inline=b,n.highlightFormatting&&(e.formatting="link");var r=d(e);return e.linkText=!1,r}return t.match(/^([^\]\\]|\\.)+/,!0),S.linkText}function b(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=h,S.linkHref+" url")}function x(t){return T[t]||(t=(t+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),T[t]=new RegExp("^(?:[^\\\\]|\\\\.)*?("+t+")")),T[t]}var w=t.getMode(e,"text/html"),k="null"==w.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.underscoresBreakWords&&(n.underscoresBreakWords=!0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var S={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"tag",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough"};for(var A in S)S.hasOwnProperty(A)&&n.tokenTypeOverrides[A]&&(S[A]=n.tokenTypeOverrides[A]);var M=/^([*\-_])(?:\s*\1){2,}\s*$/,I=/^[*\-+]\s+/,O=/^[0-9]+([.)])\s+/,E=/^\[(x| )\](?=\s)/,j=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,z=/^ *(?:\={1,}|-{1,})\s*$/,P=/^[^#!\[\]*_\\<>` "'(~]+/,C=new RegExp("^("+(n.fencedCodeBlocks===!0?"~~~+|```+":n.fencedCodeBlocks)+")[ \\t]*([\\w+#]*)"),T=[],L={startState:function(){return{f:u,prevLine:null,thisLine:null,block:u,htmlState:null,indentation:0,inline:h,text:p,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,hr:!1,taskList:!1,list:!1,listDepth:0,quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,fencedChars:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&t.copyState(w,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?t.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkTitle:e.linkTitle,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,header:e.header,hr:e.hr,taskList:e.taskList,list:e.list,listDepth:e.listDepth,quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedChars:e.fencedChars}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine){var n=e.header||e.hr;if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0)||n){if(s(e),!n)return null;e.prevLine=null}e.prevLine=e.thisLine,e.thisLine=t,e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.f=e.block;var r=t.match(/^\s*/,!0)[0].replace(/\t/g," ").length,i=4*Math.floor((r-e.indentation)/4);i>4&&(i=4);var o=e.indentation+i;if(e.indentationDiff=o-e.indentation,e.indentation=o,r>0)return null}return e.f(t,e)},innerMode:function(t){return t.block==c?{state:t.htmlState,mode:w}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:L}},blankLine:s,getType:d,fold:"markdown"};return L},"xml"),t.defineMIME("text/x-markdown","markdown")})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};t.defineMode("xml",function(r,i){function o(t,e){function n(n){return e.tokenize=n,n(t,e)}var r=t.next();if("<"==r)return t.eat("!")?t.eat("[")?t.match("CDATA[")?n(u("atom","]]>")):null:t.match("--")?n(u("comment","-->")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),n(c(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=u("meta","?>"),"meta"):(M=t.eat("/")?"closeTag":"openTag",e.tokenize=a,"tag bracket");if("&"==r){var i;return i=t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"),i?"atom":"error"}return t.eatWhile(/[^&<]/),null}function a(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=o,M=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return M="equals",null;if("<"==n){e.tokenize=o,e.state=p,e.tagName=e.tagStart=null;var r=e.tokenize(t,e);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=s(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=a;break}return"string"};return e.isInAttribute=!0,e}function u(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=o;break}n.next()}return t}}function c(t){return function(e,n){for(var r;null!=(r=e.next());){if("<"==r)return n.tokenize=c(t+1),n.tokenize(e,n);if(">"==r){if(1==t){n.tokenize=o;break}return n.tokenize=c(t-1),n.tokenize(e,n)}}return"meta"}}function l(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(k.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function f(t){t.context&&(t.context=t.context.prev)}function d(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!k.contextGrabbers.hasOwnProperty(n)||!k.contextGrabbers[n].hasOwnProperty(e))return;f(t)}}function p(t,e,n){return"openTag"==t?(n.tagStart=e.column(),h):"closeTag"==t?m:p}function h(t,e,n){return"word"==t?(n.tagName=e.current(),I="tag",_):(I="error",h)}function m(t,e,n){if("word"==t){var r=e.current();return n.context&&n.context.tagName!=r&&k.implicitlyClosed.hasOwnProperty(n.context.tagName)&&f(n),n.context&&n.context.tagName==r||k.matchClosing===!1?(I="tag",v):(I="tag error",g)}return I="error",g}function v(t,e,n){return"endTag"!=t?(I="error",v):(f(n),p)}function g(t,e,n){return I="error",v(t,e,n)}function _(t,e,n){if("word"==t)return I="attribute",y;if("endTag"==t||"selfcloseTag"==t){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||k.autoSelfClosers.hasOwnProperty(r)?d(n,r):(d(n,r),n.context=new l(n,r,i==n.indented)),p}return I="error",_}function y(t,e,n){return"equals"==t?b:(k.allowMissing||(I="error"),_(t,e,n))}function b(t,e,n){return"string"==t?x:"word"==t&&k.allowUnquoted?(I="string",_):(I="error",_(t,e,n))}function x(t,e,n){return"string"==t?x:_(t,e,n)}var w=r.indentUnit,k={},S=i.htmlMode?e:n;for(var A in S)k[A]=S[A];for(var A in i)k[A]=i[A];var M,I;return o.isInText=!0,{startState:function(t){var e={tokenize:o,state:p,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;M=null;var n=e.tokenize(t,e);return(n||M)&&"comment"!=n&&(I=null,e.state=e.state(M||n,t,e),I&&(n="error"==I?n+" error":I)),n},indent:function(e,n,r){var i=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+w;if(i&&i.noIndent)return t.Pass;if(e.tokenize!=a&&e.tokenize!=o)return r?r.match(/^(\s*)/)[0].length:0;if(e.tagName)return k.multilineTagIndentPastTag!==!1?e.tagStart+e.tagName.length+2:e.tagStart+w*(k.multilineTagIndentFactor||1);if(k.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;i;){if(i.tagName==s[2]){i=i.prev;break}if(!k.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(s)for(;i;){var u=k.contextGrabbers[i.tagName];if(!u||!u.hasOwnProperty(s[2]))break;i=i.prev}for(;i&&i.prev&&!i.startOfLine;)i=i.prev;return i?i.indent+w:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:k.htmlMode?"html":"xml",helperType:k.htmlMode?"html":"xml",skipAttribute:function(t){t.state==b&&(t.state=_)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["pgp"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mime:"text/x-coffeescript",mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"]},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Jade",mime:"text/x-jade",mode:"jade",ext:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps"},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mime:"text/n-triples",mode:"ntriples",ext:["nt"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:"application/x-httpd-php",mode:"php",ext:["php","php3","php4","php5","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["py","pyw"]},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mime:"text/x-sh",mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"MariaDB",mime:"text/x-mariadb",mode:"sql"},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"YAML",mime:"text/x-yaml",mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var e=0;e<t.modeInfo.length;e++){var n=t.modeInfo[e];n.mimes&&(n.mime=n.mimes[0])}t.findModeByMIME=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var r=t.modeInfo[n];if(r.mime==e)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==e)return r}},t.findModeByExtension=function(e){for(var n=0;n<t.modeInfo.length;n++){var r=t.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==e)return r}},t.findModeByFileName=function(e){for(var n=0;n<t.modeInfo.length;n++){var r=t.modeInfo[n];if(r.file&&r.file.test(e))return r}var i=e.lastIndexOf("."),o=i>-1&&e.substring(i+1,e.length);return o?t.findModeByExtension(o):void 0},t.findModeByName=function(e){e=e.toLowerCase();for(var n=0;n<t.modeInfo.length;n++){var r=t.modeInfo[n];if(r.name.toLowerCase()==e)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==e)return r}}})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";t.overlayMode=function(e,n,r){
return{startState:function(){return{base:t.startState(e),overlay:t.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:t.copyState(e,r.base),overlay:t.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(t,i){return(t!=i.streamSeen||Math.min(i.basePos,i.overlayPos)<t.start)&&(i.streamSeen=t,i.basePos=i.overlayPos=t.start),t.start==i.basePos&&(i.baseCur=e.token(t,i.base),i.basePos=t.pos),t.start==i.overlayPos&&(t.pos=t.start,i.overlayCur=n.token(t,i.overlay),i.overlayPos=t.pos),t.pos=Math.min(i.basePos,i.overlayPos),null==i.overlayCur?i.baseCur:null!=i.baseCur&&i.overlay.combineTokens||r&&null==i.overlay.combineTokens?i.baseCur+" "+i.overlayCur:i.overlayCur},indent:e.indent&&function(t,n){return e.indent(t.base,n)},electricChars:e.electricChars,innerMode:function(t){return{state:t.base,mode:e}},blankLine:function(t){e.blankLine&&e.blankLine(t.base),n.blankLine&&n.blankLine(t.overlay)}}}})},function(t,e,n){!function(t){t(n(326),n(363),n(367),n(360))}(function(t){"use strict";function e(t,e,n){var r=t.current(),i=r.search(e);return i>-1?t.backUp(r.length-i):r.match(/<\/?$/)&&(t.backUp(r.length),t.match(e,!1)||t.match(r)),n}function n(t){var e=u[t];return e?e:u[t]=new RegExp("\\s+"+t+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*")}function r(t,e){var r=t.match(n(e));return r?r[2]:""}function i(t,e){return new RegExp((e?"^":"")+"</s*"+t+"s*>","i")}function o(t,e){for(var n in t)for(var r=e[n]||(e[n]=[]),i=t[n],o=i.length-1;o>=0;o--)r.unshift(i[o])}function a(t,e){for(var n=0;n<t.length;n++){var i=t[n];if(!i[0]||i[1].test(r(e,i[0])))return i[2]}}var s={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},u={};t.defineMode("htmlmixed",function(n,r){function u(r,o){var s,f=c.token(r,o.htmlState),d=/\btag\b/.test(f);if(d&&!/[<>\s\/]/.test(r.current())&&(s=o.htmlState.tagName&&o.htmlState.tagName.toLowerCase())&&l.hasOwnProperty(s))o.inTag=s+" ";else if(o.inTag&&d&&/>$/.test(r.current())){var p=/^([\S]+) (.*)/.exec(o.inTag);o.inTag=null;var h=">"==r.current()&&a(l[p[1]],p[2]),m=t.getMode(n,h),v=i(p[1],!0),g=i(p[1],!1);o.token=function(t,n){return t.match(v,!1)?(n.token=u,n.localState=n.localMode=null,null):e(t,g,n.localMode.token(t,n.localState))},o.localMode=m,o.localState=t.startState(m,c.indent(o.htmlState,""))}else o.inTag&&(o.inTag+=r.current(),r.eol()&&(o.inTag+=" "));return f}var c=t.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag}),l={},f=r&&r.tags,d=r&&r.scriptTypes;if(o(s,l),f&&o(f,l),d)for(var p=d.length-1;p>=0;p--)l.script.unshift(["type",d[p].matches,d[p].mode]);return{startState:function(){var t=c.startState();return{token:u,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(e){var n;return e.localState&&(n=t.copyState(e.localMode,e.localState)),{token:e.token,inTag:e.inTag,localMode:e.localMode,localState:n,htmlState:t.copyState(c,e.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(e,n){return!e.localMode||/^\s*<\//.test(n)?c.indent(e.htmlState,n):e.localMode.indent?e.localMode.indent(e.localState,n):t.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||c}}}},"xml","javascript","css"),t.defineMIME("text/html","htmlmixed")})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";function e(t,e,n){return/^(?:operator|sof|keyword c|case|new|[\[{}\(,;:]|=>)$/.test(e.lastType)||"quasi"==e.lastType&&/\{\s*$/.test(t.string.slice(0,t.pos-(n||0)))}t.defineMode("javascript",function(n,r){function i(t){for(var e,n=!1,r=!1;null!=(e=t.next());){if(!n){if("/"==e&&!r)return;"["==e?r=!0:r&&"]"==e&&(r=!1)}n=!n&&"\\"==e}}function o(t,e,n){return bt=t,xt=n,e}function a(t,n){var r=t.next();if('"'==r||"'"==r)return n.tokenize=s(r),n.tokenize(t,n);if("."==r&&t.match(/^\d+(?:[eE][+\-]?\d+)?/))return o("number","number");if("."==r&&t.match(".."))return o("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return o(r);if("="==r&&t.eat(">"))return o("=>","operator");if("0"==r&&t.eat(/x/i))return t.eatWhile(/[\da-f]/i),o("number","number");if("0"==r&&t.eat(/o/i))return t.eatWhile(/[0-7]/i),o("number","number");if("0"==r&&t.eat(/b/i))return t.eatWhile(/[01]/i),o("number","number");if(/\d/.test(r))return t.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),o("number","number");if("/"==r)return t.eat("*")?(n.tokenize=u,u(t,n)):t.eat("/")?(t.skipToEnd(),o("comment","comment")):e(t,n,1)?(i(t),t.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),o("regexp","string-2")):(t.eatWhile(Et),o("operator","operator",t.current()));if("`"==r)return n.tokenize=c,c(t,n);if("#"==r)return t.skipToEnd(),o("error","error");if(Et.test(r))return t.eatWhile(Et),o("operator","operator",t.current());if(It.test(r)){t.eatWhile(It);var a=t.current(),l=Ot.propertyIsEnumerable(a)&&Ot[a];return l&&"."!=n.lastType?o(l.type,l.style,a):o("variable","variable",a)}}function s(t){return function(e,n){var r,i=!1;if(St&&"@"==e.peek()&&e.match(jt))return n.tokenize=a,o("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=t||i);)i=!i&&"\\"==r;return i||(n.tokenize=a),o("string","string")}}function u(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize=a;break}r="*"==n}return o("comment","comment")}function c(t,e){for(var n,r=!1;null!=(n=t.next());){if(!r&&("`"==n||"$"==n&&t.eat("{"))){e.tokenize=a;break}r=!r&&"\\"==n}return o("quasi","string-2",t.current())}function l(t,e){e.fatArrowAt&&(e.fatArrowAt=null);var n=t.string.indexOf("=>",t.start);if(!(0>n)){for(var r=0,i=!1,o=n-1;o>=0;--o){var a=t.string.charAt(o),s=zt.indexOf(a);if(s>=0&&3>s){if(!r){++o;break}if(0==--r)break}else if(s>=3&&6>s)++r;else if(It.test(a))i=!0;else{if(/["'\/]/.test(a))return;if(i&&!r){++o;break}}}i&&!r&&(e.fatArrowAt=o)}}function f(t,e,n,r,i,o){this.indented=t,this.column=e,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function d(t,e){for(var n=t.localVars;n;n=n.next)if(n.name==e)return!0;for(var r=t.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==e)return!0}function p(t,e,n,r,i){var o=t.cc;for(Ct.state=t,Ct.stream=i,Ct.marked=null,Ct.cc=o,Ct.style=e,t.lexical.hasOwnProperty("align")||(t.lexical.align=!0);;){var a=o.length?o.pop():At?k:w;if(a(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Ct.marked?Ct.marked:"variable"==n&&d(t,r)?"variable-2":e}}}function h(){for(var t=arguments.length-1;t>=0;t--)Ct.cc.push(arguments[t])}function m(){return h.apply(null,arguments),!0}function v(t){function e(e){for(var n=e;n;n=n.next)if(n.name==t)return!0;return!1}var n=Ct.state;if(Ct.marked="def",n.context){if(e(n.localVars))return;n.localVars={name:t,next:n.localVars}}else{if(e(n.globalVars))return;r.globalVars&&(n.globalVars={name:t,next:n.globalVars})}}function g(){Ct.state.context={prev:Ct.state.context,vars:Ct.state.localVars},Ct.state.localVars=Tt}function _(){Ct.state.localVars=Ct.state.context.vars,Ct.state.context=Ct.state.context.prev}function y(t,e){var n=function(){var n=Ct.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new f(r,Ct.stream.column(),t,null,n.lexical,e)};return n.lex=!0,n}function b(){var t=Ct.state;t.lexical.prev&&(")"==t.lexical.type&&(t.indented=t.lexical.indented),t.lexical=t.lexical.prev)}function x(t){function e(n){return n==t?m():";"==t?h():m(e)}return e}function w(t,e){return"var"==t?m(y("vardef",e.length),H,x(";"),b):"keyword a"==t?m(y("form"),k,w,b):"keyword b"==t?m(y("form"),w,b):"{"==t?m(y("}"),K,b):";"==t?m():"if"==t?("else"==Ct.state.lexical.info&&Ct.state.cc[Ct.state.cc.length-1]==b&&Ct.state.cc.pop()(),m(y("form"),k,w,b,Z)):"function"==t?m(ot):"for"==t?m(y("form"),tt,w,b):"variable"==t?m(y("stat"),q):"switch"==t?m(y("form"),k,y("}","switch"),x("{"),K,b,b):"case"==t?m(k,x(":")):"default"==t?m(x(":")):"catch"==t?m(y("form"),g,x("("),at,x(")"),w,b,_):"class"==t?m(y("form"),st,b):"export"==t?m(y("stat"),ft,b):"import"==t?m(y("stat"),dt,b):"module"==t?m(y("form"),J,y("}"),x("{"),K,b,b):h(y("stat"),k,x(";"),b)}function k(t){return A(t,!1)}function S(t){return A(t,!0)}function A(t,e){if(Ct.state.fatArrowAt==Ct.stream.start){var n=e?C:P;if("("==t)return m(g,y(")"),B(J,")"),b,x("=>"),n,_);if("variable"==t)return h(g,J,x("=>"),n,_)}var r=e?E:O;return Pt.hasOwnProperty(t)?m(r):"function"==t?m(ot,r):"keyword c"==t?m(e?I:M):"("==t?m(y(")"),M,_t,x(")"),b,r):"operator"==t||"spread"==t?m(e?S:k):"["==t?m(y("]"),vt,b,r):"{"==t?V(F,"}",null,r):"quasi"==t?h(j,r):"new"==t?m(T(e)):m()}function M(t){return t.match(/[;\}\)\],]/)?h():h(k)}function I(t){return t.match(/[;\}\)\],]/)?h():h(S)}function O(t,e){return","==t?m(k):E(t,e,!1)}function E(t,e,n){var r=0==n?O:E,i=0==n?k:S;return"=>"==t?m(g,n?C:P,_):"operator"==t?/\+\+|--/.test(e)?m(r):"?"==e?m(k,x(":"),i):m(i):"quasi"==t?h(j,r):";"!=t?"("==t?V(S,")","call",r):"."==t?m(N,r):"["==t?m(y("]"),M,x("]"),b,r):void 0:void 0}function j(t,e){return"quasi"!=t?h():"${"!=e.slice(e.length-2)?m(j):m(k,z)}function z(t){return"}"==t?(Ct.marked="string-2",Ct.state.tokenize=c,m(j)):void 0}function P(t){return l(Ct.stream,Ct.state),h("{"==t?w:k)}function C(t){return l(Ct.stream,Ct.state),h("{"==t?w:S)}function T(t){return function(e){return"."==e?m(t?D:L):h(t?S:k)}}function L(t,e){return"target"==e?(Ct.marked="keyword",m(O)):void 0}function D(t,e){return"target"==e?(Ct.marked="keyword",m(E)):void 0}function q(t){return":"==t?m(b,w):h(O,x(";"),b)}function N(t){return"variable"==t?(Ct.marked="property",m()):void 0}function F(t,e){return"variable"==t||"keyword"==Ct.style?(Ct.marked="property",m("get"==e||"set"==e?U:R)):"number"==t||"string"==t?(Ct.marked=St?"property":Ct.style+" property",m(R)):"jsonld-keyword"==t?m(R):"modifier"==t?m(F):"["==t?m(k,x("]"),R):"spread"==t?m(k):void 0}function U(t){return"variable"!=t?h(R):(Ct.marked="property",m(ot))}function R(t){return":"==t?m(S):"("==t?h(ot):void 0}function B(t,e){function n(r){if(","==r){var i=Ct.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),m(t,n)}return r==e?m():m(x(e))}return function(r){return r==e?m():h(t,n)}}function V(t,e,n){for(var r=3;r<arguments.length;r++)Ct.cc.push(arguments[r]);return m(y(e,n),B(t,e),b)}function K(t){return"}"==t?m():h(w,K)}function W(t){return Mt&&":"==t?m($):void 0}function G(t,e){return"="==e?m(S):void 0}function $(t){return"variable"==t?(Ct.marked="variable-3",m()):void 0}function H(){return h(J,W,Q,X)}function J(t,e){return"modifier"==t?m(J):"variable"==t?(v(e),m()):"spread"==t?m(J):"["==t?V(J,"]"):"{"==t?V(Y,"}"):void 0}function Y(t,e){return"variable"!=t||Ct.stream.match(/^\s*:/,!1)?("variable"==t&&(Ct.marked="property"),"spread"==t?m(J):"}"==t?h():m(x(":"),J,Q)):(v(e),m(Q))}function Q(t,e){return"="==e?m(S):void 0}function X(t){return","==t?m(H):void 0}function Z(t,e){return"keyword b"==t&&"else"==e?m(y("form","else"),w,b):void 0}function tt(t){return"("==t?m(y(")"),et,x(")"),b):void 0}function et(t){return"var"==t?m(H,x(";"),rt):";"==t?m(rt):"variable"==t?m(nt):h(k,x(";"),rt)}function nt(t,e){return"in"==e||"of"==e?(Ct.marked="keyword",m(k)):m(O,rt)}function rt(t,e){return";"==t?m(it):"in"==e||"of"==e?(Ct.marked="keyword",m(k)):h(k,x(";"),it)}function it(t){")"!=t&&m(k)}function ot(t,e){return"*"==e?(Ct.marked="keyword",m(ot)):"variable"==t?(v(e),m(ot)):"("==t?m(g,y(")"),B(at,")"),b,w,_):void 0}function at(t){return"spread"==t?m(at):h(J,W,G)}function st(t,e){return"variable"==t?(v(e),m(ut)):void 0}function ut(t,e){return"extends"==e?m(k,ut):"{"==t?m(y("}"),ct,b):void 0}function ct(t,e){return"variable"==t||"keyword"==Ct.style?"static"==e?(Ct.marked="keyword",m(ct)):(Ct.marked="property","get"==e||"set"==e?m(lt,ot,ct):m(ot,ct)):"*"==e?(Ct.marked="keyword",m(ct)):";"==t?m(ct):"}"==t?m():void 0}function lt(t){return"variable"!=t?h():(Ct.marked="property",m())}function ft(t,e){return"*"==e?(Ct.marked="keyword",m(mt,x(";"))):"default"==e?(Ct.marked="keyword",m(k,x(";"))):h(w)}function dt(t){return"string"==t?m():h(pt,mt)}function pt(t,e){return"{"==t?V(pt,"}"):("variable"==t&&v(e),"*"==e&&(Ct.marked="keyword"),m(ht))}function ht(t,e){return"as"==e?(Ct.marked="keyword",m(pt)):void 0}function mt(t,e){return"from"==e?(Ct.marked="keyword",m(k)):void 0}function vt(t){return"]"==t?m():h(S,gt)}function gt(t){return"for"==t?h(_t,x("]")):","==t?m(B(I,"]")):h(B(S,"]"))}function _t(t){return"for"==t?m(tt,_t):"if"==t?m(k,_t):void 0}function yt(t,e){return"operator"==t.lastType||","==t.lastType||Et.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}var bt,xt,wt=n.indentUnit,kt=r.statementIndent,St=r.jsonld,At=r.json||St,Mt=r.typescript,It=r.wordCharacters||/[\w$\xa1-\uffff]/,Ot=function(){function t(t){return{type:t,style:"keyword"}}var e=t("keyword a"),n=t("keyword b"),r=t("keyword c"),i=t("operator"),o={type:"atom",style:"atom"},a={"if":t("if"),"while":e,"with":e,"else":n,"do":n,"try":n,"finally":n,"return":r,"break":r,"continue":r,"new":t("new"),"delete":r,"throw":r,"debugger":r,"var":t("var"),"const":t("var"),let:t("var"),"function":t("function"),"catch":t("catch"),"for":t("for"),"switch":t("switch"),"case":t("case"),"default":t("default"),"in":i,"typeof":i,"instanceof":i,"true":o,"false":o,"null":o,undefined:o,NaN:o,Infinity:o,"this":t("this"),"class":t("class"),"super":t("atom"),"yield":r,"export":t("export"),"import":t("import"),"extends":r};if(Mt){var s={type:"variable",style:"variable-3"},u={"interface":t("class"),"implements":r,namespace:r,module:t("module"),"enum":t("module"),"public":t("modifier"),"private":t("modifier"),"protected":t("modifier"),"abstract":t("modifier"),as:i,string:s,number:s,"boolean":s,any:s};for(var c in u)a[c]=u[c]}return a}(),Et=/[+\-*&%=<>!?|~^]/,jt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,zt="([{}])",Pt={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0,"jsonld-keyword":!0},Ct={state:null,column:null,marked:null,cc:null},Tt={name:"this",next:{name:"arguments"}};return b.lex=!0,{startState:function(t){var e={tokenize:a,lastType:"sof",cc:[],lexical:new f((t||0)-wt,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:t||0};return r.globalVars&&"object"==typeof r.globalVars&&(e.globalVars=r.globalVars),e},token:function(t,e){if(t.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=t.indentation(),l(t,e)),e.tokenize!=u&&t.eatSpace())return null;var n=e.tokenize(t,e);return"comment"==bt?n:(e.lastType="operator"!=bt||"++"!=xt&&"--"!=xt?bt:"incdec",p(e,n,bt,xt,t))},indent:function(e,n){if(e.tokenize==u)return t.Pass;if(e.tokenize!=a)return 0;var i=n&&n.charAt(0),o=e.lexical;if(!/^\s*else\b/.test(n))for(var s=e.cc.length-1;s>=0;--s){var c=e.cc[s];if(c==b)o=o.prev;else if(c!=Z)break}"stat"==o.type&&"}"==i&&(o=o.prev),kt&&")"==o.type&&"stat"==o.prev.type&&(o=o.prev);var l=o.type,f=i==l;return"vardef"==l?o.indented+("operator"==e.lastType||","==e.lastType?o.info+1:0):"form"==l&&"{"==i?o.indented:"form"==l?o.indented+wt:"stat"==l?o.indented+(yt(e,n)?kt||wt:0):"switch"!=o.info||f||0==r.doubleIndentSwitch?o.align?o.column+(f?0:1):o.indented+(f?0:wt):o.indented+(/^(?:case|default)\b/.test(n)?wt:2*wt)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:At?null:"/*",blockCommentEnd:At?null:"*/",lineComment:At?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:At?"json":"javascript",jsonldMode:St,jsonMode:At,expressionAllowed:e,skipExpression:function(t){var e=t.cc[t.cc.length-1];e!=k&&e!=S||t.cc.pop()}}}),t.registerHelper("wordChars","javascript",/[\w$]/),t.defineMIME("text/javascript","javascript"),t.defineMIME("text/ecmascript","javascript"),t.defineMIME("application/javascript","javascript"),t.defineMIME("application/x-javascript","javascript"),t.defineMIME("application/ecmascript","javascript"),t.defineMIME("application/json",{name:"javascript",json:!0}),t.defineMIME("application/x-json",{name:"javascript",json:!0}),t.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),t.defineMIME("text/typescript",{name:"javascript",typescript:!0}),t.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},function(t,e,n){!function(t){t(n(326),n(366),n(369))}(function(t){"use strict";function e(t){for(var e={},n=t.split(" "),r=0;r<n.length;++r)e[n[r]]=!0;return e}function n(t,e,i){return 0==t.length?r(e):function(o,a){for(var s=t[0],u=0;u<s.length;u++)if(o.match(s[u][0]))return a.tokenize=n(t.slice(1),e),s[u][1];return a.tokenize=r(e,i),"string"}}function r(t,e){return function(n,r){return i(n,r,t,e)}}function i(t,e,r,i){if(i!==!1&&t.match("${",!1)||t.match("{$",!1))return e.tokenize=null,"string";if(i!==!1&&t.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return t.match("[",!1)&&(e.tokenize=n([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],r,i)),t.match(/\-\>\w/,!1)&&(e.tokenize=n([[["->",null]],[[/[\w]+/,"variable"]]],r,i)),"variable-2";for(var o=!1;!t.eol()&&(o||i===!1||!t.match("{$",!1)&&!t.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!o&&t.match(r)){e.tokenize=null,e.tokStack.pop(),e.tokStack.pop();break}o="\\"==t.next()&&!o}return"string"}var o="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",a="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",s="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";t.registerHelper("hintWords","php",[o,a,s].join(" ").split(" ")),t.registerHelper("wordChars","php",/[\w$]/);var u={name:"clike",helperType:"php",keywords:e(o),blockKeywords:e("catch do else elseif for foreach if switch try while finally"),defKeywords:e("class function interface namespace trait"),atoms:e(a),builtin:e(s),multiLineStrings:!0,hooks:{$:function(t){return t.eatWhile(/[\w\$_]/),"variable-2"},"<":function(t,e){var n;if(n=t.match(/<<\s*/)){var i=t.eat(/['"]/);t.eatWhile(/[\w\.]/);var o=t.current().slice(n[0].length+(i?2:1));if(i&&t.eat(i),o)return(e.tokStack||(e.tokStack=[])).push(o,0),e.tokenize=r(o,"'"!=i),"string"}return!1},"#":function(t){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"},"/":function(t){if(t.eat("/")){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"}return!1},'"':function(t,e){return(e.tokStack||(e.tokStack=[])).push('"',0),e.tokenize=r('"'),"string"},"{":function(t,e){return e.tokStack&&e.tokStack.length&&e.tokStack[e.tokStack.length-1]++,!1},"}":function(t,e){return e.tokStack&&e.tokStack.length>0&&!--e.tokStack[e.tokStack.length-1]&&(e.tokenize=r(e.tokStack[e.tokStack.length-2])),!1}}};t.defineMode("php",function(e,n){function r(e,n){var r=n.curMode==o;if(e.sol()&&n.pending&&'"'!=n.pending&&"'"!=n.pending&&(n.pending=null),r)return r&&null==n.php.tokenize&&e.match("?>")?(n.curMode=i,n.curState=n.html,n.php.context.prev||(n.php=null),"meta"):o.token(e,n.curState);if(e.match(/^<\?\w*/))return n.curMode=o,n.php||(n.php=t.startState(o,i.indent(n.html,""))),n.curState=n.php,"meta";if('"'==n.pending||"'"==n.pending){for(;!e.eol()&&e.next()!=n.pending;);var a="string"}else if(n.pending&&e.pos<n.pending.end){e.pos=n.pending.end;var a=n.pending.style}else var a=i.token(e,n.curState);n.pending&&(n.pending=null);var s,u=e.current(),c=u.search(/<\?/);return-1!=c&&("string"==a&&(s=u.match(/[\'\"]$/))&&!/\?>/.test(u)?n.pending=s[0]:n.pending={end:e.pos,style:a},e.backUp(u.length-c)),a}var i=t.getMode(e,"text/html"),o=t.getMode(e,u);return{startState:function(){var e=t.startState(i),r=n.startOpen?t.startState(o):null;return{html:e,php:r,curMode:n.startOpen?o:i,curState:n.startOpen?r:e,pending:null}},copyState:function(e){var n,r=e.html,a=t.copyState(i,r),s=e.php,u=s&&t.copyState(o,s);return n=e.curMode==i?a:u,{html:a,php:u,curMode:e.curMode,curState:n,pending:e.pending}},token:r,indent:function(t,e){return t.curMode!=o&&/^\s*<\//.test(e)||t.curMode==o&&/^\?>/.test(e)?i.indent(t.html,e):t.curMode.indent(t.curState,e)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(t){return{state:t.curState,mode:t.curMode}}}},"htmlmixed","clike"),t.defineMIME("application/x-httpd-php","php"),t.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),t.defineMIME("text/x-php",u)})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";function e(t,e,n,r,i){this.indented=t,this.column=e,this.type=n,this.align=r,this.prev=i}function n(t){return"statement"==t||"switchstatement"==t||"namespace"==t}function r(t,r,i){var o=t.indented;return t.context&&n(t.context.type)&&!n(i)&&(o=t.context.indented),t.context=new e(o,r,i,null,t.context)}function i(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}function o(t,e){return"variable"==e.prevToken||"variable-3"==e.prevToken?!0:/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(t.string.slice(0,t.start))?!0:void 0}function a(t){for(;;){if(!t||"top"==t.type)return!0;if("}"==t.type&&"namespace"!=t.prev.type)return!1;t=t.prev}}function s(t){for(var e={},n=t.split(" "),r=0;r<n.length;++r)e[n[r]]=!0;return e}function u(t,e){return"function"==typeof t?t(e):t.propertyIsEnumerable(e)}function c(t,e){if(!e.startOfLine)return!1;for(var n,r=null;n=t.peek();){if("\\"==n&&t.match(/^.$/)){r=c;break}if("/"==n&&t.match(/^\/[\/\*]/,!1))break;t.next()}return e.tokenize=r,"meta"}function l(t,e){return"variable-3"==e.prevToken?"variable-3":!1}function f(t){return t.eatWhile(/[\w\.']/),"number"}function d(t,e){if(t.backUp(1),t.match(/(R|u8R|uR|UR|LR)/)){var n=t.match(/"([^\s\\()]{0,16})\(/);return n?(e.cpp11RawStringDelim=n[1],e.tokenize=m,m(t,e)):!1}return t.match(/(u8|u|U|L)/)?t.match(/["']/,!1)?"string":!1:(t.next(),!1)}function p(t){var e=/(\w+)::(\w+)$/.exec(t);return e&&e[1]==e[2]}function h(t,e){for(var n;null!=(n=t.next());)if('"'==n&&!t.eat('"')){e.tokenize=null;break}return"string"}function m(t,e){var n=e.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),r=t.match(new RegExp(".*?\\)"+n+'"'));return r?e.tokenize=null:t.skipToEnd(),"string"}function v(e,n){function r(t){if(t)for(var e in t)t.hasOwnProperty(e)&&i.push(e)}"string"==typeof e&&(e=[e]);var i=[];r(n.keywords),r(n.types),r(n.builtin),r(n.atoms),i.length&&(n.helperType=e[0],t.registerHelper("hintWords",e[0],i));
for(var o=0;o<e.length;++o)t.defineMIME(e[o],n)}function g(t,e){for(var n=!1;!t.eol();){if(!n&&t.match('"""')){e.tokenize=null;break}n="\\"==t.next()&&!n}return"string"}function _(t){return function(e,n){for(var r,i=!1,o=!1;!e.eol();){if(!t&&!i&&e.match('"')){o=!0;break}if(t&&e.match('"""')){o=!0;break}r=e.next(),!i&&"$"==r&&e.match("{")&&e.skipTo("}"),i=!i&&"\\"==r&&!t}return!o&&t||(n.tokenize=null),"string"}}function y(t){return function(e,n){for(var r,i=!1,o=!1;!e.eol();){if(!i&&e.match('"')&&("single"==t||e.match('""'))){o=!0;break}if(!i&&e.match("``")){w=y(t),o=!0;break}r=e.next(),i="single"==t&&!i&&"\\"==r}return o&&(n.tokenize=null),"string"}}t.defineMode("clike",function(s,c){function l(t,e){var n=t.next();if(S[n]){var r=S[n](t,e);if(r!==!1)return r}if('"'==n||"'"==n)return e.tokenize=f(n),e.tokenize(t,e);if(E.test(n))return p=n,null;if(j.test(n)){if(t.backUp(1),t.match(z))return"number";t.next()}if("/"==n){if(t.eat("*"))return e.tokenize=d,d(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(P.test(n))return t.eatWhile(P),"operator";if(t.eatWhile(/[\w\$_\xa1-\uffff]/),O)for(;t.match(O);)t.eatWhile(/[\w\$_\xa1-\uffff]/);var i=t.current();return u(_,i)?(u(x,i)&&(p="newstatement"),u(w,i)&&(h=!0),"keyword"):u(y,i)?"variable-3":u(b,i)?(u(x,i)&&(p="newstatement"),"builtin"):u(k,i)?"atom":"variable"}function f(t){return function(e,n){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==t&&!i){o=!0;break}i=!i&&"\\"==r}return(o||!i&&!A)&&(n.tokenize=null),"string"}}function d(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize=null;break}r="*"==n}return"comment"}var p,h,m=s.indentUnit,v=c.statementIndentUnit||m,g=c.dontAlignCalls,_=c.keywords||{},y=c.types||{},b=c.builtin||{},x=c.blockKeywords||{},w=c.defKeywords||{},k=c.atoms||{},S=c.hooks||{},A=c.multiLineStrings,M=c.indentStatements!==!1,I=c.indentSwitch!==!1,O=c.namespaceSeparator,E=c.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,j=c.numberStart||/[\d\.]/,z=c.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,P=c.isOperatorChar||/[+\-*&%=<>!?|\/]/,C=c.endStatement||/^[;:,]$/;return{startState:function(t){return{tokenize:null,context:new e((t||0)-m,0,"top",!1),indented:0,startOfLine:!0,prevToken:null}},token:function(t,e){var s=e.context;if(t.sol()&&(null==s.align&&(s.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return null;p=h=null;var u=(e.tokenize||l)(t,e);if("comment"==u||"meta"==u)return u;if(null==s.align&&(s.align=!0),C.test(p))for(;n(e.context.type);)i(e);else if("{"==p)r(e,t.column(),"}");else if("["==p)r(e,t.column(),"]");else if("("==p)r(e,t.column(),")");else if("}"==p){for(;n(s.type);)s=i(e);for("}"==s.type&&(s=i(e));n(s.type);)s=i(e)}else if(p==s.type)i(e);else if(M&&(("}"==s.type||"top"==s.type)&&";"!=p||n(s.type)&&"newstatement"==p)){var f="statement";"newstatement"==p&&I&&"switch"==t.current()?f="switchstatement":"keyword"==u&&"namespace"==t.current()&&(f="namespace"),r(e,t.column(),f)}if("variable"==u&&("def"==e.prevToken||c.typeFirstDefinitions&&o(t,e)&&a(e.context)&&t.match(/^\s*\(/,!1))&&(u="def"),S.token){var d=S.token(t,e,u);void 0!==d&&(u=d)}return"def"==u&&c.styleDefs===!1&&(u="variable"),e.startOfLine=!1,e.prevToken=h?"def":u||p,u},indent:function(e,r){if(e.tokenize!=l&&null!=e.tokenize)return t.Pass;var i=e.context,o=r&&r.charAt(0);if(n(i.type)&&"}"==o&&(i=i.prev),S.indent){var a=S.indent(e,i,r);if("number"==typeof a)return a}var s=o==i.type,u=i.prev&&"switchstatement"==i.prev.type;if(c.allmanIndentation&&/[{(]/.test(o)){for(;"top"!=i.type&&"}"!=i.type;)i=i.prev;return i.indented}return n(i.type)?i.indented+("{"==o?0:v):!i.align||g&&")"==i.type?")"!=i.type||s?i.indented+(s?0:m)+(s||!u||/^(?:case|default)\b/.test(r)?0:m):i.indented+v:i.column+(s?0:1)},electricInput:I?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});var b="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",x="int long char short double float unsigned signed void size_t ptrdiff_t";v(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:s(b),types:s(x+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:s("case do else for if switch while struct"),defKeywords:s("struct"),typeFirstDefinitions:!0,atoms:s("null true false"),hooks:{"#":c,"*":l},modeProps:{fold:["brace","include"]}}),v(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:s(b+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:s(x+" bool wchar_t"),blockKeywords:s("catch class do else finally for if struct switch try while"),defKeywords:s("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:s("true false null"),hooks:{"#":c,"*":l,u:d,U:d,L:d,R:d,0:f,1:f,2:f,3:f,4:f,5:f,6:f,7:f,8:f,9:f,token:function(t,e,n){return"variable"!=n||"("!=t.peek()||";"!=e.prevToken&&null!=e.prevToken&&"}"!=e.prevToken||!p(t.current())?void 0:"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),v("text/x-java",{name:"clike",keywords:s("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while"),types:s("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:s("catch class do else finally for if switch try while"),defKeywords:s("class interface package enum"),typeFirstDefinitions:!0,atoms:s("true false null"),endStatement:/^[;:]$/,hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"}},modeProps:{fold:["brace","import"]}}),v("text/x-csharp",{name:"clike",keywords:s("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:s("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:s("catch class do else finally for foreach if struct switch try while"),defKeywords:s("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:s("true false null"),hooks:{"@":function(t,e){return t.eat('"')?(e.tokenize=h,h(t,e)):(t.eatWhile(/[\w\$_]/),"meta")}}}),v("text/x-scala",{name:"clike",keywords:s("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ : = => <- <: <% >: # @ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble :: #:: "),types:s("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:s("catch class do else finally for forSome if match switch try while"),defKeywords:s("class def object package trait type val var"),atoms:s("true false null"),indentStatements:!1,indentSwitch:!1,hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"},'"':function(t,e){return t.match('""')?(e.tokenize=g,e.tokenize(t,e)):!1},"'":function(t){return t.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(t,n){var r=n.context;return"}"==r.type&&r.align&&t.eat(">")?(n.context=new e(r.indented,r.column,r.type,null,r.prev),"operator"):!1}},modeProps:{closeBrackets:{triples:'"'}}}),v("text/x-kotlin",{name:"clike",keywords:s("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix"),types:s("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,blockKeywords:s("catch class do else finally for if where try while enum"),defKeywords:s("class val var object package interface fun"),atoms:s("true false null this"),hooks:{'"':function(t,e){return e.tokenize=_(t.match('""')),e.tokenize(t,e)}},modeProps:{closeBrackets:{triples:'"'}}}),v(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:s("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:s("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:s("for while do if else struct"),builtin:s("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:s("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":c},modeProps:{fold:["brace","include"]}}),v("text/x-nesc",{name:"clike",keywords:s(b+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:s(x),blockKeywords:s("case do else for if switch while struct"),atoms:s("null true false"),hooks:{"#":c},modeProps:{fold:["brace","include"]}}),v("text/x-objectivec",{name:"clike",keywords:s(b+"inline restrict _Bool _Complex _Imaginery BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:s(x),atoms:s("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(t){return t.eatWhile(/[\w\$]/),"keyword"},"#":c,indent:function(t,e,n){return"statement"==e.type&&/^@\w/.test(n)?e.indented:void 0}},modeProps:{fold:"brace"}}),v("text/x-squirrel",{name:"clike",keywords:s("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:s(x),blockKeywords:s("case catch class else for foreach if switch try while"),defKeywords:s("function local class"),typeFirstDefinitions:!0,atoms:s("true false null"),hooks:{"#":c},modeProps:{fold:["brace","include"]}});var w=null;v("text/x-ceylon",{name:"clike",keywords:s("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(t){var e=t.charAt(0);return e===e.toUpperCase()&&e!==e.toLowerCase()},blockKeywords:s("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:s("class dynamic function interface module object package value"),builtin:s("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:s("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(t){return t.eatWhile(/[\w\$_]/),"meta"},'"':function(t,e){return e.tokenize=y(t.match('""')?"triple":"single"),e.tokenize(t,e)},"`":function(t,e){return w&&t.match("`")?(e.tokenize=w,w=null,e.tokenize(t,e)):!1},"'":function(t){return t.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(t,e,n){return"variable"!=n&&"variable-3"!=n||"."!=e.prevToken?void 0:"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";t.defineMode("sass",function(t){function e(t){return new RegExp("^"+t.join("|"))}function n(t,e){var n=t.peek();return")"===n?(t.next(),e.tokenizer=u,"operator"):"("===n?(t.next(),t.eatSpace(),"operator"):"'"===n||'"'===n?(e.tokenizer=i(t.next()),"string"):(e.tokenizer=i(")",!1),"string")}function r(t,e){return function(n,r){return n.sol()&&n.indentation()<=t?(r.tokenizer=u,u(n,r)):(e&&n.skipTo("*/")?(n.next(),n.next(),r.tokenizer=u):n.skipToEnd(),"comment")}}function i(t,e){function n(r,i){var a=r.next(),s=r.peek(),c=r.string.charAt(r.pos-2),l="\\"!==a&&s===t||a===t&&"\\"!==c;return l?(a!==t&&e&&r.next(),i.tokenizer=u,"string"):"#"===a&&"{"===s?(i.tokenizer=o(n),r.next(),"operator"):"string"}return null==e&&(e=!0),n}function o(t){return function(e,n){return"}"===e.peek()?(e.next(),n.tokenizer=t,"operator"):u(e,n)}}function a(e){if(0==e.indentCount){e.indentCount++;var n=e.scopes[0].offset,r=n+t.indentUnit;e.scopes.unshift({offset:r})}}function s(t){1!=t.scopes.length&&t.scopes.shift()}function u(t,e){var c=t.peek();if(t.match("/*"))return e.tokenizer=r(t.indentation(),!0),e.tokenizer(t,e);if(t.match("//"))return e.tokenizer=r(t.indentation(),!1),e.tokenizer(t,e);if(t.match("#{"))return e.tokenizer=o(u),"operator";if('"'===c||"'"===c)return t.next(),e.tokenizer=i(c),"string";if(e.cursorHalf){if("#"===c&&(t.next(),t.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return t.peek()||(e.cursorHalf=0),"number";if(t.match(/^-?[0-9\.]+/))return t.peek()||(e.cursorHalf=0),"number";if(t.match(/^(px|em|in)\b/))return t.peek()||(e.cursorHalf=0),"unit";if(t.match(f))return t.peek()||(e.cursorHalf=0),"keyword";if(t.match(/^url/)&&"("===t.peek())return e.tokenizer=n,t.peek()||(e.cursorHalf=0),"atom";if("$"===c)return t.next(),t.eatWhile(/[\w-]/),t.peek()||(e.cursorHalf=0),"variable-3";if("!"===c)return t.next(),t.peek()||(e.cursorHalf=0),t.match(/^[\w]+/)?"keyword":"operator";if(t.match(p))return t.peek()||(e.cursorHalf=0),"operator";if(t.eatWhile(/[\w-]/))return t.peek()||(e.cursorHalf=0),"attribute";if(!t.peek())return e.cursorHalf=0,null}else{if("."===c){if(t.next(),t.match(/^[\w-]+/))return a(e),"atom";if("#"===t.peek())return a(e),"atom"}if("#"===c){if(t.next(),t.match(/^[\w-]+/))return a(e),"atom";if("#"===t.peek())return a(e),"atom"}if("$"===c)return t.next(),t.eatWhile(/[\w-]/),"variable-2";if(t.match(/^-?[0-9\.]+/))return"number";if(t.match(/^(px|em|in)\b/))return"unit";if(t.match(f))return"keyword";if(t.match(/^url/)&&"("===t.peek())return e.tokenizer=n,"atom";if("="===c&&t.match(/^=[\w-]+/))return a(e),"meta";if("+"===c&&t.match(/^\+[\w-]+/))return"variable-3";if("@"===c&&t.match(/@extend/)&&(t.match(/\s*[\w]/)||s(e)),t.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return a(e),"meta";if("@"===c)return t.next(),t.eatWhile(/[\w-]/),"meta";if(t.eatWhile(/[\w-]/))return t.match(/ *: *[\w-\+\$#!\("']/,!1)?"property":t.match(/ *:/,!1)?(a(e),e.cursorHalf=1,"atom"):t.match(/ *,/,!1)?"atom":(a(e),"atom");if(":"===c)return t.match(h)?"keyword":(t.next(),e.cursorHalf=1,"operator")}return t.match(p)?"operator":(t.next(),null)}function c(e,n){e.sol()&&(n.indentCount=0);var r=n.tokenizer(e,n),i=e.current();if("@return"!==i&&"}"!==i||s(n),null!==r){for(var o=e.pos-i.length,a=o+t.indentUnit*n.indentCount,u=[],c=0;c<n.scopes.length;c++){var l=n.scopes[c];l.offset<=a&&u.push(l)}n.scopes=u}return r}var l=["true","false","null","auto"],f=new RegExp("^"+l.join("|")),d=["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],p=e(d),h=/^::?[a-zA-Z_][\w\-]*/;return{startState:function(){return{tokenizer:u,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(t,e){var n=c(t,e);return e.lastToken={style:n,content:t.current()},n},indent:function(t){return t.scopes[0].offset}}}),t.defineMIME("text/x-sass","sass")})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";t.defineMode("twig",function(){function t(t,a){var s=t.peek();if(a.incomment)return t.skipTo("#}")?(t.eatWhile(/\#|}/),a.incomment=!1):t.skipToEnd(),"comment";if(a.intag){if(a.operator){if(a.operator=!1,t.match(i))return"atom";if(t.match(o))return"number"}if(a.sign){if(a.sign=!1,t.match(i))return"atom";if(t.match(o))return"number"}if(a.instring)return s==a.instring&&(a.instring=!1),t.next(),"string";if("'"==s||'"'==s)return a.instring=s,t.next(),"string";if(t.match(a.intag+"}")||t.eat("-")&&t.match(a.intag+"}"))return a.intag=!1,"tag";if(t.match(n))return a.operator=!0,"operator";if(t.match(r))a.sign=!0;else if(t.eat(" ")||t.sol()){if(t.match(e))return"keyword";if(t.match(i))return"atom";if(t.match(o))return"number";t.sol()&&t.next()}else t.next();return"variable"}if(t.eat("{")){if(s=t.eat("#"))return a.incomment=!0,t.skipTo("#}")?(t.eatWhile(/\#|}/),a.incomment=!1):t.skipToEnd(),"comment";if(s=t.eat(/\{|%/))return a.intag=s,"{"==s&&(a.intag="}"),t.eat("-"),"tag"}t.next()}var e=["and","as","autoescape","endautoescape","block","do","endblock","else","elseif","extends","for","endfor","embed","endembed","filter","endfilter","flush","from","if","endif","in","is","include","import","not","or","set","spaceless","endspaceless","with","endwith","trans","endtrans","blocktrans","endblocktrans","macro","endmacro","use","verbatim","endverbatim"],n=/^[+\-*&%=<>!?|~^]/,r=/^[:\[\(\{]/,i=["true","false","null","empty","defined","divisibleby","divisible by","even","odd","iterable","sameas","same as"],o=/^(\d[+\-\*\/])?\d+(\.\d+)?/;return e=new RegExp("(("+e.join(")|(")+"))\\b"),i=new RegExp("(("+i.join(")|(")+"))\\b"),{startState:function(){return{}},token:function(e,n){return t(e,n)}}}),t.defineMIME("text/x-twig","twig")})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";t.defineMode("yaml",function(){var t=["true","false","on","off","yes","no"],e=new RegExp("\\b(("+t.join(")|(")+"))$","i");return{token:function(t,n){var r=t.peek(),i=n.escaped;if(n.escaped=!1,"#"==r&&(0==t.pos||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&t.indentation()>n.keyCol)return t.skipToEnd(),"string";if(n.literal&&(n.literal=!1),t.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,t.match(/---/))return"def";if(t.match(/\.\.\./))return"def";if(t.match(/\s*-\s+/))return"meta"}if(t.match(/^(\{|\}|\[|\])/))return"{"==r?n.inlinePairs++:"}"==r?n.inlinePairs--:"["==r?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!i&&","==r)return t.next(),"meta";if(n.inlinePairs>0&&!i&&","==r)return n.keyCol=0,n.pair=!1,n.pairStart=!1,t.next(),"meta";if(n.pairStart){if(t.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&t.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(e))return"keyword"}return!n.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=t.indentation(),"atom"):n.pair&&t.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==r,t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}}}}),t.defineMIME("text/x-yaml","yaml")})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";var e=/^(\s*)(>[> ]*|[*+-]\s|(\d+)([.)]))(\s*)/,n=/^(\s*)(>[> ]*|[*+-]|(\d+)[.)])(\s*)$/,r=/[*+-]\s/;t.commands.newlineAndIndentContinueMarkdownList=function(i){if(i.getOption("disableInput"))return t.Pass;for(var o=i.listSelections(),a=[],s=0;s<o.length;s++){var u=o[s].head,c=i.getStateAfter(u.line),l=c.list!==!1,f=0!==c.quote,d=i.getLine(u.line),p=e.exec(d);if(!o[s].empty()||!l&&!f||!p)return void i.execCommand("newlineAndIndent");if(n.test(d))i.replaceRange("",{line:u.line,ch:0},{line:u.line,ch:u.ch+1}),a[s]="\n";else{var h=p[1],m=p[5],v=r.test(p[2])||p[2].indexOf(">")>=0?p[2]:parseInt(p[3],10)+1+p[4];a[s]="\n"+h+v+m}}i.replaceSelections(a)}})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";function e(t){for(var e=0;e<t.state.activeLines.length;e++)t.removeLineClass(t.state.activeLines[e],"wrap",o),t.removeLineClass(t.state.activeLines[e],"background",a),t.removeLineClass(t.state.activeLines[e],"gutter",s)}function n(t,e){if(t.length!=e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!=e[n])return!1;return!0}function r(t,r){for(var i=[],u=0;u<r.length;u++){var c=r[u];if(c.empty()){var l=t.getLineHandleVisualStart(c.head.line);i[i.length-1]!=l&&i.push(l)}}n(t.state.activeLines,i)||t.operation(function(){e(t);for(var n=0;n<i.length;n++)t.addLineClass(i[n],"wrap",o),t.addLineClass(i[n],"background",a),t.addLineClass(i[n],"gutter",s);t.state.activeLines=i})}function i(t,e){r(t,e.ranges)}var o="CodeMirror-activeline",a="CodeMirror-activeline-background",s="CodeMirror-activeline-gutter";t.defineOption("styleActiveLine",!1,function(n,o,a){var s=a&&a!=t.Init;o&&!s?(n.state.activeLines=[],r(n,n.listSelections()),n.on("beforeSelectionChange",i)):!o&&s&&(n.off("beforeSelectionChange",i),e(n),delete n.state.activeLines)})})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";function e(e,n){function r(e){return i.parentNode?(i.style.top=Math.max(0,e.clientY-i.offsetHeight-5)+"px",void(i.style.left=e.clientX+5+"px")):t.off(document,"mousemove",r)}var i=document.createElement("div");return i.className="CodeMirror-lint-tooltip",i.appendChild(n.cloneNode(!0)),document.body.appendChild(i),t.on(document,"mousemove",r),r(e),null!=i.style.opacity&&(i.style.opacity=1),i}function n(t){t.parentNode&&t.parentNode.removeChild(t)}function r(t){t.parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout(function(){n(t)},600))}function i(n,i,o){function a(){t.off(o,"mouseout",a),s&&(r(s),s=null)}var s=e(n,i),u=setInterval(function(){if(s)for(var t=o;;t=t.parentNode){if(t&&11==t.nodeType&&(t=t.host),t==document.body)return;if(!t){a();break}}return s?void 0:clearInterval(u)},400);t.on(o,"mouseout",a)}function o(t,e,n){this.marked=[],this.options=e,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(e){g(t,e)},this.waitingFor=0}function a(t,e){return e instanceof Function?{getAnnotations:e}:(e&&e!==!0||(e={}),e)}function s(t){var e=t.state.lint;e.hasGutter&&t.clearGutter(_);for(var n=0;n<e.marked.length;++n)e.marked[n].clear();e.marked.length=0}function u(e,n,r,o){var a=document.createElement("div"),s=a;return a.className="CodeMirror-lint-marker-"+n,r&&(s=a.appendChild(document.createElement("div")),s.className="CodeMirror-lint-marker-multiple"),0!=o&&t.on(s,"mouseover",function(t){i(t,e,s)}),a}function c(t,e){return"error"==t?t:e}function l(t){for(var e=[],n=0;n<t.length;++n){var r=t[n],i=r.from.line;(e[i]||(e[i]=[])).push(r)}return e}function f(t){var e=t.severity;e||(e="error");var n=document.createElement("div");return n.className="CodeMirror-lint-message-"+e,n.appendChild(document.createTextNode(t.message)),n}function d(e,n,r){function i(){a=-1,e.off("change",i)}var o=e.state.lint,a=++o.waitingFor;e.on("change",i),n(e.getValue(),function(n,r){e.off("change",i),o.waitingFor==a&&(r&&n instanceof t&&(n=r),h(e,n))},r,e)}function p(e){var n=e.state.lint,r=n.options,i=r.options||r,o=r.getAnnotations||e.getHelper(t.Pos(0,0),"lint");o&&(r.async||o.async?d(e,o,i):h(e,o(e.getValue(),i,e)))}function h(t,e){s(t);for(var n=t.state.lint,r=n.options,i=l(e),o=0;o<i.length;++o){var a=i[o];if(a){for(var d=null,p=n.hasGutter&&document.createDocumentFragment(),h=0;h<a.length;++h){var m=a[h],v=m.severity;v||(v="error"),d=c(d,v),r.formatAnnotation&&(m=r.formatAnnotation(m)),n.hasGutter&&p.appendChild(f(m)),m.to&&n.marked.push(t.markText(m.from,m.to,{className:"CodeMirror-lint-mark-"+v,__annotation:m}))}n.hasGutter&&t.setGutterMarker(o,_,u(p,d,a.length>1,n.options.tooltips))}}r.onUpdateLinting&&r.onUpdateLinting(e,i,t)}function m(t){var e=t.state.lint;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(function(){p(t)},e.options.delay||500))}function v(t,e){var n=e.target||e.srcElement;i(e,f(t),n)}function g(t,e){var n=e.target||e.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className))for(var r=n.getBoundingClientRect(),i=(r.left+r.right)/2,o=(r.top+r.bottom)/2,a=t.findMarksAt(t.coordsChar({left:i,top:o},"client")),s=0;s<a.length;++s){var u=a[s].__annotation;if(u)return v(u,e)}}var _="CodeMirror-lint-markers";t.defineOption("lint",!1,function(e,n,r){if(r&&r!=t.Init&&(s(e),e.state.lint.options.lintOnChange!==!1&&e.off("change",m),t.off(e.getWrapperElement(),"mouseover",e.state.lint.onMouseOver),clearTimeout(e.state.lint.timeout),delete e.state.lint),n){for(var i=e.getOption("gutters"),u=!1,c=0;c<i.length;++c)i[c]==_&&(u=!0);var l=e.state.lint=new o(e,a(e,n),u);l.options.lintOnChange!==!1&&e.on("change",m),0!=l.options.tooltips&&t.on(e.getWrapperElement(),"mouseover",l.onMouseOver),p(e)}}),t.defineExtension("performLint",function(){this.state.lint&&p(this)})})},function(t,e,n){var r=n(377);"string"==typeof r&&(r=[[t.id,r,""]]);n(379)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(378)(),e.push([t.id,'.CodeMirror-lint-markers{width:16px}.CodeMirror-lint-tooltip{background-color:infobackground;border:1px solid #000;border-radius:4px 4px 4px 4px;color:infotext;font-family:monospace;font-size:10pt;overflow:hidden;padding:2px 5px;position:fixed;white-space:pre;white-space:pre-wrap;z-index:100;max-width:600px;opacity:0;transition:opacity .4s;-moz-transition:opacity .4s;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-ms-transition:opacity .4s}.CodeMirror-lint-mark-error,.CodeMirror-lint-mark-warning{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")}.CodeMirror-lint-mark-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-error,.CodeMirror-lint-marker-warning{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px;vertical-align:middle;position:relative}.CodeMirror-lint-message-error,.CodeMirror-lint-message-warning{padding-left:18px;background-position:0 0;background-repeat:no-repeat}.CodeMirror-lint-marker-error,.CodeMirror-lint-message-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=")}.CodeMirror-lint-marker-warning,.CodeMirror-lint-message-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-multiple{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");background-repeat:no-repeat;background-position:100% 100%;width:100%;height:100%}',""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e,n){function r(t,e){
for(var n=0;n<t.length;n++){var r=t[n],i=p[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(c(r.parts[o],e))}else{for(var a=[],o=0;o<r.parts.length;o++)a.push(c(r.parts[o],e));p[r.id]={id:r.id,refs:1,parts:a}}}}function i(t){for(var e=[],n={},r=0;r<t.length;r++){var i=t[r],o=i[0],a=i[1],s=i[2],u=i[3],c={css:a,media:s,sourceMap:u};n[o]?n[o].parts.push(c):e.push(n[o]={id:o,parts:[c]})}return e}function o(t,e){var n=v(),r=y[y.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),y.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=y.indexOf(t);e>=0&&y.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function c(t,e){var n,r,i;if(e.singleton){var o=_++;n=g||(g=s(e)),r=l.bind(null,n,o,!1),i=l.bind(null,n,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(e),r=d.bind(null,n),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),r=f.bind(null,n),i=function(){a(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function l(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e){var n=e.css,r=e.media;e.sourceMap;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e){var n=e.css,r=(e.media,e.sourceMap);r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var i=new Blob([n],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(i),o&&URL.revokeObjectURL(o)}var p={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,_=0,y=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=m()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],a=0;a<n.length;a++){var s=n[a],u=p[s.id];u.refs--,o.push(u)}if(t){var c=i(t);r(c,e)}for(var a=0;a<o.length;a++){var u=o[a];if(0===u.refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete p[u.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";t.registerHelper("lint","css",function(e){var n=[];if(!window.CSSLint)return n;for(var r=CSSLint.verify(e),i=r.messages,o=null,a=0;a<i.length;a++){o=i[a];var s=o.line-1,u=o.line-1,c=o.col-1,l=o.col;n.push({from:t.Pos(s,c),to:t.Pos(u,l),message:o.message,severity:o.type})}return n})})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";function e(t,e){if(!window.JSHINT)return[];JSHINT(t,e,e.globals);var n=JSHINT.data().errors,r=[];return n&&o(n,r),r}function n(t){return r(t,s,"warning",!0),r(t,u,"error"),i(t)?null:t}function r(t,e,n,r){var i,o,a,s,u;i=t.description;for(var c=0;c<e.length;c++)o=e[c],a="string"==typeof o?o:o[0],s="string"==typeof o?null:o[1],u=-1!==i.indexOf(a),(r||u)&&(t.severity=n),u&&s&&(t.description=s)}function i(t){for(var e=t.description,n=0;n<a.length;n++)if(-1!==e.indexOf(a[n]))return!0;return!1}function o(e,r){for(var i=0;i<e.length;i++){var o=e[i];if(o){var a,s;if(a=[],o.evidence){var u=a[o.line];if(!u){var c=o.evidence;u=[],Array.prototype.forEach.call(c,function(t,e){" "===t&&u.push(e+1)}),a[o.line]=u}if(u.length>0){var l=o.character;u.forEach(function(t){l>t&&(l-=1)}),o.character=l}}var f=o.character-1,d=f+1;o.evidence&&(s=o.evidence.substring(f).search(/.\b/),s>-1&&(d+=s)),o.description=o.reason,o.start=o.character,o.end=d,o=n(o),o&&r.push({message:o.description,severity:o.severity,from:t.Pos(o.line-1,f),to:t.Pos(o.line-1,d)})}}}var a=["Dangerous comment"],s=[["Expected '{'","Statement body should be inside '{ }' braces."]],u=["Missing semicolon","Extra comma","Missing property name","Unmatched "," and instead saw"," is not defined","Unclosed string","Stopping, unable to continue"];t.registerHelper("lint","javascript",e)})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";t.registerHelper("lint","json",function(e){var n=[];jsonlint.parseError=function(e,r){var i=r.loc;n.push({from:t.Pos(i.first_line-1,i.first_column),to:t.Pos(i.last_line-1,i.last_column),message:e})};try{jsonlint.parse(e)}catch(r){}return n})})},function(t,e,n){!function(t){t(n(326))}(function(t){"use strict";t.registerHelper("lint","yaml",function(e){var n=[];try{jsyaml.load(e)}catch(r){var i=r.mark;n.push({from:t.Pos(i.line,i.column),to:t.Pos(i.line,i.column),message:r.message})}return n})})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i);(0,o["default"])('[name="task"][value="saveas"], [name="task"][value="switchlanguage"]').on("mousedown touchstart",function(t){var e=["lang","redirect"],n=(0,o["default"])(t.currentTarget),r=(0,o["default"])("#"+n.attr("form"));return r.length?(e.forEach(function(t){var e=n.attr(t);if(e){var i=r.find('[name="'+t+'"]');i.length||(i=(0,o["default"])('<input type="hidden" name="'+t+'" value="" />'),r.append(i)),i.val(e)}}),!0):void 0})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(386),o=r(i),a=n(388),s=r(a),u=n(389),c=r(u);e["default"]={Form:{Form:s["default"],Instance:a.Instance},Fields:c["default"],FormState:{FormState:o["default"],Instance:i.Instance}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.DOMBehaviors=e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(387),c=r(u);n(317);var l={},f={attach:function(){this.preventUnload(),this.preventClickAway()},preventUnload:function(){s["default"]._data(window,"events")&&(s["default"]._data(window,"events").beforeunload||[]).filter(function(t){return"_grav"===t.namespace})||(0,s["default"])(window).on("beforeunload._grav",function(){return p.equals()===!1?"You have made changes on this page that you have not yet confirmed. If you navigate away from this page you will lose your unsaved changes.":void 0})},preventClickAway:function(){var t='a[href]:not([href^="#"])';s["default"]._data((0,s["default"])(t).get(0),"events")&&(s["default"]._data((0,s["default"])(t).get(0),"events").click||[]).filter(function(t){return"_grav"===t.namespace})||(0,s["default"])(t).on("click._grav",function(t){var e=p.equals();if(null===e||e)return!0;t.preventDefault();var n=(0,s["default"])(this).attr("href"),r=(0,s["default"])('[data-remodal-id="changes"]'),i=s["default"].remodal.lookup[r.data("remodal")],o=(0,s["default"])("a.button",r),a=function u(t){t.preventDefault();var e=(0,s["default"])(this).data("leave-action");o.off("click",u),i.close(),"continue"===e&&((0,s["default"])(window).off("beforeunload"),window.location.href=n)};o.on("click",a),i.open()})}},d=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{ignore:[],form_id:"blueprints"}:arguments[0];i(this,t),this.options=e,this.refresh(),this.form&&this.fields.length&&(l=this.collect(),f.attach())}return o(t,[{key:"refresh",value:function(){return this.form=(0,s["default"])("form#"+this.options.form_id).filter(":noparents(.remodal)"),this.fields=(0,s["default"])("form#"+this.options.form_id+' *, [form="'+this.options.form_id+'"]').filter(":input:not(.no-form)").filter(":noparents(.remodal)"),this}},{key:"collect",value:function(){var t=this;if(this.form&&this.fields.length){var e={};return this.refresh().fields.each(function(n,r){r=(0,s["default"])(r);var i=r.prop("name"),o=r.prop("type"),a=r.prop("tagName").toLowerCase(),u=void 0;switch(o){case"checkbox":case"radio":u=r.is(":checked");break;default:u=r.val()}"select"===a&&null===u&&(u=""),i&&!~t.options.ignore.indexOf(i)&&(e[i]=u)}),c["default"].OrderedMap(e)}}},{key:"equals",value:function(){return this.form&&this.fields.length?c["default"].is(l,this.collect()):null}}]),t}();e["default"]=d;var p=e.Instance=new d;e.DOMBehaviors=f},function(t,e,n){!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return o(t)?t:E(t)}function n(t){return a(t)?t:j(t)}function r(t){return s(t)?t:z(t)}function i(t){return o(t)&&!u(t)?t:P(t)}function o(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function s(t){return!(!t||!t[fn])}function u(t){return a(t)||s(t)}function c(t){return!(!t||!t[dn])}function l(t){return t.value=!1,t}function f(t){t&&(t.value=!0)}function d(){}function p(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;n>i;i++)r[i]=t[i+e];return r}function h(t){return void 0===t.size&&(t.size=t.__iterate(v)),t.size}function m(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return 0>e?h(t)+e:e}function v(){return!0}function g(t,e,n){return(0===t||void 0!==n&&-n>=t)&&(void 0===e||void 0!==n&&e>=n)}function _(t,e){return b(t,e,0)}function y(t,e){return b(t,e,e)}function b(t,e,n){return void 0===t?n:0>t?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function x(t){this.next=t}function w(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function k(){return{value:void 0,done:!0}}function S(t){return!!I(t)}function A(t){return t&&"function"==typeof t.next}function M(t){var e=I(t);return e&&e.call(t)}function I(t){var e=t&&(kn&&t[kn]||t[Sn]);return"function"==typeof e?e:void 0}function O(t){return t&&"number"==typeof t.length}function E(t){return null===t||void 0===t?N():o(t)?t.toSeq():R(t)}function j(t){return null===t||void 0===t?N().toKeyedSeq():o(t)?a(t)?t.toSeq():t.fromEntrySeq():F(t)}function z(t){return null===t||void 0===t?N():o(t)?a(t)?t.entrySeq():t.toIndexedSeq():U(t)}function P(t){return(null===t||void 0===t?N():o(t)?a(t)?t.entrySeq():t:U(t)).toSetSeq()}function C(t){this._array=t,this.size=t.length}function T(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function L(t){this._iterable=t,this.size=t.length||t.size}function D(t){this._iterator=t,this._iteratorCache=[]}function q(t){return!(!t||!t[Mn])}function N(){return In||(In=new C([]))}function F(t){var e=Array.isArray(t)?new C(t).fromEntrySeq():A(t)?new D(t).fromEntrySeq():S(t)?new L(t).fromEntrySeq():"object"==typeof t?new T(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function U(t){var e=B(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function R(t){var e=B(t)||"object"==typeof t&&new T(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function B(t){return O(t)?new C(t):A(t)?new D(t):S(t)?new L(t):void 0}function V(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;o>=a;a++){var s=i[n?o-a:a];if(e(s[1],r?s[0]:a,t)===!1)return a+1}return a}return t.__iterateUncached(e,n)}function K(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new x(function(){var t=i[n?o-a:a];return a++>o?k():w(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function W(t,e){return e?G(e,t,"",{"":t}):$(t)}function G(t,e,n,r){return Array.isArray(e)?t.call(r,n,z(e).map(function(n,r){return G(t,n,r,e)})):H(e)?t.call(r,n,j(e).map(function(n,r){return G(t,n,r,e)})):e}function $(t){return Array.isArray(t)?z(t).map($).toList():H(t)?j(t).map($).toMap():t}function H(t){return t&&(t.constructor===Object||void 0===t.constructor)}function J(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function Y(t,e){if(t===e)return!0;if(!o(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&J(i[1],t)&&(n||J(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var l=t;t=e,e=l}var f=!0,d=e.__iterate(function(e,r){return(n?t.has(e):i?J(e,t.get(r,gn)):J(t.get(r,gn),e))?void 0:(f=!1,!1)});return f&&t.size===d}function Q(t,e){if(!(this instanceof Q))return new Q(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(On)return On;On=this}}function X(t,e){if(!t)throw new Error(e)}function Z(t,e,n){if(!(this instanceof Z))return new Z(t,e,n);if(X(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),t>e&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(En)return En;En=this}}function tt(){throw TypeError("Abstract")}function et(){}function nt(){}function rt(){}function it(t){return t>>>1&1073741824|3221225471&t}function ot(t){if(t===!1||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(t=t.valueOf(),t===!1||null===t||void 0===t))return 0;if(t===!0)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return it(n)}if("string"===e)return t.length>qn?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Un[t];return void 0===e&&(e=st(t),Fn===Nn&&(Fn=0,Un={}),Fn++,Un[t]=e),e}function st(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return it(e)}function ut(t){var e;if(Tn&&(e=jn.get(t),void 0!==e))return e;if(e=t[Dn],void 0!==e)return e;if(!Cn){if(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Dn],void 0!==e)return e;if(e=ct(t),void 0!==e)return e}if(e=++Ln,1073741824&Ln&&(Ln=0),Tn)jn.set(t,e);else{if(void 0!==Pn&&Pn(t)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(Cn)Object.defineProperty(t,Dn,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Dn]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Dn]=e}}return e}function ct(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){X(t!==1/0,"Cannot perform this action with an infinite size.")}function ft(t){return null===t||void 0===t?wt():dt(t)&&!c(t)?t:wt().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function dt(t){return!(!t||!t[Rn])}function pt(t,e){this.ownerID=t,this.entries=e}function ht(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function mt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function gt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function _t(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&bt(t._root)}function yt(t,e){return w(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function xt(t,e,n,r){var i=Object.create(Bn);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function wt(){return Vn||(Vn=xt(0))}function kt(t,e,n){var r,i;if(t._root){var o=l(_n),a=l(yn);if(r=St(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===gn?-1:1:0)}else{if(n===gn)return t;i=1,r=new pt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?xt(i,r):wt()}function St(t,e,n,r,i,o,a,s){return t?t.update(e,n,r,i,o,a,s):o===gn?t:(f(s),f(a),new gt(e,r,[i,o]))}function At(t){return t.constructor===gt||t.constructor===vt}function Mt(t,e,n,r,i){if(t.keyHash===r)return new vt(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&vn,s=(0===n?r:r>>>n)&vn,u=a===s?[Mt(t,e,n+hn,r,i)]:(o=new gt(e,r,i),s>a?[t,o]:[o,t]);return new ht(e,1<<a|1<<s,u)}function It(t,e,n,r){t||(t=new d);for(var i=new gt(t,ot(n),[n,r]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}function Ot(t,e,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=e.length;c>s;s++,u<<=1){var l=e[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new ht(t,i,a)}function Et(t,e,n,r,i){for(var o=0,a=new Array(mn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[o++]:void 0;return a[r]=i,new mt(t,o+1,a)}function jt(t,e,r){for(var i=[],a=0;a<r.length;a++){var s=r[a],u=n(s);o(s)||(u=u.map(function(t){return W(t)})),i.push(u)}return Ct(t,e,i)}function zt(t,e,n){return t&&t.mergeDeep&&o(e)?t.mergeDeep(e):J(t,e)?t:e}function Pt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&o(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return J(e,i)?e:i}}function Ct(t,e,n){return n=n.filter(function(t){return 0!==t.size}),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,gn,function(t){return t===gn?n:e(t,n,r)})}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)}):t.constructor(n[0])}function Tt(t,e,n,r){var i=t===gn,o=e.next();if(o.done){var a=i?n:t,s=r(a);return s===a?t:s}X(i||t&&t.set,"invalid keyPath");var u=o.value,c=i?gn:t.get(u,gn),l=Tt(c,e,n,r);return l===c?t:l===gn?t.remove(u):(i?wt():t).set(u,l)}function Lt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,t+=t>>16,127&t}function Dt(t,e,n,r){var i=r?t:p(t);return i[e]=n,i}function qt(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,s=0;i>s;s++)s===e?(o[s]=n,a=-1):o[s]=t[s+a];return o}function Nt(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,a=0;r>a;a++)a===e&&(o=1),i[a]=t[a+o];return i}function Ft(t){var e=Kt();if(null===t||void 0===t)return e;if(Ut(t))return t;var n=r(t),i=n.size;return 0===i?e:(lt(i),i>0&&mn>i?Vt(0,i,hn,null,new Rt(n.toArray())):e.withMutations(function(t){t.setSize(i),n.forEach(function(e,n){return t.set(n,e)})}))}function Ut(t){return!(!t||!t[$n])}function Rt(t,e){this.array=t,this.ownerID=e}function Bt(t,e){function n(t,e,n){return 0===e?r(t,n):i(t,e,n)}function r(t,n){var r=n===s?u&&u.array:t&&t.array,i=n>o?0:o-n,c=a-n;return c>mn&&(c=mn),function(){if(i===c)return Yn;var t=e?--c:i++;return r&&r[t]}}function i(t,r,i){var s,u=t&&t.array,c=i>o?0:o-i>>r,l=(a-i>>r)+1;return l>mn&&(l=mn),function(){for(;;){if(s){var t=s();if(t!==Yn)return t;s=null}if(c===l)return Yn;var o=e?--l:c++;s=n(u&&u[o],r-hn,i+(o<<r))}}}var o=t._origin,a=t._capacity,s=Qt(a),u=t._tail;return n(t._root,t._level,0)}function Vt(t,e,n,r,i,o,a){var s=Object.create(Hn);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Kt(){return Jn||(Jn=Vt(0,0,hn))}function Wt(t,e,n){if(e=m(t,e),e!==e)return t;if(e>=t.size||0>e)return t.withMutations(function(t){0>e?Jt(t,e).set(0,n):Jt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=l(yn);return e>=Qt(t._capacity)?r=Gt(r,t.__ownerID,0,e,n,o):i=Gt(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Vt(t._origin,t._capacity,t._level,i,r):t}function Gt(t,e,n,r,i,o){var a=r>>>n&vn,s=t&&a<t.array.length;if(!s&&void 0===i)return t;var u;if(n>0){var c=t&&t.array[a],l=Gt(c,e,n-hn,r,i,o);return l===c?t:(u=$t(t,e),u.array[a]=l,u)}return s&&t.array[a]===i?t:(f(o),u=$t(t,e),void 0===i&&a===u.array.length-1?u.array.pop():u.array[a]=i,u)}function $t(t,e){return e&&t&&e===t.ownerID?t:new Rt(t?t.array.slice():[],e)}function Ht(t,e){if(e>=Qt(t._capacity))return t._tail;if(e<1<<t._level+hn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&vn],r-=hn;return n}}function Jt(t,e,n){void 0!==e&&(e=0|e),void 0!==n&&(n=0|n);var r=t.__ownerID||new d,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:0>n?o+n:i+n;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;0>a+l;)c=new Rt(c&&c.array.length?[void 0,c]:[],r),u+=hn,l+=1<<u;l&&(a+=l,i+=l,s+=l,o+=l);for(var f=Qt(o),p=Qt(s);p>=1<<u+hn;)c=new Rt(c&&c.array.length?[c]:[],r),u+=hn;var h=t._tail,m=f>p?Ht(t,s-1):p>f?new Rt([],r):h;if(h&&p>f&&o>a&&h.array.length){c=$t(c,r);for(var v=c,g=u;g>hn;g-=hn){var _=f>>>g&vn;v=v.array[_]=$t(v.array[_],r)}v.array[f>>>hn&vn]=h}if(o>s&&(m=m&&m.removeAfter(r,0,s)),a>=p)a-=p,s-=p,u=hn,c=null,m=m&&m.removeBefore(r,0,a);else if(a>i||f>p){for(l=0;c;){var y=a>>>u&vn;if(y!==p>>>u&vn)break;y&&(l+=(1<<u)*y),u-=hn,c=c.array[y]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&f>p&&(c=c.removeAfter(r,u,p-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=m,t.__hash=void 0,t.__altered=!0,t):Vt(a,s,u,c,m)}function Yt(t,e,n){for(var i=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),o(u)||(c=c.map(function(t){return W(t)})),i.push(c)}return a>t.size&&(t=t.setSize(a)),Ct(t,e,i)}function Qt(t){return mn>t?0:t-1>>>hn<<hn}function Xt(t){return null===t||void 0===t?ee():Zt(t)?t:ee().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function Zt(t){return dt(t)&&c(t)}function te(t,e,n,r){var i=Object.create(Xt.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function ee(){return Qn||(Qn=te(wt(),Kt()))}function ne(t,e,n){var r,i,o=t._map,a=t._list,s=o.get(e),u=void 0!==s;if(n===gn){if(!u)return t;a.size>=mn&&a.size>=2*o.size?(i=a.filter(function(t,e){return void 0!==t&&s!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return t;r=o,i=a.set(s,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):te(r,i)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Oe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Ee,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return e(n,t,r)!==!1},n)},e.__iteratorUncached=function(e,n){if(e===wn){var r=t.__iterator(e,n);return new x(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===xn?bn:xn,n)},e}function ue(t,e,n){var r=Oe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,gn);return o===gn?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return r(e.call(n,t,i,a),i,o)!==!1},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(wn,i);return new x(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return w(r,s,e.call(n,a[1],s,t),i)})},r}function ce(t,e){var n=Oe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Ee,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function le(t,e,n,r){var i=Oe(t);return r&&(i.has=function(r){var i=t.get(r,gn);return i!==gn&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,gn);return o!==gn&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate(function(t,o,u){return e.call(n,t,o,u)?(s++,i(t,r?o:s-1,a)):void 0},o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(wn,o),s=0;return new x(function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return w(i,r?c:s++,l,o)}})},i}function fe(t,e,n){var r=ft().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}function de(t,e,n){var r=a(t),i=(c(t)?Xt():ft()).asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return t=t||[],t.push(r?[a,o]:o),t})});var o=Ie(t);return i.map(function(e){return Se(t,o(e))})}function pe(t,e,n,r){var i=t.size;if(void 0!==e&&(e=0|e),void 0!==n&&(n=0|n),g(e,n,i))return t;var o=_(e,i),a=y(n,i);if(o!==o||a!==a)return pe(t.toSeq().cacheResult(),e,n,r);var s,u=a-o;u===u&&(s=0>u?0:u);var c=Oe(t);return c.size=0===s?s:t.size&&s||void 0,!r&&q(t)&&s>=0&&(c.get=function(e,n){return e=m(this,e),e>=0&&s>e?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,u=!0,c=0;return t.__iterate(function(t,n){return u&&(u=a++<o)?void 0:(c++,e(t,r?n:c-1,i)!==!1&&c!==s)}),c},c.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var i=0!==s&&t.__iterator(e,n),a=0,u=0;return new x(function(){for(;a++<o;)i.next();if(++u>s)return k();var t=i.next();return r||e===xn?t:e===bn?w(e,u-1,void 0,t):w(e,u-1,t.value[1],t)})},c}function he(t,e,n){var r=Oe(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,s){return e.call(n,t,i,s)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(wn,i),s=!0;return new x(function(){if(!s)return k();var t=a.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?r===wn?t:w(r,u,c,t):(s=!1,k())})},r}function me(t,e,n,r){var i=Oe(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return t.__iterate(function(t,o,c){return s&&(s=e.call(n,t,o,c))?void 0:(u++,i(t,r?o:u-1,a))}),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(wn,o),u=!0,c=0;return new x(function(){var t,o,l;do{if(t=s.next(),t.done)return r||i===xn?t:i===bn?w(i,c++,void 0,t):w(i,c++,t.value[1],t);var f=t.value;o=f[0],l=f[1],u&&(u=e.call(n,l,o,a))}while(u);return i===wn?t:w(i,o,l,t)})},i}function ve(t,e){var r=a(t),i=[t].concat(e).map(function(t){return o(t)?r&&(t=n(t)):t=r?F(t):U(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var u=i[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var c=new C(i);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ge(t,e,n){var r=Oe(t);return r.__iterateUncached=function(r,i){function a(t,c){var l=this;t.__iterate(function(t,i){return(!e||e>c)&&o(t)?a(t,c+1):r(t,n?i:s++,l)===!1&&(u=!0),!u},i)}var s=0,u=!1;return a(t,0),s},r.__iteratorUncached=function(r,i){var a=t.__iterator(r,i),s=[],u=0;return new x(function(){for(;a;){var t=a.next();if(t.done===!1){var c=t.value;if(r===wn&&(c=c[1]),e&&!(s.length<e)||!o(c))return n?t:w(r,u++,c,t);s.push(a),a=c.__iterator(r,i)}else a=s.pop()}return k()})},r}function _e(t,e,n){var r=Ie(t);return t.toSeq().map(function(i,o){return r(e.call(n,i,o,t))}).flatten(!0)}function ye(t,e){var n=Oe(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate(function(t,r){return(!o||n(e,o++,i)!==!1)&&n(t,o++,i)!==!1},r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(xn,r),a=0;return new x(function(){return(!i||a%2)&&(i=o.next(),i.done)?i:a%2?w(n,a++,e):w(n,a++,i.value,i)})},n}function be(t,e,n){e||(e=je);var r=a(t),i=0,o=t.toSeq().map(function(e,r){return[r,e,i++,n?n(e,r,t):e]}).toArray();return o.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?j(o):s(t)?z(o):P(o)}function xe(t,e,n){if(e||(e=je),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return we(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return we(e,t,n)?n:t})}function we(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(void 0===n||null===n||n!==n)||r>0}function ke(t,n,r){var i=Oe(t);return i.size=new C(r).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(xn,e),i=0;!(n=r.next()).done&&t(n.value,i++,this)!==!1;);return i},i.__iteratorUncached=function(t,i){var o=r.map(function(t){return t=e(t),M(i?t.reverse():t)}),a=0,s=!1;return new x(function(){var e;return s||(e=o.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?k():w(t,a++,n.apply(null,e.map(function(t){return t.value})))})},i}function Se(t,e){return q(t)?e:t.constructor(e)}function Ae(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Me(t){return lt(t.size),h(t)}function Ie(t){return a(t)?n:s(t)?r:i}function Oe(t){return Object.create((a(t)?j:s(t)?z:P).prototype)}function Ee(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):E.prototype.cacheResult.call(this)}function je(t,e){return t>e?1:e>t?-1:0}function ze(t){var n=M(t);if(!n){if(!O(t))throw new TypeError("Expected iterable or array-like: "+t);n=M(e(t))}return n}function Pe(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(t);Le(i,a),i.size=a.length,i._name=e,i._keys=a,i._defaultValues=t}this._map=ft(o)},i=r.prototype=Object.create(Xn);return i.constructor=r,r}function Ce(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Te(t){return t._name||t.constructor.name||"Record"}function Le(t,e){try{e.forEach(De.bind(void 0,t))}catch(n){}}function De(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){X(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function qe(t){return null===t||void 0===t?Re():Ne(t)&&!c(t)?t:Re().withMutations(function(e){var n=i(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Ne(t){return!(!t||!t[Zn])}function Fe(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Ue(t,e){var n=Object.create(tr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Re(){return er||(er=Ue(wt()))}function Be(t){return null===t||void 0===t?We():Ve(t)?t:We().withMutations(function(e){var n=i(t);lt(n.size),n.forEach(function(t){return e.add(t)})})}function Ve(t){
return Ne(t)&&c(t)}function Ke(t,e){var n=Object.create(nr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function We(){return rr||(rr=Ke(ee()))}function Ge(t){return null===t||void 0===t?Je():$e(t)?t:Je().unshiftAll(t)}function $e(t){return!(!t||!t[ir])}function He(t,e,n,r){var i=Object.create(or);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Je(){return ar||(ar=He(0))}function Ye(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Qe(t,e){return e}function Xe(t,e){return[e,t]}function Ze(t){return function(){return!t.apply(this,arguments)}}function tn(t){return function(){return-t.apply(this,arguments)}}function en(t){return"string"==typeof t?JSON.stringify(t):t}function nn(){return p(arguments)}function rn(t,e){return e>t?1:t>e?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0,i=t.__iterate(n?e?function(t,e){r=31*r+sn(ot(t),ot(e))|0}:function(t,e){r=r+sn(ot(t),ot(e))|0}:e?function(t){r=31*r+ot(t)|0}:function(t){r=r+ot(t)|0});return an(i,r)}function an(t,e){return e=zn(e,3432918353),e=zn(e<<15|e>>>-15,461845907),e=zn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=zn(e^e>>>16,2246822507),e=zn(e^e>>>13,3266489909),e=it(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(i,e),e.isIterable=o,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=i;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",dn="@@__IMMUTABLE_ORDERED__@@",pn="delete",hn=5,mn=1<<hn,vn=mn-1,gn={},_n={value:!1},yn={value:!1},bn=0,xn=1,wn=2,kn="function"==typeof Symbol&&Symbol.iterator,Sn="@@iterator",An=kn||Sn;x.prototype.toString=function(){return"[Iterator]"},x.KEYS=bn,x.VALUES=xn,x.ENTRIES=wn,x.prototype.inspect=x.prototype.toSource=function(){return this.toString()},x.prototype[An]=function(){return this},t(E,e),E.of=function(){return E(arguments)},E.prototype.toSeq=function(){return this},E.prototype.toString=function(){return this.__toString("Seq {","}")},E.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},E.prototype.__iterate=function(t,e){return V(this,t,e,!0)},E.prototype.__iterator=function(t,e){return K(this,t,e,!0)},t(j,E),j.prototype.toKeyedSeq=function(){return this},t(z,E),z.of=function(){return z(arguments)},z.prototype.toIndexedSeq=function(){return this},z.prototype.toString=function(){return this.__toString("Seq [","]")},z.prototype.__iterate=function(t,e){return V(this,t,e,!1)},z.prototype.__iterator=function(t,e){return K(this,t,e,!1)},t(P,E),P.of=function(){return P(arguments)},P.prototype.toSetSeq=function(){return this},E.isSeq=q,E.Keyed=j,E.Set=P,E.Indexed=z;var Mn="@@__IMMUTABLE_SEQ__@@";E.prototype[Mn]=!0,t(C,z),C.prototype.get=function(t,e){return this.has(t)?this._array[m(this,t)]:e},C.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;r>=i;i++)if(t(n[e?r-i:i],i,this)===!1)return i+1;return i},C.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new x(function(){return i>r?k():w(t,i,n[e?r-i++:i++])})},t(T,j),T.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},T.prototype.has=function(t){return this._object.hasOwnProperty(t)},T.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;i>=o;o++){var a=r[e?i-o:o];if(t(n[a],a,this)===!1)return o+1}return o},T.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new x(function(){var a=r[e?i-o:o];return o++>i?k():w(t,a,n[a])})},T.prototype[dn]=!0,t(L,z),L.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=M(n),i=0;if(A(r))for(var o;!(o=r.next()).done&&t(o.value,i++,this)!==!1;);return i},L.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=M(n);if(!A(r))return new x(k);var i=0;return new x(function(){var e=r.next();return e.done?e:w(t,i++,e.value)})},t(D,z),D.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,i=0;i<r.length;)if(t(r[i],i++,this)===!1)return i;for(var o;!(o=n.next()).done;){var a=o.value;if(r[i]=a,t(a,i++,this)===!1)break}return i},D.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new x(function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return w(t,i,r[i++])})};var In;t(Q,z),Q.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(t,e){return this.has(t)?this._value:e},Q.prototype.includes=function(t){return J(this._value,t)},Q.prototype.slice=function(t,e){var n=this.size;return g(t,e,n)?this:new Q(this._value,y(e,n)-_(t,n))},Q.prototype.reverse=function(){return this},Q.prototype.indexOf=function(t){return J(this._value,t)?0:-1},Q.prototype.lastIndexOf=function(t){return J(this._value,t)?this.size:-1},Q.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(t(this._value,n,this)===!1)return n+1;return n},Q.prototype.__iterator=function(t,e){var n=this,r=0;return new x(function(){return r<n.size?w(t,r++,n._value):k()})},Q.prototype.equals=function(t){return t instanceof Q?J(this._value,t._value):Y(t)};var On;t(Z,z),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){return this.has(t)?this._start+m(this,t)*this._step:e},Z.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){return g(t,e,this.size)?this:(t=_(t,this.size),e=y(e,this.size),t>=e?new Z(0,0):new Z(this.get(t,this._end),this.get(e,this._end),this._step))},Z.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step===0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},Z.prototype.lastIndexOf=function(t){return this.indexOf(t)},Z.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;n>=o;o++){if(t(i,o,this)===!1)return o+1;i+=e?-r:r}return o},Z.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new x(function(){var a=i;return i+=e?-r:r,o>n?k():w(t,o++,a)})},Z.prototype.equals=function(t){return t instanceof Z?this._start===t._start&&this._end===t._end&&this._step===t._step:Y(this,t)};var En;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var jn,zn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t=0|t,e=0|e;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Pn=Object.isExtensible,Cn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Tn="function"==typeof WeakMap;Tn&&(jn=new WeakMap);var Ln=0,Dn="__immutablehash__";"function"==typeof Symbol&&(Dn=Symbol(Dn));var qn=16,Nn=255,Fn=0,Un={};t(ft,et),ft.prototype.toString=function(){return this.__toString("Map {","}")},ft.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ft.prototype.set=function(t,e){return kt(this,t,e)},ft.prototype.setIn=function(t,e){return this.updateIn(t,gn,function(){return e})},ft.prototype.remove=function(t){return kt(this,t,gn)},ft.prototype.deleteIn=function(t){return this.updateIn(t,function(){return gn})},ft.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},ft.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Tt(this,ze(t),e,n);return r===gn?void 0:r},ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):wt()},ft.prototype.merge=function(){return jt(this,void 0,arguments)},ft.prototype.mergeWith=function(t){var e=un.call(arguments,1);return jt(this,t,e)},ft.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ft.prototype.mergeDeep=function(){return jt(this,zt,arguments)},ft.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return jt(this,Pt(t),e)},ft.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ft.prototype.sort=function(t){return Xt(be(this,t))},ft.prototype.sortBy=function(t,e){return Xt(be(this,e,t))},ft.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ft.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new d)},ft.prototype.asImmutable=function(){return this.__ensureOwner()},ft.prototype.wasAltered=function(){return this.__altered},ft.prototype.__iterator=function(t,e){return new _t(this,t,e)},ft.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?xt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ft.isMap=dt;var Rn="@@__IMMUTABLE_MAP__@@",Bn=ft.prototype;Bn[Rn]=!0,Bn[pn]=Bn.remove,Bn.removeIn=Bn.deleteIn,pt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;a>o;o++)if(J(n,i[o][0]))return i[o][1];return r},pt.prototype.update=function(t,e,n,r,i,o,a){for(var s=i===gn,u=this.entries,c=0,l=u.length;l>c&&!J(r,u[c][0]);c++);var d=l>c;if(d?u[c][1]===i:s)return this;if(f(a),(s||!d)&&f(o),!s||1!==u.length){if(!d&&!s&&u.length>=Kn)return It(t,u,r,i);var h=t&&t===this.ownerID,m=h?u:p(u);return d?s?c===l-1?m.pop():m[c]=m.pop():m[c]=[r,i]:m.push([r,i]),h?(this.entries=m,this):new pt(t,m)}},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=1<<((0===t?e:e>>>t)&vn),o=this.bitmap;return 0===(o&i)?r:this.nodes[Lt(o&i-1)].get(t+hn,e,n,r)},ht.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&vn,u=1<<s,c=this.bitmap,l=0!==(c&u);if(!l&&i===gn)return this;var f=Lt(c&u-1),d=this.nodes,p=l?d[f]:void 0,h=St(p,t,e+hn,n,r,i,o,a);if(h===p)return this;if(!l&&h&&d.length>=Wn)return Et(t,d,c,s,h);if(l&&!h&&2===d.length&&At(d[1^f]))return d[1^f];if(l&&h&&1===d.length&&At(h))return h;var m=t&&t===this.ownerID,v=l?h?c:c^u:c|u,g=l?h?Dt(d,f,h,m):Nt(d,f,m):qt(d,f,h,m);return m?(this.bitmap=v,this.nodes=g,this):new ht(t,v,g)},mt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=(0===t?e:e>>>t)&vn,o=this.nodes[i];return o?o.get(t+hn,e,n,r):r},mt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&vn,u=i===gn,c=this.nodes,l=c[s];if(u&&!l)return this;var f=St(l,t,e+hn,n,r,i,o,a);if(f===l)return this;var d=this.count;if(l){if(!f&&(d--,Gn>d))return Ot(t,c,d,s)}else d++;var p=t&&t===this.ownerID,h=Dt(c,s,f,p);return p?(this.count=d,this.nodes=h,this):new mt(t,d,h)},vt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;a>o;o++)if(J(n,i[o][0]))return i[o][1];return r},vt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=i===gn;if(n!==this.keyHash)return s?this:(f(a),f(o),Mt(this,t,e,n,[r,i]));for(var u=this.entries,c=0,l=u.length;l>c&&!J(r,u[c][0]);c++);var d=l>c;if(d?u[c][1]===i:s)return this;if(f(a),(s||!d)&&f(o),s&&2===l)return new gt(t,this.keyHash,u[1^c]);var h=t&&t===this.ownerID,m=h?u:p(u);return d?s?c===l-1?m.pop():m[c]=m.pop():m[c]=[r,i]:m.push([r,i]),h?(this.entries=m,this):new vt(t,this.keyHash,m)},gt.prototype.get=function(t,e,n,r){return J(n,this.entry[0])?this.entry[1]:r},gt.prototype.update=function(t,e,n,r,i,o,a){var s=i===gn,u=J(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(f(a),s?void f(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new gt(t,this.keyHash,[r,i]):(f(o),Mt(this,t,e,ot(r),[r,i])))},pt.prototype.iterate=vt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;i>=r;r++)if(t(n[e?i-r:r])===!1)return!1},ht.prototype.iterate=mt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;i>=r;r++){var o=n[e?i-r:r];if(o&&o.iterate(t,e)===!1)return!1}},gt.prototype.iterate=function(t,e){return t(this.entry)},t(_t,x),_t.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return yt(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,n>=i)return yt(t,r.entries[this._reverse?n-i:i])}else if(n=r.nodes.length-1,n>=i){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return yt(t,o.entry);e=this._stack=bt(o,e)}continue}e=this._stack=this._stack.__prev}return k()};var Vn,Kn=mn/4,Wn=mn/2,Gn=mn/4;t(Ft,nt),Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("List [","]")},Ft.prototype.get=function(t,e){if(t=m(this,t),t>=0&&t<this.size){t+=this._origin;var n=Ht(this,t);return n&&n.array[t&vn]}return e},Ft.prototype.set=function(t,e){return Wt(this,t,e)},Ft.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Ft.prototype.insert=function(t,e){return this.splice(t,0,e)},Ft.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=hn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Kt()},Ft.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Jt(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},Ft.prototype.pop=function(){return Jt(this,0,-1)},Ft.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Jt(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},Ft.prototype.shift=function(){return Jt(this,1)},Ft.prototype.merge=function(){return Yt(this,void 0,arguments)},Ft.prototype.mergeWith=function(t){var e=un.call(arguments,1);return Yt(this,t,e)},Ft.prototype.mergeDeep=function(){return Yt(this,zt,arguments)},Ft.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Yt(this,Pt(t),e)},Ft.prototype.setSize=function(t){return Jt(this,0,t)},Ft.prototype.slice=function(t,e){var n=this.size;return g(t,e,n)?this:Jt(this,_(t,n),y(e,n))},Ft.prototype.__iterator=function(t,e){var n=0,r=Bt(this,e);return new x(function(){var e=r();return e===Yn?k():w(t,n++,e)})},Ft.prototype.__iterate=function(t,e){for(var n,r=0,i=Bt(this,e);(n=i())!==Yn&&t(n,r++,this)!==!1;);return r},Ft.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Vt(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Ft.isList=Ut;var $n="@@__IMMUTABLE_LIST__@@",Hn=Ft.prototype;Hn[$n]=!0,Hn[pn]=Hn.remove,Hn.setIn=Bn.setIn,Hn.deleteIn=Hn.removeIn=Bn.removeIn,Hn.update=Bn.update,Hn.updateIn=Bn.updateIn,Hn.mergeIn=Bn.mergeIn,Hn.mergeDeepIn=Bn.mergeDeepIn,Hn.withMutations=Bn.withMutations,Hn.asMutable=Bn.asMutable,Hn.asImmutable=Bn.asImmutable,Hn.wasAltered=Bn.wasAltered,Rt.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&vn;if(r>=this.array.length)return new Rt([],t);var i,o=0===r;if(e>0){var a=this.array[r];if(i=a&&a.removeBefore(t,e-hn,n),i===a&&o)return this}if(o&&!i)return this;var s=$t(this,t);if(!o)for(var u=0;r>u;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Rt.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r=n-1>>>e&vn;if(r>=this.array.length)return this;var i;if(e>0){var o=this.array[r];if(i=o&&o.removeAfter(t,e-hn,n),i===o&&r===this.array.length-1)return this}var a=$t(this,t);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Jn,Yn={};t(Xt,ft),Xt.of=function(){return this(arguments)},Xt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Xt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Xt.prototype.set=function(t,e){return ne(this,t,e)},Xt.prototype.remove=function(t){return ne(this,t,gn)},Xt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Xt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Xt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Xt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Xt.isOrderedMap=Zt,Xt.prototype[dn]=!0,Xt.prototype[pn]=Xt.prototype.remove;var Qn;t(re,j),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Me(this):0,function(i){return t(i,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(xn,e),r=e?Me(this):0;return new x(function(){var i=n.next();return i.done?i:w(t,e?--r:r++,i.value,i)})},re.prototype[dn]=!0,t(ie,z),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e),r=0;return new x(function(){var e=n.next();return e.done?e:w(t,r++,e.value,e)})},t(oe,P),oe.prototype.has=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new x(function(){var e=n.next();return e.done?e:w(t,e.value,e.value,e)})},t(ae,j),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ae(e);var r=o(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new x(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ae(r);var i=o(r);return w(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},ie.prototype.cacheResult=re.prototype.cacheResult=oe.prototype.cacheResult=ae.prototype.cacheResult=Ee,t(Pe,et),Pe.prototype.toString=function(){return this.__toString(Te(this)+" {","}")},Pe.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Pe.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Pe.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ce(this,wt()))},Pe.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Te(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Ce(this,n)},Pe.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ce(this,e)},Pe.prototype.wasAltered=function(){return this._map.wasAltered()},Pe.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Pe.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Pe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ce(this,e,t):(this.__ownerID=t,this._map=e,this)};var Xn=Pe.prototype;Xn[pn]=Xn.remove,Xn.deleteIn=Xn.removeIn=Bn.removeIn,Xn.merge=Bn.merge,Xn.mergeWith=Bn.mergeWith,Xn.mergeIn=Bn.mergeIn,Xn.mergeDeep=Bn.mergeDeep,Xn.mergeDeepWith=Bn.mergeDeepWith,Xn.mergeDeepIn=Bn.mergeDeepIn,Xn.setIn=Bn.setIn,Xn.update=Bn.update,Xn.updateIn=Bn.updateIn,Xn.withMutations=Bn.withMutations,Xn.asMutable=Bn.asMutable,Xn.asImmutable=Bn.asImmutable,t(qe,rt),qe.of=function(){return this(arguments)},qe.fromKeys=function(t){return this(n(t).keySeq())},qe.prototype.toString=function(){return this.__toString("Set {","}")},qe.prototype.has=function(t){return this._map.has(t)},qe.prototype.add=function(t){return Fe(this,this._map.set(t,!0))},qe.prototype.remove=function(t){return Fe(this,this._map.remove(t))},qe.prototype.clear=function(){return Fe(this,this._map.clear())},qe.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)i(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},qe.prototype.intersect=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return i(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.every(function(t){return t.includes(e)})||n.remove(e)})})},qe.prototype.subtract=function(){var t=un.call(arguments,0);if(0===t.length)return this;t=t.map(function(t){return i(t)});var e=this;return this.withMutations(function(n){e.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.remove(e)})})},qe.prototype.merge=function(){return this.union.apply(this,arguments)},qe.prototype.mergeWith=function(t){var e=un.call(arguments,1);return this.union.apply(this,e)},qe.prototype.sort=function(t){return Be(be(this,t))},qe.prototype.sortBy=function(t,e){return Be(be(this,e,t))},qe.prototype.wasAltered=function(){return this._map.wasAltered()},qe.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},qe.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},qe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},qe.isSet=Ne;var Zn="@@__IMMUTABLE_SET__@@",tr=qe.prototype;tr[Zn]=!0,tr[pn]=tr.remove,tr.mergeDeep=tr.merge,tr.mergeDeepWith=tr.mergeWith,tr.withMutations=Bn.withMutations,tr.asMutable=Bn.asMutable,tr.asImmutable=Bn.asImmutable,tr.__empty=Re,tr.__make=Ue;var er;t(Be,qe),Be.of=function(){return this(arguments)},Be.fromKeys=function(t){return this(n(t).keySeq())},Be.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Be.isOrderedSet=Ve;var nr=Be.prototype;nr[dn]=!0,nr.__empty=We,nr.__make=Ke;var rr;t(Ge,nt),Ge.of=function(){return this(arguments)},Ge.prototype.toString=function(){return this.__toString("Stack [","]")},Ge.prototype.get=function(t,e){var n=this._head;for(t=m(this,t);n&&t--;)n=n.next;return n?n.value:e},Ge.prototype.peek=function(){return this._head&&this._head.value},Ge.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):He(t,e)},Ge.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):He(e,n)},Ge.prototype.pop=function(){return this.slice(1)},Ge.prototype.unshift=function(){return this.push.apply(this,arguments)},Ge.prototype.unshiftAll=function(t){return this.pushAll(t)},Ge.prototype.shift=function(){return this.pop.apply(this,arguments)},Ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Je()},Ge.prototype.slice=function(t,e){if(g(t,e,this.size))return this;var n=_(t,this.size),r=y(e,this.size);if(r!==this.size)return nt.prototype.slice.call(this,t,e);for(var i=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):He(i,o)},Ge.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?He(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ge.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&t(r.value,n++,this)!==!1;)r=r.next;return n},Ge.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new x(function(){if(r){var e=r.value;return r=r.next,w(t,n++,e)}return k()})},Ge.isStack=$e;var ir="@@__IMMUTABLE_STACK__@@",or=Ge.prototype;or[ir]=!0,or.withMutations=Bn.withMutations,or.asMutable=Bn.asMutable,or.asImmutable=Bn.asImmutable,or.wasAltered=Bn.wasAltered;var ar;e.Iterator=x,Ye(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new ie(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,!0)},toMap:function(){return ft(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Xt(this.toKeyedSeq())},toOrderedSet:function(){return Be(a(this)?this.valueSeq():this)},toSet:function(){return qe(a(this)?this.valueSeq():this)},toSetSeq:function(){return new oe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ge(a(this)?this.valueSeq():this)},toList:function(){return Ft(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var t=un.call(arguments,0);return Se(this,ve(this,t))},includes:function(t){return this.some(function(e){return J(e,t)})},entries:function(){return this.__iterator(wn)},every:function(t,e){lt(this.size);var n=!0;return this.__iterate(function(r,i,o){return t.call(e,r,i,o)?void 0:(n=!1,!1)}),n},filter:function(t,e){return Se(this,le(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate(function(r,i,o){return t.call(e,r,i,o)?(n=[i,r],!1):void 0}),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(bn)},map:function(t,e){return Se(this,ue(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,i;return arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Se(this,ce(this,!0))},slice:function(t,e){return Se(this,pe(this,t,e,!0))},some:function(t,e){return!this.every(Ze(t),e)},sort:function(t){return Se(this,be(this,t))},values:function(){return this.__iterator(xn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return fe(this,t,e)},equals:function(t){return Y(this,t)},entrySeq:function(){var t=this;if(t._cache)return new C(t._cache);var e=t.toSeq().map(Xe).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ze(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(v)},flatMap:function(t,e){return Se(this,_e(this,t,e))},flatten:function(t){return Se(this,ge(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return J(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,i=ze(t);!(n=i.next()).done;){var o=n.value;if(r=r&&r.get?r.get(o,gn):gn,r===gn)return e}return r},groupBy:function(t,e){return de(this,t,e)},has:function(t){return this.get(t,gn)!==gn},hasIn:function(t){return this.getIn(t,gn)!==gn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keySeq:function(){return this.toSeq().map(Qe).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return xe(this,t)},maxBy:function(t,e){return xe(this,e,t)},min:function(t){return xe(this,t?tn(t):rn)},minBy:function(t,e){return xe(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Se(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Se(this,me(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ze(t),e)},sortBy:function(t,e){return Se(this,be(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Se(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Se(this,he(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ze(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=e.prototype;sr[cn]=!0,sr[An]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=en,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,function(){try{Object.defineProperty(sr,"length",{get:function(){if(!e.noLengthWarning){var t;try{throw new Error}catch(n){t=n.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Ye(n,{flip:function(){return Se(this,se(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey(function(e){return J(e,t)})},lastKeyOf:function(t){return this.findLastKey(function(e){return J(e,t)})},mapEntries:function(t,e){var n=this,r=0;return Se(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Se(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var ur=n.prototype;ur[ln]=!0,ur[An]=sr.entries,ur.__toJS=sr.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},Ye(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Se(this,le(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e;
},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Se(this,ce(this,!1))},slice:function(t,e){return Se(this,pe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=_(t,0>t?this.count():this.size);var r=this.slice(0,t);return Se(this,1===n?r:r.concat(p(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Se(this,ge(this,t,!1))},get:function(t,e){return t=m(this,t),0>t||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return t=m(this,t),t>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Se(this,ye(this,t))},interleave:function(){var t=[this].concat(p(arguments)),e=ke(this.toSeq(),z.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Se(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Se(this,me(this,t,e,!1))},zip:function(){var t=[this].concat(p(arguments));return Se(this,ke(this,nn,t))},zipWith:function(t){var e=p(arguments);return e[0]=this,Se(this,ke(this,t,e))}}),r.prototype[fn]=!0,r.prototype[dn]=!0,Ye(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=sr.includes,Ye(j,n.prototype),Ye(z,r.prototype),Ye(P,i.prototype),Ye(et,n.prototype),Ye(nt,r.prototype),Ye(rt,i.prototype);var cr={Iterable:e,Seq:E,Collection:tt,Map:ft,OrderedMap:Xt,List:Ft,Stack:Ge,Set:qe,OrderedSet:Be,Record:Pe,Range:Z,Repeat:Q,is:J,fromJS:W};return cr})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(289),c=r(u),l=n(293),f=n(386),d=function(){function t(e){var n=this;i(this,t),this.form=(0,s["default"])(e),this.form.length&&"form"===this.form.prop("tagName").toLowerCase()&&(this.form.on("submit",function(t){f.Instance.equals()&&(t.preventDefault(),c["default"].info(l.translations.PLUGIN_ADMIN.NOTHING_TO_SAVE))}),this._attachShortcuts(),this._attachToggleables(),this._attachDisabledFields(),this.observer=new MutationObserver(this.addedNodes),this.form.each(function(t,e){return n.observer.observe(e,{subtree:!0,childList:!0})}))}return o(t,[{key:"_attachShortcuts",value:function(){var t=(0,s["default"])('[name="task"][value="save"]').filter(function(t,e){return e=(0,s["default"])(e),!e.parents(".remodal-overlay").length});t.length&&(0,s["default"])(window).on("keydown",function(e){var n=String.fromCharCode(e.which).toLowerCase();(e.ctrlKey&&!e.altKey||e.metaKey)&&"s"===n&&(e.preventDefault(),t.click())})}},{key:"_attachToggleables",value:function(){var t='[data-grav-field="toggleable"] input[type="checkbox"]';this.form.on("change",t,function(t){var e=(0,s["default"])(t.target),n=e.is(":checked"),r=e.parents(".form-field"),i=r.find("label.toggleable"),o=r.find(".form-data"),a=o.find("input, select, textarea");i.add(o).css("opacity",n?"":.7),a.map(function(t,e){var r=e.selectize;e=(0,s["default"])(e),r?r[n?"enable":"disable"]():e.prop("disabled",!n)})}),this.form.find(t).trigger("change")}},{key:"_attachDisabledFields",value:function(){var t=".form-field-toggleable .form-data",e=[];["input","select","label[for]","textarea",".selectize-control"].forEach(function(n){e.push(t+" "+n)}),this.form.on("mousedown",e.join(", "),function(t){var e=(0,s["default"])(t.target),n=e,r=n.prop("for"),i=(n.hasClass("selectize-control")||n.parents(".selectize-control")).length;if(r&&(n=(0,s["default"])('[id="'+r+'"]')),i&&(n=n.closest(".selectize-control").siblings("select[name]")),!n.prop("disabled"))return!0;var o=n.closest(".form-field").find('[data-grav-field="toggleable"] input[type="checkbox"]');o.trigger("click")})}},{key:"addedNodes",value:function(t){var e=this;t.forEach(function(t){"childList"===t.type&&t.addedNodes&&(0,s["default"])("body").trigger("mutation._grav",t.target,t,e)})}}]),t}();e["default"]=d;e.Instance=new d("form#blueprints")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(390),o=r(i),a=n(391),s=r(a),u=n(392),c=r(u),l=n(393),f=r(l),d=n(324),p=r(d);e["default"]={SelectizeField:{SelectizeField:o["default"],Instance:i.Instance},ArrayField:{ArrayField:s["default"],Instance:a.Instance},CollectionsField:{CollectionsField:c["default"],Instance:u.Instance},DateTimeField:{DateTimeField:f["default"],Instance:l.Instance},EditorField:{EditorField:p["default"],Instance:d.Instance}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a);n(312);var u=function(){function t(){var e=this,n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];i(this,t),this.options=Object.assign({},n),this.elements=[],(0,s["default"])("[data-grav-selectize]").each(function(t,n){return e.add(n)}),(0,s["default"])("body").on("mutation._grav",this._onAddedNodes.bind(this))}return o(t,[{key:"add",value:function(t){t=(0,s["default"])(t);var e=t.prop("tagName").toLowerCase(),n="input"===e||"select"===e,r=(n?t.closest("[data-grav-selectize]"):t).data("grav-selectize")||{},i=n?t:t.find("input, select");i.length&&!i.get(0).selectize&&(i.selectize(r),this.elements.push(i.data("selectize")))}},{key:"_onAddedNodes",value:function(t,e){var n=this,r=(0,s["default"])(e).find("select.fancy, input.fancy");r.length&&r.each(function(t,e){return n.add(e)})}}]),t}();e["default"]=u;e.Instance=new u},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=(0,s["default"])("body"),c=function(){function t(e){i(this,t),this.container=(0,s["default"])(e),void 0===this.getName()&&(this.container=this.container.closest("[data-grav-array-name]"))}return o(t,[{key:"getName",value:function(){return this.container.data("grav-array-name")||""}},{key:"getKeyPlaceholder",value:function(){return this.container.data("grav-array-keyname")||"Key"}},{key:"getValuePlaceholder",value:function(){return this.container.data("grav-array-valuename")||"Value"}},{key:"isValueOnly",value:function(){return this.container.find('[data-grav-array-mode="value_only"]:first').length||!1}},{key:"shouldBeDisabled",value:function(){var t=this.container.closest(".form-field").find('[data-grav-field="toggleable"] input[type="checkbox"]');return t.length&&t.is(":not(:checked)")}},{key:"getNewRow",value:function(){var t="";return t+=this.isValueOnly()?'\n <div class="form-row array-field-value_only" data-grav-array-type="row">\n <input '+(this.shouldBeDisabled()?'disabled="disabled"':"")+' data-grav-array-type="value" type="text" value="" placeholder="'+this.getValuePlaceholder()+'" />\n ':'\n <div class="form-row" data-grav-array-type="row">\n <input '+(this.shouldBeDisabled()?'disabled="disabled"':"")+' data-grav-array-type="key" type="text" value="" placeholder="'+this.getKeyPlaceholder()+'" />\n <input '+(this.shouldBeDisabled()?'disabled="disabled"':"")+' data-grav-array-type="value" type="text" name="" value="" placeholder="'+this.getValuePlaceholder()+'" />\n ',t+='\n <span data-grav-array-action="rem" class="fa fa-minus"></span>\n <span data-grav-array-action="add" class="fa fa-plus"></span>\n </div>'}}]),t}(),l=function(){function t(){var e=this;i(this,t),u.on("input",'[data-grav-array-type="key"], [data-grav-array-type="value"]',function(t){return e.actionInput(t)}),u.on("click touch","[data-grav-array-action]",function(t){return e.actionEvent(t)})}return o(t,[{key:"actionInput",value:function(t){var e=(0,s["default"])(t.target),n=e.data("grav-array-type");this._setTemplate(e);var r=e.data("array-template"),i="key"===n?e:e.siblings('[data-grav-array-type="key"]:first'),o="value"===n?e:e.siblings('[data-grav-array-type="value"]:first'),a=r.getName()+"["+(r.isValueOnly()?this.getIndexFor(e):i.val())+"]";o.attr("name",o.val()?a:r.getName()),this.refreshNames(r)}},{key:"actionEvent",value:function(t){var e=(0,s["default"])(t.target),n=e.data("grav-array-action");this._setTemplate(e),this[n+"Action"](e)}},{key:"addAction",value:function(t){var e=t.data("array-template"),n=t.closest('[data-grav-array-type="row"]');n.after(e.getNewRow())}},{key:"remAction",value:function(t){var e=t.data("array-template"),n=t.closest('[data-grav-array-type="row"]'),r=!n.siblings().length;if(r){var i=(0,s["default"])(e.getNewRow());n.after(i),i.find('[data-grav-array-type="value"]:last').attr("name",e.getName())}n.remove(),this.refreshNames(e)}},{key:"refreshNames",value:function(t){if(t.isValueOnly()){var e=t.container.find('> div > [data-grav-array-type="row"]'),n=e.find('[name]:not([name=""])');n.each(function(t,e){e=(0,s["default"])(e);var n=e.attr("name");n=n.replace(/\[\d+\]$/,"["+t+"]"),e.attr("name",n)}),n.length||e.find('[data-grav-array-type="value"]').attr("name",t.getName())}}},{key:"getIndexFor",value:function(t){var e=t.data("array-template"),n=t.closest('[data-grav-array-type="row"]');return e.container.find((e.isValueOnly()?"> div ":"")+' > [data-grav-array-type="row"]').index(n)}},{key:"_setTemplate",value:function(t){t.data("array-template")||t.data("array-template",new c(t.closest("[data-grav-array-name]")))}}]),t}();e["default"]=l;e.Instance=new l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(307),c=r(u);n(317);var l=function(){function t(){var e=this;i(this,t),this.lists=(0,s["default"])(),(0,s["default"])('[data-type="collection"]').each(function(t,n){return e.addList(n)}),(0,s["default"])("body").on("mutation._grav",this._onAddedNodes.bind(this))}return o(t,[{key:"addList",value:function(t){var e=this;t=(0,s["default"])(t),this.lists=this.lists.add(t),t.on("click",'> .collection-actions [data-action="add"]',function(t){return e.addItem(t)}),t.on("click",'> ul > li > .item-actions [data-action="delete"]',function(t){return e.removeItem(t)}),t.find("[data-collection-holder]").each(function(t,n){n=(0,s["default"])(n),n.data("collection-sort")||n.data("collection-sort",new c["default"](n.get(0),{forceFallback:!0,animation:150,filter:".CodeMirror, .grav-editor-resizer",onUpdate:function(){return e.reindex(n)}}))})}},{key:"addItem",value:function(t){var e=(0,s["default"])(t.currentTarget),n=e.closest('[data-type="collection"]'),r=(0,s["default"])(n.find('> [data-collection-template="new"]').data("collection-template-html"));n.find("> [data-collection-holder]").append(r),this.reindex(n)}},{key:"removeItem",value:function(t){var e=(0,s["default"])(t.currentTarget),n=e.closest("[data-collection-item]"),r=e.closest('[data-type="collection"]');n.remove(),this.reindex(r)}},{key:"reindex",value:function(t){t=(0,s["default"])(t).closest('[data-type="collection"]');var e=t.find("> ul > [data-collection-item]");e.each(function(t,e){e=(0,s["default"])(e),e.attr("data-collection-key",t),["name","data-grav-field-name","id","for"].forEach(function(t){e.find("["+t+"]").each(function(){var e=(0,s["default"])(this),n=[];e.parents("[data-collection-key]").map(function(t,e){return n.push((0,s["default"])(e).attr("data-collection-key"))}),n.reverse();var r=e.attr(t).replace(/\[(\d+|\*)\]/g,function(){return"["+n.shift()+"]"});e.attr(t,r)})})})}},{key:"_onAddedNodes",value:function(t,e){var n=this,r=(0,s["default"])(e).find('[data-type="collection"]');r.length&&r.each(function(t,e){e=(0,s["default"])(e),~n.lists.index(e)||n.addList(e)})}}]),t}();e["default"]=l;e.Instance=new l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(293);n(394);var c=function(){function t(e){var n=this;i(this,t),this.items=(0,s["default"])(),this.options=Object.assign({},this.defaults,e),(0,s["default"])("[data-grav-datetime]").each(function(t,e){return n.addItem(e)}),(0,s["default"])("body").on("mutation._grav",this._onAddedNodes.bind(this))}return o(t,[{key:"defaults",get:function(){return{showTodayButton:!0,showClear:!0,locale:u.config.language||"en",icons:{time:"fa fa-clock-o",date:"fa fa-calendar-o",up:"fa fa-chevron-up",down:"fa fa-chevron-down",previous:"fa fa-chevron-left",next:"fa fa-chevron-right",today:"fa fa-bullseye",clear:"fa fa-trash-o",close:"fa fa-remove"}}}}]),o(t,[{key:"addItem",value:function(t){if(t=(0,s["default"])(t),this.items=this.items.add(t),!t.data("DateTimePicker")){var e=Object.assign({},this.options,t.data("grav-datetime")||{});t.datetimepicker(e).on("dp.show dp.update",this._disableDecades),t.siblings(".field-icons").on("click",function(){return t.mousedown().focus()})}}},{key:"_onAddedNodes",value:function(t,e){var n=this,r=(0,s["default"])(e).find("[data-grav-datetime]");r.length&&r.each(function(t,e){e=(0,s["default"])(e),~n.items.index(e)||n.addItem(e)})}},{key:"_disableDecades",value:function(){(0,s["default"])(".datepicker-years .picker-switch").removeAttr("title").on("click",function(t){return t.stopPropagation()})}}]),t}();e["default"]=c;e.Instance=new c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i);(0,o["default"])(".gpm-name, .gpm-actions").on("click",function(t){var e=(0,o["default"])(this),n=(0,o["default"])(t.target),r=n.prop("tagName").toLowerCase();if("a"===r||e.parent("a").length)return!0;var i=e.siblings(".gpm-details").find(".table-wrapper");i.slideToggle({duration:350,complete:function(){var t=i.is(":visible");i.closest("tr").find(".gpm-details-expand i").removeClass("fa-chevron-"+(t?"down":"up")).addClass("fa-chevron-"+(t?"up":"down"))}})})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var i=n(291),o=r(i);(0,o["default"])(document).on("mousedown",'[data-remodal-target="theme-switch-warn"]',function(t){var e=(0,o["default"])(t.target).closest("[data-gpm-theme]").find(".gpm-name a:first").text(),n=(0,o["default"])(".remodal.theme-switcher");n.find("strong").text(e),n.find(".button.continue").attr("href",(0,o["default"])(t.target).attr("href"))})},,,,function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(291),s=r(a),u=n(481),c=r(u),l=47.938,f="touchstart._grav click._grav",d="#titlebar h1 > .fa, #overlay",p="(max-width: "+l+"em)",h=new c["default"],m=function(){function e(){i(this,e),this.isOpen=!1,this.matchMedia=t.matchMedia(p),this.enable()}return o(e,[{key:"enable",value:function(){this.matchMedia.addListener(this._getBound("checkMatch")),this.checkMatch(this.matchMedia)}},{key:"disable",value:function(){this.close(),this.matchMedia.removeListener(this._getBound("checkMatch"))}},{key:"attach",value:function(){(0,s["default"])("body").on(f,d,this._getBound("toggle"))}},{key:"detach",value:function(){(0,s["default"])("body").off(f,d,this._getBound("toggle"))}},{key:"open",value:function(t){var e=this;t&&t.preventDefault(),(0,s["default"])("#overlay").css("display","block"),(0,s["default"])("#admin-sidebar").toggle({easing:"swing",duration:200,complete:function(){e.isOpen=!0}})}},{key:"close",value:function(t){var e=this;t&&t.preventDefault(),(0,s["default"])("#overlay").css("display","none"),(0,s["default"])("#admin-sidebar").toggle({easing:"swing",duration:200,complete:function(){e.isOpen=!1}})}},{key:"toggle",value:function(t){return t&&t.preventDefault(),this[this.isOpen?"close":"open"](t)}},{key:"checkMatch",value:function(t){var e=(0,s["default"])("#admin-sidebar"),n=(0,s["default"])("#overlay");this.isOpen=!1,n.css("display","none"),e.css("display",t.matches?"none":"inherit"),this[t.matches?"attach":"detach"]()}},{key:"_getBound",value:function(t){return h.has(t)?h.get(t):h.set(t,this[t].bind(this)).get(t)}}]),e}();e["default"]=m;e.Instance=new m}).call(e,function(){return this}())},function(t,e,n){"use strict";t.exports=n(482)()?Map:n(483)},function(t,e){"use strict";t.exports=function(){var t,e,n;if("function"!=typeof Map)return!1;try{t=new Map([["raz","one"],["dwa","two"],["trzy","three"]])}catch(r){return!1}return"[object Map]"!==String(t)?!1:3!==t.size?!1:"function"!=typeof t.clear?!1:"function"!=typeof t["delete"]?!1:"function"!=typeof t.entries?!1:"function"!=typeof t.forEach?!1:"function"!=typeof t.get?!1:"function"!=typeof t.has?!1:"function"!=typeof t.keys?!1:"function"!=typeof t.set?!1:"function"!=typeof t.values?!1:(e=t.entries(),n=e.next(),n.done!==!1?!1:n.value?"raz"!==n.value[0]?!1:"one"===n.value[1]:!1)}},function(t,e,n){"use strict";var r,i=n(484),o=n(486),a=n(492),s=n(497),u=n(485),c=n(498),l=n(510),f=n(511),d=n(516),p=n(520),h=n(530),m=n(533),v=Function.prototype.call,g=Object.defineProperties,_=Object.getPrototypeOf;t.exports=r=function(){var t,e,n,i=arguments[0];if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");return n=m&&a&&Map!==r?a(new Map,_(this)):this,null!=i&&d(i),g(n,{__mapKeysData__:c("c",t=[]),__mapValuesData__:c("c",e=[])}),i?(p(i,function(n){var r=u(n)[0];n=n[1],-1===o.call(t,r)&&(t.push(r),e.push(n))},n),n):n},m&&(a&&a(r,Map),r.prototype=Object.create(Map.prototype,{constructor:c(r)})),l(g(r.prototype,{clear:c(function(){this.__mapKeysData__.length&&(i.call(this.__mapKeysData__),i.call(this.__mapValuesData__),this.emit("_clear"))}),"delete":c(function(t){var e=o.call(this.__mapKeysData__,t);return-1===e?!1:(this.__mapKeysData__.splice(e,1),this.__mapValuesData__.splice(e,1),this.emit("_delete",e,t),!0)}),entries:c(function(){return new h(this,"key+value")}),forEach:c(function(t){var e,n,r=arguments[1];for(s(t),e=this.entries(),n=e._next();void 0!==n;)v.call(t,r,this.__mapValuesData__[n],this.__mapKeysData__[n],this),n=e._next()}),get:c(function(t){var e=o.call(this.__mapKeysData__,t);if(-1!==e)return this.__mapValuesData__[e]}),has:c(function(t){return-1!==o.call(this.__mapKeysData__,t)}),keys:c(function(){return new h(this,"key")}),set:c(function(t,e){var n,r=o.call(this.__mapKeysData__,t);return-1===r&&(r=this.__mapKeysData__.push(t)-1,n=!0),this.__mapValuesData__[r]=e,n&&this.emit("_add",r,t),this}),size:c.gs(function(){return this.__mapKeysData__.length}),values:c(function(){return new h(this,"value")}),toString:c(function(){return"[object Map]"})})),Object.defineProperty(r.prototype,f.iterator,c(function(){return this.entries()})),Object.defineProperty(r.prototype,f.toStringTag,c("c","Map"))},function(t,e,n){"use strict";var r=n(485);t.exports=function(){return r(this).length=0,this}},function(t,e){"use strict";t.exports=function(t){if(null==t)throw new TypeError("Cannot use null or undefined");return t}},function(t,e,n){"use strict";var r=n(487),i=n(485),o=Array.prototype.indexOf,a=Object.prototype.hasOwnProperty,s=Math.abs,u=Math.floor;t.exports=function(t){var e,n,c,l;if(t===t)return o.apply(this,arguments);for(n=r(i(this).length),c=arguments[1],c=isNaN(c)?0:c>=0?u(c):r(this.length)-u(s(c)),e=c;n>e;++e)if(a.call(this,e)&&(l=this[e],l!==l))return e;return-1}},function(t,e,n){"use strict";var r=n(488),i=Math.max;t.exports=function(t){return i(0,r(t))}},function(t,e,n){"use strict";var r=n(489),i=Math.abs,o=Math.floor;t.exports=function(t){return isNaN(t)?0:(t=Number(t),0!==t&&isFinite(t)?r(t)*o(i(t)):t)}},function(t,e,n){"use strict";t.exports=n(490)()?Math.sign:n(491)},function(t,e){"use strict";t.exports=function(){var t=Math.sign;return"function"!=typeof t?!1:1===t(10)&&-1===t(-20)}},function(t,e){"use strict";t.exports=function(t){return t=Number(t),isNaN(t)||0===t?t:t>0?1:-1}},function(t,e,n){"use strict";t.exports=n(493)()?Object.setPrototypeOf:n(494)},function(t,e){"use strict";var n=Object.create,r=Object.getPrototypeOf,i={};t.exports=function(){var t=Object.setPrototypeOf,e=arguments[0]||n;return"function"!=typeof t?!1:r(t(e(null),i))===i}},function(t,e,n){"use strict";var r,i=n(495),o=n(485),a=Object.prototype.isPrototypeOf,s=Object.defineProperty,u={configurable:!0,enumerable:!1,writable:!0,value:void 0};r=function(t,e){if(o(t),null===e||i(e))return t;throw new TypeError("Prototype must be null or an object")},t.exports=function(t){var e,n;return t?(2===t.level?t.set?(n=t.set,e=function(t,e){return n.call(r(t,e),e),t}):e=function(t,e){return r(t,e).__proto__=e,t}:e=function i(t,e){var n;return r(t,e),n=a.call(i.nullPolyfill,t),n&&delete i.nullPolyfill.__proto__,null===e&&(e=i.nullPolyfill),t.__proto__=e,n&&s(i.nullPolyfill,"__proto__",u),t},Object.defineProperty(e,"level",{configurable:!1,enumerable:!1,writable:!1,value:t.level})):null}(function(){var t,e=Object.create(null),n={},r=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(r){try{t=r.set,t.call(e,n)}catch(i){}if(Object.getPrototypeOf(e)===n)return{set:t,level:2}}return e.__proto__=n,Object.getPrototypeOf(e)===n?{level:2}:(e={},e.__proto__=n,Object.getPrototypeOf(e)===n?{level:1}:!1)}()),n(496)},function(t,e){"use strict";var n={"function":!0,object:!0};t.exports=function(t){return null!=t&&n[typeof t]||!1}},function(t,e,n){"use strict";var r,i=Object.create;n(493)()||(r=n(494)),t.exports=function(){var t,e,n;return r?1!==r.level?i:(t={},e={},n={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(t){return"__proto__"===t?void(e[t]={configurable:!0,enumerable:!1,writable:!0,value:void 0}):void(e[t]=n)}),Object.defineProperties(t,e),Object.defineProperty(r,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:t}),function(e,n){return i(null===e?t:e,n)}):i}()},function(t,e){"use strict";t.exports=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}},function(t,e,n){"use strict";var r,i=n(499),o=n(505),a=n(506),s=n(507);r=t.exports=function(t,e){var n,r,a,u,c;return arguments.length<2||"string"!=typeof t?(u=e,e=t,t=null):u=arguments[2],null==t?(n=a=!0,r=!1):(n=s.call(t,"c"),r=s.call(t,"e"),a=s.call(t,"w")),c={value:e,configurable:n,enumerable:r,writable:a},u?i(o(u),c):c},r.gs=function(t,e,n){var r,u,c,l;return"string"!=typeof t?(c=n,n=e,e=t,t=null):c=arguments[3],null==e?e=void 0:a(e)?null==n?n=void 0:a(n)||(c=n,n=void 0):(c=e,e=n=void 0),null==t?(r=!0,u=!1):(r=s.call(t,"c"),u=s.call(t,"e")),l={get:e,set:n,configurable:r,enumerable:u},c?i(o(c),l):l}},function(t,e,n){"use strict";t.exports=n(500)()?Object.assign:n(501)},function(t,e){"use strict";t.exports=function(){var t,e=Object.assign;return"function"!=typeof e?!1:(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,n){"use strict";var r=n(502),i=n(485),o=Math.max;t.exports=function(t,e){var n,a,s,u=o(arguments.length,2);for(t=Object(i(t)),s=function(r){try{t[r]=e[r]}catch(i){n||(n=i)}},a=1;u>a;++a)e=arguments[a],r(e).forEach(s);if(void 0!==n)throw n;return t}},function(t,e,n){"use strict";t.exports=n(503)()?Object.keys:n(504)},function(t,e){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},function(t,e){"use strict";var n=Object.keys;t.exports=function(t){return n(null==t?t:Object(t))}},function(t,e){"use strict";var n=Array.prototype.forEach,r=Object.create,i=function(t,e){var n;for(n in t)e[n]=t[n]};t.exports=function(t){var e=r(null);return n.call(arguments,function(t){null!=t&&i(Object(t),e)}),e}},function(t,e){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";t.exports=n(508)()?String.prototype.contains:n(509)},function(t,e){"use strict";var n="razdwatrzy";t.exports=function(){return"function"!=typeof n.contains?!1:n.contains("dwa")===!0&&n.contains("foo")===!1}},function(t,e){"use strict";var n=String.prototype.indexOf;t.exports=function(t){return n.call(this,t,arguments[1])>-1}},function(t,e,n){"use strict";var r,i,o,a,s,u,c,l=n(498),f=n(497),d=Function.prototype.apply,p=Function.prototype.call,h=Object.create,m=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,_={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var n;return f(e),g.call(this,"__ee__")?n=this.__ee__:(n=_.value=h(null),m(this,"__ee__",_),_.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},i=function(t,e){var n,i;return f(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),d.call(e,this,arguments)}),n.__eeOnceListener__=e,this},o=function(t,e){var n,r,i,o;if(f(e),!g.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if(r=n[t],"object"==typeof r)for(o=0;i=r[o];++o)i!==e&&i.__eeOnceListener__!==e||(2===r.length?n[t]=r[o?0:1]:r.splice(o,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},a=function(t){var e,n,r,i,o;if(g.call(this,"__ee__")&&(i=this.__ee__[t]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),e=1;n>e;++e)o[e-1]=arguments[e];for(i=i.slice(),e=0;r=i[e];++e)d.call(r,this,o)}else switch(arguments.length){case 1:p.call(i,this);break;case 2:p.call(i,this,arguments[1]);break;case 3:p.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),e=1;n>e;++e)o[e-1]=arguments[e];d.call(i,this,o)}},s={on:r,once:i,off:o,emit:a},u={on:l(r),once:l(i),off:l(o),emit:l(a)},c=v({},u),t.exports=e=function(t){return null==t?h(c):v(Object(t),u)},e.methods=s},function(t,e,n){"use strict";t.exports=n(512)()?Symbol:n(513)},function(t,e){"use strict";t.exports=function(){var t;if("function"!=typeof Symbol)return!1;t=Symbol("test symbol");try{String(t)}catch(e){return!1}return"symbol"==typeof Symbol.iterator?!0:"object"!=typeof Symbol.isConcatSpreadable?!1:"object"!=typeof Symbol.iterator?!1:"object"!=typeof Symbol.toPrimitive?!1:"object"!=typeof Symbol.toStringTag?!1:"object"==typeof Symbol.unscopables}},function(t,e,n){"use strict";var r,i,o,a=n(498),s=n(514),u=Object.create,c=Object.defineProperties,l=Object.defineProperty,f=Object.prototype,d=u(null);"function"==typeof Symbol&&(r=Symbol);var p=function(){var t=u(null);return function(e){for(var n,r,i=0;t[e+(i||"")];)++i;return e+=i||"",t[e]=!0,n="@@"+e,l(f,n,a.gs(null,function(t){r||(r=!0,l(this,n,a(t)),r=!1)})),n}}();o=function(t){if(this instanceof o)throw new TypeError("TypeError: Symbol is not a constructor");return i(t)},t.exports=i=function h(t){var e;if(this instanceof h)throw new TypeError("TypeError: Symbol is not a constructor");return e=u(o.prototype),t=void 0===t?"":String(t),c(e,{__description__:a("",t),__name__:a("",p(t))})},c(i,{"for":a(function(t){return d[t]?d[t]:d[t]=i(String(t))}),keyFor:a(function(t){var e;s(t);for(e in d)if(d[e]===t)return e}),hasInstance:a("",r&&r.hasInstance||i("hasInstance")),isConcatSpreadable:a("",r&&r.isConcatSpreadable||i("isConcatSpreadable")),iterator:a("",r&&r.iterator||i("iterator")),match:a("",r&&r.match||i("match")),replace:a("",r&&r.replace||i("replace")),search:a("",r&&r.search||i("search")),species:a("",r&&r.species||i("species")),split:a("",r&&r.split||i("split")),toPrimitive:a("",r&&r.toPrimitive||i("toPrimitive")),toStringTag:a("",r&&r.toStringTag||i("toStringTag")),unscopables:a("",r&&r.unscopables||i("unscopables"))}),c(o.prototype,{constructor:a(i),toString:a("",function(){return this.__name__})}),c(i.prototype,{toString:a(function(){return"Symbol ("+s(this).__description__+")"}),valueOf:a(function(){return s(this)})}),l(i.prototype,i.toPrimitive,a("",function(){return s(this)})),l(i.prototype,i.toStringTag,a("c","Symbol")),l(o.prototype,i.toStringTag,a("c",i.prototype[i.toStringTag])),l(o.prototype,i.toPrimitive,a("c",i.prototype[i.toPrimitive]))},function(t,e,n){"use strict";var r=n(515);t.exports=function(t){if(!r(t))throw new TypeError(t+" is not a symbol");return t}},function(t,e){"use strict";t.exports=function(t){return t&&("symbol"==typeof t||"Symbol"===t["@@toStringTag"])||!1}},function(t,e,n){"use strict";var r=n(517);t.exports=function(t){if(!r(t))throw new TypeError(t+" is not iterable");return t}},function(t,e,n){"use strict";var r=n(518),i=n(519),o=n(511).iterator,a=Array.isArray;t.exports=function(t){return null==t?!1:a(t)?!0:i(t)?!0:r(t)?!0:"function"==typeof t[o]}},function(t,e){"use strict";var n=Object.prototype.toString,r=n.call(function(){return arguments}());t.exports=function(t){return n.call(t)===r}},function(t,e){"use strict";var n=Object.prototype.toString,r=n.call("");t.exports=function(t){return"string"==typeof t||t&&"object"==typeof t&&(t instanceof String||n.call(t)===r)||!1}},function(t,e,n){"use strict";var r=n(518),i=n(497),o=n(519),a=n(521),s=Array.isArray,u=Function.prototype.call,c=Array.prototype.some;t.exports=function(t,e){var n,l,f,d,p,h,m,v,g=arguments[2];if(s(t)||r(t)?n="array":o(t)?n="string":t=a(t),i(e),f=function(){d=!0},"array"===n)return void c.call(t,function(t){return u.call(e,g,t,f),d?!0:void 0});if("string"!==n)for(l=t.next();!l.done;){if(u.call(e,g,l.value,f),d)return;l=t.next()}else for(h=t.length,p=0;h>p&&(m=t[p],h>p+1&&(v=m.charCodeAt(0),v>=55296&&56319>=v&&(m+=t[++p])),u.call(e,g,m,f),!d);++p);}},function(t,e,n){"use strict";var r=n(518),i=n(519),o=n(522),a=n(529),s=n(516),u=n(511).iterator;t.exports=function(t){return"function"==typeof s(t)[u]?t[u]():r(t)?new o(t):i(t)?new a(t):new o(t)}},function(t,e,n){"use strict";var r,i=n(492),o=n(507),a=n(498),s=n(523),u=Object.defineProperty;r=t.exports=function(t,e){return this instanceof r?(s.call(this,t),e=e?o.call(e,"key+value")?"key+value":o.call(e,"key")?"key":"value":"value",void u(this,"__kind__",a("",e))):new r(t,e)},i&&i(r,s),r.prototype=Object.create(s.prototype,{constructor:a(r),_resolve:a(function(t){return"value"===this.__kind__?this.__list__[t]:"key+value"===this.__kind__?[t,this.__list__[t]]:t;
}),toString:a(function(){return"[object Array Iterator]"})})},function(t,e,n){"use strict";var r,i=n(484),o=n(499),a=n(497),s=n(485),u=n(498),c=n(524),l=n(511),f=Object.defineProperty,d=Object.defineProperties;t.exports=r=function(t,e){return this instanceof r?(d(this,{__list__:u("w",s(t)),__context__:u("w",e),__nextIndex__:u("w",0)}),void(e&&(a(e.on),e.on("_add",this._onAdd),e.on("_delete",this._onDelete),e.on("_clear",this._onClear)))):new r(t,e)},d(r.prototype,o({constructor:u(r),_next:u(function(){var t;if(this.__list__)return this.__redo__&&(t=this.__redo__.shift(),void 0!==t)?t:this.__nextIndex__<this.__list__.length?this.__nextIndex__++:void this._unBind()}),next:u(function(){return this._createResult(this._next())}),_createResult:u(function(t){return void 0===t?{done:!0,value:void 0}:{done:!1,value:this._resolve(t)}}),_resolve:u(function(t){return this.__list__[t]}),_unBind:u(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:u(function(){return"[object Iterator]"})},c({_onAdd:u(function(t){if(!(t>=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__)return void f(this,"__redo__",u("c",[t]));this.__redo__.forEach(function(e,n){e>=t&&(this.__redo__[n]=++e)},this),this.__redo__.push(t)}}),_onDelete:u(function(t){var e;t>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(e=this.__redo__.indexOf(t),-1!==e&&this.__redo__.splice(e,1),this.__redo__.forEach(function(e,n){e>t&&(this.__redo__[n]=--e)},this)))}),_onClear:u(function(){this.__redo__&&i.call(this.__redo__),this.__nextIndex__=0})}))),f(r.prototype,l.iterator,u(function(){return this})),f(r.prototype,l.toStringTag,u("","Iterator"))},function(t,e,n){"use strict";var r,i=n(525),o=n(526),a=n(497),s=n(485),u=Function.prototype.bind,c=Object.defineProperty,l=Object.prototype.hasOwnProperty;r=function(t,e,n){var r,o=s(e)&&a(e.value);return r=i(e),delete r.writable,delete r.value,r.get=function(){return l.call(this,t)?o:(e.value=u.call(o,null==n?this:this[n]),c(this,t,e),this[t])},r},t.exports=function(t){var e=arguments[1];return o(t,function(t,n){return r(n,t,e)})}},function(t,e,n){"use strict";var r=n(499),i=n(485);t.exports=function(t){var e=Object(i(t));return e!==t?e:r({},t)}},function(t,e,n){"use strict";var r=n(497),i=n(527),o=Function.prototype.call;t.exports=function(t,e){var n={},a=arguments[2];return r(e),i(t,function(t,r,i,s){n[r]=o.call(e,a,t,r,i,s)}),n}},function(t,e,n){"use strict";t.exports=n(528)("forEach")},function(t,e,n){"use strict";var r=n(497),i=n(485),o=Function.prototype.bind,a=Function.prototype.call,s=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(t,e){return function(n,c){var l,f=arguments[2],d=arguments[3];return n=Object(i(n)),r(c),l=s(n),d&&l.sort("function"==typeof d?o.call(d,n):void 0),"function"!=typeof t&&(t=l[t]),a.call(t,l,function(t,r){return u.call(n,t)?a.call(c,f,n[t],t,n,r):e})}}},function(t,e,n){"use strict";var r,i=n(492),o=n(498),a=n(523),s=Object.defineProperty;r=t.exports=function(t){return this instanceof r?(t=String(t),a.call(this,t),void s(this,"__length__",o("",t.length))):new r(t)},i&&i(r,a),r.prototype=Object.create(a.prototype,{constructor:o(r),_next:o(function(){return this.__list__?this.__nextIndex__<this.__length__?this.__nextIndex__++:void this._unBind():void 0}),_resolve:o(function(t){var e,n=this.__list__[t];return this.__nextIndex__===this.__length__?n:(e=n.charCodeAt(0),e>=55296&&56319>=e?n+this.__list__[this.__nextIndex__++]:n)}),toString:o(function(){return"[object String Iterator]"})})},function(t,e,n){"use strict";var r,i=n(492),o=n(498),a=n(523),s=n(511).toStringTag,u=n(531),c=Object.defineProperties,l=a.prototype._unBind;r=t.exports=function(t,e){return this instanceof r?(a.call(this,t.__mapKeysData__,t),e&&u[e]||(e="key+value"),void c(this,{__kind__:o("",e),__values__:o("w",t.__mapValuesData__)})):new r(t,e)},i&&i(r,a),r.prototype=Object.create(a.prototype,{constructor:o(r),_resolve:o(function(t){return"value"===this.__kind__?this.__values__[t]:"key"===this.__kind__?this.__list__[t]:[this.__list__[t],this.__values__[t]]}),_unBind:o(function(){this.__values__=null,l.call(this)}),toString:o(function(){return"[object Map Iterator]"})}),Object.defineProperty(r.prototype,s,o("c","Map Iterator"))},function(t,e,n){"use strict";t.exports=n(532)("key","value","key+value")},function(t,e){"use strict";var n=Array.prototype.forEach,r=Object.create;t.exports=function(t){var e=r(null);return n.call(arguments,function(t){e[t]=!0}),e}},function(t,e){"use strict";t.exports=function(){return"undefined"==typeof Map?!1:"[object Map]"===Object.prototype.toString.call(new Map)}()}]);
//# sourceMappingURL=admin.min.js.map